W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.3
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.7.3 March 30, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "uploads.to",
  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. "black-label.pro",
  402. "4up.me",
  403. "anonfiles.com",
  404. "axifile.com",
  405. "creafile.net",
  406. "cloudzilla.to",
  407. "demo.ovh.eu",
  408. "filesin.com",
  409. "fileswap.com",
  410. "junocloud.me",
  411. "gulfup.com",
  412. "hexupload.com",
  413. "secureupload.eu",
  414. "hugefiles.net",
  415. "jumbofiles.com",
  416. "letitbit.net",
  417. "lolabits.es",
  418. "nowdownload.ch",
  419. "openfile.ru",
  420. "radicalshare.com",
  421. "remixshare.com",
  422. "storefiles.co",
  423. "toutbox.fr",
  424. "uploadbaz.com",
  425. "uploadingit.com",
  426. "uploading.com",
  427. "verzend.be",
  428. "vidplay.net",
  429. "vidxden.com",
  430. "xfileload.com",
  431. "warped.co",
  432. "xkeepfile.com",
  433. "abelhas.pt",
  434. "uploadspace.pl",
  435. "allmyvideos.net",
  436. "uploads.xxx",
  437. "netkups.com",
  438. "nekaka.com",
  439. "vidspot.net",
  440. "myupload.dk",
  441. "muchshare.net",
  442. "loudupload.net",
  443. "idup.in",
  444. "hulkshare.com",
  445. "goldbytez.com",
  446. "filesmelt.com",
  447. "fileband.com",
  448. "uloz.cz",
  449. "secured.in",
  450. "rapidfilehost.com",
  451. "fileover.net",
  452. "fileinz.com",
  453. "linksave.in",
  454. "seenupload.com",
  455. "sangfile.com",
  456. "filepost.com|fp.io",
  457. "sharingmaster.com ",
  458. "24uploading.com",
  459. "storagon.com",
  460. "sanshare.com",
  461. "filestorm.to",
  462. "uploadnet.co",
  463. "180upload.com",
  464. "rapidsonic.com",
  465. "fileparadox.com",
  466. "4upfiles.com",
  467. "geupload.com",
  468. "lenfile.com",
  469. "fileparadox.in",
  470. "uploadhero.co",
  471. "uploadhero.com",
  472. "newfileland.com",
  473. "quickshare.cz",
  474. "elffiles.com",
  475. "netload.in",
  476. "netload.me",
  477. "movreel.com",
  478. "migahost.com",
  479. "krotix.net",
  480. "jumbofile.net",
  481. "edoc.com",
  482. "cramit.in|cramitin.net",
  483. "freakshare.com",
  484. "burnupload.com|burnupload.ihiphop.com",
  485. "freakshare.net",
  486. "daj.to",
  487. "bl.st",
  488. "2drive.net",
  489. "ryushare.com",
  490. "crisshare.com",
  491. "tufiles.ru",
  492. "uncapped-downloads.com",
  493. "sockshare.com",
  494. "ddlstorage.com",
  495. "dataport.cz",
  496. "dizzcloud.com",
  497. "sharebeast.com",
  498. "stahovadlo.cz",
  499. "shared.com",
  500. "storage.to",
  501. "putlocker.com",
  502. "lumfile.com",
  503. "lumfile.se",
  504. "lumfile.eu",
  505. "firedrive.com",
  506. "fileshare.in.ua",
  507. "filecore.co.nz",
  508. "filecore.co",
  509. "iskladka.cz",
  510. "file-rack.com",
  511. "fast-load.net",
  512. "subory.sk",
  513. "bigandfree.com",
  514. "fileop.com",
  515. "mujsoubor.cz",
  516. "sendfile.to",
  517. "superfastfile.com",
  518. "quickyshare.com",
  519. "duckload.com",
  520. "uploadstore.net",
  521. "meinupload.com",
  522. "dualshare.com",
  523. "2xupload.to|2xupload.de",
  524. "oxedion.com",
  525. "uploadline.com",
  526. "dll.bz",
  527. "movieshare.in",
  528. "milledrive.com",
  529. "quickupload.net",
  530. "safelink.in",
  531. "metadivx.com",
  532. "divxlink.com",
  533. "uploadrack.com",
  534. "teradepot.com",
  535. "dataup.to",
  536. "upit.to",
  537. "driveway.com",
  538. "eatlime.com",
  539. "a2zuploads.com",
  540. "friendlyfiles.net",
  541. "flyfile.us",
  542. "speedyshare.com",
  543. "uploadspace.eu",
  544. "keepfile.com",
  545. "piggyshare.com",
  546. "uplly.com",
  547. "filecrown.com",
  548. "6giga.com",
  549. "uploadjockey.com",
  550. "bluehost.to",
  551. "filegu.ru",
  552. "filebase.to",
  553. "up-file.com",
  554. "xvideos.com",
  555. "ufox.com",
  556. "filebling.com",
  557. "loaded.it",
  558. "uploadcell.com",
  559. "uploadshare.cz",
  560. "mangoshare.com",
  561. "filestab.com",
  562. "crazyupload.com",
  563. "gaiafile.com",
  564. "sharejunky.com",
  565. "fileho.com",
  566. "bigandfree.com",
  567. "bigfile.in",
  568. "bigshare.eu",
  569. "dahosting.org",
  570. "digisofts.net",
  571. "file4save.com",
  572. "filechip.com",
  573. "filescloud.com",
  574. "saveqube.com",
  575. "turboshare.de",
  576. "z-upload.com",
  577. "youshare.com",
  578. "jiffyupload.com",
  579. "gigeshare.com",
  580. "datenklo.net",
  581. "upload.dj",
  582. "loadfiles.in",
  583. "upit.to",
  584. "dsfileshare.com",
  585. "sharesimple.net",
  586. "4files.net",
  587. "wooupload.com",
  588. "odsiebie.com",
  589. "filenavi.com",
  590. "3oof.com",
  591. "meshwaar.com",
  592. "maxupload.com",
  593. "share.cx",
  594. "atserver.eu",
  595. "hotfiles.ws",
  596. "esnips.com",
  597. "tuxfile.com",
  598. "file2upload.net",
  599. "filebling.com",
  600. "turboshare.com",
  601. "rarhost.com",
  602. "isharehd.com",
  603. "i741.com",
  604. "dataup.de",
  605. "fofly.com",
  606. "shareonall.com",
  607. "sexuploader.com",
  608. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  609. "uploadhyper.com",
  610. "filespawn.com",
  611. "caizzii.com",
  612. "volnyweb.cz",
  613. "usershare.net",
  614. "filescash.net",
  615. "metahyper.com",
  616. "combozip.com",
  617. "x7.to",
  618. "uploadbox.com",
  619. "enterupload.com|flyupload.com",
  620. "filepoint.de",
  621. "mystream.to",
  622. "x-fs.com",
  623. "shareator.com",
  624. "srapid.eu",
  625. "sosame.cz",
  626. "filesdump.com",
  627. "2-klicks.de",
  628. "uploking.com",
  629. "silofiles.com",
  630. "upfile.in",
  631. "filehook.com",
  632. "uploadking.com",
  633. "uploadhere.com",
  634. "kewlshare.com",
  635. "rapidable.com",
  636. "uploadwaste.com",
  637. "filemup.com",
  638. "filesonic.com|sharingmatrix.com",
  639. "fileserve.com",
  640. "wupload.com",
  641. "skipfile.com",
  642. "smartuploader.com",
  643. "dualshare.com",
  644. "storeandserve.com",
  645. "mountfile.com",
  646. "transitfiles.com",
  647. "uploadstation.com",
  648. "filejungle.com",
  649. "shareshared.com",
  650. "quickyshare.com",
  651. "save.am",
  652. "petandrive.com",
  653. "file2box.com",
  654. "flyshare.cz",
  655. "yabadaba.ru",
  656. "cloudcache.cc",
  657. "yourfilehost.com",
  658. "jakfile.com",
  659. "kickload.com",
  660. "pyramidfiles.com",
  661. "refile.net",
  662. "zshare.net",
  663. "ddlani.me|ddlanime.com",
  664. "ftp2share.com",
  665. "fooget.com",
  666. "rapidhide.com",
  667. "gotupload.com",
  668. "mooload.com",
  669. "zupload.com",
  670. "mytempdir.com",
  671. "onionshare.com",
  672. "stahnu.to",
  673. "oron.com",
  674. "badongo.com",
  675. "filereactor.com",
  676. "filegaze.com",
  677. "4bytez.com",
  678. "1hostclick.com",
  679. "anonstream.com",
  680. "batshare.com",
  681. "bitroad.net",
  682. "brontofile.com",
  683. "cloudnxt.net",
  684. "cloudnator.com|shragle.com",
  685. "filesfrog.net",
  686. "coolshare.cz",
  687. "dotavi.com",
  688. "ezyfile.net",
  689. "file-bit.net",
  690. "filecosy.com",
  691. "fileduct.com|fileduct.net",
  692. "filefat.com",
  693. "filelaser.com",
  694. "filemashine.com",
  695. "fileserver.cc",
  696. "filetechnology.com",
  697. "fireuploads.net",
  698. "gigfiles.net",
  699. "holderfile.com",
  700. "ihostia.com",
  701. "k2files.com",
  702. "mojofile.com",
  703. "ovfile.com",
  704. "qshare.com",
  705. "shafiles.me",
  706. "sharefilehost.com",
  707. "shareupload.com",
  708. "stahuj.to",
  709. "ugotfile.com",
  710. "uploadboost.com",
  711. "fileom.com",
  712. "vidhog.com",
  713. "xfileshare.eu",
  714. "bzlink.us",
  715. "bulletupload.com",
  716. "bloggerarticles.com",
  717. "mojedata.sk",
  718. "sharpfile.com",
  719. "upgrand.com",
  720. "nasdilej.cz",
  721. "mediatack.cz",
  722. "share-it.to",
  723. "primeupload.com",
  724. "filebeer.info",
  725. "baberepublic",
  726. "xtu.me",
  727. "sharebase.de",
  728. "luckyshare.net",
  729. "filerobo.com",
  730. "filevelocity.com",
  731. "filezpro.com",
  732. "file4sharing.com",
  733. "cing.be",
  734. "ufile.eu",
  735. "pigsonic.com",
  736. "fileupped.com",
  737. "sharerun.com",
  738. "filesaur.com",
  739. "rapidslnare.com",
  740. "bestsharing.com",
  741. "savefiles.net",
  742. "file2share.biz",
  743. "filecache.de",
  744. "monsteruploads.eu",
  745. "b9bb.com",
  746. "aiotool.net",
  747. "jamber.info",
  748. "megaftp.com",
  749. "desiupload.net",
  750. "file27.com",
  751. "yastorage.com",
  752. "filehost.ws",
  753. "copyload.com",
  754. "venusfile.com",
  755. "aieshare.com",
  756. "terafile.co",
  757. "terafile.com",
  758. "fileza.net",
  759. "filerose.com",
  760. "squillion.com",
  761. "fileprohost.com",
  762. "bitbonus.com",
  763. "warserver.cz",
  764. "uload.to",
  765. "sharedbit.net",
  766. "megaload.it",
  767. "filewinds.com",
  768. "uploadcore.com",
  769. "syfiles.com",
  770. "eyesfile.com",
  771. "hotfile.com",
  772. "superupl.com",
  773. "oteupload.com",
  774. "henchfile.com",
  775. "filegag.com",
  776. "HenchFile.com",
  777. "filedefend.com",
  778. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  779. "megabitshare.com",
  780. "cloudzer.com",
  781. "asfile.com",
  782. "cloudzer.net",
  783. "clz.to",
  784. "extabit.com",
  785. "247upload.com",
  786. "2download.de",
  787. "4fastfile.com",
  788. "asixfiles.com",
  789. "berofile.com",
  790. "bigupload.com",
  791. "cepzo.com",
  792. "clouds.to",
  793. "cobrashare.sk",
  794. "coraldrive.net",
  795. "cyberlocker.ch",
  796. "czshare.com",
  797. "darkport.org",
  798. "dark-uploads.com",
  799. "davvas.com",
  800. "enigmashare.com",
  801. "erofly.cz",
  802. "fastsonic.net",
  803. "filebox.com",
  804. "filecity.net",
  805. "filedap.com",
  806. "filedino.com",
  807. "filedownloads.org",
  808. "filefolks.com",
  809. "fileking.co",
  810. "filemates.com",
  811. "files.to",
  812. "files2k.eu",
  813. "filesector.cc",
  814. "bitshare.com",
  815. "filesega.com",
  816. "filesend.net",
  817. "filestay.com",
  818. "filestrum.com",
  819. "fileuplo.de",
  820. "fileupup.com",
  821. "forunesia.com",
  822. "freeuploads.fr",
  823. "uploa.dk",
  824. "getthebit.com",
  825. "getzilla.net",
  826. "goldfile.eu",
  827. "good.com",
  828. "grupload.com",
  829. "hellfile.com",
  830. "hipfile.com",
  831. "hitfile.com",
  832. "hulkfile.eu|duckfile.net",
  833. "i-filez.com",
  834. "ifile.ws",
  835. "kupload.org",
  836. "packupload.com",
  837. "lemuploads.com",
  838. "limelinx.com",
  839. "maxshare.pl",
  840. "megarelease.org",
  841. "megashares.com",
  842. "megashare.com",
  843. "minus.com",
  844. "mlfat4arab.com",
  845. "multishare.cz",
  846. "nirafile.com",
  847. "ok2upload.com",
  848. "peejeshare.com",
  849. "premiuns.org",
  850. "przeklej.net",
  851. "qkup.net",
  852. "rapidupload.sk",
  853. "rockdizfile.com",
  854. "rocketfile.net",
  855. "share-now.net",
  856. "share76.com",
  857. "sharebees.com",
  858. "sharefiles.co",
  859. "slingfile.com",
  860. "sms4file.com",
  861. "space4file.com",
  862. "tigershare.net",
  863. "toucansharing.com",
  864. "ubuntuone.com",
  865. "unextfiles.com",
  866. "upaj.pl",
  867. "upfile.biz",
  868. "uploadbin.net",
  869. "uploadic.com",
  870. "uploadinc.com",
  871. "uploading4u.eu",
  872. "uploadjet.net",
  873. "uploadorb.com",
  874. "upthe.net",
  875. "uptorch.com",
  876. "vidbox.yt",
  877. "videozer.com",
  878. "vreer.com",
  879. "wallobit.com",
  880. "zooupload.com",
  881. "privatefiles.com",
  882. "xerver.co",
  883. "BillionUploads.com",
  884. "rapidshare.com",
  885. "rapidshare.ru",
  886. "4savefile.com",
  887. "bayfiles.com",
  888. "bayfiles.net",
  889. "dodane.pl",
  890. "dotsemper.com",
  891. "egofiles.com",
  892. "epicshare.net",
  893. "fiberupload.net",
  894. "filemonkey.in",
  895. "filemonster.net",
  896. "filepom.com",
  897. "filesbb.com",
  898. "filevice.com",
  899. "gigaup.fr",
  900. "isavelink.com",
  901. "loombo.com",
  902. "megafiles.se",
  903. "migupload.com",
  904. "mydisc.net",
  905. "nitrobits.com",
  906. "potload.com",
  907. "redload.net",
  908. "shareprofi.com",
  909. "sharesuper.info",
  910. "sinhro.net",
  911. "speedfile.cz",
  912. "speedshare.org",
  913. "storage.novoro.net",
  914. "swankshare.com",
  915. "swatupload.com",
  916. "upafile.com",
  917. "uploadmachine.com",
  918. "uploadsat.com",
  919. "upshared.com",
  920. "usefile.com",
  921. "yourfiles.to",
  922. "zomgupload.com",
  923. "ultramegabit.com",
  924. "uploadto.us",
  925. "inafile.com",
  926. "megairon.net",
  927.  
  928. ];
  929. ///////////////////////////////////////////////////////////////////////////////////////
  930. var firstRun = GM_getValue("First_run", true);
  931.  
  932. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  933. //////////////////////////////////////////////////////////////////////////////////////
  934. try
  935. {
  936. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  937. var last_known_version = GM_getValue("last_known_version", "");
  938. if (!last_known_version)
  939. {
  940. last_known_version = thisVersion;
  941. GM_setValue("last_known_version", last_known_version);
  942. }
  943. //var newVersion = !(thisVersion == last_known_version);
  944. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  945. GM_setValue("last_known_version", thisVersion);
  946. }
  947. catch (err)
  948. {
  949. var newVersion = false;
  950. }
  951.  
  952. var now = (new Date()).getTime();
  953. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  954. if (!last_custom_rules_nag)
  955. {
  956. last_custom_rules_nag = now;
  957. GM_setValue('last_custom_rules_nag', ''+now);
  958. }
  959.  
  960.  
  961. allHostNames.sort();
  962. allContainerNames.sort();
  963. allObsoleteNames.sort();
  964.  
  965. var RAND_STRING = "8QyvpOSsRG3QWq";
  966. var DEBUG_MODE = false;
  967.  
  968. var TOOLTIP_MAXWIDTH = 600; //in pixels
  969. var TOOLTIP_THUMBWIDTH = 200;
  970. var containers_processed = false;
  971.  
  972. //settings for keyboard functions start
  973. var CHECK_ALL_LINKS_KEY = "A";
  974. var CONFIGURATION_KEY = "C";
  975. var copy_to_dead_key = "D";
  976. var copy_to_live_key = "L";
  977. var toggle_autocheck_key = "W";
  978. var toggle_Enable_Anonymizer_key = "Z";
  979. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  980. var first_key_keycodename = 'CTRL';
  981. var second_key_keycode = '18';
  982. var second_key_keycodename = 'ALT';
  983. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  984. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  985. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  986. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  987. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  988. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  989. //settings for keyboard functions end
  990.  
  991. //global settings start
  992. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  993. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  994. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  995. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  996. var Show_progress_stats, Display_tooltip_info, Icon_set;
  997. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  998. var Progress_box_refresh_rate;
  999. var Obsolete_file_hosts;
  1000. var Custom_rules, Custom_rules_text;
  1001. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1002.  
  1003. var messageBox = document.createElement('b'); // top-left message box
  1004.  
  1005. var cLinksTotal = 0;
  1006. var cLinksDead = 0;
  1007. var cLinksAlive = 0;
  1008. var cLinksUnava = 0;
  1009. var cLinksprem = 0;
  1010. var cLinksProcessed = 0;
  1011.  
  1012. var intervalId; //for updateProgress()
  1013.  
  1014. //icon resources
  1015. 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/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4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SqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1022. 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=';
  1023. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQ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hXmq86X23qdOo8/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=';
  1024.  
  1025. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv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AXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1028. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1029.  
  1030. //global settings end
  1031. if (window.opera && !window.console)
  1032. {
  1033. window.console = {};
  1034.  
  1035. function fn()
  1036. {
  1037. opera.postError(arguments);
  1038. };
  1039. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1040. {
  1041. window.console[name] = fn;
  1042. });
  1043. }
  1044.  
  1045. //displays colored text in message box
  1046. function sendMessage(text, color)
  1047. {
  1048. var msgDiv = document.createElement('div');
  1049. msgDiv.style.color = color;
  1050. msgDiv.innerHTML = text;
  1051. messageBox.appendChild(msgDiv);
  1052. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1053. }
  1054.  
  1055. function linkify(totalourls)
  1056. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1057. var ikkeTilladteTags;
  1058. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1059. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1060. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1061. allLinksRegex = new RegExp(allLinksRegex, "g");
  1062. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1063.  
  1064. if (Do_not_linkify_DL_links)
  1065. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1066. else
  1067. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1068.  
  1069. var regex = new RegExp(regexy);
  1070. var textNode, muligtLink;
  1071.  
  1072. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1073. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1074.  
  1075. var i = textNodes.snapshotLength;
  1076. while (i--)
  1077. {
  1078. textNode = textNodes.snapshotItem(i);
  1079.  
  1080. muligtLink = textNode.nodeValue; //all links on page
  1081.  
  1082. var myArray = null;
  1083. var span = null;
  1084. var lastLastIndex = 0;
  1085. allLinksRegex.lastIndex = 0;
  1086. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1087. {
  1088. if (textNode.parentNode.className == "adead_link") continue;
  1089. var censoredLink = muligtLink;
  1090. var span = document.createElement('span');
  1091. span.className = "adead_link";
  1092. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1093. $(span).html(censoredLink);
  1094. span.addEventListener("mouseover", displayTooltipError, false);
  1095. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1096. textNode.parentNode.replaceChild(span, textNode);
  1097. continue;
  1098. alert(censoredLink);
  1099. }
  1100. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1101. {
  1102. if (!regex.test(myArray[0])) //this link is not recognized
  1103. {
  1104.  
  1105. continue;
  1106. }
  1107. if (!span)
  1108. span = document.createElement('span');
  1109.  
  1110. var link = myArray[0];
  1111. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1112.  
  1113. var $a = $("<a>" + link + "</a>")
  1114. if (!link.match(/https?:\/\//))
  1115. {
  1116. link = 'http://' + link;
  1117. }
  1118.  
  1119. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1120. .addClass("processing_link")
  1121. .appendTo(span);
  1122. lastLastIndex = allLinksRegex.lastIndex;
  1123. }
  1124. if (span)
  1125. {
  1126. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1127. textNode.parentNode.replaceChild(span, textNode);
  1128. }
  1129. }
  1130. }
  1131.  
  1132. function add_WARLC_style()
  1133. {
  1134. if (!(document.getElementsByTagName('WARLC')[0]))
  1135. {
  1136. var meta_not_to_add_more_style = document.createElement("WARLC");
  1137. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1138. meta_not_to_add_more_style.setAttribute('name', 'description');
  1139. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1140. alive_link_png = "";
  1141. adead_link_png = "";
  1142. unava_link_png = "";
  1143. prem_link_png = "";
  1144. switch(Icon_set)
  1145. {
  1146. //no icons
  1147. case 0: break;
  1148. // cat paws
  1149. case 1: alive_link_png = PAW_ICON_GREEN;
  1150. adead_link_png = PAW_ICON_RED;
  1151. unava_link_png = PAW_ICON_YELLOW;
  1152. prem_link_png = PAW_ICON_PINK;
  1153. break;
  1154. // classic RSLC look
  1155. case 2: alive_link_png = RSLC_ICON_GREEN;
  1156. adead_link_png = RSLC_ICON_RED;
  1157. unava_link_png = RSLC_ICON_YELLOW;
  1158. prem_link_png = RSLC_ICON_PINK;
  1159. break;
  1160. // New Icons
  1161. case 3: alive_link_png = NEW_ICON_GREEN;
  1162. adead_link_png = NEW_ICON_RED;
  1163. unava_link_png = NEW_ICON_YELLOW;
  1164. prem_link_png = NEW_ICON_PINK;
  1165. break;
  1166. // cat paws
  1167. default:alive_link_png = PAW_ICON_GREEN;
  1168. adead_link_png = PAW_ICON_RED;
  1169. unava_link_png = PAW_ICON_YELLOW;
  1170. prem_link_png = PAW_ICON_PINK;
  1171. break;
  1172. }
  1173. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1174. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1175.  
  1176. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1177.  
  1178. if (Color_DL_links)
  1179. {
  1180. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1181. live_color_css = 'color:' + Live_links_color + ' !important;';
  1182. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1183. container_color_css = 'color:' + Container_links_color + ' !important;';
  1184. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1185. }
  1186. else
  1187. {
  1188. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1189. }
  1190.  
  1191. if (Show_black_background_in_DL_links)
  1192. {
  1193. black_background_css = 'background-color: black !important;';
  1194. }
  1195. else
  1196. {
  1197. black_background_css = '';
  1198. }
  1199.  
  1200. if (Show_line_through_in_dead_links)
  1201. {
  1202. line_through_css = 'text-decoration: line-through !important;';
  1203. }
  1204. else
  1205. {
  1206. line_through_css = '';
  1207. }
  1208.  
  1209. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1210. 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 + "}");
  1211. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1212. GM_addStyle(".processing_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_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1214. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1215. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1216. }
  1217. }
  1218.  
  1219. var warlcTooltip = null;
  1220. var mouseoverLink = null; //link href with mouse cursor over it
  1221.  
  1222. var lastX = 0;
  1223. var lastY = 0;
  1224.  
  1225. $(document).ready(initTooltip);
  1226. //inits tooltip
  1227. function initTooltip()
  1228. { warlcTooltip = document.createElement("div");
  1229. 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;");
  1230. warlcTooltip.style.visibility = "hidden";
  1231. document.body.appendChild(warlcTooltip);
  1232. }
  1233.  
  1234. //"mousemove" event handler for all links
  1235. function moveTooltip(event)
  1236. {
  1237. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1238. { //no need to reflow if the cursor moved just a little
  1239. return;
  1240. }
  1241. else
  1242. {
  1243. lastX = event.clientX;
  1244. lastY = event.clientY;
  1245. }
  1246.  
  1247. posX = event.clientX + window.pageXOffset + 10;
  1248. posY = event.clientY + window.pageYOffset;
  1249. var ttHeight = warlcTooltip.offsetHeight;
  1250. var ttFreeSpace = window.innerHeight - event.clientY;
  1251. if (ttHeight > ttFreeSpace)
  1252. { //prevents tooltip from getting out of the window
  1253. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1254. }
  1255. else
  1256. {
  1257. posY += 7;
  1258. }
  1259. warlcTooltip.style.top = posY + "px";
  1260. warlcTooltip.style.left = posX + "px";
  1261. }
  1262.  
  1263. //"mouseout" event handler for all links
  1264. function hideTooltip(){
  1265. warlcTooltip.style.visibility = "hidden";
  1266. mouseoverLink = null;
  1267. }
  1268.  
  1269.  
  1270. //"mouseover" event handler for dead links
  1271. //displays tooltip error message on dead links
  1272. function displayTooltipError()
  1273. {
  1274. mouseoverLink = this.href;
  1275. this.addEventListener("mouseout", hideTooltip);
  1276. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1277. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1278. warlcTooltip.style.minWidth = 0;
  1279. warlcTooltip.style.visibility = "visible";
  1280. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1281. {
  1282. warlcTooltip.innerHTML = this.warlc_error;
  1283. }
  1284. else
  1285. {
  1286. loadErrorInfo(this);
  1287. }
  1288. function loadErrorInfo(link)
  1289. {
  1290. var href = link.href;
  1291. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1292. GM_xmlhttpRequest({
  1293. method: 'GET',
  1294. url: href.replace(Ref_anonymize_service, ""),
  1295. headers: {
  1296. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1297. 'Accept': 'text/xml',
  1298. 'Referer': ""
  1299. },
  1300. onload: function(result) {
  1301. var res = result.responseText;
  1302. //TODO: errorRegexs -
  1303. var errorRegexs = [ //generic error messages follow
  1304. /(empty directory)/i,
  1305. /(soubor nebyl nalezen)/i,
  1306. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1307. //server specific error messages follow
  1308. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1309. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1310. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1311. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1312. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1313. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1314. /class="red">(.+?)<(?:span|br)>/, //czshare
  1315. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1316. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1317. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1318. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1319. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1320. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1321. /(File has been removed due to Copyright Claim)/, //filerio
  1322. ];
  1323. var errorIdx = errorRegexs.length;
  1324. var error = "Cause of error: <b>unknown</b>";
  1325. var errorCandidate = "";
  1326. while(errorIdx--)
  1327. {
  1328. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1329. if (errorCandidate != null)
  1330. {
  1331. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1332. break;
  1333. }
  1334. }
  1335. //link attributes
  1336. link.warlc_error = error;
  1337. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1338. {
  1339. warlcTooltip.innerHTML = error;
  1340. }
  1341. }
  1342. });
  1343. }
  1344. }
  1345.  
  1346. //"mouseover" event handler for alive links
  1347. //displays tooltip info (file size, file name,...) on alive links
  1348. function displayTooltipInfo()
  1349. {
  1350. mouseoverLink = this.href;
  1351. //exclude direct download filehostings
  1352. 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)/))
  1353. {
  1354. return;
  1355. }
  1356. this.addEventListener("mouseout", hideTooltip);
  1357. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1358. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1359. warlcTooltip.style.minWidth = 0;
  1360. warlcTooltip.style.visibility = "visible";
  1361. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1362. {
  1363. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1364. }
  1365. else
  1366. {
  1367. loadInfo(this);
  1368. }
  1369. function loadInfo(link)
  1370. {
  1371. var href = link.href;
  1372. GM_xmlhttpRequest({
  1373. method: 'GET',
  1374. url: href.replace(Ref_anonymize_service, ""),
  1375. headers: {
  1376. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1377. 'Accept': 'text/xml',
  1378. 'Referer': ""
  1379. },
  1380. onload: function(result) {
  1381. var res = result.responseText;
  1382. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1383. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1384. /fl" title="(.+?)">/, //edisk
  1385. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1386. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1387. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1388. /title="download (.+?)">/, //sendspace
  1389. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1390. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1391. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1392. /d0FileName = "(.+?)";/, //letitbit
  1393. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1394. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1395. /fname" value="(.+?)">/, //syfiles, grupload,
  1396. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1397. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1398. /Complete name : (.+?)<br \/>/, //bezvadata
  1399. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1400. ];
  1401. var nameIdx = nameRegexs.length;
  1402. // [sizeRegexs]
  1403. // / \ \?
  1404. // prefix (size) postfix
  1405. // / \
  1406. // val quant
  1407. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1408. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1409. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1410. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1411. var postSizeRegex = '(?:\\))?';
  1412. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1413. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1414. ];
  1415. var sizeIdx = sizeRegexs.length;
  1416. //
  1417. //
  1418. var tooltip = "File Name: <b>";
  1419. var fileName = "unknown";
  1420. var nameCandidate = "";
  1421. while(nameIdx--)
  1422. {
  1423. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1424. if (nameCandidate != null)
  1425. {
  1426. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1427. break;
  1428. }
  1429. }
  1430. tooltip += fileName + "</b><br>File Size: <b>";
  1431. var fileSize = "unknown";
  1432. var sizeCandidate = "";
  1433. while(sizeIdx--)
  1434. {
  1435. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1436. if (sizeCandidate != null)
  1437. {
  1438. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1439. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1440. {
  1441. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1442. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1443. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1444. }
  1445. break;
  1446. }
  1447. }
  1448. tooltip += fileSize + "</b>";
  1449. // PROTOTYPE
  1450. // video thumbnails
  1451. if (href.match('hellshare'))
  1452. {
  1453. var thumbs;
  1454. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1455. if (thumbs)
  1456. {
  1457. tooltip += '<br>';
  1458. var j = Math.min(thumbs.length, 9);
  1459. for (var i = 0; i < j; i++)
  1460. {
  1461. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1462. }
  1463. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1464. }
  1465. }
  1466. if (href.match('czshare'))
  1467. {
  1468. var thumbs;
  1469. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1470. if (thumbs)
  1471. {
  1472. var thumbsServer = thumbs[1];
  1473. var thumbsId = thumbs[2];
  1474. tooltip += '<br>';
  1475. for (var i = 1; i < 9; i++)
  1476. {
  1477. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1478. }
  1479. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1480. }
  1481. }
  1482. if (href.match('bezvadata'))
  1483. {
  1484. var thumbs;
  1485. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1486. if (thumbs)
  1487. {
  1488. tooltip += '<br>';
  1489. var j = Math.min(thumbs.length, 9);
  1490. for (var i = 0; i < j; i++)
  1491. {
  1492. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1493. }
  1494. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1495. }
  1496. }
  1497. link.warlc_tooltipcache = tooltip;
  1498. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1499. {
  1500. warlcTooltip.innerHTML = tooltip;
  1501. }
  1502. }
  1503. });
  1504. }
  1505. }
  1506.  
  1507. function setVariables()
  1508. {
  1509. if (firstRun)
  1510. {
  1511. GM_log('First run, applying default settings...');
  1512. GM_setValue("Icon_set",1);
  1513. GM_setValue("Display_tooltip_info",true);
  1514. GM_setValue("Show_black_background_in_DL_links",false);
  1515. GM_setValue("Show_line_through_in_dead_links",false);
  1516. GM_setValue("Display_full_links_in_link_containers",false);
  1517. GM_setValue("Allow_spaces_in_DL_links",false);
  1518. GM_setValue("Autocheck",true);
  1519. GM_setValue("Enable_Anonymizer",false);
  1520. GM_setValue("Do_not_linkify_DL_links",false);
  1521. GM_setValue("Show_progress_stats",true);
  1522. GM_setValue("Keyboard_functions",true);
  1523. GM_setValue("Obsolete_file_hosts",false);
  1524. GM_setValue("Color_DL_links",true);
  1525. GM_setValue("Live_links_color","Green");
  1526. GM_setValue("Dead_links_color","#FF3300");
  1527. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1528. GM_setValue("Container_links_color","DarkKhaki");
  1529. GM_setValue("Premium_links_color","DeepPink");
  1530. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1531. GM_setValue("Custom_rules",false);
  1532. GM_setValue("Custom_rules_text","");
  1533. GM_setValue("Processbox_Pos_Y", 0);
  1534. GM_setValue("Processbox_Pos_X", 88);
  1535. GM_setValue("Progressbox_Scaling", 100);
  1536. GM_setValue("First_run", false);
  1537. }
  1538. //hidden settings
  1539. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1540. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1541. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1542. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1543. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1544. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1545. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1546. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1547. //hidden settings end
  1548.  
  1549. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1550. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1551. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1552. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1553. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1554. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1555. Autocheck = GM_getValue("Autocheck", true);
  1556. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1557. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1558. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1559. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1560. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1561. Color_DL_links = GM_getValue("Color_DL_links", true);
  1562. Live_links_color = GM_getValue("Live_links_color", "Green");
  1563. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1564. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1565. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1566. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1567. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1568. Custom_rules = GM_getValue("Custom_rules", false);
  1569. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1570. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1571. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1572. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1573. }
  1574.  
  1575.  
  1576. // Delinkifies the links
  1577. // params:
  1578. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1579. // e.g. 'uloz.to/xs68skxl8')
  1580. function delinkifySnapshot(snapshot)
  1581. {
  1582. var n = snapshot.snapshotLength;
  1583.  
  1584. while (n--)
  1585. {
  1586. thisLink = snapshot.snapshotItem(n);
  1587.  
  1588. var spanElm = document.createElement("span");
  1589. spanElm.className = thisLink.className;
  1590. spanElm.innerHTML = thisLink.innerHTML;
  1591.  
  1592. if (Display_tooltip_info)
  1593. {
  1594. spanElm.href = thisLink.href;
  1595. switch (thisLink.className){
  1596. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1597. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1598. case "unava_link": //reserved
  1599. default:
  1600. }
  1601. }
  1602. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1603. }
  1604. }
  1605.  
  1606. function processContainers()
  1607. {
  1608. var redirectorTypes = { "HTTP_302": 0,
  1609. "INNER_LINK": 1,
  1610. "THELOO_KATT_IT": 2,
  1611. "CING_BE": 3,
  1612. "ADF_LY": 4};
  1613. var cMultiloadTotal = 0;
  1614. var cMultiloadProcessed = 0;
  1615.  
  1616. var cMirrorcreatorComTotal = 0;
  1617. var cMirrorcreatorComProcessed = 0;
  1618.  
  1619. var hostRestrictionRegex = "";
  1620. var multiloadComRestriction = "";
  1621. var multiloadComRestrictionRegex;
  1622.  
  1623. //
  1624. //HANDLING REDIRECTORS START
  1625. //
  1626.  
  1627. var redirectors = new Array();
  1628. initRedirectors();
  1629.  
  1630. var redirectorsCount = redirectors.length;
  1631.  
  1632. if (redirectorsCount > 0)
  1633. {
  1634. var allRedirectorsRegex = "";
  1635.  
  1636. //linkify redirector links
  1637. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1638. {
  1639. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1640. }
  1641. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1642. linkify(allRedirectorsRegex);
  1643. //
  1644. //process redirector links
  1645. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1646. {
  1647. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1648. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1649.  
  1650. cLinksTotal += redirectors[redirIdx].cTotal;
  1651. var linkIdx = redirectors[redirIdx].cTotal;
  1652.  
  1653. while(linkIdx--)
  1654. {
  1655. switch(redirectors[redirIdx].type)
  1656. {
  1657. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1658. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1659. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1661. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1662. default:
  1663. }
  1664. }
  1665. }
  1666. //
  1667. }
  1668.  
  1669. //HTTP_302
  1670. function processRedirectorLink(link, redirectorId)
  1671. {
  1672. link.className = 'container_link';
  1673.  
  1674. GM_xmlhttpRequest({
  1675. method: 'HEAD',
  1676. url: link.href,
  1677. headers: {
  1678. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1679. 'Accept': 'text/xml',
  1680. 'Referer': ""
  1681. },
  1682. onload: function(result) {
  1683. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1684. {
  1685. processRedirectorLink(link, redirectorId);
  1686. }
  1687. else
  1688. {
  1689. redirectors[redirectorId].cProcessed++;
  1690. link.href = result.finalUrl;
  1691. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1692. checkLinks('container_link');
  1693. }
  1694. },
  1695. onerror: function(result) { //probably caused by unresponsive filehosting
  1696. redirectors[redirectorId].cProcessed++;
  1697. link.className = 'unava_link';
  1698. cLinksProcessed++;
  1699. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1700. checkLinks('container_link');
  1701. }
  1702. });
  1703. }
  1704. //INNER_LINK
  1705. function processRedirectorLinkEx(link, redirectorId)
  1706. {
  1707. link.className = 'container_link';
  1708. GM_xmlhttpRequest({
  1709. method: 'GET',
  1710. url: link.href,
  1711. headers: {
  1712. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1713. 'Accept': 'text/xml',
  1714. 'Referer': ""
  1715. },
  1716. onload: function(result) {
  1717. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1718. redirectors[redirectorId].cProcessed++;
  1719. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1720. checkLinks('container_link');
  1721. }
  1722. });
  1723. }
  1724. //theloo.katt.it (wrapped safelinking.net)
  1725. function processThelooKattItLink(link, redirectorId)
  1726. {
  1727. link.className = 'container_link';
  1728. GM_xmlhttpRequest({
  1729. method: 'GET',
  1730. url: link.href,
  1731. headers: {
  1732. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1733. 'Accept': 'text/xml',
  1734. 'Referer': ""
  1735. },
  1736. onload: function(result) {
  1737. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1738. redirectors[redirectorId].cProcessed++;
  1739. //the inner links are safelinking.net links, so lets proceed with it
  1740. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1741. {
  1742. processRedirectorLink(link, 0);
  1743. }
  1744. }
  1745. });
  1746. }
  1747. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1748. function processAdfLyLink(link, redirectorId)
  1749. {
  1750. link.className = 'container_link';
  1751. GM_xmlhttpRequest({
  1752. method: 'GET',
  1753. url: link.href,
  1754. headers: {
  1755. 'User-agent': 'Mozilla/4.0',
  1756. 'Accept': 'text/xml',
  1757. 'Referer': ""
  1758. },
  1759. onload: function(result) {
  1760. if (result.finalUrl.match('/locked/'))
  1761. {
  1762. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1763. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1764. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1765. }
  1766. else
  1767. {
  1768. // GM_log('Processing... ' + link.href);
  1769. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1770. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1771. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1772. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1773. //confirm advert
  1774. GM_xmlhttpRequest(
  1775. {
  1776. method: 'POST',
  1777. url: 'http://adf.ly/l.php',
  1778. headers: {
  1779. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1780. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1781. 'Referer': link.href
  1782. },
  1783. data: users + '&lt=' + logToken,
  1784. onload: function(result) {
  1785. //retrieve final url from .../go/... link
  1786. GM_xmlhttpRequest({
  1787. method: 'GET',
  1788. url: directLink,
  1789. headers: {
  1790. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1791. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1792. 'Referer': link.href
  1793. },
  1794. onload: function(result) {
  1795. link.href = result.finalUrl;
  1796. redirectors[redirectorId].cProcessed++;
  1797. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1798. checkLinks('container_link');
  1799. }
  1800. });
  1801. }
  1802. });
  1803. }
  1804. }
  1805. });
  1806. function proceedOK()
  1807. {
  1808. }
  1809. }
  1810. //MULTILOAD.CZ START
  1811. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1812. {
  1813. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1814. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1815.  
  1816. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1817.  
  1818. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1819. hostRestrictionRegex += 'hellshare|';
  1820. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1821. hostRestrictionRegex += 'downloadhellshare|';
  1822. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1823. hostRestrictionRegex += 'share-rapid\\.com|';
  1824. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1825. hostRestrictionRegex += 'quickshare\\.cz|';
  1826. if (GM_getValue("Check_czshare_dot_com_links", false))
  1827. hostRestrictionRegex += 'czshare\\.com|';
  1828. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1829. hostRestrictionRegex += 'hellspy|';
  1830. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1831. hostRestrictionRegex += 'multishare\\.cz|';
  1832.  
  1833. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1834.  
  1835. linkify(mlRegex);
  1836.  
  1837. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1838. var mlCount = mlSnapshot.snapshotLength;
  1839.  
  1840. if (mlCount > 0)
  1841. {
  1842. cMultiloadTotal += mlCount;
  1843.  
  1844. mlIdx = mlCount - 1;
  1845. do
  1846. {
  1847. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1848. }
  1849. while(mlIdx--)
  1850. }
  1851. }
  1852. //MULTILOAD.CZ END
  1853.  
  1854.  
  1855.  
  1856. function processMultiloadLink(mlLink)
  1857. {
  1858. GM_xmlhttpRequest({
  1859. method: 'GET',
  1860. url: mlLink.href,
  1861. headers: {
  1862. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1863. 'Accept': 'text/xml',
  1864. 'Referer': ""
  1865. },
  1866. onload: function(result) {
  1867. var res = result.responseText;
  1868.  
  1869. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1870. 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;
  1871. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1872. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1873.  
  1874. var blocks; // blocks of links
  1875. var blockIdx;
  1876.  
  1877. mlLink.className = '';
  1878.  
  1879. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1880. {
  1881. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1882. return;
  1883. }
  1884.  
  1885. blocks = res.match(innerBlockRegex);
  1886.  
  1887. if (blocks == null) //no links found, cancel further processing
  1888. {
  1889. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1890. cMultiloadProcessed++;
  1891. if (cMultiloadTotal <= cMultiloadProcessed)
  1892. {
  1893. startBulkCheck('container_link');
  1894. start('container_link');
  1895. }
  1896. return;
  1897. }
  1898.  
  1899. blockIdx = blocks.length;
  1900.  
  1901. if (Display_full_links_in_link_containers)
  1902. {
  1903. var ulElm = document.createElement('ul');
  1904. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1905.  
  1906. while(blockIdx--)
  1907. {
  1908. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1909. {
  1910. continue;
  1911. }
  1912.  
  1913. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1914.  
  1915. var linkIdx = innerLinks.length;
  1916. while (linkIdx--)
  1917. {
  1918. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1919.  
  1920. var liElm = document.createElement('li');
  1921.  
  1922. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1923. {
  1924. liElm.appendChild(document.createTextNode(innerLink));
  1925. }
  1926. else
  1927. {
  1928. var aElm = document.createElement('a');
  1929. aElm.innerHTML = innerLink;
  1930. aElm.href = innerLink;
  1931. aElm.className = 'container_link';
  1932.  
  1933. liElm.appendChild(aElm);
  1934. }
  1935.  
  1936. ulElm.appendChild(liElm);
  1937. cLinksTotal++;
  1938. }
  1939. }
  1940.  
  1941. mlLink.parentNode.appendChild(ulElm);
  1942. }
  1943. else //compact view
  1944. {
  1945. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1946.  
  1947. while(blockIdx--)
  1948. {
  1949. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1950. {
  1951. continue;
  1952. }
  1953.  
  1954. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1955.  
  1956. var linkIdx = innerLinks.length;
  1957. while (linkIdx--)
  1958. {
  1959. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1960.  
  1961. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1962. {
  1963. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1964. }
  1965. else
  1966. {
  1967. var aElm = document.createElement('a');
  1968.  
  1969. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1970.  
  1971. //abbreviate host name
  1972. switch(hostName + ""){
  1973.  
  1974. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1975. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1976. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1977. case 'multishare': aElm.innerHTML = 'MS'; break;
  1978. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1979. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1980. case 'czshare': aElm.innerHTML = 'CS'; break;
  1981. default: aElm.innerHTML = 'xx';
  1982.  
  1983. }
  1984.  
  1985. aElm.href = innerLink;
  1986. aElm.className = 'container_link';
  1987.  
  1988. mlLink.parentNode.appendChild(aElm);
  1989. cLinksTotal++;
  1990. }
  1991. }
  1992.  
  1993. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1994.  
  1995. }
  1996. }
  1997.  
  1998. cMultiloadProcessed++;
  1999. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2000. {
  2001. if (Do_not_linkify_DL_links)
  2002. {
  2003. delinkifySnapshot(mlSnapshot);
  2004. }
  2005. startBulkCheck('container_link');
  2006. start('container_link');
  2007. }
  2008. }
  2009. });
  2010. }
  2011.  
  2012.  
  2013. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2014. {
  2015. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2016. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2017. var mcShortHostNames =
  2018. '?? 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';
  2019. // 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
  2020. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2021. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2022. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2023. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2024.  
  2025. linkify(mcRegex);
  2026.  
  2027. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2028. var mcCount = mcSnapshot.snapshotLength;
  2029.  
  2030. cMirrorcreatorComTotal = mcCount;
  2031.  
  2032. if (mcCount > 0)
  2033. {
  2034. mcShortHostNames = mcShortHostNames.split(' ');
  2035. mcIdx = mcCount;
  2036. while(mcIdx--)
  2037. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2038. }
  2039.  
  2040. }
  2041. //MIRRORCREATOR.CZ END
  2042.  
  2043.  
  2044. //mirrorcreator.com checking works like this:
  2045. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2046. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2047. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2048. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2049. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2050. function processMirrorcreatorLink(mcLink)
  2051. {
  2052. var mcURL = mcLink.href.match(mcRegex);
  2053. if(!mcURL || !mcURL[1]) return;
  2054. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2055. GM_xmlhttpRequest({
  2056. method: 'GET',
  2057. url: mcURL,
  2058. headers: {
  2059. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2060. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2061. 'Referer': ""
  2062. },
  2063. onload: function(mcLinkResult) {
  2064. var mcLinkRes = mcLinkResult.responseText;
  2065.  
  2066. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2067. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2068.  
  2069. var mcRedirectors;
  2070. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2071. var m = mcLinkRes.match(mcLinkBlockRegex);
  2072. if (m)
  2073. mcHostsFound = m.length;
  2074. else
  2075. { //no files inside container
  2076. processMirrorcreatorFoundHosts(mcLink, []);
  2077. return;
  2078. }
  2079.  
  2080. var mcRedirectorURL, idx, timedOut = false;
  2081.  
  2082. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2083. GM_xmlhttpRequest({
  2084. method: 'GET',
  2085. url: mcRedirectorURL,
  2086. headers: {
  2087. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2088. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2089. 'Referer': ""
  2090. },
  2091. onload: function(mcHostResult) {
  2092. if (timedOut) return; //too late, the list is already displayed
  2093. var mcHostRes = mcHostResult.responseText;
  2094. var mcHost = mcHostRes.match(mcHostRegex);
  2095. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2096. if (mcHost && idx!=-1)
  2097. {
  2098. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2099. mcHostsRetrieved++;
  2100. mcHostsToProcess++;
  2101. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2102. {
  2103. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2104. mcHostsToProcess = 0;
  2105. }
  2106. }
  2107. } //end of onload: function
  2108. }); //end of GM_xmlhttpRequest call
  2109. };//end of var gmxhrFunc
  2110.  
  2111. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2112. { //load individual redirector pages
  2113. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2114. mcHostURLs.push(mcRedirectorURL);
  2115. mcRedirectorIDs.push(mcRedirectors[2]);
  2116. gmxhrFunc(mcRedirectorURL);
  2117. } //end of while block
  2118.  
  2119. setTimeout(function(){ //in case the last page fails to load and call the function
  2120. timedOut = true;
  2121. if (mcHostsToProcess)
  2122. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2123. }, 60000);
  2124.  
  2125. } //end of onload function
  2126. }); //end of GM_xmlhttpRequest call
  2127. } //end of function processMirrorcreatorLink
  2128.  
  2129.  
  2130. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2131. {
  2132. var aEl, liEl, docFrag;
  2133. var hostName, mcRedirectorID, trimFilename = false;
  2134. var i = mcHostURLs.length;
  2135. if (i == 0)
  2136. {
  2137. trimFilename = true;
  2138. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2139. }
  2140. else
  2141. {
  2142. if (Display_full_links_in_link_containers)
  2143. { //full view
  2144. var wrapperEl = document.createElement('span');
  2145. wrapperEl.style.display = 'block';
  2146. var ulistEl = document.createElement('ul');
  2147. ulistEl.className = 'container_list';
  2148. while (i--)
  2149. {
  2150. liEl = document.createElement('li');
  2151. aEl = document.createElement('a');
  2152. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2153. aEl.href = mcHostURLs[i];
  2154. aEl.className = 'container_link';
  2155. liEl.appendChild(aEl);
  2156. ulistEl.appendChild(liEl);
  2157. }
  2158. wrapperEl.appendChild(ulistEl);
  2159. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2160. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2161. }
  2162. else
  2163. { //compact view
  2164. trimFilename = true;
  2165. docFrag = document.createDocumentFragment();
  2166. docFrag.appendChild(document.createTextNode(' |'));
  2167. while (i--)
  2168. {
  2169. mcRedirectorID = mcRedirectorIDs[i];
  2170. hostName = mcHostURLs[i];
  2171. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2172. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2173. else
  2174. hostName = mcShortHostNames[mcRedirectorID];
  2175. aEl = document.createElement('a');
  2176. aEl.href = mcHostURLs[i];
  2177. aEl.className = 'container_link';
  2178. aEl.appendChild(document.createTextNode(hostName));
  2179. docFrag.appendChild(aEl);
  2180. docFrag.appendChild(document.createTextNode('|'));
  2181. }
  2182. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2183. } //end of else block
  2184. } //end of else block
  2185. mcLink.className = '';
  2186. if (trimFilename)
  2187. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2188. cMirrorcreatorComProcessed++;
  2189. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2190. {
  2191. if (Do_not_linkify_DL_links)
  2192. delinkifySnapshot(mcSnapshot);
  2193. startBulkCheck('container_link');
  2194. start('container_link');
  2195. }
  2196. } //end of function processMirrorcreatorFoundHosts
  2197.  
  2198. containers_processed = true;
  2199.  
  2200.  
  2201. function initRedirectors()
  2202. {
  2203. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2204. {
  2205. var redirector = new Object();
  2206. redirector.linkRegex = linkRegex;
  2207. redirector.xpath = xpathEx; //xpath expression
  2208. redirector.cProcessed = 0; //processed links count
  2209. redirector.cTotal = 0; //total links count
  2210. redirector.type = redirType; //redirectorTypes enum
  2211. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2212. redirectors.push(redirector);
  2213. }
  2214. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2215. {
  2216. addRedirector(
  2217. 'safelinking\\.net\/d\/\\w+',
  2218. "//a[contains(@href,'safelinking.net/d/')]",
  2219. redirectorTypes.HTTP_302,
  2220. null);
  2221. }
  2222. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2223. {
  2224. addRedirector(
  2225. 'linksafe\\.me\/d\/\\w+',
  2226. "//a[contains(@href,'linksafe.me/d/')]",
  2227. redirectorTypes.HTTP_302,
  2228. null);
  2229. }
  2230. if (GM_getValue("Check_linkto_dot_net_links", false))
  2231. {
  2232. addRedirector(
  2233. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2234. "//a[contains(@href,'linkto.net/?')]",
  2235. redirectorTypes.INNER_LINK,
  2236. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2237. }
  2238. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2239. {
  2240. addRedirector(
  2241. '(?:the)?loo\\.katt\\.it\/\\w+',
  2242. "//a[contains(@href,'loo.katt.it/')]",
  2243. redirectorTypes.THELOO_KATT_IT,
  2244. /Proceed to URL - <a href="(.+?)">/);
  2245. }
  2246. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2247. {
  2248. addRedirector(
  2249. 'madlink\\.sk\/\\w+',
  2250. "//a[contains(@href,'madlink.sk/')]",
  2251. redirectorTypes.INNER_LINK,
  2252. /name="url" value="(.+?)\s*"\/>/);
  2253. }
  2254. if (GM_getValue("Check_adf_dot_ly_links", false))
  2255. {
  2256. addRedirector(
  2257. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2258. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2259. redirectorTypes.ADF_LY,
  2260. null);
  2261. }
  2262. if (GM_getValue("Check_redi_dot_re_links", false))
  2263. {
  2264. addRedirector(
  2265. 'redi\\.re\/\\w+',
  2266. "//a[contains(@href,'redi.re/')]",
  2267. redirectorTypes.HTTP_302,
  2268. null);
  2269. }
  2270. if (GM_getValue("Check_bit_dot_ly_links", false))
  2271. {
  2272. addRedirector(
  2273. 'bit\\.ly\/\\w+',
  2274. "//a[contains(@href,'bit.ly/')]",
  2275. redirectorTypes.HTTP_302,
  2276. null);
  2277. }
  2278. }
  2279.  
  2280. }
  2281.  
  2282. var bulkHosts = new Array();
  2283. var bulkHostNames = new Array();
  2284. function initBulkCheck()
  2285. {
  2286. /////////////////////////////
  2287. // Inits filehost object
  2288. /////////////////////////////
  2289. // params :
  2290. // hostName -- [string] host name (multiple domains separated with coma)
  2291. // linkRegex -- [string] link regex
  2292. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2293. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2294. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2295. // corrReplWhat -- [regex] link correction regex (replace)
  2296. // corrReplWith -- [string]
  2297. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2298. //
  2299. // apiUrl -- [string] web linkchecker or API URL
  2300. // postData -- [string] POSTDATA of xmlhttprequest
  2301. // resLinkRegex -- [regex]
  2302. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2303. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2304. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2305. // func -- [function] bulkcheck handler, genBulkCheck if null
  2306. //
  2307. //////////////////////////////
  2308. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2309. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2310. {
  2311. var fileHost = new Object();
  2312.  
  2313. fileHost.linkRegex = linkRegex;
  2314. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2315. fileHost.xpath = xpath;
  2316. fileHost.cFound = 0; //found links counter
  2317. fileHost.links = new Array(); //found links
  2318. if (blockSize == null)
  2319. {
  2320. fileHost.blockSize = 50;
  2321. }
  2322. else
  2323. {
  2324. fileHost.blockSize = blockSize;
  2325. }
  2326. fileHost.corrMatch = corrMatch;
  2327. fileHost.corrReplWhat = corrReplWhat;
  2328. fileHost.corrReplWith = corrReplWith;
  2329. if (splitSeparator == null)
  2330. {
  2331. fileHost.splitSeparator = "\r\n";
  2332. }
  2333. else
  2334. {
  2335. fileHost.splitSeparator = splitSeparator;
  2336. }
  2337. fileHost.apiUrl = apiUrl;
  2338. fileHost.postData = postData;
  2339. fileHost.resLinkRegex = resLinkRegex;
  2340. fileHost.resLiveRegex = resLiveRegex;
  2341. fileHost.resDeadRegex = resDeadRegex;
  2342. fileHost.resUnavaRegex = resUnavaRegex;
  2343. if (func == null)
  2344. {
  2345. fileHost.func = genBulkCheck;
  2346. }
  2347. else
  2348. {
  2349. fileHost.func = func;
  2350. }
  2351. bulkHosts.push(fileHost);
  2352. var names = hostName.split(',');
  2353. var i = names.length;
  2354. while(i--)
  2355. {
  2356. bulkHostNames[names[i]] = fileHost;
  2357. }
  2358. }
  2359. var genType1 = [
  2360. "rodfile.com", "downloadani.me", //"migahost.com",
  2361. "rarefile.net",
  2362. "filesabc.com",
  2363. // "verzend.be",
  2364. // "movreel.com",
  2365. "file4safe.com", "filemac.com",
  2366. "longfiles.com",
  2367. "bitupload.com", //"4up.me",
  2368. //"uploadbaz.com"
  2369. ];
  2370. var genType2 = [ "queenshare.com",
  2371. "hulkload.com",
  2372. "amonshare.com", //"edoc.com",
  2373. ];
  2374. //xfilesharing 1.0
  2375. function addGenericType1()
  2376. {
  2377. var i = genType1.length;
  2378. while(i--)
  2379. {
  2380. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2381. {
  2382. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2383. addHost(
  2384. genType1[i].match(/[\w-]+/)[0], //hostname
  2385. regexSafe + "\/\\w+", //linkregex
  2386. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2387. null, //blocksize
  2388. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2389. null, //corrreplwhat
  2390. null, //corrreplwith
  2391. null, //separator
  2392. "http://" + genType1[i] + "/checkfiles.html", //api url
  2393. "op=checkfiles&process=Check+URLs&list=", //postdata
  2394. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2395. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2396. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2397. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2398. null //function delegate
  2399. )
  2400. }
  2401. }
  2402. }
  2403. //xfilesharing 2.0
  2404. function addGenericType2()
  2405. {
  2406. var i = genType2.length;
  2407. while(i--)
  2408. {
  2409. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2410. {
  2411. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2412. addHost(
  2413. genType2[i].match(/[\w-]+/)[0], //hostname
  2414. regexSafe + "\/\\w+", //linkregex
  2415. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2416. null, //blocksize
  2417. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2418. null, //corrreplwhat
  2419. null, //corrreplwith
  2420. null, //separator
  2421. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2422. "op=checkfiles&process=Check+URLs&list=", //postdata
  2423. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2424. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2425. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2426. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2427. null //function delegate
  2428. )
  2429. }
  2430. }
  2431. }
  2432. // TEMPLATE
  2433. // if (GM_getValue("Check__dot_com_links", false))
  2434. // {
  2435. // addHost(
  2436. // "", //hostname
  2437. // "", //linkregex
  2438. // "//a[contains(@href,'.com/')]", //xpath
  2439. // null, //blocksize
  2440. // null, //corrmatch
  2441. // null, //corrreplwhat
  2442. // null, //corrreplwith
  2443. // null, //separator
  2444. // "", //api url
  2445. // "", //postdata
  2446. // /()/, //linkregex
  2447. // //liveregex
  2448. // //deadregex
  2449. // //unavaregex
  2450. // null //function delegate
  2451. // )
  2452. // }
  2453. addGenericType1();
  2454. addGenericType2();
  2455.  
  2456. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2457. {
  2458. addHost(
  2459. "myvdrive,fileserving", //hostname
  2460. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2461. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2462. null, //blocksize
  2463. null, //corrmatch
  2464. null, //corrreplwhat
  2465. null, //corrreplwith
  2466. null, //separator
  2467. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2468. "links=", //postdata
  2469. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2470. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2471. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2472. null, //unavaregex
  2473. null //function delegate
  2474. )
  2475. }
  2476. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2477. {
  2478. addHost(
  2479. "hackerbox", //hostname
  2480. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2481. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2482. null, //blocksize
  2483. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2484. null, //corrreplwhat
  2485. null, //corrreplwith
  2486. null, //separator
  2487. "http://host.hackerbox.org/checkfiles.html", //api url
  2488. "op=checkfiles&process=Check+URLs&list=", //postdata
  2489. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2490. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2491. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2492. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2493. null //function delegate
  2494. )
  2495. }
  2496. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2497. {
  2498. addHost(
  2499. "hellshare", //hostname
  2500. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2501. "//a[contains(@href,'hellshare.')]", //xpath
  2502. 48, //blocksize
  2503. null, //corrmatch
  2504. null, //corrreplwhat
  2505. null, //corrreplwith
  2506. null, //separator
  2507. null, //api url
  2508. null, //postdata
  2509. null, //linkregex
  2510. null, //liveregex
  2511. null, //deadregex
  2512. null, //unavaregex
  2513. hellshareBulkCheck //function delegate
  2514. )
  2515. }
  2516. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2517. {
  2518. addHost(
  2519. "uploadrocket", //hostname
  2520. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2521. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2522. null, //blocksize
  2523. null, //corrmatch
  2524. null, //corrreplwhat
  2525. null, //corrreplwith
  2526. "\n", //separator
  2527. 'http://uploadrocket.net/?op=checkfiles',
  2528. 'op=checkfiles&process=Check+URLs&list=',
  2529. /uploadrocket.net\/(\w+)/,
  2530. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2531. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2532. null,
  2533. null //function delegate
  2534. )
  2535. }
  2536. if (GM_getValue("Check_uploading_dot_site_links", false))
  2537. {
  2538. addHost(
  2539. "uploading", //hostname
  2540. "(?:uploading\\.site)\/\\w+", //linkregex
  2541. "//a[contains(@href,'uploading.site/')]", //xpath
  2542. null, //blocksize
  2543. null, //corrmatch
  2544. null, //corrreplwhat
  2545. null, //corrreplwith
  2546. "\n", //separator
  2547. 'http://uploading.site/?op=checkfiles',
  2548. 'op=checkfiles&process=Check+URLs&list=',
  2549. /uploading.site\/(\w+)/,
  2550. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2551. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2552. null,
  2553. null //function delegate
  2554. )
  2555. }
  2556. if (GM_getValue("Check_1f_dot_al_links", false))
  2557. {
  2558. addHost(
  2559. "1f",
  2560. "(?:1f\\.al)\/d\/\\w+",
  2561. "//a[contains(@href,'1f.al/d/')]",
  2562. 100000, //blocksize
  2563. null, //corrmatch
  2564. null, //corrreplwhat
  2565. null, //corrreplwith
  2566. null, //separator
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. _1falBulkCheck //function delegate
  2574. )
  2575. }
  2576. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2577. {
  2578. addHost(
  2579. "k2s,keep2s,keep2share",
  2580. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2581. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2582. 100000, //blocksize
  2583. null, //corrmatch
  2584. null, //corrreplwhat
  2585. null, //corrreplwith
  2586. null, //separator
  2587. null,
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. k2sBulkCheck //function delegate
  2594. )
  2595. }
  2596. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2597. {
  2598. addHost(
  2599. "tezfiles",
  2600. "(?:tezfiles\\.com)\/\\w+",
  2601. "//a[contains(@href,'tezfiles.com')]",
  2602. 100000, //blocksize
  2603. null, //corrmatch
  2604. null, //corrreplwhat
  2605. null, //corrreplwith
  2606. null, //separator
  2607. null,
  2608. null,
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. k2sBulkCheck //function delegate
  2614. )
  2615. }
  2616. if (GM_getValue("Check_fboom_dot_me_links", false))
  2617. {
  2618. addHost(
  2619. "fboom,fileboom",
  2620. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2621. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2622. 100000, //blocksize
  2623. null, //corrmatch
  2624. null, //corrreplwhat
  2625. null, //corrreplwith
  2626. null, //separator
  2627. null,
  2628. null,
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. fboomBulkCheck //function delegate
  2634. )
  2635. }
  2636. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2637. {
  2638. addHost(
  2639. "1fichier,dl4free",
  2640. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2641. "//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/?')]",
  2642. 100000, //blocksize
  2643. null, //corrmatch
  2644. null, //corrreplwhat
  2645. null, //corrreplwith
  2646. null, //separator
  2647. null,
  2648. null,
  2649. null,
  2650. null,
  2651. null,
  2652. null,
  2653. dl4free_1fichier_BulkCheck //function delegate
  2654. )
  2655. }
  2656. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2657. {
  2658. addHost(
  2659. "nitroflare",
  2660. "nitroflare\\.com\/\\w+",
  2661. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2662. 100000, //blocksize
  2663. null, //corrmatch
  2664. null, //corrreplwhat
  2665. null, //corrreplwith
  2666. null, //separator
  2667. null,
  2668. null,
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. nitroflareBulkCheck //function delegate
  2674. )
  2675. }
  2676. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2677. {
  2678. addHost(
  2679. "depositfiles,dfiles",
  2680. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2681. "//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/')]",
  2682. 100000, //blocksize
  2683. null, //corrmatch
  2684. null, //corrreplwhat
  2685. null, //corrreplwith
  2686. null, //separator
  2687. null,
  2688. null,
  2689. null,
  2690. null,
  2691. null,
  2692. null,
  2693. depositfilesBulkCheck //function delegate
  2694. )
  2695. }
  2696. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2697. {
  2698. addHost(
  2699. "filesflash", //hostname
  2700. "filesflash\\.com\/\\w+", //linkregex
  2701. "//a[contains(@href,'filesflash.com')]", //xpath
  2702. null, //blocksize
  2703. null, //corrmatch
  2704. /http:\/\//, //corrreplwhat
  2705. '', //corrreplwith
  2706. null, //separator
  2707. 'http://filesflash.com/checklinks.php',
  2708. 'submit=Go&links=',
  2709. /filesflash\.com\/(\w+)/,
  2710. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2711. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2712. null,
  2713. null //function delegate
  2714. )
  2715. }
  2716. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2717. {
  2718. addHost(
  2719. "jumbofiles", //hostname
  2720. "jumbofiles\\.com\/\\w+", //linkregex
  2721. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2722. null, //blocksize
  2723. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2724. null, //corrreplwhat
  2725. null, //corrreplwith
  2726. null, //separator
  2727. "http://jumbofiles.com/checkfiles.html", //api url
  2728. "op=checkfiles&process=Check+URLs&list=", //postdata
  2729. /(jumbofiles\.com\/\w+)/, //linkregex
  2730. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2731. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2732. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2733. null //function delegate
  2734. )
  2735. }*/
  2736. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2737. {
  2738. addHost(
  2739. "edisk", //hostname
  2740. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2741. "//a[contains(@href,'edisk.')]", //xpath
  2742. null, //blocksize
  2743. null, //corrmatch
  2744. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2745. 'edisk.cz/stahni', //corrreplwith
  2746. null, //separator
  2747. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2748. 'submitBtn=Zkontrolovat&checkFiles=',
  2749. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2750. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2751. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2752. null,
  2753. null //function delegate
  2754. )
  2755. }
  2756. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2757. {
  2758. GM_xmlhttpRequest( //age check skip
  2759. {
  2760. method: 'POST',
  2761. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2762. headers: {
  2763. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2764. 'Content-type': 'application/x-www-form-urlencoded',
  2765. 'Referer': ""
  2766. }
  2767. });
  2768. addHost(
  2769. "bezvadata", //hostname
  2770. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2771. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2772. null, //blocksize
  2773. null, //corrmatch
  2774. null, //corrreplwhat
  2775. null, //corrreplwith
  2776. null, //separator
  2777. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2778. 'zkontrolovat=Zkontrolovat&odkazy=',
  2779. /(bezvadata\.cz\/stahnout\/\d+)/,
  2780. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2781. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2782. null,
  2783. null //function delegate
  2784. )
  2785. }
  2786. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2787. {
  2788. addHost(
  2789. "linkcrypt", //hostname
  2790. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2791. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2792. 100000, //blocksize
  2793. null, //corrmatch
  2794. null, //corrreplwhat
  2795. null, //corrreplwith
  2796. null, //separator
  2797. null,
  2798. null,
  2799. null,
  2800. null,
  2801. null,
  2802. null,
  2803. linkcryptBulkCheck //function delegate
  2804. )
  2805. }
  2806. if (GM_getValue("Check_videobb_dot_com_links", false))
  2807. {
  2808. addHost(
  2809. "videobb", //hostname
  2810. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2811. "//a[contains(@href,'videobb.com')]", //xpath
  2812. null, //blocksize
  2813. null, //corrmatch
  2814. /watch_video\.php\?v=/, //corrreplwhat
  2815. 'video/', //corrreplwith
  2816. null, //separator
  2817. 'http://www.videobb.com/link_checker.php',
  2818. 'links=',
  2819. /videobb\.com\/video\/(\w+)/,
  2820. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2821. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2822. null,
  2823. null //function delegate
  2824. )
  2825. }
  2826. if (GM_getValue("Check_filerio_dot_com_links", false))
  2827. {
  2828. addHost(
  2829. "filekeen,filerio", //hostname
  2830. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2831. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2832. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2833. null, //blocksize
  2834. null, //corrmatch
  2835. null, //corrreplwhat
  2836. null, //corrreplwith
  2837. null, //separator
  2838. 'http://filerio.in/checkfiles.html',
  2839. 'op=checkfiles&process=Check+URLs&list=',
  2840. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2841. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2842. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2843. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2844. null //function delegate
  2845. )
  2846. }
  2847. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2848. {
  2849. addHost(
  2850. "share-online,egoshare", //hostname
  2851. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2852. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2853. null, //blocksize
  2854. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2855. null, //corrreplwhat
  2856. null, //corrreplwith
  2857. "\n", //separator
  2858. 'http://api.share-online.biz/linkcheck.php',
  2859. 'links=',
  2860. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2861. /\w+;OK/g,
  2862. /\w+;(?:NOTFOUND|DELETED)/g,
  2863. null,
  2864. null //function delegate
  2865. )
  2866. }
  2867. if (GM_getValue("Check_oboom_dot_com_links", false))
  2868. {
  2869. addHost(
  2870. "oboom", //hostname
  2871. "oboom\\.com\/#?\\w{8}", //linkregex
  2872. "//a[contains(@href,'oboom.com/')]", //xpath
  2873. null, //blocksize
  2874. /oboom\.com\/#?(\w{8})/, //corrmatch
  2875. null, //corrreplwhat
  2876. null, //corrreplwith
  2877. null, //separator
  2878. null,
  2879. null,
  2880. null,
  2881. null, //liveregex
  2882. null, //deadregex
  2883. null,
  2884. oboomBulk //function delegate
  2885. )
  2886. }
  2887. if (GM_getValue("Check_mega_dot_nz_links", false))
  2888. {
  2889. addHost(
  2890. "mega",
  2891. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2892. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2893. 100000, //blocksize
  2894. null, //corrmatch
  2895. null, //corrreplwhat
  2896. null, //corrreplwith
  2897. null, //separator
  2898. null,
  2899. null,
  2900. null,
  2901. null,
  2902. null,
  2903. null,
  2904. megaBulkCheck //function delegate
  2905. )
  2906. }
  2907.  
  2908. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2909.  
  2910. if (GM_getValue("Check_extabit_dot_com_links", false))
  2911. {
  2912. addHost(
  2913. "extabit", //hostname
  2914. "extabit\\.com\/file\/\\w+", //linkregex
  2915. "//a[contains(@href,'extabit.com')]", //xpath
  2916. null, //blocksize
  2917. null, //corrmatch
  2918. null, //corrreplwhat
  2919. null, //corrreplwith
  2920. "\n", //separator
  2921. "http://extabit.com/linkchecker.jsp", //api url
  2922. "url=", //postdata
  2923. /extabit\.com\/(file\/\w+)/, //linkregex
  2924. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2925. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2926. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2927. extabitBulkCheck //function delegate
  2928. )
  2929. }
  2930. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2931. {
  2932. addHost(
  2933. "junocloud", //hostname
  2934. "junocloud\\.me\/\\w+", //linkregex
  2935. "//a[contains(@href,'junocloud.me')]", //xpath
  2936. null, //blocksize
  2937. null, //corrmatch
  2938. null, //corrreplwhat
  2939. null, //corrreplwith
  2940. "\n", //separator
  2941. "http://junocloud.me/checkfiles.html", //api url
  2942. "op=checkfiles&process=Check+URLs&list=", //postdata
  2943. /(junocloud\.me\/\w+)/, //linkregex
  2944. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2945. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2946. null, //unavaregex
  2947. null //function delegate
  2948. )
  2949. } */
  2950. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2951. {
  2952. addHost(
  2953. "webshare", //hostname
  2954. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2955. "//a[contains(@href,'webshare.cz')]", //xpath
  2956. 100000, //blocksize
  2957. null, //corrmatch
  2958. null, //corrreplwhat
  2959. null, //corrreplwith
  2960. null, //separator
  2961. null, //api url
  2962. null, //postdata
  2963. null, //linkregex
  2964. null, //liveregex
  2965. null, //deadregex
  2966. null, //unavaregex
  2967. webshareBulkCheck //function delegate
  2968. )
  2969. }
  2970. /////////////////////////////
  2971. // Common function delegate to send links to get checked by host linkchecker
  2972. /////////////////////////////
  2973. // If you define a new delegate, you may use following properties
  2974. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2975. // this.apiUrl [string] API or web linkchecker URL
  2976. // this.postData [string] POSTDATA for POST request
  2977. // this.resLiveRegex [regex] matches live substrings in the request response
  2978. // this.resDeadRegex [regex] matches dead substrings in the request response
  2979. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2980. //
  2981. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2982. //
  2983. // See the code below for standard bulkcheck handling reference.
  2984. //////////////////////////////
  2985. function genBulkCheck()
  2986. {
  2987. var blockIdx = this.links.length;
  2988. while (blockIdx--)
  2989. {
  2990. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2991. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2992. }
  2993. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2994. {
  2995. GM_xmlhttpRequest(
  2996. {
  2997. method: 'POST',
  2998. url: api,
  2999. headers: {
  3000. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3001. 'Content-type': 'application/x-www-form-urlencoded',
  3002. 'Referer': api,
  3003. 'X-Requested-With': 'XMLHttpRequest'
  3004. },
  3005. data: postData + encodeURIComponent(links),
  3006. onload: function (result)
  3007. {
  3008. var res = result.responseText;
  3009. // GM_log(res);
  3010. var i;
  3011.  
  3012. var livelinks = res.match(liveRegex);
  3013. var deadlinks = res.match(deadRegex);
  3014. // GM_log(livelinks);
  3015. // GM_log(deadlinks);
  3016. if (livelinks != null)
  3017. {
  3018. i = livelinks.length - 1;
  3019. do
  3020. {
  3021. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3022. }
  3023. while (i--);
  3024. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3025. }
  3026.  
  3027. if (deadlinks != null)
  3028. {
  3029. i = deadlinks.length - 1;
  3030. do
  3031. {
  3032. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3033. }
  3034. while (i--);
  3035. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3036. }
  3037.  
  3038. if (unavaRegex != null)
  3039. {
  3040. var unavalinks = res.match(unavaRegex);
  3041. if (unavalinks)
  3042. {
  3043. i = unavalinks.length - 1;
  3044. do
  3045. {
  3046. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3047. }
  3048. while (i--);
  3049. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3050. }
  3051. }
  3052. }
  3053. });
  3054. }
  3055. }
  3056. //specialized bulkchecking handlers follow
  3057. function webshareBulkCheck()
  3058. {
  3059. var arr = this.links[0].split("\r\n");
  3060. var i = arr.length;
  3061. while(i--)
  3062. {
  3063. postRequest(arr[i]);
  3064. }
  3065. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3066. function postRequest(wsLink)
  3067. {
  3068. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3069. GM_xmlhttpRequest(
  3070. {
  3071. method: 'POST',
  3072. url: "http://webshare.cz/api/file_info/",
  3073. headers: {
  3074. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3075. 'Content-type': 'application/x-www-form-urlencoded',
  3076. 'Referer': "",
  3077. },
  3078. data: "wst=&ident=" + id,
  3079. onload: function (result)
  3080. {
  3081. var res = result.responseText;
  3082. if (res.match(/<name>.+?<\/name>/))
  3083. {
  3084. DisplayTheCheckedLinks([id], 'alive_link');
  3085. }
  3086. else
  3087. {
  3088. DisplayTheCheckedLinks([id], 'adead_link');
  3089. }
  3090. }
  3091. });
  3092. }
  3093. }
  3094. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3095. //extabit also doesn't like requests in fast succession, so some delays are added.
  3096. function extabitBulkCheck()
  3097. {
  3098. var timeoutDelay = 0;
  3099. var blockIdx = this.links.length;
  3100. while (blockIdx--)
  3101. {
  3102. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3103. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3104. }
  3105. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3106. {
  3107. GM_xmlhttpRequest(
  3108. {
  3109. method: 'POST',
  3110. url: api,
  3111. headers: {
  3112. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3113. 'Content-type': 'application/x-www-form-urlencoded',
  3114. 'Referer': api,
  3115. 'X-Requested-With': 'XMLHttpRequest'
  3116. },
  3117. data: postData + encodeURIComponent(links),
  3118. onload: function (result)
  3119. {
  3120. var res = result.responseText;
  3121. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3122. {
  3123. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3124. {
  3125. //GM_log(tryID + ': ' + link);
  3126. GM_xmlhttpRequest(
  3127. {
  3128. method: 'GET',
  3129. url: link,
  3130. 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': ""},
  3131. onload: function(result2)
  3132. {
  3133. var res2 = result2.responseText;
  3134. var res2Status = result.status;
  3135. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3136. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3137. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3138. {
  3139. if (tryID < 7)
  3140. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3141. else
  3142. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3143. }
  3144. }
  3145. });
  3146. }
  3147. //split the hrefs and check them one by one
  3148. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3149. links = links.split('\n');
  3150. var i = links.length;
  3151. while (i--)
  3152. {
  3153. if (links[i])
  3154. {
  3155. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3156. timeoutDelay += 500;
  3157. }
  3158. }
  3159. return;
  3160. }
  3161. var i;
  3162.  
  3163. var livelinks = res.match(liveRegex);
  3164. var deadlinks = res.match(deadRegex);
  3165. if (livelinks != null)
  3166. {
  3167. i = livelinks.length - 1;
  3168. do
  3169. {
  3170. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3171. }
  3172. while (i--);
  3173. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3174. }
  3175.  
  3176. if (deadlinks != null)
  3177. {
  3178. i = deadlinks.length - 1;
  3179. do
  3180. {
  3181. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3182. }
  3183. while (i--);
  3184. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3185. }
  3186.  
  3187. if (unavaRegex != null)
  3188. {
  3189. var unavalinks = res.match(unavaRegex);
  3190. if (unavalinks)
  3191. {
  3192. i = unavalinks.length - 1;
  3193. do
  3194. {
  3195. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3196. }
  3197. while (i--);
  3198. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3199. }
  3200. }
  3201. }
  3202. });
  3203. }
  3204. }
  3205. function _1falBulkCheck()
  3206. {
  3207. var arr = this.links[0].split("\r\n");
  3208. var i = arr.length;
  3209. c=0;
  3210. arrIDs=[];
  3211. while(i--)
  3212. {
  3213. id = arr[i].match(/\/d\/(\w+)/)[1];
  3214.  
  3215. _1falalreadyexist=false;
  3216. for (j=0;j<arrIDs.length;j++)
  3217. {
  3218. if (arrIDs[j]==id)
  3219. {
  3220. _1falalreadyexist=g
  3221. break;
  3222. }
  3223. }
  3224. if (_1falalreadyexist) continue;
  3225. arrIDs.push(id);
  3226. c++;
  3227. setTimeout(_1falRequest,c*500,arr[i]);
  3228. }
  3229. }
  3230. function _1falRequest(_1falLink)
  3231. {
  3232. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3233. GM_xmlhttpRequest(
  3234. {
  3235. method: 'GET',
  3236. url: _1falLink,
  3237. headers: {
  3238. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3239. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3240. 'Referer': 'http://www.planetsuzy.org/'
  3241. },
  3242. onload: function (result)
  3243. {
  3244. var res = result.responseText;
  3245. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3246. if (FAarr!=null)
  3247. {
  3248. FALink=FAarr[1];
  3249. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3250. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3251. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3252. GM_xmlhttpRequest(
  3253. {
  3254. method: 'POST',
  3255. url: FALink,
  3256. headers: {
  3257. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3258. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3259. 'Content-Type': 'application/x-www-form-urlencoded',
  3260. 'Referer': _1falLink
  3261. },
  3262. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3263. onload: function (_2ndresult)
  3264. {
  3265. var newres = _2ndresult.responseText;
  3266. FAalivelink=new RegExp("method_free");
  3267. if (FAalivelink.test(newres))
  3268. {
  3269. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3270. return;
  3271. }
  3272. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3273. if (FAdeadlink.test(newres))
  3274. {
  3275. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3276. return;
  3277. }
  3278. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3279. return;
  3280. }
  3281. });
  3282. return;
  3283. }
  3284. else
  3285. {
  3286. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3287. return;
  3288. }
  3289. },
  3290. onerror: function ()
  3291. {
  3292. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3293. return;
  3294. }
  3295. });
  3296. }
  3297. function k2sBulkCheck()
  3298. {
  3299. var arr = this.links[0].split("\r\n");
  3300. var i = arr.length;
  3301. c=0;
  3302. arrIDs=[];
  3303. while(i--)
  3304. {
  3305. id = arr[i].match(/\/file\/(\w+)/)[1];
  3306. if (id=='info')
  3307. {
  3308. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3309. continue;
  3310. }
  3311. k2salreadyexist=false;
  3312. for (j=0;j<arrIDs.length;j++)
  3313. {
  3314. if (arrIDs[j]==id)
  3315. {
  3316. k2salreadyexist=g
  3317. break;
  3318. }
  3319. }
  3320. if (k2salreadyexist) continue;
  3321. arrIDs.push(id);
  3322. c++;
  3323. setTimeout(k2sRequest,c*500,arr[i]);
  3324. }
  3325. }
  3326. function k2sRequest(K2SLink)
  3327. {
  3328. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3329. GM_xmlhttpRequest(
  3330. {
  3331. method: 'GET',
  3332. url: K2SLink,
  3333. headers: {
  3334. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3335. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3336. 'Referer': ''
  3337. },
  3338. onload: function (result)
  3339. {
  3340. var res = result.responseText;
  3341. K2Dom='k2s.cc';
  3342. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3343. K2SLink2='http://'+K2Dom+'/file/'+id;
  3344.  
  3345. 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'))
  3346. {
  3347. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3348. return;
  3349. }
  3350. if (res.match('method="post">Displaying'))
  3351. {
  3352. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3353. return;
  3354. }
  3355. if (res.match('Premium only|only for premium members'))
  3356. {
  3357. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3358. return;
  3359. }
  3360. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3361. {
  3362. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3363. slID=slow_id.exec(res)[1];
  3364. GM_xmlhttpRequest(
  3365. {
  3366. method: 'POST',
  3367. url: K2SLink2,
  3368. headers: {
  3369. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3370. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3371. 'Content-Type': 'application/x-www-form-urlencoded',
  3372. 'Referer': K2SLink
  3373. },
  3374. data: 'slow_id='+slID+'&yt0=',
  3375. onload: function (result)
  3376. {
  3377. var newres = result.responseText;
  3378. newoversizedtest=new RegExp("Free user can't download large files.");
  3379. if (newoversizedtest.test(newres))
  3380. {
  3381. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3382. return;
  3383. }
  3384. else
  3385. {
  3386. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3387. return;
  3388. }
  3389. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3390. return;
  3391. }
  3392. });
  3393. /////////////////////end additional check for oversized links
  3394. return;
  3395. }
  3396. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3397. return;
  3398. },
  3399. onerror: function ()
  3400. {
  3401. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3402. return;
  3403. }
  3404. });
  3405. }
  3406. function fboomBulkCheck()
  3407. {
  3408. var arr = this.links[0].split("\r\n");
  3409. var i = arr.length;
  3410. c=0;
  3411. arrIDs=[];
  3412. while(i--)
  3413. {
  3414. id = arr[i].match(/\/file\/(\w+)/)[1];
  3415. if (id=='info')
  3416. {
  3417. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3418. continue;
  3419. }
  3420. fbalreadyexist=false;
  3421. for (j=0;j<arrIDs.length;j++)
  3422. {
  3423. if (arrIDs[j]==id)
  3424. {
  3425. fbalreadyexist=true;
  3426. break;
  3427. }
  3428. }
  3429. if (fbalreadyexist) continue;
  3430. arrIDs.push(id);
  3431. c++;
  3432. setTimeout(fboomRequest,c*500,arr[i]);
  3433. }
  3434. }
  3435. function fboomRequest(FBoomLink)
  3436. {
  3437. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3438. FBoomLink2='http://fboom.me/file/'+id;
  3439. GM_xmlhttpRequest(
  3440. {
  3441. method: 'GET',
  3442. url: FBoomLink,
  3443. headers: {
  3444. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3445. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3446. 'Referer': ''
  3447. },
  3448. onload: function (result)
  3449. {
  3450. var res = result.responseText;
  3451. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3452. {
  3453. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3454. return;
  3455. }
  3456. if (res.match('method="post">Displaying'))
  3457. {
  3458. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3459. return;
  3460. }
  3461. if (res.match('only for premium members'))
  3462. {
  3463. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3464. return;
  3465. }
  3466. if (res.match('id="download-free" href="#"'))
  3467. {
  3468. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3469. slID=slow_id.exec(res)[1];
  3470. GM_xmlhttpRequest(
  3471. {
  3472. method: 'POST',
  3473. url: FBoomLink2,
  3474. headers: {
  3475. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3476. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3477. 'Content-Type': 'application/x-www-form-urlencoded',
  3478. 'Referer': FBoomLink
  3479. },
  3480. data: 'slow_id='+slID,
  3481. onload: function (result)
  3482. {
  3483. var newres = result.responseText;
  3484. newoversizedtest=new RegExp("Downloading is not possible");
  3485. if (newoversizedtest.test(newres))
  3486. {
  3487. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3488. return;
  3489. }
  3490. else
  3491. {
  3492. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3493. return;
  3494. }
  3495. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3496. return;
  3497. }
  3498. });
  3499. /////////////////////end additional check for oversized links
  3500. return;
  3501. }
  3502. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3503. return;
  3504. },
  3505. onerror: function ()
  3506. {
  3507. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3508. return;
  3509. }
  3510. });
  3511. }
  3512. function dl4free_1fichier_BulkCheck()
  3513. {
  3514. var arr = this.links[0].split("\r\n");
  3515. var i = arr.length;
  3516. while(i--)
  3517. {
  3518. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3519. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3520. gethead_dl4free_1fichier(arr[i]);
  3521. }
  3522. }
  3523. function gethead_dl4free_1fichier(link)
  3524. {
  3525. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3526. GM_xmlhttpRequest(
  3527. {
  3528. method: 'HEAD',
  3529. url: link,
  3530. headers: {
  3531. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3532. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3533. 'Referer': ''
  3534. },
  3535. onload: function (result)
  3536. {
  3537. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3538. {
  3539. DisplayTheCheckedLinks([id], 'alive_link');
  3540. return;
  3541. }
  3542. else
  3543. {
  3544. getlink_dl4free_1fichier(link);
  3545. }
  3546. return;
  3547. },
  3548. onerror: function ()
  3549. {
  3550. DisplayTheCheckedLinks([id], 'unava_link');
  3551. }
  3552. });
  3553. }
  3554. function getlink_dl4free_1fichier(link)
  3555. {
  3556. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3557. GM_xmlhttpRequest(
  3558. {
  3559. method: 'GET',
  3560. url: link,
  3561. headers: {
  3562. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3563. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3564. 'Referer': ''
  3565. },
  3566. onload: function (result)
  3567. {
  3568. var res = result.responseText;
  3569. 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');
  3570. if (deadRegex.test(res))
  3571. {
  3572. DisplayTheCheckedLinks([id], 'adead_link');
  3573. return;
  3574. }
  3575. premiumRegex=new RegExp('only for premium users');
  3576. if (premiumRegex.test(res))
  3577. {
  3578. DisplayTheCheckedLinks([id], 'prem_link');
  3579. return;
  3580. }
  3581. 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="');
  3582. if (liveRegex.test(res))
  3583. {
  3584. DisplayTheCheckedLinks([id], 'alive_link');
  3585. return;
  3586. }
  3587. DisplayTheCheckedLinks([id], 'unava_link');
  3588. },
  3589. onerror: function ()
  3590. {
  3591. DisplayTheCheckedLinks([id], 'unava_link');
  3592. }
  3593. });
  3594. }
  3595. function nitroflareBulkCheck()
  3596. {
  3597. var arr = this.links[0].split("\r\n");
  3598. var i = arr.length;
  3599. while(i--)
  3600. {
  3601. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3602. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3603. NitroFlareRequest(arr[i]);
  3604. }
  3605. }
  3606. function NitroFlareRequest(NFLink)
  3607. {
  3608. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3609. GM_xmlhttpRequest(
  3610. {
  3611. method: "GET",
  3612. url: NFLink,
  3613. headers: {
  3614. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3615. 'Content-Type': 'application/x-www-form-urlencoded',
  3616. 'Referer': ""
  3617. },
  3618. onload: function (result)
  3619. {
  3620. var res = result.responseText;
  3621. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3622. {
  3623. DisplayTheCheckedLinks([NFID], 'adead_link');
  3624. return;
  3625. }
  3626. if (res.match('Report this file<\/a>'))
  3627. {
  3628. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3629. sizearr=measureRegex.exec(res);
  3630. if (sizearr[2]=='GB')
  3631. {
  3632. if (parseFloat(sizearr[1])>1)
  3633. {
  3634. DisplayTheCheckedLinks([NFID], 'prem_link');
  3635. }
  3636. else
  3637. {
  3638. DisplayTheCheckedLinks([NFID], 'alive_link');
  3639. }
  3640. }
  3641. else
  3642. {
  3643. DisplayTheCheckedLinks([NFID], 'alive_link');
  3644. }
  3645. return;
  3646. }
  3647. DisplayTheCheckedLinks([NFID], 'unava_link');
  3648. }
  3649. });
  3650. }
  3651. function depositfilesBulkCheck()
  3652. {
  3653. var arr = this.links[0].split("\r\n");
  3654. var i = arr.length;
  3655. var seqno = Math.floor(Math.random()*1000000000);
  3656. while(i--)
  3657. {
  3658. DFpostRequest(arr[i]);
  3659. }
  3660. }
  3661. function DFpostRequest(DFLink)
  3662. {
  3663. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3664. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3665. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3666. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3667. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3668. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3670. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3671. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3672. GM_xmlhttpRequest(
  3673. {
  3674. method: "GET",
  3675. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3676. headers: {
  3677. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3678. 'Content-Type': 'application/x-www-form-urlencoded',
  3679. 'Referer': ""
  3680. },
  3681. onload: function (result)
  3682. {
  3683. var res = result.responseText;
  3684. if (res.match('(?:no_file|file_ban)'))
  3685. {
  3686. DisplayTheCheckedLinks([id], 'adead_link');
  3687. return;
  3688. }
  3689. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3690. {
  3691. DisplayTheCheckedLinks([id], 'alive_link');
  3692. return;
  3693. }
  3694. DisplayTheCheckedLinks([id], 'unava_link');
  3695. }
  3696. });
  3697. }
  3698.  
  3699. function megaBulkCheck()
  3700. {
  3701. var arr = this.links[0].split("\r\n");
  3702. var i = arr.length;
  3703. var seqno = Math.floor(Math.random()*1000000000);
  3704. while(i--)
  3705. {
  3706. postRequest(arr[i]);
  3707. }
  3708. function postRequest(megaLink)
  3709. {
  3710. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3711. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3712. if (id=='F')
  3713. {
  3714. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3715. DisplayTheCheckedLinks([id], 'unava_link');
  3716. }
  3717. else
  3718. GM_xmlhttpRequest(
  3719. {
  3720. method: "POST",
  3721. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3722. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3723. headers: {
  3724. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3725. 'Content-Type': 'application/xml',
  3726. 'Referer': "https://mega.co.nz/"
  3727. },
  3728. onload: function (result)
  3729. {
  3730. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3731. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3732. {
  3733.  
  3734. DisplayTheCheckedLinks([id], 'adead_link');
  3735. }
  3736. if (res.at)
  3737. {
  3738. DisplayTheCheckedLinks([id], 'alive_link');
  3739. }
  3740. if (res.e == "ETEMPUNAVAIL")
  3741. {
  3742. DisplayTheCheckedLinks([id], 'unava_link');
  3743. }
  3744. }
  3745. });
  3746. }
  3747.  
  3748. }
  3749.  
  3750. function oboomBulk() {
  3751. var a = [], b = [], c = [];
  3752. var array = this.links;
  3753.  
  3754. GM_xmlhttpRequest({
  3755. method: 'GET',
  3756. url: 'https://www.oboom.com/1/guestsession',
  3757. headers: {
  3758. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3759. 'Content-type': 'application/x-www-form-urlencoded',
  3760. 'Referer': 'https://www.oboom.com',
  3761. 'X-Requested-With': 'XMLHttpRequest'
  3762. },
  3763. onload: function(result) {
  3764. var blockIdx = array.length;
  3765. var token = JSON.parse(result.responseText)[1];
  3766. while (blockIdx--) {
  3767. startCheck(array[blockIdx].split('\r\n'), token);
  3768. }
  3769. }
  3770. });
  3771.  
  3772. function startCheck(links, token) {
  3773. GM_xmlhttpRequest({
  3774. method: 'POST',
  3775. url: "https://api.oboom.com/1/info",
  3776. headers: {
  3777. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3778. 'Content-type': 'application/x-www-form-urlencoded',
  3779. 'Referer': 'https://www.oboom.com/',
  3780. 'X-Requested-With': 'XMLHttpRequest'
  3781. },
  3782. data: "token=" + token + "&items=" + links.join(","),
  3783. onload: function(result) {
  3784. var res = JSON.parse(result.responseText)[1];
  3785. var i = res.length, s;
  3786.  
  3787. while (i--) {
  3788. s = res[i].state;
  3789. if (s == 'online') a.push(res[i].id);
  3790. 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);
  3791. else c.push(res[i].id);
  3792. }
  3793.  
  3794. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3795. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3796. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3797. }
  3798. });
  3799. }
  3800. }
  3801. function linkcryptBulkCheck()
  3802. {
  3803. var arr = this.links[0].split("\r\n");
  3804. var i = arr.length;
  3805. while(i--)
  3806. {
  3807. postRequest(arr[i]);
  3808. }
  3809. function postRequest(lcLink)
  3810. {
  3811. GM_xmlhttpRequest(
  3812. {
  3813. method: "GET",
  3814. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3815. headers: {
  3816. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3817. 'Accept': 'text/xml',
  3818. 'Referer': ""
  3819. },
  3820. onload: function (result)
  3821. {
  3822. var res = result.responseText;
  3823. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3824. {
  3825. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3826. return;
  3827. }
  3828. if (res.match(/folderStatus>1/)) //Online status
  3829. {
  3830. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3831. }
  3832. else
  3833. {
  3834. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3835. }
  3836. }
  3837. });
  3838. }
  3839. }
  3840.  
  3841. /* function megashareBulkCheck()
  3842. {
  3843. var arr = this.links[0].split("\r\n");
  3844. var i = arr.length;
  3845. while(i--)
  3846. {
  3847. postRequest(arr[i]);
  3848. }
  3849. function postRequest(msLink)
  3850. {
  3851. GM_xmlhttpRequest(
  3852. {
  3853. method: "GET",
  3854. url: msLink,
  3855. headers: {
  3856. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3857. 'Content-Type': 'application/x-www-form-urlencoded',
  3858. 'Referer': ""
  3859. },
  3860. onload: function (result)
  3861. {
  3862. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3863. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3864. if ((prZVal == null) || (btn3Name == null))
  3865. {
  3866. return;
  3867. }
  3868. GM_xmlhttpRequest(
  3869. {
  3870. method: "POST",
  3871. url: msLink,
  3872. headers: {
  3873. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3874. 'Content-Type': 'application/x-www-form-urlencoded',
  3875. 'Referer': ""
  3876. },
  3877. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3878. onload: function (result)
  3879. {
  3880. var res = result.responseText;
  3881. if (res.match(/<div id="err">/))
  3882. {
  3883. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3884. }
  3885. else
  3886. {
  3887. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3888. }
  3889. }
  3890. });
  3891. }
  3892. });
  3893. }
  3894. } */
  3895. function hellshareBulkCheck()
  3896. {
  3897. var links = this.links;
  3898. GM_xmlhttpRequest(
  3899. {
  3900. method: "GET",
  3901. url: 'http://www.hellshare.com',
  3902. headers: {
  3903. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3904. 'Accept': 'text/xml',
  3905. 'Referer': ""
  3906. },
  3907. onload: function (result)
  3908. {
  3909. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3910.  
  3911. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3912. if (domain == 'sk')
  3913. loc = 'check=Skontrolova%C5%A5&links=';
  3914. if (domain == 'com')
  3915. loc = 'check=Check+availability&links=';
  3916. if (domain == 'hu')
  3917. loc = 'check=Kontrol%C3%A1lj&links=';
  3918. if (domain == 'pl')
  3919. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3920.  
  3921. genBulkCheck.call({ links: links,
  3922. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3923. postData: loc,
  3924. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3925. 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,
  3926. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3927. resUnavaRegex: null
  3928. });
  3929. }
  3930. });
  3931. }
  3932. /**
  3933. * Displays check result
  3934. * @param {Array} Array of links or link fragments.
  3935. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3936. */
  3937. function DisplayTheCheckedLinks(links, resultStatus)
  3938. {
  3939. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3940. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3941. if (Do_not_linkify_DL_links)
  3942. { //TODO into separate jQuery function
  3943. $links.replaceWith(function(){
  3944. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3945. });
  3946. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3947. }
  3948. $links.removeClass().addClass(resultStatus);
  3949. $links.each(function() {
  3950. this.href = Ref_anonymize_service + $(this).attr("href");
  3951. });
  3952. switch(resultStatus)
  3953. {
  3954. case "alive_link": cLinksAlive += $links.length;
  3955. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3956. break;
  3957. case "adead_link": cLinksDead += $links.length;
  3958. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3959. break;
  3960. case "prem_link": cLinksprem += $links.length;
  3961. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3962. break;
  3963. case "unava_link": cLinksUnava += $links.length; break;
  3964. default:
  3965. }
  3966. cLinksProcessed += $links.length;
  3967. }
  3968. }
  3969. // starts bulkchecking
  3970. //
  3971. // params
  3972. // filterId [string] restricts link detection with passed id attribute
  3973. function startBulkCheck(filterId)
  3974. {
  3975. var cHosts = bulkHosts.length;
  3976. if (cHosts == 0) //no filehostings selected
  3977. return;
  3978. // STEP 1 linkify the links
  3979. var linkifyRegex = '';
  3980. var hostIdx = cHosts;
  3981. while(hostIdx--)
  3982. {
  3983. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3984. }
  3985. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3986. linkify(linkifyRegex);
  3987. //
  3988. //STEP 2 detect link objects
  3989. var xpathAll = '';
  3990. var hostIdx = cHosts;
  3991. while(hostIdx--)
  3992. {
  3993. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3994. }
  3995. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3996. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3997. if (filterId != null) //insert id restriction in the xpath
  3998. {
  3999. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4000. }
  4001. else
  4002. {
  4003. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4004. }
  4005. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4006. if (filterId == null)
  4007. {
  4008. cLinksTotal += links.snapshotLength;
  4009. }
  4010. //
  4011. //STEP 3 bind links with hostings
  4012. var linkIdx = links.snapshotLength;
  4013. var href = null;
  4014. if (linkIdx == 0) // no links found
  4015. return;
  4016. var name;
  4017. while (linkIdx--)
  4018. {
  4019. href = links.snapshotItem(linkIdx).href;
  4020. try // DO NOT REMOVE, filters crap that went through xpath detection
  4021. {
  4022. name = gimmeHostName(href);
  4023. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4024. bulkHostNames[name].links.push(href);
  4025. }
  4026. catch(e)
  4027. {
  4028.  
  4029. }
  4030. }
  4031. //
  4032. //STEP 4 process the links for each filehosting
  4033. var hostIdx = cHosts;
  4034. var host;
  4035. var m,n;
  4036. var arr;
  4037. while (hostIdx--)
  4038. {
  4039. host = bulkHosts[hostIdx];
  4040. arr = host.links;
  4041. if (arr.length == 0) //no links for this hosting, skip
  4042. {
  4043. continue;
  4044. }
  4045. //links match corrections
  4046. if (host.corrMatch != null)
  4047. {
  4048. var idx = arr.length;
  4049. while (idx--)
  4050. {
  4051. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4052. }
  4053. }
  4054. //links replace corrections
  4055. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4056. {
  4057. var idx = arr.length;
  4058. while (idx--)
  4059. {
  4060. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4061. }
  4062. }
  4063. m = arr.length;
  4064. n = host.blockSize;
  4065. if (m > n)
  4066. {
  4067. //insert block separators (RAND_STRING) into the array
  4068. for(var i = n; i < m; i += n + 1)
  4069. {
  4070. arr.splice(i, 0, RAND_STRING);
  4071. }
  4072. }
  4073.  
  4074. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4075. apiUrl: host.apiUrl,
  4076. postData: host.postData,
  4077. resLinkRegex: host.resLinkRegex,
  4078. resLiveRegex: host.resLiveRegex,
  4079. resDeadRegex: host.resDeadRegex,
  4080. resUnavaRegex: host.resUnavaRegex
  4081. });
  4082. //clean up
  4083. arr.length = 0;
  4084. }
  4085. //
  4086.  
  4087. function gimmeHostName(link)
  4088. {
  4089. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4090. }
  4091. }
  4092. function checkLinks(filterId)
  4093. {
  4094. startBulkCheck(filterId);
  4095. start(filterId);
  4096. }
  4097.  
  4098. /**
  4099. * Initialises progress box including event binding and CSS
  4100. */
  4101. function initProgressBox()
  4102. {
  4103. if ($("#warlc-progressbox").length > 0)
  4104. return;
  4105. //progressbox css change size and color of progress box
  4106. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4107. "; opacity:" + (Progress_box_opacity / 100) +
  4108. "; bottom:" + Processbox_Pos_Y +
  4109. "%; left:" + Processbox_Pos_X +
  4110. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4111. \
  4112. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4113. \
  4114. .warlc-progressitem {}\
  4115. \
  4116. .alive {color:#00FF7F; " + Live_links_color +
  4117. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4118. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4119. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4120. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4121. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4122. //
  4123. if (Progressbox_Scaling != 100) {
  4124. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4125. 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
  4126. });
  4127. }
  4128. 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
  4129.  
  4130. GM_addStyle(progressboxCss);
  4131. $('body').append(' <div id="warlc-progressbox">\
  4132. <div class="warlc-progressbar"></div>\
  4133. <span class="warlc-progressitem alive"></span> - \
  4134. <span class="warlc-progressitem dead"></span> - \
  4135. <span class="warlc-progressitem unava"></span> - \
  4136. <span class="warlc-progressitem prem"></span> - \
  4137. <span class="warlc-progressitem processing"></span>\
  4138. </div>');
  4139. $('#warlc-progressbox').hide().click(function(){
  4140. clearInterval(intervalId);
  4141. $(this).hide();
  4142. return false;
  4143. });
  4144. $(".warlc-progressbar").progressbar({complete: function(){
  4145. $(this).fadeOut();
  4146. clearInterval(intervalId); //stop refreshing the stats
  4147. }
  4148. })
  4149. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4150. }
  4151. /**
  4152. * Updates progress data in progress box
  4153. */
  4154. function updateProgress()
  4155. {
  4156. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4157. if (cLinksTotal) // some links were detected on page
  4158. {
  4159. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4160. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4161. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4162. if ((cLinksTotal - cLinksProcessed) == 0)
  4163. {
  4164. $progressItems.first().text(cLinksAlive)
  4165. .next().text(cLinksDead)
  4166. .next().text(cLinksUnava)
  4167. .next().text(cLinksprem)
  4168. .next().remove();
  4169. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4170. $('#warlc-progressbox div:first-child').remove();
  4171. }
  4172. else
  4173. {
  4174. $progressItems.first().text(cLinksAlive)
  4175. .next().text(cLinksDead)
  4176. .next().text(cLinksUnava)
  4177. .next().text(cLinksprem)
  4178. .next().text(cLinksTotal - cLinksProcessed);
  4179. }
  4180. }
  4181. }
  4182.  
  4183. function check_all_links()
  4184. {
  4185. add_WARLC_style();
  4186.  
  4187. if (Show_progress_stats)
  4188. {
  4189. initProgressBox();
  4190. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4191. }
  4192.  
  4193. startBulkCheck(null);
  4194. start(null);
  4195.  
  4196. if (!containers_processed)
  4197. {
  4198. processContainers();
  4199. }
  4200. }
  4201.  
  4202. //Copies all found dead links to clipboard - right now for Scriptish only
  4203. function copy_dead_to_clipboard()
  4204. {
  4205. initClipBoardTools();
  4206.  
  4207. var deadlinksxpath = "//.[@class='adead_link']";
  4208.  
  4209. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4210. var foundlinkstext = '';
  4211.  
  4212. var foundlinkIdx = foundlinks.snapshotLength;
  4213.  
  4214. while(foundlinkIdx--)
  4215. {
  4216. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4217. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4218. }
  4219.  
  4220. GM_setClipboard(foundlinkstext);
  4221. }
  4222. //Copies all found live links to clipboard
  4223. function copy_live_to_clipboard()
  4224. {
  4225. initClipBoardTools();
  4226.  
  4227. var livelinksxpath = "//.[@class='alive_link']";
  4228.  
  4229. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4230. var foundlinks2text = '';
  4231.  
  4232. var foundlink2Idx = foundlinks2.snapshotLength;
  4233.  
  4234. while(foundlink2Idx--)
  4235. {
  4236. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4237. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4238. }
  4239.  
  4240. GM_setClipboard(foundlinks2text);
  4241. }
  4242.  
  4243. function toggle_autocheck()
  4244. {
  4245. var currentState = GM_getValue("Autocheck", false);
  4246. GM_setValue("Autocheck", !currentState);
  4247.  
  4248. if (currentState == true)
  4249. {
  4250. sendMessage('Autocheck disabled', 'red');
  4251. }
  4252. else
  4253. {
  4254. sendMessage('Autocheck enabled', 'SpringGreen');
  4255. }
  4256. }
  4257. function toggle_Enable_Anonymizer()
  4258. {
  4259. var currentState = GM_getValue("Enable_Anonymizer", false);
  4260. GM_setValue("Enable_Anonymizer", !currentState);
  4261.  
  4262. if (currentState == true)
  4263. {
  4264. GM_setValue("Ref_anonymize_service", "");
  4265. sendMessage('Anonymizer Disabled', 'red');
  4266. }
  4267. else
  4268. {
  4269. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4270. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4271. }
  4272. }
  4273.  
  4274. function KeyDownHandler(event)
  4275. {
  4276. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4277. if (event.ctrlKey && event.altKey)
  4278. {
  4279. switch(kcode)
  4280. {
  4281. case 65 : check_all_links(); break;
  4282. case 67 : configuration(); break;
  4283. case 68 : copy_dead_to_clipboard(); break;
  4284. case 76 : copy_live_to_clipboard(); break;
  4285. case 87 : toggle_autocheck(); break;
  4286. case 90 : toggle_Enable_Anonymizer(); break;
  4287. }
  4288. }
  4289. }
  4290.  
  4291. //
  4292. //
  4293. // SCRIPT EXECUTION START POINT
  4294. //
  4295. //
  4296. // Safari specific GM_getResourceText override
  4297. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4298. {
  4299. GM_getResourceText = function(res) {
  4300. var $cssText = GM_getValue("jquery_css", "");
  4301. if ($cssText == "")
  4302. {
  4303. GM_xmlhttpRequest(
  4304. {
  4305. method: 'GET',
  4306. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4307. onload: function (result)
  4308. {
  4309. GM_setValue("jquery_css", result.responseText);
  4310. window.location.reload();
  4311. }
  4312. });
  4313. }
  4314. else
  4315. {
  4316. return $cssText;
  4317. }
  4318. }
  4319. }
  4320. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4321. GM_addStyle(jQueryUICSS);
  4322. //init the stuff
  4323. setVariables();
  4324. initBulkCheck();
  4325. //init info boxes
  4326. messageBox.style.position = 'fixed';
  4327. messageBox.style.top = '20px';
  4328. messageBox.style.left = '10px';
  4329. messageBox.style.opacity = '0.85';
  4330. messageBox.style.background = 'DimGray';
  4331. messageBox.style.fontSize = '36px';
  4332. document.body.appendChild(messageBox);
  4333.  
  4334. //register GM menu commands & keyboard shortcut event handler
  4335. if (Keyboard_functions)
  4336. {
  4337. $(document).keydown(KeyDownHandler);
  4338. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4339. 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);
  4340. }
  4341. else
  4342. {
  4343. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4344. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4345. }
  4346.  
  4347. //start linkchecking
  4348. if (Autocheck)
  4349. {
  4350. $(document).ready(check_all_links);
  4351. }
  4352.  
  4353. //
  4354. //
  4355. // SCRIPT EXECUTION END POINT
  4356. //
  4357. //
  4358.  
  4359. //shows configuration box
  4360. function configuration()
  4361. {
  4362.  
  4363. //prevent multiple creating of config window
  4364. if ($("#hideshow").length)
  4365. {
  4366. $("#hideshow").show();
  4367. return;
  4368. }
  4369.  
  4370. var configcss = '\
  4371. .popup_block .popup fieldset{\
  4372. padding: 1%;\
  4373. border-style: solid;\
  4374. border-width: 1px;\
  4375. border-color: gray;\
  4376. margin-bottom: 1px;\
  4377. }\
  4378. #h3hideshowtitle{\
  4379. font-size: 2em;\
  4380. }\
  4381. #h3hideshow{\
  4382. font-size: 1.5em;\
  4383. }\
  4384. #imghideshow {\
  4385. border: none;\
  4386. }\
  4387. #plusimage{\
  4388. display:inline;\
  4389. }\
  4390. #hideshow {\
  4391. position: fixed;\
  4392. width: 100%;\
  4393. height: 100%;\
  4394. top: 0;\
  4395. left: 0;\
  4396. font-size:12px;\
  4397. z-index:2147483645;\
  4398. text-align:left;\
  4399. }\
  4400. #fade {\
  4401. background: #000;\
  4402. position: fixed;\
  4403. width: 100%;\
  4404. height: 100%;\
  4405. opacity: .80;\
  4406. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4407. left: 0;\
  4408. z-index: 10;\
  4409. }\
  4410. .popup_block {\
  4411. font-family:verdana;\
  4412. color:black;\
  4413. background: #ddd;\
  4414. padding: 10px 20px;\
  4415. border: 2px solid DarkOrange;\
  4416. float: left;\
  4417. width: 700px;\
  4418. position: absolute;\
  4419. top: 7%;\
  4420. left: 50%;\
  4421. bottom: 7%;\
  4422. margin: 0 0 0 -350px;\
  4423. -moz-border-radius:10px;\
  4424. z-index: 100;\
  4425. \
  4426. }\
  4427. .popup_block .popup {\
  4428. float: left;\
  4429. width: 100%;\
  4430. background: #fff;\
  4431. margin: 10px 0;\
  4432. padding: 0px 0 0px;\
  4433. border-left: 1px solid #bbb;\
  4434. border-top: 1px solid #bbb;\
  4435. border-right: 1px solid #bbb;\
  4436. }\
  4437. #h3hideshow{\
  4438. margin: 1px 0 0px;\
  4439. padding: 1px 10px;\
  4440. border-bottom: 1px solid #bbb;\
  4441. font-size: 1.5em;\
  4442. font-weight: normal;\
  4443. cursor:pointer;\
  4444. background:#DDDDDD none repeat scroll 0 0;\
  4445. }\
  4446. #h3hideshow:hover{\
  4447. background:#C0BEBE none repeat scroll 0 0;\
  4448. }\
  4449. #h3hideshowtitle{\
  4450. margin: 2px 0 0px;\
  4451. padding: 7px 10px;\
  4452. border-bottom: 1px solid #bbb;\
  4453. font-size: 1.5em;\
  4454. font-weight: normal;\
  4455. }\
  4456. .popup_block .popup a {\
  4457. color:DarkSkyBlue;\
  4458. text-decoration:none;\
  4459. }\
  4460. .popup p {\
  4461. padding: 1px 10px;\
  4462. margin: 0px 0;\
  4463. -x-system-font:none;\
  4464. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4465. font-size:10pt;\
  4466. font-size-adjust:none;\
  4467. font-stretch:normal;\
  4468. font-style:normal;\
  4469. font-variant:normal;\
  4470. font-weight:normal;\
  4471. line-height:normal;\
  4472. }\
  4473. #sites {\
  4474. padding: 1px 10px;\
  4475. margin: 0px 0;display:inline-block;width:16em;\
  4476. }\
  4477. #dev_ver {\
  4478. color: #00FF00;\
  4479. background: Black;\
  4480. text-align: right;\
  4481. }\
  4482. #sites_suspended {\
  4483. padding: 1px 10px;\
  4484. margin: 0px 0;display:inline-block;width:16em;\
  4485. text-decoration: line-through;\
  4486. }\
  4487. .popup img.cntrl {\
  4488. position: absolute;\
  4489. right: -15px;\
  4490. top: -15px;\
  4491. }\
  4492. #bulk {\
  4493. font-size:8pt;\
  4494. color:orange;\
  4495. padding: 1px 10px;\
  4496. margin: 0px 0;\
  4497. display:inline-block;\
  4498. width:100px;\
  4499. }\
  4500. #note {\
  4501. font-size:7pt;\
  4502. color:gray;\
  4503. padding: 1px 10px;\
  4504. margin: 0px 0;display:inline-block;\
  4505. min-width:100px;\
  4506. }\
  4507. #rednote {\
  4508. font-size:7pt;\
  4509. color:red;\
  4510. padding: 1px 10px;\
  4511. margin: 0px 0;display:inline-block;\
  4512. }\
  4513. #configinfo {\
  4514. font-size:8pt;\
  4515. color:gray;\
  4516. padding: 1px 10px;\
  4517. margin: 0px 0;display:inline-block;width:60em;\
  4518. }\
  4519. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4520. color:black;\
  4521. border-style: solid;\
  4522. border-width: 1px;\
  4523. border-color: gray;\
  4524. }\
  4525. #h3hideshowcontent {\
  4526. min-height:220px;\
  4527. max-height:220px;\
  4528. overflow:auto;\
  4529. display: none;\
  4530. padding: 10px 10px;\
  4531. }\
  4532. #specinfo{\
  4533. font-size:14px;\
  4534. }\
  4535. .warlc-ui-tab {\
  4536. height:300px;\
  4537. overflow:auto;\
  4538. }\
  4539. #warlcsitelist2, #warlcsitelist1 {\
  4540. height:220px;\
  4541. border-top: 1px solid #ddd;\
  4542. padding-top: 5px;\
  4543. overflow:auto;\
  4544. }\
  4545. input:hover+label {\
  4546. background:#F1F77C;\
  4547. font-size:110%;\
  4548. }\
  4549. ';
  4550.  
  4551. GM_addStyle(configcss);
  4552.  
  4553. var customRulesRefHTML =
  4554. '\
  4555. <br>\
  4556. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4557. <b>@keyword</b> <i>parameter</i>\
  4558. <br><br>\
  4559. 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. \
  4560. <br><br>\
  4561. 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.\
  4562. 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.\
  4563. 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.\
  4564. 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,\
  4565. but all commands until the next valid @customrule are ignored.<br><br>\
  4566. Available forms and types:\
  4567. <ul>\
  4568. <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.\
  4569. <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.\
  4570. <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.\
  4571. <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.\
  4572. </ul>\
  4573. Other available commands:<br>\
  4574. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4575. <ul>\
  4576. <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.\
  4577. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4578. <ul>examples:<br>\
  4579. <li>good: <i>filehost.com/download/</i><br>\
  4580. <li>good: <i>download.filehost.net/?d=</i><br>\
  4581. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4582. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4583. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4584. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4585. <li>bad: <i>filehost.com</i> - no slash<br>\
  4586. </ul>\
  4587. \
  4588. <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.\
  4589. 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 \
  4590. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4591. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4592. 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.)\
  4593. Two spaces again match any whitespace.\
  4594. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4595. Two spaces again match any whitespace.\
  4596. <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. \
  4597. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4598. </ul>\
  4599. \
  4600. ';
  4601.  
  4602. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4603. var configurationinnerHTML =
  4604. '<div id="fade"></div>\
  4605. <div class="popup_block">\
  4606. <div class="popup">\
  4607. <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/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5R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z55Knv1xVx+YCiwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/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>\
  4609. <div id="warlc-conf-tabs">\
  4610. <ul>\
  4611. <li><a href="#tabs-1">Filehostings</a></li>\
  4612. <li><a href="#tabs-2">Containers</a></li>\
  4613. <li><a href="#tabs-5">Custom rules</a></li>\
  4614. <li><a href="#tabs-3">Settings</a></li>\
  4615. <li><a href="#tabs-4">About</a></li>\
  4616. </ul>\
  4617. <div id="tabs-1" class="warlc-ui-tab">\
  4618. <div class="warlc-ui-buttonset">\
  4619. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4620. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4621. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4622. </div><br>\
  4623. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4624. <div id="warlcsitelist1"><span>Empty</span></div>\
  4625. </div>\
  4626. <div id="tabs-2" class="warlc-ui-tab">\
  4627. <div class="warlc-ui-buttonset">\
  4628. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4629. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4630. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4631. </div><br>\
  4632. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4633. <div id="warlcsitelist2"><span>Empty</span></div>\
  4634. </div>\
  4635. <div id="tabs-5" class="warlc-ui-tab">\
  4636. <div class="warlcsettings">\
  4637. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4638. <br>\
  4639. <div>Edit custom rules: \
  4640. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4641. <div id="customRulesReference" style="display:none;">'
  4642. + customRulesRefHTML + '\
  4643. </div>\
  4644. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4645. </div>\
  4646. </div>\
  4647. </div>\
  4648. <div id="tabs-3" class="warlc-ui-tab">\
  4649. <div class="warlcsettings">\
  4650. <fieldset>\
  4651. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4652. <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>\
  4653. </fieldset>\
  4654. <fieldset>\
  4655. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4656. <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>\
  4657. <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>\
  4658. <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>\
  4659. <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>\
  4660. <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>\
  4661. <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>\
  4662. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4663. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4664. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4665. <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>\
  4666. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4667. <fieldset>\
  4668. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4669. <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>\
  4670. <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>\
  4671. <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>\
  4672. </fieldset>\
  4673. </fieldset>\
  4674. <fieldset>\
  4675. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4676. </fieldset>\
  4677. <fieldset>\
  4678. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4679. </fieldset>\
  4680. <fieldset>\
  4681. <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>\
  4682. </fieldset>\
  4683. <fieldset>\
  4684. <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>\
  4685. </fieldset>\
  4686. <fieldset>\
  4687. <legend>Progress box settings</legend>\
  4688. <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>\
  4689. <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>\
  4690. <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>\
  4691. </fieldset>\
  4692. </div>\
  4693. </div>\
  4694. <div id="tabs-4" class="warlc-ui-tab">\
  4695. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4696. <br />\
  4697. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4698. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4699. <br />\
  4700. <p><b>Currently supported:</b><br>\
  4701. Filehostings: ' + allHostNames.length + '<br />\
  4702. Containers: ' + allContainerNames.length + '<br />\
  4703. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4704. <br />\
  4705. <p><b>Based on:</b><br>\
  4706. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4707. <br />\
  4708. <p><b>Uses:</b></p>\
  4709. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4710. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4711. <br />\
  4712. <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>\
  4713. </div>\
  4714. </div>\
  4715. </div>\
  4716. </div>';
  4717. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4718. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4719. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4720. var elmHostList = document.getElementById("warlcsitelist1");
  4721. var elmContainerList = document.getElementById("warlcsitelist2");
  4722. buildSettings();
  4723. buildSitelist("", allHostNames, elmHostList);
  4724. buildSitelist("", allContainerNames, elmContainerList);
  4725. if (DEBUG_MODE)
  4726. {
  4727. //log all sites availability status
  4728. diagSites();
  4729. }
  4730. //handler for checkbox state change
  4731. function changeConfiguration(e)
  4732. {
  4733. var element = e.target;
  4734.  
  4735. if (element.type == 'checkbox')
  4736. {
  4737. if (element.checked == 1)
  4738. {
  4739. GM_setValue(element.id, true);
  4740. }
  4741. else
  4742. {
  4743. GM_setValue(element.id, false);
  4744. }
  4745.  
  4746. }
  4747. setVariables();
  4748. }
  4749.  
  4750. //Selects all filehosting checkboxes
  4751. function selectAll()
  4752. {
  4753. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4754. .each(function(index, element){GM_setValue(this.id, true)});
  4755. }
  4756.  
  4757. //Deselects all filehosting checkboxes
  4758. function selectNone()
  4759. {
  4760. $(":checkbox:visible:checked").prop("checked",false)
  4761. .each(function(index, element){GM_setValue(this.id, false)});
  4762. }
  4763. //Sets Processbox position setting
  4764. function changeProgBox(event) {
  4765. var setting;
  4766. switch(event.data.set) {
  4767. case "X": setting = "Processbox_Pos_X"; break;
  4768. case "Y": setting = "Processbox_Pos_Y"; break;
  4769. case "Scale": setting = "Progressbox_Scaling"; break;
  4770. }
  4771. var $setting = $("#" + setting);
  4772. var newSet = $setting.val().replace("%", "");
  4773. GM_setValue(setting, newSet);
  4774. }
  4775. //Sets value of Processbox position
  4776. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4777. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4778. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4779.  
  4780. //Inverts filehosting checkboxes selection
  4781. function selectInvert()
  4782. {
  4783. var $checked = $(":checkbox:visible:checked");
  4784. var $unchecked = $(":checkbox:visible:not(:checked)");
  4785. $unchecked.prop("checked",true)
  4786. .each(function(index, element){GM_setValue(this.id, true)});
  4787. $checked.prop("checked",false)
  4788. .each(function(index, element){GM_setValue(this.id, false)});
  4789. }
  4790. //toggles anonymizer on off
  4791. function Enable_Anonymizer()
  4792. {
  4793. var $checked = $(":checkbox:visible:checked");
  4794. var $unchecked = $(":checkbox:visible:not(:checked)");
  4795. $unchecked.prop("checked",true)
  4796. .each(function(index, element){GM_setValue(this.id, true)});
  4797. $checked.prop("checked",false)
  4798. .each(function(index, element){GM_setValue(this.id, false)});
  4799. }
  4800.  
  4801. function changeRefAnonymizer(){
  4802. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4803. }
  4804.  
  4805. //Sets live links color
  4806. function changeColorLive()
  4807. {
  4808. var inColorLive = document.getElementById("inputColorLive");
  4809. inColorLive.style.background = inColorLive.value;
  4810. GM_setValue("Live_links_color", inColorLive.value);
  4811. }
  4812.  
  4813. //Sets dead links color
  4814. function changeColorDead()
  4815. {
  4816. var inColorDead = document.getElementById("inputColorDead");
  4817. inColorDead.style.background = inColorDead.value;
  4818. GM_setValue("Dead_links_color", inColorDead.value);
  4819. }
  4820.  
  4821. //Sets temp. unavailable links color
  4822. function changeColorTemp()
  4823. {
  4824. var inColorTemp = document.getElementById("inputColorTemp");
  4825. inColorTemp.style.background = inColorTemp.value;
  4826. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4827. }
  4828.  
  4829. //Sets temp. unavailable links color
  4830. function changeColorCont()
  4831. {
  4832. var inColorCont = document.getElementById("inputColorCont");
  4833. inColorCont.style.background = inColorCont.value;
  4834. GM_setValue("Container_links_color", inColorCont.value);
  4835. }
  4836. //Sets premium. links color
  4837. function changeColorprem()
  4838. {
  4839. var inColorprem = document.getElementById("inputColorprem");
  4840. inColorprem.style.background = inColorprem.value;
  4841. GM_setValue("Premium_links_color", inColorprem.value);
  4842. }
  4843.  
  4844. //Diagnose sites for availability
  4845. function diagSites()
  4846. {
  4847. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4848.  
  4849. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4850. {
  4851. if (boxes[i].type == "checkbox")
  4852. {
  4853. checkAvailability(boxes[i]);
  4854. }
  4855. }
  4856.  
  4857. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4858.  
  4859. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4860. {
  4861. if (boxes[i].type == "checkbox")
  4862. {
  4863. checkAvailability(boxes[i]);
  4864. }
  4865. }
  4866.  
  4867. function checkAvailability(cbElm)
  4868. {
  4869. var cb = cbElm;
  4870. GM_xmlhttpRequest(
  4871. {
  4872. method: 'HEAD',
  4873. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4874. headers: {
  4875. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4876. 'Accept': 'text/xml',
  4877. 'Referer': ""
  4878. },
  4879. onload: function (result)
  4880. {
  4881. if (result.status != 200)
  4882. {
  4883. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4884. }
  4885. },
  4886. onerror: function (result)
  4887. {
  4888. if (result.status != 200)
  4889. {
  4890. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4891. //Sets Progress_box position setting
  4892. function changeProgBox(event) {
  4893. var setting;
  4894. switch(event.data.set) {
  4895. case "X": setting = "Progress_box_Pos_X"; break;
  4896. case "Y": setting = "Progress_box_Pos_Y"; break;
  4897. case "Scale": setting = "Progress_box_Scaling"; break;
  4898. }
  4899.  
  4900. var $setting = $("#" + setting);
  4901. var newSet = $setting.val().replace("%", "");
  4902. lsSetVal("general", setting, newSet);
  4903. }
  4904.  
  4905. //Sets value of Progress_box position
  4906. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4907. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4908. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4909. }
  4910. }
  4911. });
  4912. }
  4913. }
  4914. function buildSettings()
  4915. {
  4916. $(".warlcsettings :checkbox").each(function(){
  4917. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4918. .click(function(e){
  4919. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4920. setVariables();
  4921. });
  4922. })
  4923. }
  4924. //Dynamic build of host list
  4925. //param search [string] searches for hostnames matching search substring
  4926. //param siteNames [array] array of site names
  4927. //param targetNode [DOM Node] where the list should be built
  4928. // first child node is replaced
  4929. function buildSitelist(search, siteNames, targetNode)
  4930. {
  4931. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4932. var $targetNode = $(targetNode).empty();
  4933. var searchedSite = "";
  4934. $.each(siteNames, function(i, site){
  4935. if (searchedSite = site.match(searchRegex))
  4936. {
  4937. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4938. //ensuring backward compatibility with the rest of code, to be refactored later
  4939. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4940. //
  4941. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4942. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4943. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4944. );
  4945. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4946. .change(changeConfiguration);
  4947. $targetNode.append('<br />');
  4948. }
  4949. });
  4950. $targetNode.append("<hr>");
  4951. //obsolete hosts checkbox
  4952. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4953. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4954. .change(changeConfiguration);
  4955. $targetNode.append('<br />');
  4956. var foundName = "";
  4957. $.each(allObsoleteNames, function(i, site){
  4958. if (foundName = allObsoleteNames[i].match(searchRegex))
  4959. {
  4960. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4961. }
  4962. })
  4963. }
  4964. var hostSearchBox = document.getElementById("hostSearchBox");
  4965. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4966. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4967. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4968. $(".warlc-ui-select-all").click(selectAll).button();
  4969. $(".warlc-ui-select-none").click(selectNone).button();
  4970. $(".warlc-ui-select-invert").click(selectInvert).button();
  4971. $(".warlc-ui-buttonset").buttonset();
  4972. var inColorLive = document.getElementById("inputColorLive");
  4973. inColorLive.addEventListener('keyup', changeColorLive, false);
  4974.  
  4975. var inColorDead = document.getElementById("inputColorDead");
  4976. inColorDead.addEventListener('keyup', changeColorDead, false);
  4977.  
  4978. var inColorTemp = document.getElementById("inputColorTemp");
  4979. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4980.  
  4981. var inColorCont = document.getElementById("inputColorCont");
  4982. inColorCont.addEventListener('keyup', changeColorCont, false);
  4983. var inColorprem = document.getElementById("inputColorprem");
  4984. inColorprem.addEventListener('keyup', changeColorprem, false);
  4985. $("#refAnonymizer").change(changeRefAnonymizer);
  4986. //buttons and edit boxes init end
  4987.  
  4988. //icon sets radio buttons
  4989. var radioButtons = document.getElementsByName("warlciconset");
  4990. radioButtons[Icon_set].checked = "checked";
  4991.  
  4992. radioButtons[0].addEventListener("change", updateIconSet);
  4993. radioButtons[1].addEventListener("change", updateIconSet);
  4994. radioButtons[2].addEventListener("change", updateIconSet);
  4995. radioButtons[3].addEventListener("change", updateIconSet);
  4996. function updateIconSet()
  4997. {
  4998. GM_setValue("Icon_set", this.value * 1);
  4999. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5000. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5001. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5002. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5003. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5004.  
  5005. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5006. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5007.  
  5008. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5009. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5010. }
  5011. //
  5012. $('#showCustomRulesReference').click(function(e){
  5013. e.preventDefault();
  5014. $('#customRulesReference').toggle();
  5015. });
  5016. $('#Custom_rules_text')
  5017. .val(Custom_rules_text)
  5018. .change(saveCustomRules);
  5019. function saveCustomRules(e)
  5020. {
  5021. var cr = parseCustomRules(this.value);
  5022. if (cr.info.length)
  5023. 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, ' '));
  5024. GM_setValue('Custom_rules_text', this.value);
  5025. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5026. }
  5027. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5028. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5029. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5030. }
  5031.  
  5032. //begin standard link checking algorithm
  5033. function start(filterId)
  5034. {
  5035. var doNotLinkify = Do_not_linkify_DL_links;
  5036.  
  5037. // USER SELECTED FILE HOSTS INITIALIZATION START
  5038. var http_file_hosts = new Array(); //standard hostings
  5039. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5040. var http_file_hosts_obsolete = new Array(); //dead hostings
  5041. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5042.  
  5043. initFileHosts();
  5044. initFileHostsHeadersOnly();
  5045. initFileHostsCustom(); //CustomRules
  5046. // USER SELECTED FILE HOSTS INITIALIZATION END
  5047.  
  5048. // LINKIFICATION START
  5049. var totalxpath = '';
  5050. var totalxpathcoded = '';
  5051. var totalxpathobsolete = '';
  5052. var totalxpathheadersonly = '';
  5053. var totalourls = '';
  5054.  
  5055. var filehostLen = http_file_hosts.length;
  5056. var filehostCodedLen = http_file_hosts_coded.length;
  5057. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5058. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5059.  
  5060. var filehostIdx = filehostLen;
  5061. var filehostCodedIdx = filehostCodedLen;
  5062. var filehostObsoleteIdx = filehostObsoleteLen;
  5063. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5064.  
  5065. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5066. return;
  5067.  
  5068. while (filehostIdx--)
  5069. {
  5070. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5071. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5072. }
  5073.  
  5074. while (filehostCodedIdx--)
  5075. {
  5076. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5077. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5078. }
  5079.  
  5080. while (filehostObsoleteIdx--)
  5081. {
  5082. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5083. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5084. }
  5085.  
  5086. while (filehostHeadersOnlyIdx--)
  5087. {
  5088. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5089. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5090. }
  5091.  
  5092. totalourls = totalourls.replace(/\|$/g, "");
  5093. //TODO: further refactoring needed
  5094. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5095. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5096. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5097. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5098. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5099. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5100. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5101. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5102. if (filterId != null) //insert id restriction in the xpath
  5103. {
  5104. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5105. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5106. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5107. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5108. }
  5109. else
  5110. {
  5111. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5112. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5113. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5114. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5115. }
  5116. linkify(totalourls);
  5117. //LINKIFICATION END
  5118. //ENCRYPTED LINKS PROCESSING START
  5119. if (http_file_hosts_coded.length > 0)
  5120. {
  5121. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5122.  
  5123. // decrypt coded links (redirects, link protectors etc.)
  5124. if (linksCoded.snapshotLength > 0)
  5125. {
  5126. var link;
  5127. var reallinkreg;
  5128. var reallinkcorrection;
  5129.  
  5130. if (filterId == null)
  5131. {
  5132. cLinksTotal += linksCoded.snapshotLength;
  5133. }
  5134.  
  5135. var y = linksCoded.snapshotLength - 1;
  5136. do
  5137. {
  5138. // linksCoded.snapshotItem(y).id = 'processing_link';
  5139. link = linksCoded.snapshotItem(y);
  5140. filehostIdx = filehostCodedLen;
  5141. while (filehostIdx--)
  5142. {
  5143. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5144. {
  5145. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5146. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5147. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5148.  
  5149. decurl(link, reallinkreg, reallinkcorrection);
  5150. break;
  5151. }
  5152. }
  5153. }
  5154. while (y--);
  5155. }
  5156. }
  5157. //ENCRYPTED LINKS PROCESSING END
  5158.  
  5159. //STANDARD LINKCHECKING START
  5160. if (http_file_hosts.length > 0)
  5161. {
  5162. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5163.  
  5164. if (filterId == null)
  5165. {
  5166. cLinksTotal += lianks.snapshotLength;
  5167. }
  5168.  
  5169. if (lianks.snapshotLength > 0)
  5170. {
  5171. var link;
  5172.  
  5173. var URL = "";
  5174. var name = "";
  5175. var isAliveRegex = "";
  5176. var isDeadRegex = "";
  5177. var isUnavaRegex = "";
  5178. var ispremRegex = "";
  5179. var tryLoop = false;
  5180.  
  5181. var y = lianks.snapshotLength;
  5182.  
  5183. while (y--)
  5184. {
  5185. link = lianks.snapshotItem(y);
  5186.  
  5187. filehostIdx = filehostLen;
  5188. while (filehostIdx--)
  5189. {
  5190. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5191. {
  5192. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5193. isAliveRegex = http_file_hosts[filehostIdx][1];
  5194. isDeadRegex = http_file_hosts[filehostIdx][2];
  5195. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5196. ispremRegex = http_file_hosts[filehostIdx][6];
  5197. tryLoop = http_file_hosts[filehostIdx][5];
  5198.  
  5199. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5200.  
  5201. break;
  5202. }
  5203. }
  5204. }
  5205. }
  5206. }
  5207. //STANDARD LINKCHECKING END
  5208. //OBSOLETE FILE HOSTS PROCESSING START
  5209. if (filehostObsoleteLen > 0)
  5210. {
  5211. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5212.  
  5213. var obsoleteLink;
  5214.  
  5215. //check links
  5216. if (obsoletelinks.snapshotLength > 0)
  5217. {
  5218. var y = obsoletelinks.snapshotLength;
  5219.  
  5220. if (filterId == null)
  5221. {
  5222. cLinksTotal += y;
  5223. }
  5224.  
  5225. while (y--)
  5226. {
  5227. obsoleteLink = obsoletelinks.snapshotItem(y);
  5228.  
  5229. if (Display_tooltip_info)
  5230. {
  5231. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5232. }
  5233. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5234. }
  5235. }
  5236. }
  5237. //OBSOLETE FILE HOSTS PROCESSING END
  5238.  
  5239. //DIRECT LINKCHECKING START
  5240. if (http_file_hosts_headers_only.length > 0)
  5241. {
  5242. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5243.  
  5244. //check links
  5245. if (links.snapshotLength > 0)
  5246. {
  5247. var link;
  5248. var isAliveRegex;
  5249. var isDeadRegex;
  5250. var ispremRegex;
  5251.  
  5252. var y = links.snapshotLength;
  5253.  
  5254.  
  5255. if (filterId == null)
  5256. {
  5257. cLinksTotal += y;
  5258. }
  5259.  
  5260. while (y--)
  5261. {
  5262. // links.snapshotItem(y).id = 'processing_link';
  5263. link = links.snapshotItem(y);
  5264. filehostIdx = filehostHeadersOnlyLen;
  5265. while (filehostIdx--)
  5266. {
  5267. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5268. {
  5269. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5270. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5271. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5272. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5273.  
  5274. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5275.  
  5276. break;
  5277. }
  5278. }
  5279. }
  5280.  
  5281. }
  5282. }
  5283. //DIRECT LINKCHECKING END
  5284.  
  5285.  
  5286. //finds the real url on the page, replaces link.href with it and calls geturl
  5287. function decurl(link, reallinkreg, reallinkcorrection)
  5288. {
  5289.  
  5290. GM_xmlhttpRequest(
  5291. {
  5292. method: 'GET',
  5293. url: link.href,
  5294. headers: {
  5295. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5296. 'Accept': 'text/xml',
  5297. 'Referer': ""
  5298. },
  5299. onload: function (result)
  5300. {
  5301. // cLinksProcessed++;
  5302.  
  5303. var reallink = result.responseText.match(reallinkreg)[0];
  5304. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5305.  
  5306. link.href = reallink;
  5307.  
  5308. var i = http_file_hosts.length - 1;
  5309. do
  5310. {
  5311. if ((reallink.match(http_file_hosts[i][0])))
  5312. {
  5313. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5314. var isAliveRegex = http_file_hosts[i][1];
  5315. var isDeadRegex = http_file_hosts[i][2];
  5316. var isUnavaRegex = http_file_hosts[i][3];
  5317. var ispremRegex = http_file_hosts[i][4];
  5318.  
  5319. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5320.  
  5321. break;
  5322. }
  5323. }
  5324. while (i--);
  5325. }
  5326. });
  5327. }
  5328.  
  5329. function randUA()
  5330. {
  5331. //TODO
  5332. }
  5333. //Processes link
  5334. //
  5335. // [string] link link URL
  5336. // [string] isAliveRegex alive link regex
  5337. // [string] isDeadRegex dead link regex
  5338. // [string] isUnavaRegex unavailable link regex
  5339. // [string] ispremRegex premium link regex
  5340. // [boolean] tryLoop repeats request until succeeded
  5341. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5342. {
  5343. GM_xmlhttpRequest(
  5344. {
  5345. method: 'GET',
  5346. url: link.href,
  5347. headers: {
  5348. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5349. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5350. 'Referer': ""
  5351. },
  5352. onload: function (result)
  5353. {
  5354. var res = result.responseText;
  5355. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5356. {
  5357. displayTheCheckedLink(link, 'alive_link');
  5358. return;
  5359. }
  5360.  
  5361. if (res.match(isAliveRegex))
  5362. {
  5363. displayTheCheckedLink(link, 'alive_link');
  5364. return;
  5365. }
  5366.  
  5367. if (res.match(isDeadRegex))
  5368. {
  5369. displayTheCheckedLink(link, 'adead_link');
  5370. return;
  5371. }
  5372.  
  5373. if (isUnavaRegex && res.match(isUnavaRegex))
  5374. {
  5375. displayTheCheckedLink(link, 'unava_link');
  5376. return;
  5377. }
  5378. if (res.match(ispremRegex))
  5379. {
  5380. displayTheCheckedLink(link, 'prem_link');
  5381. return;
  5382. }
  5383.  
  5384. var resStatus = result.status;
  5385.  
  5386. if (resStatus == 404)
  5387. {
  5388. displayTheCheckedLink(link, 'adead_link');
  5389. }
  5390. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5391. {
  5392. if (tryLoop)
  5393. {
  5394. //wait 1-5 seconds and repeat the request
  5395. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5396. }
  5397. else
  5398. {
  5399. displayTheCheckedLink(link, 'unava_link');
  5400. }
  5401.  
  5402. return;
  5403. }
  5404. },
  5405. onerror: function ()
  5406. {
  5407. displayTheCheckedLink(link, 'unava_link');
  5408. }
  5409. });
  5410. }
  5411.  
  5412. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5413. {
  5414. GM_xmlhttpRequest(
  5415. {
  5416. method: 'HEAD',
  5417. url: link.href,
  5418. headers: {
  5419. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5420. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5421. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5422. 'Referer': ""
  5423. },
  5424. onload: function (result)
  5425. {
  5426. var resStatus = result.status;
  5427. var resHeaders = "";
  5428. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5429. {
  5430. displayTheCheckedLink(link, 'adead_link');
  5431. return;
  5432. }
  5433.  
  5434. resHeaders = result.responseHeaders;
  5435.  
  5436. if (resHeaders.match(isDeadRegex))
  5437. {
  5438. displayTheCheckedLink(link, 'adead_link');
  5439. return;
  5440. }
  5441.  
  5442. if (resHeaders.match(isAliveRegex))
  5443. {
  5444. displayTheCheckedLink(link, 'alive_link');
  5445. return;
  5446. }
  5447. if (resHeaders.match(ispremRegex))
  5448. {
  5449. displayTheCheckedLink(link, 'prem_link');
  5450. return;
  5451. }
  5452. },
  5453. onerror: function ()
  5454. {
  5455. displayTheCheckedLink(link, 'unava_link');
  5456. }
  5457. });
  5458. }
  5459.  
  5460. //Delinkfifies the <a> element object
  5461. function delinkifyLink(link)
  5462. {
  5463. var spanElm = document.createElement("span");
  5464. spanElm.className = link.className;
  5465. spanElm.innerHTML = link.innerHTML;
  5466.  
  5467. if (Display_tooltip_info)
  5468. {
  5469. spanElm.href = link.href;
  5470. spanElm.warlc_error = link.warlc_error;
  5471. switch (link.className){
  5472. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5473. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5474. case "unava_link": //reserved
  5475. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5476. default:
  5477. }
  5478. }
  5479. link.parentNode.replaceChild(spanElm, link);
  5480. }
  5481.  
  5482. //Assigns result status to the <a> element object and calls delinkifying eventually
  5483. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5484. function displayTheCheckedLink(link, resultStatus)
  5485. {
  5486. link.className = resultStatus;
  5487. link.href = Ref_anonymize_service + link.href;
  5488. if (Display_tooltip_info)
  5489. {
  5490. switch (resultStatus){
  5491. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5492. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5493. case "unava_link": //reserved
  5494. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5495. default:
  5496. }
  5497. }
  5498. if (doNotLinkify)
  5499. {
  5500. delinkifyLink(link);
  5501. }
  5502. cLinksProcessed++;
  5503.  
  5504. if (resultStatus == "alive_link")
  5505. {
  5506. cLinksAlive++;
  5507. return;
  5508. }
  5509.  
  5510. if (resultStatus == "adead_link")
  5511. {
  5512. cLinksDead++;
  5513. return;
  5514. }
  5515.  
  5516. if (resultStatus == "unava_link")
  5517. {
  5518. cLinksUnava++;
  5519. }
  5520. if (resultStatus == "prem_link")
  5521. {
  5522. cLinksprem++;
  5523. return;
  5524. }
  5525. }
  5526.  
  5527.  
  5528. function initFileHosts()
  5529. {
  5530.  
  5531. function addObsoleteHost(linkRegex, xpathEx)
  5532. {
  5533. var host = new Array(2);
  5534. host[0] = linkRegex;
  5535. host[1] = xpathEx;
  5536. http_file_hosts_obsolete.push(host);
  5537. }
  5538.  
  5539. //obsolete file hosts init start
  5540. if (Obsolete_file_hosts)
  5541. {
  5542. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5543. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5544. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5545. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5546. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5547. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5548. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5549. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5550. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5551. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5552. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5553. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5554. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5555. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5556. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5557. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5558. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5559. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5560. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5561. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5562. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5563. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5564. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5565. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5566. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5567. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5568. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5569. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5570. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5571. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5572. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5573. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5574. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5575. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5576. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5577. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5578. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5579. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5580. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5581. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5582. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5583. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5584. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5585. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5586. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5587. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5588. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5589. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5590. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5591. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5592. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5593. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5594. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5595. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5596. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5597. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5598. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5599. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5600. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5601. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5602. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5603. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5604. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5605. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5606. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5607. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5608. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5609. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5610. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5611. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5612. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5613. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5614. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5615. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5616. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5617. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5618. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5619. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5620. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5621. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5622. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5623. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5624. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5625. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5626. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5627. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5628. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5629. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5630. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5631. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5632. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5633. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5634. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5635. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5636. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5637. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5638. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5639. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5640. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5641. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5642. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5643. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5644. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5645. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5646. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5647. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5648. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5649. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5650. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5651. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5652. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5653. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5654. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5655. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5656. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5657. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5658. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5659. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5660. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5661. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5662. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5663. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5664. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5665. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5666. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5667. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5668. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5669. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5670. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5671. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5672. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5673. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5674. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5675. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5676. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5677. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5678. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5679. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5680. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5681. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5682. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5683. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5684. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5685. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5686. 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')]");
  5687. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5688. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5689. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5690. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5691. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5692. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5693. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5694. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5695. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5696. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5697. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5698. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5699. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5700. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5701. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5702. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5703. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5704. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5705. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5706. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5707. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5708. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5709. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5710. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5711. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5712. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5713. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5714. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5715. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5716. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5717. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5718. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5719. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5720. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5721. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5722. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5723. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5724. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5725. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5726. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5727. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5728. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5729. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5730. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5731. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5732. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5733. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5734. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5735. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5736. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5737. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5738. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5739. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5740. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5741. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5742. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5743. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5744. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5745. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5746. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5747. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5748. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5749. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5750. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5751. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5752. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5753. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5754. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5755. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5756. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5757. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5758. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5759. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5760. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5761. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5762. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5763. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5764. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5765. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5766. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5767. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5768. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5769. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5770. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5771. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5772. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5773. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5774. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5775. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5776. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5777. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5778. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5779. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5780. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5781. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5782. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5783. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5784. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5785. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5786. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5787. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5788. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5789. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5790. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5791. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5792. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5793. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5794. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5795. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5796. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5797. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5798. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5799. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5800. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5801. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5802. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5803. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5804. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5805. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5806. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5807. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5808. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5809. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5810. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5811. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5812. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5813. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5814. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5815. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5816. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5817. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5818. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5819. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5820. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5821. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5822. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5823. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5824. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5825. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5826. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5827. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5828. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5829. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5830. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5831. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5832. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5833. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5834. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5835. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5836. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5837. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5838. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5839. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5840. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5841. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5842. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5843. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5844. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5845. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5846. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5847. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5848. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5849. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5850. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5851. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5852. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5853. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5854. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5855. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5856. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5857. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5858. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5859. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5860. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5861. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5862. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5863. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5864. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5865. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5866. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5867. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5868. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5869. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5870. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5871. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5872. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5873. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5874. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5875. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5876. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5877. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5878. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5879. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5880. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5881. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5882. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5883. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5884. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5885. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5886. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5887. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5888. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5889. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5890. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5891. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5892. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5893. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5894. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5895. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5896. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5897. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5898. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5899. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5900. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5901. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5902. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5903. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5904. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5905. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5906. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5907. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5908. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5909. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5910. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5911. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5912. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5913. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5914. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5915. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5916. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5917. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5918. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5919. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5920. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5921. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5922. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5923. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5924. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5925. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5926. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5927. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5928. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5929. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5930. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5931. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5932. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5933. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5934. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5935. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5936. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5937. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5938. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5939. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5940. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5941. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5942. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5943. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5944. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5945. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5946. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5947. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5948. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5949. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5950. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5951. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5952. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5953. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5954. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5955. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5956. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5957. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5958. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5959. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5960. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5961. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5962. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5963. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5964. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5965. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5966. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5967. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5968. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5969. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5970. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5971. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5972. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5973. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5974. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5975. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5976. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5977. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5978. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5979. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5980. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5981. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5982. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5983. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5984. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5985. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5986. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5987. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5988. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5989. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5990. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5991. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5992. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5993. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5994. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5995. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5996. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5997. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5998. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5999. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6000. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6001. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6002. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6003. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6004. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6005. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6006. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6007. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6008. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6009. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6010. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6011. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6012. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6013. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6014. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6015. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6016. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6017. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6018. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6019. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6020. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6021. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6022. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6023. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6024. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6025. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6026. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6027. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6028. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6029. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6030. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6031. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6032. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6033. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6034. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6035. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6036. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6037. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6038. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6039. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6040. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6041. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6042. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6043. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6044. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6045. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6046. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6047. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6048. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6049. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6050. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6051. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6052. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6053. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6054. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6055. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6056. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6057. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6058. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6059. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6060. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6061. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6062. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6063. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6064. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6065. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6066. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6067. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6068. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6069. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6070. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6071. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6072. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6073. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6074. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6075. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6076. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6077. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6078. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6079. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6080. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6081. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6082. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6083. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6084. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6085. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6086. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6087. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6088. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6089.  
  6090. // obsolete start start2
  6091. }
  6092. //obsolete file hosts init end
  6093. //Add Host Example
  6094. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6095. {
  6096. addFileHost(
  6097. "datafile\.com\/\\w+",
  6098. 'var captchaPanel|<link href="/css/files_download.css"',
  6099. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6100. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6101. '<style type="text/css">',
  6102. "//a[contains(@href,'datafile.com')]",
  6103. true);
  6104. } */
  6105.  
  6106. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6107. {
  6108. var host = new Array(7);
  6109. host[0] = linkRegex;
  6110. host[1] = isAliveRegex;
  6111. host[2] = isDeadRegex;
  6112. host[3] = isUnavaRegex;
  6113. host[6] = ispremRegex;
  6114. host[4] = xpathEx;
  6115. tryLoop ? host[5] = true : host[5] = false;
  6116. http_file_hosts.push(host);
  6117. }
  6118. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6119. {
  6120. addFileHost(
  6121. "megafileupload\.com\/..\/file\/",
  6122. 'downloadbtn',
  6123. 'is not found',
  6124. 'optional--',
  6125. 'optional2--',
  6126. "//a[contains(@href,'megafileupload.com')]");
  6127. }
  6128. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6129. {
  6130. addFileHost(
  6131. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6132. 'download\\.gif"',
  6133. 'p_point">',
  6134. 'optional--',
  6135. 'optional2--',
  6136. "//a[contains(@href,'demo.ovh.eu')]");
  6137. }*/
  6138. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6139. {
  6140. addFileHost(
  6141. "safelinking\\.net\/p\/\\w+",
  6142. 'color:green;"',
  6143. 'color:(?:red|orange);"',
  6144. 'color:(?:grey|brown);"',
  6145. 'optional2--',
  6146. "//a[contains(@href,'safelinking.net/p/')]",
  6147. true);
  6148. }
  6149. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6150. {
  6151. addFileHost(
  6152. "fastshare\\.cz\/\\d+\/\\w*",
  6153. 'dwntable">|speed-low',
  6154. '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',
  6155. 'optional--',
  6156. 'optional2--',
  6157. "//a[contains(@href,'fastshare.cz')]");
  6158. }
  6159. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6160. {
  6161. addFileHost(
  6162. "[fF]ast[sS]hare\\.org\/download",
  6163. 'Download ">',
  6164. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6165. 'optional--',
  6166. 'optional2--',
  6167. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6168. }
  6169. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6170. {
  6171. addFileHost(
  6172. "rapidgator\\.net\/file\/\\w+",
  6173. '/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',
  6174. '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',
  6175. 'optional--',
  6176. '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',
  6177. "//a[contains(@href,'rapidgator.net/file')]",
  6178. true
  6179. );
  6180. }
  6181. if (GM_getValue("Check_rg_dot_to_links", false))
  6182. {
  6183. addFileHost(
  6184. "rg\.to\/\\w+",
  6185. '/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',
  6186. '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',
  6187. 'optional--',
  6188. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6189. "//a[contains(@href,'rg.to')]");
  6190. }
  6191. if (GM_getValue("Check_relink_dot_us_links", false))
  6192. {
  6193. addFileHost(
  6194. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6195. 'online_detail\\.png" alt="Status',
  6196. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6197. 'unknown_detail\\.png" alt="Status',
  6198. 'optional2--',
  6199. "//a[contains(@href,'relink.us/')]"
  6200. );
  6201. }
  6202. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6203. {
  6204. addFileHost(
  6205. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6206. 'div id="dl"',
  6207. 'Sie haben den Link falsch',
  6208. 'optional--',
  6209. 'optional2--',
  6210. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6211. );
  6212. }
  6213. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6214. {
  6215. addFileHost(
  6216. "flyfiles\\.net\/\\w+",
  6217. 'download_button"|"Download file"',
  6218. 'File not found!|Файл не найден',
  6219. 'optional--',
  6220. 'optional2--',
  6221. "//a[contains(@href,'flyfiles.net/')]"
  6222. );
  6223. }
  6224. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6225. {
  6226. addFileHost(
  6227. "wikiupload\\.com\/\\w+",
  6228. 'download-button">',
  6229. 'Sorry, File not found',
  6230. 'optional--',
  6231. 'optional2--',
  6232. "//a[contains(@href,'wikiupload.com/')]"
  6233. );
  6234. }
  6235. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6236. {
  6237. addFileHost(
  6238. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6239. 'file\\.php">|Pobierz Plik',
  6240. 'Podany plik nie zosta',
  6241. 'optional--',
  6242. 'optional2--',
  6243. "//a[contains(@href,'hostuje.net/file')]"
  6244. );
  6245. }
  6246. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6247. {
  6248. addFileHost(
  6249. "gettyfile\\.ru\/\\d+",
  6250. 'download\\.gif border',
  6251. '<center><font size="3">',
  6252. 'optional--',
  6253. 'optional2--',
  6254. "//a[contains(@href,'gettyfile.ru/')]"
  6255. );
  6256. }
  6257. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6258. {
  6259. addFileHost(
  6260. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6261. 'download\\-file">',
  6262. 'col-1">\\s*<h1>',
  6263. 'optional--',
  6264. 'optional2--',
  6265. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6266. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6267. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6268. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6269. );
  6270. }
  6271. if (GM_getValue("Check_data_dot_hu_links", false))
  6272. {
  6273. addFileHost(
  6274. "data\\.hu",
  6275. 'download_box_button|Lassú letöltés',
  6276. 'missing\\.php|Az adott fájl nem létezik',
  6277. 'optional--',
  6278. 'optional2--',
  6279. "//a[contains(@href,'data.hu')]",
  6280. true
  6281. );
  6282. }
  6283. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6284. {
  6285. addFileHost(
  6286. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6287. 'premiumBtn"',
  6288. 'errorMessage"',
  6289. 'optional--',
  6290. 'optional2--',
  6291. "//a[contains(@href,'indowebster.com/download')]"
  6292. );
  6293. }
  6294. if (GM_getValue("Check_superload_dot_cz_links", false))
  6295. {
  6296. addFileHost(
  6297. "superload\\.cz\/dl\/\\w+",
  6298. 'icon-download">',
  6299. 'soubor nebyl nalezen',
  6300. 'optional--',
  6301. 'optional2--',
  6302. "//a[contains(@href,'superload.cz/dl')]"
  6303. );
  6304. }
  6305. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6306. {
  6307. addFileHost(
  6308. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6309. 'op" value="download',
  6310. 'class="err">|width:500px;text-align:left;">',
  6311. 'optional--',
  6312. 'optional2--',
  6313. "//a[contains(@href,'hulkfile.')]"
  6314. );
  6315. }
  6316. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6317. {
  6318. addFileHost(
  6319. "easybytez\\.com\/\\w+",
  6320. 'op" value="download',
  6321. 'stop_error\\.gif',
  6322. 'optional--',
  6323. 'optional2--',
  6324. "//a[contains(@href,'easybytez.com/')]"
  6325. );
  6326. }
  6327. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6328. {
  6329. addFileHost(
  6330. "filestore\\.com\\.ua\/\\?d=\\w+",
  6331. 'tdrow1>',
  6332. 'class=warn',
  6333. 'optional--',
  6334. 'optional2--',
  6335. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6336. );
  6337. }
  6338. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6339. {
  6340. addFileHost(
  6341. "openfile\\.ru\/(?:video\/|)\\d+",
  6342. 'videobox_left">',
  6343. 'blog_title">|not found on this server',
  6344. 'optional--',
  6345. 'optional2--',
  6346. "//a[contains(@href,'openfile.ru/')]"
  6347. );
  6348. }*/
  6349. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6350. {
  6351. addFileHost(
  6352. "extmatrix\\.com\/files\/\\w+",
  6353. 'div class="success"',
  6354. 'div class="error"',
  6355. 'optional--',
  6356. 'optional2--',
  6357. "//a[contains(@href,'extmatrix.com/files')]"
  6358. );
  6359. }
  6360. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6361. {
  6362. addFileHost(
  6363. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6364. 'content_lnkDownload',
  6365. 'error\\.aspx\\?',
  6366. 'optional--',
  6367. 'optional2--',
  6368. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6369. );
  6370. }
  6371. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6372. {
  6373. addFileHost(
  6374. "yourfilestore\\.com\/download\/\\d+\/",
  6375. 'download_data">',
  6376. 'may have been deleted|<h1>Sorry!<\/h1>',
  6377. 'optional--',
  6378. 'optional2--',
  6379. "//a[contains(@href,'yourfilestore.com/download')]"
  6380. );
  6381. }
  6382. if (GM_getValue("Check_filebig_dot_net_links", false))
  6383. {
  6384. addFileHost(
  6385. "filebig\\.net\/files\/\\w+",
  6386. 'downloadFile">',
  6387. '<p>File not found<\/p>',
  6388. 'optional--',
  6389. 'optional2--',
  6390. "//a[contains(@href,'filebig.net/files')]"
  6391. );
  6392. }
  6393. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6394. {
  6395. addFileHost(
  6396. "files\\.filefront\\.com\/\/;\\d+;;",
  6397. 'downloadLink">',
  6398. 'File not found, you',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'files.filefront.com')]"
  6402. );
  6403.  
  6404. addFileHost(
  6405. "gamefront\\.com\/files\/\\d+",
  6406. 'downloadLink">',
  6407. 'File not found, you',
  6408. 'optional--',
  6409. 'optional2--',
  6410. "//a[contains(@href,'gamefront.com/files')]"
  6411. );
  6412. }
  6413. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6414. {
  6415. addFileHost(
  6416. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6417. 'dnlLnk"',
  6418. 'already been deleted',
  6419. 'optional--',
  6420. 'optional2--',
  6421. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6422. );
  6423. }
  6424. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6425. {
  6426. addFileHost(
  6427. "hellupload\\.com\/\\w+",
  6428. '<h3>Download File<br',
  6429. 'id="podstrona">|AVOID_IE_BUG',
  6430. 'optional--',
  6431. 'optional2--',
  6432. "//a[contains(@href,'hellupload.com/')]"
  6433. );
  6434. }
  6435. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6436. {
  6437. addFileHost(
  6438. "free\\-uploading\\.com\/\\w+",
  6439. 'op" value="download',
  6440. 'class="err">|width:500px;text-align:left;">',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'free-uploading.com/')]"
  6444. );
  6445. }
  6446. if (GM_getValue("Check_fileape_dot_com_links", false))
  6447. {
  6448. addFileHost(
  6449. "fileape\\.com\/download\\-",
  6450. 'button_dl\\.png',
  6451. 'does not exist\\.',
  6452. 'optional--',
  6453. 'optional2--',
  6454. "//a[contains(@href,'fileape.com/')]"
  6455. );
  6456. }
  6457. if (GM_getValue("Check_uppit_dot_com_links", false))
  6458. {
  6459. addFileHost(
  6460. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6461. 'op" value="download',
  6462. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6463. 'optional--',
  6464. 'optional2--',
  6465. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6466. true
  6467. );
  6468. }
  6469. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6470. {
  6471. addFileHost(
  6472. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6473. 'op" value="download',
  6474. '>File Not Found<',
  6475. 'optional--',
  6476. 'optional2--',
  6477. "//a[contains(@href,'nosupload.com')]",
  6478. true
  6479. );
  6480. }
  6481. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6482. {
  6483. addFileHost(
  6484. "filesin\\.com\/\\w+\/download\\.html",
  6485. 'download_area">',
  6486. 'error_note">',
  6487. 'optional--',
  6488. 'optional2--',
  6489. "//a[contains(@href,'filesin.com/')]",
  6490. true
  6491. );
  6492. }*/
  6493. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6494. {
  6495. addFileHost(
  6496. "nowdownload\\.ch\/dl\/\\w+",
  6497. 'alert-success"',
  6498. 'This file does not exist!',
  6499. 'The file is being transfered',
  6500. 'optional2--',
  6501. "//a[contains(@href,'nowdownload.ch/dl')]"
  6502. );
  6503. }*/
  6504. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6505. {
  6506. addFileHost(
  6507. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6508. 'Dbutton_big"',
  6509. 'download\\-error\\.php',
  6510. 'optional--',
  6511. 'optional2--',
  6512. "//a[contains(@href,'axifile.com/')]"
  6513. );
  6514. }*/
  6515. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6516. {
  6517. addFileHost(
  6518. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6519. 'col-1">\\s*<s',
  6520. 'col-1">\\s*<h',
  6521. 'optional--',
  6522. 'optional2--',
  6523. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6524. );
  6525. }
  6526. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6527. {
  6528. addFileHost(
  6529. "turbobit\\.(?:net|pl)",
  6530. 'id="download-gate-info|id="file-list',
  6531. 'afterWait()|no files in this folder',
  6532. 'optional--',
  6533. 'optional2--',
  6534. "//a[contains(@href,'turbobit.net')]"
  6535. );
  6536. }
  6537. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6538. {
  6539. addFileHost(
  6540. "hitfile\\.net\/download\/folder\/\\d+",
  6541. 'content">\\s*<s',
  6542. 'content">\\s*<h',
  6543. 'optional--',
  6544. 'optional2--',
  6545. "//a[contains(@href,'hitfile.net/download/folder')]"
  6546. );
  6547. }
  6548. if (GM_getValue("Check_movshare_dot_net_links", false))
  6549. {
  6550. addFileHost(
  6551. "movshare\\.net\\/video\\/\\w+",
  6552. 'optional--"',
  6553. 'no longer exists',
  6554. 'optional--',
  6555. 'optional2--',
  6556. "//a[contains(@href,'movshare.net/video')]"
  6557. );
  6558. }
  6559. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6560. {
  6561. addFileHost(
  6562. "mafiastorage\\.com\/\\w+",
  6563. 'op" value="download',
  6564. 'class="err">|style="width:500px;text-align:left;"',
  6565. 'optional--',
  6566. 'optional2--',
  6567. "//a[contains(@href,'mafiastorage.com/')]"
  6568. );
  6569. }
  6570. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6571. {
  6572. addFileHost(
  6573. "uploadingit\\.com\/file\/\\w+",
  6574. 'downloadTitle">',
  6575. 'deleteContent">',
  6576. 'optional--',
  6577. 'optional2--',
  6578. "//a[contains(@href,'uploadingit.com/file')]"
  6579. );
  6580. }*/
  6581. if (GM_getValue("Check_rghost_dot_net_links", false))
  6582. {
  6583. addFileHost(
  6584. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6585. 'download_link|btn large download',
  6586. 'file is restricted|File is deleted|503 Service Unavailable',
  6587. 'optional--',
  6588. 'optional2--',
  6589. "//a[contains(@href,'rghost.')]"
  6590. );
  6591. }
  6592. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6593. {
  6594. addFileHost(
  6595. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6596. '">Staženo:\\s*<\/span>',
  6597. 'Soubor, který hledáte nenalezen',
  6598. 'optional--',
  6599. 'optional2--',
  6600. "//a[contains(@href,'xdisk.cz/')]"
  6601. );
  6602. }
  6603. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6604. {
  6605. addFileHost(
  6606. "2downloadz\.com\/\\w+",
  6607. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6608. 'color="#006DCC|File error',
  6609. 'optional--',
  6610. 'optional2--',
  6611. "//a[contains(@href,'2downloadz.com')]");
  6612. }
  6613. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6614. {
  6615. addFileHost(
  6616. "mightyupload\.com\/\\w+",
  6617. 'background:#ccc;text-align|CONTENT="Download File"',
  6618. 'style="background:#eee|var rr =|File Not Found',
  6619. 'error-code">1010',
  6620. 'optional2--',
  6621. "//a[contains(@href,'mightyupload.com')]");
  6622. }
  6623. if (GM_getValue("Check_anysend_dot_com_links", false))
  6624. {
  6625. addFileHost(
  6626. "anysend\.com\/\\w+",
  6627. 'var openCalled=false;|content="noindex"',
  6628. '_trackPageview',
  6629. 'optional--',
  6630. 'optional2--',
  6631. "//a[contains(@href,'anysend.com')]");
  6632. }
  6633. if (GM_getValue("Check_datafile_dot_com_links", false))
  6634. {
  6635. addFileHost(
  6636. "datafile\.com\/\\w+",
  6637. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6638. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6639. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6640. '; 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">
  6641. "//a[contains(@href,'datafile.com')]",
  6642. true);
  6643. }
  6644. if (GM_getValue("Check_upstore_dot_net_links", false))
  6645. {
  6646. addFileHost(
  6647. "upstore\.net\/\\w+",
  6648. 'name="free"',
  6649. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6650. 'optional--',
  6651. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6652. "//a[contains(@href,'upstore.net')]");
  6653. }
  6654. if (GM_getValue("Check_upsto_dot_re_links", false))
  6655. {
  6656. addFileHost(
  6657. "upsto\.re\/\\w+",
  6658. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6659. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6660. 'optional--',
  6661. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6662. "//a[contains(@href,'upsto.re')]");
  6663. }
  6664. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6665. {
  6666. addFileHost(
  6667. "speedy\.sh\/\\w+",
  6668. 'bgcolor=#eeeeee|class="addthis',
  6669. 'File not found|downloadfilenamenotfound>',
  6670. 'optional--',
  6671. 'optional2--',
  6672. "//a[contains(@href,'speedy.sh')]");
  6673. }
  6674. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6675. {
  6676. addFileHost(
  6677. "kingfiles\.net\/\\w+",
  6678. 'method_free|images/loading_small.gif"',
  6679. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6680. 'optional--',
  6681. 'optional2--',
  6682. "//a[contains(@href,'kingfiles.net')]");
  6683. }
  6684. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6685. {
  6686. addFileHost(
  6687. "secureupload\\.eu\/\\w+",
  6688. 'Downloading',
  6689. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6690. 'optional--',
  6691. 'optional2--',
  6692. "//a[contains(@href,'secureupload.eu')]"
  6693. );
  6694. } */
  6695. if (GM_getValue("Check_ge_dot_tt_links", false))
  6696. {
  6697. addFileHost(
  6698. "ge\.tt\/\\w+",
  6699. 'downloads pic',
  6700. 'is NOT the same as',
  6701. 'optional--',
  6702. 'optional2--',
  6703. "//a[contains(@href,'ge.tt')]");
  6704. }
  6705. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6706. {
  6707. addFileHost(
  6708. "filefactory\\.com\/file\/\\w+",
  6709. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6710. '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">',
  6711. 'Server Maintenance|temporarily overloaded',
  6712. 'Premium Account Required',
  6713. "//a[contains(@href,'filefactory.com/file')]");
  6714. } */
  6715. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6716. {
  6717. addFileHost(
  6718. "filesflash\.net\/\\w+",
  6719. 'align:right">Filename:',
  6720. 'class="msg">',
  6721. 'optional--',
  6722. 'optional2--',
  6723. "//a[contains(@href,'filesflash.net')]");
  6724. }
  6725. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6726. {
  6727. addFileHost(
  6728. "rapidgator\\.net\/folder\/\\w+",
  6729. 'href="/folder/',
  6730. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6731. 'optional--',
  6732. 'optional2--',
  6733. "//a[contains(@href,'rapidgator.net/folder')]",
  6734. true
  6735. );
  6736. }
  6737. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6738. {
  6739. addFileHost(
  6740. "salefiles\.com\/\\w+",
  6741. 'name="method_free',
  6742. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6743. 'optional--',
  6744. 'optional2--',
  6745. "//a[contains(@href,'salefiles.com')]");
  6746. }
  6747. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6748. {
  6749. addFileHost(
  6750. "datoid\.cz\/\\w+",
  6751. 'btn-download|class="icon-download-large"',
  6752. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6753. 'optional--',
  6754. 'optional2--',
  6755. "//a[contains(@href,'datoid.cz')]");
  6756. }
  6757. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6758. {
  6759. addFileHost(
  6760. "stiahni\.si\/\\w+",
  6761. 'report_icon.png"|slow-download-button',
  6762. 'none.png|deleted|<h2>Error 500</h2>',
  6763. 'optional--',
  6764. 'optional2--',
  6765. "//a[contains(@href,'stiahni.si')]");
  6766. }
  6767. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6768. {
  6769. addFileHost(
  6770. "cloudstor\.es\/\\w+",
  6771. '"btn_download"',
  6772. '404: Page Not Found',
  6773. 'optional--',
  6774. 'optional2--',
  6775. "//a[contains(@href,'cloudstor.es')]");
  6776. }
  6777. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6778. {
  6779. addFileHost(
  6780. "streamfile\.com\/\\w+",
  6781. 'class="btn',
  6782. 'class="green-btn',
  6783. 'optional--',
  6784. 'optional2--',
  6785. "//a[contains(@href,'streamfile.com')]");
  6786. }
  6787. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6788. {
  6789. addFileHost(
  6790. "eyesfile\.ca\/\\w+",
  6791. 'value="Get Link',
  6792. 'var rr =',
  6793. 'optional--',
  6794. 'optional2--',
  6795. "//a[contains(@href,'eyesfile.ca')]");
  6796. }
  6797. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6798. {
  6799. addFileHost(
  6800. "filemoney\.com\/\\w+",
  6801. 'og:title',
  6802. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6803. 'error-code">1010',
  6804. 'optional2--',
  6805. "//a[contains(@href,'filemoney.com')]");
  6806. }
  6807. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6808. {
  6809. addFileHost(
  6810. "uploadboy\.com\/\\w+",
  6811. 'width="740">|method_free',
  6812. 'var rr =|background:#ffffff|not be found|file was removed',
  6813. 'optional--',
  6814. 'optional2--',
  6815. "//a[contains(@href,'uploadboy.com')]");
  6816. }
  6817. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6818. {
  6819. addFileHost(
  6820. "uploadboy\.com\/\\w+",
  6821. 'width="740">|method_free',
  6822. 'var rr =|background:#ffffff|not be found|file was removed',
  6823. 'optional--',
  6824. 'optional2--',
  6825. "//a[contains(@href,'uploadboy.me')]");
  6826. }
  6827. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6828. {
  6829. addFileHost(
  6830. "speedshare\.eu\/\\w+",
  6831. 'favicon.png|color:#3d87c0|cross.png"',
  6832. 'var rr =|File Not Found|style="background:#eee',
  6833. 'optional--',
  6834. 'optional2--',
  6835. "//a[contains(@href,'speedshare.eu')]");
  6836. }
  6837. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6838. {
  6839. addFileHost(
  6840. "unlimitzone\.com\/\\w+",
  6841. 'name="method_free',
  6842. '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',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'unlimitzone.com')]");
  6846. }
  6847. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "rioupload\.com\/\\w+",
  6851. 'sell.jpg',
  6852. 'var rr =',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'rioupload.com')]");
  6856. }
  6857. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6858. {
  6859. addFileHost(
  6860. "jumbofiles\.org\/\\w+",
  6861. 'H71C5.png|class="downloadtitle">',
  6862. 'var swfu|ViewSourceBIN.png',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'jumbofiles.org')]");
  6866. }
  6867. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6868. {
  6869. addFileHost(
  6870. "fshare\\.vn\/file\/\\w+",
  6871. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6872. 'không tồn tại|class="color_red m_t_50"',
  6873. 'optional--',
  6874. 'optional2--',
  6875. "//a[contains(@href,'fshare.vn/file')]",
  6876. true
  6877. );
  6878. }
  6879. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6880. {
  6881. addFileHost(
  6882. "spaceforfiles\.com\/\\w+",
  6883. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6884. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6885. 'optional--',
  6886. 'optional2--',
  6887. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6888. }
  6889. if (GM_getValue("Check_google_dot_com_links", false))
  6890. {
  6891. addFileHost(
  6892. "google\\.com\/file\/\\w+",
  6893. 'content="!">|color:#2d2d2d',
  6894. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'google.com/file')]",
  6898. true
  6899. );
  6900. }
  6901. if (GM_getValue("Check_google_dot_com_links", false))
  6902. {
  6903. addFileHost(
  6904. "docs.google.com\/\\w+",
  6905. 'content="!">|color:#2d2d2d',
  6906. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6907. 'optional--',
  6908. 'optional2--',
  6909. "//a[contains(@href,'docs.google.com')]",
  6910. true
  6911. );
  6912. }
  6913. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6914. {
  6915. addFileHost(
  6916. "drive.google.com\/\\w+",
  6917. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6918. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6919. 'optional--',
  6920. 'optional2--',
  6921. "//a[contains(@href,'drive.google.com')]",
  6922. true
  6923. );
  6924. }
  6925. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6926. {
  6927. addFileHost(
  6928. "up.media1fire\.com\/\\w+",
  6929. 'class="addthis_|value="download',
  6930. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'up.media1fire.com')]");
  6934. }
  6935. if (GM_getValue("Check_depfile_dot_com_links", false))
  6936. {
  6937. addFileHost(
  6938. "depfile\.com\/\\w+",
  6939. 'logo_0.png|downloads.gif"|verifycode',
  6940. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6941. 'optional--',
  6942. 'available only for Premium users',
  6943. "//a[contains(@href,'depfile.com')]");
  6944. }
  6945. if (GM_getValue("Check_go4up_dot_com_links", false))
  6946. {
  6947. addFileHost(
  6948. "go4up\.com\/\\w+",
  6949. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6950. '<title>GO4UP|dmca',
  6951. 'optional--',
  6952. 'optional2--',
  6953. "//a[contains(@href,'go4up.com')]");
  6954. }
  6955. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6956. {
  6957. addFileHost(
  6958. "redbunker\.net\/\\w+",
  6959. 'name="method_free"',
  6960. 'color="red">Unknow / Bilinmiyor<',
  6961. 'optional--',
  6962. '2.3 GB',
  6963. "//a[contains(@href,'redbunker.net')]");
  6964. }
  6965. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6966. {
  6967. addFileHost(
  6968. "divxpress\.com\/\\w+",
  6969. 'btn_download|logo.png"',
  6970. 'AVOID_IE_BUG|var rr =',
  6971. 'optional--',
  6972. 'optional2--',
  6973. "//a[contains(@href,'divxpress.com')]");
  6974. }
  6975. if (GM_getValue("Check_anafile_dot_com_links", false))
  6976. {
  6977. addFileHost(
  6978. "anafile\.com\/\\w+",
  6979. 'width="881" valign="top|color="#800080"|name="go"',
  6980. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6981. 'optional--',
  6982. 'optional2--',
  6983. "//a[contains(@href,'anafile.com')]");
  6984. }
  6985. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6986. {
  6987. addFileHost(
  6988. "uploadable\\.ch\/file\/\\w+",
  6989. 'captcha.js"|payment.js"|class="btn_download"',
  6990. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6991. 'optional--',
  6992. 'optional2--',
  6993. "//a[contains(@href,'uploadable.ch/file')]",
  6994. true
  6995. );
  6996. }
  6997. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6998. {
  6999. addFileHost(
  7000. "bigfile\\.to\/file\/\\w+",
  7001. 'captcha.js"|payment.js"|class="btn_download"',
  7002. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7003. 'optional--',
  7004. 'optional2--',
  7005. "//a[contains(@href,'bigfile.to/file')]",
  7006. true
  7007. );
  7008. }
  7009. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7010. {
  7011. addFileHost(
  7012. "arabloads\.net\/\\w+",
  7013. 'name="method_free"|name="method_premium"',
  7014. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7015. 'optional--',
  7016. 'optional2--',
  7017. "//a[contains(@href,'arabloads.net')]");
  7018. }
  7019. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7020. {
  7021. addFileHost(
  7022. "sharerepo\.com\/\\w+",
  7023. 'name="method_free"',
  7024. 'var public_on=|The file you were looking for could not be found',
  7025. 'optional--',
  7026. 'optional2--',
  7027. "//a[contains(@href,'sharerepo.com')]");
  7028. }
  7029. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7030. {
  7031. addFileHost(
  7032. "sfshare\.se\/\\w+",
  7033. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7034. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7035. 'optional--',
  7036. 'optional2--',
  7037. "//a[contains(@href,'sfshare.se')]");
  7038. }
  7039. if (GM_getValue("Check_files_dot_fm_links", false))
  7040. {
  7041. addFileHost(
  7042. "files\.fm\/\\w+",
  7043. 'dl.png"|background-color: transparent',
  7044. 'margin: 40px 40px|background: none;',
  7045. 'optional--',
  7046. 'optional2--',
  7047. "//a[contains(@href,'files.fm')]");
  7048. }
  7049. if (GM_getValue("Check_koofile_dot_com_links", false))
  7050. {
  7051. addFileHost(
  7052. "koofile\.com\/\\w+",
  7053. 'value="download1">|name="method_free"',
  7054. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7055. 'optional--',
  7056. 'optional2--',
  7057. "//a[contains(@href,'koofile.com')]");
  7058. }
  7059. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7060. {
  7061. addFileHost(
  7062. "vidxden\\.com\/\\w+",
  7063. 'Continue to Video"',
  7064. 'No such file',
  7065. 'optional--',
  7066. 'optional2--',
  7067. "//a[contains(@href,'vidxden.com')]"
  7068. );
  7069. }*/
  7070. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7071. {
  7072. addFileHost(
  7073. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7074. 'Details zur Datei|Details page',
  7075. 'Jetzt hochladen|upload now',
  7076. 'optional--',
  7077. 'optional2--',
  7078. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7079. );
  7080. }
  7081. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7082. {
  7083. addFileHost(
  7084. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7085. 'downloadbtn"',
  7086. 'DL_FileNotFound',
  7087. 'optional--',
  7088. 'optional2--',
  7089. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7090. );
  7091. }
  7092. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7093. {
  7094. addFileHost(
  7095. "fileflyer\.com\/view\/\\w+",
  7096. '(?:dwl|locked)btn"',
  7097. 'error.gif"|link">Removed|removedlink">',
  7098. 'optional--',
  7099. 'optional2--',
  7100. "//a[contains(@href,'fileflyer.com')]"
  7101. );
  7102. }
  7103. if (GM_getValue("Check_filestore_dot_to_links", false))
  7104. {
  7105. addFileHost(
  7106. "filestore\.to\/\\?d=\\w+",
  7107. '"downloading"',
  7108. 'Datei wurde nicht gefunden',
  7109. 'optional--',
  7110. 'optional2--',
  7111. "//a[contains(@href,'filestore.to')]"
  7112. );
  7113. }
  7114. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7115. {
  7116. addFileHost(
  7117. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7118. 'fz24">Download|class="pl15">',
  7119. 'msg-err"|the page you\'re looking for|1>400 Bad Request<|class="search_result">|Searching for file|Information is not available|name="keywords" content="">|<title>Crocko.com 404',
  7120. 'optional--',
  7121. 'optional2--',
  7122. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7123. );
  7124. }
  7125. if (GM_getValue("Check_datei_dot_to_links", false))
  7126. {
  7127. addFileHost(
  7128. "datei\\.to\/\\??\\w+",
  7129. 'icon_downloaden\\.png|>Download starten<',
  7130. 'Datei wurde nicht gefunden|icon_deleted.png',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'datei.to')]"
  7134. );
  7135. }
  7136. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7137. {
  7138. addFileHost(
  7139. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7140. '<body class="body" id="body">|value="Slow Download"',
  7141. '<body class="body" >',
  7142. 'optional--',
  7143. 'optional2--',
  7144. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7148. {
  7149. addFileHost(
  7150. "unibytes\\.com\/[\\w\.]+",
  7151. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7152. 'File not found|Файл не найден|',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'unibytes.com')]"
  7156. );
  7157. }
  7158. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7159. {
  7160. addFileHost(
  7161. "www\\.hellshare\\.com\/\\d+",
  7162. 'tab\\-details"',
  7163. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7164. 'optional--',
  7165. 'optional2--',
  7166. "//a[contains(@href,'www.hellshare.com')]"
  7167. );
  7168. }
  7169. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7170. {
  7171. addFileHost(
  7172. "www\\.download.cz.hellshare\\.com\/\\w+",
  7173. 'tab\\-details"',
  7174. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7175. 'optional--',
  7176. 'optional2--',
  7177. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7181. {
  7182. addFileHost(
  7183. "filefactory\\.com",
  7184. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7185. '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',
  7186. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7187. 'Premium Account Required',
  7188. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_load_dot_to_links", false))
  7192. {
  7193. addFileHost(
  7194. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7195. '"download_table_left">Size',
  7196. 'Can\'t find file',
  7197. 'optional--',
  7198. 'optional2--',
  7199. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7200. );
  7201. }
  7202. if (GM_getValue("Check_divshare_dot_com_links", false))
  7203. {
  7204. addFileHost(
  7205. "divshare\\.com\/download\/",
  7206. 'download_new\.png',
  7207. 'have been removed',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'divshare.com')]"
  7211. );
  7212. }
  7213. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7214. {
  7215. addFileHost(
  7216. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7217. 'download=true"',
  7218. '<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>',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'euroshare.eu/file')]"
  7222. );
  7223. }
  7224. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7225. {
  7226. addFileHost(
  7227. 'files\\.mail\\.ru/(?:\\w*)',
  7228. 'fileList',
  7229. 'errorMessage',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'files.mail.ru')]"
  7233. );
  7234. }
  7235. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7236. {
  7237. addFileHost(
  7238. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7239. 'Filesize',
  7240. 'Invalid|deleted|Could not download file',
  7241. 'slots|scheduled maintenance',
  7242. 'optional2--',
  7243. "//a[contains(@href,'megashares.com/')]"
  7244. );
  7245. } */
  7246. if (GM_getValue("Check_narod_dot_ru_links", false))
  7247. {
  7248. addFileHost(
  7249. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7250. 'b-submit|action="resource.download"',
  7251. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7252. 'Внутренняя ошибка сервиса',
  7253. 'optional2--',
  7254. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7255. );
  7256. }
  7257. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7258. {
  7259. addFileHost(
  7260. "rayfile\\.com\/",
  7261. 'FILEtitleTXT',
  7262. 'blueRow',
  7263. 'optional--',
  7264. 'optional2--',
  7265. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7269. {
  7270. addFileHost(
  7271. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7272. 'button_green_body"',
  7273. 'error">',
  7274. 'optional--',
  7275. 'optional2--',
  7276. "//a[contains(@href,'filesmonster.com/download')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7280. {
  7281. addFileHost(
  7282. 'usaupload\\.net\/d\/(?:\w*)',
  7283. '<strong>File size:</strong>',
  7284. 'is not available',
  7285. 'optional--',
  7286. 'optional2--',
  7287. "//a[contains(@href,'usaupload.net/d/')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7291. {
  7292. addFileHost(
  7293. 'sendspace\\.com\/file\/\\w+',
  7294. 'file_description',
  7295. 'msg error"',
  7296. 'optional--',
  7297. 'optional2--',
  7298. "//a[contains(@href,'sendspace.com/file')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7302. {
  7303. addFileHost(
  7304. 'sendspace\\.pl\/file\/\\w+',
  7305. 'download_file"',
  7306. 'Podany plik nie',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'sendspace.pl/file')]"
  7310. );
  7311. }
  7312. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7313. {
  7314. addFileHost(
  7315. 'uploading\\.com\/(?:files\/)?\\w+',
  7316. 'free_method">',
  7317. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'uploading.com')]"
  7321. );
  7322. } */
  7323. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7324. {
  7325. addFileHost(
  7326. "gigasize\.com\/\\w+",
  7327. 'fileId"|class="estimate">',
  7328. 'error">',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'gigasize.com/get')]"
  7332. );
  7333. }
  7334. if (GM_getValue("Check_good_dot_com_links", false))
  7335. {
  7336. addFileHost(
  7337. 'good\\.net\/(?:_|dl)',
  7338. 'Free Download',
  7339. 'Not Found',
  7340. 'Forbidden',
  7341. 'optional2--',
  7342. "//a[contains(@href,'good.net')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_2shared_dot_com_links", false))
  7346. {
  7347. addFileHost(
  7348. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7349. 'File size',
  7350. 'File not found|is not valid|/images/important.gif',
  7351. 'optional--',
  7352. 'optional2--',
  7353. // "//a[contains(@href,'2shared.com')]"
  7354. "//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/')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7358. {
  7359. addFileHost(
  7360. 'turboupload\\.com\/\\w*',
  7361. 'You have requested',
  7362. 'File Not Found',
  7363. 'optional--',
  7364. 'optional2--',
  7365. "//a[contains(@href,'turboupload.com')]"
  7366. );
  7367. }
  7368. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7369. {
  7370. addFileHost(
  7371. 'gigapeta\\.com\/dl\/',
  7372. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7373. '404|page_error',
  7374. 'optional--',
  7375. 'optional2--',
  7376. "//a[contains(@href,'gigapeta.com/dl')]"
  7377. );
  7378. }
  7379. if (GM_getValue("Check_veehd_dot_com_links", false))
  7380. {
  7381. addFileHost(
  7382. 'veehd\.com\/video\/.*?',
  7383. 'No sound|Download video',
  7384. 'Featured Videos',
  7385. 'optional--',
  7386. 'optional2--',
  7387. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7388. );
  7389. }
  7390. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7391. {
  7392. addFileHost(
  7393. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7394. 'fast_download_form">|submit_sms_download',
  7395. '<p style="text-align:center">',
  7396. 'optional--',
  7397. 'optional2--',
  7398. "//a[contains(@href,'vip-file.com/download')]"
  7399. );
  7400. }
  7401. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7402. {
  7403. addFileHost(
  7404. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7405. 'download\\-pnl ',
  7406. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7407. 'optional--',
  7408. 'optional2--',
  7409. "//a[contains(@href,'letitbit.net/download')]"
  7410. );
  7411. }*/
  7412. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7413. {
  7414. addFileHost(
  7415. 'ifolder\.ru\/\\d+',
  7416. 'file-info',
  7417. 'ui-state-error',
  7418. 'optional--',
  7419. 'optional2--',
  7420. "//a[contains(@href,'ifolder.ru')]"
  7421. );
  7422. }
  7423. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7424. {
  7425. addFileHost(
  7426. 'fileswap\\.com\/dl\/\\w+',
  7427. 'bttnDownloadLink"',
  7428. 'rounded_block_error"',
  7429. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7430. 'optional2--',
  7431. "//a[contains(@href,'fileswap.com/dl')]"
  7432. );
  7433. }*/
  7434. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7435. {
  7436. addFileHost(
  7437. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7438. 'var __error = 0|id="recaptchaPanel">',
  7439. 'FILES__DOESNT_EXIST|removed or did not exist',
  7440. 'optional--',
  7441. 'optional2--',
  7442. "//a[contains(@href,'filecloud.io/')]"
  7443. );
  7444. addFileHost(
  7445. 'ifile\\.it\/\\w+',
  7446. 'var __error = 0',
  7447. 'FILES__DOESNT_EXIST',
  7448. 'optional--',
  7449. 'optional2--',
  7450. "//a[contains(@href,'ifile.it/')]"
  7451. );
  7452. }
  7453. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7454. {
  7455. addFileHost(
  7456. 'solidfiles\\.com\/\\w+',
  7457. 'id="download"|content="Download',
  7458. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7459. 'optional--',
  7460. 'optional2--',
  7461. "//a[contains(@href,'solidfiles.com/')]"
  7462. );
  7463. }
  7464. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7465. {
  7466. addFileHost(
  7467. "(?:.\\.|)shareflare\\.net",
  7468. 'download-pnl|<div class="premium-block">',
  7469. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7470. 'optional--',
  7471. 'optional2--',
  7472. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7476. {
  7477. addFileHost(
  7478. "u18116681.shareflare\\.net",
  7479. 'download-pnl|<div class="premium-block">',
  7480. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7481. 'optional--',
  7482. 'optional2--',
  7483. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7484. );
  7485. }
  7486. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7487. {
  7488. addFileHost(
  7489. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7490. 'file\\-list-orderby|section-filedetail">',
  7491. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7492. 'optional--',
  7493. 'optional2--',
  7494. "//a[contains(@href,'hellspy.')]"
  7495. );
  7496. }
  7497. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7498. {
  7499. addFileHost(
  7500. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7501. '<body onload="">',
  7502. 'neexistuje|not exist',
  7503. 'optional--',
  7504. 'optional2--',
  7505. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7509. {
  7510. addFileHost(
  7511. "stahovanizasms\\.cz\/\\w+",
  7512. 'download\\.png>|font-size:11px><tr>',
  7513. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7514. 'optional--',
  7515. 'optional2--',
  7516. "//a[contains(@href,'stahovanizasms.cz')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7520. {
  7521. addFileHost(
  7522. "share-links\\.biz\/\\w*",
  7523. 'online\\.gif',
  7524. '(?:offline|parts)\\.gif',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'share-links.biz')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_4shared_dot_com_links", false))
  7531. {
  7532. addFileHost(
  7533. "4shared\\.com\/.+\/",
  7534. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7535. 'class="warn\"|big red"|GetDataBack',
  7536. 'Service Unavailable',
  7537. 'optional2--',
  7538. "//a[contains(@href,'4shared.com')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. "(?:www\\d+\.|)zippyshare\.com\/",
  7545. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7546. 'not exist|Status 404',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7553. {
  7554. addFileHost(
  7555. "mediafire\.com\/",
  7556. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7557. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7558. 'set to private',
  7559. 'optional2--',
  7560. "//a[contains(@href,'mediafire.com')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7564. {
  7565. addFileHost(
  7566. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7567. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7568. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7569. 'optional--',
  7570. 'GB</small>',
  7571. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7575. {
  7576. addFileHost(
  7577. "ulozisko\.sk\/",
  7578. 'Detaily',
  7579. 'neexistuje',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'ulozisko.sk')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_box_dot_com_links", false))
  7586. {
  7587. addFileHost(
  7588. "box\.com\/\\w+",
  7589. 'download-file-btn|id="download_button|preview-download',
  7590. 'BIyMin.png| <div class="error_message|link has been removed',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'app.box.com')]");
  7594. }
  7595. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7596. {
  7597. addFileHost(
  7598. "uptobox\\.com\/\\w+",
  7599. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7600. '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|لا يوجد أي ملف',
  7601. 'Maintenance',
  7602. 'optional2--',
  7603. "//a[contains(@href,'uptobox.com')]",
  7604. true
  7605. );
  7606. }
  7607. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7608. {
  7609. addFileHost(
  7610. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7611. 'FILE DOWNLOAD<',
  7612. 'File Does Not Exist',
  7613. 'optional--',
  7614. 'optional2--',
  7615. "//a[contains(@href,'sharecash.org/download.php')]"
  7616. );
  7617. }
  7618. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7619. {
  7620. addFileHost(
  7621. "1fichier\\.com\/dir\/\\w+",
  7622. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7623. 'Shared Folder Not Found',
  7624. 'optional--',
  7625. 'optional2--',
  7626. "//a[contains(@href,'1fichier.com/dir')]"
  7627. );
  7628. }
  7629. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7630. {
  7631. addFileHost(
  7632. "depositfiles\\.com\/folders\/\\w+",
  7633. '<div class="progressContainer">',
  7634. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7635. 'optional--',
  7636. 'optional2--',
  7637. "//a[contains(@href,'depositfiles.com/folders')]"
  7638. );
  7639. }
  7640. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7641. {
  7642. addFileHost(
  7643. "rapidfileshare\\.net/\\w+",
  7644. '<div id="upload-header-bg">',
  7645. '<div style="width:500px;text-align:left;">',
  7646. 'optional--',
  7647. 'optional2--',
  7648. "//a[contains(@href,'rapidfileshare.net/')]"
  7649. );
  7650. }
  7651. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7652. {
  7653. addFileHost(
  7654. "stiahnito\\.sk/",
  7655. '<span class="filesize right">',
  7656. '<ol class="list-purp-2">',
  7657. 'optional--',
  7658. 'optional2--',
  7659. "//a[contains(@href,'stiahnito.sk/')]"
  7660. );
  7661. }
  7662. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7663. {
  7664. addFileHost(
  7665. "rusfolder\\.(?:com|net)",
  7666. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7667. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'rusfolder')]"
  7671. );
  7672. }
  7673. if (GM_getValue("Check_catshare_dot_net_links", false))
  7674. {
  7675. addFileHost(
  7676. "catshare\\.net/\\w+",
  7677. '"icon-share',
  7678. 'alert alert-error',
  7679. 'optional--',
  7680. 'optional2--',
  7681. "//a[contains(@href,'catshare.net/')]"
  7682. );
  7683. }
  7684. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7685. {
  7686. addFileHost(
  7687. "anonfiles\\.com/\\w+",
  7688. '"download_button"',
  7689. '<legend><b>404</b>',
  7690. 'optional--',
  7691. 'optional2--',
  7692. "//a[contains(@href,'anonfiles.com')]"
  7693. );
  7694. }*/
  7695. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7696. {
  7697. addFileHost(
  7698. "mixturecloud\\.com/media/\\w+",
  7699. '"btn icon i_globe gray share_150',
  7700. '"s_cross_close"></span> 404:',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'mixturecloud.com/media/')]"
  7704. );
  7705. }
  7706. if (GM_getValue("Check_akafile_dot_com_links", false))
  7707. {
  7708. addFileHost(
  7709. "akafile\\.com\/\\w+",
  7710. 'download1',
  7711. 'File Not Found',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'akafile.com/')]"
  7715. );
  7716. }
  7717. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7718. {
  7719. addFileHost(
  7720. "creafile\\.net\/\\w+",
  7721. 'downloadblock',
  7722. 'errtitle',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'creafile.net/')]"
  7726. );
  7727. }*/
  7728. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7729. {
  7730. addFileHost(
  7731. "hugefiles\\.net\/\\w+",
  7732. 'download1|class="btn-create-download" value="Create Download Link">',
  7733. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'hugefiles.net/')]"
  7737. );
  7738. }*/
  7739. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7740. {
  7741. addFileHost(
  7742. "sendmyway\\.com\/\\w+",
  7743. 'id="btn_download"',
  7744. '500px;text-align:left;"|<center><h3>',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'sendmyway.com/')]"
  7748. );
  7749. }
  7750. if (GM_getValue("Check_upload_dot_ee_links", false))
  7751. {
  7752. addFileHost(
  7753. "upload\\.ee\/\\w+",
  7754. 'onmouseout="document.dllink.src',
  7755. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7756. 'optional--',
  7757. 'optional2--',
  7758. "//a[contains(@href,'upload.ee/')]"
  7759. );
  7760. }
  7761. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7762. {
  7763. addFileHost(
  7764. "shareplace\\.org\/\\?\\w+",
  7765. 'Download-Link',
  7766. 'Your requested file is not found|Select file to send',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'shareplace.org/?')]"
  7770. );
  7771. }
  7772. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "uploadc\\.com\/\\w+",
  7776. 'id="prebut"',
  7777. 'File Not Found|This file has been removed due',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'uploadc.com/')]"
  7781. );
  7782. }
  7783. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7784. {
  7785. addFileHost(
  7786. "uploadc\\.ch\/\\w+",
  7787. 'id="prebut"',
  7788. 'File Not Found|This file has been removed due',
  7789. 'optional--',
  7790. 'optional2--',
  7791. "//a[contains(@href,'uploadc.ch/')]"
  7792. );
  7793. }
  7794. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7795. {
  7796. addFileHost(
  7797. "remixshare\\.com\/\\w+",
  7798. 'id="dl2"',
  7799. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7800. 'optional--',
  7801. 'optional2--',
  7802. "//a[contains(@href,'remixshare.com/')]"
  7803. );
  7804. }*/
  7805. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7806. {
  7807. addFileHost(
  7808. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7809. 'Last Download :',
  7810. 'img src="\\/404.jpg"',
  7811. 'optional--',
  7812. 'optional2--',
  7813. "//a[contains(@href,'exoshare.com/download.php')]"
  7814. );
  7815. }
  7816. if (GM_getValue("Check_borncash_dot_org_links", false))
  7817. {
  7818. addFileHost(
  7819. "borncash\\.org\/download\/\\?a=\\w+",
  7820. 'class="knop_1"',
  7821. '\/error\/er00',
  7822. 'optional--',
  7823. 'optional2--',
  7824. "//a[contains(@href,'borncash.org/download/')]"
  7825. );
  7826. }
  7827. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7828. {
  7829. addFileHost(
  7830. "vidplay\.net\/\\w+",
  7831. 'solvemedia puzzle widget',
  7832. 'File not found|AVOID_IE_BUG',
  7833. 'optional--',
  7834. 'optional2--',
  7835. "//a[contains(@href,'vidplay.net')]");
  7836. }*/
  7837. if (GM_getValue("Check_filedais_dot_com_links", false))
  7838. {
  7839. addFileHost(
  7840. "filedais\.com\/\\w+",
  7841. 'class="btn btn-info"|name="method_free"',
  7842. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7843. 'optional--',
  7844. 'optional2--',
  7845. "//a[contains(@href,'filedais.com')]");
  7846. }
  7847. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7848. {
  7849. addFileHost(
  7850. "up.4share\.vn\/\\w+",
  7851. '<font size="2" face="Verdana">',
  7852. 'font: 13px Tahoma; color: Brown',
  7853. 'optional--',
  7854. 'optional2--',
  7855. "//a[contains(@href,'up.4share.vn')]");
  7856. }
  7857. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7858. {
  7859. addFileHost(
  7860. "share.vnn\.vn\/\\w+",
  7861. '"index,follow"|<div class="main" id="download-box">',
  7862. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7863. 'optional--',
  7864. 'optional2--',
  7865. "//a[contains(@href,'share.vnn.vn')]");
  7866. }
  7867. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7868. {
  7869. addFileHost(
  7870. "upfile\.vn\/\\w+",
  7871. 'download-timer',
  7872. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7873. 'optional--',
  7874. 'optional2--',
  7875. "//a[contains(@href,'upfile.vn')]");
  7876. }
  7877. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7878. {
  7879. addFileHost(
  7880. "aisfile\.com\/\\w+",
  7881. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7882. '<div style="width:500px;text-align:left;">|File Not Found',
  7883. 'optional--',
  7884. 'optional2--',
  7885. "//a[contains(@href,'aisfile.com')]");
  7886. }
  7887. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7888. {
  7889. addFileHost(
  7890. "usersfiles\.com\/\\w+",
  7891. 'class="btn btn-success|id="btn_download" class="btn"',
  7892. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7893. 'optional--',
  7894. 'optional2--',
  7895. "//a[contains(@href,'usersfiles.com')]");
  7896. }
  7897. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7898. {
  7899. addFileHost(
  7900. "pan.baidu\.com\/\\w+",
  7901. 'target="_blank" title=|share-personal-info',
  7902. 'share_notfound.png|background:#f9f9f9',
  7903. 'optional--',
  7904. 'optional2--',
  7905. "//a[contains(@href,'pan.baidu.com')]");
  7906. }
  7907. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7908. {
  7909. addFileHost(
  7910. "yunpan\.cn\/\\w+",
  7911. 'class="icon icon-download',
  7912. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7913. 'optional--',
  7914. 'optional2--',
  7915. "//a[contains(@href,'yunpan.cn')]");
  7916. }
  7917. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7918. {
  7919. addFileHost(
  7920. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7921. 'getElementById("downbild")|style.display',
  7922. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7923. 'optional--',
  7924. 'optional2--',
  7925. "//a[contains(@href,'file-upload.net')]");
  7926. }
  7927. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7928. {
  7929. addFileHost(
  7930. "gulfup\.com\/",
  7931. '<!-- Downlod template -->|download.gif',
  7932. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7933. 'optional--',
  7934. 'optional2--',
  7935. "//a[contains(@href,'gulfup.com')]");
  7936. }*/
  7937. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7938. {
  7939. addFileHost(
  7940. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7941. 'dldtable">',
  7942. 'does not exist\\.',
  7943. 'optional--',
  7944. 'optional2--',
  7945. "//a[contains(@href,'datafilehost.com')]");
  7946. }
  7947. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7948. {
  7949. addFileHost(
  7950. "dropbox\.com\/s\/\\w+",
  7951. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7952. '>Nothing Here<|>Error (404)<',
  7953. 'title>Dropbox - 509|Error (403)|Error: 429',
  7954. 'optional2--',
  7955. "//a[contains(@href,'dropbox.com')]");
  7956. }
  7957. if (GM_getValue("Check_box_dot_net_links", false))
  7958. {
  7959. addFileHost(
  7960. "box\.net\/\\w+",
  7961. 'download-file-btn|id="download_button',
  7962. 'BIyMin.png| <div class="error_message',
  7963. 'optional--',
  7964. 'optional2--',
  7965. "//a[contains(@href,'box.net')]");
  7966. }
  7967. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7968. {
  7969. addFileHost(
  7970. "filedropper\.com\/\\w+",
  7971. 'background:#ddd;|width:985px; ',
  7972. 'background-color:#FFFFFF;|margin-left: -400px;',
  7973. 'optional--',
  7974. 'optional2--',
  7975. "//a[contains(@href,'filedropper.com')]");
  7976. }
  7977. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7978. {
  7979. addFileHost(
  7980. "tropicshare\\.com\/files\/\\d+",
  7981. 'MB</span>|GB</span>|KB</span>',
  7982. '>FNF<|size: </span>',
  7983. 'optional--',
  7984. 'optional2--',
  7985. "//a[contains(@href,'tropicshare.com')]");
  7986. }
  7987. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7988. {
  7989. addFileHost(
  7990. "worldbytez\.com",
  7991. '<div class="download_type">|method_free',
  7992. '<div style="width:500px;text-align:left;">',
  7993. 'optional--',
  7994. 'optional2--',
  7995. "//a[contains(@href,'worldbytez.com')]",
  7996. true);
  7997. }
  7998. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7999. {
  8000. addFileHost(
  8001. "freefilehosting\.net\/\\w+",
  8002. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8003. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8004. 'optional--',
  8005. 'optional2--',
  8006. "//a[contains(@href,'freefilehosting.net')]");
  8007. }
  8008. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8009. {
  8010. addFileHost(
  8011. "ziddu\.com\/\\w+",
  8012. 'downloads.ziddu.com|downloadfilelinkicon',
  8013. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8014. 'optional--',
  8015. 'optional2--',
  8016. "//a[contains(@href,'ziddu.com')]");
  8017. }
  8018. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8019. {
  8020. addFileHost(
  8021. "exclusiveloader\.com\/\\w+",
  8022. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8023. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8024. 'optional--',
  8025. 'optional2--',
  8026. "//a[contains(@href,'exclusiveloader.com')]");
  8027. }
  8028. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8029. {
  8030. addFileHost(
  8031. "sharerapid\.cz\/\\w+",
  8032. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8033. 'error_div">|404 - Not Found',
  8034. 'optional--',
  8035. 'optional2--',
  8036. "//a[contains(@href,'sharerapid.cz')]");
  8037. }
  8038. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8039. {
  8040. addFileHost(
  8041. "sdilej\.cz\/\\w+",
  8042. 'class="page-download"',
  8043. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8044. 'optional--',
  8045. 'optional2--',
  8046. "//a[contains(@href,'sdilej.cz')]");
  8047. }
  8048. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8049. {
  8050. addFileHost(
  8051. "lafiles\.com\/\\w+",
  8052. '<div id="pay_modes">',
  8053. '<b class="err"></b>',
  8054. 'optional--',
  8055. 'optional2--',
  8056. "//a[contains(@href,'lafiles.com')]");
  8057. }
  8058. if (GM_getValue("Check_acefile_dot_net_links", false))
  8059. {
  8060. addFileHost(
  8061. "acefile\.net\/\\w+",
  8062. 'align=right nowrap><b>',
  8063. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8064. 'optional--',
  8065. 'optional2--',
  8066. "//a[contains(@href,'acefile.net')]");
  8067. }
  8068. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8069. {
  8070. addFileHost(
  8071. "megarapid\.cz\/\\w+",
  8072. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8073. 'error_div">|404 - Not Found',
  8074. 'optional--',
  8075. 'optional2--',
  8076. "//a[contains(@href,'megarapid.cz')]");
  8077. }
  8078. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8079. {
  8080. addFileHost(
  8081. "yadi\.sk\/\\w+",
  8082. 'nb-button _nb-small-button',
  8083. 'error code|Nothing found',
  8084. 'optional--',
  8085. 'optional2--',
  8086. "//a[contains(@href,'yadi.sk')]");
  8087. }
  8088. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8089. {
  8090. addFileHost(
  8091. "hitfile\.net\/\\w+",
  8092. 'class="download-file',
  8093. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8094. 'optional--',
  8095. 'optional2--',
  8096. "//a[contains(@href,'hitfile.net')]");
  8097. }
  8098. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8099. {
  8100. addFileHost(
  8101. "up.top4top\.net\/\\w+",
  8102. 'start Downlod template',
  8103. 'start err template',
  8104. 'optional--',
  8105. 'optional2--',
  8106. "//a[contains(@href,'up.top4top.net')]");
  8107. }
  8108. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8109. {
  8110. addFileHost(
  8111. "filejoker\.net",
  8112. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8113. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8114. 'optional--',
  8115. 'id="download" class="premium-only">',
  8116. "//a[contains(@href,'filejoker.net')]");
  8117. }
  8118. if (GM_getValue("Check_free_dot_fr_links", false))
  8119. {
  8120. addFileHost(
  8121. "(?:dl.\\.|)free\\.fr",
  8122. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8123. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8124. 'optional--',
  8125. 'optional2--',
  8126. "//a[contains(@href,'dl.free.fr')]");
  8127. }
  8128. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8129. {
  8130. addFileHost(
  8131. "gboxes\.com\/\\w+",
  8132. 'You have requested|color="red">http://www.gboxes.com',
  8133. 'File Not Found|<div style="width:500px;text-align:left;">',
  8134. 'optional--',
  8135. 'optional2--',
  8136. "//a[contains(@href,'gboxes.com')]");
  8137. }
  8138. if (GM_getValue("Check_led_dot_wf_links", false))
  8139. {
  8140. addFileHost(
  8141. "led\.wf\/\\w+",
  8142. 'logo_0.png|downloads.gif"|verifycode',
  8143. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8144. 'optional--',
  8145. 'available only for Premium users',
  8146. "//a[contains(@href,'led.wf')]");
  8147. }
  8148. if (GM_getValue("Check_lan_dot_wf_links", false))
  8149. {
  8150. addFileHost(
  8151. "lan\.wf\/\\w+",
  8152. 'logo_0.png|downloads.gif"|verifycode',
  8153. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8154. 'optional--',
  8155. 'available only for Premium users',
  8156. "//a[contains(@href,'lan.wf')]");
  8157. }
  8158. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8159. {
  8160. addFileHost(
  8161. "adlink\.wf\/\\w+",
  8162. 'logo_0.png|downloads.gif"|verifycode',
  8163. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8164. 'optional--',
  8165. 'available only for Premium users',
  8166. "//a[contains(@href,'adlink.wf')]");
  8167. }
  8168. if (GM_getValue("Check_click_dot_tf_links", false))
  8169. {
  8170. addFileHost(
  8171. "click\.tf\/\\w+",
  8172. 'logo_0.png|downloads.gif"|verifycode',
  8173. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8174. 'optional--',
  8175. 'available only for Premium users',
  8176. "//a[contains(@href,'click.tf')]");
  8177. }
  8178. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8179. {
  8180. addFileHost(
  8181. "ssh\.tf\/\\w+",
  8182. 'logo_0.png|downloads.gif"|verifycode',
  8183. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8184. 'optional--',
  8185. 'available only for Premium users',
  8186. "//a[contains(@href,'ssh.tf')]");
  8187. }
  8188. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8189. {
  8190. addFileHost(
  8191. "ssh\.yt\/\\w+",
  8192. 'logo_0.png|downloads.gif"|verifycode',
  8193. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8194. 'optional--',
  8195. 'available only for Premium users',
  8196. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8197. }
  8198. if (GM_getValue("Check_yep_dot_pm_links", false))
  8199. {
  8200. addFileHost(
  8201. "yep\.pm\/\\w+",
  8202. 'logo_0.png|downloads.gif"|verifycode',
  8203. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8204. 'optional--',
  8205. 'available only for Premium users',
  8206. "//a[contains(@href,'yep.pm')]");
  8207. }
  8208. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8209. {
  8210. addFileHost(
  8211. "kyc\.pm\/\\w+",
  8212. 'logo_0.png|downloads.gif"|verifycode',
  8213. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8214. 'optional--',
  8215. 'available only for Premium users',
  8216. "//a[contains(@href,'kyc.pm')]");
  8217. }
  8218. if (GM_getValue("Check_brupload_dot_net_links", false))
  8219. {
  8220. addFileHost(
  8221. "brupload\.net\/\\w+",
  8222. 'Download Gratuito',
  8223. '<div style="width:500px;text-align:left;">',
  8224. 'optional--',
  8225. 'optional2--',
  8226. "//a[contains(@href,'brupload.net')]");
  8227. }
  8228. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8229. {
  8230. addFileHost(
  8231. "cloudzilla\.to\/\\w+",
  8232. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8233. 'File not found|/imgs/broken.png',
  8234. 'optional--',
  8235. 'optional2--',
  8236. "//a[contains(@href,'cloudzilla.to')]");
  8237. } */
  8238. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8239. {
  8240. addFileHost(
  8241. "clicknupload\.com\/\\w+",
  8242. 'name="method_free',
  8243. 'File Not Found',
  8244. 'optional--',
  8245. 'optional2--',
  8246. "//a[contains(@href,'clicknupload.com')]");
  8247. }
  8248. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8249. {
  8250. addFileHost(
  8251. "clicknupload\.me\/\\w+",
  8252. 'name="method_free',
  8253. 'File Not Found',
  8254. 'optional--',
  8255. 'optional2--',
  8256. "//a[contains(@href,'clicknupload.me')]");
  8257. }
  8258. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8259. {
  8260. addFileHost(
  8261. "clicknupload\.link\/\\w+",
  8262. 'name="method_free',
  8263. 'File Not Found',
  8264. 'optional--',
  8265. 'optional2--',
  8266. "//a[contains(@href,'clicknupload.link')]");
  8267. }
  8268. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8269. {
  8270. addFileHost(
  8271. "ex-load\.com\/\\w+",
  8272. 'name="method_free|<p>Download File:</p>',
  8273. 'Folder Not Found|File Not Found|Error 404',
  8274. 'optional--',
  8275. 'class="downprem wow bounceInLeft',
  8276. "//a[contains(@href,'ex-load.com')]");
  8277. }
  8278. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8279. {
  8280. addFileHost(
  8281. "hexupload\.com\/\\w+",
  8282. 'button" value="Free|type="submit" value=""',
  8283. 'File Not Found|<div style="width:500px;text-align:left;">',
  8284. 'optional--',
  8285. 'optional2--',
  8286. "//a[contains(@href,'hexupload.com')]");
  8287. }*/
  8288. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8289. {
  8290. addFileHost(
  8291. "wizupload\.com\/\\w+",
  8292. 'btn_download|class="downloadbtn"',
  8293. '>File Not Found<',
  8294. 'optional--',
  8295. 'optional2--',
  8296. "//a[contains(@href,'wizupload.com')]");
  8297. }
  8298. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8299. {
  8300. addFileHost(
  8301. "inclouddrive\.com\/\\w+",
  8302. 'initfreedownload',
  8303. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8304. 'optional--',
  8305. 'optional2--',
  8306. "//a[contains(@href,'inclouddrive.com')]");
  8307. }
  8308. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8309. {
  8310. addFileHost(
  8311. "radicalshare\.com\/\\w+",
  8312. 'value="download1|name="method_free"',
  8313. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8314. 'optional--',
  8315. 'optional2--',
  8316. "//a[contains(@href,'radicalshare.com')]");
  8317. }*/
  8318. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8319. {
  8320. addFileHost(
  8321. "sharemods\.com\/\\w+",
  8322. 'name="method_free"',
  8323. 'File Not Found<',
  8324. 'optional--',
  8325. 'optional2--',
  8326. "//a[contains(@href,'sharemods.com')]");
  8327. }
  8328. if (GM_getValue("Check_hostr_dot_co_links", false))
  8329. {
  8330. addFileHost(
  8331. "hostr\.co\/\\w+",
  8332. 'method="get"',
  8333. 'File not found<|error-page',
  8334. 'optional--',
  8335. 'optional2--',
  8336. "//a[contains(@href,'hostr.co')]");
  8337. }
  8338. if (GM_getValue("Check_filepi_dot_com_links", false))
  8339. {
  8340. addFileHost(
  8341. "filepi\.com\/\\w+",
  8342. 'id="button_start">',
  8343. 'File not found',
  8344. 'optional--',
  8345. 'optional2--',
  8346. "//a[contains(@href,'filepi.com')]");
  8347. }
  8348. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8349. {
  8350. addFileHost(
  8351. "tikfile\.com\/\\w+",
  8352. 'btn_download',
  8353. 'File Not Found|file was removed|Reason for deletion',
  8354. 'optional--',
  8355. 'optional2--',
  8356. "//a[contains(@href,'tikfile.com')]");
  8357. }
  8358. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8359. {
  8360. addFileHost(
  8361. "cloudsix\.me\/\\w+",
  8362. 'name="method_free"',
  8363. 'File Not Found|width:500px;text-align:left;">',
  8364. 'optional--',
  8365. 'optional2--',
  8366. "//a[contains(@href,'cloudsix.me')]");
  8367. }
  8368. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8369. {
  8370. addFileHost(
  8371. "neodrive\.co\/\\w+",
  8372. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8373. 'File not found|/imgs/broken.png',
  8374. 'optional--',
  8375. 'optional2--',
  8376. "//a[contains(@href,'neodrive.co')]");
  8377. }
  8378. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8379. {
  8380. addFileHost(
  8381. "chayfile\.com\/\\w+",
  8382. 'name="method_free"',
  8383. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8384. 'optional--',
  8385. 'optional2--',
  8386. "//a[contains(@href,'chayfile.com')]");
  8387. }
  8388. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8389. {
  8390. addFileHost(
  8391. "xfileload\.com\/\\w+",
  8392. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8393. '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..|הקובץ שחיפשת לא נמצא.',
  8394. 'optional--',
  8395. 'optional2--',
  8396. "//a[contains(@href,'xfileload.com')]");
  8397. }*/
  8398. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8399. {
  8400. addFileHost(
  8401. "rockfile\.eu\/\\w+",
  8402. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8403. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8404. 'optional--',
  8405. 'optional2--',
  8406. "//a[contains(@href,'rockfile.eu')]",
  8407. true);
  8408. }
  8409. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8410. {
  8411. addFileHost(
  8412. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8413. 'i/icon/dll.png"|>Start download<br',
  8414. 'no longer available<|i/ino.png"',
  8415. 'optional--',
  8416. 'optional2--',
  8417. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8418. }
  8419. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8420. {
  8421. addFileHost(
  8422. "ozofiles\.com\/\\w+",
  8423. 'button" value="Free|name="method_free',
  8424. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8425. 'optional--',
  8426. 'optional2--',
  8427. "//a[contains(@href,'ozofiles.com')]");
  8428. }
  8429. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8430. {
  8431. addFileHost(
  8432. "userscloud\.com\/\\w+",
  8433. 'btn_download|class="label label-success">',
  8434. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'userscloud.com')]");
  8438. }
  8439. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8440. {
  8441. addFileHost(
  8442. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8443. 'class="button download',
  8444. 'internal server error',
  8445. 'optional--',
  8446. 'optional2--',
  8447. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8448. }
  8449. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8450. {
  8451. addFileHost(
  8452. "kb.simple-aja\.info\/\\w+",
  8453. 'class="button download',
  8454. 'internal server error|<p>404</p>',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'kb.simple')]");
  8458. }
  8459. if (GM_getValue("Check_faststore_dot_org_links", false))
  8460. {
  8461. addFileHost(
  8462. "faststore\.org\/\\w+",
  8463. 'name="method_free',
  8464. 'File Not Found',
  8465. 'optional--',
  8466. 'optional2--',
  8467. "//a[contains(@href,'faststore.org')]");
  8468. }
  8469. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8470. {
  8471. addFileHost(
  8472. "prefiles\.com\/\\w+",
  8473. 'id="method_free',
  8474. 'File not Found',
  8475. 'optional--',
  8476. 'optional2--',
  8477. "//a[contains(@href,'prefiles.com')]");
  8478. }
  8479. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8480. {
  8481. addFileHost(
  8482. "doraupload\.com\/\\w+",
  8483. 'btn_download|name="method_free',
  8484. 'class="error-code|Could Not Be Found',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'doraupload.com')]");
  8488. }
  8489. if (GM_getValue("Check_openload_dot_io_links", false))
  8490. {
  8491. addFileHost(
  8492. "openload\.io\/\\w+",
  8493. 'btn btn-primary|class="count">|secondsleftouter',
  8494. 'class="jumbotron">|We are sorry',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'openload.io')]");
  8498. }
  8499. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8500. {
  8501. addFileHost(
  8502. "zxcfiles\.com\/\\w+",
  8503. 'class="downloadbtn',
  8504. 'File Not Found',
  8505. 'optional--',
  8506. 'optional2--',
  8507. "//a[contains(@href,'zxcfiles.com')]");
  8508. }
  8509. if (GM_getValue("Check_up07_dot_net_links", false))
  8510. {
  8511. addFileHost(
  8512. "up07\.net\/\\w+",
  8513. 'name="method_free',
  8514. 'File Not Found',
  8515. 'optional--',
  8516. 'optional2--',
  8517. "//a[contains(@href,'up07.net')]");
  8518. }
  8519. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8520. {
  8521. addFileHost(
  8522. "fileupload\.pw\/\\w+",
  8523. 'value="Free"',
  8524. 'File Not Found',
  8525. 'optional--',
  8526. 'optional2--',
  8527. "//a[contains(@href,'fileupload.pw')]");
  8528. }
  8529. if (GM_getValue("Check_4upld_dot_com_links", false))
  8530. {
  8531. addFileHost(
  8532. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8533. 'alt="Download Now"|content="Download file">|btn-free-element',
  8534. '<title>Error|content="error|File not found',
  8535. 'optional--',
  8536. 'optional2--',
  8537. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8538. }
  8539. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8540. {
  8541. addFileHost(
  8542. "(?:.swoopshare)\\.com\/\\w+",
  8543. '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',
  8544. '<input type="file" name="f"',
  8545. 'optional--',
  8546. 'optional2--',
  8547. "//a[contains(@href,'swoopshare.com')]"
  8548. );
  8549. }
  8550. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8551. {
  8552. addFileHost(
  8553. "cloudshares\.net\/\\w+",
  8554. '"method_free|"Low Speed Download|submit" name="go',
  8555. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8556. 'optional--',
  8557. 'optional2--',
  8558. "//a[contains(@href,'cloudshares.net')]"
  8559. );
  8560. }
  8561. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8562. {
  8563. addFileHost(
  8564. "allmyvideos\.net\/\\w+",
  8565. 'Continue to Video',
  8566. 'File Not Found|class="err">Removed for',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'allmyvideos.net')]"
  8570. );
  8571. } */
  8572. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8573. {
  8574. addFileHost(
  8575. "vodlocker\.com\/\\w+",
  8576. 'Proceed to video',
  8577. 'Not Found',
  8578. 'optional--',
  8579. 'optional2--',
  8580. "//a[contains(@href,'vodlocker.com')]"
  8581. );
  8582. }
  8583. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8584. {
  8585. addFileHost(
  8586. "vidbull\.com\/\\w+",
  8587. 'Verifying Video Request',
  8588. 'File Not Found',
  8589. 'optional--',
  8590. 'optional2--',
  8591. "//a[contains(@href,'vidbull.com')]");
  8592. }
  8593. if (GM_getValue("Check_novamov_dot_com_links", false))
  8594. {
  8595. addFileHost(
  8596. "novamov\.com\/\\w+",
  8597. 'For version detection',
  8598. 'file no longer exists',
  8599. 'optional--',
  8600. 'optional2--',
  8601. "//a[contains(@href,'novamov.com')]"
  8602. );
  8603. }
  8604. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8605. {
  8606. addFileHost(
  8607. "filehoot\.com\/\\w+",
  8608. 'Continue to watch',
  8609. 'File Not Found',
  8610. 'optional--',
  8611. 'optional2--',
  8612. "//a[contains(@href,'filehoot.com')]"
  8613. );
  8614. }
  8615. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8616. {
  8617. addFileHost(
  8618. "stagevu\.com\/\\w+",
  8619. 'Video Info',
  8620. 'No video with the provided',
  8621. 'optional--',
  8622. 'optional2--',
  8623. "//a[contains(@href,'stagevu.com')]"
  8624. );
  8625. }
  8626. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8627. {
  8628. addFileHost(
  8629. "cloudtime\.to\/\\w+",
  8630. 'Download the video',
  8631. 'no longer exists',
  8632. 'optional--',
  8633. 'optional2--',
  8634. "//a[contains(@href,'cloudtime.to')]"
  8635. );
  8636. }
  8637. if (GM_getValue("Check_streamin_dot_to_links", false))
  8638. {
  8639. addFileHost(
  8640. "streamin\.to\/\\w+",
  8641. 'id="btn_download',
  8642. 'Not Found|Copyright Infringement|File Deleted',
  8643. 'optional--',
  8644. 'optional2--',
  8645. "//a[contains(@href,'streamin.to')]"
  8646. );
  8647. }
  8648. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8649. {
  8650. addFileHost(
  8651. "videoweed\.es\/\\w+",
  8652. 'version detection',
  8653. 'no longer exists',
  8654. 'optional--',
  8655. 'optional2--',
  8656. "//a[contains(@href,'videoweed.es')]"
  8657. );
  8658. }
  8659. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8660. {
  8661. addFileHost(
  8662. "nowvideo\.sx\/\\w+",
  8663. 'Download this video|value="submit">Continue',
  8664. 'no longer exists',
  8665. 'optional--',
  8666. 'optional2--',
  8667. "//a[contains(@href,'nowvideo.sx')]"
  8668. );
  8669. }
  8670. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8671. {
  8672. addFileHost(
  8673. "thevideo\.me\/\\w+",
  8674. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8675. 'File Not Found',
  8676. 'optional--',
  8677. 'optional2--',
  8678. "//a[contains(@href,'thevideo.me')]"
  8679. );
  8680. }
  8681. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8682. {
  8683. addFileHost(
  8684. "gorillavid\.in\/\\w+",
  8685. 'Wait 5 seconds',
  8686. 'File Not Found',
  8687. 'optional--',
  8688. 'optional2--',
  8689. "//a[contains(@href,'gorillavid.in')]"
  8690. );
  8691. }
  8692. if (GM_getValue("Check_thefile_dot_me_links", false))
  8693. {
  8694. addFileHost(
  8695. "thefile\.me\/\\w+",
  8696. 'Choose free or',
  8697. '',
  8698. 'optional--',
  8699. 'optional2--',
  8700. "//a[contains(@href,'thefile.me')]"
  8701. );
  8702. }
  8703. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8704. {
  8705. addFileHost(
  8706. "vidzi\.tv\/\\w+",
  8707. 'video-embed-modal row',
  8708. 'File Not Found|file was deleted',
  8709. 'optional--',
  8710. 'optional2--',
  8711. "//a[contains(@href,'vidzi.tv')]"
  8712. );
  8713. }
  8714. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8715. {
  8716. addFileHost(
  8717. "filenuke\.com\/\\w+",
  8718. 'Download File',
  8719. 'Earn with us',
  8720. 'optional--',
  8721. 'optional2--',
  8722. "//a[contains(@href,'filenuke.com')]"
  8723. );
  8724. }
  8725. if (GM_getValue("Check_vidto_dot_me_links", false))
  8726. {
  8727. addFileHost(
  8728. "vidto\.me\/\\w+",
  8729. 'Proceed to video',
  8730. 'Not Found',
  8731. 'optional--',
  8732. 'optional2--',
  8733. "//a[contains(@href,'vidto.me')]"
  8734. );
  8735. }
  8736. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8737. {
  8738. addFileHost(
  8739. "vidspot\.net\/\\w+",
  8740. 'Duration|method_free',
  8741. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8742. 'optional--',
  8743. 'optional2--',
  8744. "//a[contains(@href,'vidspot.net')]"
  8745. );
  8746. } */
  8747. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8748. {
  8749. addFileHost(
  8750. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8751. 'Download File',
  8752. 'File Not Found',
  8753. 'optional--',
  8754. 'optional2--',
  8755. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8756. );
  8757. }
  8758. if (GM_getValue("Check_movpod_dot_in_links", false))
  8759. {
  8760. addFileHost(
  8761. "movpod\.in\/\\w+",
  8762. 'Continue',
  8763. 'File Not Found',
  8764. 'optional--',
  8765. 'optional2--',
  8766. "//a[contains(@href,'movpod.in')]"
  8767. );
  8768. }
  8769. if (GM_getValue("Check_down4files_dot_com_links", false))
  8770. {
  8771. addFileHost(
  8772. "down4files\.com\/\\w+",
  8773. 'down_table.png',
  8774. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8775. 'optional--',
  8776. 'optional2--',
  8777. "//a[contains(@href,'down4files.com')]"
  8778. );
  8779. }
  8780. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8781. {
  8782. addFileHost(
  8783. "storefiles\.co\/\\w+",
  8784. 'btn_download',
  8785. 'No such file|>Error<|mqmaintitle">',
  8786. 'optional--',
  8787. 'optional2--',
  8788. "//a[contains(@href,'storefiles.co')]"
  8789. );
  8790. }*/
  8791. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8792. {
  8793. addFileHost(
  8794. "filehost\.pw\/\\w+",
  8795. 'name="method_free',
  8796. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8797. 'optional--',
  8798. 'optional2--',
  8799. "//a[contains(@href,'filehost.pw')]"
  8800. );
  8801. }
  8802. if (GM_getValue("Check_uplea_dot_com_links", false))
  8803. {
  8804. addFileHost(
  8805. "uplea\.com\/\\w+",
  8806. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8807. 'expired link|ou est invalide',
  8808. 'optional--',
  8809. 'optional2--',
  8810. "//a[contains(@href,'uplea.com/dl')]",
  8811. true);
  8812. }
  8813. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8814. {
  8815. addFileHost(
  8816. "toutbox\.fr\/\\w+",
  8817. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8818. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8819. 'Serviço temporariamente indisponível',
  8820. 'optional2--',
  8821. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8822. );
  8823. }*/
  8824. if (GM_getValue("Check_openload_dot_co_links", false))
  8825. {
  8826. addFileHost(
  8827. "openload\.co\/\\w+",
  8828. 'id="downloadTimer">|button dlbutton',
  8829. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8830. 'optional--',
  8831. 'optional2--',
  8832. "//a[contains(@href,'openload.co')]"
  8833. );
  8834. }
  8835. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8836. {
  8837. addFileHost(
  8838. "lolabits\.es\/\\w+",
  8839. 'Descargar:',
  8840. '<title>Archivos de usuario',
  8841. 'Service Unavailable',
  8842. 'optional2--',
  8843. "//a[contains(@href,'lolabits.es')]"
  8844. );
  8845. }*/
  8846. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8847. {
  8848. addFileHost(
  8849. "alfafile\.net\/\\w+",
  8850. 'id="slow_download_btn',
  8851. 'class="error-box">',
  8852. 'optional--',
  8853. 'optional2--',
  8854. "//a[contains(@href,'alfafile.net')]"
  8855. );
  8856. }
  8857. if (GM_getValue("Check_multiup_dot_org_links", false))
  8858. {
  8859. addFileHost(
  8860. "multiup\\.(?:org|eu)\/\\w+",
  8861. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8862. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8863. 'optional--',
  8864. 'optional2--',
  8865. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8866. );
  8867. }
  8868. if (GM_getValue("Check_file_dot_al_links", false))
  8869. {
  8870. addFileHost(
  8871. "file\\.al",
  8872. 'method_free',
  8873. 'style="width:500px;text-align:left;">',
  8874. 'optional--',
  8875. 'optional2--',
  8876. "//a[contains(@href,'file.al')]"
  8877. );
  8878. }
  8879. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8880. {
  8881. addFileHost(
  8882. "devilshare\.net\/\\w+",
  8883. '<div class="large-12" id="download">',
  8884. '(Link: 0 Invalid)|File Not Found',
  8885. 'optional--',
  8886. 'optional2--',
  8887. "//a[contains(@href,'devilshare.net')]"
  8888. );
  8889. }
  8890. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8891. {
  8892. addFileHost(
  8893. "dailyuploads\.net\/\\w+",
  8894. 'id="downloadBtnClickOrignal',
  8895. '<div style="width:500px;text-align:left;">',
  8896. 'optional--',
  8897. 'optional2--',
  8898. "//a[contains(@href,'dailyuploads.net')]"
  8899. );
  8900. }
  8901. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8902. {
  8903. addFileHost(
  8904. "datoteke\.com\/\\w+",
  8905. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8906. '&nbsp;File has been removed',
  8907. 'optional--',
  8908. '<title>Error - Datoteke',
  8909. "//a[contains(@href,'datoteke.com')]"
  8910. );
  8911. }
  8912. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8913. {
  8914. addFileHost(
  8915. "sharehost\.eu\/\\w+",
  8916. '/?v=download_free&',
  8917. 'Errors occured|Wystąpiły błędy',
  8918. 'optional--',
  8919. 'optional2--',
  8920. "//a[contains(@href,'sharehost.eu')]"
  8921. );
  8922. }
  8923. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8924. {
  8925. addFileHost(
  8926. "pornfile\.cz",
  8927. 'Stáhnout soubor|Stáhnout pomalu',
  8928. 'Soubor byl smazán|Stránka nenalezena',
  8929. 'optional--',
  8930. 'optional2--',
  8931. "//a[contains(@href,'pornfile.cz')]"
  8932. );
  8933. }
  8934. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8935. {
  8936. addFileHost(
  8937. "pornoid\.cz\/\\w+",
  8938. 'class="btn btn-large btn-download',
  8939. 'Soubor byl smazán',
  8940. 'optional--',
  8941. 'optional2--',
  8942. "//a[contains(@href,'pornoid.cz')]"
  8943. );
  8944. }
  8945. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8946. {
  8947. addFileHost(
  8948. "file-share\.top\/\\w+",
  8949. 'btn-success btn-lg download',
  8950. 'Stránka neexistuje|404 Not Found',
  8951. 'optional--',
  8952. 'optional2--',
  8953. "//a[contains(@href,'file-share.top')]"
  8954. );
  8955. }
  8956. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8957. {
  8958. addFileHost(
  8959. "bitster\.cz\/",
  8960. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8961. 'section" content=""',
  8962. 'optional--',
  8963. 'optional2--',
  8964. "//a[contains(@href,'bitster.cz')]"
  8965. );
  8966. }
  8967. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8968. {
  8969. addFileHost(
  8970. "rapidu\.net\/\\w+",
  8971. 'onclick="downloadFreeFile',
  8972. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8973. 'optional--',
  8974. 'optional2--',
  8975. "//a[contains(@href,'rapidu.net')]"
  8976. );
  8977. }
  8978. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8979. {
  8980. addFileHost(
  8981. "dinoshare\.cz\/\\w+",
  8982. 'class="download-button"',
  8983. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8984. 'optional--',
  8985. 'optional2--',
  8986. "//a[contains(@href,'dinoshare.cz')]"
  8987. );
  8988. }
  8989. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8990. {
  8991. addFileHost(
  8992. "bytewhale\.com\/\\w+",
  8993. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8994. 'var rawest = "0 MB|Copyrights Claim</div>',
  8995. 'optional--',
  8996. 'This file is available for premium members only',
  8997. "//a[contains(@href,'bytewhale.com')]"
  8998. );
  8999. }
  9000. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9001. {
  9002. addFileHost(
  9003. "rapidrar\.com\/\\w+",
  9004. 'value="Free Download',
  9005. '<div style="width:500px;text-align:left;">',
  9006. 'optional--',
  9007. 'optional--',
  9008. "//a[contains(@href,'rapidrar.com')]"
  9009. );
  9010. }
  9011. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9012. {
  9013. addFileHost(
  9014. "filesupload\.org\/\\w+",
  9015. '<a href="/download-or-watch/',
  9016. 'File not found',
  9017. 'optional--',
  9018. 'optional--',
  9019. "//a[contains(@href,'filesupload.org')]"
  9020. );
  9021. }
  9022. if (GM_getValue("Check_filecad_dot_com_links", false))
  9023. {
  9024. addFileHost(
  9025. "filecad\.com\/\\w+",
  9026. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9027. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9028. 'optional--',
  9029. 'optional--',
  9030. "//a[contains(@href,'filecad.com')]"
  9031. );
  9032. }
  9033. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9034. {
  9035. addFileHost(
  9036. "file.up09\.com\/\\w+",
  9037. 'name="method_free',
  9038. 'style="width:500px;text-align:left;">',
  9039. 'optional--',
  9040. 'optional--',
  9041. "//a[contains(@href,'file.up09.com')]"
  9042. );
  9043. }
  9044. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9045. {
  9046. addFileHost(
  9047. "lunaticfiles\.com\/\\w+",
  9048. 'name="method_free"',
  9049. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9050. 'optional--',
  9051. 'optional--',
  9052. "//a[contains(@href,'lunaticfiles.com')]"
  9053. );
  9054. }
  9055. if (GM_getValue("Check_upload_dot_af_links", false))
  9056. {
  9057. addFileHost(
  9058. "upload\.af\/\\w+",
  9059. 'id="method_free"',
  9060. '<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|ファイルが見つかりません',
  9061. 'optional--',
  9062. 'optional--',
  9063. "//a[contains(@href,'upload.af')]"
  9064. );
  9065. }
  9066. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9067. {
  9068. addFileHost(
  9069. "filedwon\.info\/\\w+",
  9070. 'name="method_free"',
  9071. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9072. 'optional--',
  9073. 'optional--',
  9074. "//a[contains(@href,'filedwon.info')]"
  9075. );
  9076. }
  9077. if (GM_getValue("Check_uplod_dot_it_links", false))
  9078. {
  9079. addFileHost(
  9080. "uplod\.it\/\\w+",
  9081. 'value="download2">|name="method_free',
  9082. '<Title>Download </Title>',
  9083. 'optional--',
  9084. 'optional--',
  9085. "//a[contains(@href,'uplod.it')]"
  9086. );
  9087. }
  9088. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9089. {
  9090. addFileHost(
  9091. "abelhas\.pt\/\\w+",
  9092. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9093. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9094. 'optional--',
  9095. 'optional--',
  9096. "//a[contains(@href,'abelhas.pt')]"
  9097. );
  9098. } */
  9099. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9100. {
  9101. addFileHost(
  9102. "disk.yandex\.com\/\\w+",
  9103. 'nb-button _nb-small-button',
  9104. 'error code|Nothing found',
  9105. 'optional--',
  9106. 'optional2--',
  9107. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9108. }
  9109. if (GM_getValue("Check_filespace_dot_com_links", false))
  9110. {
  9111. addFileHost(
  9112. "filespace\.com\/\\w+",
  9113. '"method_free',
  9114. '<div style="text-align:left;"><ul>|>File not found.<',
  9115. 'optional1--',
  9116. 'optional2--',
  9117. "//a[contains(@href,'filespace.com')]");
  9118. }
  9119. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9120. {
  9121. addFileHost(
  9122. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9123. 'name="downloadFile|id="downloadFile|value="Wait',
  9124. '<title>File not found</title>|>Error:<',
  9125. 'optional1--',
  9126. 'optional2--',
  9127. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9128. }
  9129. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9130. {
  9131. addFileHost(
  9132. "ncrypt\.in\/\\w+",
  9133. 'Sicherheitsabfrage:|Securitycheck:',
  9134. 'does not exist|existiert nicht',
  9135. 'optional1--',
  9136. 'optional2--',
  9137. "//a[contains(@href,'ncrypt.in')]");
  9138. }
  9139. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9140. {
  9141. addFileHost(
  9142. "jeodrive\.com\/\\w+",
  9143. 'btn-lg regular',
  9144. 'Not found',
  9145. 'optional1--',
  9146. 'optional2--',
  9147. "//a[contains(@href,'jeodrive.com')]");
  9148. }
  9149. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9150. {
  9151. addFileHost(
  9152. "myfiles\.onl\/\\w+",
  9153. 'value="Free"',
  9154. '<div style="width:500px;text-align:left;">',
  9155. 'optional1--',
  9156. 'optional2--',
  9157. "//a[contains(@href,'myfiles.onl')]");
  9158. }
  9159. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9160. {
  9161. addFileHost(
  9162. "uploadserv\.com\/\\w+",
  9163. 'color="red">http://uploadserv.com/',
  9164. 'content="Download File ">|<title>Download </title>',
  9165. 'optional1--',
  9166. 'optional2--',
  9167. "//a[contains(@href,'uploadserv.com')]");
  9168. }
  9169. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9170. {
  9171. addFileHost(
  9172. "keepshare\.net\/\\w+",
  9173. 'method_free',
  9174. '<div style="width:500px;text-align:left;">',
  9175. 'optional1--',
  9176. 'optional2--',
  9177. "//a[contains(@href,'keepshare.net')]");
  9178. }
  9179. if (GM_getValue("Check_oload_dot_net_links", false))
  9180. {
  9181. addFileHost(
  9182. "oload\.net\/\\w+",
  9183. '<font color="red">http://oload.net',
  9184. 'class="page-ttl">',
  9185. 'optional1--',
  9186. 'optional2--',
  9187. "//a[contains(@href,'oload.net')]");
  9188. }
  9189. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9190. {
  9191. addFileHost(
  9192. "filescdn\.com\/\\w+",
  9193. 'btn_download',
  9194. 'icon-warning text-danger|no longer available',
  9195. 'optional1--',
  9196. 'optional2--',
  9197. "//a[contains(@href,'filescdn.com')]");
  9198. }
  9199. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9200. {
  9201. addFileHost(
  9202. "bankupload\.com\/\\w+",
  9203. 'id="btn_download"|1.0 GB',
  9204. '<div style="width:500px;text-align:left;">',
  9205. 'optional1--',
  9206. ' GB',
  9207. "//a[contains(@href,'bankupload.com')]");
  9208. }
  9209. if (GM_getValue("Check_katfile_dot_com_links", false))
  9210. {
  9211. addFileHost(
  9212. "katfile\.com\/\\w+",
  9213. 'KB| MB|1.0 GB|id="method_free',
  9214. 'images/file_not_found.png"',
  9215. 'optional1--',
  9216. ' GB',
  9217. "//a[contains(@href,'katfile.com')]");
  9218. }
  9219. if (GM_getValue("Check_filesin_dot_space_links", false))
  9220. {
  9221. addFileHost(
  9222. "filesin\.space\/\\w+",
  9223. 'id="btn_download"',
  9224. 'class="err">',
  9225. 'optional1--',
  9226. 'optional2',
  9227. "//a[contains(@href,'filesin.space')]");
  9228. }
  9229. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9230. {
  9231. addFileHost(
  9232. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9233. 'download.php',
  9234. 'notfound|upload\\-suborov\\.php"',
  9235. 'optional--',
  9236. 'optional2--',
  9237. "//a[contains(@href,'upnito.sk')]"
  9238. );
  9239. }
  9240. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9241. {
  9242. addFileHost(
  9243. "alltu\.eu\/\\w+",
  9244. 'download-timer',
  9245. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9246. 'optional1--',
  9247. 'optional2',
  9248. "//a[contains(@href,'alltu.eu')]");
  9249. }
  9250. if (GM_getValue("Check_novafile_dot_com_links", false))
  9251. {
  9252. addFileHost(
  9253. "novafile\.com\/\\w+",
  9254. 'id="regular-download',
  9255. 'id="file-not-found',
  9256. 'optional1--',
  9257. 'id="premium-only',
  9258. "//a[contains(@href,'novafile.com')]");
  9259. }
  9260. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9261. {
  9262. addFileHost(
  9263. "uploadgig\.com",
  9264. 'btn-default',
  9265. 'File not found',
  9266. 'optional1--',
  9267. 'optional2',
  9268. "//a[contains(@href,'uploadgig.com')]");
  9269. }
  9270. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9271. {
  9272. addFileHost(
  9273. "mexashare\.com\/\\w+",
  9274. 'method_free',
  9275. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9276. 'optional1--',
  9277. 'optional2',
  9278. "//a[contains(@href,'mexashare.com')]");
  9279. }
  9280. if (GM_getValue("Check_daofile_dot_com_links", false))
  9281. {
  9282. addFileHost(
  9283. "daofile\.com\/\\w+",
  9284. 'class="captcha_code',
  9285. 'style="width:500px;text-align:left;">',
  9286. 'optional1--',
  9287. 'optional2',
  9288. "//a[contains(@href,'daofile.com')]");
  9289. }
  9290. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9291. {
  9292. addFileHost(
  9293. "imagenetz\.de\/\\w+",
  9294. 'id="download',
  9295. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9296. 'optional1--',
  9297. 'optional2',
  9298. "//a[contains(@href,'imagenetz.de')]");
  9299. }
  9300. if (GM_getValue("Check_uloz_dot_to_links", false))
  9301. {
  9302. addFileHost(
  9303. "uloz\.to",
  9304. 'limitedDownloadButton|Stáhnout pomalu',
  9305. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9306. 'optional1--',
  9307. 'optional2',
  9308. "//a[contains(@href,'uloz.to')]");
  9309. }
  9310. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9311. {
  9312. addFileHost(
  9313. "ulozto.net",
  9314. 'limitedDownloadButton|Stáhnout pomalu',
  9315. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9316. 'optional1--',
  9317. 'optional2',
  9318. "//a[contains(@href,'ulozto.net')]");
  9319. }
  9320. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9321. {
  9322. addFileHost(
  9323. "ulozto\.sk",
  9324. 'limitedDownloadButton|Stáhnout pomalu',
  9325. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9326. 'optional1--',
  9327. 'optional2',
  9328. "//a[contains(@href,'ulozto.sk')]");
  9329. }
  9330. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9331. {
  9332. addFileHost(
  9333. "ulozto\.cz",
  9334. 'limitedDownloadButton|Stáhnout pomalu',
  9335. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9336. 'optional1--',
  9337. 'optional2',
  9338. "//a[contains(@href,'ulozto.cz')]");
  9339. }
  9340. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9341. {
  9342. addFileHost(
  9343. "subyshare\.com\/\\w+",
  9344. 'id="method_free',
  9345. 'file was removed|class="err">|1s">404',
  9346. 'optional1--',
  9347. 'optional2',
  9348. "//a[contains(@href,'subyshare.com')]",
  9349. true);
  9350. }
  9351. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9352. {
  9353. addFileHost(
  9354. "fileshareup\.com\/\\w+",
  9355. 'download-timer|btn-free-element|content="Download file',
  9356. 'content="Error"|content="error|heading-1">Error<',
  9357. 'optional1--',
  9358. 'optional2',
  9359. "//a[contains(@href,'fileshareup.com')]");
  9360. }
  9361. if (GM_getValue("Check_mystore_dot_to_links", false))
  9362. {
  9363. addFileHost(
  9364. "mystore\.to\/\\w+",
  9365. 'Download File',
  9366. 'file not found',
  9367. 'optional1--',
  9368. 'optional2',
  9369. "//a[contains(@href,'mystore.to/dl')]");
  9370. }
  9371. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9372. {
  9373. addFileHost(
  9374. "usercloud\.net\/\\w+",
  9375. 'content="download|var seconds = 60|type="password',
  9376. 'content="error|report_file.html">',
  9377. 'optional1--',
  9378. 'optional2',
  9379. "//a[contains(@href,'usercloud.net')]");
  9380. }
  9381. if (GM_getValue("Check_workupload_dot_com_links", false))
  9382. {
  9383. addFileHost(
  9384. "workupload\.com\/\\w+",
  9385. 'content="Download|id="download"',
  9386. 'File not found|img/not-found.jpg|Error message',
  9387. 'optional1--',
  9388. 'optional2',
  9389. "//a[contains(@href,'workupload.com')]");
  9390. }
  9391. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9392. {
  9393. addFileHost(
  9394. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9395. 'class="download">',
  9396. 'class="error center',
  9397. 'optional1--',
  9398. 'optional2',
  9399. "//a[contains(@href,'storageserver.co.uk')]");
  9400. }
  9401. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9402. {
  9403. addFileHost(
  9404. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9405. '"kind": "file"',
  9406. '"error": "not_exists"',
  9407. 'optional1--',
  9408. 'optional2',
  9409. "//a[contains(@href,'cloud.mail.ru')]");
  9410. }
  9411. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9412. {
  9413. addFileHost(
  9414. "bdupload\.info\/\\w+",
  9415. 'class="downloadbtn">|id="downloadbtn"',
  9416. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9417. 'optional1--',
  9418. 'optional2',
  9419. "//a[contains(@href,'bdupload.info')]");
  9420. }
  9421. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9422. {
  9423. addFileHost(
  9424. "wayupload\.com\/\\w+",
  9425. 'class="nopay-btn gray"',
  9426. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9427. 'optional1--',
  9428. 'optional2',
  9429. "//a[contains(@href,'wayupload.com')]");
  9430. }
  9431. if (GM_getValue("Check_exbit_dot_net_links", false))
  9432. {
  9433. addFileHost(
  9434. "exbit\.net\/\\w+",
  9435. 'class="nopay-btn|href="/download/free/',
  9436. 'File not found',
  9437. 'optional1--',
  9438. 'optional2',
  9439. "//a[contains(@href,'exbit.net')]");
  9440. }
  9441. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9442. {
  9443. addFileHost(
  9444. "uploadocean\.com\/\\w+",
  9445. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9446. 'deleted.png"',
  9447. 'optional1--',
  9448. 'optional2',
  9449. "//a[contains(@href,'uploadocean.com')]");
  9450. }
  9451. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9452. {
  9453. addFileHost(
  9454. "fileflares\.com\/\\w+",
  9455. 'id="downloadbtn"',
  9456. '<div style="width:500px;text-align:left;">',
  9457. 'optional1--',
  9458. 'optional2',
  9459. "//a[contains(@href,'fileflares.com')]");
  9460. }
  9461. if (GM_getValue("Check_erafile_dot_com_links", false))
  9462. {
  9463. addFileHost(
  9464. "erafile\.com\/\\w+",
  9465. 'id="method_free',
  9466. '<div style="width:500px;text-align:left;">',
  9467. 'optional1--',
  9468. 'optional2',
  9469. "//a[contains(@href,'erafile.com')]");
  9470. }
  9471. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9472. {
  9473. addFileHost(
  9474. "suprafiles\.net\/\\w+",
  9475. 'name="method_free"',
  9476. 'File Not Found|style="width:1000px; text-align: left;">',
  9477. 'optional1--',
  9478. 'optional2',
  9479. "//a[contains(@href,'suprafiles.net')]");
  9480. }
  9481. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9482. {
  9483. addFileHost(
  9484. "upfiles\.net\/\\w+",
  9485. 'id="recaptcha2"|snail.png"',
  9486. 'Ten plik został usunięty.|style="margin-top:50px',
  9487. 'optional1--',
  9488. 'optional2',
  9489. "//a[contains(@href,'upfiles.net/f/')]");
  9490. }
  9491. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9492. {
  9493. addFileHost(
  9494. "dailyfiles\.net\/\\w+",
  9495. 'onclick="dwn',
  9496. '<title>Error',
  9497. 'optional1--',
  9498. 'optional2',
  9499. "//a[contains(@href,'dailyfiles.net')]");
  9500. }
  9501. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9502. {
  9503. addFileHost(
  9504. "littlebyte\.net\/\\w+",
  9505. '>Free download<|>Скачать медленно<',
  9506. 'images/dmca.png">',
  9507. 'optional1--',
  9508. 'optional2',
  9509. "//a[contains(@href,'littlebyte.net')]");
  9510. }
  9511. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9512. {
  9513. addFileHost(
  9514. "black\\-label\\.pro\/\\w+",
  9515. 'slow_download_button.png"|td><td title="',
  9516. 'STILL NEED CODE FOR DEAD LINKS',
  9517. 'optional1--',
  9518. 'optional2',
  9519. "//a[contains(@href,'black-label.pro')]");
  9520. } */
  9521. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9522. {
  9523. addFileHost(
  9524. "temp\\-share\\.com\/\\w+",
  9525. 'publickey',
  9526. 'STILL NEED CODE FOR DEAD LINKS',
  9527. 'optional1--',
  9528. 'optional2',
  9529. "//a[contains(@href,'temp-share.com')]");
  9530. }
  9531. if (GM_getValue("Check_filesha_dot_com_links", false))
  9532. {
  9533. addFileHost(
  9534. "filesha\.com\/\\w+",
  9535. '>Download Free<',
  9536. 'STILL NEED CODE FOR DEAD LINKS',
  9537. 'optional1--',
  9538. 'optional2',
  9539. "//a[contains(@href,'filesha.com')]");
  9540. }
  9541. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9542. {
  9543. addFileHost(
  9544. "ausfile\.com\/\\w+",
  9545. 'class="slow-download',
  9546. 'File Not Found',
  9547. 'optional1--',
  9548. 'optional2',
  9549. "//a[contains(@href,'ausfile.com')]");
  9550. }
  9551. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9552. {
  9553. addFileHost(
  9554. "upfile\.mobi\/\\w+",
  9555. 'class="download_button"',
  9556. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9557. 'optional1--',
  9558. 'optional2',
  9559. "//a[contains(@href,'upfile.mobi')]");
  9560. }
  9561. if (GM_getValue("Check_share_dot_az_links", false))
  9562. {
  9563. addFileHost(
  9564. "share\.az\/\\w+",
  9565. 'id="btn_download"',
  9566. 'File Not Found|We are sorry',
  9567. 'optional1--',
  9568. 'optional2',
  9569. "//a[contains(@href,'share.az')]");
  9570. }
  9571. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9572. {
  9573. addFileHost(
  9574. "partage-facile\.com",
  9575. 'class="title"><strong>',
  9576. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9577. 'optional--',
  9578. 'optional2--',
  9579. "//a[contains(@href,'partage-facile.com')]");
  9580. }
  9581. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9582. {
  9583. addFileHost(
  9584. "uploadify\.net\/\\w+",
  9585. 'loading_small.gif"',
  9586. '<title>Error -',
  9587. 'optional1--',
  9588. 'optional2',
  9589. "//a[contains(@href,'uploadify.net')]");
  9590. }
  9591. if (GM_getValue("Check_uploads_dot_to_links", false))
  9592. {
  9593. addFileHost(
  9594. "uploads\.to\/\\w+",
  9595. 'class="g-recaptcha',
  9596. 'File Not Found',
  9597. 'optional1--',
  9598. 'optional2',
  9599. "//a[contains(@href,'uploads.to')]");
  9600. }
  9601.  
  9602. }
  9603. //start here
  9604.  
  9605. //hosts with direct download, so they must be requested for headers only
  9606. function initFileHostsHeadersOnly()
  9607. {
  9608. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9609. {
  9610. var host = new Array(5);
  9611. host[0] = linkRegex;
  9612. host[1] = isAliveRegex;
  9613. host[2] = isDeadRegex;
  9614. host[4] = ispremRegex;
  9615. host[3] = xpathEx;
  9616. http_file_hosts_headers_only.push(host);
  9617. }
  9618. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9619. {
  9620. addFileHostHeadersOnly(
  9621. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9622. 'Connection: Keep-Alive',
  9623. 'Content-Length: 3857',
  9624. 'optional2',
  9625. "//a[contains(@href,'uloziste.com')]"
  9626. )
  9627. }
  9628. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9629. {
  9630. addFileHostHeadersOnly(
  9631. "filescdn\.com\/\\w+",
  9632. 'Connection: keep-alive',
  9633. 'Company</Title>',
  9634. 'optional2',
  9635. "//a[contains(@href,'filescdn.com')]"
  9636. )
  9637. } */
  9638. if (GM_getValue("Check_adrive_dot_com_links", false))
  9639. {
  9640. addFileHostHeadersOnly(
  9641. "adrive\\.com\/public\/\\w+",
  9642. 'Connection: keep-alive',
  9643. 'orig_ref=deleted',
  9644. 'optional2',
  9645. "//a[contains(@href,'adrive.com')]"
  9646. )
  9647. }
  9648. }
  9649.  
  9650. //CustomRules
  9651. //functions add...Host copied here
  9652. function addObsoleteHost(linkRegex, xpathEx)
  9653. {
  9654. var host = new Array(2);
  9655. host[0] = linkRegex;
  9656. host[1] = xpathEx;
  9657. http_file_hosts_obsolete.push(host);
  9658. }
  9659. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9660. {
  9661. var host = new Array(7);
  9662. host[0] = linkRegex;
  9663. host[1] = isAliveRegex;
  9664. host[2] = isDeadRegex;
  9665. host[3] = isUnavaRegex;
  9666. host[4] = xpathEx;
  9667. tryLoop ? host[5] = true : host[5] = false;
  9668. host[6] = ispremRegex;
  9669. http_file_hosts.push(host);
  9670. }
  9671. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9672. {
  9673. var host = new Array(5);
  9674. host[0] = linkRegex;
  9675. host[1] = isAliveRegex;
  9676. host[2] = isDeadRegex;
  9677. host[3] = xpathEx;
  9678. host[4] = ispremRegex;
  9679. http_file_hosts_headers_only.push(host);
  9680. }
  9681. //takes a fully built rules array and adds the rules to WARLC
  9682. function applyCustomRules(customRules)
  9683. {
  9684. if (!customRules) return;
  9685. var rules, r, i;
  9686. rules = customRules.rules;
  9687. for (i = 0 ; i < rules.length ; i++)
  9688. {
  9689. r = rules[i];
  9690. if (r.enabled)
  9691. {
  9692. switch (r.type)
  9693. {
  9694. case 'single':
  9695. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9696. break;
  9697. case 'headers':
  9698. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9699. break;
  9700. case 'obsolete':
  9701. addObsoleteHost(r.urlregex, r.xpath)
  9702. break;
  9703. }
  9704. }
  9705. }
  9706. }
  9707.  
  9708.  
  9709. function initFileHostsCustom()
  9710. {
  9711. if (Custom_rules && Custom_rules_text)
  9712. {
  9713. var msg = '';
  9714. if (newVersion)
  9715. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9716. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9717. msg = '60 or more days have passed since this notification.\n\n';
  9718. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9719. {
  9720. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9721. msg +=
  9722. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9723. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9724. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9725. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9726. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9727. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9728. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9729. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9730. setTimeout(function(){alert(msg)},0);
  9731. }
  9732. var customRules = parseCustomRules(Custom_rules_text);
  9733. if (customRules.warning || customRules.error)
  9734. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9735. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9736. JSON.stringify(customRules.info, null, ' '));
  9737. applyCustomRules(customRules);
  9738. }
  9739. }
  9740. //end of CustomRules processing
  9741.  
  9742.  
  9743.  
  9744. } //end of function start
  9745.  
  9746.  
  9747.  
  9748. function initClipBoardTools()
  9749. {
  9750. unsafeWindow.copyToClipboard = function(text)
  9751. {
  9752. try
  9753. {
  9754. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9755.  
  9756. var str = Components.classes["@mozilla.org/supports-string;1"].
  9757. createInstance(Components.interfaces.nsISupportsString);
  9758. if (!str) return false;
  9759.  
  9760. str.data = text;
  9761.  
  9762. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9763. createInstance(Components.interfaces.nsITransferable);
  9764. if (!trans) return false;
  9765.  
  9766. trans.addDataFlavor("text/unicode");
  9767. trans.setTransferData("text/unicode", str, text.length * 2);
  9768.  
  9769. var clipid = Components.interfaces.nsIClipboard;
  9770. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9771. if (!clip) return false;
  9772.  
  9773. clip.setData(trans, null, clipid.kGlobalClipboard);
  9774. } catch (e) {
  9775. GM_log("Error copyToClipboard : " + e);
  9776. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9777. }
  9778. }
  9779. }
  9780.  
  9781.  
  9782.  
  9783. //CustomRules
  9784.  
  9785. function escapeRegex(str)
  9786. {
  9787. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9788. }
  9789.  
  9790.  
  9791. //called internally from parseCustomRules.
  9792. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9793. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9794. function makeCustomRule(rule)
  9795. {
  9796. function makeMatchRegex(arrmatch)
  9797. {
  9798. return escapeRegex(arrmatch.join('\n'))
  9799. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9800. .replace(/\n/g,'|'); //join together
  9801. }
  9802. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9803. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9804. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9805. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9806. if (rule.baseurl)
  9807. {
  9808. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9809. for (i = 0 ; i < len ; i++)
  9810. {
  9811. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9812. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9813. {
  9814. 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'])
  9815. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9816. }
  9817. else //baseurl in the form: example.com/xxx
  9818. {
  9819. xpath.push(m[0]);
  9820. urlregex.push(escapeRegex(m[0]) + '.');
  9821. }
  9822. }
  9823. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9824. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9825. }
  9826. return rule;
  9827. } //function makeCustomRule
  9828.  
  9829.  
  9830. /*
  9831. Takes a string containing custom link checking rules.
  9832. Returns an object with fields:
  9833. info - contains notes, warnings and errors found during parsing
  9834. rules - the array of custom rules
  9835. note, warning, error - number of each of them found during parsing
  9836. Format of the input string:
  9837. One command per line. Command format: @keyword parameter
  9838. Keywords:
  9839. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9840. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9841. These keywords can be multiple (any of them will work):
  9842. @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...)
  9843. @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+
  9844. @alivelink, @deadlink - example links
  9845. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9846. Lines starting with // and empty lines are ignored.
  9847. Invalid parameters generate errors and those lines are skipped.
  9848. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9849. Example:
  9850. @customrule filehost
  9851. @baseurl filehost.com/download/
  9852. @baseurl filehost2. com net /d?=
  9853. @alivematch id="download">
  9854. @deadmatch File not found
  9855. @deadmatch File deleted
  9856. */
  9857. function parseCustomRules(rulesStr)
  9858. {
  9859. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9860. function addInfo(type, msg, ln){
  9861. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9862. customRules[type]++;
  9863. }
  9864. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9865. if (!lines) return null;
  9866. lines.push('@#customrule _'); //to save the last rule
  9867. var m, linecount = lines.length;
  9868. var keyword, param, constr, rule, err;
  9869. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9870. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9871. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9872. var constraints = {
  9873. 'baseurl': {
  9874. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9875. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9876. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9877. 'alivematch': {
  9878. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9879. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9880. 'deadmatch': {
  9881. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9882. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9883. 'unavamatch': {
  9884. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9885. 'alivelink': {
  9886. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9887. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9888. 'deadlink': {
  9889. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9890. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9891. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9892. };
  9893. for (linenum = 0 ; linenum < linecount ; linenum++)
  9894. {
  9895. //capturing groups: 1 23 4 5 6
  9896. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9897. if (m)
  9898. {
  9899. if (m[1] || !m[2])
  9900. continue; // ignore empty lines and lines starting with //
  9901. keyword = (m[4] || m[2]).toLowerCase();
  9902. param = m[6];
  9903. if (keyword == 'customrule')
  9904. {
  9905. //save the current rule if all required fields are provided
  9906. if (rule)
  9907. {
  9908. err = false;
  9909. $.each(constraints, function(kw, constraint){
  9910. var l, constr = constraint[rule.type];
  9911. if (constr)
  9912. {
  9913. l = rule[kw] ? rule[kw].length : 0;
  9914. if (l < constr.min || l > constr.max)
  9915. {
  9916. 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);
  9917. err = true;
  9918. }
  9919. }
  9920. });
  9921. if (!err)
  9922. customRules.rules.push(makeCustomRule(rule));
  9923. }
  9924. //start a new rule
  9925. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9926. {
  9927. rule = {
  9928. 'enabled': !m[3],
  9929. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9930. 'name': param
  9931. };
  9932. }
  9933. else
  9934. {
  9935. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9936. rule = null;
  9937. }
  9938. }
  9939. else //good line format, but keyword other than customrule
  9940. {
  9941. if (!rule)
  9942. {
  9943. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9944. continue;
  9945. }
  9946. if (constraints[keyword])
  9947. {
  9948. constr = constraints[keyword][rule.type];
  9949. if (constr)
  9950. {
  9951. if (constr.paramRE && !constr.paramRE.test(param))
  9952. {
  9953. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9954. continue;
  9955. }
  9956. }
  9957. else
  9958. {
  9959. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9960. continue;
  9961. }
  9962. }
  9963. //line OK, save
  9964. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9965. }
  9966. } //if (m)
  9967. else
  9968. addInfo('warning', 'Unknown line format. Line skipped.');
  9969. } //for loop
  9970. return customRules;
  9971. } //function parseCustomRules
  9972.  
  9973.  
  9974. /* ********************UPDATES********************
  9975.  
  9976. March 30, 2017
  9977. Version 1.3.7.3
  9978. added uploads.to
  9979.  
  9980. March 20, 2017
  9981. Version 1.3.7.2
  9982. added black-label.pro to obsolete hosts
  9983.  
  9984. March 13, 2017
  9985. Version 1.3.7.1
  9986. fixed filescdn.com
  9987.  
  9988. February 27, 2017
  9989. Version 1.3.7.0
  9990. fixed openload.co
  9991.  
  9992. February 26, 2017
  9993. Version 1.3.6.9
  9994. fixed drive.google.com
  9995. fixed uptobox.com (by dodoxp)
  9996.  
  9997. February 25, 2017
  9998. Version 1.3.6.8
  9999. added uploading.com to obsolete hosts
  10000.  
  10001. February 24, 2017
  10002. Version 1.3.6.7
  10003. cloudzilla.to added to obsolete hosts
  10004.  
  10005. February 23, 2017
  10006. Version 1.3.6.6
  10007. uploadify.net
  10008.  
  10009. February 22, 2017
  10010. Version 1.3.6.5
  10011. fixed katfile.com
  10012.  
  10013. February 12, 2017
  10014. Version 1.3.6.3
  10015. added junocloud.me to obsolete hosts
  10016.  
  10017. January 12, 2017
  10018. Version 1.3.6.2
  10019. added share.az & upfile.mobi
  10020.  
  10021. January 07, 2017
  10022. Version 1.3.6.1
  10023. added ausfile.com
  10024.  
  10025. January 05, 2017
  10026. Version 1.3.6.0
  10027. removed uploadable.ch from obsolete hosts
  10028.  
  10029. January 04, 2017e
  10030.  
  10031. December 31, 2016
  10032. Version 1.3.5.8
  10033. disabled on pizzaonline.dominos
  10034.  
  10035. December 31, 2016
  10036. Version 1.3.5.7
  10037. added uploadable.ch to obsolete hosts
  10038.  
  10039. December 30, 2016
  10040. Version 1.3.5.6
  10041. restored kingfiles.net
  10042.  
  10043. December 14, 2016
  10044. Version 1.3.5.5
  10045. fixed some 1fichier links not checking (yurii)
  10046.  
  10047. December 01, 2016
  10048. Version 1.3.5.4
  10049. added temp-share.com & filesha.com
  10050.  
  10051. November 30, 2016
  10052. Version 1.3.5.3
  10053. fixed mexashare.com not detecting some dead links
  10054.  
  10055. November 29, 2016
  10056. Version 1.3.5.2
  10057. added black-label.pro (live links only)
  10058.  
  10059. November 27, 2016
  10060. Version 1.3.5.1
  10061. made changes to filefactory
  10062.  
  10063. November 23, 2016
  10064. Version 1.3.5.0
  10065. added megashares.com to obsolete hosts
  10066. fixed letitbit not showing as obsolete
  10067. added littlebyte.net
  10068.  
  10069. November 22, 2016
  10070. Version 1.3.4.9
  10071. added code for live links to rapidgator
  10072. added dailyfiles.net
  10073. added upfiles.net
  10074. added multiup.eu
  10075.  
  10076. November 17, 2016
  10077. Version 1.3.4.8
  10078. fixed filefactory, again
  10079.  
  10080. November 17, 2016
  10081. Version 1.3.4.7
  10082. fixed filefactory folders
  10083.  
  10084. November 15, 2016
  10085. Version 1.3.4.6
  10086. fixed filefactory
  10087.  
  10088. November 14, 2016
  10089. Version 1.3.4.5
  10090. fixed rapidgator
  10091. fixed filefactory folders
  10092.  
  10093.  
  10094. November 13, 2016
  10095. Version 1.3.4.4
  10096. fixed problem with drive.google.com
  10097. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10098.  
  10099. November 06, 2016
  10100. Version 1.3.4.3
  10101. added to obsolete hosts (by love buzz)
  10102. 4up.me
  10103. a nonfiles.com
  10104. axifile.com
  10105. creafile.net
  10106. demo.ovh.eu
  10107. filesin.com
  10108. file swap.com
  10109. gulfup.com
  10110. hexupload.com
  10111. hugefiles.net
  10112. jumbofiles.com
  10113. kingfiles.net
  10114. letitbit.net
  10115. lolabits.es
  10116. nowdownload.ch
  10117. openfile.ru
  10118. radicalshare.com
  10119. remixshare.com
  10120. storefiles.co
  10121. toutbox.fr
  10122. uploadbaz.com
  10123. uploadingit.com
  10124. verzend.be
  10125. vidplay.net
  10126. vidxden.com
  10127. xfileload.com
  10128.  
  10129. November 04, 2016
  10130. Version 1.3.4.2
  10131. added french code for rapidgator premium links
  10132. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10133.  
  10134. November 03, 2016
  10135. Version 1.3.4.1
  10136. added Portuguese code for rapidgator premium links
  10137. added suprafiles.net
  10138.  
  10139. November 02, 2016
  10140. Version 1.3.4.0
  10141. fixed depositfiles not detecting depositfiles.com/de links
  10142.  
  10143. October 27, 2016
  10144. Version 1.3.3.9
  10145. fixed uploaded.net not detecting some dead links
  10146.  
  10147. October 24, 2016
  10148. Version 1.3.3.8
  10149. added more french code for upload.af dead links
  10150.  
  10151. October 23, 2016
  10152. Version 1.3.3.7
  10153. added french for upload.af dead links
  10154.  
  10155. October 17, 2016
  10156. Version 1.3.3.6
  10157. fixed error (by Yurii)
  10158.  
  10159. October 17, 2016
  10160. Version 1.3.3.5
  10161. fixed file.al (by Yurii)
  10162.  
  10163. October 16, 2016
  10164. Version 1.3.3.4
  10165. test
  10166.  
  10167. October 11, 2016
  10168. Version 1.3.3.3
  10169. fixed subyshare.com not detecting some dead links
  10170. fixed mexashare.com
  10171. fixed pornfile.cz
  10172.  
  10173. October 10, 2016
  10174. Version 1.3.3.2
  10175. added fileflares.com
  10176. added erafile.com
  10177. added loop to subyshare.com & rockfile.eu
  10178.  
  10179. September 26, 2016
  10180. Version 1.3.3.1
  10181. added uploadocean.com
  10182.  
  10183. September 25, 2016
  10184. Version 1.3.3.0
  10185. added exbit.net
  10186.  
  10187. September 25, 2016
  10188. Version 1.3.2.9
  10189. fixed uptobox
  10190. fixed google (by kubbbie)
  10191.  
  10192. September 23, 2016
  10193. Version 1.3.2.8
  10194. added danish to rapidgator
  10195.  
  10196. September 22, 2016
  10197. Version 1.3.2.7
  10198. added wayupload.com
  10199.  
  10200. September 18, 2016
  10201. Version 1.3.2.6
  10202. added Portuguese language to rapidgator
  10203.  
  10204. September 15, 2016
  10205. Version 1.3.2.5
  10206. added languages to rapidgator
  10207. french
  10208. german
  10209. spanish
  10210. Italian
  10211. russian
  10212. polish
  10213. dutch
  10214. czech
  10215. chinese
  10216. japanese
  10217.  
  10218. September 14, 2016
  10219. Version 1.3.2.4
  10220. fixed spaceforfiles.com
  10221.  
  10222. September 09, 2016
  10223. Version 1.3.2.3
  10224. added bdupload.info
  10225. added german & deutsch language to workupload.com
  10226.  
  10227. September 08, 2016
  10228. Version 1.3.2.2
  10229. added...
  10230. storageserver.co.uk
  10231. cloud.mail.ru
  10232. fixed depositfiles
  10233.  
  10234. September 08, 2016
  10235. Version 1.3.2.1
  10236. added workupload.com
  10237.  
  10238. September 04, 2016
  10239. Version 1.3.2.0
  10240. made changes to euroshare.eu
  10241.  
  10242. September 03, 2016
  10243. Version 1.3.1.9
  10244. added usercloud.net
  10245. made changes to euroshare.eu
  10246.  
  10247. August 31, 2016
  10248. Version 1.3.1.8
  10249. fixed uptobox.com
  10250.  
  10251. August 30, 2016
  10252. Version 1.3.1.7
  10253. made changes to euroshare.eu
  10254.  
  10255. August 29, 2016
  10256. Version 1.3.1.6
  10257. made changes to data.hu
  10258.  
  10259. August 29, 2016
  10260. Version 1.3.1.5
  10261. fixed euroshare.eu not detecting dead links
  10262.  
  10263. August 23, 2016
  10264. Version 1.3.1.4
  10265. added ulozto.sk
  10266. added ulozto.cz
  10267.  
  10268. August 19, 2016
  10269. Version 1.3.1.3
  10270. fixed euroshare.eu
  10271. fixed 2share.com
  10272.  
  10273. August 17, 2016
  10274. Version 1.3.1.2
  10275. added french code for 1fichier
  10276.  
  10277. August 16, 2016
  10278. Version 1.3.1.1
  10279. fix for 1fichier folder links, by yurii
  10280.  
  10281. August 15, 2016
  10282. Version 1.3.1.0
  10283. another fix for 1fichier
  10284. added mystore.to
  10285.  
  10286. August 12, 2016
  10287. Version 1.3.0.9
  10288. fixed 1fichier
  10289.  
  10290. August 01, 2016
  10291. Version 1.3.0.8
  10292. fixed tezfiles.com not detecting some premium links
  10293.  
  10294. July 24, 2016
  10295. Version 1.3.0.7
  10296. added fileshareup.com
  10297.  
  10298. July 17, 2016
  10299. Version 1.3.0.6
  10300. added subyshare.com
  10301.  
  10302. july 10, 2016
  10303. Version 1.3.0.5
  10304. fixed ulozto.net
  10305.  
  10306. july 07, 2016
  10307. Version 1.3.0.4
  10308. fixed uloz.to
  10309.  
  10310. july 07, 2016
  10311. Version 1.3.0.3
  10312. added imagenetz.de
  10313.  
  10314. June 23, 2016
  10315. Version 1.3.0.2
  10316. excluded nexcess.net
  10317.  
  10318. June 20, 2016
  10319. Version 1.3.0.1
  10320. added daofile.com
  10321.  
  10322. June 16, 2016
  10323. Version 1.3.0.0
  10324. added mexashare.com
  10325.  
  10326. June 16, 2016
  10327. Version 1.2.9.9
  10328. added novafile.com
  10329. added uploadgig.com
  10330.  
  10331. June 15, 2016
  10332. Version 1.2.9.8
  10333. fixed upload.af
  10334.  
  10335. June 10, 2016
  10336. Version 1.2.9.7
  10337. added alltu.eu
  10338.  
  10339. June 09, 2016
  10340. Version 1.2.9.6
  10341. added code for french language to rapidgator.net & rg.to
  10342.  
  10343. June 04, 2016
  10344. Version 1.2.9.5
  10345. added upnito.sk
  10346.  
  10347. May 31, 2016
  10348. Version 1.2.9.4
  10349. fixed mega.co (by yurii)
  10350.  
  10351. May 31, 2016
  10352. Version 1.2.9.3
  10353. code cleanup
  10354.  
  10355. May 27, 2016
  10356. Version 1.2.9.2
  10357. added filesin.space
  10358.  
  10359. May 27, 2016
  10360. Version 1.2.9.1
  10361. added
  10362. filescdn.com
  10363. bankupload.com
  10364. katfile.com
  10365.  
  10366. May 18, 2016
  10367. Version 1.2.9.0
  10368. added warped.co to obsolete hosts
  10369.  
  10370. May 17, 2016
  10371. Version 1.2.8.9
  10372. fixed mega.nz
  10373.  
  10374. May 16, 2016
  10375. Version 1.2.8.8
  10376. added to obsolete hosts
  10377. fileband.com
  10378. filecloud.cc
  10379. filesmelt.com
  10380. goldbytez.com
  10381. hulkshare.com
  10382. idup.in
  10383. loudupload.net
  10384. muchshare.net
  10385. myupload.dk
  10386. nekaka.com
  10387. netkups.com
  10388. plunder.com
  10389. uploads.xxx
  10390. uploadspace.pl
  10391. xkeepfile.com
  10392.  
  10393. May 16, 2016
  10394. Version 1.2.8.7
  10395. added upnito.sk to obsolete hosts
  10396.  
  10397. May 15, 2016
  10398. Version 1.2.8.6
  10399. fixed uploading.site
  10400.  
  10401. May 15, 2016
  10402. Version 1.2.8.5
  10403. added oload.net
  10404.  
  10405. May 14, 2016
  10406. Version 1.2.8.4
  10407. added uploading.site
  10408.  
  10409. May 13, 2016
  10410. Version 1.2.8.3
  10411. added uploadc.ch
  10412. fixed vidspot.net
  10413.  
  10414. May 13, 2016
  10415. Version 1.2.8.2
  10416. added keepshare.net
  10417.  
  10418. May 11, 2016
  10419. Version 1.2.8.1
  10420. added uploadserv.com
  10421.  
  10422. May 09, 2016
  10423. Version 1.2.8.0
  10424. fixed upstore.net & upsto.re
  10425. added 24uploading.com to obsolete hosts
  10426.  
  10427. May 06, 2016
  10428. Version 1.2.7.9
  10429. added storagon.com to obsolete hosts
  10430. fixed worldbytez.com
  10431.  
  10432. May 02, 2016
  10433. Version 1.2.7.8
  10434. added myfiles.onl
  10435.  
  10436. april 28, 2016
  10437. Version 1.2.7.7
  10438. fixed bytewhale.com
  10439.  
  10440. april 27, 2016
  10441. Version 1.2.7.6
  10442. fixed rapidgator not detecting some premium links.
  10443.  
  10444. april 27, 2016
  10445. Version 1.2.7.5
  10446. added jeodrive.com
  10447.  
  10448. april 26, 2016
  10449. Version 1.2.7.4
  10450. added sanshare.com to obsolete hosts
  10451.  
  10452. april 26, 2016
  10453. Version 1.2.7.3
  10454. fixed vidspot.net
  10455.  
  10456. april 26, 2016
  10457. Version 1.2.7.2
  10458. added upx.nz
  10459.  
  10460. april 25, 2016
  10461. Version 1.2.7.1
  10462. added rapidfilehost.com to obsolete hosts
  10463. fixed bitster.cz
  10464.  
  10465. april 12, 2016
  10466. Version 1.2.7.0
  10467. fixed rapidgator not detecting some premium links.
  10468.  
  10469. april 11, 2016
  10470. Version 1.2.6.9
  10471. changed code for ncrypt.in
  10472.  
  10473. april 07, 2016
  10474. Version 1.2.6.8
  10475. added fileinz.com to obsolete hosts.
  10476.  
  10477. april 06, 2016
  10478. Version 1.2.6.7
  10479. added sharingmaster.com to obsolete hosts.
  10480.  
  10481. april 05, 2016
  10482. Version 1.2.6.6
  10483. added 4upfiles.com & elffiles.com to obsolete hosts
  10484.  
  10485. april 03, 2016
  10486. Version 1.2.6.5
  10487. updates to configuration page
  10488.  
  10489. March 31, 2016
  10490. Version 1.2.6.4
  10491. added code for tampermonkey 4.0 compatibility
  10492.  
  10493. March 31, 2016
  10494. Version 1.2.6.3
  10495. fixed uloz.to
  10496. fixed copy dead links to clipboard feature
  10497. added copy live links to clipboard feature.
  10498.  
  10499. March 24, 2016
  10500. Version 1.2.6.2
  10501. changed made to nitroflare. (yurri)
  10502.  
  10503. March 20, 2016
  10504. Version 1.2.6.1
  10505. fixed rapidgator
  10506. fixed dfiles
  10507. fixed dl.free.fr
  10508. fixed nitroflare.com (Fixed by Yurii)
  10509.  
  10510. March 15, 2016
  10511. Version 1.2.6.0
  10512. fixed rapidgator.net
  10513. fixed uploaded.net
  10514.  
  10515. March 13, 2016
  10516. Version 1.2.5.9
  10517. added
  10518. uploads.ws
  10519. upl.me
  10520. clicknupload.link
  10521. added fileover.net to obsolete hosts
  10522. fixed kingfiles.net
  10523.  
  10524. March 09, 2016
  10525. Version 1.2.5.8
  10526. added kingfiles.net to obsolete hosts
  10527. fixed 4upld.com/expressleech.com
  10528.  
  10529. March 08, 2016
  10530. Version 1.2.5.7
  10531. fixed solidfiles.com
  10532.  
  10533. March 01, 2016
  10534. Version 1.2.5.6
  10535. added filespace.com
  10536. fixed depositfiles (by yurii)
  10537.  
  10538. February 29, 2016
  10539. Version 1.2.5.5
  10540. made change to keep2share
  10541.  
  10542. February 28, 2016
  10543. Version 1.2.5.4
  10544. removed down4files.com from obsolete hosts.
  10545.  
  10546. February 26, 2016
  10547. Version 1.2.5.3
  10548. fixed userscloud.com
  10549.  
  10550. February 24, 2016
  10551. Version 1.2.5.2
  10552. added yandex.com
  10553. fixed datafile.com
  10554.  
  10555. February 22, 2016
  10556. Version 1.2.5.1
  10557. added bigfile.to
  10558.  
  10559. February 20, 2016
  10560. Version 1.2.5.0
  10561. added abelhas.pt
  10562.  
  10563. February 18, 2016
  10564. Version 1.2.4.9
  10565. made change to uptobox
  10566.  
  10567. February 17, 2016
  10568. Version 1.2.4.8
  10569. fixed yadi.sk
  10570.  
  10571. February 16, 2016
  10572. Version 1.2.4.7
  10573. fixed datafile.com
  10574. fixed filecad.com
  10575. added filecore.co & filestorm.to to obsolete hosts
  10576. added upload.af, filedwon.in & uplod.it
  10577.  
  10578. February 15, 2016
  10579. Version 1.2.4.6
  10580. fixed kumpulbagi.id
  10581. added sangfile.com to obsolete hosts
  10582.  
  10583. February 14, 2016
  10584. Version 1.2.4.5
  10585. fixed yandex.ru
  10586.  
  10587. February 13, 2016
  10588. Version 1.2.4.4
  10589. added lunaticfiles.com.
  10590.  
  10591. February 09, 2016
  10592. Version 1.2.4.3
  10593. added file.up09.com.
  10594.  
  10595. February 09, 2016
  10596. Version 1.2.4.2
  10597. tezfiles.com premium links now detected.
  10598.  
  10599. February 09, 2016
  10600. Version 1.2.4.1
  10601. added seenupload.com to obsolete hosts
  10602. fixed 180upload.com to show obsolete
  10603.  
  10604. February 08, 2016
  10605. Version 1.2.4.0
  10606. added tusfiles.com
  10607. added filesupload.org
  10608. added gigasize.com
  10609. added filecad.com
  10610. fixed filecloud.io
  10611. added uploadnet.co to obsolete hosts
  10612.  
  10613. February 07,2016
  10614. Vession 1.2.3.9
  10615. fixed depositfiles.com folders
  10616. fixed turbobit.net folders
  10617.  
  10618. February 06, 2016
  10619. Version 1.2.3.8
  10620. fixed 1fichier false dead links
  10621.  
  10622. February 04, 2106
  10623. Version 1.2.3.7
  10624. added geupload and lenfile to obsolete hosts
  10625. fixed kyc.pm/depfile
  10626.  
  10627. February 03, 2016
  10628. Version 1.2.3.6
  10629. fixed some nitroflare.com dead links not being detected
  10630.  
  10631. February 01, 2016
  10632. Version 1.2.3.5
  10633. script moved to new site
  10634.  
  10635. January 20, 2016
  10636. Version 1.2.3.3
  10637. fixed some rapidgator premium link not being detected
  10638.  
  10639. January 17, 2016
  10640. Version 1.2.3.2
  10641. added bytewhale.com
  10642. added rapidrar.com
  10643.  
  10644. Version 1.2.3.1
  10645. added 180upload.com to obsolete hosts
  10646. fixed hellspy.com
  10647. added dinoshare.cz,
  10648.  
  10649. January 13, 2016
  10650. Version 1.2.3.0
  10651. added rapidu.net
  10652. added uploadboy.me
  10653. fixed euroshare.eu
  10654.  
  10655. January 12, 2016
  10656. Version 1.2.2.9
  10657. added kb.simple-aja.info
  10658.  
  10659. January 10, 2016
  10660. Version 1.2.2.8
  10661. made changes to fastshare.cz
  10662.  
  10663. January 10, 2016
  10664. Version 1.2.2.7
  10665. fixed uptobox.com
  10666.  
  10667. January 09, 2016
  10668. Version 1.2.2.6
  10669. datoteke.com now detects premium links
  10670. fixed turbobit.net
  10671. fixed uptobox.com
  10672. added pornfile.cz
  10673. added pornoid.cz
  10674. added file-share.top
  10675. added bitster.cz
  10676.  
  10677. January 05, 2016
  10678. Version 1.2.2.5
  10679. fixed salefiles.com
  10680. fixed ozofile.com
  10681.  
  10682. January 04, 2016
  10683. Version 1.2.2.4
  10684. added sharehost.eu
  10685.  
  10686. December 30, 2015
  10687. Version 1.2.2.3
  10688. added tezfiles.com
  10689.  
  10690. December 28, 2015
  10691. Version 1.2.2.2
  10692. fixed some k2s & fboom dead link not getting detected
  10693. fixed some k2s premium links not getting detected.
  10694. fixed ssh.yt not detecting some dead links
  10695. fixed ncrypt.in dead links showing yellow
  10696.  
  10697. December 20, 2015
  10698. Version 1.2.2.0
  10699. added datoteke.com
  10700.  
  10701. December 19, 2015
  10702. Version 1.2.1.9
  10703. added secured.in & linksave.in to obsolete hosts
  10704.  
  10705. December 17, 2015
  10706. Version 1.2.1.8
  10707. added german for dead links to secureupload.eu.
  10708.  
  10709. December 17, 2015
  10710. Version 1.2.1.7
  10711. added french for dead links to secureupload.eu.
  10712. fixed problem with tooltip display.
  10713.  
  10714. December 13, 2015
  10715. Version 1.2.1.6
  10716. added netload.me & fileparadox.in to obsolete hosts
  10717.  
  10718. December 09, 2015
  10719. Version 1.2.1.5
  10720. added rapidsonic.com & fileparadox.com to obsolete hosts
  10721.  
  10722. December 04, 2015
  10723. Version 1.2.1.4
  10724. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10725.  
  10726. December 03, 2015
  10727. Version 1.2.1.3
  10728. added dailyuploads.net
  10729.  
  10730. December 02, 2015
  10731. Version 1.2.1.2
  10732. fixed hitfile.net
  10733. fixed kingfiles.net
  10734.  
  10735. November 30, 2015
  10736. Version 1.2.1.1
  10737. added filepost.com to obsolete hosts
  10738. added devilshare.net
  10739.  
  10740. November 28, 2015
  10741. Version 1.2.1.0
  10742. fixed datafile.com not detecting some premium links.
  10743.  
  10744. November 25, 2015
  10745. Version 1.2.0.9
  10746. fixed filejoker.net
  10747. fixed toutbox.fr
  10748. fixed nowvideo.sx
  10749.  
  10750. November 24, 2015
  10751. Version 1.2.0.8
  10752. fixed openload.io
  10753.  
  10754. November 20, 2015
  10755. Version 1.2.0.7
  10756. //added file.al
  10757. //fixed nitroflare.com false live links
  10758. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10759.  
  10760. November 17, 2015
  10761. Version 1.2.0.6
  10762. added clicknupload.me
  10763.  
  10764. November 09, 2015
  10765. Version 1.2.0.5
  10766. fixed some depfile premium links not being detected
  10767.  
  10768. November 08, 2015
  10769. Version 1.2.0.4
  10770. fixed some rapidgator premium links not being detected
  10771. fixed doraupload.com
  10772.  
  10773. November 08, 2015
  10774. Version 1.2.0.3
  10775. fixed uploaded false premium
  10776.  
  10777. November 07, 2015
  10778. Version 1.2.0.2
  10779. fixed redbunker.net
  10780.  
  10781. November 05, 2015
  10782. Version 1.2.0.1
  10783. fixed app.box.com
  10784. added multiup.org (does not detect all dead links)
  10785.  
  10786. November 01, 2015
  10787. Version 1.2.0.0
  10788. added more languages to rockfile and 1fichier
  10789.  
  10790. November 01, 2015
  10791. Version 1.1.9.9
  10792. fixed rockfile.eu
  10793. changed 1fichier code (Thanks yurri)
  10794. added to obsolete hosts... (Thanks Love Buzz)
  10795. burnupload.com
  10796. cramit.in
  10797. cramitin.net
  10798. down4files.com
  10799. edoc.com
  10800. jumbofile.net
  10801. krotix.net
  10802. migahost.com
  10803. movreel.com
  10804. netload.in
  10805. newfileland.com
  10806. quickshare.cz
  10807.  
  10808. October 30, 2015
  10809. Version 1.1.9.8
  10810. added alfafile.net
  10811.  
  10812. October 26, 2015
  10813. Version 1.1.9.7
  10814. changed datafile.com and uplea.com
  10815. added lolabits.es
  10816.  
  10817. October 26, 2015
  10818. Version 1.1.9.6
  10819. added toutbox.fr
  10820.  
  10821. October 25, 2015
  10822. Version 1.1.9.5
  10823. fixed counter error
  10824.  
  10825. October 25, 2015
  10826. Version 1.1.9.4
  10827. changed uptobox.com code
  10828.  
  10829. October 21, 2015
  10830. Version 1.1.9.3
  10831. fixed uptobox.com
  10832.  
  10833. October 20, 2015
  10834. Version 1.1.9.2
  10835. bug fixes and new method of detecting premium links.
  10836.  
  10837. October 15, 2015
  10838. Version 1.1.9.1
  10839. fixed hugefiles.net false premium
  10840. changed uptobox.com code
  10841.  
  10842. October 06, 2015
  10843. Version 1.1.9.0
  10844. fixed filefactory
  10845. fixed rockfile false premium
  10846. keep2share & fileboom now detect premium links (fixed by yurii)
  10847.  
  10848. October 01, 2015
  10849. Version 1.1.8.9
  10850. fixed free.fr false premium
  10851. fixed thevideo.me false premium
  10852.  
  10853. September 28, 2015
  10854. Version 1.1.8.8
  10855. added uplea.com and openload.co
  10856.  
  10857. September 27, 2015
  10858. Version 1.1.8.7
  10859. fixed fileparadox.in false premium
  10860. added kingfiles.net to obsolete hosts
  10861. removed inafile.com from obsolete hosts
  10862.  
  10863. September 22, 2015
  10864. Version 1.1.8.6
  10865. fixed nitroflare false premium
  10866.  
  10867. September 22, 2015
  10868. Version 1.1.8.5
  10869. fixed userscloud.com false premium
  10870. fixed usersfiles.com false premium
  10871. changed arabloads.com to arabloads.net
  10872. changed nowdownloads.eu to nowdownloads.ch
  10873.  
  10874. September 21, 2015
  10875. Version 1.1.8.3
  10876. added ryushare.com to obsolete hosts.
  10877.  
  10878. September 20, 2015
  10879. Version 1.1.8.2
  10880. fixed nitroflare not showing premium links
  10881. added down4files.com,storfiles.co,filehost.pw
  10882.  
  10883. September 16, 2015
  10884. Version 1.1.8.1
  10885. added crisshare.com to obsolete hosts
  10886. fixed filemoney.com false premium
  10887. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10888.  
  10889. September 14, 2015
  10890. Version 1.1.8.0
  10891. added to obsolete hosts...
  10892. sharebeast.com
  10893. tufiles.ru
  10894.  
  10895. September 12, 2015
  10896. Version 1.1.7.9
  10897. fixed rghost.net false premium
  10898. fixed unlimitzone.com false premium
  10899. fixed turbobit.net false live link
  10900.  
  10901. September 11, 2015
  10902. Version 1.1.7.8
  10903. Fixed filefactory.com false premium.
  10904.  
  10905. September 07, 2015
  10906. Version 1.1.7.7
  10907. fixed "depositfiles.com/en/files" links not checking
  10908.  
  10909. September 06, 2015
  10910. Version 1.1.7.6
  10911. added French code for 1fichier
  10912.  
  10913. August 29, 2015
  10914. Version 1.1.7.5
  10915. fixed depositfiles
  10916. fixed mega.co.nz/mega.nz
  10917. (fixed by yurii)
  10918.  
  10919. August 23, 2015
  10920. Version 1.1.7.4
  10921. Fixed uploadrocket (by yurii)
  10922.  
  10923. August 20, 2015
  10924. Version 1.1.7.3
  10925. fixed depfile.com false premium
  10926. fixed 1fichier false premium
  10927. fixed rapidgator false premium
  10928.  
  10929. August 08, 2015
  10930. Version 1.1.7.1
  10931. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10932.  
  10933. August 07, 2015
  10934. Version 1.1.7.0
  10935. fixed...
  10936. streamin.to
  10937. thefile.me
  10938. vidzi.tv
  10939. added...
  10940. filenuke.com
  10941. vidto.me
  10942. vidspot.net
  10943. sharesix.com
  10944. sharesix.net
  10945. movpod.in,
  10946.  
  10947. August 07, 2015
  10948. Version 1.1.6.9 added...
  10949. thefile.me
  10950. vidzi.tv
  10951. videoweed.es
  10952. vodlocker.com
  10953. nowvideo.sx
  10954. cloudtime.to
  10955. thevideo.me
  10956. vidbull.com
  10957. allmyvideos.net
  10958. novamov.com
  10959. filehoot.com
  10960. stagevu.com
  10961. gorillavid.in
  10962. streamin.to
  10963.  
  10964. August 02, 2015
  10965. Version 1.1.6.8
  10966. added cloudshares.net
  10967.  
  10968. August 01, 2015
  10969. Version 1.1.6.7
  10970. fixed depfile redirectors false premium
  10971.  
  10972. July 31, 2015
  10973. Version 1.1.6.6
  10974. fixed depfile.com false premium
  10975. */