W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-03-01 提交的版本,查看 最新版本

  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. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @include http://*
  15. // @include https://*
  16. // @include file:///*
  17. // @grant GM_setValue
  18. // @grant GM_getValue
  19. // @grant GM_xmlhttpRequest
  20. // @grant GM_log
  21. // @grant GM_addStyle
  22. // @grant GM_registerMenuCommand
  23. // @grant GM_getResourceText
  24. // @grant GM_info
  25. // @grant GM_setClipboard
  26. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  27. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  28. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  29. // @homepage http://usa.x10host.com/mybb
  30. // @namespace war premium
  31. // @noframes
  32. // @version 1.3.7.0
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.7.0 February 27, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "black-label.pro",
  41. "uploadify.net",
  42. "temp-share.com",
  43. "ausfile.com",
  44. "filesha.com",
  45. "upfiles.net",
  46. "dailyfiles.net",
  47. "upfile.mobi",
  48. "share.az",
  49. "uploadocean.com",
  50. "drive.google.com",
  51. "suprafiles.net",
  52. "fileflares.com",
  53. "erafile.com",
  54. "mystore.to",
  55. "littlebyte.net",
  56. "exbit.net",
  57. "bdupload.info",
  58. "workupload.com",
  59. "wayupload.com",
  60. "cloud.mail.ru",
  61. "fileshareup.com",
  62. "usercloud.net",
  63. "daofile.com",
  64. "subyshare.com",
  65. "mexashare.com",
  66. "uploadgig.com",
  67. "upload.af",
  68. "alltu.eu",
  69. "filesin.space",
  70. "imagenetz.de",
  71. "katfile.com",
  72. "bankupload.com",
  73. "keepshare.net",
  74. "filescdn.com",
  75. "myfiles.onl",
  76. "uploadserv.com",
  77. "uploading.site",
  78. "filedwon.info",
  79. "jeodrive.com",
  80. "ncrypt.in",
  81. "yandex.com",
  82. "down4files.com",
  83. 'filespace.com',
  84. "uplod.it",
  85. "rapidu.net",
  86. "uploads.ws|upl.me",
  87. "file.up09.com",
  88. "lunaticfiles.com",
  89. "filecad.com",
  90. "filesupload.org",
  91. "bytewhale.com",
  92. "rapidrar.com",
  93. "download.cz.hellshare.com",
  94. "pornfile.cz",
  95. "dinoshare.cz",
  96. "kb.simple-aja.info",
  97. "bitster.cz",
  98. "file-share.top",
  99. "pornoid.cz",
  100. "dailyuploads.net",
  101. "sharehost.eu",
  102. "tezfiles.com",
  103. "devilshare.net",
  104. "alfafile.net",
  105. "openload.co",
  106. "multiup.org",
  107. "uplea.com",
  108. "filenuke.com",
  109. "file.al|1f.al",
  110. "vidto.me",
  111. "filehost.pw",
  112. "turbobit.ru",
  113. "sharesix.com|sharesix.net",
  114. "movpod.in",
  115. "thefile.me",
  116. "datoteke.com",
  117. "vidzi.tv",
  118. "videoweed.es",
  119. "vodlocker.com",
  120. "nowvideo.sx",
  121. "cloudtime.to",
  122. "thevideo.me",
  123. "vidbull.com",
  124. "novamov.com",
  125. "filehoot.com",
  126. "stagevu.com",
  127. "gorillavid.in",
  128. "streamin.to",
  129. "4upld.com|expressleech.com",
  130. "cloudshares.net",
  131. "swoopshare.com",
  132. "2shared.com",
  133. "fileupload.pw",
  134. "zxcfiles.com",
  135. "up07.net",
  136. "4shared.com",
  137. "adrive.com",
  138. "aisfile.com",
  139. "bezvadata.cz",
  140. "usersfiles.com",
  141. "pan.baidu.com",
  142. "datei.to",
  143. "daten-hoster.de|filehosting.org|xtraupload.de",
  144. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  145. "divshare.com",
  146. "easy-share.com|crocko.com",
  147. "easybytez.com",
  148. "edisk.cz",
  149. "euroshare.eu",
  150. "file-upload.net",
  151. "yadi.sk",
  152. "wizupload.com",
  153. "fastshare.cz",
  154. "filefactory.com",
  155. "share.vnn.vn",
  156. "yunpan.cn",
  157. "tropicshare.com",
  158. "inclouddrive.com",
  159. "fileflyer.com",
  160. "filerio.com|filekeen.com",
  161. "up.4share.vn",
  162. "upfile.vn",
  163. "datafilehost.com",
  164. "worldbytez.com",
  165. "files.mail.ru",
  166. "filesflash.com",
  167. "box.com",
  168. "uptobox.com",
  169. "box.net",
  170. "sdilej.cz",
  171. "ex-load.com",
  172. "filesmonster.com",
  173. "filestore.to",
  174. "hulkload.com",
  175. "filedropper.com",
  176. "free-uploading.com",
  177. "gamefront.com|filefront.com",
  178. "gettyfile.ru",
  179. "gigapeta.com",
  180. "gigasize.com",
  181. "hellshare.com",
  182. "hellspy.com",
  183. "hitfile.net",
  184. "hostuje.net",
  185. "freefilehosting.net",
  186. "free.fr",
  187. "hyperfileshare.com",
  188. "filecloud.io|ifile.it",
  189. "ifolder.ru",
  190. "uploadrocket.net",
  191. "lafiles.com",
  192. "leteckaposta.cz|sharegadget.com",
  193. "load.to",
  194. "mediafire.com",
  195. "megafileupload.com",
  196. "movshare.net",
  197. "narod.ru|narod.yandex.ru",
  198. "fboom.me|fileboom.me",
  199. "partage-facile.com",
  200. "sharerapid.cz",
  201. "exclusiveloader.com",
  202. "acefile.net",
  203. "queenshare.com",
  204. "rapidgator.net",
  205. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  206. "oboom.com",
  207. "filepi.com",
  208. "neodrive.co",
  209. "rarefile.net",
  210. "rayfile.com",
  211. "rghost.net",
  212. "sendmyway.com",
  213. "clicknupload.com",
  214. "clicknupload.me",
  215. "clicknupload.link",
  216. "uploadable.ch",
  217. "sharemods.com",
  218. "hostr.co",
  219. "sendspace.com",
  220. "sharecash.org",
  221. "share-links.biz",
  222. "share-online.biz|egoshare.com",
  223. "megarapid.cz",
  224. "shareflare.net",
  225. "solidfiles.com",
  226. "led.wf",
  227. "lan.wf",
  228. "adlink.wf",
  229. "click.tf",
  230. "kyc.pm",
  231. "ssh.tf",
  232. "ssh.yt",
  233. "yep.pm",
  234. "stahovanizasms.cz",
  235. "turbobit.net",
  236. "tikfile.com",
  237. "cloudsix.me",
  238. "turboupload.com",
  239. "uloz.to",
  240. "ulozto.net",
  241. "ulozto.sk",
  242. "ulozto.cz",
  243. "ulozisko.sk",
  244. "uloziste.com",
  245. "unibytes.com",
  246. "upload-il.net|przeslij.net",
  247. "uploaded.to|uploaded.net|ul.to",
  248. "chayfile.com",
  249. "rockfile.eu",
  250. "usaupload.net",
  251. "veehd.com",
  252. "videobb.com",
  253. "vip-file.com",
  254. "webshare.cz",
  255. "xdisk.cz",
  256. "yunfile.com|filemarkets.com",
  257. "ziddu.com",
  258. "zippyshare.com",
  259. "rodfile.com",
  260. "wikiupload.com",
  261. "uploadstube.de",
  262. "faststore.org",
  263. "flyfiles.net",
  264. "prefiles.com",
  265. "hackerbox.org",
  266. "amonshare.com",
  267. "data.hu",
  268. "brupload.net",
  269. "kingfiles.net",
  270. "userscloud.com",
  271. "kumpulbagi.com|kumpulbagi.id",
  272. "uppit.com|up.ht|upx.nz",
  273. "downloadani.me",
  274. "filesabc.com",
  275. "extmatrix.com",
  276. "sendfiles.nl",
  277. "yourfilestore.com",
  278. "filebig.net",
  279. "file4safe.com",
  280. "tusfiles.net|tusfiles.com",
  281. "filemac.com",
  282. "ozofiles.com",
  283. "nosupload.com",
  284. "gboxes.com",
  285. "myvdrive.com|fileserving.com",
  286. "novafile.com",
  287. "longfiles.com",
  288. "bitupload.com",
  289. "indowebster.com",
  290. "superload.cz",
  291. "mafiastorage.com",
  292. "hellupload.com",
  293. "stiahni.si",
  294. "sendspace.pl",
  295. "fastshare.org",
  296. "filejoker.net",
  297. "filestore.com.ua",
  298. "rapidfileshare.net",
  299. "stiahnito.sk",
  300. "rusfolder.com",
  301. "catshare.net",
  302. "mixturecloud.com",
  303. "filedais.com",
  304. // "imdb.com",
  305. "nitroflare.com",
  306. "akafile.com",
  307. "up.top4top.net",
  308. "upload.ee",
  309. "shareplace.org",
  310. "uploadc.com",
  311. "uploadc.ch",
  312. "exoshare.com",
  313. "borncash.org",
  314. "2downloadz.com",
  315. "mightyupload.com",
  316. "anysend.com",
  317. "datafile.com",
  318. "upstore.net",
  319. "upsto.re",
  320. "speedy.sh",
  321. "ge.tt",
  322. "filesflash.net",
  323. "salefiles.com",
  324. "datoid.cz",
  325. "cloudstor.es",
  326. "streamfile.com",
  327. "eyesfile.ca",
  328. "filemoney.com",
  329. "uploadboy.com",
  330. "uploadboy.me",
  331. "speedshare.eu",
  332. "google.com|google.be",
  333. "unlimitzone.com",
  334. "rioupload.com",
  335. "rg.to",
  336. "jumbofiles.org",
  337. "fshare.vn",
  338. "spaceforfiles.com",
  339. "up.media1fire.com",
  340. "depfile.com",
  341. "go4up.com",
  342. "dropbox.com",
  343. "redbunker.net",
  344. "divxpress.com",
  345. "mega.nz|mega.co.nz",
  346. "storageserver.co.uk",
  347. "anafile.com",
  348. "bigfile.to",
  349. "arabloads.net",
  350. "sharerepo.com",
  351. "sfshare.se",
  352. "files.fm",
  353. "koofile.com",
  354. "doraupload.com",
  355. "openload.io",
  356. "upnito.sk",
  357. "oload.net",
  358. ];
  359.  
  360. try
  361. {
  362. //iframes excluded
  363. if (window.top != window.self)
  364. {
  365. return;
  366. }
  367. //allHostNames sites excluded
  368. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  369. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  370. ")"))
  371. {
  372. return;
  373. }
  374. }
  375. catch (e)
  376. {
  377. return;
  378. }
  379.  
  380. //separate alternative domains with "|" char (first name is considered being main)
  381. var allContainerNames = [
  382. "adf.ly",
  383. "linkcrypt.ws",
  384. "linksafe.me",
  385. // "linksave.in",
  386. "linkto.net",
  387. "madlink.sk",
  388. "multiload.cz",
  389. "mirrorcreator.com",
  390. // "ncrypt.in",
  391. "redi.re",
  392. "relink.us",
  393. "safelinking.net",
  394. "theloo.katt.it",
  395. "bit.ly",
  396.  
  397. ];
  398.  
  399. //separate alternative domains with "|" char (first name is considered being main)
  400. var allObsoleteNames = [
  401. "4up.me",
  402. "anonfiles.com",
  403. "axifile.com",
  404. "creafile.net",
  405. "cloudzilla.to",
  406. "demo.ovh.eu",
  407. "filesin.com",
  408. "fileswap.com",
  409. "junocloud.me",
  410. "gulfup.com",
  411. "hexupload.com",
  412. "secureupload.eu",
  413. "hugefiles.net",
  414. "jumbofiles.com",
  415. "letitbit.net",
  416. "lolabits.es",
  417. "nowdownload.ch",
  418. "openfile.ru",
  419. "radicalshare.com",
  420. "remixshare.com",
  421. "storefiles.co",
  422. "toutbox.fr",
  423. "uploadbaz.com",
  424. "uploadingit.com",
  425. "uploading.com",
  426. "verzend.be",
  427. "vidplay.net",
  428. "vidxden.com",
  429. "xfileload.com",
  430. "warped.co",
  431. "xkeepfile.com",
  432. "abelhas.pt",
  433. "uploadspace.pl",
  434. "allmyvideos.net",
  435. "uploads.xxx",
  436. "netkups.com",
  437. "nekaka.com",
  438. "vidspot.net",
  439. "myupload.dk",
  440. "muchshare.net",
  441. "loudupload.net",
  442. "idup.in",
  443. "hulkshare.com",
  444. "goldbytez.com",
  445. "filesmelt.com",
  446. "fileband.com",
  447. "uloz.cz",
  448. "secured.in",
  449. "rapidfilehost.com",
  450. "fileover.net",
  451. "fileinz.com",
  452. "linksave.in",
  453. "seenupload.com",
  454. "sangfile.com",
  455. "filepost.com|fp.io",
  456. "sharingmaster.com ",
  457. "24uploading.com",
  458. "storagon.com",
  459. "sanshare.com",
  460. "filestorm.to",
  461. "uploadnet.co",
  462. "180upload.com",
  463. "rapidsonic.com",
  464. "fileparadox.com",
  465. "4upfiles.com",
  466. "geupload.com",
  467. "lenfile.com",
  468. "fileparadox.in",
  469. "uploadhero.co",
  470. "uploadhero.com",
  471. "newfileland.com",
  472. "quickshare.cz",
  473. "elffiles.com",
  474. "netload.in",
  475. "netload.me",
  476. "movreel.com",
  477. "migahost.com",
  478. "krotix.net",
  479. "jumbofile.net",
  480. "edoc.com",
  481. "cramit.in|cramitin.net",
  482. "freakshare.com",
  483. "burnupload.com|burnupload.ihiphop.com",
  484. "freakshare.net",
  485. "daj.to",
  486. "bl.st",
  487. "2drive.net",
  488. "ryushare.com",
  489. "crisshare.com",
  490. "tufiles.ru",
  491. "uncapped-downloads.com",
  492. "sockshare.com",
  493. "ddlstorage.com",
  494. "dataport.cz",
  495. "dizzcloud.com",
  496. "sharebeast.com",
  497. "stahovadlo.cz",
  498. "shared.com",
  499. "storage.to",
  500. "putlocker.com",
  501. "lumfile.com",
  502. "lumfile.se",
  503. "lumfile.eu",
  504. "firedrive.com",
  505. "fileshare.in.ua",
  506. "filecore.co.nz",
  507. "filecore.co",
  508. "iskladka.cz",
  509. "file-rack.com",
  510. "fast-load.net",
  511. "subory.sk",
  512. "bigandfree.com",
  513. "fileop.com",
  514. "mujsoubor.cz",
  515. "sendfile.to",
  516. "superfastfile.com",
  517. "quickyshare.com",
  518. "duckload.com",
  519. "uploadstore.net",
  520. "meinupload.com",
  521. "dualshare.com",
  522. "2xupload.to|2xupload.de",
  523. "oxedion.com",
  524. "uploadline.com",
  525. "dll.bz",
  526. "movieshare.in",
  527. "milledrive.com",
  528. "quickupload.net",
  529. "safelink.in",
  530. "metadivx.com",
  531. "divxlink.com",
  532. "uploadrack.com",
  533. "teradepot.com",
  534. "dataup.to",
  535. "upit.to",
  536. "driveway.com",
  537. "eatlime.com",
  538. "a2zuploads.com",
  539. "friendlyfiles.net",
  540. "flyfile.us",
  541. "speedyshare.com",
  542. "uploadspace.eu",
  543. "keepfile.com",
  544. "piggyshare.com",
  545. "uplly.com",
  546. "filecrown.com",
  547. "6giga.com",
  548. "uploadjockey.com",
  549. "bluehost.to",
  550. "filegu.ru",
  551. "filebase.to",
  552. "up-file.com",
  553. "xvideos.com",
  554. "ufox.com",
  555. "filebling.com",
  556. "loaded.it",
  557. "uploadcell.com",
  558. "uploadshare.cz",
  559. "mangoshare.com",
  560. "filestab.com",
  561. "crazyupload.com",
  562. "gaiafile.com",
  563. "sharejunky.com",
  564. "fileho.com",
  565. "bigandfree.com",
  566. "bigfile.in",
  567. "bigshare.eu",
  568. "dahosting.org",
  569. "digisofts.net",
  570. "file4save.com",
  571. "filechip.com",
  572. "filescloud.com",
  573. "saveqube.com",
  574. "turboshare.de",
  575. "z-upload.com",
  576. "youshare.com",
  577. "jiffyupload.com",
  578. "gigeshare.com",
  579. "datenklo.net",
  580. "upload.dj",
  581. "loadfiles.in",
  582. "upit.to",
  583. "dsfileshare.com",
  584. "sharesimple.net",
  585. "4files.net",
  586. "wooupload.com",
  587. "odsiebie.com",
  588. "filenavi.com",
  589. "3oof.com",
  590. "meshwaar.com",
  591. "maxupload.com",
  592. "share.cx",
  593. "atserver.eu",
  594. "hotfiles.ws",
  595. "esnips.com",
  596. "tuxfile.com",
  597. "file2upload.net",
  598. "filebling.com",
  599. "turboshare.com",
  600. "rarhost.com",
  601. "isharehd.com",
  602. "i741.com",
  603. "dataup.de",
  604. "fofly.com",
  605. "shareonall.com",
  606. "sexuploader.com",
  607. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  608. "uploadhyper.com",
  609. "filespawn.com",
  610. "caizzii.com",
  611. "volnyweb.cz",
  612. "usershare.net",
  613. "filescash.net",
  614. "metahyper.com",
  615. "combozip.com",
  616. "x7.to",
  617. "uploadbox.com",
  618. "enterupload.com|flyupload.com",
  619. "filepoint.de",
  620. "mystream.to",
  621. "x-fs.com",
  622. "shareator.com",
  623. "srapid.eu",
  624. "sosame.cz",
  625. "filesdump.com",
  626. "2-klicks.de",
  627. "uploking.com",
  628. "silofiles.com",
  629. "upfile.in",
  630. "filehook.com",
  631. "uploadking.com",
  632. "uploadhere.com",
  633. "kewlshare.com",
  634. "rapidable.com",
  635. "uploadwaste.com",
  636. "filemup.com",
  637. "filesonic.com|sharingmatrix.com",
  638. "fileserve.com",
  639. "wupload.com",
  640. "skipfile.com",
  641. "smartuploader.com",
  642. "dualshare.com",
  643. "storeandserve.com",
  644. "mountfile.com",
  645. "transitfiles.com",
  646. "uploadstation.com",
  647. "filejungle.com",
  648. "shareshared.com",
  649. "quickyshare.com",
  650. "save.am",
  651. "petandrive.com",
  652. "file2box.com",
  653. "flyshare.cz",
  654. "yabadaba.ru",
  655. "cloudcache.cc",
  656. "yourfilehost.com",
  657. "jakfile.com",
  658. "kickload.com",
  659. "pyramidfiles.com",
  660. "refile.net",
  661. "zshare.net",
  662. "ddlani.me|ddlanime.com",
  663. "ftp2share.com",
  664. "fooget.com",
  665. "rapidhide.com",
  666. "gotupload.com",
  667. "mooload.com",
  668. "zupload.com",
  669. "mytempdir.com",
  670. "onionshare.com",
  671. "stahnu.to",
  672. "oron.com",
  673. "badongo.com",
  674. "filereactor.com",
  675. "filegaze.com",
  676. "4bytez.com",
  677. "1hostclick.com",
  678. "anonstream.com",
  679. "batshare.com",
  680. "bitroad.net",
  681. "brontofile.com",
  682. "cloudnxt.net",
  683. "cloudnator.com|shragle.com",
  684. "filesfrog.net",
  685. "coolshare.cz",
  686. "dotavi.com",
  687. "ezyfile.net",
  688. "file-bit.net",
  689. "filecosy.com",
  690. "fileduct.com|fileduct.net",
  691. "filefat.com",
  692. "filelaser.com",
  693. "filemashine.com",
  694. "fileserver.cc",
  695. "filetechnology.com",
  696. "fireuploads.net",
  697. "gigfiles.net",
  698. "holderfile.com",
  699. "ihostia.com",
  700. "k2files.com",
  701. "mojofile.com",
  702. "ovfile.com",
  703. "qshare.com",
  704. "shafiles.me",
  705. "sharefilehost.com",
  706. "shareupload.com",
  707. "stahuj.to",
  708. "ugotfile.com",
  709. "uploadboost.com",
  710. "fileom.com",
  711. "vidhog.com",
  712. "xfileshare.eu",
  713. "bzlink.us",
  714. "bulletupload.com",
  715. "bloggerarticles.com",
  716. "mojedata.sk",
  717. "sharpfile.com",
  718. "upgrand.com",
  719. "nasdilej.cz",
  720. "mediatack.cz",
  721. "share-it.to",
  722. "primeupload.com",
  723. "filebeer.info",
  724. "baberepublic",
  725. "xtu.me",
  726. "sharebase.de",
  727. "luckyshare.net",
  728. "filerobo.com",
  729. "filevelocity.com",
  730. "filezpro.com",
  731. "file4sharing.com",
  732. "cing.be",
  733. "ufile.eu",
  734. "pigsonic.com",
  735. "fileupped.com",
  736. "sharerun.com",
  737. "filesaur.com",
  738. "rapidslnare.com",
  739. "bestsharing.com",
  740. "savefiles.net",
  741. "file2share.biz",
  742. "filecache.de",
  743. "monsteruploads.eu",
  744. "b9bb.com",
  745. "aiotool.net",
  746. "jamber.info",
  747. "megaftp.com",
  748. "desiupload.net",
  749. "file27.com",
  750. "yastorage.com",
  751. "filehost.ws",
  752. "copyload.com",
  753. "venusfile.com",
  754. "aieshare.com",
  755. "terafile.co",
  756. "terafile.com",
  757. "fileza.net",
  758. "filerose.com",
  759. "squillion.com",
  760. "fileprohost.com",
  761. "bitbonus.com",
  762. "warserver.cz",
  763. "uload.to",
  764. "sharedbit.net",
  765. "megaload.it",
  766. "filewinds.com",
  767. "uploadcore.com",
  768. "syfiles.com",
  769. "eyesfile.com",
  770. "hotfile.com",
  771. "superupl.com",
  772. "oteupload.com",
  773. "henchfile.com",
  774. "filegag.com",
  775. "HenchFile.com",
  776. "filedefend.com",
  777. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  778. "megabitshare.com",
  779. "cloudzer.com",
  780. "asfile.com",
  781. "cloudzer.net",
  782. "clz.to",
  783. "extabit.com",
  784. "247upload.com",
  785. "2download.de",
  786. "4fastfile.com",
  787. "asixfiles.com",
  788. "berofile.com",
  789. "bigupload.com",
  790. "cepzo.com",
  791. "clouds.to",
  792. "cobrashare.sk",
  793. "coraldrive.net",
  794. "cyberlocker.ch",
  795. "czshare.com",
  796. "darkport.org",
  797. "dark-uploads.com",
  798. "davvas.com",
  799. "enigmashare.com",
  800. "erofly.cz",
  801. "fastsonic.net",
  802. "filebox.com",
  803. "filecity.net",
  804. "filedap.com",
  805. "filedino.com",
  806. "filedownloads.org",
  807. "filefolks.com",
  808. "fileking.co",
  809. "filemates.com",
  810. "files.to",
  811. "files2k.eu",
  812. "filesector.cc",
  813. "bitshare.com",
  814. "filesega.com",
  815. "filesend.net",
  816. "filestay.com",
  817. "filestrum.com",
  818. "fileuplo.de",
  819. "fileupup.com",
  820. "forunesia.com",
  821. "freeuploads.fr",
  822. "uploa.dk",
  823. "getthebit.com",
  824. "getzilla.net",
  825. "goldfile.eu",
  826. "good.com",
  827. "grupload.com",
  828. "hellfile.com",
  829. "hipfile.com",
  830. "hitfile.com",
  831. "hulkfile.eu|duckfile.net",
  832. "i-filez.com",
  833. "ifile.ws",
  834. "kupload.org",
  835. "packupload.com",
  836. "lemuploads.com",
  837. "limelinx.com",
  838. "maxshare.pl",
  839. "megarelease.org",
  840. "megashares.com",
  841. "megashare.com",
  842. "minus.com",
  843. "mlfat4arab.com",
  844. "multishare.cz",
  845. "nirafile.com",
  846. "ok2upload.com",
  847. "peejeshare.com",
  848. "premiuns.org",
  849. "przeklej.net",
  850. "qkup.net",
  851. "rapidupload.sk",
  852. "rockdizfile.com",
  853. "rocketfile.net",
  854. "share-now.net",
  855. "share76.com",
  856. "sharebees.com",
  857. "sharefiles.co",
  858. "slingfile.com",
  859. "sms4file.com",
  860. "space4file.com",
  861. "tigershare.net",
  862. "toucansharing.com",
  863. "ubuntuone.com",
  864. "unextfiles.com",
  865. "upaj.pl",
  866. "upfile.biz",
  867. "uploadbin.net",
  868. "uploadic.com",
  869. "uploadinc.com",
  870. "uploading4u.eu",
  871. "uploadjet.net",
  872. "uploadorb.com",
  873. "upthe.net",
  874. "uptorch.com",
  875. "vidbox.yt",
  876. "videozer.com",
  877. "vreer.com",
  878. "wallobit.com",
  879. "zooupload.com",
  880. "privatefiles.com",
  881. "xerver.co",
  882. "BillionUploads.com",
  883. "rapidshare.com",
  884. "rapidshare.ru",
  885. "4savefile.com",
  886. "bayfiles.com",
  887. "bayfiles.net",
  888. "dodane.pl",
  889. "dotsemper.com",
  890. "egofiles.com",
  891. "epicshare.net",
  892. "fiberupload.net",
  893. "filemonkey.in",
  894. "filemonster.net",
  895. "filepom.com",
  896. "filesbb.com",
  897. "filevice.com",
  898. "gigaup.fr",
  899. "isavelink.com",
  900. "loombo.com",
  901. "megafiles.se",
  902. "migupload.com",
  903. "mydisc.net",
  904. "nitrobits.com",
  905. "potload.com",
  906. "redload.net",
  907. "shareprofi.com",
  908. "sharesuper.info",
  909. "sinhro.net",
  910. "speedfile.cz",
  911. "speedshare.org",
  912. "storage.novoro.net",
  913. "swankshare.com",
  914. "swatupload.com",
  915. "upafile.com",
  916. "uploadmachine.com",
  917. "uploadsat.com",
  918. "upshared.com",
  919. "usefile.com",
  920. "yourfiles.to",
  921. "zomgupload.com",
  922. "ultramegabit.com",
  923. "uploadto.us",
  924. "inafile.com",
  925. "megairon.net",
  926.  
  927. ];
  928. ///////////////////////////////////////////////////////////////////////////////////////
  929. var firstRun = GM_getValue("First_run", true);
  930.  
  931. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  932. //////////////////////////////////////////////////////////////////////////////////////
  933. try
  934. {
  935. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  936. var last_known_version = GM_getValue("last_known_version", "");
  937. if (!last_known_version)
  938. {
  939. last_known_version = thisVersion;
  940. GM_setValue("last_known_version", last_known_version);
  941. }
  942. //var newVersion = !(thisVersion == last_known_version);
  943. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  944. GM_setValue("last_known_version", thisVersion);
  945. }
  946. catch (err)
  947. {
  948. var newVersion = false;
  949. }
  950.  
  951. var now = (new Date()).getTime();
  952. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  953. if (!last_custom_rules_nag)
  954. {
  955. last_custom_rules_nag = now;
  956. GM_setValue('last_custom_rules_nag', ''+now);
  957. }
  958.  
  959.  
  960. allHostNames.sort();
  961. allContainerNames.sort();
  962. allObsoleteNames.sort();
  963.  
  964. var RAND_STRING = "8QyvpOSsRG3QWq";
  965. var DEBUG_MODE = false;
  966.  
  967. var TOOLTIP_MAXWIDTH = 600; //in pixels
  968. var TOOLTIP_THUMBWIDTH = 200;
  969. var containers_processed = false;
  970.  
  971. //settings for keyboard functions start
  972. var CHECK_ALL_LINKS_KEY = "A";
  973. var CONFIGURATION_KEY = "C";
  974. var copy_to_dead_key = "D";
  975. var copy_to_live_key = "L";
  976. var toggle_autocheck_key = "W";
  977. var toggle_Enable_Anonymizer_key = "Z";
  978. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  979. var first_key_keycodename = 'CTRL';
  980. var second_key_keycode = '18';
  981. var second_key_keycodename = 'ALT';
  982. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  983. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  984. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  985. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  986. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  987. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  988. //settings for keyboard functions end
  989.  
  990. //global settings start
  991. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  992. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  993. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  994. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  995. var Show_progress_stats, Display_tooltip_info, Icon_set;
  996. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  997. var Progress_box_refresh_rate;
  998. var Obsolete_file_hosts;
  999. var Custom_rules, Custom_rules_text;
  1000. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1001.  
  1002. var messageBox = document.createElement('b'); // top-left message box
  1003.  
  1004. var cLinksTotal = 0;
  1005. var cLinksDead = 0;
  1006. var cLinksAlive = 0;
  1007. var cLinksUnava = 0;
  1008. var cLinksprem = 0;
  1009. var cLinksProcessed = 0;
  1010.  
  1011. var intervalId; //for updateProgress()
  1012.  
  1013. //icon resources
  1014. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7B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nIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1021. var RSLC_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  1022. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgS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/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  1023.  
  1024. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBs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SRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1027. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1028.  
  1029. //global settings end
  1030. if (window.opera && !window.console)
  1031. {
  1032. window.console = {};
  1033.  
  1034. function fn()
  1035. {
  1036. opera.postError(arguments);
  1037. };
  1038. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1039. {
  1040. window.console[name] = fn;
  1041. });
  1042. }
  1043.  
  1044. //displays colored text in message box
  1045. function sendMessage(text, color)
  1046. {
  1047. var msgDiv = document.createElement('div');
  1048. msgDiv.style.color = color;
  1049. msgDiv.innerHTML = text;
  1050. messageBox.appendChild(msgDiv);
  1051. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1052. }
  1053.  
  1054. function linkify(totalourls)
  1055. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1056. var ikkeTilladteTags;
  1057. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1058. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1059. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1060. allLinksRegex = new RegExp(allLinksRegex, "g");
  1061. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1062.  
  1063. if (Do_not_linkify_DL_links)
  1064. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1065. else
  1066. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1067.  
  1068. var regex = new RegExp(regexy);
  1069. var textNode, muligtLink;
  1070.  
  1071. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1072. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1073.  
  1074. var i = textNodes.snapshotLength;
  1075. while (i--)
  1076. {
  1077. textNode = textNodes.snapshotItem(i);
  1078.  
  1079. muligtLink = textNode.nodeValue; //all links on page
  1080.  
  1081. var myArray = null;
  1082. var span = null;
  1083. var lastLastIndex = 0;
  1084. allLinksRegex.lastIndex = 0;
  1085. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1086. {
  1087. if (textNode.parentNode.className == "adead_link") continue;
  1088. var censoredLink = muligtLink;
  1089. var span = document.createElement('span');
  1090. span.className = "adead_link";
  1091. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1092. $(span).html(censoredLink);
  1093. span.addEventListener("mouseover", displayTooltipError, false);
  1094. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1095. textNode.parentNode.replaceChild(span, textNode);
  1096. continue;
  1097. alert(censoredLink);
  1098. }
  1099. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1100. {
  1101. if (!regex.test(myArray[0])) //this link is not recognized
  1102. {
  1103.  
  1104. continue;
  1105. }
  1106. if (!span)
  1107. span = document.createElement('span');
  1108.  
  1109. var link = myArray[0];
  1110. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1111.  
  1112. var $a = $("<a>" + link + "</a>")
  1113. if (!link.match(/https?:\/\//))
  1114. {
  1115. link = 'http://' + link;
  1116. }
  1117.  
  1118. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1119. .addClass("processing_link")
  1120. .appendTo(span);
  1121. lastLastIndex = allLinksRegex.lastIndex;
  1122. }
  1123. if (span)
  1124. {
  1125. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1126. textNode.parentNode.replaceChild(span, textNode);
  1127. }
  1128. }
  1129. }
  1130.  
  1131. function add_WARLC_style()
  1132. {
  1133. if (!(document.getElementsByTagName('WARLC')[0]))
  1134. {
  1135. var meta_not_to_add_more_style = document.createElement("WARLC");
  1136. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1137. meta_not_to_add_more_style.setAttribute('name', 'description');
  1138. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1139. alive_link_png = "";
  1140. adead_link_png = "";
  1141. unava_link_png = "";
  1142. prem_link_png = "";
  1143. switch(Icon_set)
  1144. {
  1145. //no icons
  1146. case 0: break;
  1147. // cat paws
  1148. case 1: alive_link_png = PAW_ICON_GREEN;
  1149. adead_link_png = PAW_ICON_RED;
  1150. unava_link_png = PAW_ICON_YELLOW;
  1151. prem_link_png = PAW_ICON_PINK;
  1152. break;
  1153. // classic RSLC look
  1154. case 2: alive_link_png = RSLC_ICON_GREEN;
  1155. adead_link_png = RSLC_ICON_RED;
  1156. unava_link_png = RSLC_ICON_YELLOW;
  1157. prem_link_png = RSLC_ICON_PINK;
  1158. break;
  1159. // New Icons
  1160. case 3: alive_link_png = NEW_ICON_GREEN;
  1161. adead_link_png = NEW_ICON_RED;
  1162. unava_link_png = NEW_ICON_YELLOW;
  1163. prem_link_png = NEW_ICON_PINK;
  1164. break;
  1165. // cat paws
  1166. default:alive_link_png = PAW_ICON_GREEN;
  1167. adead_link_png = PAW_ICON_RED;
  1168. unava_link_png = PAW_ICON_YELLOW;
  1169. prem_link_png = PAW_ICON_PINK;
  1170. break;
  1171. }
  1172. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1173. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1174.  
  1175. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1176.  
  1177. if (Color_DL_links)
  1178. {
  1179. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1180. live_color_css = 'color:' + Live_links_color + ' !important;';
  1181. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1182. container_color_css = 'color:' + Container_links_color + ' !important;';
  1183. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1184. }
  1185. else
  1186. {
  1187. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1188. }
  1189.  
  1190. if (Show_black_background_in_DL_links)
  1191. {
  1192. black_background_css = 'background-color: black !important;';
  1193. }
  1194. else
  1195. {
  1196. black_background_css = '';
  1197. }
  1198.  
  1199. if (Show_line_through_in_dead_links)
  1200. {
  1201. line_through_css = 'text-decoration: line-through !important;';
  1202. }
  1203. else
  1204. {
  1205. line_through_css = '';
  1206. }
  1207.  
  1208. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1209. 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 + "}");
  1210. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1211. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1212. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1213. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1214. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1215. }
  1216. }
  1217.  
  1218. var warlcTooltip = null;
  1219. var mouseoverLink = null; //link href with mouse cursor over it
  1220.  
  1221. var lastX = 0;
  1222. var lastY = 0;
  1223.  
  1224. $(document).ready(initTooltip);
  1225. //inits tooltip
  1226. function initTooltip()
  1227. { warlcTooltip = document.createElement("div");
  1228. 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;");
  1229. warlcTooltip.style.visibility = "hidden";
  1230. document.body.appendChild(warlcTooltip);
  1231. }
  1232.  
  1233. //"mousemove" event handler for all links
  1234. function moveTooltip(event)
  1235. {
  1236. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1237. { //no need to reflow if the cursor moved just a little
  1238. return;
  1239. }
  1240. else
  1241. {
  1242. lastX = event.clientX;
  1243. lastY = event.clientY;
  1244. }
  1245.  
  1246. posX = event.clientX + window.pageXOffset + 10;
  1247. posY = event.clientY + window.pageYOffset;
  1248. var ttHeight = warlcTooltip.offsetHeight;
  1249. var ttFreeSpace = window.innerHeight - event.clientY;
  1250. if (ttHeight > ttFreeSpace)
  1251. { //prevents tooltip from getting out of the window
  1252. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1253. }
  1254. else
  1255. {
  1256. posY += 7;
  1257. }
  1258. warlcTooltip.style.top = posY + "px";
  1259. warlcTooltip.style.left = posX + "px";
  1260. }
  1261.  
  1262. //"mouseout" event handler for all links
  1263. function hideTooltip(){
  1264. warlcTooltip.style.visibility = "hidden";
  1265. mouseoverLink = null;
  1266. }
  1267.  
  1268.  
  1269. //"mouseover" event handler for dead links
  1270. //displays tooltip error message on dead links
  1271. function displayTooltipError()
  1272. {
  1273. mouseoverLink = this.href;
  1274. this.addEventListener("mouseout", hideTooltip);
  1275. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1276. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1277. warlcTooltip.style.minWidth = 0;
  1278. warlcTooltip.style.visibility = "visible";
  1279. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1280. {
  1281. warlcTooltip.innerHTML = this.warlc_error;
  1282. }
  1283. else
  1284. {
  1285. loadErrorInfo(this);
  1286. }
  1287. function loadErrorInfo(link)
  1288. {
  1289. var href = link.href;
  1290. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1291. GM_xmlhttpRequest({
  1292. method: 'GET',
  1293. url: href.replace(Ref_anonymize_service, ""),
  1294. headers: {
  1295. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1296. 'Accept': 'text/xml',
  1297. 'Referer': ""
  1298. },
  1299. onload: function(result) {
  1300. var res = result.responseText;
  1301. //TODO: errorRegexs -
  1302. var errorRegexs = [ //generic error messages follow
  1303. /(empty directory)/i,
  1304. /(soubor nebyl nalezen)/i,
  1305. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1306. //server specific error messages follow
  1307. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1308. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1309. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1310. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1311. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1312. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1313. /class="red">(.+?)<(?:span|br)>/, //czshare
  1314. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1315. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1316. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1317. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1318. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1319. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1320. /(File has been removed due to Copyright Claim)/, //filerio
  1321. ];
  1322. var errorIdx = errorRegexs.length;
  1323. var error = "Cause of error: <b>unknown</b>";
  1324. var errorCandidate = "";
  1325. while(errorIdx--)
  1326. {
  1327. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1328. if (errorCandidate != null)
  1329. {
  1330. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1331. break;
  1332. }
  1333. }
  1334. //link attributes
  1335. link.warlc_error = error;
  1336. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1337. {
  1338. warlcTooltip.innerHTML = error;
  1339. }
  1340. }
  1341. });
  1342. }
  1343. }
  1344.  
  1345. //"mouseover" event handler for alive links
  1346. //displays tooltip info (file size, file name,...) on alive links
  1347. function displayTooltipInfo()
  1348. {
  1349. mouseoverLink = this.href;
  1350. //exclude direct download filehostings
  1351. if (this.href.match(/(?: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)/))
  1352. {
  1353. return;
  1354. }
  1355. this.addEventListener("mouseout", hideTooltip);
  1356. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1357. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1358. warlcTooltip.style.minWidth = 0;
  1359. warlcTooltip.style.visibility = "visible";
  1360. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1361. {
  1362. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1363. }
  1364. else
  1365. {
  1366. loadInfo(this);
  1367. }
  1368. function loadInfo(link)
  1369. {
  1370. var href = link.href;
  1371. GM_xmlhttpRequest({
  1372. method: 'GET',
  1373. url: href.replace(Ref_anonymize_service, ""),
  1374. headers: {
  1375. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1376. 'Accept': 'text/xml',
  1377. 'Referer': ""
  1378. },
  1379. onload: function(result) {
  1380. var res = result.responseText;
  1381. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1382. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1383. /fl" title="(.+?)">/, //edisk
  1384. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1385. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1386. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1387. /title="download (.+?)">/, //sendspace
  1388. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1389. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1390. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1391. /d0FileName = "(.+?)";/, //letitbit
  1392. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1393. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1394. /fname" value="(.+?)">/, //syfiles, grupload,
  1395. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1396. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1397. /Complete name : (.+?)<br \/>/, //bezvadata
  1398. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1399. ];
  1400. var nameIdx = nameRegexs.length;
  1401. // [sizeRegexs]
  1402. // / \ \?
  1403. // prefix (size) postfix
  1404. // / \
  1405. // val quant
  1406. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1407. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1408. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1409. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1410. var postSizeRegex = '(?:\\))?';
  1411. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1412. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1413. ];
  1414. var sizeIdx = sizeRegexs.length;
  1415. //
  1416. //
  1417. var tooltip = "File Name: <b>";
  1418. var fileName = "unknown";
  1419. var nameCandidate = "";
  1420. while(nameIdx--)
  1421. {
  1422. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1423. if (nameCandidate != null)
  1424. {
  1425. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1426. break;
  1427. }
  1428. }
  1429. tooltip += fileName + "</b><br>File Size: <b>";
  1430. var fileSize = "unknown";
  1431. var sizeCandidate = "";
  1432. while(sizeIdx--)
  1433. {
  1434. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1435. if (sizeCandidate != null)
  1436. {
  1437. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1438. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1439. {
  1440. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1441. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1442. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1443. }
  1444. break;
  1445. }
  1446. }
  1447. tooltip += fileSize + "</b>";
  1448. // PROTOTYPE
  1449. // video thumbnails
  1450. if (href.match('hellshare'))
  1451. {
  1452. var thumbs;
  1453. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1454. if (thumbs)
  1455. {
  1456. tooltip += '<br>';
  1457. var j = Math.min(thumbs.length, 9);
  1458. for (var i = 0; i < j; i++)
  1459. {
  1460. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1461. }
  1462. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1463. }
  1464. }
  1465. if (href.match('czshare'))
  1466. {
  1467. var thumbs;
  1468. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1469. if (thumbs)
  1470. {
  1471. var thumbsServer = thumbs[1];
  1472. var thumbsId = thumbs[2];
  1473. tooltip += '<br>';
  1474. for (var i = 1; i < 9; i++)
  1475. {
  1476. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1477. }
  1478. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1479. }
  1480. }
  1481. if (href.match('bezvadata'))
  1482. {
  1483. var thumbs;
  1484. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1485. if (thumbs)
  1486. {
  1487. tooltip += '<br>';
  1488. var j = Math.min(thumbs.length, 9);
  1489. for (var i = 0; i < j; i++)
  1490. {
  1491. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1492. }
  1493. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1494. }
  1495. }
  1496. link.warlc_tooltipcache = tooltip;
  1497. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1498. {
  1499. warlcTooltip.innerHTML = tooltip;
  1500. }
  1501. }
  1502. });
  1503. }
  1504. }
  1505.  
  1506. function setVariables()
  1507. {
  1508. if (firstRun)
  1509. {
  1510. GM_log('First run, applying default settings...');
  1511. GM_setValue("Icon_set",1);
  1512. GM_setValue("Display_tooltip_info",true);
  1513. GM_setValue("Show_black_background_in_DL_links",false);
  1514. GM_setValue("Show_line_through_in_dead_links",false);
  1515. GM_setValue("Display_full_links_in_link_containers",false);
  1516. GM_setValue("Allow_spaces_in_DL_links",false);
  1517. GM_setValue("Autocheck",true);
  1518. GM_setValue("Enable_Anonymizer",false);
  1519. GM_setValue("Do_not_linkify_DL_links",false);
  1520. GM_setValue("Show_progress_stats",true);
  1521. GM_setValue("Keyboard_functions",true);
  1522. GM_setValue("Obsolete_file_hosts",false);
  1523. GM_setValue("Color_DL_links",true);
  1524. GM_setValue("Live_links_color","Green");
  1525. GM_setValue("Dead_links_color","#FF3300");
  1526. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1527. GM_setValue("Container_links_color","DarkKhaki");
  1528. GM_setValue("Premium_links_color","DeepPink");
  1529. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1530. GM_setValue("Custom_rules",false);
  1531. GM_setValue("Custom_rules_text","");
  1532. GM_setValue("Processbox_Pos_Y", 0);
  1533. GM_setValue("Processbox_Pos_X", 88);
  1534. GM_setValue("Progressbox_Scaling", 100);
  1535. GM_setValue("First_run", false);
  1536. }
  1537. //hidden settings
  1538. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1539. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1540. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1541. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1542. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1543. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1544. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1545. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1546. //hidden settings end
  1547.  
  1548. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1549. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1550. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1551. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1552. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1553. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1554. Autocheck = GM_getValue("Autocheck", true);
  1555. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1556. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1557. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1558. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1559. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1560. Color_DL_links = GM_getValue("Color_DL_links", true);
  1561. Live_links_color = GM_getValue("Live_links_color", "Green");
  1562. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1563. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1564. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1565. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1566. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1567. Custom_rules = GM_getValue("Custom_rules", false);
  1568. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1569. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1570. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1571. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1572. }
  1573.  
  1574.  
  1575. // Delinkifies the links
  1576. // params:
  1577. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1578. // e.g. 'uloz.to/xs68skxl8')
  1579. function delinkifySnapshot(snapshot)
  1580. {
  1581. var n = snapshot.snapshotLength;
  1582.  
  1583. while (n--)
  1584. {
  1585. thisLink = snapshot.snapshotItem(n);
  1586.  
  1587. var spanElm = document.createElement("span");
  1588. spanElm.className = thisLink.className;
  1589. spanElm.innerHTML = thisLink.innerHTML;
  1590.  
  1591. if (Display_tooltip_info)
  1592. {
  1593. spanElm.href = thisLink.href;
  1594. switch (thisLink.className){
  1595. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1596. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1597. case "unava_link": //reserved
  1598. default:
  1599. }
  1600. }
  1601. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1602. }
  1603. }
  1604.  
  1605. function processContainers()
  1606. {
  1607. var redirectorTypes = { "HTTP_302": 0,
  1608. "INNER_LINK": 1,
  1609. "THELOO_KATT_IT": 2,
  1610. "CING_BE": 3,
  1611. "ADF_LY": 4};
  1612. var cMultiloadTotal = 0;
  1613. var cMultiloadProcessed = 0;
  1614.  
  1615. var cMirrorcreatorComTotal = 0;
  1616. var cMirrorcreatorComProcessed = 0;
  1617.  
  1618. var hostRestrictionRegex = "";
  1619. var multiloadComRestriction = "";
  1620. var multiloadComRestrictionRegex;
  1621.  
  1622. //
  1623. //HANDLING REDIRECTORS START
  1624. //
  1625.  
  1626. var redirectors = new Array();
  1627. initRedirectors();
  1628.  
  1629. var redirectorsCount = redirectors.length;
  1630.  
  1631. if (redirectorsCount > 0)
  1632. {
  1633. var allRedirectorsRegex = "";
  1634.  
  1635. //linkify redirector links
  1636. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1637. {
  1638. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1639. }
  1640. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1641. linkify(allRedirectorsRegex);
  1642. //
  1643. //process redirector links
  1644. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1645. {
  1646. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1647. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1648.  
  1649. cLinksTotal += redirectors[redirIdx].cTotal;
  1650. var linkIdx = redirectors[redirIdx].cTotal;
  1651.  
  1652. while(linkIdx--)
  1653. {
  1654. switch(redirectors[redirIdx].type)
  1655. {
  1656. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1657. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1658. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1659. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1661. default:
  1662. }
  1663. }
  1664. }
  1665. //
  1666. }
  1667.  
  1668. //HTTP_302
  1669. function processRedirectorLink(link, redirectorId)
  1670. {
  1671. link.className = 'container_link';
  1672.  
  1673. GM_xmlhttpRequest({
  1674. method: 'HEAD',
  1675. url: link.href,
  1676. headers: {
  1677. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1678. 'Accept': 'text/xml',
  1679. 'Referer': ""
  1680. },
  1681. onload: function(result) {
  1682. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1683. {
  1684. processRedirectorLink(link, redirectorId);
  1685. }
  1686. else
  1687. {
  1688. redirectors[redirectorId].cProcessed++;
  1689. link.href = result.finalUrl;
  1690. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1691. checkLinks('container_link');
  1692. }
  1693. },
  1694. onerror: function(result) { //probably caused by unresponsive filehosting
  1695. redirectors[redirectorId].cProcessed++;
  1696. link.className = 'unava_link';
  1697. cLinksProcessed++;
  1698. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1699. checkLinks('container_link');
  1700. }
  1701. });
  1702. }
  1703. //INNER_LINK
  1704. function processRedirectorLinkEx(link, redirectorId)
  1705. {
  1706. link.className = 'container_link';
  1707. GM_xmlhttpRequest({
  1708. method: 'GET',
  1709. url: link.href,
  1710. headers: {
  1711. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1712. 'Accept': 'text/xml',
  1713. 'Referer': ""
  1714. },
  1715. onload: function(result) {
  1716. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1717. redirectors[redirectorId].cProcessed++;
  1718. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1719. checkLinks('container_link');
  1720. }
  1721. });
  1722. }
  1723. //theloo.katt.it (wrapped safelinking.net)
  1724. function processThelooKattItLink(link, redirectorId)
  1725. {
  1726. link.className = 'container_link';
  1727. GM_xmlhttpRequest({
  1728. method: 'GET',
  1729. url: link.href,
  1730. headers: {
  1731. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1732. 'Accept': 'text/xml',
  1733. 'Referer': ""
  1734. },
  1735. onload: function(result) {
  1736. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1737. redirectors[redirectorId].cProcessed++;
  1738. //the inner links are safelinking.net links, so lets proceed with it
  1739. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1740. {
  1741. processRedirectorLink(link, 0);
  1742. }
  1743. }
  1744. });
  1745. }
  1746. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1747. function processAdfLyLink(link, redirectorId)
  1748. {
  1749. link.className = 'container_link';
  1750. GM_xmlhttpRequest({
  1751. method: 'GET',
  1752. url: link.href,
  1753. headers: {
  1754. 'User-agent': 'Mozilla/4.0',
  1755. 'Accept': 'text/xml',
  1756. 'Referer': ""
  1757. },
  1758. onload: function(result) {
  1759. if (result.finalUrl.match('/locked/'))
  1760. {
  1761. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1762. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1763. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1764. }
  1765. else
  1766. {
  1767. // GM_log('Processing... ' + link.href);
  1768. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1769. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1770. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1771. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1772. //confirm advert
  1773. GM_xmlhttpRequest(
  1774. {
  1775. method: 'POST',
  1776. url: 'http://adf.ly/l.php',
  1777. headers: {
  1778. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1779. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1780. 'Referer': link.href
  1781. },
  1782. data: users + '&lt=' + logToken,
  1783. onload: function(result) {
  1784. //retrieve final url from .../go/... link
  1785. GM_xmlhttpRequest({
  1786. method: 'GET',
  1787. url: directLink,
  1788. headers: {
  1789. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1790. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1791. 'Referer': link.href
  1792. },
  1793. onload: function(result) {
  1794. link.href = result.finalUrl;
  1795. redirectors[redirectorId].cProcessed++;
  1796. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1797. checkLinks('container_link');
  1798. }
  1799. });
  1800. }
  1801. });
  1802. }
  1803. }
  1804. });
  1805. function proceedOK()
  1806. {
  1807. }
  1808. }
  1809. //MULTILOAD.CZ START
  1810. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1811. {
  1812. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1813. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1814.  
  1815. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1816.  
  1817. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1818. hostRestrictionRegex += 'hellshare|';
  1819. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1820. hostRestrictionRegex += 'downloadhellshare|';
  1821. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1822. hostRestrictionRegex += 'share-rapid\\.com|';
  1823. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1824. hostRestrictionRegex += 'quickshare\\.cz|';
  1825. if (GM_getValue("Check_czshare_dot_com_links", false))
  1826. hostRestrictionRegex += 'czshare\\.com|';
  1827. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1828. hostRestrictionRegex += 'hellspy|';
  1829. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1830. hostRestrictionRegex += 'multishare\\.cz|';
  1831.  
  1832. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1833.  
  1834. linkify(mlRegex);
  1835.  
  1836. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1837. var mlCount = mlSnapshot.snapshotLength;
  1838.  
  1839. if (mlCount > 0)
  1840. {
  1841. cMultiloadTotal += mlCount;
  1842.  
  1843. mlIdx = mlCount - 1;
  1844. do
  1845. {
  1846. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1847. }
  1848. while(mlIdx--)
  1849. }
  1850. }
  1851. //MULTILOAD.CZ END
  1852.  
  1853.  
  1854.  
  1855. function processMultiloadLink(mlLink)
  1856. {
  1857. GM_xmlhttpRequest({
  1858. method: 'GET',
  1859. url: mlLink.href,
  1860. headers: {
  1861. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1862. 'Accept': 'text/xml',
  1863. 'Referer': ""
  1864. },
  1865. onload: function(result) {
  1866. var res = result.responseText;
  1867.  
  1868. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1869. 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;
  1870. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1871. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1872.  
  1873. var blocks; // blocks of links
  1874. var blockIdx;
  1875.  
  1876. mlLink.className = '';
  1877.  
  1878. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1879. {
  1880. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1881. return;
  1882. }
  1883.  
  1884. blocks = res.match(innerBlockRegex);
  1885.  
  1886. if (blocks == null) //no links found, cancel further processing
  1887. {
  1888. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1889. cMultiloadProcessed++;
  1890. if (cMultiloadTotal <= cMultiloadProcessed)
  1891. {
  1892. startBulkCheck('container_link');
  1893. start('container_link');
  1894. }
  1895. return;
  1896. }
  1897.  
  1898. blockIdx = blocks.length;
  1899.  
  1900. if (Display_full_links_in_link_containers)
  1901. {
  1902. var ulElm = document.createElement('ul');
  1903. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1904.  
  1905. while(blockIdx--)
  1906. {
  1907. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1908. {
  1909. continue;
  1910. }
  1911.  
  1912. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1913.  
  1914. var linkIdx = innerLinks.length;
  1915. while (linkIdx--)
  1916. {
  1917. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1918.  
  1919. var liElm = document.createElement('li');
  1920.  
  1921. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1922. {
  1923. liElm.appendChild(document.createTextNode(innerLink));
  1924. }
  1925. else
  1926. {
  1927. var aElm = document.createElement('a');
  1928. aElm.innerHTML = innerLink;
  1929. aElm.href = innerLink;
  1930. aElm.className = 'container_link';
  1931.  
  1932. liElm.appendChild(aElm);
  1933. }
  1934.  
  1935. ulElm.appendChild(liElm);
  1936. cLinksTotal++;
  1937. }
  1938. }
  1939.  
  1940. mlLink.parentNode.appendChild(ulElm);
  1941. }
  1942. else //compact view
  1943. {
  1944. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1945.  
  1946. while(blockIdx--)
  1947. {
  1948. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1949. {
  1950. continue;
  1951. }
  1952.  
  1953. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1954.  
  1955. var linkIdx = innerLinks.length;
  1956. while (linkIdx--)
  1957. {
  1958. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1959.  
  1960. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1961. {
  1962. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1963. }
  1964. else
  1965. {
  1966. var aElm = document.createElement('a');
  1967.  
  1968. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1969.  
  1970. //abbreviate host name
  1971. switch(hostName + ""){
  1972.  
  1973. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1974. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1975. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1976. case 'multishare': aElm.innerHTML = 'MS'; break;
  1977. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1978. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1979. case 'czshare': aElm.innerHTML = 'CS'; break;
  1980. default: aElm.innerHTML = 'xx';
  1981.  
  1982. }
  1983.  
  1984. aElm.href = innerLink;
  1985. aElm.className = 'container_link';
  1986.  
  1987. mlLink.parentNode.appendChild(aElm);
  1988. cLinksTotal++;
  1989. }
  1990. }
  1991.  
  1992. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1993.  
  1994. }
  1995. }
  1996.  
  1997. cMultiloadProcessed++;
  1998. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1999. {
  2000. if (Do_not_linkify_DL_links)
  2001. {
  2002. delinkifySnapshot(mlSnapshot);
  2003. }
  2004. startBulkCheck('container_link');
  2005. start('container_link');
  2006. }
  2007. }
  2008. });
  2009. }
  2010.  
  2011.  
  2012. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2013. {
  2014. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2015. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2016. var mcShortHostNames =
  2017. '?? 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';
  2018. // 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
  2019. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2020. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2021. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2022. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2023.  
  2024. linkify(mcRegex);
  2025.  
  2026. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2027. var mcCount = mcSnapshot.snapshotLength;
  2028.  
  2029. cMirrorcreatorComTotal = mcCount;
  2030.  
  2031. if (mcCount > 0)
  2032. {
  2033. mcShortHostNames = mcShortHostNames.split(' ');
  2034. mcIdx = mcCount;
  2035. while(mcIdx--)
  2036. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2037. }
  2038.  
  2039. }
  2040. //MIRRORCREATOR.CZ END
  2041.  
  2042.  
  2043. //mirrorcreator.com checking works like this:
  2044. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2045. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2046. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2047. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2048. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2049. function processMirrorcreatorLink(mcLink)
  2050. {
  2051. var mcURL = mcLink.href.match(mcRegex);
  2052. if(!mcURL || !mcURL[1]) return;
  2053. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2054. GM_xmlhttpRequest({
  2055. method: 'GET',
  2056. url: mcURL,
  2057. headers: {
  2058. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2059. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2060. 'Referer': ""
  2061. },
  2062. onload: function(mcLinkResult) {
  2063. var mcLinkRes = mcLinkResult.responseText;
  2064.  
  2065. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2066. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2067.  
  2068. var mcRedirectors;
  2069. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2070. var m = mcLinkRes.match(mcLinkBlockRegex);
  2071. if (m)
  2072. mcHostsFound = m.length;
  2073. else
  2074. { //no files inside container
  2075. processMirrorcreatorFoundHosts(mcLink, []);
  2076. return;
  2077. }
  2078.  
  2079. var mcRedirectorURL, idx, timedOut = false;
  2080.  
  2081. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2082. GM_xmlhttpRequest({
  2083. method: 'GET',
  2084. url: mcRedirectorURL,
  2085. headers: {
  2086. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2087. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2088. 'Referer': ""
  2089. },
  2090. onload: function(mcHostResult) {
  2091. if (timedOut) return; //too late, the list is already displayed
  2092. var mcHostRes = mcHostResult.responseText;
  2093. var mcHost = mcHostRes.match(mcHostRegex);
  2094. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2095. if (mcHost && idx!=-1)
  2096. {
  2097. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2098. mcHostsRetrieved++;
  2099. mcHostsToProcess++;
  2100. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2101. {
  2102. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2103. mcHostsToProcess = 0;
  2104. }
  2105. }
  2106. } //end of onload: function
  2107. }); //end of GM_xmlhttpRequest call
  2108. };//end of var gmxhrFunc
  2109.  
  2110. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2111. { //load individual redirector pages
  2112. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2113. mcHostURLs.push(mcRedirectorURL);
  2114. mcRedirectorIDs.push(mcRedirectors[2]);
  2115. gmxhrFunc(mcRedirectorURL);
  2116. } //end of while block
  2117.  
  2118. setTimeout(function(){ //in case the last page fails to load and call the function
  2119. timedOut = true;
  2120. if (mcHostsToProcess)
  2121. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2122. }, 60000);
  2123.  
  2124. } //end of onload function
  2125. }); //end of GM_xmlhttpRequest call
  2126. } //end of function processMirrorcreatorLink
  2127.  
  2128.  
  2129. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2130. {
  2131. var aEl, liEl, docFrag;
  2132. var hostName, mcRedirectorID, trimFilename = false;
  2133. var i = mcHostURLs.length;
  2134. if (i == 0)
  2135. {
  2136. trimFilename = true;
  2137. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2138. }
  2139. else
  2140. {
  2141. if (Display_full_links_in_link_containers)
  2142. { //full view
  2143. var wrapperEl = document.createElement('span');
  2144. wrapperEl.style.display = 'block';
  2145. var ulistEl = document.createElement('ul');
  2146. ulistEl.className = 'container_list';
  2147. while (i--)
  2148. {
  2149. liEl = document.createElement('li');
  2150. aEl = document.createElement('a');
  2151. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2152. aEl.href = mcHostURLs[i];
  2153. aEl.className = 'container_link';
  2154. liEl.appendChild(aEl);
  2155. ulistEl.appendChild(liEl);
  2156. }
  2157. wrapperEl.appendChild(ulistEl);
  2158. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2159. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2160. }
  2161. else
  2162. { //compact view
  2163. trimFilename = true;
  2164. docFrag = document.createDocumentFragment();
  2165. docFrag.appendChild(document.createTextNode(' |'));
  2166. while (i--)
  2167. {
  2168. mcRedirectorID = mcRedirectorIDs[i];
  2169. hostName = mcHostURLs[i];
  2170. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2171. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2172. else
  2173. hostName = mcShortHostNames[mcRedirectorID];
  2174. aEl = document.createElement('a');
  2175. aEl.href = mcHostURLs[i];
  2176. aEl.className = 'container_link';
  2177. aEl.appendChild(document.createTextNode(hostName));
  2178. docFrag.appendChild(aEl);
  2179. docFrag.appendChild(document.createTextNode('|'));
  2180. }
  2181. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2182. } //end of else block
  2183. } //end of else block
  2184. mcLink.className = '';
  2185. if (trimFilename)
  2186. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2187. cMirrorcreatorComProcessed++;
  2188. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2189. {
  2190. if (Do_not_linkify_DL_links)
  2191. delinkifySnapshot(mcSnapshot);
  2192. startBulkCheck('container_link');
  2193. start('container_link');
  2194. }
  2195. } //end of function processMirrorcreatorFoundHosts
  2196.  
  2197. containers_processed = true;
  2198.  
  2199.  
  2200. function initRedirectors()
  2201. {
  2202. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2203. {
  2204. var redirector = new Object();
  2205. redirector.linkRegex = linkRegex;
  2206. redirector.xpath = xpathEx; //xpath expression
  2207. redirector.cProcessed = 0; //processed links count
  2208. redirector.cTotal = 0; //total links count
  2209. redirector.type = redirType; //redirectorTypes enum
  2210. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2211. redirectors.push(redirector);
  2212. }
  2213. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2214. {
  2215. addRedirector(
  2216. 'safelinking\\.net\/d\/\\w+',
  2217. "//a[contains(@href,'safelinking.net/d/')]",
  2218. redirectorTypes.HTTP_302,
  2219. null);
  2220. }
  2221. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2222. {
  2223. addRedirector(
  2224. 'linksafe\\.me\/d\/\\w+',
  2225. "//a[contains(@href,'linksafe.me/d/')]",
  2226. redirectorTypes.HTTP_302,
  2227. null);
  2228. }
  2229. if (GM_getValue("Check_linkto_dot_net_links", false))
  2230. {
  2231. addRedirector(
  2232. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2233. "//a[contains(@href,'linkto.net/?')]",
  2234. redirectorTypes.INNER_LINK,
  2235. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2236. }
  2237. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2238. {
  2239. addRedirector(
  2240. '(?:the)?loo\\.katt\\.it\/\\w+',
  2241. "//a[contains(@href,'loo.katt.it/')]",
  2242. redirectorTypes.THELOO_KATT_IT,
  2243. /Proceed to URL - <a href="(.+?)">/);
  2244. }
  2245. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2246. {
  2247. addRedirector(
  2248. 'madlink\\.sk\/\\w+',
  2249. "//a[contains(@href,'madlink.sk/')]",
  2250. redirectorTypes.INNER_LINK,
  2251. /name="url" value="(.+?)\s*"\/>/);
  2252. }
  2253. if (GM_getValue("Check_adf_dot_ly_links", false))
  2254. {
  2255. addRedirector(
  2256. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2257. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2258. redirectorTypes.ADF_LY,
  2259. null);
  2260. }
  2261. if (GM_getValue("Check_redi_dot_re_links", false))
  2262. {
  2263. addRedirector(
  2264. 'redi\\.re\/\\w+',
  2265. "//a[contains(@href,'redi.re/')]",
  2266. redirectorTypes.HTTP_302,
  2267. null);
  2268. }
  2269. if (GM_getValue("Check_bit_dot_ly_links", false))
  2270. {
  2271. addRedirector(
  2272. 'bit\\.ly\/\\w+',
  2273. "//a[contains(@href,'bit.ly/')]",
  2274. redirectorTypes.HTTP_302,
  2275. null);
  2276. }
  2277. }
  2278.  
  2279. }
  2280.  
  2281. var bulkHosts = new Array();
  2282. var bulkHostNames = new Array();
  2283. function initBulkCheck()
  2284. {
  2285. /////////////////////////////
  2286. // Inits filehost object
  2287. /////////////////////////////
  2288. // params :
  2289. // hostName -- [string] host name (multiple domains separated with coma)
  2290. // linkRegex -- [string] link regex
  2291. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2292. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2293. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2294. // corrReplWhat -- [regex] link correction regex (replace)
  2295. // corrReplWith -- [string]
  2296. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2297. //
  2298. // apiUrl -- [string] web linkchecker or API URL
  2299. // postData -- [string] POSTDATA of xmlhttprequest
  2300. // resLinkRegex -- [regex]
  2301. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2302. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2303. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2304. // func -- [function] bulkcheck handler, genBulkCheck if null
  2305. //
  2306. //////////////////////////////
  2307. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2308. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2309. {
  2310. var fileHost = new Object();
  2311.  
  2312. fileHost.linkRegex = linkRegex;
  2313. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2314. fileHost.xpath = xpath;
  2315. fileHost.cFound = 0; //found links counter
  2316. fileHost.links = new Array(); //found links
  2317. if (blockSize == null)
  2318. {
  2319. fileHost.blockSize = 50;
  2320. }
  2321. else
  2322. {
  2323. fileHost.blockSize = blockSize;
  2324. }
  2325. fileHost.corrMatch = corrMatch;
  2326. fileHost.corrReplWhat = corrReplWhat;
  2327. fileHost.corrReplWith = corrReplWith;
  2328. if (splitSeparator == null)
  2329. {
  2330. fileHost.splitSeparator = "\r\n";
  2331. }
  2332. else
  2333. {
  2334. fileHost.splitSeparator = splitSeparator;
  2335. }
  2336. fileHost.apiUrl = apiUrl;
  2337. fileHost.postData = postData;
  2338. fileHost.resLinkRegex = resLinkRegex;
  2339. fileHost.resLiveRegex = resLiveRegex;
  2340. fileHost.resDeadRegex = resDeadRegex;
  2341. fileHost.resUnavaRegex = resUnavaRegex;
  2342. if (func == null)
  2343. {
  2344. fileHost.func = genBulkCheck;
  2345. }
  2346. else
  2347. {
  2348. fileHost.func = func;
  2349. }
  2350. bulkHosts.push(fileHost);
  2351. var names = hostName.split(',');
  2352. var i = names.length;
  2353. while(i--)
  2354. {
  2355. bulkHostNames[names[i]] = fileHost;
  2356. }
  2357. }
  2358. var genType1 = [
  2359. "rodfile.com", "downloadani.me", //"migahost.com",
  2360. "rarefile.net",
  2361. "filesabc.com",
  2362. // "verzend.be",
  2363. // "movreel.com",
  2364. "file4safe.com", "filemac.com",
  2365. "longfiles.com",
  2366. "bitupload.com", //"4up.me",
  2367. //"uploadbaz.com"
  2368. ];
  2369. var genType2 = [ "queenshare.com",
  2370. "hulkload.com",
  2371. "amonshare.com", //"edoc.com",
  2372. ];
  2373. //xfilesharing 1.0
  2374. function addGenericType1()
  2375. {
  2376. var i = genType1.length;
  2377. while(i--)
  2378. {
  2379. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2380. {
  2381. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2382. addHost(
  2383. genType1[i].match(/[\w-]+/)[0], //hostname
  2384. regexSafe + "\/\\w+", //linkregex
  2385. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2386. null, //blocksize
  2387. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2388. null, //corrreplwhat
  2389. null, //corrreplwith
  2390. null, //separator
  2391. "http://" + genType1[i] + "/checkfiles.html", //api url
  2392. "op=checkfiles&process=Check+URLs&list=", //postdata
  2393. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2394. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2395. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2396. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2397. null //function delegate
  2398. )
  2399. }
  2400. }
  2401. }
  2402. //xfilesharing 2.0
  2403. function addGenericType2()
  2404. {
  2405. var i = genType2.length;
  2406. while(i--)
  2407. {
  2408. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2409. {
  2410. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2411. addHost(
  2412. genType2[i].match(/[\w-]+/)[0], //hostname
  2413. regexSafe + "\/\\w+", //linkregex
  2414. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2415. null, //blocksize
  2416. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2417. null, //corrreplwhat
  2418. null, //corrreplwith
  2419. null, //separator
  2420. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2421. "op=checkfiles&process=Check+URLs&list=", //postdata
  2422. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2423. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2424. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2425. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2426. null //function delegate
  2427. )
  2428. }
  2429. }
  2430. }
  2431. // TEMPLATE
  2432. // if (GM_getValue("Check__dot_com_links", false))
  2433. // {
  2434. // addHost(
  2435. // "", //hostname
  2436. // "", //linkregex
  2437. // "//a[contains(@href,'.com/')]", //xpath
  2438. // null, //blocksize
  2439. // null, //corrmatch
  2440. // null, //corrreplwhat
  2441. // null, //corrreplwith
  2442. // null, //separator
  2443. // "", //api url
  2444. // "", //postdata
  2445. // /()/, //linkregex
  2446. // //liveregex
  2447. // //deadregex
  2448. // //unavaregex
  2449. // null //function delegate
  2450. // )
  2451. // }
  2452. addGenericType1();
  2453. addGenericType2();
  2454.  
  2455. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2456. {
  2457. addHost(
  2458. "myvdrive,fileserving", //hostname
  2459. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2460. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2461. null, //blocksize
  2462. null, //corrmatch
  2463. null, //corrreplwhat
  2464. null, //corrreplwith
  2465. null, //separator
  2466. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2467. "links=", //postdata
  2468. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2469. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2470. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2471. null, //unavaregex
  2472. null //function delegate
  2473. )
  2474. }
  2475. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2476. {
  2477. addHost(
  2478. "hackerbox", //hostname
  2479. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2480. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2481. null, //blocksize
  2482. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2483. null, //corrreplwhat
  2484. null, //corrreplwith
  2485. null, //separator
  2486. "http://host.hackerbox.org/checkfiles.html", //api url
  2487. "op=checkfiles&process=Check+URLs&list=", //postdata
  2488. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2489. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2490. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2491. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2492. null //function delegate
  2493. )
  2494. }
  2495. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2496. {
  2497. addHost(
  2498. "hellshare", //hostname
  2499. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2500. "//a[contains(@href,'hellshare.')]", //xpath
  2501. 48, //blocksize
  2502. null, //corrmatch
  2503. null, //corrreplwhat
  2504. null, //corrreplwith
  2505. null, //separator
  2506. null, //api url
  2507. null, //postdata
  2508. null, //linkregex
  2509. null, //liveregex
  2510. null, //deadregex
  2511. null, //unavaregex
  2512. hellshareBulkCheck //function delegate
  2513. )
  2514. }
  2515. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2516. {
  2517. addHost(
  2518. "uploadrocket", //hostname
  2519. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2520. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2521. null, //blocksize
  2522. null, //corrmatch
  2523. null, //corrreplwhat
  2524. null, //corrreplwith
  2525. "\n", //separator
  2526. 'http://uploadrocket.net/?op=checkfiles',
  2527. 'op=checkfiles&process=Check+URLs&list=',
  2528. /uploadrocket.net\/(\w+)/,
  2529. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2530. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2531. null,
  2532. null //function delegate
  2533. )
  2534. }
  2535. if (GM_getValue("Check_uploading_dot_site_links", false))
  2536. {
  2537. addHost(
  2538. "uploading", //hostname
  2539. "(?:uploading\\.site)\/\\w+", //linkregex
  2540. "//a[contains(@href,'uploading.site/')]", //xpath
  2541. null, //blocksize
  2542. null, //corrmatch
  2543. null, //corrreplwhat
  2544. null, //corrreplwith
  2545. "\n", //separator
  2546. 'http://uploading.site/?op=checkfiles',
  2547. 'op=checkfiles&process=Check+URLs&list=',
  2548. /uploading.site\/(\w+)/,
  2549. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2550. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2551. null,
  2552. null //function delegate
  2553. )
  2554. }
  2555. if (GM_getValue("Check_1f_dot_al_links", false))
  2556. {
  2557. addHost(
  2558. "1f",
  2559. "(?:1f\\.al)\/d\/\\w+",
  2560. "//a[contains(@href,'1f.al/d/')]",
  2561. 100000, //blocksize
  2562. null, //corrmatch
  2563. null, //corrreplwhat
  2564. null, //corrreplwith
  2565. null, //separator
  2566. null,
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. _1falBulkCheck //function delegate
  2573. )
  2574. }
  2575. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2576. {
  2577. addHost(
  2578. "k2s,keep2s,keep2share",
  2579. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2580. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2581. 100000, //blocksize
  2582. null, //corrmatch
  2583. null, //corrreplwhat
  2584. null, //corrreplwith
  2585. null, //separator
  2586. null,
  2587. null,
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. k2sBulkCheck //function delegate
  2593. )
  2594. }
  2595. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2596. {
  2597. addHost(
  2598. "tezfiles",
  2599. "(?:tezfiles\\.com)\/\\w+",
  2600. "//a[contains(@href,'tezfiles.com')]",
  2601. 100000, //blocksize
  2602. null, //corrmatch
  2603. null, //corrreplwhat
  2604. null, //corrreplwith
  2605. null, //separator
  2606. null,
  2607. null,
  2608. null,
  2609. null,
  2610. null,
  2611. null,
  2612. k2sBulkCheck //function delegate
  2613. )
  2614. }
  2615. if (GM_getValue("Check_fboom_dot_me_links", false))
  2616. {
  2617. addHost(
  2618. "fboom,fileboom",
  2619. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2620. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2621. 100000, //blocksize
  2622. null, //corrmatch
  2623. null, //corrreplwhat
  2624. null, //corrreplwith
  2625. null, //separator
  2626. null,
  2627. null,
  2628. null,
  2629. null,
  2630. null,
  2631. null,
  2632. fboomBulkCheck //function delegate
  2633. )
  2634. }
  2635. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2636. {
  2637. addHost(
  2638. "1fichier,dl4free",
  2639. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2640. "//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/?')]",
  2641. 100000, //blocksize
  2642. null, //corrmatch
  2643. null, //corrreplwhat
  2644. null, //corrreplwith
  2645. null, //separator
  2646. null,
  2647. null,
  2648. null,
  2649. null,
  2650. null,
  2651. null,
  2652. dl4free_1fichier_BulkCheck //function delegate
  2653. )
  2654. }
  2655. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2656. {
  2657. addHost(
  2658. "nitroflare",
  2659. "nitroflare\\.com\/\\w+",
  2660. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2661. 100000, //blocksize
  2662. null, //corrmatch
  2663. null, //corrreplwhat
  2664. null, //corrreplwith
  2665. null, //separator
  2666. null,
  2667. null,
  2668. null,
  2669. null,
  2670. null,
  2671. null,
  2672. nitroflareBulkCheck //function delegate
  2673. )
  2674. }
  2675. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2676. {
  2677. addHost(
  2678. "depositfiles,dfiles",
  2679. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2680. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/de/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/')]",
  2681. 100000, //blocksize
  2682. null, //corrmatch
  2683. null, //corrreplwhat
  2684. null, //corrreplwith
  2685. null, //separator
  2686. null,
  2687. null,
  2688. null,
  2689. null,
  2690. null,
  2691. null,
  2692. depositfilesBulkCheck //function delegate
  2693. )
  2694. }
  2695. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2696. {
  2697. addHost(
  2698. "filesflash", //hostname
  2699. "filesflash\\.com\/\\w+", //linkregex
  2700. "//a[contains(@href,'filesflash.com')]", //xpath
  2701. null, //blocksize
  2702. null, //corrmatch
  2703. /http:\/\//, //corrreplwhat
  2704. '', //corrreplwith
  2705. null, //separator
  2706. 'http://filesflash.com/checklinks.php',
  2707. 'submit=Go&links=',
  2708. /filesflash\.com\/(\w+)/,
  2709. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2710. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2711. null,
  2712. null //function delegate
  2713. )
  2714. }
  2715. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2716. {
  2717. addHost(
  2718. "jumbofiles", //hostname
  2719. "jumbofiles\\.com\/\\w+", //linkregex
  2720. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2721. null, //blocksize
  2722. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2723. null, //corrreplwhat
  2724. null, //corrreplwith
  2725. null, //separator
  2726. "http://jumbofiles.com/checkfiles.html", //api url
  2727. "op=checkfiles&process=Check+URLs&list=", //postdata
  2728. /(jumbofiles\.com\/\w+)/, //linkregex
  2729. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2730. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2731. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2732. null //function delegate
  2733. )
  2734. }*/
  2735. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2736. {
  2737. addHost(
  2738. "edisk", //hostname
  2739. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2740. "//a[contains(@href,'edisk.')]", //xpath
  2741. null, //blocksize
  2742. null, //corrmatch
  2743. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2744. 'edisk.cz/stahni', //corrreplwith
  2745. null, //separator
  2746. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2747. 'submitBtn=Zkontrolovat&checkFiles=',
  2748. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2749. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2750. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2751. null,
  2752. null //function delegate
  2753. )
  2754. }
  2755. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2756. {
  2757. GM_xmlhttpRequest( //age check skip
  2758. {
  2759. method: 'POST',
  2760. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2761. headers: {
  2762. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2763. 'Content-type': 'application/x-www-form-urlencoded',
  2764. 'Referer': ""
  2765. }
  2766. });
  2767. addHost(
  2768. "bezvadata", //hostname
  2769. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2770. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2771. null, //blocksize
  2772. null, //corrmatch
  2773. null, //corrreplwhat
  2774. null, //corrreplwith
  2775. null, //separator
  2776. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2777. 'zkontrolovat=Zkontrolovat&odkazy=',
  2778. /(bezvadata\.cz\/stahnout\/\d+)/,
  2779. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2780. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2781. null,
  2782. null //function delegate
  2783. )
  2784. }
  2785. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2786. {
  2787. addHost(
  2788. "linkcrypt", //hostname
  2789. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2790. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2791. 100000, //blocksize
  2792. null, //corrmatch
  2793. null, //corrreplwhat
  2794. null, //corrreplwith
  2795. null, //separator
  2796. null,
  2797. null,
  2798. null,
  2799. null,
  2800. null,
  2801. null,
  2802. linkcryptBulkCheck //function delegate
  2803. )
  2804. }
  2805. if (GM_getValue("Check_videobb_dot_com_links", false))
  2806. {
  2807. addHost(
  2808. "videobb", //hostname
  2809. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2810. "//a[contains(@href,'videobb.com')]", //xpath
  2811. null, //blocksize
  2812. null, //corrmatch
  2813. /watch_video\.php\?v=/, //corrreplwhat
  2814. 'video/', //corrreplwith
  2815. null, //separator
  2816. 'http://www.videobb.com/link_checker.php',
  2817. 'links=',
  2818. /videobb\.com\/video\/(\w+)/,
  2819. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2820. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2821. null,
  2822. null //function delegate
  2823. )
  2824. }
  2825. if (GM_getValue("Check_filerio_dot_com_links", false))
  2826. {
  2827. addHost(
  2828. "filekeen,filerio", //hostname
  2829. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2830. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2831. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2832. null, //blocksize
  2833. null, //corrmatch
  2834. null, //corrreplwhat
  2835. null, //corrreplwith
  2836. null, //separator
  2837. 'http://filerio.in/checkfiles.html',
  2838. 'op=checkfiles&process=Check+URLs&list=',
  2839. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2840. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2841. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2842. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2843. null //function delegate
  2844. )
  2845. }
  2846. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2847. {
  2848. addHost(
  2849. "share-online,egoshare", //hostname
  2850. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2851. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2852. null, //blocksize
  2853. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2854. null, //corrreplwhat
  2855. null, //corrreplwith
  2856. "\n", //separator
  2857. 'http://api.share-online.biz/linkcheck.php',
  2858. 'links=',
  2859. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2860. /\w+;OK/g,
  2861. /\w+;(?:NOTFOUND|DELETED)/g,
  2862. null,
  2863. null //function delegate
  2864. )
  2865. }
  2866. if (GM_getValue("Check_oboom_dot_com_links", false))
  2867. {
  2868. addHost(
  2869. "oboom", //hostname
  2870. "oboom\\.com\/#?\\w{8}", //linkregex
  2871. "//a[contains(@href,'oboom.com/')]", //xpath
  2872. null, //blocksize
  2873. /oboom\.com\/#?(\w{8})/, //corrmatch
  2874. null, //corrreplwhat
  2875. null, //corrreplwith
  2876. null, //separator
  2877. null,
  2878. null,
  2879. null,
  2880. null, //liveregex
  2881. null, //deadregex
  2882. null,
  2883. oboomBulk //function delegate
  2884. )
  2885. }
  2886. if (GM_getValue("Check_mega_dot_nz_links", false))
  2887. {
  2888. addHost(
  2889. "mega",
  2890. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2891. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2892. 100000, //blocksize
  2893. null, //corrmatch
  2894. null, //corrreplwhat
  2895. null, //corrreplwith
  2896. null, //separator
  2897. null,
  2898. null,
  2899. null,
  2900. null,
  2901. null,
  2902. null,
  2903. megaBulkCheck //function delegate
  2904. )
  2905. }
  2906.  
  2907. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2908.  
  2909. if (GM_getValue("Check_extabit_dot_com_links", false))
  2910. {
  2911. addHost(
  2912. "extabit", //hostname
  2913. "extabit\\.com\/file\/\\w+", //linkregex
  2914. "//a[contains(@href,'extabit.com')]", //xpath
  2915. null, //blocksize
  2916. null, //corrmatch
  2917. null, //corrreplwhat
  2918. null, //corrreplwith
  2919. "\n", //separator
  2920. "http://extabit.com/linkchecker.jsp", //api url
  2921. "url=", //postdata
  2922. /extabit\.com\/(file\/\w+)/, //linkregex
  2923. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2924. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2925. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2926. extabitBulkCheck //function delegate
  2927. )
  2928. }
  2929. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2930. {
  2931. addHost(
  2932. "junocloud", //hostname
  2933. "junocloud\\.me\/\\w+", //linkregex
  2934. "//a[contains(@href,'junocloud.me')]", //xpath
  2935. null, //blocksize
  2936. null, //corrmatch
  2937. null, //corrreplwhat
  2938. null, //corrreplwith
  2939. "\n", //separator
  2940. "http://junocloud.me/checkfiles.html", //api url
  2941. "op=checkfiles&process=Check+URLs&list=", //postdata
  2942. /(junocloud\.me\/\w+)/, //linkregex
  2943. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2944. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2945. null, //unavaregex
  2946. null //function delegate
  2947. )
  2948. } */
  2949. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2950. {
  2951. addHost(
  2952. "webshare", //hostname
  2953. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2954. "//a[contains(@href,'webshare.cz')]", //xpath
  2955. 100000, //blocksize
  2956. null, //corrmatch
  2957. null, //corrreplwhat
  2958. null, //corrreplwith
  2959. null, //separator
  2960. null, //api url
  2961. null, //postdata
  2962. null, //linkregex
  2963. null, //liveregex
  2964. null, //deadregex
  2965. null, //unavaregex
  2966. webshareBulkCheck //function delegate
  2967. )
  2968. }
  2969. /////////////////////////////
  2970. // Common function delegate to send links to get checked by host linkchecker
  2971. /////////////////////////////
  2972. // If you define a new delegate, you may use following properties
  2973. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2974. // this.apiUrl [string] API or web linkchecker URL
  2975. // this.postData [string] POSTDATA for POST request
  2976. // this.resLiveRegex [regex] matches live substrings in the request response
  2977. // this.resDeadRegex [regex] matches dead substrings in the request response
  2978. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2979. //
  2980. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2981. //
  2982. // See the code below for standard bulkcheck handling reference.
  2983. //////////////////////////////
  2984. function genBulkCheck()
  2985. {
  2986. var blockIdx = this.links.length;
  2987. while (blockIdx--)
  2988. {
  2989. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2990. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2991. }
  2992. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2993. {
  2994. GM_xmlhttpRequest(
  2995. {
  2996. method: 'POST',
  2997. url: api,
  2998. headers: {
  2999. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3000. 'Content-type': 'application/x-www-form-urlencoded',
  3001. 'Referer': api,
  3002. 'X-Requested-With': 'XMLHttpRequest'
  3003. },
  3004. data: postData + encodeURIComponent(links),
  3005. onload: function (result)
  3006. {
  3007. var res = result.responseText;
  3008. // GM_log(res);
  3009. var i;
  3010.  
  3011. var livelinks = res.match(liveRegex);
  3012. var deadlinks = res.match(deadRegex);
  3013. // GM_log(livelinks);
  3014. // GM_log(deadlinks);
  3015. if (livelinks != null)
  3016. {
  3017. i = livelinks.length - 1;
  3018. do
  3019. {
  3020. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3021. }
  3022. while (i--);
  3023. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3024. }
  3025.  
  3026. if (deadlinks != null)
  3027. {
  3028. i = deadlinks.length - 1;
  3029. do
  3030. {
  3031. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3032. }
  3033. while (i--);
  3034. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3035. }
  3036.  
  3037. if (unavaRegex != null)
  3038. {
  3039. var unavalinks = res.match(unavaRegex);
  3040. if (unavalinks)
  3041. {
  3042. i = unavalinks.length - 1;
  3043. do
  3044. {
  3045. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3046. }
  3047. while (i--);
  3048. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3049. }
  3050. }
  3051. }
  3052. });
  3053. }
  3054. }
  3055. //specialized bulkchecking handlers follow
  3056. function webshareBulkCheck()
  3057. {
  3058. var arr = this.links[0].split("\r\n");
  3059. var i = arr.length;
  3060. while(i--)
  3061. {
  3062. postRequest(arr[i]);
  3063. }
  3064. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3065. function postRequest(wsLink)
  3066. {
  3067. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3068. GM_xmlhttpRequest(
  3069. {
  3070. method: 'POST',
  3071. url: "http://webshare.cz/api/file_info/",
  3072. headers: {
  3073. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3074. 'Content-type': 'application/x-www-form-urlencoded',
  3075. 'Referer': "",
  3076. },
  3077. data: "wst=&ident=" + id,
  3078. onload: function (result)
  3079. {
  3080. var res = result.responseText;
  3081. if (res.match(/<name>.+?<\/name>/))
  3082. {
  3083. DisplayTheCheckedLinks([id], 'alive_link');
  3084. }
  3085. else
  3086. {
  3087. DisplayTheCheckedLinks([id], 'adead_link');
  3088. }
  3089. }
  3090. });
  3091. }
  3092. }
  3093. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3094. //extabit also doesn't like requests in fast succession, so some delays are added.
  3095. function extabitBulkCheck()
  3096. {
  3097. var timeoutDelay = 0;
  3098. var blockIdx = this.links.length;
  3099. while (blockIdx--)
  3100. {
  3101. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3102. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3103. }
  3104. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3105. {
  3106. GM_xmlhttpRequest(
  3107. {
  3108. method: 'POST',
  3109. url: api,
  3110. headers: {
  3111. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3112. 'Content-type': 'application/x-www-form-urlencoded',
  3113. 'Referer': api,
  3114. 'X-Requested-With': 'XMLHttpRequest'
  3115. },
  3116. data: postData + encodeURIComponent(links),
  3117. onload: function (result)
  3118. {
  3119. var res = result.responseText;
  3120. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3121. {
  3122. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3123. {
  3124. //GM_log(tryID + ': ' + link);
  3125. GM_xmlhttpRequest(
  3126. {
  3127. method: 'GET',
  3128. url: link,
  3129. 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': ""},
  3130. onload: function(result2)
  3131. {
  3132. var res2 = result2.responseText;
  3133. var res2Status = result.status;
  3134. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3135. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3136. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3137. {
  3138. if (tryID < 7)
  3139. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3140. else
  3141. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3142. }
  3143. }
  3144. });
  3145. }
  3146. //split the hrefs and check them one by one
  3147. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3148. links = links.split('\n');
  3149. var i = links.length;
  3150. while (i--)
  3151. {
  3152. if (links[i])
  3153. {
  3154. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3155. timeoutDelay += 500;
  3156. }
  3157. }
  3158. return;
  3159. }
  3160. var i;
  3161.  
  3162. var livelinks = res.match(liveRegex);
  3163. var deadlinks = res.match(deadRegex);
  3164. if (livelinks != null)
  3165. {
  3166. i = livelinks.length - 1;
  3167. do
  3168. {
  3169. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3170. }
  3171. while (i--);
  3172. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3173. }
  3174.  
  3175. if (deadlinks != null)
  3176. {
  3177. i = deadlinks.length - 1;
  3178. do
  3179. {
  3180. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3181. }
  3182. while (i--);
  3183. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3184. }
  3185.  
  3186. if (unavaRegex != null)
  3187. {
  3188. var unavalinks = res.match(unavaRegex);
  3189. if (unavalinks)
  3190. {
  3191. i = unavalinks.length - 1;
  3192. do
  3193. {
  3194. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3195. }
  3196. while (i--);
  3197. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3198. }
  3199. }
  3200. }
  3201. });
  3202. }
  3203. }
  3204. function _1falBulkCheck()
  3205. {
  3206. var arr = this.links[0].split("\r\n");
  3207. var i = arr.length;
  3208. c=0;
  3209. arrIDs=[];
  3210. while(i--)
  3211. {
  3212. id = arr[i].match(/\/d\/(\w+)/)[1];
  3213.  
  3214. _1falalreadyexist=false;
  3215. for (j=0;j<arrIDs.length;j++)
  3216. {
  3217. if (arrIDs[j]==id)
  3218. {
  3219. _1falalreadyexist=g
  3220. break;
  3221. }
  3222. }
  3223. if (_1falalreadyexist) continue;
  3224. arrIDs.push(id);
  3225. c++;
  3226. setTimeout(_1falRequest,c*500,arr[i]);
  3227. }
  3228. }
  3229. function _1falRequest(_1falLink)
  3230. {
  3231. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3232. GM_xmlhttpRequest(
  3233. {
  3234. method: 'GET',
  3235. url: _1falLink,
  3236. headers: {
  3237. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3238. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3239. 'Referer': 'http://www.planetsuzy.org/'
  3240. },
  3241. onload: function (result)
  3242. {
  3243. var res = result.responseText;
  3244. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3245. if (FAarr!=null)
  3246. {
  3247. FALink=FAarr[1];
  3248. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3249. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3250. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3251. GM_xmlhttpRequest(
  3252. {
  3253. method: 'POST',
  3254. url: FALink,
  3255. headers: {
  3256. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3257. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3258. 'Content-Type': 'application/x-www-form-urlencoded',
  3259. 'Referer': _1falLink
  3260. },
  3261. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3262. onload: function (_2ndresult)
  3263. {
  3264. var newres = _2ndresult.responseText;
  3265. FAalivelink=new RegExp("method_free");
  3266. if (FAalivelink.test(newres))
  3267. {
  3268. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3269. return;
  3270. }
  3271. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3272. if (FAdeadlink.test(newres))
  3273. {
  3274. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3275. return;
  3276. }
  3277. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3278. return;
  3279. }
  3280. });
  3281. return;
  3282. }
  3283. else
  3284. {
  3285. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3286. return;
  3287. }
  3288. },
  3289. onerror: function ()
  3290. {
  3291. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3292. return;
  3293. }
  3294. });
  3295. }
  3296. function k2sBulkCheck()
  3297. {
  3298. var arr = this.links[0].split("\r\n");
  3299. var i = arr.length;
  3300. c=0;
  3301. arrIDs=[];
  3302. while(i--)
  3303. {
  3304. id = arr[i].match(/\/file\/(\w+)/)[1];
  3305. if (id=='info')
  3306. {
  3307. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3308. continue;
  3309. }
  3310. k2salreadyexist=false;
  3311. for (j=0;j<arrIDs.length;j++)
  3312. {
  3313. if (arrIDs[j]==id)
  3314. {
  3315. k2salreadyexist=g
  3316. break;
  3317. }
  3318. }
  3319. if (k2salreadyexist) continue;
  3320. arrIDs.push(id);
  3321. c++;
  3322. setTimeout(k2sRequest,c*500,arr[i]);
  3323. }
  3324. }
  3325. function k2sRequest(K2SLink)
  3326. {
  3327. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3328. GM_xmlhttpRequest(
  3329. {
  3330. method: 'GET',
  3331. url: K2SLink,
  3332. headers: {
  3333. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3334. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3335. 'Referer': ''
  3336. },
  3337. onload: function (result)
  3338. {
  3339. var res = result.responseText;
  3340. K2Dom='k2s.cc';
  3341. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3342. K2SLink2='http://'+K2Dom+'/file/'+id;
  3343.  
  3344. 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'))
  3345. {
  3346. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3347. return;
  3348. }
  3349. if (res.match('method="post">Displaying'))
  3350. {
  3351. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3352. return;
  3353. }
  3354. if (res.match('Premium only|only for premium members'))
  3355. {
  3356. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3357. return;
  3358. }
  3359. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3360. {
  3361. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3362. slID=slow_id.exec(res)[1];
  3363. GM_xmlhttpRequest(
  3364. {
  3365. method: 'POST',
  3366. url: K2SLink2,
  3367. headers: {
  3368. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3369. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3370. 'Content-Type': 'application/x-www-form-urlencoded',
  3371. 'Referer': K2SLink
  3372. },
  3373. data: 'slow_id='+slID+'&yt0=',
  3374. onload: function (result)
  3375. {
  3376. var newres = result.responseText;
  3377. newoversizedtest=new RegExp("Free user can't download large files.");
  3378. if (newoversizedtest.test(newres))
  3379. {
  3380. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3381. return;
  3382. }
  3383. else
  3384. {
  3385. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3386. return;
  3387. }
  3388. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3389. return;
  3390. }
  3391. });
  3392. /////////////////////end additional check for oversized links
  3393. return;
  3394. }
  3395. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3396. return;
  3397. },
  3398. onerror: function ()
  3399. {
  3400. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3401. return;
  3402. }
  3403. });
  3404. }
  3405. function fboomBulkCheck()
  3406. {
  3407. var arr = this.links[0].split("\r\n");
  3408. var i = arr.length;
  3409. c=0;
  3410. arrIDs=[];
  3411. while(i--)
  3412. {
  3413. id = arr[i].match(/\/file\/(\w+)/)[1];
  3414. if (id=='info')
  3415. {
  3416. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3417. continue;
  3418. }
  3419. fbalreadyexist=false;
  3420. for (j=0;j<arrIDs.length;j++)
  3421. {
  3422. if (arrIDs[j]==id)
  3423. {
  3424. fbalreadyexist=true;
  3425. break;
  3426. }
  3427. }
  3428. if (fbalreadyexist) continue;
  3429. arrIDs.push(id);
  3430. c++;
  3431. setTimeout(fboomRequest,c*500,arr[i]);
  3432. }
  3433. }
  3434. function fboomRequest(FBoomLink)
  3435. {
  3436. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3437. FBoomLink2='http://fboom.me/file/'+id;
  3438. GM_xmlhttpRequest(
  3439. {
  3440. method: 'GET',
  3441. url: FBoomLink,
  3442. headers: {
  3443. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3444. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3445. 'Referer': ''
  3446. },
  3447. onload: function (result)
  3448. {
  3449. var res = result.responseText;
  3450. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3451. {
  3452. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3453. return;
  3454. }
  3455. if (res.match('method="post">Displaying'))
  3456. {
  3457. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3458. return;
  3459. }
  3460. if (res.match('only for premium members'))
  3461. {
  3462. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3463. return;
  3464. }
  3465. if (res.match('id="download-free" href="#"'))
  3466. {
  3467. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3468. slID=slow_id.exec(res)[1];
  3469. GM_xmlhttpRequest(
  3470. {
  3471. method: 'POST',
  3472. url: FBoomLink2,
  3473. headers: {
  3474. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3475. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3476. 'Content-Type': 'application/x-www-form-urlencoded',
  3477. 'Referer': FBoomLink
  3478. },
  3479. data: 'slow_id='+slID,
  3480. onload: function (result)
  3481. {
  3482. var newres = result.responseText;
  3483. newoversizedtest=new RegExp("Downloading is not possible");
  3484. if (newoversizedtest.test(newres))
  3485. {
  3486. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3487. return;
  3488. }
  3489. else
  3490. {
  3491. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3492. return;
  3493. }
  3494. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3495. return;
  3496. }
  3497. });
  3498. /////////////////////end additional check for oversized links
  3499. return;
  3500. }
  3501. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3502. return;
  3503. },
  3504. onerror: function ()
  3505. {
  3506. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3507. return;
  3508. }
  3509. });
  3510. }
  3511. function dl4free_1fichier_BulkCheck()
  3512. {
  3513. var arr = this.links[0].split("\r\n");
  3514. var i = arr.length;
  3515. while(i--)
  3516. {
  3517. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3518. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3519. gethead_dl4free_1fichier(arr[i]);
  3520. }
  3521. }
  3522. function gethead_dl4free_1fichier(link)
  3523. {
  3524. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3525. GM_xmlhttpRequest(
  3526. {
  3527. method: 'HEAD',
  3528. url: link,
  3529. headers: {
  3530. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3531. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3532. 'Referer': ''
  3533. },
  3534. onload: function (result)
  3535. {
  3536. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3537. {
  3538. DisplayTheCheckedLinks([id], 'alive_link');
  3539. return;
  3540. }
  3541. else
  3542. {
  3543. getlink_dl4free_1fichier(link);
  3544. }
  3545. return;
  3546. },
  3547. onerror: function ()
  3548. {
  3549. DisplayTheCheckedLinks([id], 'unava_link');
  3550. }
  3551. });
  3552. }
  3553. function getlink_dl4free_1fichier(link)
  3554. {
  3555. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3556. GM_xmlhttpRequest(
  3557. {
  3558. method: 'GET',
  3559. url: link,
  3560. headers: {
  3561. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3562. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3563. 'Referer': ''
  3564. },
  3565. onload: function (result)
  3566. {
  3567. var res = result.responseText;
  3568. deadRegex=new RegExp('The requested file has been deleted|Select files to send|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');
  3569. if (deadRegex.test(res))
  3570. {
  3571. DisplayTheCheckedLinks([id], 'adead_link');
  3572. return;
  3573. }
  3574. premiumRegex=new RegExp('only for premium users');
  3575. if (premiumRegex.test(res))
  3576. {
  3577. DisplayTheCheckedLinks([id], 'prem_link');
  3578. return;
  3579. }
  3580. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|value="Access to download"|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3581. if (liveRegex.test(res))
  3582. {
  3583. DisplayTheCheckedLinks([id], 'alive_link');
  3584. return;
  3585. }
  3586. DisplayTheCheckedLinks([id], 'unava_link');
  3587. },
  3588. onerror: function ()
  3589. {
  3590. DisplayTheCheckedLinks([id], 'unava_link');
  3591. }
  3592. });
  3593. }
  3594. function nitroflareBulkCheck()
  3595. {
  3596. var arr = this.links[0].split("\r\n");
  3597. var i = arr.length;
  3598. while(i--)
  3599. {
  3600. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3601. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3602. NitroFlareRequest(arr[i]);
  3603. }
  3604. }
  3605. function NitroFlareRequest(NFLink)
  3606. {
  3607. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3608. GM_xmlhttpRequest(
  3609. {
  3610. method: "GET",
  3611. url: NFLink,
  3612. headers: {
  3613. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3614. 'Content-Type': 'application/x-www-form-urlencoded',
  3615. 'Referer': ""
  3616. },
  3617. onload: function (result)
  3618. {
  3619. var res = result.responseText;
  3620. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3621. {
  3622. DisplayTheCheckedLinks([NFID], 'adead_link');
  3623. return;
  3624. }
  3625. if (res.match('Report this file<\/a>'))
  3626. {
  3627. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3628. sizearr=measureRegex.exec(res);
  3629. if (sizearr[2]=='GB')
  3630. {
  3631. if (parseFloat(sizearr[1])>1)
  3632. {
  3633. DisplayTheCheckedLinks([NFID], 'prem_link');
  3634. }
  3635. else
  3636. {
  3637. DisplayTheCheckedLinks([NFID], 'alive_link');
  3638. }
  3639. }
  3640. else
  3641. {
  3642. DisplayTheCheckedLinks([NFID], 'alive_link');
  3643. }
  3644. return;
  3645. }
  3646. DisplayTheCheckedLinks([NFID], 'unava_link');
  3647. }
  3648. });
  3649. }
  3650. function depositfilesBulkCheck()
  3651. {
  3652. var arr = this.links[0].split("\r\n");
  3653. var i = arr.length;
  3654. var seqno = Math.floor(Math.random()*1000000000);
  3655. while(i--)
  3656. {
  3657. DFpostRequest(arr[i]);
  3658. }
  3659. }
  3660. function DFpostRequest(DFLink)
  3661. {
  3662. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3663. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3664. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3665. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3666. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3667. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3668. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3670. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3671. GM_xmlhttpRequest(
  3672. {
  3673. method: "GET",
  3674. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3675. headers: {
  3676. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3677. 'Content-Type': 'application/x-www-form-urlencoded',
  3678. 'Referer': ""
  3679. },
  3680. onload: function (result)
  3681. {
  3682. var res = result.responseText;
  3683. if (res.match('(?:no_file|file_ban)'))
  3684. {
  3685. DisplayTheCheckedLinks([id], 'adead_link');
  3686. return;
  3687. }
  3688. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3689. {
  3690. DisplayTheCheckedLinks([id], 'alive_link');
  3691. return;
  3692. }
  3693. DisplayTheCheckedLinks([id], 'unava_link');
  3694. }
  3695. });
  3696. }
  3697.  
  3698. function megaBulkCheck()
  3699. {
  3700. var arr = this.links[0].split("\r\n");
  3701. var i = arr.length;
  3702. var seqno = Math.floor(Math.random()*1000000000);
  3703. while(i--)
  3704. {
  3705. postRequest(arr[i]);
  3706. }
  3707. function postRequest(megaLink)
  3708. {
  3709. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3710. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3711. if (id=='F')
  3712. {
  3713. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3714. DisplayTheCheckedLinks([id], 'unava_link');
  3715. }
  3716. else
  3717. GM_xmlhttpRequest(
  3718. {
  3719. method: "POST",
  3720. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3721. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3722. headers: {
  3723. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3724. 'Content-Type': 'application/xml',
  3725. 'Referer': "https://mega.co.nz/"
  3726. },
  3727. onload: function (result)
  3728. {
  3729. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3730. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3731. {
  3732.  
  3733. DisplayTheCheckedLinks([id], 'adead_link');
  3734. }
  3735. if (res.at)
  3736. {
  3737. DisplayTheCheckedLinks([id], 'alive_link');
  3738. }
  3739. if (res.e == "ETEMPUNAVAIL")
  3740. {
  3741. DisplayTheCheckedLinks([id], 'unava_link');
  3742. }
  3743. }
  3744. });
  3745. }
  3746.  
  3747. }
  3748.  
  3749. function oboomBulk() {
  3750. var a = [], b = [], c = [];
  3751. var array = this.links;
  3752.  
  3753. GM_xmlhttpRequest({
  3754. method: 'GET',
  3755. url: 'https://www.oboom.com/1/guestsession',
  3756. headers: {
  3757. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3758. 'Content-type': 'application/x-www-form-urlencoded',
  3759. 'Referer': 'https://www.oboom.com',
  3760. 'X-Requested-With': 'XMLHttpRequest'
  3761. },
  3762. onload: function(result) {
  3763. var blockIdx = array.length;
  3764. var token = JSON.parse(result.responseText)[1];
  3765. while (blockIdx--) {
  3766. startCheck(array[blockIdx].split('\r\n'), token);
  3767. }
  3768. }
  3769. });
  3770.  
  3771. function startCheck(links, token) {
  3772. GM_xmlhttpRequest({
  3773. method: 'POST',
  3774. url: "https://api.oboom.com/1/info",
  3775. headers: {
  3776. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3777. 'Content-type': 'application/x-www-form-urlencoded',
  3778. 'Referer': 'https://www.oboom.com/',
  3779. 'X-Requested-With': 'XMLHttpRequest'
  3780. },
  3781. data: "token=" + token + "&items=" + links.join(","),
  3782. onload: function(result) {
  3783. var res = JSON.parse(result.responseText)[1];
  3784. var i = res.length, s;
  3785.  
  3786. while (i--) {
  3787. s = res[i].state;
  3788. if (s == 'online') a.push(res[i].id);
  3789. 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);
  3790. else c.push(res[i].id);
  3791. }
  3792.  
  3793. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3794. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3795. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3796. }
  3797. });
  3798. }
  3799. }
  3800. function linkcryptBulkCheck()
  3801. {
  3802. var arr = this.links[0].split("\r\n");
  3803. var i = arr.length;
  3804. while(i--)
  3805. {
  3806. postRequest(arr[i]);
  3807. }
  3808. function postRequest(lcLink)
  3809. {
  3810. GM_xmlhttpRequest(
  3811. {
  3812. method: "GET",
  3813. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3814. headers: {
  3815. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3816. 'Accept': 'text/xml',
  3817. 'Referer': ""
  3818. },
  3819. onload: function (result)
  3820. {
  3821. var res = result.responseText;
  3822. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3823. {
  3824. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3825. return;
  3826. }
  3827. if (res.match(/folderStatus>1/)) //Online status
  3828. {
  3829. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3830. }
  3831. else
  3832. {
  3833. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3834. }
  3835. }
  3836. });
  3837. }
  3838. }
  3839.  
  3840. /* function megashareBulkCheck()
  3841. {
  3842. var arr = this.links[0].split("\r\n");
  3843. var i = arr.length;
  3844. while(i--)
  3845. {
  3846. postRequest(arr[i]);
  3847. }
  3848. function postRequest(msLink)
  3849. {
  3850. GM_xmlhttpRequest(
  3851. {
  3852. method: "GET",
  3853. url: msLink,
  3854. headers: {
  3855. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3856. 'Content-Type': 'application/x-www-form-urlencoded',
  3857. 'Referer': ""
  3858. },
  3859. onload: function (result)
  3860. {
  3861. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3862. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3863. if ((prZVal == null) || (btn3Name == null))
  3864. {
  3865. return;
  3866. }
  3867. GM_xmlhttpRequest(
  3868. {
  3869. method: "POST",
  3870. url: msLink,
  3871. headers: {
  3872. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3873. 'Content-Type': 'application/x-www-form-urlencoded',
  3874. 'Referer': ""
  3875. },
  3876. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3877. onload: function (result)
  3878. {
  3879. var res = result.responseText;
  3880. if (res.match(/<div id="err">/))
  3881. {
  3882. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3883. }
  3884. else
  3885. {
  3886. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3887. }
  3888. }
  3889. });
  3890. }
  3891. });
  3892. }
  3893. } */
  3894. function hellshareBulkCheck()
  3895. {
  3896. var links = this.links;
  3897. GM_xmlhttpRequest(
  3898. {
  3899. method: "GET",
  3900. url: 'http://www.hellshare.com',
  3901. headers: {
  3902. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3903. 'Accept': 'text/xml',
  3904. 'Referer': ""
  3905. },
  3906. onload: function (result)
  3907. {
  3908. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3909.  
  3910. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3911. if (domain == 'sk')
  3912. loc = 'check=Skontrolova%C5%A5&links=';
  3913. if (domain == 'com')
  3914. loc = 'check=Check+availability&links=';
  3915. if (domain == 'hu')
  3916. loc = 'check=Kontrol%C3%A1lj&links=';
  3917. if (domain == 'pl')
  3918. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3919.  
  3920. genBulkCheck.call({ links: links,
  3921. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3922. postData: loc,
  3923. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3924. 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,
  3925. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3926. resUnavaRegex: null
  3927. });
  3928. }
  3929. });
  3930. }
  3931. /**
  3932. * Displays check result
  3933. * @param {Array} Array of links or link fragments.
  3934. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3935. */
  3936. function DisplayTheCheckedLinks(links, resultStatus)
  3937. {
  3938. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3939. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3940. if (Do_not_linkify_DL_links)
  3941. { //TODO into separate jQuery function
  3942. $links.replaceWith(function(){
  3943. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3944. });
  3945. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3946. }
  3947. $links.removeClass().addClass(resultStatus);
  3948. $links.each(function() {
  3949. this.href = Ref_anonymize_service + $(this).attr("href");
  3950. });
  3951. switch(resultStatus)
  3952. {
  3953. case "alive_link": cLinksAlive += $links.length;
  3954. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3955. break;
  3956. case "adead_link": cLinksDead += $links.length;
  3957. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3958. break;
  3959. case "prem_link": cLinksprem += $links.length;
  3960. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3961. break;
  3962. case "unava_link": cLinksUnava += $links.length; break;
  3963. default:
  3964. }
  3965. cLinksProcessed += $links.length;
  3966. }
  3967. }
  3968. // starts bulkchecking
  3969. //
  3970. // params
  3971. // filterId [string] restricts link detection with passed id attribute
  3972. function startBulkCheck(filterId)
  3973. {
  3974. var cHosts = bulkHosts.length;
  3975. if (cHosts == 0) //no filehostings selected
  3976. return;
  3977. // STEP 1 linkify the links
  3978. var linkifyRegex = '';
  3979. var hostIdx = cHosts;
  3980. while(hostIdx--)
  3981. {
  3982. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3983. }
  3984. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3985. linkify(linkifyRegex);
  3986. //
  3987. //STEP 2 detect link objects
  3988. var xpathAll = '';
  3989. var hostIdx = cHosts;
  3990. while(hostIdx--)
  3991. {
  3992. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3993. }
  3994. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3995. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3996. if (filterId != null) //insert id restriction in the xpath
  3997. {
  3998. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3999. }
  4000. else
  4001. {
  4002. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4003. }
  4004. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4005. if (filterId == null)
  4006. {
  4007. cLinksTotal += links.snapshotLength;
  4008. }
  4009. //
  4010. //STEP 3 bind links with hostings
  4011. var linkIdx = links.snapshotLength;
  4012. var href = null;
  4013. if (linkIdx == 0) // no links found
  4014. return;
  4015. var name;
  4016. while (linkIdx--)
  4017. {
  4018. href = links.snapshotItem(linkIdx).href;
  4019. try // DO NOT REMOVE, filters crap that went through xpath detection
  4020. {
  4021. name = gimmeHostName(href);
  4022. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4023. bulkHostNames[name].links.push(href);
  4024. }
  4025. catch(e)
  4026. {
  4027.  
  4028. }
  4029. }
  4030. //
  4031. //STEP 4 process the links for each filehosting
  4032. var hostIdx = cHosts;
  4033. var host;
  4034. var m,n;
  4035. var arr;
  4036. while (hostIdx--)
  4037. {
  4038. host = bulkHosts[hostIdx];
  4039. arr = host.links;
  4040. if (arr.length == 0) //no links for this hosting, skip
  4041. {
  4042. continue;
  4043. }
  4044. //links match corrections
  4045. if (host.corrMatch != null)
  4046. {
  4047. var idx = arr.length;
  4048. while (idx--)
  4049. {
  4050. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4051. }
  4052. }
  4053. //links replace corrections
  4054. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4055. {
  4056. var idx = arr.length;
  4057. while (idx--)
  4058. {
  4059. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4060. }
  4061. }
  4062. m = arr.length;
  4063. n = host.blockSize;
  4064. if (m > n)
  4065. {
  4066. //insert block separators (RAND_STRING) into the array
  4067. for(var i = n; i < m; i += n + 1)
  4068. {
  4069. arr.splice(i, 0, RAND_STRING);
  4070. }
  4071. }
  4072.  
  4073. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4074. apiUrl: host.apiUrl,
  4075. postData: host.postData,
  4076. resLinkRegex: host.resLinkRegex,
  4077. resLiveRegex: host.resLiveRegex,
  4078. resDeadRegex: host.resDeadRegex,
  4079. resUnavaRegex: host.resUnavaRegex
  4080. });
  4081. //clean up
  4082. arr.length = 0;
  4083. }
  4084. //
  4085.  
  4086. function gimmeHostName(link)
  4087. {
  4088. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4089. }
  4090. }
  4091. function checkLinks(filterId)
  4092. {
  4093. startBulkCheck(filterId);
  4094. start(filterId);
  4095. }
  4096.  
  4097. /**
  4098. * Initialises progress box including event binding and CSS
  4099. */
  4100. function initProgressBox()
  4101. {
  4102. if ($("#warlc-progressbox").length > 0)
  4103. return;
  4104. //progressbox css change size and color of progress box
  4105. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4106. "; opacity:" + (Progress_box_opacity / 100) +
  4107. "; bottom:" + Processbox_Pos_Y +
  4108. "%; left:" + Processbox_Pos_X +
  4109. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4110. \
  4111. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4112. \
  4113. .warlc-progressitem {}\
  4114. \
  4115. .alive {color:#00FF7F; " + Live_links_color +
  4116. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4117. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4118. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4119. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4120. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4121. //
  4122. if (Progressbox_Scaling != 100) {
  4123. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4124. progressboxCss = progressboxCss.replace(new RegExp(el + "(?!" + RAND_STRING + ")"), parseFloat(el) * Progressbox_Scaling/100 + "px" + RAND_STRING); //RAND_STRING to prevent the same value replaced twice
  4125. });
  4126. }
  4127. progressboxCss = progressboxCss.replace(new RegExp(RAND_STRING, "g"), "").replace("ToBeAddedLater", unava_link_png); //inserting the unava_link_png at the end because the function messes up its base64 string
  4128.  
  4129. GM_addStyle(progressboxCss);
  4130. $('body').append(' <div id="warlc-progressbox">\
  4131. <div class="warlc-progressbar"></div>\
  4132. <span class="warlc-progressitem alive"></span> - \
  4133. <span class="warlc-progressitem dead"></span> - \
  4134. <span class="warlc-progressitem unava"></span> - \
  4135. <span class="warlc-progressitem prem"></span> - \
  4136. <span class="warlc-progressitem processing"></span>\
  4137. </div>');
  4138. $('#warlc-progressbox').hide().click(function(){
  4139. clearInterval(intervalId);
  4140. $(this).hide();
  4141. return false;
  4142. });
  4143. $(".warlc-progressbar").progressbar({complete: function(){
  4144. $(this).fadeOut();
  4145. clearInterval(intervalId); //stop refreshing the stats
  4146. }
  4147. })
  4148. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4149. }
  4150. /**
  4151. * Updates progress data in progress box
  4152. */
  4153. function updateProgress()
  4154. {
  4155. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4156. if (cLinksTotal) // some links were detected on page
  4157. {
  4158. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4159. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4160. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4161. if ((cLinksTotal - cLinksProcessed) == 0)
  4162. {
  4163. $progressItems.first().text(cLinksAlive)
  4164. .next().text(cLinksDead)
  4165. .next().text(cLinksUnava)
  4166. .next().text(cLinksprem)
  4167. .next().remove();
  4168. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4169. $('#warlc-progressbox div:first-child').remove();
  4170. }
  4171. else
  4172. {
  4173. $progressItems.first().text(cLinksAlive)
  4174. .next().text(cLinksDead)
  4175. .next().text(cLinksUnava)
  4176. .next().text(cLinksprem)
  4177. .next().text(cLinksTotal - cLinksProcessed);
  4178. }
  4179. }
  4180. }
  4181.  
  4182. function check_all_links()
  4183. {
  4184. add_WARLC_style();
  4185.  
  4186. if (Show_progress_stats)
  4187. {
  4188. initProgressBox();
  4189. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4190. }
  4191.  
  4192. startBulkCheck(null);
  4193. start(null);
  4194.  
  4195. if (!containers_processed)
  4196. {
  4197. processContainers();
  4198. }
  4199. }
  4200.  
  4201. //Copies all found dead links to clipboard - right now for Scriptish only
  4202. function copy_dead_to_clipboard()
  4203. {
  4204. initClipBoardTools();
  4205.  
  4206. var deadlinksxpath = "//.[@class='adead_link']";
  4207.  
  4208. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4209. var foundlinkstext = '';
  4210.  
  4211. var foundlinkIdx = foundlinks.snapshotLength;
  4212.  
  4213. while(foundlinkIdx--)
  4214. {
  4215. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4216. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4217. }
  4218.  
  4219. GM_setClipboard(foundlinkstext);
  4220. }
  4221. //Copies all found live links to clipboard
  4222. function copy_live_to_clipboard()
  4223. {
  4224. initClipBoardTools();
  4225.  
  4226. var livelinksxpath = "//.[@class='alive_link']";
  4227.  
  4228. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4229. var foundlinks2text = '';
  4230.  
  4231. var foundlink2Idx = foundlinks2.snapshotLength;
  4232.  
  4233. while(foundlink2Idx--)
  4234. {
  4235. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4236. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4237. }
  4238.  
  4239. GM_setClipboard(foundlinks2text);
  4240. }
  4241.  
  4242. function toggle_autocheck()
  4243. {
  4244. var currentState = GM_getValue("Autocheck", false);
  4245. GM_setValue("Autocheck", !currentState);
  4246.  
  4247. if (currentState == true)
  4248. {
  4249. sendMessage('Autocheck disabled', 'red');
  4250. }
  4251. else
  4252. {
  4253. sendMessage('Autocheck enabled', 'SpringGreen');
  4254. }
  4255. }
  4256. function toggle_Enable_Anonymizer()
  4257. {
  4258. var currentState = GM_getValue("Enable_Anonymizer", false);
  4259. GM_setValue("Enable_Anonymizer", !currentState);
  4260.  
  4261. if (currentState == true)
  4262. {
  4263. GM_setValue("Ref_anonymize_service", "");
  4264. sendMessage('Anonymizer Disabled', 'red');
  4265. }
  4266. else
  4267. {
  4268. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4269. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4270. }
  4271. }
  4272.  
  4273. function KeyDownHandler(event)
  4274. {
  4275. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4276. if (event.ctrlKey && event.altKey)
  4277. {
  4278. switch(kcode)
  4279. {
  4280. case 65 : check_all_links(); break;
  4281. case 67 : configuration(); break;
  4282. case 68 : copy_dead_to_clipboard(); break;
  4283. case 76 : copy_live_to_clipboard(); break;
  4284. case 87 : toggle_autocheck(); break;
  4285. case 90 : toggle_Enable_Anonymizer(); break;
  4286. }
  4287. }
  4288. }
  4289.  
  4290. //
  4291. //
  4292. // SCRIPT EXECUTION START POINT
  4293. //
  4294. //
  4295. // Safari specific GM_getResourceText override
  4296. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4297. {
  4298. GM_getResourceText = function(res) {
  4299. var $cssText = GM_getValue("jquery_css", "");
  4300. if ($cssText == "")
  4301. {
  4302. GM_xmlhttpRequest(
  4303. {
  4304. method: 'GET',
  4305. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4306. onload: function (result)
  4307. {
  4308. GM_setValue("jquery_css", result.responseText);
  4309. window.location.reload();
  4310. }
  4311. });
  4312. }
  4313. else
  4314. {
  4315. return $cssText;
  4316. }
  4317. }
  4318. }
  4319. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4320. GM_addStyle(jQueryUICSS);
  4321. //init the stuff
  4322. setVariables();
  4323. initBulkCheck();
  4324. //init info boxes
  4325. messageBox.style.position = 'fixed';
  4326. messageBox.style.top = '20px';
  4327. messageBox.style.left = '10px';
  4328. messageBox.style.opacity = '0.85';
  4329. messageBox.style.background = 'DimGray';
  4330. messageBox.style.fontSize = '36px';
  4331. document.body.appendChild(messageBox);
  4332.  
  4333. //register GM menu commands & keyboard shortcut event handler
  4334. if (Keyboard_functions)
  4335. {
  4336. $(document).keydown(KeyDownHandler);
  4337. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4338. 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);
  4339. }
  4340. else
  4341. {
  4342. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4343. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4344. }
  4345.  
  4346. //start linkchecking
  4347. if (Autocheck)
  4348. {
  4349. $(document).ready(check_all_links);
  4350. }
  4351.  
  4352. //
  4353. //
  4354. // SCRIPT EXECUTION END POINT
  4355. //
  4356. //
  4357.  
  4358. //shows configuration box
  4359. function configuration()
  4360. {
  4361.  
  4362. //prevent multiple creating of config window
  4363. if ($("#hideshow").length)
  4364. {
  4365. $("#hideshow").show();
  4366. return;
  4367. }
  4368.  
  4369. var configcss = '\
  4370. .popup_block .popup fieldset{\
  4371. padding: 1%;\
  4372. border-style: solid;\
  4373. border-width: 1px;\
  4374. border-color: gray;\
  4375. margin-bottom: 1px;\
  4376. }\
  4377. #h3hideshowtitle{\
  4378. font-size: 2em;\
  4379. }\
  4380. #h3hideshow{\
  4381. font-size: 1.5em;\
  4382. }\
  4383. #imghideshow {\
  4384. border: none;\
  4385. }\
  4386. #plusimage{\
  4387. display:inline;\
  4388. }\
  4389. #hideshow {\
  4390. position: fixed;\
  4391. width: 100%;\
  4392. height: 100%;\
  4393. top: 0;\
  4394. left: 0;\
  4395. font-size:12px;\
  4396. z-index:2147483645;\
  4397. text-align:left;\
  4398. }\
  4399. #fade {\
  4400. background: #000;\
  4401. position: fixed;\
  4402. width: 100%;\
  4403. height: 100%;\
  4404. opacity: .80;\
  4405. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4406. left: 0;\
  4407. z-index: 10;\
  4408. }\
  4409. .popup_block {\
  4410. font-family:verdana;\
  4411. color:black;\
  4412. background: #ddd;\
  4413. padding: 10px 20px;\
  4414. border: 2px solid DarkOrange;\
  4415. float: left;\
  4416. width: 700px;\
  4417. position: absolute;\
  4418. top: 7%;\
  4419. left: 50%;\
  4420. bottom: 7%;\
  4421. margin: 0 0 0 -350px;\
  4422. -moz-border-radius:10px;\
  4423. z-index: 100;\
  4424. \
  4425. }\
  4426. .popup_block .popup {\
  4427. float: left;\
  4428. width: 100%;\
  4429. background: #fff;\
  4430. margin: 10px 0;\
  4431. padding: 0px 0 0px;\
  4432. border-left: 1px solid #bbb;\
  4433. border-top: 1px solid #bbb;\
  4434. border-right: 1px solid #bbb;\
  4435. }\
  4436. #h3hideshow{\
  4437. margin: 1px 0 0px;\
  4438. padding: 1px 10px;\
  4439. border-bottom: 1px solid #bbb;\
  4440. font-size: 1.5em;\
  4441. font-weight: normal;\
  4442. cursor:pointer;\
  4443. background:#DDDDDD none repeat scroll 0 0;\
  4444. }\
  4445. #h3hideshow:hover{\
  4446. background:#C0BEBE none repeat scroll 0 0;\
  4447. }\
  4448. #h3hideshowtitle{\
  4449. margin: 2px 0 0px;\
  4450. padding: 7px 10px;\
  4451. border-bottom: 1px solid #bbb;\
  4452. font-size: 1.5em;\
  4453. font-weight: normal;\
  4454. }\
  4455. .popup_block .popup a {\
  4456. color:DarkSkyBlue;\
  4457. text-decoration:none;\
  4458. }\
  4459. .popup p {\
  4460. padding: 1px 10px;\
  4461. margin: 0px 0;\
  4462. -x-system-font:none;\
  4463. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4464. font-size:10pt;\
  4465. font-size-adjust:none;\
  4466. font-stretch:normal;\
  4467. font-style:normal;\
  4468. font-variant:normal;\
  4469. font-weight:normal;\
  4470. line-height:normal;\
  4471. }\
  4472. #sites {\
  4473. padding: 1px 10px;\
  4474. margin: 0px 0;display:inline-block;width:16em;\
  4475. }\
  4476. #dev_ver {\
  4477. color: #00FF00;\
  4478. background: Black;\
  4479. text-align: right;\
  4480. }\
  4481. #sites_suspended {\
  4482. padding: 1px 10px;\
  4483. margin: 0px 0;display:inline-block;width:16em;\
  4484. text-decoration: line-through;\
  4485. }\
  4486. .popup img.cntrl {\
  4487. position: absolute;\
  4488. right: -15px;\
  4489. top: -15px;\
  4490. }\
  4491. #bulk {\
  4492. font-size:8pt;\
  4493. color:orange;\
  4494. padding: 1px 10px;\
  4495. margin: 0px 0;\
  4496. display:inline-block;\
  4497. width:100px;\
  4498. }\
  4499. #note {\
  4500. font-size:7pt;\
  4501. color:gray;\
  4502. padding: 1px 10px;\
  4503. margin: 0px 0;display:inline-block;\
  4504. min-width:100px;\
  4505. }\
  4506. #rednote {\
  4507. font-size:7pt;\
  4508. color:red;\
  4509. padding: 1px 10px;\
  4510. margin: 0px 0;display:inline-block;\
  4511. }\
  4512. #configinfo {\
  4513. font-size:8pt;\
  4514. color:gray;\
  4515. padding: 1px 10px;\
  4516. margin: 0px 0;display:inline-block;width:60em;\
  4517. }\
  4518. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4519. color:black;\
  4520. border-style: solid;\
  4521. border-width: 1px;\
  4522. border-color: gray;\
  4523. }\
  4524. #h3hideshowcontent {\
  4525. min-height:220px;\
  4526. max-height:220px;\
  4527. overflow:auto;\
  4528. display: none;\
  4529. padding: 10px 10px;\
  4530. }\
  4531. #specinfo{\
  4532. font-size:14px;\
  4533. }\
  4534. .warlc-ui-tab {\
  4535. height:300px;\
  4536. overflow:auto;\
  4537. }\
  4538. #warlcsitelist2, #warlcsitelist1 {\
  4539. height:220px;\
  4540. border-top: 1px solid #ddd;\
  4541. padding-top: 5px;\
  4542. overflow:auto;\
  4543. }\
  4544. input:hover+label {\
  4545. background:#F1F77C;\
  4546. font-size:110%;\
  4547. }\
  4548. ';
  4549.  
  4550. GM_addStyle(configcss);
  4551.  
  4552. var customRulesRefHTML =
  4553. '\
  4554. <br>\
  4555. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4556. <b>@keyword</b> <i>parameter</i>\
  4557. <br><br>\
  4558. 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. \
  4559. <br><br>\
  4560. 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.\
  4561. 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.\
  4562. 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.\
  4563. 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,\
  4564. but all commands until the next valid @customrule are ignored.<br><br>\
  4565. Available forms and types:\
  4566. <ul>\
  4567. <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.\
  4568. <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.\
  4569. <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.\
  4570. <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.\
  4571. </ul>\
  4572. Other available commands:<br>\
  4573. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4574. <ul>\
  4575. <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.\
  4576. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4577. <ul>examples:<br>\
  4578. <li>good: <i>filehost.com/download/</i><br>\
  4579. <li>good: <i>download.filehost.net/?d=</i><br>\
  4580. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4581. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4582. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4583. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4584. <li>bad: <i>filehost.com</i> - no slash<br>\
  4585. </ul>\
  4586. \
  4587. <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.\
  4588. 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 \
  4589. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4590. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4591. 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.)\
  4592. Two spaces again match any whitespace.\
  4593. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4594. Two spaces again match any whitespace.\
  4595. <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. \
  4596. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4597. </ul>\
  4598. \
  4599. ';
  4600.  
  4601. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4602. var configurationinnerHTML =
  4603. '<div id="fade"></div>\
  4604. <div class="popup_block">\
  4605. <div class="popup">\
  4606. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEWsp/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5RK8ctlKq6ZpH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iwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4608. <div id="warlc-conf-tabs">\
  4609. <ul>\
  4610. <li><a href="#tabs-1">Filehostings</a></li>\
  4611. <li><a href="#tabs-2">Containers</a></li>\
  4612. <li><a href="#tabs-5">Custom rules</a></li>\
  4613. <li><a href="#tabs-3">Settings</a></li>\
  4614. <li><a href="#tabs-4">About</a></li>\
  4615. </ul>\
  4616. <div id="tabs-1" class="warlc-ui-tab">\
  4617. <div class="warlc-ui-buttonset">\
  4618. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4619. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4620. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4621. </div><br>\
  4622. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4623. <div id="warlcsitelist1"><span>Empty</span></div>\
  4624. </div>\
  4625. <div id="tabs-2" class="warlc-ui-tab">\
  4626. <div class="warlc-ui-buttonset">\
  4627. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4628. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4629. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4630. </div><br>\
  4631. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4632. <div id="warlcsitelist2"><span>Empty</span></div>\
  4633. </div>\
  4634. <div id="tabs-5" class="warlc-ui-tab">\
  4635. <div class="warlcsettings">\
  4636. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4637. <br>\
  4638. <div>Edit custom rules: \
  4639. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4640. <div id="customRulesReference" style="display:none;">'
  4641. + customRulesRefHTML + '\
  4642. </div>\
  4643. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4644. </div>\
  4645. </div>\
  4646. </div>\
  4647. <div id="tabs-3" class="warlc-ui-tab">\
  4648. <div class="warlcsettings">\
  4649. <fieldset>\
  4650. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4651. <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>\
  4652. </fieldset>\
  4653. <fieldset>\
  4654. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4655. <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>\
  4656. <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>\
  4657. <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>\
  4658. <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>\
  4659. <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>\
  4660. <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>\
  4661. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4662. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4663. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4664. <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>\
  4665. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4666. <fieldset>\
  4667. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4668. <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>\
  4669. <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>\
  4670. <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>\
  4671. </fieldset>\
  4672. </fieldset>\
  4673. <fieldset>\
  4674. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4675. </fieldset>\
  4676. <fieldset>\
  4677. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4678. </fieldset>\
  4679. <fieldset>\
  4680. <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>\
  4681. </fieldset>\
  4682. <fieldset>\
  4683. <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>\
  4684. </fieldset>\
  4685. <fieldset>\
  4686. <legend>Progress box settings</legend>\
  4687. <p>Horizontal positioning of the progressbox: <input type="text" id="Processbox_Pos_X"><br><div id="configinfo">Note: Define this value in percentages starting from the left of the screen.</div></p>\
  4688. <p>Vertical positioning of the progressbox: <input type="text" id="Processbox_Pos_Y"><br><div id="configinfo">Note: Define this value in percentages starting from the bottom of the screen.</div></p>\
  4689. <p>Scaling of the progressbox: <input type="text" id="Progressbox_Scaling"><br><div id="configinfo">Resizes the progressbox. Define this value in percentages. 100% = full size, 200% = double size, 0% = Off</div></p>\
  4690. </fieldset>\
  4691. </div>\
  4692. </div>\
  4693. <div id="tabs-4" class="warlc-ui-tab">\
  4694. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4695. <br />\
  4696. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4697. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4698. <br />\
  4699. <p><b>Currently supported:</b><br>\
  4700. Filehostings: ' + allHostNames.length + '<br />\
  4701. Containers: ' + allContainerNames.length + '<br />\
  4702. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4703. <br />\
  4704. <p><b>Based on:</b><br>\
  4705. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4706. <br />\
  4707. <p><b>Uses:</b></p>\
  4708. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4709. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4710. <br />\
  4711. <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>\
  4712. </div>\
  4713. </div>\
  4714. </div>\
  4715. </div>';
  4716. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4717. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4718. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4719. var elmHostList = document.getElementById("warlcsitelist1");
  4720. var elmContainerList = document.getElementById("warlcsitelist2");
  4721. buildSettings();
  4722. buildSitelist("", allHostNames, elmHostList);
  4723. buildSitelist("", allContainerNames, elmContainerList);
  4724. if (DEBUG_MODE)
  4725. {
  4726. //log all sites availability status
  4727. diagSites();
  4728. }
  4729. //handler for checkbox state change
  4730. function changeConfiguration(e)
  4731. {
  4732. var element = e.target;
  4733.  
  4734. if (element.type == 'checkbox')
  4735. {
  4736. if (element.checked == 1)
  4737. {
  4738. GM_setValue(element.id, true);
  4739. }
  4740. else
  4741. {
  4742. GM_setValue(element.id, false);
  4743. }
  4744.  
  4745. }
  4746. setVariables();
  4747. }
  4748.  
  4749. //Selects all filehosting checkboxes
  4750. function selectAll()
  4751. {
  4752. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4753. .each(function(index, element){GM_setValue(this.id, true)});
  4754. }
  4755.  
  4756. //Deselects all filehosting checkboxes
  4757. function selectNone()
  4758. {
  4759. $(":checkbox:visible:checked").prop("checked",false)
  4760. .each(function(index, element){GM_setValue(this.id, false)});
  4761. }
  4762. //Sets Processbox position setting
  4763. function changeProgBox(event) {
  4764. var setting;
  4765. switch(event.data.set) {
  4766. case "X": setting = "Processbox_Pos_X"; break;
  4767. case "Y": setting = "Processbox_Pos_Y"; break;
  4768. case "Scale": setting = "Progressbox_Scaling"; break;
  4769. }
  4770. var $setting = $("#" + setting);
  4771. var newSet = $setting.val().replace("%", "");
  4772. GM_setValue(setting, newSet);
  4773. }
  4774. //Sets value of Processbox position
  4775. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4776. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4777. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4778.  
  4779. //Inverts filehosting checkboxes selection
  4780. function selectInvert()
  4781. {
  4782. var $checked = $(":checkbox:visible:checked");
  4783. var $unchecked = $(":checkbox:visible:not(:checked)");
  4784. $unchecked.prop("checked",true)
  4785. .each(function(index, element){GM_setValue(this.id, true)});
  4786. $checked.prop("checked",false)
  4787. .each(function(index, element){GM_setValue(this.id, false)});
  4788. }
  4789. //toggles anonymizer on off
  4790. function Enable_Anonymizer()
  4791. {
  4792. var $checked = $(":checkbox:visible:checked");
  4793. var $unchecked = $(":checkbox:visible:not(:checked)");
  4794. $unchecked.prop("checked",true)
  4795. .each(function(index, element){GM_setValue(this.id, true)});
  4796. $checked.prop("checked",false)
  4797. .each(function(index, element){GM_setValue(this.id, false)});
  4798. }
  4799.  
  4800. function changeRefAnonymizer(){
  4801. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4802. }
  4803.  
  4804. //Sets live links color
  4805. function changeColorLive()
  4806. {
  4807. var inColorLive = document.getElementById("inputColorLive");
  4808. inColorLive.style.background = inColorLive.value;
  4809. GM_setValue("Live_links_color", inColorLive.value);
  4810. }
  4811.  
  4812. //Sets dead links color
  4813. function changeColorDead()
  4814. {
  4815. var inColorDead = document.getElementById("inputColorDead");
  4816. inColorDead.style.background = inColorDead.value;
  4817. GM_setValue("Dead_links_color", inColorDead.value);
  4818. }
  4819.  
  4820. //Sets temp. unavailable links color
  4821. function changeColorTemp()
  4822. {
  4823. var inColorTemp = document.getElementById("inputColorTemp");
  4824. inColorTemp.style.background = inColorTemp.value;
  4825. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4826. }
  4827.  
  4828. //Sets temp. unavailable links color
  4829. function changeColorCont()
  4830. {
  4831. var inColorCont = document.getElementById("inputColorCont");
  4832. inColorCont.style.background = inColorCont.value;
  4833. GM_setValue("Container_links_color", inColorCont.value);
  4834. }
  4835. //Sets premium. links color
  4836. function changeColorprem()
  4837. {
  4838. var inColorprem = document.getElementById("inputColorprem");
  4839. inColorprem.style.background = inColorprem.value;
  4840. GM_setValue("Premium_links_color", inColorprem.value);
  4841. }
  4842.  
  4843. //Diagnose sites for availability
  4844. function diagSites()
  4845. {
  4846. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4847.  
  4848. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4849. {
  4850. if (boxes[i].type == "checkbox")
  4851. {
  4852. checkAvailability(boxes[i]);
  4853. }
  4854. }
  4855.  
  4856. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4857.  
  4858. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4859. {
  4860. if (boxes[i].type == "checkbox")
  4861. {
  4862. checkAvailability(boxes[i]);
  4863. }
  4864. }
  4865.  
  4866. function checkAvailability(cbElm)
  4867. {
  4868. var cb = cbElm;
  4869. GM_xmlhttpRequest(
  4870. {
  4871. method: 'HEAD',
  4872. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4873. headers: {
  4874. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4875. 'Accept': 'text/xml',
  4876. 'Referer': ""
  4877. },
  4878. onload: function (result)
  4879. {
  4880. if (result.status != 200)
  4881. {
  4882. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4883. }
  4884. },
  4885. onerror: function (result)
  4886. {
  4887. if (result.status != 200)
  4888. {
  4889. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4890. //Sets Progress_box position setting
  4891. function changeProgBox(event) {
  4892. var setting;
  4893. switch(event.data.set) {
  4894. case "X": setting = "Progress_box_Pos_X"; break;
  4895. case "Y": setting = "Progress_box_Pos_Y"; break;
  4896. case "Scale": setting = "Progress_box_Scaling"; break;
  4897. }
  4898.  
  4899. var $setting = $("#" + setting);
  4900. var newSet = $setting.val().replace("%", "");
  4901. lsSetVal("general", setting, newSet);
  4902. }
  4903.  
  4904. //Sets value of Progress_box position
  4905. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4906. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4907. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4908. }
  4909. }
  4910. });
  4911. }
  4912. }
  4913. function buildSettings()
  4914. {
  4915. $(".warlcsettings :checkbox").each(function(){
  4916. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4917. .click(function(e){
  4918. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4919. setVariables();
  4920. });
  4921. })
  4922. }
  4923. //Dynamic build of host list
  4924. //param search [string] searches for hostnames matching search substring
  4925. //param siteNames [array] array of site names
  4926. //param targetNode [DOM Node] where the list should be built
  4927. // first child node is replaced
  4928. function buildSitelist(search, siteNames, targetNode)
  4929. {
  4930. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4931. var $targetNode = $(targetNode).empty();
  4932. var searchedSite = "";
  4933. $.each(siteNames, function(i, site){
  4934. if (searchedSite = site.match(searchRegex))
  4935. {
  4936. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4937. //ensuring backward compatibility with the rest of code, to be refactored later
  4938. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4939. //
  4940. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4941. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4942. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4943. );
  4944. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4945. .change(changeConfiguration);
  4946. $targetNode.append('<br />');
  4947. }
  4948. });
  4949. $targetNode.append("<hr>");
  4950. //obsolete hosts checkbox
  4951. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4952. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4953. .change(changeConfiguration);
  4954. $targetNode.append('<br />');
  4955. var foundName = "";
  4956. $.each(allObsoleteNames, function(i, site){
  4957. if (foundName = allObsoleteNames[i].match(searchRegex))
  4958. {
  4959. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4960. }
  4961. })
  4962. }
  4963. var hostSearchBox = document.getElementById("hostSearchBox");
  4964. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4965. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4966. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4967. $(".warlc-ui-select-all").click(selectAll).button();
  4968. $(".warlc-ui-select-none").click(selectNone).button();
  4969. $(".warlc-ui-select-invert").click(selectInvert).button();
  4970. $(".warlc-ui-buttonset").buttonset();
  4971. var inColorLive = document.getElementById("inputColorLive");
  4972. inColorLive.addEventListener('keyup', changeColorLive, false);
  4973.  
  4974. var inColorDead = document.getElementById("inputColorDead");
  4975. inColorDead.addEventListener('keyup', changeColorDead, false);
  4976.  
  4977. var inColorTemp = document.getElementById("inputColorTemp");
  4978. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4979.  
  4980. var inColorCont = document.getElementById("inputColorCont");
  4981. inColorCont.addEventListener('keyup', changeColorCont, false);
  4982. var inColorprem = document.getElementById("inputColorprem");
  4983. inColorprem.addEventListener('keyup', changeColorprem, false);
  4984. $("#refAnonymizer").change(changeRefAnonymizer);
  4985. //buttons and edit boxes init end
  4986.  
  4987. //icon sets radio buttons
  4988. var radioButtons = document.getElementsByName("warlciconset");
  4989. radioButtons[Icon_set].checked = "checked";
  4990.  
  4991. radioButtons[0].addEventListener("change", updateIconSet);
  4992. radioButtons[1].addEventListener("change", updateIconSet);
  4993. radioButtons[2].addEventListener("change", updateIconSet);
  4994. radioButtons[3].addEventListener("change", updateIconSet);
  4995. function updateIconSet()
  4996. {
  4997. GM_setValue("Icon_set", this.value * 1);
  4998. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  4999. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5000. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5001. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5002. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5003.  
  5004. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5005. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5006.  
  5007. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5008. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5009. }
  5010. //
  5011. $('#showCustomRulesReference').click(function(e){
  5012. e.preventDefault();
  5013. $('#customRulesReference').toggle();
  5014. });
  5015. $('#Custom_rules_text')
  5016. .val(Custom_rules_text)
  5017. .change(saveCustomRules);
  5018. function saveCustomRules(e)
  5019. {
  5020. var cr = parseCustomRules(this.value);
  5021. if (cr.info.length)
  5022. 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, ' '));
  5023. GM_setValue('Custom_rules_text', this.value);
  5024. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5025. }
  5026. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5027. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5028. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5029. }
  5030.  
  5031. //begin standard link checking algorithm
  5032. function start(filterId)
  5033. {
  5034. var doNotLinkify = Do_not_linkify_DL_links;
  5035.  
  5036. // USER SELECTED FILE HOSTS INITIALIZATION START
  5037. var http_file_hosts = new Array(); //standard hostings
  5038. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5039. var http_file_hosts_obsolete = new Array(); //dead hostings
  5040. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5041.  
  5042. initFileHosts();
  5043. initFileHostsHeadersOnly();
  5044. initFileHostsCustom(); //CustomRules
  5045. // USER SELECTED FILE HOSTS INITIALIZATION END
  5046.  
  5047. // LINKIFICATION START
  5048. var totalxpath = '';
  5049. var totalxpathcoded = '';
  5050. var totalxpathobsolete = '';
  5051. var totalxpathheadersonly = '';
  5052. var totalourls = '';
  5053.  
  5054. var filehostLen = http_file_hosts.length;
  5055. var filehostCodedLen = http_file_hosts_coded.length;
  5056. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5057. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5058.  
  5059. var filehostIdx = filehostLen;
  5060. var filehostCodedIdx = filehostCodedLen;
  5061. var filehostObsoleteIdx = filehostObsoleteLen;
  5062. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5063.  
  5064. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5065. return;
  5066.  
  5067. while (filehostIdx--)
  5068. {
  5069. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5070. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5071. }
  5072.  
  5073. while (filehostCodedIdx--)
  5074. {
  5075. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5076. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5077. }
  5078.  
  5079. while (filehostObsoleteIdx--)
  5080. {
  5081. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5082. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5083. }
  5084.  
  5085. while (filehostHeadersOnlyIdx--)
  5086. {
  5087. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5088. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5089. }
  5090.  
  5091. totalourls = totalourls.replace(/\|$/g, "");
  5092. //TODO: further refactoring needed
  5093. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5094. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5095. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5096. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5097. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5098. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5099. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5100. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5101. if (filterId != null) //insert id restriction in the xpath
  5102. {
  5103. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5104. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5105. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5106. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5107. }
  5108. else
  5109. {
  5110. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5111. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5112. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5113. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5114. }
  5115. linkify(totalourls);
  5116. //LINKIFICATION END
  5117. //ENCRYPTED LINKS PROCESSING START
  5118. if (http_file_hosts_coded.length > 0)
  5119. {
  5120. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5121.  
  5122. // decrypt coded links (redirects, link protectors etc.)
  5123. if (linksCoded.snapshotLength > 0)
  5124. {
  5125. var link;
  5126. var reallinkreg;
  5127. var reallinkcorrection;
  5128.  
  5129. if (filterId == null)
  5130. {
  5131. cLinksTotal += linksCoded.snapshotLength;
  5132. }
  5133.  
  5134. var y = linksCoded.snapshotLength - 1;
  5135. do
  5136. {
  5137. // linksCoded.snapshotItem(y).id = 'processing_link';
  5138. link = linksCoded.snapshotItem(y);
  5139. filehostIdx = filehostCodedLen;
  5140. while (filehostIdx--)
  5141. {
  5142. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5143. {
  5144. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5145. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5146. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5147.  
  5148. decurl(link, reallinkreg, reallinkcorrection);
  5149. break;
  5150. }
  5151. }
  5152. }
  5153. while (y--);
  5154. }
  5155. }
  5156. //ENCRYPTED LINKS PROCESSING END
  5157.  
  5158. //STANDARD LINKCHECKING START
  5159. if (http_file_hosts.length > 0)
  5160. {
  5161. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5162.  
  5163. if (filterId == null)
  5164. {
  5165. cLinksTotal += lianks.snapshotLength;
  5166. }
  5167.  
  5168. if (lianks.snapshotLength > 0)
  5169. {
  5170. var link;
  5171.  
  5172. var URL = "";
  5173. var name = "";
  5174. var isAliveRegex = "";
  5175. var isDeadRegex = "";
  5176. var isUnavaRegex = "";
  5177. var ispremRegex = "";
  5178. var tryLoop = false;
  5179.  
  5180. var y = lianks.snapshotLength;
  5181.  
  5182. while (y--)
  5183. {
  5184. link = lianks.snapshotItem(y);
  5185.  
  5186. filehostIdx = filehostLen;
  5187. while (filehostIdx--)
  5188. {
  5189. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5190. {
  5191. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5192. isAliveRegex = http_file_hosts[filehostIdx][1];
  5193. isDeadRegex = http_file_hosts[filehostIdx][2];
  5194. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5195. ispremRegex = http_file_hosts[filehostIdx][6];
  5196. tryLoop = http_file_hosts[filehostIdx][5];
  5197.  
  5198. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5199.  
  5200. break;
  5201. }
  5202. }
  5203. }
  5204. }
  5205. }
  5206. //STANDARD LINKCHECKING END
  5207. //OBSOLETE FILE HOSTS PROCESSING START
  5208. if (filehostObsoleteLen > 0)
  5209. {
  5210. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5211.  
  5212. var obsoleteLink;
  5213.  
  5214. //check links
  5215. if (obsoletelinks.snapshotLength > 0)
  5216. {
  5217. var y = obsoletelinks.snapshotLength;
  5218.  
  5219. if (filterId == null)
  5220. {
  5221. cLinksTotal += y;
  5222. }
  5223.  
  5224. while (y--)
  5225. {
  5226. obsoleteLink = obsoletelinks.snapshotItem(y);
  5227.  
  5228. if (Display_tooltip_info)
  5229. {
  5230. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5231. }
  5232. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5233. }
  5234. }
  5235. }
  5236. //OBSOLETE FILE HOSTS PROCESSING END
  5237.  
  5238. //DIRECT LINKCHECKING START
  5239. if (http_file_hosts_headers_only.length > 0)
  5240. {
  5241. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5242.  
  5243. //check links
  5244. if (links.snapshotLength > 0)
  5245. {
  5246. var link;
  5247. var isAliveRegex;
  5248. var isDeadRegex;
  5249. var ispremRegex;
  5250.  
  5251. var y = links.snapshotLength;
  5252.  
  5253.  
  5254. if (filterId == null)
  5255. {
  5256. cLinksTotal += y;
  5257. }
  5258.  
  5259. while (y--)
  5260. {
  5261. // links.snapshotItem(y).id = 'processing_link';
  5262. link = links.snapshotItem(y);
  5263. filehostIdx = filehostHeadersOnlyLen;
  5264. while (filehostIdx--)
  5265. {
  5266. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5267. {
  5268. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5269. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5270. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5271. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5272.  
  5273. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5274.  
  5275. break;
  5276. }
  5277. }
  5278. }
  5279.  
  5280. }
  5281. }
  5282. //DIRECT LINKCHECKING END
  5283.  
  5284.  
  5285. //finds the real url on the page, replaces link.href with it and calls geturl
  5286. function decurl(link, reallinkreg, reallinkcorrection)
  5287. {
  5288.  
  5289. GM_xmlhttpRequest(
  5290. {
  5291. method: 'GET',
  5292. url: link.href,
  5293. headers: {
  5294. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5295. 'Accept': 'text/xml',
  5296. 'Referer': ""
  5297. },
  5298. onload: function (result)
  5299. {
  5300. // cLinksProcessed++;
  5301.  
  5302. var reallink = result.responseText.match(reallinkreg)[0];
  5303. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5304.  
  5305. link.href = reallink;
  5306.  
  5307. var i = http_file_hosts.length - 1;
  5308. do
  5309. {
  5310. if ((reallink.match(http_file_hosts[i][0])))
  5311. {
  5312. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5313. var isAliveRegex = http_file_hosts[i][1];
  5314. var isDeadRegex = http_file_hosts[i][2];
  5315. var isUnavaRegex = http_file_hosts[i][3];
  5316. var ispremRegex = http_file_hosts[i][4];
  5317.  
  5318. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5319.  
  5320. break;
  5321. }
  5322. }
  5323. while (i--);
  5324. }
  5325. });
  5326. }
  5327.  
  5328. function randUA()
  5329. {
  5330. //TODO
  5331. }
  5332. //Processes link
  5333. //
  5334. // [string] link link URL
  5335. // [string] isAliveRegex alive link regex
  5336. // [string] isDeadRegex dead link regex
  5337. // [string] isUnavaRegex unavailable link regex
  5338. // [string] ispremRegex premium link regex
  5339. // [boolean] tryLoop repeats request until succeeded
  5340. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5341. {
  5342. GM_xmlhttpRequest(
  5343. {
  5344. method: 'GET',
  5345. url: link.href,
  5346. headers: {
  5347. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5348. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5349. 'Referer': ""
  5350. },
  5351. onload: function (result)
  5352. {
  5353. var res = result.responseText;
  5354. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5355. {
  5356. displayTheCheckedLink(link, 'alive_link');
  5357. return;
  5358. }
  5359.  
  5360. if (res.match(isAliveRegex))
  5361. {
  5362. displayTheCheckedLink(link, 'alive_link');
  5363. return;
  5364. }
  5365.  
  5366. if (res.match(isDeadRegex))
  5367. {
  5368. displayTheCheckedLink(link, 'adead_link');
  5369. return;
  5370. }
  5371.  
  5372. if (isUnavaRegex && res.match(isUnavaRegex))
  5373. {
  5374. displayTheCheckedLink(link, 'unava_link');
  5375. return;
  5376. }
  5377. if (res.match(ispremRegex))
  5378. {
  5379. displayTheCheckedLink(link, 'prem_link');
  5380. return;
  5381. }
  5382.  
  5383. var resStatus = result.status;
  5384.  
  5385. if (resStatus == 404)
  5386. {
  5387. displayTheCheckedLink(link, 'adead_link');
  5388. }
  5389. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5390. {
  5391. if (tryLoop)
  5392. {
  5393. //wait 1-5 seconds and repeat the request
  5394. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5395. }
  5396. else
  5397. {
  5398. displayTheCheckedLink(link, 'unava_link');
  5399. }
  5400.  
  5401. return;
  5402. }
  5403. },
  5404. onerror: function ()
  5405. {
  5406. displayTheCheckedLink(link, 'unava_link');
  5407. }
  5408. });
  5409. }
  5410.  
  5411. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5412. {
  5413. GM_xmlhttpRequest(
  5414. {
  5415. method: 'HEAD',
  5416. url: link.href,
  5417. headers: {
  5418. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5419. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5420. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5421. 'Referer': ""
  5422. },
  5423. onload: function (result)
  5424. {
  5425. var resStatus = result.status;
  5426. var resHeaders = "";
  5427. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5428. {
  5429. displayTheCheckedLink(link, 'adead_link');
  5430. return;
  5431. }
  5432.  
  5433. resHeaders = result.responseHeaders;
  5434.  
  5435. if (resHeaders.match(isDeadRegex))
  5436. {
  5437. displayTheCheckedLink(link, 'adead_link');
  5438. return;
  5439. }
  5440.  
  5441. if (resHeaders.match(isAliveRegex))
  5442. {
  5443. displayTheCheckedLink(link, 'alive_link');
  5444. return;
  5445. }
  5446. if (resHeaders.match(ispremRegex))
  5447. {
  5448. displayTheCheckedLink(link, 'prem_link');
  5449. return;
  5450. }
  5451. },
  5452. onerror: function ()
  5453. {
  5454. displayTheCheckedLink(link, 'unava_link');
  5455. }
  5456. });
  5457. }
  5458.  
  5459. //Delinkfifies the <a> element object
  5460. function delinkifyLink(link)
  5461. {
  5462. var spanElm = document.createElement("span");
  5463. spanElm.className = link.className;
  5464. spanElm.innerHTML = link.innerHTML;
  5465.  
  5466. if (Display_tooltip_info)
  5467. {
  5468. spanElm.href = link.href;
  5469. spanElm.warlc_error = link.warlc_error;
  5470. switch (link.className){
  5471. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5472. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5473. case "unava_link": //reserved
  5474. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5475. default:
  5476. }
  5477. }
  5478. link.parentNode.replaceChild(spanElm, link);
  5479. }
  5480.  
  5481. //Assigns result status to the <a> element object and calls delinkifying eventually
  5482. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5483. function displayTheCheckedLink(link, resultStatus)
  5484. {
  5485. link.className = resultStatus;
  5486. link.href = Ref_anonymize_service + link.href;
  5487. if (Display_tooltip_info)
  5488. {
  5489. switch (resultStatus){
  5490. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5491. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5492. case "unava_link": //reserved
  5493. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5494. default:
  5495. }
  5496. }
  5497. if (doNotLinkify)
  5498. {
  5499. delinkifyLink(link);
  5500. }
  5501. cLinksProcessed++;
  5502.  
  5503. if (resultStatus == "alive_link")
  5504. {
  5505. cLinksAlive++;
  5506. return;
  5507. }
  5508.  
  5509. if (resultStatus == "adead_link")
  5510. {
  5511. cLinksDead++;
  5512. return;
  5513. }
  5514.  
  5515. if (resultStatus == "unava_link")
  5516. {
  5517. cLinksUnava++;
  5518. }
  5519. if (resultStatus == "prem_link")
  5520. {
  5521. cLinksprem++;
  5522. return;
  5523. }
  5524. }
  5525.  
  5526.  
  5527. function initFileHosts()
  5528. {
  5529.  
  5530. function addObsoleteHost(linkRegex, xpathEx)
  5531. {
  5532. var host = new Array(2);
  5533. host[0] = linkRegex;
  5534. host[1] = xpathEx;
  5535. http_file_hosts_obsolete.push(host);
  5536. }
  5537.  
  5538. //obsolete file hosts init start
  5539. if (Obsolete_file_hosts)
  5540. {
  5541. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5542. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5543. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5544. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5545. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5546. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5547. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5548. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5549. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5550. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5551. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5552. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5553. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5554. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5555. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5556. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5557. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5558. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5559. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5560. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5561. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5562. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5563. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5564. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5565. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5566. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5567. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5568. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5569. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5570. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5571. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5572. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5573. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5574. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5575. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5576. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5577. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5578. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5579. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5580. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5581. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5582. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5583. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5584. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5585. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5586. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5587. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5588. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5589. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5590. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5591. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5592. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5593. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5594. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5595. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5596. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5597. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5598. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5599. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5600. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5601. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5602. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5603. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5604. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5605. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5606. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5607. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5608. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5609. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5610. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5611. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5612. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5613. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5614. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5615. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5616. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5617. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5618. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5619. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5620. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5621. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5622. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5623. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5624. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5625. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5626. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5627. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5628. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5629. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5630. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5631. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5632. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5633. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5634. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5635. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5636. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5637. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5638. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5639. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5640. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5641. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5642. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5643. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5644. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5645. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5646. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5647. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5648. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5649. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5650. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5651. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5652. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5653. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5654. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5655. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5656. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5657. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5658. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5659. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5660. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5661. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5662. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5663. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5664. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5665. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5666. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5667. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5668. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5669. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5670. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5671. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5672. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5673. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5674. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5675. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5676. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5677. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5678. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5679. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5680. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5681. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5682. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5683. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5684. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5685. 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')]");
  5686. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5687. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5688. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5689. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5690. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5691. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5692. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5693. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5694. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5695. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5696. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5697. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5698. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5699. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5700. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5701. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5702. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5703. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5704. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5705. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5706. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5707. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5708. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5709. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5710. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5711. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5712. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5713. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5714. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5715. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5716. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5717. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5718. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5719. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5720. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5721. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5722. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5723. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5724. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5725. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5726. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5727. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5728. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5729. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5730. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5731. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5732. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5733. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5734. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5735. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5736. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5737. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5738. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5739. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5740. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5741. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5742. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5743. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5744. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5745. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5746. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5747. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5748. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5749. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5750. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5751. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5752. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5753. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5754. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5755. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5756. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5757. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5758. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5759. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5760. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5761. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5762. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5763. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5764. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5765. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5766. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5767. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5768. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5769. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5770. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5771. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5772. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5773. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5774. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5775. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5776. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5777. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5778. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5779. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5780. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5781. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5782. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5783. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5784. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5785. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5786. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5787. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5788. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5789. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5790. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5791. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5792. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5793. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5794. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5795. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5796. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5797. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5798. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5799. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5800. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5801. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5802. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5803. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5804. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5805. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5806. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5807. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5808. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5809. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5810. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5811. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5812. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5813. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5814. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5815. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5816. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5817. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5818. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5819. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5820. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5821. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5822. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5823. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5824. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5825. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5826. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5827. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5828. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5829. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5830. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5831. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5832. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5833. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5834. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5835. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5836. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5837. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5838. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5839. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5840. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5841. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5842. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5843. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5844. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5845. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5846. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5847. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5848. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5849. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5850. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5851. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5852. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5853. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5854. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5855. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5856. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5857. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5858. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5859. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5860. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5861. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5862. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5863. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5864. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5865. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5866. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5867. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5868. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5869. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5870. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5871. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5872. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5873. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5874. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5875. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5876. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5877. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5878. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5879. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5880. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5881. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5882. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5883. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5884. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5885. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5886. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5887. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5888. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5889. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5890. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5891. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5892. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5893. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5894. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5895. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5896. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5897. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5898. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5899. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5900. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5901. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5902. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5903. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5904. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5905. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5906. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5907. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5908. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5909. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5910. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5911. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5912. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5913. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5914. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5915. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5916. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5917. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5918. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5919. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5920. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5921. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5922. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5923. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5924. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5925. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5926. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5927. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5928. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5929. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5930. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5931. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5932. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5933. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5934. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5935. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5936. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5937. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5938. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5939. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5940. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5941. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5942. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5943. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5944. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5945. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5946. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5947. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5948. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5949. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5950. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5951. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5952. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5953. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5954. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5955. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5956. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5957. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5958. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5959. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5960. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5961. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5962. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5963. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5964. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5965. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5966. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5967. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5968. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5969. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5970. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5971. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5972. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5973. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5974. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5975. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5976. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5977. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5978. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5979. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5980. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5981. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5982. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5983. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5984. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5985. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5986. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5987. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5988. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5989. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5990. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5991. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5992. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5993. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5994. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5995. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5996. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5997. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5998. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5999. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6000. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6001. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6002. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6003. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6004. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6005. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6006. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6007. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6008. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6009. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6010. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6011. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6012. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6013. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6014. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6015. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6016. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6017. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6018. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6019. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6020. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6021. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6022. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6023. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6024. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6025. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6026. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6027. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6028. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6029. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6030. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6031. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6032. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6033. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6034. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6035. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6036. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6037. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6038. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6039. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6040. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6041. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6042. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6043. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6044. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6045. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6046. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6047. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6048. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6049. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6050. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6051. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6052. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6053. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6054. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6055. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6056. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6057. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6058. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6059. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6060. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6061. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6062. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6063. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6064. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6065. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6066. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6067. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6068. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6069. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6070. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6071. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6072. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6073. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6074. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6075. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6076. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6077. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6078. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6079. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6080. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6081. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6082. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6083. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6084. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6085. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6086. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6087.  
  6088. // obsolete start start2
  6089. }
  6090. //obsolete file hosts init end
  6091. //Add Host Example
  6092. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6093. {
  6094. addFileHost(
  6095. "datafile\.com\/\\w+",
  6096. 'var captchaPanel|<link href="/css/files_download.css"',
  6097. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6098. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6099. '<style type="text/css">',
  6100. "//a[contains(@href,'datafile.com')]",
  6101. true);
  6102. } */
  6103.  
  6104. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6105. {
  6106. var host = new Array(7);
  6107. host[0] = linkRegex;
  6108. host[1] = isAliveRegex;
  6109. host[2] = isDeadRegex;
  6110. host[3] = isUnavaRegex;
  6111. host[6] = ispremRegex;
  6112. host[4] = xpathEx;
  6113. tryLoop ? host[5] = true : host[5] = false;
  6114. http_file_hosts.push(host);
  6115. }
  6116. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6117. {
  6118. addFileHost(
  6119. "megafileupload\.com\/..\/file\/",
  6120. 'downloadbtn',
  6121. 'is not found',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'megafileupload.com')]");
  6125. }
  6126. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6127. {
  6128. addFileHost(
  6129. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6130. 'download\\.gif"',
  6131. 'p_point">',
  6132. 'optional--',
  6133. 'optional2--',
  6134. "//a[contains(@href,'demo.ovh.eu')]");
  6135. }*/
  6136. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6137. {
  6138. addFileHost(
  6139. "safelinking\\.net\/p\/\\w+",
  6140. 'color:green;"',
  6141. 'color:(?:red|orange);"',
  6142. 'color:(?:grey|brown);"',
  6143. 'optional2--',
  6144. "//a[contains(@href,'safelinking.net/p/')]",
  6145. true);
  6146. }
  6147. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6148. {
  6149. addFileHost(
  6150. "fastshare\\.cz\/\\d+\/\\w*",
  6151. 'dwntable">|speed-low',
  6152. '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',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'fastshare.cz')]");
  6156. }
  6157. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6158. {
  6159. addFileHost(
  6160. "[fF]ast[sS]hare\\.org\/download",
  6161. 'Download ">',
  6162. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6163. 'optional--',
  6164. 'optional2--',
  6165. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6166. }
  6167. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6168. {
  6169. addFileHost(
  6170. "rapidgator\\.net\/file\/\\w+",
  6171. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6172. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6173. 'optional--',
  6174. 'can be downloaded by premium only|la taille maximale des fichiers téléchargeables est de 1 GB|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito',
  6175. "//a[contains(@href,'rapidgator.net/file')]",
  6176. true
  6177. );
  6178. }
  6179. if (GM_getValue("Check_rg_dot_to_links", false))
  6180. {
  6181. addFileHost(
  6182. "rg\.to\/\\w+",
  6183. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6184. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6185. 'optional--',
  6186. 'can be downloaded by premium only|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6187. "//a[contains(@href,'rg.to')]");
  6188. }
  6189. if (GM_getValue("Check_relink_dot_us_links", false))
  6190. {
  6191. addFileHost(
  6192. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6193. 'online_detail\\.png" alt="Status',
  6194. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6195. 'unknown_detail\\.png" alt="Status',
  6196. 'optional2--',
  6197. "//a[contains(@href,'relink.us/')]"
  6198. );
  6199. }
  6200. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6201. {
  6202. addFileHost(
  6203. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6204. 'div id="dl"',
  6205. 'Sie haben den Link falsch',
  6206. 'optional--',
  6207. 'optional2--',
  6208. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6212. {
  6213. addFileHost(
  6214. "flyfiles\\.net\/\\w+",
  6215. 'download_button"|"Download file"',
  6216. 'File not found!|Файл не найден',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'flyfiles.net/')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "wikiupload\\.com\/\\w+",
  6226. 'download-button">',
  6227. 'Sorry, File not found',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'wikiupload.com/')]"
  6231. );
  6232. }
  6233. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6234. {
  6235. addFileHost(
  6236. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6237. 'file\\.php">|Pobierz Plik',
  6238. 'Podany plik nie zosta',
  6239. 'optional--',
  6240. 'optional2--',
  6241. "//a[contains(@href,'hostuje.net/file')]"
  6242. );
  6243. }
  6244. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6245. {
  6246. addFileHost(
  6247. "gettyfile\\.ru\/\\d+",
  6248. 'download\\.gif border',
  6249. '<center><font size="3">',
  6250. 'optional--',
  6251. 'optional2--',
  6252. "//a[contains(@href,'gettyfile.ru/')]"
  6253. );
  6254. }
  6255. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6256. {
  6257. addFileHost(
  6258. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6259. 'download\\-file">',
  6260. 'col-1">\\s*<h1>',
  6261. 'optional--',
  6262. 'optional2--',
  6263. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6264. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6265. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6266. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6267. );
  6268. }
  6269. if (GM_getValue("Check_data_dot_hu_links", false))
  6270. {
  6271. addFileHost(
  6272. "data\\.hu",
  6273. 'download_box_button|Lassú letöltés',
  6274. 'missing\\.php|Az adott fájl nem létezik',
  6275. 'optional--',
  6276. 'optional2--',
  6277. "//a[contains(@href,'data.hu')]",
  6278. true
  6279. );
  6280. }
  6281. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6282. {
  6283. addFileHost(
  6284. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6285. 'premiumBtn"',
  6286. 'errorMessage"',
  6287. 'optional--',
  6288. 'optional2--',
  6289. "//a[contains(@href,'indowebster.com/download')]"
  6290. );
  6291. }
  6292. if (GM_getValue("Check_superload_dot_cz_links", false))
  6293. {
  6294. addFileHost(
  6295. "superload\\.cz\/dl\/\\w+",
  6296. 'icon-download">',
  6297. 'soubor nebyl nalezen',
  6298. 'optional--',
  6299. 'optional2--',
  6300. "//a[contains(@href,'superload.cz/dl')]"
  6301. );
  6302. }
  6303. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6304. {
  6305. addFileHost(
  6306. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6307. 'op" value="download',
  6308. 'class="err">|width:500px;text-align:left;">',
  6309. 'optional--',
  6310. 'optional2--',
  6311. "//a[contains(@href,'hulkfile.')]"
  6312. );
  6313. }
  6314. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6315. {
  6316. addFileHost(
  6317. "easybytez\\.com\/\\w+",
  6318. 'op" value="download',
  6319. 'stop_error\\.gif',
  6320. 'optional--',
  6321. 'optional2--',
  6322. "//a[contains(@href,'easybytez.com/')]"
  6323. );
  6324. }
  6325. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6326. {
  6327. addFileHost(
  6328. "filestore\\.com\\.ua\/\\?d=\\w+",
  6329. 'tdrow1>',
  6330. 'class=warn',
  6331. 'optional--',
  6332. 'optional2--',
  6333. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6334. );
  6335. }
  6336. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6337. {
  6338. addFileHost(
  6339. "openfile\\.ru\/(?:video\/|)\\d+",
  6340. 'videobox_left">',
  6341. 'blog_title">|not found on this server',
  6342. 'optional--',
  6343. 'optional2--',
  6344. "//a[contains(@href,'openfile.ru/')]"
  6345. );
  6346. }*/
  6347. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6348. {
  6349. addFileHost(
  6350. "extmatrix\\.com\/files\/\\w+",
  6351. 'div class="success"',
  6352. 'div class="error"',
  6353. 'optional--',
  6354. 'optional2--',
  6355. "//a[contains(@href,'extmatrix.com/files')]"
  6356. );
  6357. }
  6358. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6359. {
  6360. addFileHost(
  6361. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6362. 'content_lnkDownload',
  6363. 'error\\.aspx\\?',
  6364. 'optional--',
  6365. 'optional2--',
  6366. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6367. );
  6368. }
  6369. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6370. {
  6371. addFileHost(
  6372. "yourfilestore\\.com\/download\/\\d+\/",
  6373. 'download_data">',
  6374. 'may have been deleted|<h1>Sorry!<\/h1>',
  6375. 'optional--',
  6376. 'optional2--',
  6377. "//a[contains(@href,'yourfilestore.com/download')]"
  6378. );
  6379. }
  6380. if (GM_getValue("Check_filebig_dot_net_links", false))
  6381. {
  6382. addFileHost(
  6383. "filebig\\.net\/files\/\\w+",
  6384. 'downloadFile">',
  6385. '<p>File not found<\/p>',
  6386. 'optional--',
  6387. 'optional2--',
  6388. "//a[contains(@href,'filebig.net/files')]"
  6389. );
  6390. }
  6391. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6392. {
  6393. addFileHost(
  6394. "files\\.filefront\\.com\/\/;\\d+;;",
  6395. 'downloadLink">',
  6396. 'File not found, you',
  6397. 'optional--',
  6398. 'optional2--',
  6399. "//a[contains(@href,'files.filefront.com')]"
  6400. );
  6401.  
  6402. addFileHost(
  6403. "gamefront\\.com\/files\/\\d+",
  6404. 'downloadLink">',
  6405. 'File not found, you',
  6406. 'optional--',
  6407. 'optional2--',
  6408. "//a[contains(@href,'gamefront.com/files')]"
  6409. );
  6410. }
  6411. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6412. {
  6413. addFileHost(
  6414. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6415. 'dnlLnk"',
  6416. 'already been deleted',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6420. );
  6421. }
  6422. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6423. {
  6424. addFileHost(
  6425. "hellupload\\.com\/\\w+",
  6426. '<h3>Download File<br',
  6427. 'id="podstrona">|AVOID_IE_BUG',
  6428. 'optional--',
  6429. 'optional2--',
  6430. "//a[contains(@href,'hellupload.com/')]"
  6431. );
  6432. }
  6433. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6434. {
  6435. addFileHost(
  6436. "free\\-uploading\\.com\/\\w+",
  6437. 'op" value="download',
  6438. 'class="err">|width:500px;text-align:left;">',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'free-uploading.com/')]"
  6442. );
  6443. }
  6444. if (GM_getValue("Check_fileape_dot_com_links", false))
  6445. {
  6446. addFileHost(
  6447. "fileape\\.com\/download\\-",
  6448. 'button_dl\\.png',
  6449. 'does not exist\\.',
  6450. 'optional--',
  6451. 'optional2--',
  6452. "//a[contains(@href,'fileape.com/')]"
  6453. );
  6454. }
  6455. if (GM_getValue("Check_uppit_dot_com_links", false))
  6456. {
  6457. addFileHost(
  6458. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6459. 'op" value="download',
  6460. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6461. 'optional--',
  6462. 'optional2--',
  6463. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6464. true
  6465. );
  6466. }
  6467. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6468. {
  6469. addFileHost(
  6470. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6471. 'op" value="download',
  6472. '>File Not Found<',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'nosupload.com')]",
  6476. true
  6477. );
  6478. }
  6479. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6480. {
  6481. addFileHost(
  6482. "filesin\\.com\/\\w+\/download\\.html",
  6483. 'download_area">',
  6484. 'error_note">',
  6485. 'optional--',
  6486. 'optional2--',
  6487. "//a[contains(@href,'filesin.com/')]",
  6488. true
  6489. );
  6490. }*/
  6491. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6492. {
  6493. addFileHost(
  6494. "nowdownload\\.ch\/dl\/\\w+",
  6495. 'alert-success"',
  6496. 'This file does not exist!',
  6497. 'The file is being transfered',
  6498. 'optional2--',
  6499. "//a[contains(@href,'nowdownload.ch/dl')]"
  6500. );
  6501. }*/
  6502. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6503. {
  6504. addFileHost(
  6505. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6506. 'Dbutton_big"',
  6507. 'download\\-error\\.php',
  6508. 'optional--',
  6509. 'optional2--',
  6510. "//a[contains(@href,'axifile.com/')]"
  6511. );
  6512. }*/
  6513. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6514. {
  6515. addFileHost(
  6516. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6517. 'col-1">\\s*<s',
  6518. 'col-1">\\s*<h',
  6519. 'optional--',
  6520. 'optional2--',
  6521. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6522. );
  6523. }
  6524. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6525. {
  6526. addFileHost(
  6527. "turbobit\\.(?:net|pl)",
  6528. 'id="download-gate-info|id="file-list',
  6529. 'afterWait()|no files in this folder',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'turbobit.net')]"
  6533. );
  6534. }
  6535. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6536. {
  6537. addFileHost(
  6538. "hitfile\\.net\/download\/folder\/\\d+",
  6539. 'content">\\s*<s',
  6540. 'content">\\s*<h',
  6541. 'optional--',
  6542. 'optional2--',
  6543. "//a[contains(@href,'hitfile.net/download/folder')]"
  6544. );
  6545. }
  6546. if (GM_getValue("Check_movshare_dot_net_links", false))
  6547. {
  6548. addFileHost(
  6549. "movshare\\.net\\/video\\/\\w+",
  6550. 'optional--"',
  6551. 'no longer exists',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'movshare.net/video')]"
  6555. );
  6556. }
  6557. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6558. {
  6559. addFileHost(
  6560. "mafiastorage\\.com\/\\w+",
  6561. 'op" value="download',
  6562. 'class="err">|style="width:500px;text-align:left;"',
  6563. 'optional--',
  6564. 'optional2--',
  6565. "//a[contains(@href,'mafiastorage.com/')]"
  6566. );
  6567. }
  6568. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6569. {
  6570. addFileHost(
  6571. "uploadingit\\.com\/file\/\\w+",
  6572. 'downloadTitle">',
  6573. 'deleteContent">',
  6574. 'optional--',
  6575. 'optional2--',
  6576. "//a[contains(@href,'uploadingit.com/file')]"
  6577. );
  6578. }*/
  6579. if (GM_getValue("Check_rghost_dot_net_links", false))
  6580. {
  6581. addFileHost(
  6582. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6583. 'download_link|btn large download',
  6584. 'file is restricted|File is deleted|503 Service Unavailable',
  6585. 'optional--',
  6586. 'optional2--',
  6587. "//a[contains(@href,'rghost.')]"
  6588. );
  6589. }
  6590. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6591. {
  6592. addFileHost(
  6593. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6594. '">Staženo:\\s*<\/span>',
  6595. 'Soubor, který hledáte nenalezen',
  6596. 'optional--',
  6597. 'optional2--',
  6598. "//a[contains(@href,'xdisk.cz/')]"
  6599. );
  6600. }
  6601. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6602. {
  6603. addFileHost(
  6604. "2downloadz\.com\/\\w+",
  6605. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6606. 'color="#006DCC|File error',
  6607. 'optional--',
  6608. 'optional2--',
  6609. "//a[contains(@href,'2downloadz.com')]");
  6610. }
  6611. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6612. {
  6613. addFileHost(
  6614. "mightyupload\.com\/\\w+",
  6615. 'background:#ccc;text-align|CONTENT="Download File"',
  6616. 'style="background:#eee|var rr =|File Not Found',
  6617. 'error-code">1010',
  6618. 'optional2--',
  6619. "//a[contains(@href,'mightyupload.com')]");
  6620. }
  6621. if (GM_getValue("Check_anysend_dot_com_links", false))
  6622. {
  6623. addFileHost(
  6624. "anysend\.com\/\\w+",
  6625. 'var openCalled=false;|content="noindex"',
  6626. '_trackPageview',
  6627. 'optional--',
  6628. 'optional2--',
  6629. "//a[contains(@href,'anysend.com')]");
  6630. }
  6631. if (GM_getValue("Check_datafile_dot_com_links", false))
  6632. {
  6633. addFileHost(
  6634. "datafile\.com\/\\w+",
  6635. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6636. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6637. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6638. '; 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">
  6639. "//a[contains(@href,'datafile.com')]",
  6640. true);
  6641. }
  6642. if (GM_getValue("Check_upstore_dot_net_links", false))
  6643. {
  6644. addFileHost(
  6645. "upstore\.net\/\\w+",
  6646. 'name="free"',
  6647. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6648. 'optional--',
  6649. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6650. "//a[contains(@href,'upstore.net')]");
  6651. }
  6652. if (GM_getValue("Check_upsto_dot_re_links", false))
  6653. {
  6654. addFileHost(
  6655. "upsto\.re\/\\w+",
  6656. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6657. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6658. 'optional--',
  6659. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6660. "//a[contains(@href,'upsto.re')]");
  6661. }
  6662. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6663. {
  6664. addFileHost(
  6665. "speedy\.sh\/\\w+",
  6666. 'bgcolor=#eeeeee|class="addthis',
  6667. 'File not found|downloadfilenamenotfound>',
  6668. 'optional--',
  6669. 'optional2--',
  6670. "//a[contains(@href,'speedy.sh')]");
  6671. }
  6672. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6673. {
  6674. addFileHost(
  6675. "kingfiles\.net\/\\w+",
  6676. 'method_free|images/loading_small.gif"',
  6677. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6678. 'optional--',
  6679. 'optional2--',
  6680. "//a[contains(@href,'kingfiles.net')]");
  6681. }
  6682. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6683. {
  6684. addFileHost(
  6685. "secureupload\\.eu\/\\w+",
  6686. 'Downloading',
  6687. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6688. 'optional--',
  6689. 'optional2--',
  6690. "//a[contains(@href,'secureupload.eu')]"
  6691. );
  6692. } */
  6693. if (GM_getValue("Check_ge_dot_tt_links", false))
  6694. {
  6695. addFileHost(
  6696. "ge\.tt\/\\w+",
  6697. 'downloads pic',
  6698. 'is NOT the same as',
  6699. 'optional--',
  6700. 'optional2--',
  6701. "//a[contains(@href,'ge.tt')]");
  6702. }
  6703. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6704. {
  6705. addFileHost(
  6706. "filefactory\\.com\/file\/\\w+",
  6707. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6708. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder|class="alert alert-danger">',
  6709. 'Server Maintenance|temporarily overloaded',
  6710. 'Premium Account Required',
  6711. "//a[contains(@href,'filefactory.com/file')]");
  6712. } */
  6713. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6714. {
  6715. addFileHost(
  6716. "filesflash\.net\/\\w+",
  6717. 'align:right">Filename:',
  6718. 'class="msg">',
  6719. 'optional--',
  6720. 'optional2--',
  6721. "//a[contains(@href,'filesflash.net')]");
  6722. }
  6723. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6724. {
  6725. addFileHost(
  6726. "rapidgator\\.net\/folder\/\\w+",
  6727. 'href="/folder/',
  6728. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6729. 'optional--',
  6730. 'optional2--',
  6731. "//a[contains(@href,'rapidgator.net/folder')]",
  6732. true
  6733. );
  6734. }
  6735. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6736. {
  6737. addFileHost(
  6738. "salefiles\.com\/\\w+",
  6739. 'name="method_free',
  6740. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6741. 'optional--',
  6742. 'optional2--',
  6743. "//a[contains(@href,'salefiles.com')]");
  6744. }
  6745. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6746. {
  6747. addFileHost(
  6748. "datoid\.cz\/\\w+",
  6749. 'btn-download|class="icon-download-large"',
  6750. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6751. 'optional--',
  6752. 'optional2--',
  6753. "//a[contains(@href,'datoid.cz')]");
  6754. }
  6755. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6756. {
  6757. addFileHost(
  6758. "stiahni\.si\/\\w+",
  6759. 'report_icon.png"|slow-download-button',
  6760. 'none.png|deleted|<h2>Error 500</h2>',
  6761. 'optional--',
  6762. 'optional2--',
  6763. "//a[contains(@href,'stiahni.si')]");
  6764. }
  6765. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6766. {
  6767. addFileHost(
  6768. "cloudstor\.es\/\\w+",
  6769. '"btn_download"',
  6770. '404: Page Not Found',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'cloudstor.es')]");
  6774. }
  6775. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "streamfile\.com\/\\w+",
  6779. 'class="btn',
  6780. 'class="green-btn',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'streamfile.com')]");
  6784. }
  6785. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6786. {
  6787. addFileHost(
  6788. "eyesfile\.ca\/\\w+",
  6789. 'value="Get Link',
  6790. 'var rr =',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'eyesfile.ca')]");
  6794. }
  6795. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6796. {
  6797. addFileHost(
  6798. "filemoney\.com\/\\w+",
  6799. 'og:title',
  6800. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6801. 'error-code">1010',
  6802. 'optional2--',
  6803. "//a[contains(@href,'filemoney.com')]");
  6804. }
  6805. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6806. {
  6807. addFileHost(
  6808. "uploadboy\.com\/\\w+",
  6809. 'width="740">|method_free',
  6810. 'var rr =|background:#ffffff|not be found|file was removed',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'uploadboy.com')]");
  6814. }
  6815. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6816. {
  6817. addFileHost(
  6818. "uploadboy\.com\/\\w+",
  6819. 'width="740">|method_free',
  6820. 'var rr =|background:#ffffff|not be found|file was removed',
  6821. 'optional--',
  6822. 'optional2--',
  6823. "//a[contains(@href,'uploadboy.me')]");
  6824. }
  6825. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6826. {
  6827. addFileHost(
  6828. "speedshare\.eu\/\\w+",
  6829. 'favicon.png|color:#3d87c0|cross.png"',
  6830. 'var rr =|File Not Found|style="background:#eee',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'speedshare.eu')]");
  6834. }
  6835. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6836. {
  6837. addFileHost(
  6838. "unlimitzone\.com\/\\w+",
  6839. 'name="method_free',
  6840. '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',
  6841. 'optional--',
  6842. 'optional2--',
  6843. "//a[contains(@href,'unlimitzone.com')]");
  6844. }
  6845. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6846. {
  6847. addFileHost(
  6848. "rioupload\.com\/\\w+",
  6849. 'sell.jpg',
  6850. 'var rr =',
  6851. 'optional--',
  6852. 'optional2--',
  6853. "//a[contains(@href,'rioupload.com')]");
  6854. }
  6855. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6856. {
  6857. addFileHost(
  6858. "jumbofiles\.org\/\\w+",
  6859. 'H71C5.png|class="downloadtitle">',
  6860. 'var swfu|ViewSourceBIN.png',
  6861. 'optional--',
  6862. 'optional2--',
  6863. "//a[contains(@href,'jumbofiles.org')]");
  6864. }
  6865. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6866. {
  6867. addFileHost(
  6868. "fshare\\.vn\/file\/\\w+",
  6869. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6870. 'không tồn tại|class="color_red m_t_50"',
  6871. 'optional--',
  6872. 'optional2--',
  6873. "//a[contains(@href,'fshare.vn/file')]",
  6874. true
  6875. );
  6876. }
  6877. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6878. {
  6879. addFileHost(
  6880. "spaceforfiles\.com\/\\w+",
  6881. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6882. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6883. 'optional--',
  6884. 'optional2--',
  6885. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6886. }
  6887. if (GM_getValue("Check_google_dot_com_links", false))
  6888. {
  6889. addFileHost(
  6890. "google\\.com\/file\/\\w+",
  6891. 'content="!">|color:#2d2d2d',
  6892. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6893. 'optional--',
  6894. 'optional2--',
  6895. "//a[contains(@href,'google.com/file')]",
  6896. true
  6897. );
  6898. }
  6899. if (GM_getValue("Check_google_dot_com_links", false))
  6900. {
  6901. addFileHost(
  6902. "docs.google.com\/\\w+",
  6903. 'content="!">|color:#2d2d2d',
  6904. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'docs.google.com')]",
  6908. true
  6909. );
  6910. }
  6911. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6912. {
  6913. addFileHost(
  6914. "drive.google.com\/\\w+",
  6915. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6916. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6917. 'optional--',
  6918. 'optional2--',
  6919. "//a[contains(@href,'drive.google.com')]",
  6920. true
  6921. );
  6922. }
  6923. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6924. {
  6925. addFileHost(
  6926. "up.media1fire\.com\/\\w+",
  6927. 'class="addthis_|value="download',
  6928. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6929. 'optional--',
  6930. 'optional2--',
  6931. "//a[contains(@href,'up.media1fire.com')]");
  6932. }
  6933. if (GM_getValue("Check_depfile_dot_com_links", false))
  6934. {
  6935. addFileHost(
  6936. "depfile\.com\/\\w+",
  6937. 'logo_0.png|downloads.gif"|verifycode',
  6938. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6939. 'optional--',
  6940. 'available only for Premium users',
  6941. "//a[contains(@href,'depfile.com')]");
  6942. }
  6943. if (GM_getValue("Check_go4up_dot_com_links", false))
  6944. {
  6945. addFileHost(
  6946. "go4up\.com\/\\w+",
  6947. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6948. '<title>GO4UP|dmca',
  6949. 'optional--',
  6950. 'optional2--',
  6951. "//a[contains(@href,'go4up.com')]");
  6952. }
  6953. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6954. {
  6955. addFileHost(
  6956. "redbunker\.net\/\\w+",
  6957. 'name="method_free"',
  6958. 'color="red">Unknow / Bilinmiyor<',
  6959. 'optional--',
  6960. '2.3 GB',
  6961. "//a[contains(@href,'redbunker.net')]");
  6962. }
  6963. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6964. {
  6965. addFileHost(
  6966. "divxpress\.com\/\\w+",
  6967. 'btn_download|logo.png"',
  6968. 'AVOID_IE_BUG|var rr =',
  6969. 'optional--',
  6970. 'optional2--',
  6971. "//a[contains(@href,'divxpress.com')]");
  6972. }
  6973. if (GM_getValue("Check_anafile_dot_com_links", false))
  6974. {
  6975. addFileHost(
  6976. "anafile\.com\/\\w+",
  6977. 'width="881" valign="top|color="#800080"|name="go"',
  6978. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6979. 'optional--',
  6980. 'optional2--',
  6981. "//a[contains(@href,'anafile.com')]");
  6982. }
  6983. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6984. {
  6985. addFileHost(
  6986. "uploadable\\.ch\/file\/\\w+",
  6987. 'captcha.js"|payment.js"|class="btn_download"',
  6988. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6989. 'optional--',
  6990. 'optional2--',
  6991. "//a[contains(@href,'uploadable.ch/file')]",
  6992. true
  6993. );
  6994. }
  6995. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6996. {
  6997. addFileHost(
  6998. "bigfile\\.to\/file\/\\w+",
  6999. 'captcha.js"|payment.js"|class="btn_download"',
  7000. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'bigfile.to/file')]",
  7004. true
  7005. );
  7006. }
  7007. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7008. {
  7009. addFileHost(
  7010. "arabloads\.net\/\\w+",
  7011. 'name="method_free"|name="method_premium"',
  7012. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7013. 'optional--',
  7014. 'optional2--',
  7015. "//a[contains(@href,'arabloads.net')]");
  7016. }
  7017. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7018. {
  7019. addFileHost(
  7020. "sharerepo\.com\/\\w+",
  7021. 'name="method_free"',
  7022. 'var public_on=|The file you were looking for could not be found',
  7023. 'optional--',
  7024. 'optional2--',
  7025. "//a[contains(@href,'sharerepo.com')]");
  7026. }
  7027. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7028. {
  7029. addFileHost(
  7030. "sfshare\.se\/\\w+",
  7031. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7032. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7033. 'optional--',
  7034. 'optional2--',
  7035. "//a[contains(@href,'sfshare.se')]");
  7036. }
  7037. if (GM_getValue("Check_files_dot_fm_links", false))
  7038. {
  7039. addFileHost(
  7040. "files\.fm\/\\w+",
  7041. 'dl.png"|background-color: transparent',
  7042. 'margin: 40px 40px|background: none;',
  7043. 'optional--',
  7044. 'optional2--',
  7045. "//a[contains(@href,'files.fm')]");
  7046. }
  7047. if (GM_getValue("Check_koofile_dot_com_links", false))
  7048. {
  7049. addFileHost(
  7050. "koofile\.com\/\\w+",
  7051. 'value="download1">|name="method_free"',
  7052. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7053. 'optional--',
  7054. 'optional2--',
  7055. "//a[contains(@href,'koofile.com')]");
  7056. }
  7057. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7058. {
  7059. addFileHost(
  7060. "vidxden\\.com\/\\w+",
  7061. 'Continue to Video"',
  7062. 'No such file',
  7063. 'optional--',
  7064. 'optional2--',
  7065. "//a[contains(@href,'vidxden.com')]"
  7066. );
  7067. }*/
  7068. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7069. {
  7070. addFileHost(
  7071. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7072. 'Details zur Datei|Details page',
  7073. 'Jetzt hochladen|upload now',
  7074. 'optional--',
  7075. 'optional2--',
  7076. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7077. );
  7078. }
  7079. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7080. {
  7081. addFileHost(
  7082. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7083. 'downloadbtn"',
  7084. 'DL_FileNotFound',
  7085. 'optional--',
  7086. 'optional2--',
  7087. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7088. );
  7089. }
  7090. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7091. {
  7092. addFileHost(
  7093. "fileflyer\.com\/view\/\\w+",
  7094. '(?:dwl|locked)btn"',
  7095. 'error.gif"|link">Removed|removedlink">',
  7096. 'optional--',
  7097. 'optional2--',
  7098. "//a[contains(@href,'fileflyer.com')]"
  7099. );
  7100. }
  7101. if (GM_getValue("Check_filestore_dot_to_links", false))
  7102. {
  7103. addFileHost(
  7104. "filestore\.to\/\\?d=\\w+",
  7105. '"downloading"',
  7106. 'Datei wurde nicht gefunden',
  7107. 'optional--',
  7108. 'optional2--',
  7109. "//a[contains(@href,'filestore.to')]"
  7110. );
  7111. }
  7112. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7113. {
  7114. addFileHost(
  7115. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7116. 'fz24">Download|class="pl15">',
  7117. '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',
  7118. 'optional--',
  7119. 'optional2--',
  7120. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7121. );
  7122. }
  7123. if (GM_getValue("Check_datei_dot_to_links", false))
  7124. {
  7125. addFileHost(
  7126. "datei\\.to\/\\??\\w+",
  7127. 'icon_downloaden\\.png|>Download starten<',
  7128. 'Datei wurde nicht gefunden|icon_deleted.png',
  7129. 'optional--',
  7130. 'optional2--',
  7131. "//a[contains(@href,'datei.to')]"
  7132. );
  7133. }
  7134. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7135. {
  7136. addFileHost(
  7137. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7138. '<body class="body" id="body">|value="Slow Download"',
  7139. '<body class="body" >',
  7140. 'optional--',
  7141. 'optional2--',
  7142. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7143. );
  7144. }
  7145. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7146. {
  7147. addFileHost(
  7148. "unibytes\\.com\/[\\w\.]+",
  7149. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7150. 'File not found|Файл не найден|',
  7151. 'optional--',
  7152. 'optional2--',
  7153. "//a[contains(@href,'unibytes.com')]"
  7154. );
  7155. }
  7156. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7157. {
  7158. addFileHost(
  7159. "www\\.hellshare\\.com\/\\d+",
  7160. 'tab\\-details"',
  7161. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7162. 'optional--',
  7163. 'optional2--',
  7164. "//a[contains(@href,'www.hellshare.com')]"
  7165. );
  7166. }
  7167. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7168. {
  7169. addFileHost(
  7170. "www\\.download.cz.hellshare\\.com\/\\w+",
  7171. 'tab\\-details"',
  7172. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7173. 'optional--',
  7174. 'optional2--',
  7175. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7176. );
  7177. }
  7178. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7179. {
  7180. addFileHost(
  7181. "filefactory\\.com",
  7182. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7183. 'table class="items"|このフォルダ内にファイルはありません|This file may have been deleted|Unerwarteter Fehler|Ungültiger Download-Link|Link de Download Inválido|Pointer" class="red">|There are no files in this folder|Dieser Ordner enthält keine Dateien|Não há arquivos nesta pasta|File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder',
  7184. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7185. 'Premium Account Required',
  7186. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7187. );
  7188. }
  7189. if (GM_getValue("Check_load_dot_to_links", false))
  7190. {
  7191. addFileHost(
  7192. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7193. '"download_table_left">Size',
  7194. 'Can\'t find file',
  7195. 'optional--',
  7196. 'optional2--',
  7197. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7198. );
  7199. }
  7200. if (GM_getValue("Check_divshare_dot_com_links", false))
  7201. {
  7202. addFileHost(
  7203. "divshare\\.com\/download\/",
  7204. 'download_new\.png',
  7205. 'have been removed',
  7206. 'optional--',
  7207. 'optional2--',
  7208. "//a[contains(@href,'divshare.com')]"
  7209. );
  7210. }
  7211. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7212. {
  7213. addFileHost(
  7214. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7215. 'download=true"',
  7216. '<div class="background margin-top vlevo" style="width: 600px;">|class="container">Error|File+has+been+removed|<title>Error - EuroShare.eu</title>|class="container">Chyba<|<title>chyba - EuroShare.eu</title>|<title>Fehler - EuroShare.eu</title>|<title>Hiba - EuroShare.eu</title>|<title>Błąd - EuroShare.eu</title>',
  7217. 'optional--',
  7218. 'optional2--',
  7219. "//a[contains(@href,'euroshare.eu/file')]"
  7220. );
  7221. }
  7222. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7223. {
  7224. addFileHost(
  7225. 'files\\.mail\\.ru/(?:\\w*)',
  7226. 'fileList',
  7227. 'errorMessage',
  7228. 'optional--',
  7229. 'optional2--',
  7230. "//a[contains(@href,'files.mail.ru')]"
  7231. );
  7232. }
  7233. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7234. {
  7235. addFileHost(
  7236. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7237. 'Filesize',
  7238. 'Invalid|deleted|Could not download file',
  7239. 'slots|scheduled maintenance',
  7240. 'optional2--',
  7241. "//a[contains(@href,'megashares.com/')]"
  7242. );
  7243. } */
  7244. if (GM_getValue("Check_narod_dot_ru_links", false))
  7245. {
  7246. addFileHost(
  7247. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7248. 'b-submit|action="resource.download"',
  7249. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7250. 'Внутренняя ошибка сервиса',
  7251. 'optional2--',
  7252. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7253. );
  7254. }
  7255. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7256. {
  7257. addFileHost(
  7258. "rayfile\\.com\/",
  7259. 'FILEtitleTXT',
  7260. 'blueRow',
  7261. 'optional--',
  7262. 'optional2--',
  7263. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7264. );
  7265. }
  7266. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7267. {
  7268. addFileHost(
  7269. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7270. 'button_green_body"',
  7271. 'error">',
  7272. 'optional--',
  7273. 'optional2--',
  7274. "//a[contains(@href,'filesmonster.com/download')]"
  7275. );
  7276. }
  7277. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7278. {
  7279. addFileHost(
  7280. 'usaupload\\.net\/d\/(?:\w*)',
  7281. '<strong>File size:</strong>',
  7282. 'is not available',
  7283. 'optional--',
  7284. 'optional2--',
  7285. "//a[contains(@href,'usaupload.net/d/')]"
  7286. );
  7287. }
  7288. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7289. {
  7290. addFileHost(
  7291. 'sendspace\\.com\/file\/\\w+',
  7292. 'file_description',
  7293. 'msg error"',
  7294. 'optional--',
  7295. 'optional2--',
  7296. "//a[contains(@href,'sendspace.com/file')]"
  7297. );
  7298. }
  7299. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7300. {
  7301. addFileHost(
  7302. 'sendspace\\.pl\/file\/\\w+',
  7303. 'download_file"',
  7304. 'Podany plik nie',
  7305. 'optional--',
  7306. 'optional2--',
  7307. "//a[contains(@href,'sendspace.pl/file')]"
  7308. );
  7309. }
  7310. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7311. {
  7312. addFileHost(
  7313. 'uploading\\.com\/(?:files\/)?\\w+',
  7314. 'free_method">',
  7315. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7316. 'optional--',
  7317. 'optional2--',
  7318. "//a[contains(@href,'uploading.com')]"
  7319. );
  7320. } */
  7321. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7322. {
  7323. addFileHost(
  7324. "gigasize\.com\/\\w+",
  7325. 'fileId"|class="estimate">',
  7326. 'error">',
  7327. 'optional--',
  7328. 'optional2--',
  7329. "//a[contains(@href,'gigasize.com/get')]"
  7330. );
  7331. }
  7332. if (GM_getValue("Check_good_dot_com_links", false))
  7333. {
  7334. addFileHost(
  7335. 'good\\.net\/(?:_|dl)',
  7336. 'Free Download',
  7337. 'Not Found',
  7338. 'Forbidden',
  7339. 'optional2--',
  7340. "//a[contains(@href,'good.net')]"
  7341. );
  7342. }
  7343. if (GM_getValue("Check_2shared_dot_com_links", false))
  7344. {
  7345. addFileHost(
  7346. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7347. 'File size',
  7348. 'File not found|is not valid|/images/important.gif',
  7349. 'optional--',
  7350. 'optional2--',
  7351. // "//a[contains(@href,'2shared.com')]"
  7352. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/fadmin/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7353. );
  7354. }
  7355. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7356. {
  7357. addFileHost(
  7358. 'turboupload\\.com\/\\w*',
  7359. 'You have requested',
  7360. 'File Not Found',
  7361. 'optional--',
  7362. 'optional2--',
  7363. "//a[contains(@href,'turboupload.com')]"
  7364. );
  7365. }
  7366. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7367. {
  7368. addFileHost(
  7369. 'gigapeta\\.com\/dl\/',
  7370. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7371. '404|page_error',
  7372. 'optional--',
  7373. 'optional2--',
  7374. "//a[contains(@href,'gigapeta.com/dl')]"
  7375. );
  7376. }
  7377. if (GM_getValue("Check_veehd_dot_com_links", false))
  7378. {
  7379. addFileHost(
  7380. 'veehd\.com\/video\/.*?',
  7381. 'No sound|Download video',
  7382. 'Featured Videos',
  7383. 'optional--',
  7384. 'optional2--',
  7385. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7386. );
  7387. }
  7388. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7389. {
  7390. addFileHost(
  7391. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7392. 'fast_download_form">|submit_sms_download',
  7393. '<p style="text-align:center">',
  7394. 'optional--',
  7395. 'optional2--',
  7396. "//a[contains(@href,'vip-file.com/download')]"
  7397. );
  7398. }
  7399. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7400. {
  7401. addFileHost(
  7402. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7403. 'download\\-pnl ',
  7404. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7405. 'optional--',
  7406. 'optional2--',
  7407. "//a[contains(@href,'letitbit.net/download')]"
  7408. );
  7409. }*/
  7410. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7411. {
  7412. addFileHost(
  7413. 'ifolder\.ru\/\\d+',
  7414. 'file-info',
  7415. 'ui-state-error',
  7416. 'optional--',
  7417. 'optional2--',
  7418. "//a[contains(@href,'ifolder.ru')]"
  7419. );
  7420. }
  7421. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7422. {
  7423. addFileHost(
  7424. 'fileswap\\.com\/dl\/\\w+',
  7425. 'bttnDownloadLink"',
  7426. 'rounded_block_error"',
  7427. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7428. 'optional2--',
  7429. "//a[contains(@href,'fileswap.com/dl')]"
  7430. );
  7431. }*/
  7432. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7433. {
  7434. addFileHost(
  7435. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7436. 'var __error = 0|id="recaptchaPanel">',
  7437. 'FILES__DOESNT_EXIST|removed or did not exist',
  7438. 'optional--',
  7439. 'optional2--',
  7440. "//a[contains(@href,'filecloud.io/')]"
  7441. );
  7442. addFileHost(
  7443. 'ifile\\.it\/\\w+',
  7444. 'var __error = 0',
  7445. 'FILES__DOESNT_EXIST',
  7446. 'optional--',
  7447. 'optional2--',
  7448. "//a[contains(@href,'ifile.it/')]"
  7449. );
  7450. }
  7451. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7452. {
  7453. addFileHost(
  7454. 'solidfiles\\.com\/\\w+',
  7455. 'id="download"|content="Download',
  7456. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7457. 'optional--',
  7458. 'optional2--',
  7459. "//a[contains(@href,'solidfiles.com/')]"
  7460. );
  7461. }
  7462. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7463. {
  7464. addFileHost(
  7465. "(?:.\\.|)shareflare\\.net",
  7466. 'download-pnl|<div class="premium-block">',
  7467. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7468. 'optional--',
  7469. 'optional2--',
  7470. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7471. );
  7472. }
  7473. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7474. {
  7475. addFileHost(
  7476. "u18116681.shareflare\\.net",
  7477. 'download-pnl|<div class="premium-block">',
  7478. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7479. 'optional--',
  7480. 'optional2--',
  7481. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7482. );
  7483. }
  7484. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7485. {
  7486. addFileHost(
  7487. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7488. 'file\\-list-orderby|section-filedetail">',
  7489. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7490. 'optional--',
  7491. 'optional2--',
  7492. "//a[contains(@href,'hellspy.')]"
  7493. );
  7494. }
  7495. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7496. {
  7497. addFileHost(
  7498. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7499. '<body onload="">',
  7500. 'neexistuje|not exist',
  7501. 'optional--',
  7502. 'optional2--',
  7503. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7504. );
  7505. }
  7506. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7507. {
  7508. addFileHost(
  7509. "stahovanizasms\\.cz\/\\w+",
  7510. 'download\\.png>|font-size:11px><tr>',
  7511. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7512. 'optional--',
  7513. 'optional2--',
  7514. "//a[contains(@href,'stahovanizasms.cz')]"
  7515. );
  7516. }
  7517. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7518. {
  7519. addFileHost(
  7520. "share-links\\.biz\/\\w*",
  7521. 'online\\.gif',
  7522. '(?:offline|parts)\\.gif',
  7523. 'optional--',
  7524. 'optional2--',
  7525. "//a[contains(@href,'share-links.biz')]"
  7526. );
  7527. }
  7528. if (GM_getValue("Check_4shared_dot_com_links", false))
  7529. {
  7530. addFileHost(
  7531. "4shared\\.com\/.+\/",
  7532. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7533. 'class="warn\"|big red"|GetDataBack',
  7534. 'Service Unavailable',
  7535. 'optional2--',
  7536. "//a[contains(@href,'4shared.com')]"
  7537. );
  7538. }
  7539. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7540. {
  7541. addFileHost(
  7542. "(?:www\\d+\.|)zippyshare\.com\/",
  7543. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7544. 'not exist|Status 404',
  7545. 'optional--',
  7546. 'optional2--',
  7547. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7548. );
  7549. }
  7550. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7551. {
  7552. addFileHost(
  7553. "mediafire\.com\/",
  7554. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7555. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7556. 'set to private',
  7557. 'optional2--',
  7558. "//a[contains(@href,'mediafire.com')]"
  7559. );
  7560. }
  7561. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7562. {
  7563. addFileHost(
  7564. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7565. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7566. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7567. 'optional--',
  7568. 'GB</small>',
  7569. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7570. );
  7571. }
  7572. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7573. {
  7574. addFileHost(
  7575. "ulozisko\.sk\/",
  7576. 'Detaily',
  7577. 'neexistuje',
  7578. 'optional--',
  7579. 'optional2--',
  7580. "//a[contains(@href,'ulozisko.sk')]"
  7581. );
  7582. }
  7583. if (GM_getValue("Check_box_dot_com_links", false))
  7584. {
  7585. addFileHost(
  7586. "box\.com\/\\w+",
  7587. 'download-file-btn|id="download_button|preview-download',
  7588. 'BIyMin.png| <div class="error_message|link has been removed',
  7589. 'optional--',
  7590. 'optional2--',
  7591. "//a[contains(@href,'app.box.com')]");
  7592. }
  7593. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7594. {
  7595. addFileHost(
  7596. "uptobox\\.com\/\\w+",
  7597. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7598. 'The file expired|<b>404 -|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7599. 'Maintenance',
  7600. 'optional2--',
  7601. "//a[contains(@href,'uptobox.com')]",
  7602. true
  7603. );
  7604. }
  7605. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7606. {
  7607. addFileHost(
  7608. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7609. 'FILE DOWNLOAD<',
  7610. 'File Does Not Exist',
  7611. 'optional--',
  7612. 'optional2--',
  7613. "//a[contains(@href,'sharecash.org/download.php')]"
  7614. );
  7615. }
  7616. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7617. {
  7618. addFileHost(
  7619. "1fichier\\.com\/dir\/\\w+",
  7620. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7621. 'Shared Folder Not Found',
  7622. 'optional--',
  7623. 'optional2--',
  7624. "//a[contains(@href,'1fichier.com/dir')]"
  7625. );
  7626. }
  7627. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7628. {
  7629. addFileHost(
  7630. "depositfiles\\.com\/folders\/\\w+",
  7631. '<div class="progressContainer">',
  7632. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7633. 'optional--',
  7634. 'optional2--',
  7635. "//a[contains(@href,'depositfiles.com/folders')]"
  7636. );
  7637. }
  7638. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7639. {
  7640. addFileHost(
  7641. "rapidfileshare\\.net/\\w+",
  7642. '<div id="upload-header-bg">',
  7643. '<div style="width:500px;text-align:left;">',
  7644. 'optional--',
  7645. 'optional2--',
  7646. "//a[contains(@href,'rapidfileshare.net/')]"
  7647. );
  7648. }
  7649. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7650. {
  7651. addFileHost(
  7652. "stiahnito\\.sk/",
  7653. '<span class="filesize right">',
  7654. '<ol class="list-purp-2">',
  7655. 'optional--',
  7656. 'optional2--',
  7657. "//a[contains(@href,'stiahnito.sk/')]"
  7658. );
  7659. }
  7660. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7661. {
  7662. addFileHost(
  7663. "rusfolder\\.(?:com|net)",
  7664. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7665. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7666. 'optional--',
  7667. 'optional2--',
  7668. "//a[contains(@href,'rusfolder')]"
  7669. );
  7670. }
  7671. if (GM_getValue("Check_catshare_dot_net_links", false))
  7672. {
  7673. addFileHost(
  7674. "catshare\\.net/\\w+",
  7675. '"icon-share',
  7676. 'alert alert-error',
  7677. 'optional--',
  7678. 'optional2--',
  7679. "//a[contains(@href,'catshare.net/')]"
  7680. );
  7681. }
  7682. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7683. {
  7684. addFileHost(
  7685. "anonfiles\\.com/\\w+",
  7686. '"download_button"',
  7687. '<legend><b>404</b>',
  7688. 'optional--',
  7689. 'optional2--',
  7690. "//a[contains(@href,'anonfiles.com')]"
  7691. );
  7692. }*/
  7693. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7694. {
  7695. addFileHost(
  7696. "mixturecloud\\.com/media/\\w+",
  7697. '"btn icon i_globe gray share_150',
  7698. '"s_cross_close"></span> 404:',
  7699. 'optional--',
  7700. 'optional2--',
  7701. "//a[contains(@href,'mixturecloud.com/media/')]"
  7702. );
  7703. }
  7704. if (GM_getValue("Check_akafile_dot_com_links", false))
  7705. {
  7706. addFileHost(
  7707. "akafile\\.com\/\\w+",
  7708. 'download1',
  7709. 'File Not Found',
  7710. 'optional--',
  7711. 'optional2--',
  7712. "//a[contains(@href,'akafile.com/')]"
  7713. );
  7714. }
  7715. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7716. {
  7717. addFileHost(
  7718. "creafile\\.net\/\\w+",
  7719. 'downloadblock',
  7720. 'errtitle',
  7721. 'optional--',
  7722. 'optional2--',
  7723. "//a[contains(@href,'creafile.net/')]"
  7724. );
  7725. }*/
  7726. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7727. {
  7728. addFileHost(
  7729. "hugefiles\\.net\/\\w+",
  7730. 'download1|class="btn-create-download" value="Create Download Link">',
  7731. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7732. 'optional--',
  7733. 'optional2--',
  7734. "//a[contains(@href,'hugefiles.net/')]"
  7735. );
  7736. }*/
  7737. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7738. {
  7739. addFileHost(
  7740. "sendmyway\\.com\/\\w+",
  7741. 'id="btn_download"',
  7742. '500px;text-align:left;"|<center><h3>',
  7743. 'optional--',
  7744. 'optional2--',
  7745. "//a[contains(@href,'sendmyway.com/')]"
  7746. );
  7747. }
  7748. if (GM_getValue("Check_upload_dot_ee_links", false))
  7749. {
  7750. addFileHost(
  7751. "upload\\.ee\/\\w+",
  7752. 'onmouseout="document.dllink.src',
  7753. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7754. 'optional--',
  7755. 'optional2--',
  7756. "//a[contains(@href,'upload.ee/')]"
  7757. );
  7758. }
  7759. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7760. {
  7761. addFileHost(
  7762. "shareplace\\.org\/\\?\\w+",
  7763. 'Download-Link',
  7764. 'Your requested file is not found|Select file to send',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'shareplace.org/?')]"
  7768. );
  7769. }
  7770. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7771. {
  7772. addFileHost(
  7773. "uploadc\\.com\/\\w+",
  7774. 'id="prebut"',
  7775. 'File Not Found|This file has been removed due',
  7776. 'optional--',
  7777. 'optional2--',
  7778. "//a[contains(@href,'uploadc.com/')]"
  7779. );
  7780. }
  7781. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7782. {
  7783. addFileHost(
  7784. "uploadc\\.ch\/\\w+",
  7785. 'id="prebut"',
  7786. 'File Not Found|This file has been removed due',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'uploadc.ch/')]"
  7790. );
  7791. }
  7792. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7793. {
  7794. addFileHost(
  7795. "remixshare\\.com\/\\w+",
  7796. 'id="dl2"',
  7797. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'remixshare.com/')]"
  7801. );
  7802. }*/
  7803. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7804. {
  7805. addFileHost(
  7806. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7807. 'Last Download :',
  7808. 'img src="\\/404.jpg"',
  7809. 'optional--',
  7810. 'optional2--',
  7811. "//a[contains(@href,'exoshare.com/download.php')]"
  7812. );
  7813. }
  7814. if (GM_getValue("Check_borncash_dot_org_links", false))
  7815. {
  7816. addFileHost(
  7817. "borncash\\.org\/download\/\\?a=\\w+",
  7818. 'class="knop_1"',
  7819. '\/error\/er00',
  7820. 'optional--',
  7821. 'optional2--',
  7822. "//a[contains(@href,'borncash.org/download/')]"
  7823. );
  7824. }
  7825. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7826. {
  7827. addFileHost(
  7828. "vidplay\.net\/\\w+",
  7829. 'solvemedia puzzle widget',
  7830. 'File not found|AVOID_IE_BUG',
  7831. 'optional--',
  7832. 'optional2--',
  7833. "//a[contains(@href,'vidplay.net')]");
  7834. }*/
  7835. if (GM_getValue("Check_filedais_dot_com_links", false))
  7836. {
  7837. addFileHost(
  7838. "filedais\.com\/\\w+",
  7839. 'class="btn btn-info"|name="method_free"',
  7840. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7841. 'optional--',
  7842. 'optional2--',
  7843. "//a[contains(@href,'filedais.com')]");
  7844. }
  7845. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7846. {
  7847. addFileHost(
  7848. "up.4share\.vn\/\\w+",
  7849. '<font size="2" face="Verdana">',
  7850. 'font: 13px Tahoma; color: Brown',
  7851. 'optional--',
  7852. 'optional2--',
  7853. "//a[contains(@href,'up.4share.vn')]");
  7854. }
  7855. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7856. {
  7857. addFileHost(
  7858. "share.vnn\.vn\/\\w+",
  7859. '"index,follow"|<div class="main" id="download-box">',
  7860. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7861. 'optional--',
  7862. 'optional2--',
  7863. "//a[contains(@href,'share.vnn.vn')]");
  7864. }
  7865. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7866. {
  7867. addFileHost(
  7868. "upfile\.vn\/\\w+",
  7869. 'download-timer',
  7870. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7871. 'optional--',
  7872. 'optional2--',
  7873. "//a[contains(@href,'upfile.vn')]");
  7874. }
  7875. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7876. {
  7877. addFileHost(
  7878. "aisfile\.com\/\\w+",
  7879. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7880. '<div style="width:500px;text-align:left;">|File Not Found',
  7881. 'optional--',
  7882. 'optional2--',
  7883. "//a[contains(@href,'aisfile.com')]");
  7884. }
  7885. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7886. {
  7887. addFileHost(
  7888. "usersfiles\.com\/\\w+",
  7889. 'class="btn btn-success|id="btn_download" class="btn"',
  7890. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7891. 'optional--',
  7892. 'optional2--',
  7893. "//a[contains(@href,'usersfiles.com')]");
  7894. }
  7895. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7896. {
  7897. addFileHost(
  7898. "pan.baidu\.com\/\\w+",
  7899. 'target="_blank" title=|share-personal-info',
  7900. 'share_notfound.png|background:#f9f9f9',
  7901. 'optional--',
  7902. 'optional2--',
  7903. "//a[contains(@href,'pan.baidu.com')]");
  7904. }
  7905. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7906. {
  7907. addFileHost(
  7908. "yunpan\.cn\/\\w+",
  7909. 'class="icon icon-download',
  7910. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7911. 'optional--',
  7912. 'optional2--',
  7913. "//a[contains(@href,'yunpan.cn')]");
  7914. }
  7915. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7916. {
  7917. addFileHost(
  7918. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7919. 'getElementById("downbild")|style.display',
  7920. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7921. 'optional--',
  7922. 'optional2--',
  7923. "//a[contains(@href,'file-upload.net')]");
  7924. }
  7925. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7926. {
  7927. addFileHost(
  7928. "gulfup\.com\/",
  7929. '<!-- Downlod template -->|download.gif',
  7930. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7931. 'optional--',
  7932. 'optional2--',
  7933. "//a[contains(@href,'gulfup.com')]");
  7934. }*/
  7935. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7936. {
  7937. addFileHost(
  7938. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7939. 'dldtable">',
  7940. 'does not exist\\.',
  7941. 'optional--',
  7942. 'optional2--',
  7943. "//a[contains(@href,'datafilehost.com')]");
  7944. }
  7945. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7946. {
  7947. addFileHost(
  7948. "dropbox\.com\/s\/\\w+",
  7949. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7950. '>Nothing Here<|>Error (404)<',
  7951. 'title>Dropbox - 509|Error (403)|Error: 429',
  7952. 'optional2--',
  7953. "//a[contains(@href,'dropbox.com')]");
  7954. }
  7955. if (GM_getValue("Check_box_dot_net_links", false))
  7956. {
  7957. addFileHost(
  7958. "box\.net\/\\w+",
  7959. 'download-file-btn|id="download_button',
  7960. 'BIyMin.png| <div class="error_message',
  7961. 'optional--',
  7962. 'optional2--',
  7963. "//a[contains(@href,'box.net')]");
  7964. }
  7965. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7966. {
  7967. addFileHost(
  7968. "filedropper\.com\/\\w+",
  7969. 'background:#ddd;|width:985px; ',
  7970. 'background-color:#FFFFFF;|margin-left: -400px;',
  7971. 'optional--',
  7972. 'optional2--',
  7973. "//a[contains(@href,'filedropper.com')]");
  7974. }
  7975. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7976. {
  7977. addFileHost(
  7978. "tropicshare\\.com\/files\/\\d+",
  7979. 'MB</span>|GB</span>|KB</span>',
  7980. '>FNF<|size: </span>',
  7981. 'optional--',
  7982. 'optional2--',
  7983. "//a[contains(@href,'tropicshare.com')]");
  7984. }
  7985. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7986. {
  7987. addFileHost(
  7988. "worldbytez\.com",
  7989. '<div class="download_type">|method_free',
  7990. '<div style="width:500px;text-align:left;">',
  7991. 'optional--',
  7992. 'optional2--',
  7993. "//a[contains(@href,'worldbytez.com')]",
  7994. true);
  7995. }
  7996. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7997. {
  7998. addFileHost(
  7999. "freefilehosting\.net\/\\w+",
  8000. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8001. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8002. 'optional--',
  8003. 'optional2--',
  8004. "//a[contains(@href,'freefilehosting.net')]");
  8005. }
  8006. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8007. {
  8008. addFileHost(
  8009. "ziddu\.com\/\\w+",
  8010. 'downloads.ziddu.com|downloadfilelinkicon',
  8011. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8012. 'optional--',
  8013. 'optional2--',
  8014. "//a[contains(@href,'ziddu.com')]");
  8015. }
  8016. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8017. {
  8018. addFileHost(
  8019. "exclusiveloader\.com\/\\w+",
  8020. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8021. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8022. 'optional--',
  8023. 'optional2--',
  8024. "//a[contains(@href,'exclusiveloader.com')]");
  8025. }
  8026. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8027. {
  8028. addFileHost(
  8029. "sharerapid\.cz\/\\w+",
  8030. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8031. 'error_div">|404 - Not Found',
  8032. 'optional--',
  8033. 'optional2--',
  8034. "//a[contains(@href,'sharerapid.cz')]");
  8035. }
  8036. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8037. {
  8038. addFileHost(
  8039. "sdilej\.cz\/\\w+",
  8040. 'class="page-download"',
  8041. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8042. 'optional--',
  8043. 'optional2--',
  8044. "//a[contains(@href,'sdilej.cz')]");
  8045. }
  8046. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8047. {
  8048. addFileHost(
  8049. "lafiles\.com\/\\w+",
  8050. '<div id="pay_modes">',
  8051. '<b class="err"></b>',
  8052. 'optional--',
  8053. 'optional2--',
  8054. "//a[contains(@href,'lafiles.com')]");
  8055. }
  8056. if (GM_getValue("Check_acefile_dot_net_links", false))
  8057. {
  8058. addFileHost(
  8059. "acefile\.net\/\\w+",
  8060. 'align=right nowrap><b>',
  8061. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8062. 'optional--',
  8063. 'optional2--',
  8064. "//a[contains(@href,'acefile.net')]");
  8065. }
  8066. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8067. {
  8068. addFileHost(
  8069. "megarapid\.cz\/\\w+",
  8070. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8071. 'error_div">|404 - Not Found',
  8072. 'optional--',
  8073. 'optional2--',
  8074. "//a[contains(@href,'megarapid.cz')]");
  8075. }
  8076. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8077. {
  8078. addFileHost(
  8079. "yadi\.sk\/\\w+",
  8080. 'nb-button _nb-small-button',
  8081. 'error code|Nothing found',
  8082. 'optional--',
  8083. 'optional2--',
  8084. "//a[contains(@href,'yadi.sk')]");
  8085. }
  8086. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8087. {
  8088. addFileHost(
  8089. "hitfile\.net\/\\w+",
  8090. 'class="download-file',
  8091. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8092. 'optional--',
  8093. 'optional2--',
  8094. "//a[contains(@href,'hitfile.net')]");
  8095. }
  8096. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8097. {
  8098. addFileHost(
  8099. "up.top4top\.net\/\\w+",
  8100. 'start Downlod template',
  8101. 'start err template',
  8102. 'optional--',
  8103. 'optional2--',
  8104. "//a[contains(@href,'up.top4top.net')]");
  8105. }
  8106. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8107. {
  8108. addFileHost(
  8109. "filejoker\.net",
  8110. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8111. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8112. 'optional--',
  8113. 'id="download" class="premium-only">',
  8114. "//a[contains(@href,'filejoker.net')]");
  8115. }
  8116. if (GM_getValue("Check_free_dot_fr_links", false))
  8117. {
  8118. addFileHost(
  8119. "(?:dl.\\.|)free\\.fr",
  8120. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8121. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8122. 'optional--',
  8123. 'optional2--',
  8124. "//a[contains(@href,'dl.free.fr')]");
  8125. }
  8126. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8127. {
  8128. addFileHost(
  8129. "gboxes\.com\/\\w+",
  8130. 'You have requested|color="red">http://www.gboxes.com',
  8131. 'File Not Found|<div style="width:500px;text-align:left;">',
  8132. 'optional--',
  8133. 'optional2--',
  8134. "//a[contains(@href,'gboxes.com')]");
  8135. }
  8136. if (GM_getValue("Check_led_dot_wf_links", false))
  8137. {
  8138. addFileHost(
  8139. "led\.wf\/\\w+",
  8140. 'logo_0.png|downloads.gif"|verifycode',
  8141. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8142. 'optional--',
  8143. 'available only for Premium users',
  8144. "//a[contains(@href,'led.wf')]");
  8145. }
  8146. if (GM_getValue("Check_lan_dot_wf_links", false))
  8147. {
  8148. addFileHost(
  8149. "lan\.wf\/\\w+",
  8150. 'logo_0.png|downloads.gif"|verifycode',
  8151. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8152. 'optional--',
  8153. 'available only for Premium users',
  8154. "//a[contains(@href,'lan.wf')]");
  8155. }
  8156. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8157. {
  8158. addFileHost(
  8159. "adlink\.wf\/\\w+",
  8160. 'logo_0.png|downloads.gif"|verifycode',
  8161. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8162. 'optional--',
  8163. 'available only for Premium users',
  8164. "//a[contains(@href,'adlink.wf')]");
  8165. }
  8166. if (GM_getValue("Check_click_dot_tf_links", false))
  8167. {
  8168. addFileHost(
  8169. "click\.tf\/\\w+",
  8170. 'logo_0.png|downloads.gif"|verifycode',
  8171. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8172. 'optional--',
  8173. 'available only for Premium users',
  8174. "//a[contains(@href,'click.tf')]");
  8175. }
  8176. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8177. {
  8178. addFileHost(
  8179. "ssh\.tf\/\\w+",
  8180. 'logo_0.png|downloads.gif"|verifycode',
  8181. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8182. 'optional--',
  8183. 'available only for Premium users',
  8184. "//a[contains(@href,'ssh.tf')]");
  8185. }
  8186. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8187. {
  8188. addFileHost(
  8189. "ssh\.yt\/\\w+",
  8190. 'logo_0.png|downloads.gif"|verifycode',
  8191. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8192. 'optional--',
  8193. 'available only for Premium users',
  8194. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8195. }
  8196. if (GM_getValue("Check_yep_dot_pm_links", false))
  8197. {
  8198. addFileHost(
  8199. "yep\.pm\/\\w+",
  8200. 'logo_0.png|downloads.gif"|verifycode',
  8201. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8202. 'optional--',
  8203. 'available only for Premium users',
  8204. "//a[contains(@href,'yep.pm')]");
  8205. }
  8206. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8207. {
  8208. addFileHost(
  8209. "kyc\.pm\/\\w+",
  8210. 'logo_0.png|downloads.gif"|verifycode',
  8211. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8212. 'optional--',
  8213. 'available only for Premium users',
  8214. "//a[contains(@href,'kyc.pm')]");
  8215. }
  8216. if (GM_getValue("Check_brupload_dot_net_links", false))
  8217. {
  8218. addFileHost(
  8219. "brupload\.net\/\\w+",
  8220. 'Download Gratuito',
  8221. '<div style="width:500px;text-align:left;">',
  8222. 'optional--',
  8223. 'optional2--',
  8224. "//a[contains(@href,'brupload.net')]");
  8225. }
  8226. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8227. {
  8228. addFileHost(
  8229. "cloudzilla\.to\/\\w+",
  8230. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8231. 'File not found|/imgs/broken.png',
  8232. 'optional--',
  8233. 'optional2--',
  8234. "//a[contains(@href,'cloudzilla.to')]");
  8235. } */
  8236. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8237. {
  8238. addFileHost(
  8239. "clicknupload\.com\/\\w+",
  8240. 'name="method_free',
  8241. 'File Not Found',
  8242. 'optional--',
  8243. 'optional2--',
  8244. "//a[contains(@href,'clicknupload.com')]");
  8245. }
  8246. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8247. {
  8248. addFileHost(
  8249. "clicknupload\.me\/\\w+",
  8250. 'name="method_free',
  8251. 'File Not Found',
  8252. 'optional--',
  8253. 'optional2--',
  8254. "//a[contains(@href,'clicknupload.me')]");
  8255. }
  8256. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8257. {
  8258. addFileHost(
  8259. "clicknupload\.link\/\\w+",
  8260. 'name="method_free',
  8261. 'File Not Found',
  8262. 'optional--',
  8263. 'optional2--',
  8264. "//a[contains(@href,'clicknupload.link')]");
  8265. }
  8266. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8267. {
  8268. addFileHost(
  8269. "ex-load\.com\/\\w+",
  8270. 'name="method_free|<p>Download File:</p>',
  8271. 'Folder Not Found|File Not Found|Error 404',
  8272. 'optional--',
  8273. 'class="downprem wow bounceInLeft',
  8274. "//a[contains(@href,'ex-load.com')]");
  8275. }
  8276. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8277. {
  8278. addFileHost(
  8279. "hexupload\.com\/\\w+",
  8280. 'button" value="Free|type="submit" value=""',
  8281. 'File Not Found|<div style="width:500px;text-align:left;">',
  8282. 'optional--',
  8283. 'optional2--',
  8284. "//a[contains(@href,'hexupload.com')]");
  8285. }*/
  8286. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8287. {
  8288. addFileHost(
  8289. "wizupload\.com\/\\w+",
  8290. 'btn_download|class="downloadbtn"',
  8291. '>File Not Found<',
  8292. 'optional--',
  8293. 'optional2--',
  8294. "//a[contains(@href,'wizupload.com')]");
  8295. }
  8296. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8297. {
  8298. addFileHost(
  8299. "inclouddrive\.com\/\\w+",
  8300. 'initfreedownload',
  8301. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8302. 'optional--',
  8303. 'optional2--',
  8304. "//a[contains(@href,'inclouddrive.com')]");
  8305. }
  8306. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8307. {
  8308. addFileHost(
  8309. "radicalshare\.com\/\\w+",
  8310. 'value="download1|name="method_free"',
  8311. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8312. 'optional--',
  8313. 'optional2--',
  8314. "//a[contains(@href,'radicalshare.com')]");
  8315. }*/
  8316. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8317. {
  8318. addFileHost(
  8319. "sharemods\.com\/\\w+",
  8320. 'name="method_free"',
  8321. 'File Not Found<',
  8322. 'optional--',
  8323. 'optional2--',
  8324. "//a[contains(@href,'sharemods.com')]");
  8325. }
  8326. if (GM_getValue("Check_hostr_dot_co_links", false))
  8327. {
  8328. addFileHost(
  8329. "hostr\.co\/\\w+",
  8330. 'method="get"',
  8331. 'File not found<|error-page',
  8332. 'optional--',
  8333. 'optional2--',
  8334. "//a[contains(@href,'hostr.co')]");
  8335. }
  8336. if (GM_getValue("Check_filepi_dot_com_links", false))
  8337. {
  8338. addFileHost(
  8339. "filepi\.com\/\\w+",
  8340. 'id="button_start">',
  8341. 'File not found',
  8342. 'optional--',
  8343. 'optional2--',
  8344. "//a[contains(@href,'filepi.com')]");
  8345. }
  8346. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8347. {
  8348. addFileHost(
  8349. "tikfile\.com\/\\w+",
  8350. 'btn_download',
  8351. 'File Not Found|file was removed|Reason for deletion',
  8352. 'optional--',
  8353. 'optional2--',
  8354. "//a[contains(@href,'tikfile.com')]");
  8355. }
  8356. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8357. {
  8358. addFileHost(
  8359. "cloudsix\.me\/\\w+",
  8360. 'name="method_free"',
  8361. 'File Not Found|width:500px;text-align:left;">',
  8362. 'optional--',
  8363. 'optional2--',
  8364. "//a[contains(@href,'cloudsix.me')]");
  8365. }
  8366. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8367. {
  8368. addFileHost(
  8369. "neodrive\.co\/\\w+",
  8370. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8371. 'File not found|/imgs/broken.png',
  8372. 'optional--',
  8373. 'optional2--',
  8374. "//a[contains(@href,'neodrive.co')]");
  8375. }
  8376. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8377. {
  8378. addFileHost(
  8379. "chayfile\.com\/\\w+",
  8380. 'name="method_free"',
  8381. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8382. 'optional--',
  8383. 'optional2--',
  8384. "//a[contains(@href,'chayfile.com')]");
  8385. }
  8386. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8387. {
  8388. addFileHost(
  8389. "xfileload\.com\/\\w+",
  8390. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8391. '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..|הקובץ שחיפשת לא נמצא.',
  8392. 'optional--',
  8393. 'optional2--',
  8394. "//a[contains(@href,'xfileload.com')]");
  8395. }*/
  8396. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8397. {
  8398. addFileHost(
  8399. "rockfile\.eu\/\\w+",
  8400. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8401. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8402. 'optional--',
  8403. 'optional2--',
  8404. "//a[contains(@href,'rockfile.eu')]",
  8405. true);
  8406. }
  8407. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8408. {
  8409. addFileHost(
  8410. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8411. 'i/icon/dll.png"|>Start download<br',
  8412. 'no longer available<|i/ino.png"',
  8413. 'optional--',
  8414. 'optional2--',
  8415. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8416. }
  8417. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8418. {
  8419. addFileHost(
  8420. "ozofiles\.com\/\\w+",
  8421. 'button" value="Free|name="method_free',
  8422. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8423. 'optional--',
  8424. 'optional2--',
  8425. "//a[contains(@href,'ozofiles.com')]");
  8426. }
  8427. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8428. {
  8429. addFileHost(
  8430. "userscloud\.com\/\\w+",
  8431. 'btn_download|class="label label-success">',
  8432. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8433. 'optional--',
  8434. 'optional2--',
  8435. "//a[contains(@href,'userscloud.com')]");
  8436. }
  8437. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8438. {
  8439. addFileHost(
  8440. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8441. 'class="button download',
  8442. 'internal server error',
  8443. 'optional--',
  8444. 'optional2--',
  8445. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8446. }
  8447. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8448. {
  8449. addFileHost(
  8450. "kb.simple-aja\.info\/\\w+",
  8451. 'class="button download',
  8452. 'internal server error|<p>404</p>',
  8453. 'optional--',
  8454. 'optional2--',
  8455. "//a[contains(@href,'kb.simple')]");
  8456. }
  8457. if (GM_getValue("Check_faststore_dot_org_links", false))
  8458. {
  8459. addFileHost(
  8460. "faststore\.org\/\\w+",
  8461. 'name="method_free',
  8462. 'File Not Found',
  8463. 'optional--',
  8464. 'optional2--',
  8465. "//a[contains(@href,'faststore.org')]");
  8466. }
  8467. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8468. {
  8469. addFileHost(
  8470. "prefiles\.com\/\\w+",
  8471. 'id="method_free',
  8472. 'File not Found',
  8473. 'optional--',
  8474. 'optional2--',
  8475. "//a[contains(@href,'prefiles.com')]");
  8476. }
  8477. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8478. {
  8479. addFileHost(
  8480. "doraupload\.com\/\\w+",
  8481. 'btn_download|name="method_free',
  8482. 'class="error-code|Could Not Be Found',
  8483. 'optional--',
  8484. 'optional2--',
  8485. "//a[contains(@href,'doraupload.com')]");
  8486. }
  8487. if (GM_getValue("Check_openload_dot_io_links", false))
  8488. {
  8489. addFileHost(
  8490. "openload\.io\/\\w+",
  8491. 'btn btn-primary|class="count">|secondsleftouter',
  8492. 'class="jumbotron">|We are sorry',
  8493. 'optional--',
  8494. 'optional2--',
  8495. "//a[contains(@href,'openload.io')]");
  8496. }
  8497. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8498. {
  8499. addFileHost(
  8500. "zxcfiles\.com\/\\w+",
  8501. 'class="downloadbtn',
  8502. 'File Not Found',
  8503. 'optional--',
  8504. 'optional2--',
  8505. "//a[contains(@href,'zxcfiles.com')]");
  8506. }
  8507. if (GM_getValue("Check_up07_dot_net_links", false))
  8508. {
  8509. addFileHost(
  8510. "up07\.net\/\\w+",
  8511. 'name="method_free',
  8512. 'File Not Found',
  8513. 'optional--',
  8514. 'optional2--',
  8515. "//a[contains(@href,'up07.net')]");
  8516. }
  8517. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8518. {
  8519. addFileHost(
  8520. "fileupload\.pw\/\\w+",
  8521. 'value="Free"',
  8522. 'File Not Found',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'fileupload.pw')]");
  8526. }
  8527. if (GM_getValue("Check_4upld_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8531. 'alt="Download Now"|content="Download file">|btn-free-element',
  8532. '<title>Error|content="error|File not found',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8536. }
  8537. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8538. {
  8539. addFileHost(
  8540. "(?:.swoopshare)\\.com\/\\w+",
  8541. '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',
  8542. '<input type="file" name="f"',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'swoopshare.com')]"
  8546. );
  8547. }
  8548. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8549. {
  8550. addFileHost(
  8551. "cloudshares\.net\/\\w+",
  8552. '"method_free|"Low Speed Download|submit" name="go',
  8553. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8554. 'optional--',
  8555. 'optional2--',
  8556. "//a[contains(@href,'cloudshares.net')]"
  8557. );
  8558. }
  8559. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8560. {
  8561. addFileHost(
  8562. "allmyvideos\.net\/\\w+",
  8563. 'Continue to Video',
  8564. 'File Not Found|class="err">Removed for',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'allmyvideos.net')]"
  8568. );
  8569. } */
  8570. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8571. {
  8572. addFileHost(
  8573. "vodlocker\.com\/\\w+",
  8574. 'Proceed to video',
  8575. 'Not Found',
  8576. 'optional--',
  8577. 'optional2--',
  8578. "//a[contains(@href,'vodlocker.com')]"
  8579. );
  8580. }
  8581. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8582. {
  8583. addFileHost(
  8584. "vidbull\.com\/\\w+",
  8585. 'Verifying Video Request',
  8586. 'File Not Found',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'vidbull.com')]");
  8590. }
  8591. if (GM_getValue("Check_novamov_dot_com_links", false))
  8592. {
  8593. addFileHost(
  8594. "novamov\.com\/\\w+",
  8595. 'For version detection',
  8596. 'file no longer exists',
  8597. 'optional--',
  8598. 'optional2--',
  8599. "//a[contains(@href,'novamov.com')]"
  8600. );
  8601. }
  8602. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8603. {
  8604. addFileHost(
  8605. "filehoot\.com\/\\w+",
  8606. 'Continue to watch',
  8607. 'File Not Found',
  8608. 'optional--',
  8609. 'optional2--',
  8610. "//a[contains(@href,'filehoot.com')]"
  8611. );
  8612. }
  8613. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8614. {
  8615. addFileHost(
  8616. "stagevu\.com\/\\w+",
  8617. 'Video Info',
  8618. 'No video with the provided',
  8619. 'optional--',
  8620. 'optional2--',
  8621. "//a[contains(@href,'stagevu.com')]"
  8622. );
  8623. }
  8624. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8625. {
  8626. addFileHost(
  8627. "cloudtime\.to\/\\w+",
  8628. 'Download the video',
  8629. 'no longer exists',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'cloudtime.to')]"
  8633. );
  8634. }
  8635. if (GM_getValue("Check_streamin_dot_to_links", false))
  8636. {
  8637. addFileHost(
  8638. "streamin\.to\/\\w+",
  8639. 'id="btn_download',
  8640. 'Not Found|Copyright Infringement|File Deleted',
  8641. 'optional--',
  8642. 'optional2--',
  8643. "//a[contains(@href,'streamin.to')]"
  8644. );
  8645. }
  8646. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8647. {
  8648. addFileHost(
  8649. "videoweed\.es\/\\w+",
  8650. 'version detection',
  8651. 'no longer exists',
  8652. 'optional--',
  8653. 'optional2--',
  8654. "//a[contains(@href,'videoweed.es')]"
  8655. );
  8656. }
  8657. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8658. {
  8659. addFileHost(
  8660. "nowvideo\.sx\/\\w+",
  8661. 'Download this video|value="submit">Continue',
  8662. 'no longer exists',
  8663. 'optional--',
  8664. 'optional2--',
  8665. "//a[contains(@href,'nowvideo.sx')]"
  8666. );
  8667. }
  8668. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8669. {
  8670. addFileHost(
  8671. "thevideo\.me\/\\w+",
  8672. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8673. 'File Not Found',
  8674. 'optional--',
  8675. 'optional2--',
  8676. "//a[contains(@href,'thevideo.me')]"
  8677. );
  8678. }
  8679. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8680. {
  8681. addFileHost(
  8682. "gorillavid\.in\/\\w+",
  8683. 'Wait 5 seconds',
  8684. 'File Not Found',
  8685. 'optional--',
  8686. 'optional2--',
  8687. "//a[contains(@href,'gorillavid.in')]"
  8688. );
  8689. }
  8690. if (GM_getValue("Check_thefile_dot_me_links", false))
  8691. {
  8692. addFileHost(
  8693. "thefile\.me\/\\w+",
  8694. 'Choose free or',
  8695. '',
  8696. 'optional--',
  8697. 'optional2--',
  8698. "//a[contains(@href,'thefile.me')]"
  8699. );
  8700. }
  8701. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8702. {
  8703. addFileHost(
  8704. "vidzi\.tv\/\\w+",
  8705. 'video-embed-modal row',
  8706. 'File Not Found|file was deleted',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'vidzi.tv')]"
  8710. );
  8711. }
  8712. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8713. {
  8714. addFileHost(
  8715. "filenuke\.com\/\\w+",
  8716. 'Download File',
  8717. 'Earn with us',
  8718. 'optional--',
  8719. 'optional2--',
  8720. "//a[contains(@href,'filenuke.com')]"
  8721. );
  8722. }
  8723. if (GM_getValue("Check_vidto_dot_me_links", false))
  8724. {
  8725. addFileHost(
  8726. "vidto\.me\/\\w+",
  8727. 'Proceed to video',
  8728. 'Not Found',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'vidto.me')]"
  8732. );
  8733. }
  8734. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8735. {
  8736. addFileHost(
  8737. "vidspot\.net\/\\w+",
  8738. 'Duration|method_free',
  8739. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'vidspot.net')]"
  8743. );
  8744. } */
  8745. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8746. {
  8747. addFileHost(
  8748. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8749. 'Download File',
  8750. 'File Not Found',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8754. );
  8755. }
  8756. if (GM_getValue("Check_movpod_dot_in_links", false))
  8757. {
  8758. addFileHost(
  8759. "movpod\.in\/\\w+",
  8760. 'Continue',
  8761. 'File Not Found',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'movpod.in')]"
  8765. );
  8766. }
  8767. if (GM_getValue("Check_down4files_dot_com_links", false))
  8768. {
  8769. addFileHost(
  8770. "down4files\.com\/\\w+",
  8771. 'down_table.png',
  8772. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'down4files.com')]"
  8776. );
  8777. }
  8778. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8779. {
  8780. addFileHost(
  8781. "storefiles\.co\/\\w+",
  8782. 'btn_download',
  8783. 'No such file|>Error<|mqmaintitle">',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'storefiles.co')]"
  8787. );
  8788. }*/
  8789. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8790. {
  8791. addFileHost(
  8792. "filehost\.pw\/\\w+",
  8793. 'name="method_free',
  8794. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8795. 'optional--',
  8796. 'optional2--',
  8797. "//a[contains(@href,'filehost.pw')]"
  8798. );
  8799. }
  8800. if (GM_getValue("Check_uplea_dot_com_links", false))
  8801. {
  8802. addFileHost(
  8803. "uplea\.com\/\\w+",
  8804. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8805. 'expired link|ou est invalide',
  8806. 'optional--',
  8807. 'optional2--',
  8808. "//a[contains(@href,'uplea.com/dl')]",
  8809. true);
  8810. }
  8811. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8812. {
  8813. addFileHost(
  8814. "toutbox\.fr\/\\w+",
  8815. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8816. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8817. 'Serviço temporariamente indisponível',
  8818. 'optional2--',
  8819. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8820. );
  8821. }*/
  8822. if (GM_getValue("Check_openload_dot_co_links", false))
  8823. {
  8824. addFileHost(
  8825. "openload\.co\/\\w+",
  8826. 'id="downloadTimer">|button dlbutton',
  8827. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8828. 'optional--',
  8829. 'optional2--',
  8830. "//a[contains(@href,'openload.co')]"
  8831. );
  8832. }
  8833. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8834. {
  8835. addFileHost(
  8836. "lolabits\.es\/\\w+",
  8837. 'Descargar:',
  8838. '<title>Archivos de usuario',
  8839. 'Service Unavailable',
  8840. 'optional2--',
  8841. "//a[contains(@href,'lolabits.es')]"
  8842. );
  8843. }*/
  8844. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8845. {
  8846. addFileHost(
  8847. "alfafile\.net\/\\w+",
  8848. 'id="slow_download_btn',
  8849. 'class="error-box">',
  8850. 'optional--',
  8851. 'optional2--',
  8852. "//a[contains(@href,'alfafile.net')]"
  8853. );
  8854. }
  8855. if (GM_getValue("Check_multiup_dot_org_links", false))
  8856. {
  8857. addFileHost(
  8858. "multiup\\.(?:org|eu)\/\\w+",
  8859. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8860. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8861. 'optional--',
  8862. 'optional2--',
  8863. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8864. );
  8865. }
  8866. if (GM_getValue("Check_file_dot_al_links", false))
  8867. {
  8868. addFileHost(
  8869. "file\\.al",
  8870. 'method_free',
  8871. 'style="width:500px;text-align:left;">',
  8872. 'optional--',
  8873. 'optional2--',
  8874. "//a[contains(@href,'file.al')]"
  8875. );
  8876. }
  8877. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8878. {
  8879. addFileHost(
  8880. "devilshare\.net\/\\w+",
  8881. '<div class="large-12" id="download">',
  8882. '(Link: 0 Invalid)|File Not Found',
  8883. 'optional--',
  8884. 'optional2--',
  8885. "//a[contains(@href,'devilshare.net')]"
  8886. );
  8887. }
  8888. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8889. {
  8890. addFileHost(
  8891. "dailyuploads\.net\/\\w+",
  8892. 'id="downloadBtnClickOrignal',
  8893. '<div style="width:500px;text-align:left;">',
  8894. 'optional--',
  8895. 'optional2--',
  8896. "//a[contains(@href,'dailyuploads.net')]"
  8897. );
  8898. }
  8899. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8900. {
  8901. addFileHost(
  8902. "datoteke\.com\/\\w+",
  8903. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8904. '&nbsp;File has been removed',
  8905. 'optional--',
  8906. '<title>Error - Datoteke',
  8907. "//a[contains(@href,'datoteke.com')]"
  8908. );
  8909. }
  8910. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8911. {
  8912. addFileHost(
  8913. "sharehost\.eu\/\\w+",
  8914. '/?v=download_free&',
  8915. 'Errors occured|Wystąpiły błędy',
  8916. 'optional--',
  8917. 'optional2--',
  8918. "//a[contains(@href,'sharehost.eu')]"
  8919. );
  8920. }
  8921. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8922. {
  8923. addFileHost(
  8924. "pornfile\.cz",
  8925. 'Stáhnout soubor|Stáhnout pomalu',
  8926. 'Soubor byl smazán|Stránka nenalezena',
  8927. 'optional--',
  8928. 'optional2--',
  8929. "//a[contains(@href,'pornfile.cz')]"
  8930. );
  8931. }
  8932. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8933. {
  8934. addFileHost(
  8935. "pornoid\.cz\/\\w+",
  8936. 'class="btn btn-large btn-download',
  8937. 'Soubor byl smazán',
  8938. 'optional--',
  8939. 'optional2--',
  8940. "//a[contains(@href,'pornoid.cz')]"
  8941. );
  8942. }
  8943. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8944. {
  8945. addFileHost(
  8946. "file-share\.top\/\\w+",
  8947. 'btn-success btn-lg download',
  8948. 'Stránka neexistuje|404 Not Found',
  8949. 'optional--',
  8950. 'optional2--',
  8951. "//a[contains(@href,'file-share.top')]"
  8952. );
  8953. }
  8954. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8955. {
  8956. addFileHost(
  8957. "bitster\.cz\/",
  8958. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8959. 'section" content=""',
  8960. 'optional--',
  8961. 'optional2--',
  8962. "//a[contains(@href,'bitster.cz')]"
  8963. );
  8964. }
  8965. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8966. {
  8967. addFileHost(
  8968. "rapidu\.net\/\\w+",
  8969. 'onclick="downloadFreeFile',
  8970. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8971. 'optional--',
  8972. 'optional2--',
  8973. "//a[contains(@href,'rapidu.net')]"
  8974. );
  8975. }
  8976. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8977. {
  8978. addFileHost(
  8979. "dinoshare\.cz\/\\w+",
  8980. 'class="download-button"',
  8981. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8982. 'optional--',
  8983. 'optional2--',
  8984. "//a[contains(@href,'dinoshare.cz')]"
  8985. );
  8986. }
  8987. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8988. {
  8989. addFileHost(
  8990. "bytewhale\.com\/\\w+",
  8991. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8992. 'var rawest = "0 MB|Copyrights Claim</div>',
  8993. 'optional--',
  8994. 'This file is available for premium members only',
  8995. "//a[contains(@href,'bytewhale.com')]"
  8996. );
  8997. }
  8998. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  8999. {
  9000. addFileHost(
  9001. "rapidrar\.com\/\\w+",
  9002. 'value="Free Download',
  9003. '<div style="width:500px;text-align:left;">',
  9004. 'optional--',
  9005. 'optional--',
  9006. "//a[contains(@href,'rapidrar.com')]"
  9007. );
  9008. }
  9009. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9010. {
  9011. addFileHost(
  9012. "filesupload\.org\/\\w+",
  9013. '<a href="/download-or-watch/',
  9014. 'File not found',
  9015. 'optional--',
  9016. 'optional--',
  9017. "//a[contains(@href,'filesupload.org')]"
  9018. );
  9019. }
  9020. if (GM_getValue("Check_filecad_dot_com_links", false))
  9021. {
  9022. addFileHost(
  9023. "filecad\.com\/\\w+",
  9024. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9025. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9026. 'optional--',
  9027. 'optional--',
  9028. "//a[contains(@href,'filecad.com')]"
  9029. );
  9030. }
  9031. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9032. {
  9033. addFileHost(
  9034. "file.up09\.com\/\\w+",
  9035. 'name="method_free',
  9036. 'style="width:500px;text-align:left;">',
  9037. 'optional--',
  9038. 'optional--',
  9039. "//a[contains(@href,'file.up09.com')]"
  9040. );
  9041. }
  9042. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9043. {
  9044. addFileHost(
  9045. "lunaticfiles\.com\/\\w+",
  9046. 'name="method_free"',
  9047. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9048. 'optional--',
  9049. 'optional--',
  9050. "//a[contains(@href,'lunaticfiles.com')]"
  9051. );
  9052. }
  9053. if (GM_getValue("Check_upload_dot_af_links", false))
  9054. {
  9055. addFileHost(
  9056. "upload\.af\/\\w+",
  9057. 'id="method_free"',
  9058. '<h1>File Not Found</|Les causes possibles de cette erreur seraient|could not be found|est pas disponible|Le fichier que vous recherchez n|Datei konnte nicht gefunden werden|م يتم إيجاد الملف المطلوب , عذراً للإزعاج|nie zostal odnaleziony|ファイルが見つかりません',
  9059. 'optional--',
  9060. 'optional--',
  9061. "//a[contains(@href,'upload.af')]"
  9062. );
  9063. }
  9064. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9065. {
  9066. addFileHost(
  9067. "filedwon\.info\/\\w+",
  9068. 'name="method_free"',
  9069. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9070. 'optional--',
  9071. 'optional--',
  9072. "//a[contains(@href,'filedwon.info')]"
  9073. );
  9074. }
  9075. if (GM_getValue("Check_uplod_dot_it_links", false))
  9076. {
  9077. addFileHost(
  9078. "uplod\.it\/\\w+",
  9079. 'value="download2">|name="method_free',
  9080. '<Title>Download </Title>',
  9081. 'optional--',
  9082. 'optional--',
  9083. "//a[contains(@href,'uplod.it')]"
  9084. );
  9085. }
  9086. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9087. {
  9088. addFileHost(
  9089. "abelhas\.pt\/\\w+",
  9090. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9091. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9092. 'optional--',
  9093. 'optional--',
  9094. "//a[contains(@href,'abelhas.pt')]"
  9095. );
  9096. } */
  9097. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9098. {
  9099. addFileHost(
  9100. "disk.yandex\.com\/\\w+",
  9101. 'nb-button _nb-small-button',
  9102. 'error code|Nothing found',
  9103. 'optional--',
  9104. 'optional2--',
  9105. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9106. }
  9107. if (GM_getValue("Check_filespace_dot_com_links", false))
  9108. {
  9109. addFileHost(
  9110. "filespace\.com\/\\w+",
  9111. '"method_free',
  9112. '<div style="text-align:left;"><ul>|>File not found.<',
  9113. 'optional1--',
  9114. 'optional2--',
  9115. "//a[contains(@href,'filespace.com')]");
  9116. }
  9117. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9118. {
  9119. addFileHost(
  9120. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9121. 'name="downloadFile|id="downloadFile|value="Wait',
  9122. '<title>File not found</title>|>Error:<',
  9123. 'optional1--',
  9124. 'optional2--',
  9125. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9126. }
  9127. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9128. {
  9129. addFileHost(
  9130. "ncrypt\.in\/\\w+",
  9131. 'Sicherheitsabfrage:|Securitycheck:',
  9132. 'does not exist|existiert nicht',
  9133. 'optional1--',
  9134. 'optional2--',
  9135. "//a[contains(@href,'ncrypt.in')]");
  9136. }
  9137. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9138. {
  9139. addFileHost(
  9140. "jeodrive\.com\/\\w+",
  9141. 'btn-lg regular',
  9142. 'Not found',
  9143. 'optional1--',
  9144. 'optional2--',
  9145. "//a[contains(@href,'jeodrive.com')]");
  9146. }
  9147. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9148. {
  9149. addFileHost(
  9150. "myfiles\.onl\/\\w+",
  9151. 'value="Free"',
  9152. '<div style="width:500px;text-align:left;">',
  9153. 'optional1--',
  9154. 'optional2--',
  9155. "//a[contains(@href,'myfiles.onl')]");
  9156. }
  9157. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9158. {
  9159. addFileHost(
  9160. "uploadserv\.com\/\\w+",
  9161. 'color="red">http://uploadserv.com/',
  9162. 'content="Download File ">|<title>Download </title>',
  9163. 'optional1--',
  9164. 'optional2--',
  9165. "//a[contains(@href,'uploadserv.com')]");
  9166. }
  9167. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9168. {
  9169. addFileHost(
  9170. "keepshare\.net\/\\w+",
  9171. 'method_free',
  9172. '<div style="width:500px;text-align:left;">',
  9173. 'optional1--',
  9174. 'optional2--',
  9175. "//a[contains(@href,'keepshare.net')]");
  9176. }
  9177. if (GM_getValue("Check_oload_dot_net_links", false))
  9178. {
  9179. addFileHost(
  9180. "oload\.net\/\\w+",
  9181. '<font color="red">http://oload.net',
  9182. 'class="page-ttl">',
  9183. 'optional1--',
  9184. 'optional2--',
  9185. "//a[contains(@href,'oload.net')]");
  9186. }
  9187. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9188. {
  9189. addFileHost(
  9190. "filescdn\.com\/\\w+",
  9191. 'btn bg-green-40|btn_download',
  9192. 'icon-warning text-danger',
  9193. 'optional1--',
  9194. 'optional2--',
  9195. "//a[contains(@href,'filescdn.com')]");
  9196. }
  9197. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9198. {
  9199. addFileHost(
  9200. "bankupload\.com\/\\w+",
  9201. 'id="btn_download"|1.0 GB',
  9202. '<div style="width:500px;text-align:left;">',
  9203. 'optional1--',
  9204. ' GB',
  9205. "//a[contains(@href,'bankupload.com')]");
  9206. }
  9207. if (GM_getValue("Check_katfile_dot_com_links", false))
  9208. {
  9209. addFileHost(
  9210. "katfile\.com\/\\w+",
  9211. 'KB| MB|1.0 GB|id="method_free',
  9212. 'images/file_not_found.png"',
  9213. 'optional1--',
  9214. ' GB',
  9215. "//a[contains(@href,'katfile.com')]");
  9216. }
  9217. if (GM_getValue("Check_filesin_dot_space_links", false))
  9218. {
  9219. addFileHost(
  9220. "filesin\.space\/\\w+",
  9221. 'id="btn_download"',
  9222. 'class="err">',
  9223. 'optional1--',
  9224. 'optional2',
  9225. "//a[contains(@href,'filesin.space')]");
  9226. }
  9227. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9228. {
  9229. addFileHost(
  9230. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9231. 'download.php',
  9232. 'notfound|upload\\-suborov\\.php"',
  9233. 'optional--',
  9234. 'optional2--',
  9235. "//a[contains(@href,'upnito.sk')]"
  9236. );
  9237. }
  9238. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9239. {
  9240. addFileHost(
  9241. "alltu\.eu\/\\w+",
  9242. 'download-timer',
  9243. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9244. 'optional1--',
  9245. 'optional2',
  9246. "//a[contains(@href,'alltu.eu')]");
  9247. }
  9248. if (GM_getValue("Check_novafile_dot_com_links", false))
  9249. {
  9250. addFileHost(
  9251. "novafile\.com\/\\w+",
  9252. 'id="regular-download',
  9253. 'id="file-not-found',
  9254. 'optional1--',
  9255. 'id="premium-only',
  9256. "//a[contains(@href,'novafile.com')]");
  9257. }
  9258. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9259. {
  9260. addFileHost(
  9261. "uploadgig\.com\/\\w+",
  9262. 'btn-default',
  9263. 'File not found',
  9264. 'optional1--',
  9265. 'optional2',
  9266. "//a[contains(@href,'uploadgig.com')]");
  9267. }
  9268. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9269. {
  9270. addFileHost(
  9271. "mexashare\.com\/\\w+",
  9272. 'method_free',
  9273. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9274. 'optional1--',
  9275. 'optional2',
  9276. "//a[contains(@href,'mexashare.com')]");
  9277. }
  9278. if (GM_getValue("Check_daofile_dot_com_links", false))
  9279. {
  9280. addFileHost(
  9281. "daofile\.com\/\\w+",
  9282. 'class="captcha_code',
  9283. 'style="width:500px;text-align:left;">',
  9284. 'optional1--',
  9285. 'optional2',
  9286. "//a[contains(@href,'daofile.com')]");
  9287. }
  9288. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9289. {
  9290. addFileHost(
  9291. "imagenetz\.de\/\\w+",
  9292. 'id="download',
  9293. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9294. 'optional1--',
  9295. 'optional2',
  9296. "//a[contains(@href,'imagenetz.de')]");
  9297. }
  9298. if (GM_getValue("Check_uloz_dot_to_links", false))
  9299. {
  9300. addFileHost(
  9301. "uloz\.to",
  9302. 'limitedDownloadButton|Stáhnout pomalu',
  9303. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9304. 'optional1--',
  9305. 'optional2',
  9306. "//a[contains(@href,'uloz.to')]");
  9307. }
  9308. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9309. {
  9310. addFileHost(
  9311. "ulozto.net",
  9312. 'limitedDownloadButton|Stáhnout pomalu',
  9313. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9314. 'optional1--',
  9315. 'optional2',
  9316. "//a[contains(@href,'ulozto.net')]");
  9317. }
  9318. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9319. {
  9320. addFileHost(
  9321. "ulozto\.sk",
  9322. 'limitedDownloadButton|Stáhnout pomalu',
  9323. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9324. 'optional1--',
  9325. 'optional2',
  9326. "//a[contains(@href,'ulozto.sk')]");
  9327. }
  9328. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9329. {
  9330. addFileHost(
  9331. "ulozto\.cz",
  9332. 'limitedDownloadButton|Stáhnout pomalu',
  9333. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9334. 'optional1--',
  9335. 'optional2',
  9336. "//a[contains(@href,'ulozto.cz')]");
  9337. }
  9338. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9339. {
  9340. addFileHost(
  9341. "subyshare\.com\/\\w+",
  9342. 'id="method_free',
  9343. 'file was removed|class="err">|1s">404',
  9344. 'optional1--',
  9345. 'optional2',
  9346. "//a[contains(@href,'subyshare.com')]",
  9347. true);
  9348. }
  9349. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9350. {
  9351. addFileHost(
  9352. "fileshareup\.com\/\\w+",
  9353. 'download-timer|btn-free-element|content="Download file',
  9354. 'content="Error"|content="error|heading-1">Error<',
  9355. 'optional1--',
  9356. 'optional2',
  9357. "//a[contains(@href,'fileshareup.com')]");
  9358. }
  9359. if (GM_getValue("Check_mystore_dot_to_links", false))
  9360. {
  9361. addFileHost(
  9362. "mystore\.to\/\\w+",
  9363. 'Download File',
  9364. 'file not found',
  9365. 'optional1--',
  9366. 'optional2',
  9367. "//a[contains(@href,'mystore.to/dl')]");
  9368. }
  9369. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9370. {
  9371. addFileHost(
  9372. "usercloud\.net\/\\w+",
  9373. 'content="download|var seconds = 60|type="password',
  9374. 'content="error|report_file.html">',
  9375. 'optional1--',
  9376. 'optional2',
  9377. "//a[contains(@href,'usercloud.net')]");
  9378. }
  9379. if (GM_getValue("Check_workupload_dot_com_links", false))
  9380. {
  9381. addFileHost(
  9382. "workupload\.com\/\\w+",
  9383. 'content="Download|id="download"',
  9384. 'File not found|img/not-found.jpg|Error message',
  9385. 'optional1--',
  9386. 'optional2',
  9387. "//a[contains(@href,'workupload.com')]");
  9388. }
  9389. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9390. {
  9391. addFileHost(
  9392. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9393. 'class="download">',
  9394. 'class="error center',
  9395. 'optional1--',
  9396. 'optional2',
  9397. "//a[contains(@href,'storageserver.co.uk')]");
  9398. }
  9399. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9400. {
  9401. addFileHost(
  9402. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9403. '"kind": "file"',
  9404. '"error": "not_exists"',
  9405. 'optional1--',
  9406. 'optional2',
  9407. "//a[contains(@href,'cloud.mail.ru')]");
  9408. }
  9409. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9410. {
  9411. addFileHost(
  9412. "bdupload\.info\/\\w+",
  9413. 'class="downloadbtn">|id="downloadbtn"',
  9414. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9415. 'optional1--',
  9416. 'optional2',
  9417. "//a[contains(@href,'bdupload.info')]");
  9418. }
  9419. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9420. {
  9421. addFileHost(
  9422. "wayupload\.com\/\\w+",
  9423. 'class="nopay-btn gray"',
  9424. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9425. 'optional1--',
  9426. 'optional2',
  9427. "//a[contains(@href,'wayupload.com')]");
  9428. }
  9429. if (GM_getValue("Check_exbit_dot_net_links", false))
  9430. {
  9431. addFileHost(
  9432. "exbit\.net\/\\w+",
  9433. 'class="nopay-btn|href="/download/free/',
  9434. 'File not found',
  9435. 'optional1--',
  9436. 'optional2',
  9437. "//a[contains(@href,'exbit.net')]");
  9438. }
  9439. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9440. {
  9441. addFileHost(
  9442. "uploadocean\.com\/\\w+",
  9443. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9444. 'deleted.png"',
  9445. 'optional1--',
  9446. 'optional2',
  9447. "//a[contains(@href,'uploadocean.com')]");
  9448. }
  9449. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9450. {
  9451. addFileHost(
  9452. "fileflares\.com\/\\w+",
  9453. 'id="downloadbtn"',
  9454. '<div style="width:500px;text-align:left;">',
  9455. 'optional1--',
  9456. 'optional2',
  9457. "//a[contains(@href,'fileflares.com')]");
  9458. }
  9459. if (GM_getValue("Check_erafile_dot_com_links", false))
  9460. {
  9461. addFileHost(
  9462. "erafile\.com\/\\w+",
  9463. 'id="method_free',
  9464. '<div style="width:500px;text-align:left;">',
  9465. 'optional1--',
  9466. 'optional2',
  9467. "//a[contains(@href,'erafile.com')]");
  9468. }
  9469. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9470. {
  9471. addFileHost(
  9472. "suprafiles\.net\/\\w+",
  9473. 'name="method_free"',
  9474. 'File Not Found|style="width:1000px; text-align: left;">',
  9475. 'optional1--',
  9476. 'optional2',
  9477. "//a[contains(@href,'suprafiles.net')]");
  9478. }
  9479. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9480. {
  9481. addFileHost(
  9482. "upfiles\.net\/\\w+",
  9483. 'id="recaptcha2"|snail.png"',
  9484. 'Ten plik został usunięty.|style="margin-top:50px',
  9485. 'optional1--',
  9486. 'optional2',
  9487. "//a[contains(@href,'upfiles.net/f/')]");
  9488. }
  9489. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9490. {
  9491. addFileHost(
  9492. "dailyfiles\.net\/\\w+",
  9493. 'onclick="dwn',
  9494. '<title>Error',
  9495. 'optional1--',
  9496. 'optional2',
  9497. "//a[contains(@href,'dailyfiles.net')]");
  9498. }
  9499. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9500. {
  9501. addFileHost(
  9502. "littlebyte\.net\/\\w+",
  9503. '>Free download<|>Скачать медленно<',
  9504. 'images/dmca.png">',
  9505. 'optional1--',
  9506. 'optional2',
  9507. "//a[contains(@href,'littlebyte.net')]");
  9508. }
  9509. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9510. {
  9511. addFileHost(
  9512. "black\\-label\\.pro\/\\w+",
  9513. 'slow_download_button.png"|td><td title="',
  9514. 'STILL NEED CODE FOR DEAD LINKS',
  9515. 'optional1--',
  9516. 'optional2',
  9517. "//a[contains(@href,'black-label.pro')]");
  9518. }
  9519. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9520. {
  9521. addFileHost(
  9522. "temp\\-share\\.com\/\\w+",
  9523. 'publickey',
  9524. 'STILL NEED CODE FOR DEAD LINKS',
  9525. 'optional1--',
  9526. 'optional2',
  9527. "//a[contains(@href,'temp-share.com')]");
  9528. }
  9529. if (GM_getValue("Check_filesha_dot_com_links", false))
  9530. {
  9531. addFileHost(
  9532. "filesha\.com\/\\w+",
  9533. '>Download Free<',
  9534. 'STILL NEED CODE FOR DEAD LINKS',
  9535. 'optional1--',
  9536. 'optional2',
  9537. "//a[contains(@href,'filesha.com')]");
  9538. }
  9539. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9540. {
  9541. addFileHost(
  9542. "ausfile\.com\/\\w+",
  9543. 'class="slow-download',
  9544. 'File Not Found',
  9545. 'optional1--',
  9546. 'optional2',
  9547. "//a[contains(@href,'ausfile.com')]");
  9548. }
  9549. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9550. {
  9551. addFileHost(
  9552. "upfile\.mobi\/\\w+",
  9553. 'class="download_button"',
  9554. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9555. 'optional1--',
  9556. 'optional2',
  9557. "//a[contains(@href,'upfile.mobi')]");
  9558. }
  9559. if (GM_getValue("Check_share_dot_az_links", false))
  9560. {
  9561. addFileHost(
  9562. "share\.az\/\\w+",
  9563. 'id="btn_download"',
  9564. 'File Not Found|We are sorry',
  9565. 'optional1--',
  9566. 'optional2',
  9567. "//a[contains(@href,'share.az')]");
  9568. }
  9569. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9570. {
  9571. addFileHost(
  9572. "partage-facile\.com",
  9573. 'class="title"><strong>',
  9574. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9575. 'optional--',
  9576. 'optional2--',
  9577. "//a[contains(@href,'partage-facile.com')]");
  9578. }
  9579. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9580. {
  9581. addFileHost(
  9582. "uploadify\.net\/\\w+",
  9583. 'loading_small.gif"',
  9584. '<title>Error -',
  9585. 'optional1--',
  9586. 'optional2',
  9587. "//a[contains(@href,'uploadify.net')]");
  9588. }
  9589.  
  9590. }
  9591. //start here
  9592.  
  9593. //hosts with direct download, so they must be requested for headers only
  9594. function initFileHostsHeadersOnly()
  9595. {
  9596. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9597. {
  9598. var host = new Array(5);
  9599. host[0] = linkRegex;
  9600. host[1] = isAliveRegex;
  9601. host[2] = isDeadRegex;
  9602. host[4] = ispremRegex;
  9603. host[3] = xpathEx;
  9604. http_file_hosts_headers_only.push(host);
  9605. }
  9606. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9607. {
  9608. addFileHostHeadersOnly(
  9609. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9610. 'Connection: Keep-Alive',
  9611. 'Content-Length: 3857',
  9612. 'optional2',
  9613. "//a[contains(@href,'uloziste.com')]"
  9614. )
  9615. }
  9616. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9617. {
  9618. addFileHostHeadersOnly(
  9619. "filescdn\.com\/\\w+",
  9620. 'Connection: keep-alive',
  9621. 'Company</Title>',
  9622. 'optional2',
  9623. "//a[contains(@href,'filescdn.com')]"
  9624. )
  9625. } */
  9626. if (GM_getValue("Check_adrive_dot_com_links", false))
  9627. {
  9628. addFileHostHeadersOnly(
  9629. "adrive\\.com\/public\/\\w+",
  9630. 'Connection: keep-alive',
  9631. 'orig_ref=deleted',
  9632. 'optional2',
  9633. "//a[contains(@href,'adrive.com')]"
  9634. )
  9635. }
  9636. }
  9637.  
  9638. //CustomRules
  9639. //functions add...Host copied here
  9640. function addObsoleteHost(linkRegex, xpathEx)
  9641. {
  9642. var host = new Array(2);
  9643. host[0] = linkRegex;
  9644. host[1] = xpathEx;
  9645. http_file_hosts_obsolete.push(host);
  9646. }
  9647. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9648. {
  9649. var host = new Array(7);
  9650. host[0] = linkRegex;
  9651. host[1] = isAliveRegex;
  9652. host[2] = isDeadRegex;
  9653. host[3] = isUnavaRegex;
  9654. host[4] = xpathEx;
  9655. tryLoop ? host[5] = true : host[5] = false;
  9656. host[6] = ispremRegex;
  9657. http_file_hosts.push(host);
  9658. }
  9659. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9660. {
  9661. var host = new Array(5);
  9662. host[0] = linkRegex;
  9663. host[1] = isAliveRegex;
  9664. host[2] = isDeadRegex;
  9665. host[3] = xpathEx;
  9666. host[4] = ispremRegex;
  9667. http_file_hosts_headers_only.push(host);
  9668. }
  9669. //takes a fully built rules array and adds the rules to WARLC
  9670. function applyCustomRules(customRules)
  9671. {
  9672. if (!customRules) return;
  9673. var rules, r, i;
  9674. rules = customRules.rules;
  9675. for (i = 0 ; i < rules.length ; i++)
  9676. {
  9677. r = rules[i];
  9678. if (r.enabled)
  9679. {
  9680. switch (r.type)
  9681. {
  9682. case 'single':
  9683. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9684. break;
  9685. case 'headers':
  9686. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9687. break;
  9688. case 'obsolete':
  9689. addObsoleteHost(r.urlregex, r.xpath)
  9690. break;
  9691. }
  9692. }
  9693. }
  9694. }
  9695.  
  9696.  
  9697. function initFileHostsCustom()
  9698. {
  9699. if (Custom_rules && Custom_rules_text)
  9700. {
  9701. var msg = '';
  9702. if (newVersion)
  9703. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9704. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9705. msg = '60 or more days have passed since this notification.\n\n';
  9706. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9707. {
  9708. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9709. msg +=
  9710. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9711. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9712. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9713. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9714. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9715. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9716. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9717. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9718. setTimeout(function(){alert(msg)},0);
  9719. }
  9720. var customRules = parseCustomRules(Custom_rules_text);
  9721. if (customRules.warning || customRules.error)
  9722. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9723. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9724. JSON.stringify(customRules.info, null, ' '));
  9725. applyCustomRules(customRules);
  9726. }
  9727. }
  9728. //end of CustomRules processing
  9729.  
  9730.  
  9731.  
  9732. } //end of function start
  9733.  
  9734.  
  9735.  
  9736. function initClipBoardTools()
  9737. {
  9738. unsafeWindow.copyToClipboard = function(text)
  9739. {
  9740. try
  9741. {
  9742. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9743.  
  9744. var str = Components.classes["@mozilla.org/supports-string;1"].
  9745. createInstance(Components.interfaces.nsISupportsString);
  9746. if (!str) return false;
  9747.  
  9748. str.data = text;
  9749.  
  9750. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9751. createInstance(Components.interfaces.nsITransferable);
  9752. if (!trans) return false;
  9753.  
  9754. trans.addDataFlavor("text/unicode");
  9755. trans.setTransferData("text/unicode", str, text.length * 2);
  9756.  
  9757. var clipid = Components.interfaces.nsIClipboard;
  9758. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9759. if (!clip) return false;
  9760.  
  9761. clip.setData(trans, null, clipid.kGlobalClipboard);
  9762. } catch (e) {
  9763. GM_log("Error copyToClipboard : " + e);
  9764. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9765. }
  9766. }
  9767. }
  9768.  
  9769.  
  9770.  
  9771. //CustomRules
  9772.  
  9773. function escapeRegex(str)
  9774. {
  9775. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9776. }
  9777.  
  9778.  
  9779. //called internally from parseCustomRules.
  9780. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9781. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9782. function makeCustomRule(rule)
  9783. {
  9784. function makeMatchRegex(arrmatch)
  9785. {
  9786. return escapeRegex(arrmatch.join('\n'))
  9787. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9788. .replace(/\n/g,'|'); //join together
  9789. }
  9790. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9791. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9792. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9793. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9794. if (rule.baseurl)
  9795. {
  9796. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9797. for (i = 0 ; i < len ; i++)
  9798. {
  9799. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9800. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9801. {
  9802. 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'])
  9803. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9804. }
  9805. else //baseurl in the form: example.com/xxx
  9806. {
  9807. xpath.push(m[0]);
  9808. urlregex.push(escapeRegex(m[0]) + '.');
  9809. }
  9810. }
  9811. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9812. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9813. }
  9814. return rule;
  9815. } //function makeCustomRule
  9816.  
  9817.  
  9818. /*
  9819. Takes a string containing custom link checking rules.
  9820. Returns an object with fields:
  9821. info - contains notes, warnings and errors found during parsing
  9822. rules - the array of custom rules
  9823. note, warning, error - number of each of them found during parsing
  9824. Format of the input string:
  9825. One command per line. Command format: @keyword parameter
  9826. Keywords:
  9827. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9828. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9829. These keywords can be multiple (any of them will work):
  9830. @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...)
  9831. @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+
  9832. @alivelink, @deadlink - example links
  9833. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9834. Lines starting with // and empty lines are ignored.
  9835. Invalid parameters generate errors and those lines are skipped.
  9836. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9837. Example:
  9838. @customrule filehost
  9839. @baseurl filehost.com/download/
  9840. @baseurl filehost2. com net /d?=
  9841. @alivematch id="download">
  9842. @deadmatch File not found
  9843. @deadmatch File deleted
  9844. */
  9845. function parseCustomRules(rulesStr)
  9846. {
  9847. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9848. function addInfo(type, msg, ln){
  9849. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9850. customRules[type]++;
  9851. }
  9852. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9853. if (!lines) return null;
  9854. lines.push('@#customrule _'); //to save the last rule
  9855. var m, linecount = lines.length;
  9856. var keyword, param, constr, rule, err;
  9857. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9858. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9859. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9860. var constraints = {
  9861. 'baseurl': {
  9862. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9863. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9864. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9865. 'alivematch': {
  9866. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9867. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9868. 'deadmatch': {
  9869. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9870. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9871. 'unavamatch': {
  9872. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9873. 'alivelink': {
  9874. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9875. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9876. 'deadlink': {
  9877. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9878. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9879. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9880. };
  9881. for (linenum = 0 ; linenum < linecount ; linenum++)
  9882. {
  9883. //capturing groups: 1 23 4 5 6
  9884. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9885. if (m)
  9886. {
  9887. if (m[1] || !m[2])
  9888. continue; // ignore empty lines and lines starting with //
  9889. keyword = (m[4] || m[2]).toLowerCase();
  9890. param = m[6];
  9891. if (keyword == 'customrule')
  9892. {
  9893. //save the current rule if all required fields are provided
  9894. if (rule)
  9895. {
  9896. err = false;
  9897. $.each(constraints, function(kw, constraint){
  9898. var l, constr = constraint[rule.type];
  9899. if (constr)
  9900. {
  9901. l = rule[kw] ? rule[kw].length : 0;
  9902. if (l < constr.min || l > constr.max)
  9903. {
  9904. 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);
  9905. err = true;
  9906. }
  9907. }
  9908. });
  9909. if (!err)
  9910. customRules.rules.push(makeCustomRule(rule));
  9911. }
  9912. //start a new rule
  9913. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9914. {
  9915. rule = {
  9916. 'enabled': !m[3],
  9917. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9918. 'name': param
  9919. };
  9920. }
  9921. else
  9922. {
  9923. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9924. rule = null;
  9925. }
  9926. }
  9927. else //good line format, but keyword other than customrule
  9928. {
  9929. if (!rule)
  9930. {
  9931. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9932. continue;
  9933. }
  9934. if (constraints[keyword])
  9935. {
  9936. constr = constraints[keyword][rule.type];
  9937. if (constr)
  9938. {
  9939. if (constr.paramRE && !constr.paramRE.test(param))
  9940. {
  9941. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9942. continue;
  9943. }
  9944. }
  9945. else
  9946. {
  9947. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9948. continue;
  9949. }
  9950. }
  9951. //line OK, save
  9952. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9953. }
  9954. } //if (m)
  9955. else
  9956. addInfo('warning', 'Unknown line format. Line skipped.');
  9957. } //for loop
  9958. return customRules;
  9959. } //function parseCustomRules
  9960.  
  9961.  
  9962. /* ********************UPDATES********************
  9963.  
  9964. February 27, 2017
  9965. Version 1.3.7.0
  9966. fixed openload.co
  9967.  
  9968. February 26, 2017
  9969. Version 1.3.6.9
  9970. fixed drive.google.com
  9971. fixed uptobox.com (by dodoxp)
  9972.  
  9973. February 25, 2017
  9974. Version 1.3.6.8
  9975. added uploading.com to obsolete hosts
  9976.  
  9977. February 24, 2017
  9978. Version 1.3.6.7
  9979. cloudzilla.to added to obsolete hosts
  9980.  
  9981. February 23, 2017
  9982. Version 1.3.6.6
  9983. uploadify.net
  9984.  
  9985. February 22, 2017
  9986. Version 1.3.6.5
  9987. fixed katfile.com
  9988.  
  9989. February 12, 2017
  9990. Version 1.3.6.3
  9991. added junocloud.me to obsolete hosts
  9992.  
  9993. January 12, 2017
  9994. Version 1.3.6.2
  9995. added share.az & upfile.mobi
  9996.  
  9997. January 07, 2017
  9998. Version 1.3.6.1
  9999. added ausfile.com
  10000.  
  10001. January 05, 2017
  10002. Version 1.3.6.0
  10003. removed uploadable.ch from obsolete hosts
  10004.  
  10005. January 04, 2017e
  10006.  
  10007. December 31, 2016
  10008. Version 1.3.5.8
  10009. disabled on pizzaonline.dominos
  10010.  
  10011. December 31, 2016
  10012. Version 1.3.5.7
  10013. added uploadable.ch to obsolete hosts
  10014.  
  10015. December 30, 2016
  10016. Version 1.3.5.6
  10017. restored kingfiles.net
  10018.  
  10019. December 14, 2016
  10020. Version 1.3.5.5
  10021. fixed some 1fichier links not checking (yurii)
  10022.  
  10023. December 01, 2016
  10024. Version 1.3.5.4
  10025. added temp-share.com & filesha.com
  10026.  
  10027. November 30, 2016
  10028. Version 1.3.5.3
  10029. fixed mexashare.com not detecting some dead links
  10030.  
  10031. November 29, 2016
  10032. Version 1.3.5.2
  10033. added black-label.pro (live links only)
  10034.  
  10035. November 27, 2016
  10036. Version 1.3.5.1
  10037. made changes to filefactory
  10038.  
  10039. November 23, 2016
  10040. Version 1.3.5.0
  10041. added megashares.com to obsolete hosts
  10042. fixed letitbit not showing as obsolete
  10043. added littlebyte.net
  10044.  
  10045. November 22, 2016
  10046. Version 1.3.4.9
  10047. added code for live links to rapidgator
  10048. added dailyfiles.net
  10049. added upfiles.net
  10050. added multiup.eu
  10051.  
  10052. November 17, 2016
  10053. Version 1.3.4.8
  10054. fixed filefactory, again
  10055.  
  10056. November 17, 2016
  10057. Version 1.3.4.7
  10058. fixed filefactory folders
  10059.  
  10060. November 15, 2016
  10061. Version 1.3.4.6
  10062. fixed filefactory
  10063.  
  10064. November 14, 2016
  10065. Version 1.3.4.5
  10066. fixed rapidgator
  10067. fixed filefactory folders
  10068.  
  10069.  
  10070. November 13, 2016
  10071. Version 1.3.4.4
  10072. fixed problem with drive.google.com
  10073. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10074.  
  10075. November 06, 2016
  10076. Version 1.3.4.3
  10077. added to obsolete hosts (by love buzz)
  10078. 4up.me
  10079. a nonfiles.com
  10080. axifile.com
  10081. creafile.net
  10082. demo.ovh.eu
  10083. filesin.com
  10084. file swap.com
  10085. gulfup.com
  10086. hexupload.com
  10087. hugefiles.net
  10088. jumbofiles.com
  10089. kingfiles.net
  10090. letitbit.net
  10091. lolabits.es
  10092. nowdownload.ch
  10093. openfile.ru
  10094. radicalshare.com
  10095. remixshare.com
  10096. storefiles.co
  10097. toutbox.fr
  10098. uploadbaz.com
  10099. uploadingit.com
  10100. verzend.be
  10101. vidplay.net
  10102. vidxden.com
  10103. xfileload.com
  10104.  
  10105. November 04, 2016
  10106. Version 1.3.4.2
  10107. added french code for rapidgator premium links
  10108. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10109.  
  10110. November 03, 2016
  10111. Version 1.3.4.1
  10112. added Portuguese code for rapidgator premium links
  10113. added suprafiles.net
  10114.  
  10115. November 02, 2016
  10116. Version 1.3.4.0
  10117. fixed depositfiles not detecting depositfiles.com/de links
  10118.  
  10119. October 27, 2016
  10120. Version 1.3.3.9
  10121. fixed uploaded.net not detecting some dead links
  10122.  
  10123. October 24, 2016
  10124. Version 1.3.3.8
  10125. added more french code for upload.af dead links
  10126.  
  10127. October 23, 2016
  10128. Version 1.3.3.7
  10129. added french for upload.af dead links
  10130.  
  10131. October 17, 2016
  10132. Version 1.3.3.6
  10133. fixed error (by Yurii)
  10134.  
  10135. October 17, 2016
  10136. Version 1.3.3.5
  10137. fixed file.al (by Yurii)
  10138.  
  10139. October 16, 2016
  10140. Version 1.3.3.4
  10141. test
  10142.  
  10143. October 11, 2016
  10144. Version 1.3.3.3
  10145. fixed subyshare.com not detecting some dead links
  10146. fixed mexashare.com
  10147. fixed pornfile.cz
  10148.  
  10149. October 10, 2016
  10150. Version 1.3.3.2
  10151. added fileflares.com
  10152. added erafile.com
  10153. added loop to subyshare.com & rockfile.eu
  10154.  
  10155. September 26, 2016
  10156. Version 1.3.3.1
  10157. added uploadocean.com
  10158.  
  10159. September 25, 2016
  10160. Version 1.3.3.0
  10161. added exbit.net
  10162.  
  10163. September 25, 2016
  10164. Version 1.3.2.9
  10165. fixed uptobox
  10166. fixed google (by kubbbie)
  10167.  
  10168. September 23, 2016
  10169. Version 1.3.2.8
  10170. added danish to rapidgator
  10171.  
  10172. September 22, 2016
  10173. Version 1.3.2.7
  10174. added wayupload.com
  10175.  
  10176. September 18, 2016
  10177. Version 1.3.2.6
  10178. added Portuguese language to rapidgator
  10179.  
  10180. September 15, 2016
  10181. Version 1.3.2.5
  10182. added languages to rapidgator
  10183. french
  10184. german
  10185. spanish
  10186. Italian
  10187. russian
  10188. polish
  10189. dutch
  10190. czech
  10191. chinese
  10192. japanese
  10193.  
  10194. September 14, 2016
  10195. Version 1.3.2.4
  10196. fixed spaceforfiles.com
  10197.  
  10198. September 09, 2016
  10199. Version 1.3.2.3
  10200. added bdupload.info
  10201. added german & deutsch language to workupload.com
  10202.  
  10203. September 08, 2016
  10204. Version 1.3.2.2
  10205. added...
  10206. storageserver.co.uk
  10207. cloud.mail.ru
  10208. fixed depositfiles
  10209.  
  10210. September 08, 2016
  10211. Version 1.3.2.1
  10212. added workupload.com
  10213.  
  10214. September 04, 2016
  10215. Version 1.3.2.0
  10216. made changes to euroshare.eu
  10217.  
  10218. September 03, 2016
  10219. Version 1.3.1.9
  10220. added usercloud.net
  10221. made changes to euroshare.eu
  10222.  
  10223. August 31, 2016
  10224. Version 1.3.1.8
  10225. fixed uptobox.com
  10226.  
  10227. August 30, 2016
  10228. Version 1.3.1.7
  10229. made changes to euroshare.eu
  10230.  
  10231. August 29, 2016
  10232. Version 1.3.1.6
  10233. made changes to data.hu
  10234.  
  10235. August 29, 2016
  10236. Version 1.3.1.5
  10237. fixed euroshare.eu not detecting dead links
  10238.  
  10239. August 23, 2016
  10240. Version 1.3.1.4
  10241. added ulozto.sk
  10242. added ulozto.cz
  10243.  
  10244. August 19, 2016
  10245. Version 1.3.1.3
  10246. fixed euroshare.eu
  10247. fixed 2share.com
  10248.  
  10249. August 17, 2016
  10250. Version 1.3.1.2
  10251. added french code for 1fichier
  10252.  
  10253. August 16, 2016
  10254. Version 1.3.1.1
  10255. fix for 1fichier folder links, by yurii
  10256.  
  10257. August 15, 2016
  10258. Version 1.3.1.0
  10259. another fix for 1fichier
  10260. added mystore.to
  10261.  
  10262. August 12, 2016
  10263. Version 1.3.0.9
  10264. fixed 1fichier
  10265.  
  10266. August 01, 2016
  10267. Version 1.3.0.8
  10268. fixed tezfiles.com not detecting some premium links
  10269.  
  10270. July 24, 2016
  10271. Version 1.3.0.7
  10272. added fileshareup.com
  10273.  
  10274. July 17, 2016
  10275. Version 1.3.0.6
  10276. added subyshare.com
  10277.  
  10278. july 10, 2016
  10279. Version 1.3.0.5
  10280. fixed ulozto.net
  10281.  
  10282. july 07, 2016
  10283. Version 1.3.0.4
  10284. fixed uloz.to
  10285.  
  10286. july 07, 2016
  10287. Version 1.3.0.3
  10288. added imagenetz.de
  10289.  
  10290. June 23, 2016
  10291. Version 1.3.0.2
  10292. excluded nexcess.net
  10293.  
  10294. June 20, 2016
  10295. Version 1.3.0.1
  10296. added daofile.com
  10297.  
  10298. June 16, 2016
  10299. Version 1.3.0.0
  10300. added mexashare.com
  10301.  
  10302. June 16, 2016
  10303. Version 1.2.9.9
  10304. added novafile.com
  10305. added uploadgig.com
  10306.  
  10307. June 15, 2016
  10308. Version 1.2.9.8
  10309. fixed upload.af
  10310.  
  10311. June 10, 2016
  10312. Version 1.2.9.7
  10313. added alltu.eu
  10314.  
  10315. June 09, 2016
  10316. Version 1.2.9.6
  10317. added code for french language to rapidgator.net & rg.to
  10318.  
  10319. June 04, 2016
  10320. Version 1.2.9.5
  10321. added upnito.sk
  10322.  
  10323. May 31, 2016
  10324. Version 1.2.9.4
  10325. fixed mega.co (by yurii)
  10326.  
  10327. May 31, 2016
  10328. Version 1.2.9.3
  10329. code cleanup
  10330.  
  10331. May 27, 2016
  10332. Version 1.2.9.2
  10333. added filesin.space
  10334.  
  10335. May 27, 2016
  10336. Version 1.2.9.1
  10337. added
  10338. filescdn.com
  10339. bankupload.com
  10340. katfile.com
  10341.  
  10342. May 18, 2016
  10343. Version 1.2.9.0
  10344. added warped.co to obsolete hosts
  10345.  
  10346. May 17, 2016
  10347. Version 1.2.8.9
  10348. fixed mega.nz
  10349.  
  10350. May 16, 2016
  10351. Version 1.2.8.8
  10352. added to obsolete hosts
  10353. fileband.com
  10354. filecloud.cc
  10355. filesmelt.com
  10356. goldbytez.com
  10357. hulkshare.com
  10358. idup.in
  10359. loudupload.net
  10360. muchshare.net
  10361. myupload.dk
  10362. nekaka.com
  10363. netkups.com
  10364. plunder.com
  10365. uploads.xxx
  10366. uploadspace.pl
  10367. xkeepfile.com
  10368.  
  10369. May 16, 2016
  10370. Version 1.2.8.7
  10371. added upnito.sk to obsolete hosts
  10372.  
  10373. May 15, 2016
  10374. Version 1.2.8.6
  10375. fixed uploading.site
  10376.  
  10377. May 15, 2016
  10378. Version 1.2.8.5
  10379. added oload.net
  10380.  
  10381. May 14, 2016
  10382. Version 1.2.8.4
  10383. added uploading.site
  10384.  
  10385. May 13, 2016
  10386. Version 1.2.8.3
  10387. added uploadc.ch
  10388. fixed vidspot.net
  10389.  
  10390. May 13, 2016
  10391. Version 1.2.8.2
  10392. added keepshare.net
  10393.  
  10394. May 11, 2016
  10395. Version 1.2.8.1
  10396. added uploadserv.com
  10397.  
  10398. May 09, 2016
  10399. Version 1.2.8.0
  10400. fixed upstore.net & upsto.re
  10401. added 24uploading.com to obsolete hosts
  10402.  
  10403. May 06, 2016
  10404. Version 1.2.7.9
  10405. added storagon.com to obsolete hosts
  10406. fixed worldbytez.com
  10407.  
  10408. May 02, 2016
  10409. Version 1.2.7.8
  10410. added myfiles.onl
  10411.  
  10412. april 28, 2016
  10413. Version 1.2.7.7
  10414. fixed bytewhale.com
  10415.  
  10416. april 27, 2016
  10417. Version 1.2.7.6
  10418. fixed rapidgator not detecting some premium links.
  10419.  
  10420. april 27, 2016
  10421. Version 1.2.7.5
  10422. added jeodrive.com
  10423.  
  10424. april 26, 2016
  10425. Version 1.2.7.4
  10426. added sanshare.com to obsolete hosts
  10427.  
  10428. april 26, 2016
  10429. Version 1.2.7.3
  10430. fixed vidspot.net
  10431.  
  10432. april 26, 2016
  10433. Version 1.2.7.2
  10434. added upx.nz
  10435.  
  10436. april 25, 2016
  10437. Version 1.2.7.1
  10438. added rapidfilehost.com to obsolete hosts
  10439. fixed bitster.cz
  10440.  
  10441. april 12, 2016
  10442. Version 1.2.7.0
  10443. fixed rapidgator not detecting some premium links.
  10444.  
  10445. april 11, 2016
  10446. Version 1.2.6.9
  10447. changed code for ncrypt.in
  10448.  
  10449. april 07, 2016
  10450. Version 1.2.6.8
  10451. added fileinz.com to obsolete hosts.
  10452.  
  10453. april 06, 2016
  10454. Version 1.2.6.7
  10455. added sharingmaster.com to obsolete hosts.
  10456.  
  10457. april 05, 2016
  10458. Version 1.2.6.6
  10459. added 4upfiles.com & elffiles.com to obsolete hosts
  10460.  
  10461. april 03, 2016
  10462. Version 1.2.6.5
  10463. updates to configuration page
  10464.  
  10465. March 31, 2016
  10466. Version 1.2.6.4
  10467. added code for tampermonkey 4.0 compatibility
  10468.  
  10469. March 31, 2016
  10470. Version 1.2.6.3
  10471. fixed uloz.to
  10472. fixed copy dead links to clipboard feature
  10473. added copy live links to clipboard feature.
  10474.  
  10475. March 24, 2016
  10476. Version 1.2.6.2
  10477. changed made to nitroflare. (yurri)
  10478.  
  10479. March 20, 2016
  10480. Version 1.2.6.1
  10481. fixed rapidgator
  10482. fixed dfiles
  10483. fixed dl.free.fr
  10484. fixed nitroflare.com (Fixed by Yurii)
  10485.  
  10486. March 15, 2016
  10487. Version 1.2.6.0
  10488. fixed rapidgator.net
  10489. fixed uploaded.net
  10490.  
  10491. March 13, 2016
  10492. Version 1.2.5.9
  10493. added
  10494. uploads.ws
  10495. upl.me
  10496. clicknupload.link
  10497. added fileover.net to obsolete hosts
  10498. fixed kingfiles.net
  10499.  
  10500. March 09, 2016
  10501. Version 1.2.5.8
  10502. added kingfiles.net to obsolete hosts
  10503. fixed 4upld.com/expressleech.com
  10504.  
  10505. March 08, 2016
  10506. Version 1.2.5.7
  10507. fixed solidfiles.com
  10508.  
  10509. March 01, 2016
  10510. Version 1.2.5.6
  10511. added filespace.com
  10512. fixed depositfiles (by yurii)
  10513.  
  10514. February 29, 2016
  10515. Version 1.2.5.5
  10516. made change to keep2share
  10517.  
  10518. February 28, 2016
  10519. Version 1.2.5.4
  10520. removed down4files.com from obsolete hosts.
  10521.  
  10522. February 26, 2016
  10523. Version 1.2.5.3
  10524. fixed userscloud.com
  10525.  
  10526. February 24, 2016
  10527. Version 1.2.5.2
  10528. added yandex.com
  10529. fixed datafile.com
  10530.  
  10531. February 22, 2016
  10532. Version 1.2.5.1
  10533. added bigfile.to
  10534.  
  10535. February 20, 2016
  10536. Version 1.2.5.0
  10537. added abelhas.pt
  10538.  
  10539. February 18, 2016
  10540. Version 1.2.4.9
  10541. made change to uptobox
  10542.  
  10543. February 17, 2016
  10544. Version 1.2.4.8
  10545. fixed yadi.sk
  10546.  
  10547. February 16, 2016
  10548. Version 1.2.4.7
  10549. fixed datafile.com
  10550. fixed filecad.com
  10551. added filecore.co & filestorm.to to obsolete hosts
  10552. added upload.af, filedwon.in & uplod.it
  10553.  
  10554. February 15, 2016
  10555. Version 1.2.4.6
  10556. fixed kumpulbagi.id
  10557. added sangfile.com to obsolete hosts
  10558.  
  10559. February 14, 2016
  10560. Version 1.2.4.5
  10561. fixed yandex.ru
  10562.  
  10563. February 13, 2016
  10564. Version 1.2.4.4
  10565. added lunaticfiles.com.
  10566.  
  10567. February 09, 2016
  10568. Version 1.2.4.3
  10569. added file.up09.com.
  10570.  
  10571. February 09, 2016
  10572. Version 1.2.4.2
  10573. tezfiles.com premium links now detected.
  10574.  
  10575. February 09, 2016
  10576. Version 1.2.4.1
  10577. added seenupload.com to obsolete hosts
  10578. fixed 180upload.com to show obsolete
  10579.  
  10580. February 08, 2016
  10581. Version 1.2.4.0
  10582. added tusfiles.com
  10583. added filesupload.org
  10584. added gigasize.com
  10585. added filecad.com
  10586. fixed filecloud.io
  10587. added uploadnet.co to obsolete hosts
  10588.  
  10589. February 07,2016
  10590. Vession 1.2.3.9
  10591. fixed depositfiles.com folders
  10592. fixed turbobit.net folders
  10593.  
  10594. February 06, 2016
  10595. Version 1.2.3.8
  10596. fixed 1fichier false dead links
  10597.  
  10598. February 04, 2106
  10599. Version 1.2.3.7
  10600. added geupload and lenfile to obsolete hosts
  10601. fixed kyc.pm/depfile
  10602.  
  10603. February 03, 2016
  10604. Version 1.2.3.6
  10605. fixed some nitroflare.com dead links not being detected
  10606.  
  10607. February 01, 2016
  10608. Version 1.2.3.5
  10609. script moved to new site
  10610.  
  10611. January 20, 2016
  10612. Version 1.2.3.3
  10613. fixed some rapidgator premium link not being detected
  10614.  
  10615. January 17, 2016
  10616. Version 1.2.3.2
  10617. added bytewhale.com
  10618. added rapidrar.com
  10619.  
  10620. Version 1.2.3.1
  10621. added 180upload.com to obsolete hosts
  10622. fixed hellspy.com
  10623. added dinoshare.cz,
  10624.  
  10625. January 13, 2016
  10626. Version 1.2.3.0
  10627. added rapidu.net
  10628. added uploadboy.me
  10629. fixed euroshare.eu
  10630.  
  10631. January 12, 2016
  10632. Version 1.2.2.9
  10633. added kb.simple-aja.info
  10634.  
  10635. January 10, 2016
  10636. Version 1.2.2.8
  10637. made changes to fastshare.cz
  10638.  
  10639. January 10, 2016
  10640. Version 1.2.2.7
  10641. fixed uptobox.com
  10642.  
  10643. January 09, 2016
  10644. Version 1.2.2.6
  10645. datoteke.com now detects premium links
  10646. fixed turbobit.net
  10647. fixed uptobox.com
  10648. added pornfile.cz
  10649. added pornoid.cz
  10650. added file-share.top
  10651. added bitster.cz
  10652.  
  10653. January 05, 2016
  10654. Version 1.2.2.5
  10655. fixed salefiles.com
  10656. fixed ozofile.com
  10657.  
  10658. January 04, 2016
  10659. Version 1.2.2.4
  10660. added sharehost.eu
  10661.  
  10662. December 30, 2015
  10663. Version 1.2.2.3
  10664. added tezfiles.com
  10665.  
  10666. December 28, 2015
  10667. Version 1.2.2.2
  10668. fixed some k2s & fboom dead link not getting detected
  10669. fixed some k2s premium links not getting detected.
  10670. fixed ssh.yt not detecting some dead links
  10671. fixed ncrypt.in dead links showing yellow
  10672.  
  10673. December 20, 2015
  10674. Version 1.2.2.0
  10675. added datoteke.com
  10676.  
  10677. December 19, 2015
  10678. Version 1.2.1.9
  10679. added secured.in & linksave.in to obsolete hosts
  10680.  
  10681. December 17, 2015
  10682. Version 1.2.1.8
  10683. added german for dead links to secureupload.eu.
  10684.  
  10685. December 17, 2015
  10686. Version 1.2.1.7
  10687. added french for dead links to secureupload.eu.
  10688. fixed problem with tooltip display.
  10689.  
  10690. December 13, 2015
  10691. Version 1.2.1.6
  10692. added netload.me & fileparadox.in to obsolete hosts
  10693.  
  10694. December 09, 2015
  10695. Version 1.2.1.5
  10696. added rapidsonic.com & fileparadox.com to obsolete hosts
  10697.  
  10698. December 04, 2015
  10699. Version 1.2.1.4
  10700. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10701.  
  10702. December 03, 2015
  10703. Version 1.2.1.3
  10704. added dailyuploads.net
  10705.  
  10706. December 02, 2015
  10707. Version 1.2.1.2
  10708. fixed hitfile.net
  10709. fixed kingfiles.net
  10710.  
  10711. November 30, 2015
  10712. Version 1.2.1.1
  10713. added filepost.com to obsolete hosts
  10714. added devilshare.net
  10715.  
  10716. November 28, 2015
  10717. Version 1.2.1.0
  10718. fixed datafile.com not detecting some premium links.
  10719.  
  10720. November 25, 2015
  10721. Version 1.2.0.9
  10722. fixed filejoker.net
  10723. fixed toutbox.fr
  10724. fixed nowvideo.sx
  10725.  
  10726. November 24, 2015
  10727. Version 1.2.0.8
  10728. fixed openload.io
  10729.  
  10730. November 20, 2015
  10731. Version 1.2.0.7
  10732. //added file.al
  10733. //fixed nitroflare.com false live links
  10734. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10735.  
  10736. November 17, 2015
  10737. Version 1.2.0.6
  10738. added clicknupload.me
  10739.  
  10740. November 09, 2015
  10741. Version 1.2.0.5
  10742. fixed some depfile premium links not being detected
  10743.  
  10744. November 08, 2015
  10745. Version 1.2.0.4
  10746. fixed some rapidgator premium links not being detected
  10747. fixed doraupload.com
  10748.  
  10749. November 08, 2015
  10750. Version 1.2.0.3
  10751. fixed uploaded false premium
  10752.  
  10753. November 07, 2015
  10754. Version 1.2.0.2
  10755. fixed redbunker.net
  10756.  
  10757. November 05, 2015
  10758. Version 1.2.0.1
  10759. fixed app.box.com
  10760. added multiup.org (does not detect all dead links)
  10761.  
  10762. November 01, 2015
  10763. Version 1.2.0.0
  10764. added more languages to rockfile and 1fichier
  10765.  
  10766. November 01, 2015
  10767. Version 1.1.9.9
  10768. fixed rockfile.eu
  10769. changed 1fichier code (Thanks yurri)
  10770. added to obsolete hosts... (Thanks Love Buzz)
  10771. burnupload.com
  10772. cramit.in
  10773. cramitin.net
  10774. down4files.com
  10775. edoc.com
  10776. jumbofile.net
  10777. krotix.net
  10778. migahost.com
  10779. movreel.com
  10780. netload.in
  10781. newfileland.com
  10782. quickshare.cz
  10783.  
  10784. October 30, 2015
  10785. Version 1.1.9.8
  10786. added alfafile.net
  10787.  
  10788. October 26, 2015
  10789. Version 1.1.9.7
  10790. changed datafile.com and uplea.com
  10791. added lolabits.es
  10792.  
  10793. October 26, 2015
  10794. Version 1.1.9.6
  10795. added toutbox.fr
  10796.  
  10797. October 25, 2015
  10798. Version 1.1.9.5
  10799. fixed counter error
  10800.  
  10801. October 25, 2015
  10802. Version 1.1.9.4
  10803. changed uptobox.com code
  10804.  
  10805. October 21, 2015
  10806. Version 1.1.9.3
  10807. fixed uptobox.com
  10808.  
  10809. October 20, 2015
  10810. Version 1.1.9.2
  10811. bug fixes and new method of detecting premium links.
  10812.  
  10813. October 15, 2015
  10814. Version 1.1.9.1
  10815. fixed hugefiles.net false premium
  10816. changed uptobox.com code
  10817.  
  10818. October 06, 2015
  10819. Version 1.1.9.0
  10820. fixed filefactory
  10821. fixed rockfile false premium
  10822. keep2share & fileboom now detect premium links (fixed by yurii)
  10823.  
  10824. October 01, 2015
  10825. Version 1.1.8.9
  10826. fixed free.fr false premium
  10827. fixed thevideo.me false premium
  10828.  
  10829. September 28, 2015
  10830. Version 1.1.8.8
  10831. added uplea.com and openload.co
  10832.  
  10833. September 27, 2015
  10834. Version 1.1.8.7
  10835. fixed fileparadox.in false premium
  10836. added kingfiles.net to obsolete hosts
  10837. removed inafile.com from obsolete hosts
  10838.  
  10839. September 22, 2015
  10840. Version 1.1.8.6
  10841. fixed nitroflare false premium
  10842.  
  10843. September 22, 2015
  10844. Version 1.1.8.5
  10845. fixed userscloud.com false premium
  10846. fixed usersfiles.com false premium
  10847. changed arabloads.com to arabloads.net
  10848. changed nowdownloads.eu to nowdownloads.ch
  10849.  
  10850. September 21, 2015
  10851. Version 1.1.8.3
  10852. added ryushare.com to obsolete hosts.
  10853.  
  10854. September 20, 2015
  10855. Version 1.1.8.2
  10856. fixed nitroflare not showing premium links
  10857. added down4files.com,storfiles.co,filehost.pw
  10858.  
  10859. September 16, 2015
  10860. Version 1.1.8.1
  10861. added crisshare.com to obsolete hosts
  10862. fixed filemoney.com false premium
  10863. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10864.  
  10865. September 14, 2015
  10866. Version 1.1.8.0
  10867. added to obsolete hosts...
  10868. sharebeast.com
  10869. tufiles.ru
  10870.  
  10871. September 12, 2015
  10872. Version 1.1.7.9
  10873. fixed rghost.net false premium
  10874. fixed unlimitzone.com false premium
  10875. fixed turbobit.net false live link
  10876.  
  10877. September 11, 2015
  10878. Version 1.1.7.8
  10879. Fixed filefactory.com false premium.
  10880.  
  10881. September 07, 2015
  10882. Version 1.1.7.7
  10883. fixed "depositfiles.com/en/files" links not checking
  10884.  
  10885. September 06, 2015
  10886. Version 1.1.7.6
  10887. added French code for 1fichier
  10888.  
  10889. August 29, 2015
  10890. Version 1.1.7.5
  10891. fixed depositfiles
  10892. fixed mega.co.nz/mega.nz
  10893. (fixed by yurii)
  10894.  
  10895. August 23, 2015
  10896. Version 1.1.7.4
  10897. Fixed uploadrocket (by yurii)
  10898.  
  10899. August 20, 2015
  10900. Version 1.1.7.3
  10901. fixed depfile.com false premium
  10902. fixed 1fichier false premium
  10903. fixed rapidgator false premium
  10904.  
  10905. August 08, 2015
  10906. Version 1.1.7.1
  10907. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10908.  
  10909. August 07, 2015
  10910. Version 1.1.7.0
  10911. fixed...
  10912. streamin.to
  10913. thefile.me
  10914. vidzi.tv
  10915. added...
  10916. filenuke.com
  10917. vidto.me
  10918. vidspot.net
  10919. sharesix.com
  10920. sharesix.net
  10921. movpod.in,
  10922.  
  10923. August 07, 2015
  10924. Version 1.1.6.9 added...
  10925. thefile.me
  10926. vidzi.tv
  10927. videoweed.es
  10928. vodlocker.com
  10929. nowvideo.sx
  10930. cloudtime.to
  10931. thevideo.me
  10932. vidbull.com
  10933. allmyvideos.net
  10934. novamov.com
  10935. filehoot.com
  10936. stagevu.com
  10937. gorillavid.in
  10938. streamin.to
  10939.  
  10940. August 02, 2015
  10941. Version 1.1.6.8
  10942. added cloudshares.net
  10943.  
  10944. August 01, 2015
  10945. Version 1.1.6.7
  10946. fixed depfile redirectors false premium
  10947.  
  10948. July 31, 2015
  10949. Version 1.1.6.6
  10950. fixed depfile.com false premium
  10951. */