W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.4
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.7.4 April 05, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "oload.tv",
  41. "uploads.to",
  42. "uploadify.net",
  43. "temp-share.com",
  44. "ausfile.com",
  45. "filesha.com",
  46. "upfiles.net",
  47. "dailyfiles.net",
  48. "upfile.mobi",
  49. "share.az",
  50. "uploadocean.com",
  51. "drive.google.com",
  52. "suprafiles.net",
  53. "fileflares.com",
  54. "erafile.com",
  55. "mystore.to",
  56. "littlebyte.net",
  57. "exbit.net",
  58. "bdupload.info",
  59. "workupload.com",
  60. "wayupload.com",
  61. "cloud.mail.ru",
  62. "fileshareup.com",
  63. "usercloud.net",
  64. "daofile.com",
  65. "subyshare.com",
  66. "mexashare.com",
  67. "uploadgig.com",
  68. "upload.af",
  69. "alltu.eu",
  70. "filesin.space",
  71. "imagenetz.de",
  72. "katfile.com",
  73. "bankupload.com",
  74. "keepshare.net",
  75. "filescdn.com",
  76. "myfiles.onl",
  77. "uploadserv.com",
  78. "uploading.site",
  79. "filedwon.info",
  80. "jeodrive.com",
  81. "ncrypt.in",
  82. "yandex.com",
  83. "down4files.com",
  84. 'filespace.com',
  85. "uplod.it",
  86. "rapidu.net",
  87. "uploads.ws|upl.me",
  88. "file.up09.com",
  89. "lunaticfiles.com",
  90. "filecad.com",
  91. "filesupload.org",
  92. "bytewhale.com",
  93. "rapidrar.com",
  94. "download.cz.hellshare.com",
  95. "pornfile.cz",
  96. "dinoshare.cz",
  97. "kb.simple-aja.info",
  98. "bitster.cz",
  99. "file-share.top",
  100. "pornoid.cz",
  101. "dailyuploads.net",
  102. "sharehost.eu",
  103. "tezfiles.com",
  104. "devilshare.net",
  105. "alfafile.net",
  106. "openload.co",
  107. "multiup.org",
  108. "uplea.com",
  109. "filenuke.com",
  110. "file.al|1f.al",
  111. "vidto.me",
  112. "filehost.pw",
  113. "turbobit.ru",
  114. "sharesix.com|sharesix.net",
  115. "movpod.in",
  116. "thefile.me",
  117. "datoteke.com",
  118. "vidzi.tv",
  119. "videoweed.es",
  120. "vodlocker.com",
  121. "nowvideo.sx",
  122. "cloudtime.to",
  123. "thevideo.me",
  124. "vidbull.com",
  125. "novamov.com",
  126. "filehoot.com",
  127. "stagevu.com",
  128. "gorillavid.in",
  129. "streamin.to",
  130. "4upld.com|expressleech.com",
  131. "cloudshares.net",
  132. "swoopshare.com",
  133. "2shared.com",
  134. "fileupload.pw",
  135. "zxcfiles.com",
  136. "up07.net",
  137. "4shared.com",
  138. "adrive.com",
  139. "aisfile.com",
  140. "bezvadata.cz",
  141. "usersfiles.com",
  142. "pan.baidu.com",
  143. "datei.to",
  144. "daten-hoster.de|filehosting.org|xtraupload.de",
  145. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  146. "divshare.com",
  147. "easy-share.com|crocko.com",
  148. "easybytez.com",
  149. "edisk.cz",
  150. "euroshare.eu",
  151. "file-upload.net",
  152. "yadi.sk",
  153. "wizupload.com",
  154. "fastshare.cz",
  155. "filefactory.com",
  156. "share.vnn.vn",
  157. "yunpan.cn",
  158. "tropicshare.com",
  159. "inclouddrive.com",
  160. "fileflyer.com",
  161. "filerio.com|filekeen.com",
  162. "up.4share.vn",
  163. "upfile.vn",
  164. "datafilehost.com",
  165. "worldbytez.com",
  166. "files.mail.ru",
  167. "filesflash.com",
  168. "box.com",
  169. "uptobox.com",
  170. "box.net",
  171. "sdilej.cz",
  172. "ex-load.com",
  173. "filesmonster.com",
  174. "filestore.to",
  175. "hulkload.com",
  176. "filedropper.com",
  177. "free-uploading.com",
  178. "gamefront.com|filefront.com",
  179. "gettyfile.ru",
  180. "gigapeta.com",
  181. "gigasize.com",
  182. "hellshare.com",
  183. "hellspy.com",
  184. "hitfile.net",
  185. "hostuje.net",
  186. "freefilehosting.net",
  187. "free.fr",
  188. "hyperfileshare.com",
  189. "filecloud.io|ifile.it",
  190. "ifolder.ru",
  191. "uploadrocket.net",
  192. "lafiles.com",
  193. "leteckaposta.cz|sharegadget.com",
  194. "load.to",
  195. "mediafire.com",
  196. "megafileupload.com",
  197. "movshare.net",
  198. "narod.ru|narod.yandex.ru",
  199. "fboom.me|fileboom.me",
  200. "partage-facile.com",
  201. "sharerapid.cz",
  202. "exclusiveloader.com",
  203. "acefile.net",
  204. "queenshare.com",
  205. "rapidgator.net",
  206. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  207. "oboom.com",
  208. "filepi.com",
  209. "neodrive.co",
  210. "rarefile.net",
  211. "rayfile.com",
  212. "rghost.net",
  213. "sendmyway.com",
  214. "clicknupload.com",
  215. "clicknupload.me",
  216. "clicknupload.link",
  217. "uploadable.ch",
  218. "sharemods.com",
  219. "hostr.co",
  220. "sendspace.com",
  221. "sharecash.org",
  222. "share-links.biz",
  223. "share-online.biz|egoshare.com",
  224. "megarapid.cz",
  225. "shareflare.net",
  226. "solidfiles.com",
  227. "led.wf",
  228. "lan.wf",
  229. "adlink.wf",
  230. "click.tf",
  231. "kyc.pm",
  232. "ssh.tf",
  233. "ssh.yt",
  234. "yep.pm",
  235. "stahovanizasms.cz",
  236. "turbobit.net",
  237. "tikfile.com",
  238. "cloudsix.me",
  239. "turboupload.com",
  240. "uloz.to",
  241. "ulozto.net",
  242. "ulozto.sk",
  243. "ulozto.cz",
  244. "ulozisko.sk",
  245. "uloziste.com",
  246. "unibytes.com",
  247. "upload-il.net|przeslij.net",
  248. "uploaded.to|uploaded.net|ul.to",
  249. "chayfile.com",
  250. "rockfile.eu",
  251. "usaupload.net",
  252. "veehd.com",
  253. "videobb.com",
  254. "vip-file.com",
  255. "webshare.cz",
  256. "xdisk.cz",
  257. "yunfile.com|filemarkets.com",
  258. "ziddu.com",
  259. "zippyshare.com",
  260. "rodfile.com",
  261. "wikiupload.com",
  262. "uploadstube.de",
  263. "faststore.org",
  264. "flyfiles.net",
  265. "prefiles.com",
  266. "hackerbox.org",
  267. "amonshare.com",
  268. "data.hu",
  269. "brupload.net",
  270. "kingfiles.net",
  271. "userscloud.com",
  272. "kumpulbagi.com|kumpulbagi.id",
  273. "uppit.com|up.ht|upx.nz",
  274. "downloadani.me",
  275. "filesabc.com",
  276. "extmatrix.com",
  277. "sendfiles.nl",
  278. "yourfilestore.com",
  279. "filebig.net",
  280. "file4safe.com",
  281. "tusfiles.net|tusfiles.com",
  282. "filemac.com",
  283. "ozofiles.com",
  284. "nosupload.com",
  285. "gboxes.com",
  286. "myvdrive.com|fileserving.com",
  287. "novafile.com",
  288. "longfiles.com",
  289. "bitupload.com",
  290. "indowebster.com",
  291. "superload.cz",
  292. "mafiastorage.com",
  293. "hellupload.com",
  294. "stiahni.si",
  295. "sendspace.pl",
  296. "fastshare.org",
  297. "filejoker.net",
  298. "filestore.com.ua",
  299. "rapidfileshare.net",
  300. "stiahnito.sk",
  301. "rusfolder.com",
  302. "catshare.net",
  303. "mixturecloud.com",
  304. "filedais.com",
  305. // "imdb.com",
  306. "nitroflare.com",
  307. "akafile.com",
  308. "up.top4top.net",
  309. "upload.ee",
  310. "shareplace.org",
  311. "uploadc.com",
  312. "uploadc.ch",
  313. "exoshare.com",
  314. "borncash.org",
  315. "2downloadz.com",
  316. "mightyupload.com",
  317. "anysend.com",
  318. "datafile.com",
  319. "upstore.net",
  320. "upsto.re",
  321. "speedy.sh",
  322. "ge.tt",
  323. "filesflash.net",
  324. "salefiles.com",
  325. "datoid.cz",
  326. "cloudstor.es",
  327. "streamfile.com",
  328. "eyesfile.ca",
  329. "filemoney.com",
  330. "uploadboy.com",
  331. "uploadboy.me",
  332. "speedshare.eu",
  333. "google.com|google.be",
  334. "unlimitzone.com",
  335. "rioupload.com",
  336. "rg.to",
  337. "jumbofiles.org",
  338. "fshare.vn",
  339. "spaceforfiles.com",
  340. "up.media1fire.com",
  341. "depfile.com",
  342. "go4up.com",
  343. "dropbox.com",
  344. "redbunker.net",
  345. "divxpress.com",
  346. "mega.nz|mega.co.nz",
  347. "storageserver.co.uk",
  348. "anafile.com",
  349. "bigfile.to",
  350. "arabloads.net",
  351. "sharerepo.com",
  352. "sfshare.se",
  353. "files.fm",
  354. "koofile.com",
  355. "doraupload.com",
  356. "openload.io",
  357. "upnito.sk",
  358. "oload.net",
  359. ];
  360.  
  361. try
  362. {
  363. //iframes excluded
  364. if (window.top != window.self)
  365. {
  366. return;
  367. }
  368. //allHostNames sites excluded
  369. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  370. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  371. ")"))
  372. {
  373. return;
  374. }
  375. }
  376. catch (e)
  377. {
  378. return;
  379. }
  380.  
  381. //separate alternative domains with "|" char (first name is considered being main)
  382. var allContainerNames = [
  383. "adf.ly",
  384. "linkcrypt.ws",
  385. "linksafe.me",
  386. // "linksave.in",
  387. "linkto.net",
  388. "madlink.sk",
  389. "multiload.cz",
  390. "mirrorcreator.com",
  391. // "ncrypt.in",
  392. "redi.re",
  393. "relink.us",
  394. "safelinking.net",
  395. "theloo.katt.it",
  396. "bit.ly",
  397.  
  398. ];
  399.  
  400. //separate alternative domains with "|" char (first name is considered being main)
  401. var allObsoleteNames = [
  402. "black-label.pro",
  403. "4up.me",
  404. "anonfiles.com",
  405. "axifile.com",
  406. "creafile.net",
  407. "cloudzilla.to",
  408. "demo.ovh.eu",
  409. "filesin.com",
  410. "fileswap.com",
  411. "junocloud.me",
  412. "gulfup.com",
  413. "hexupload.com",
  414. "secureupload.eu",
  415. "hugefiles.net",
  416. "jumbofiles.com",
  417. "letitbit.net",
  418. "lolabits.es",
  419. "nowdownload.ch",
  420. "openfile.ru",
  421. "radicalshare.com",
  422. "remixshare.com",
  423. "storefiles.co",
  424. "toutbox.fr",
  425. "uploadbaz.com",
  426. "uploadingit.com",
  427. "uploading.com",
  428. "verzend.be",
  429. "vidplay.net",
  430. "vidxden.com",
  431. "xfileload.com",
  432. "warped.co",
  433. "xkeepfile.com",
  434. "abelhas.pt",
  435. "uploadspace.pl",
  436. "allmyvideos.net",
  437. "uploads.xxx",
  438. "netkups.com",
  439. "nekaka.com",
  440. "vidspot.net",
  441. "myupload.dk",
  442. "muchshare.net",
  443. "loudupload.net",
  444. "idup.in",
  445. "hulkshare.com",
  446. "goldbytez.com",
  447. "filesmelt.com",
  448. "fileband.com",
  449. "uloz.cz",
  450. "secured.in",
  451. "rapidfilehost.com",
  452. "fileover.net",
  453. "fileinz.com",
  454. "linksave.in",
  455. "seenupload.com",
  456. "sangfile.com",
  457. "filepost.com|fp.io",
  458. "sharingmaster.com ",
  459. "24uploading.com",
  460. "storagon.com",
  461. "sanshare.com",
  462. "filestorm.to",
  463. "uploadnet.co",
  464. "180upload.com",
  465. "rapidsonic.com",
  466. "fileparadox.com",
  467. "4upfiles.com",
  468. "geupload.com",
  469. "lenfile.com",
  470. "fileparadox.in",
  471. "uploadhero.co",
  472. "uploadhero.com",
  473. "newfileland.com",
  474. "quickshare.cz",
  475. "elffiles.com",
  476. "netload.in",
  477. "netload.me",
  478. "movreel.com",
  479. "migahost.com",
  480. "krotix.net",
  481. "jumbofile.net",
  482. "edoc.com",
  483. "cramit.in|cramitin.net",
  484. "freakshare.com",
  485. "burnupload.com|burnupload.ihiphop.com",
  486. "freakshare.net",
  487. "daj.to",
  488. "bl.st",
  489. "2drive.net",
  490. "ryushare.com",
  491. "crisshare.com",
  492. "tufiles.ru",
  493. "uncapped-downloads.com",
  494. "sockshare.com",
  495. "ddlstorage.com",
  496. "dataport.cz",
  497. "dizzcloud.com",
  498. "sharebeast.com",
  499. "stahovadlo.cz",
  500. "shared.com",
  501. "storage.to",
  502. "putlocker.com",
  503. "lumfile.com",
  504. "lumfile.se",
  505. "lumfile.eu",
  506. "firedrive.com",
  507. "fileshare.in.ua",
  508. "filecore.co.nz",
  509. "filecore.co",
  510. "iskladka.cz",
  511. "file-rack.com",
  512. "fast-load.net",
  513. "subory.sk",
  514. "bigandfree.com",
  515. "fileop.com",
  516. "mujsoubor.cz",
  517. "sendfile.to",
  518. "superfastfile.com",
  519. "quickyshare.com",
  520. "duckload.com",
  521. "uploadstore.net",
  522. "meinupload.com",
  523. "dualshare.com",
  524. "2xupload.to|2xupload.de",
  525. "oxedion.com",
  526. "uploadline.com",
  527. "dll.bz",
  528. "movieshare.in",
  529. "milledrive.com",
  530. "quickupload.net",
  531. "safelink.in",
  532. "metadivx.com",
  533. "divxlink.com",
  534. "uploadrack.com",
  535. "teradepot.com",
  536. "dataup.to",
  537. "upit.to",
  538. "driveway.com",
  539. "eatlime.com",
  540. "a2zuploads.com",
  541. "friendlyfiles.net",
  542. "flyfile.us",
  543. "speedyshare.com",
  544. "uploadspace.eu",
  545. "keepfile.com",
  546. "piggyshare.com",
  547. "uplly.com",
  548. "filecrown.com",
  549. "6giga.com",
  550. "uploadjockey.com",
  551. "bluehost.to",
  552. "filegu.ru",
  553. "filebase.to",
  554. "up-file.com",
  555. "xvideos.com",
  556. "ufox.com",
  557. "filebling.com",
  558. "loaded.it",
  559. "uploadcell.com",
  560. "uploadshare.cz",
  561. "mangoshare.com",
  562. "filestab.com",
  563. "crazyupload.com",
  564. "gaiafile.com",
  565. "sharejunky.com",
  566. "fileho.com",
  567. "bigandfree.com",
  568. "bigfile.in",
  569. "bigshare.eu",
  570. "dahosting.org",
  571. "digisofts.net",
  572. "file4save.com",
  573. "filechip.com",
  574. "filescloud.com",
  575. "saveqube.com",
  576. "turboshare.de",
  577. "z-upload.com",
  578. "youshare.com",
  579. "jiffyupload.com",
  580. "gigeshare.com",
  581. "datenklo.net",
  582. "upload.dj",
  583. "loadfiles.in",
  584. "upit.to",
  585. "dsfileshare.com",
  586. "sharesimple.net",
  587. "4files.net",
  588. "wooupload.com",
  589. "odsiebie.com",
  590. "filenavi.com",
  591. "3oof.com",
  592. "meshwaar.com",
  593. "maxupload.com",
  594. "share.cx",
  595. "atserver.eu",
  596. "hotfiles.ws",
  597. "esnips.com",
  598. "tuxfile.com",
  599. "file2upload.net",
  600. "filebling.com",
  601. "turboshare.com",
  602. "rarhost.com",
  603. "isharehd.com",
  604. "i741.com",
  605. "dataup.de",
  606. "fofly.com",
  607. "shareonall.com",
  608. "sexuploader.com",
  609. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  610. "uploadhyper.com",
  611. "filespawn.com",
  612. "caizzii.com",
  613. "volnyweb.cz",
  614. "usershare.net",
  615. "filescash.net",
  616. "metahyper.com",
  617. "combozip.com",
  618. "x7.to",
  619. "uploadbox.com",
  620. "enterupload.com|flyupload.com",
  621. "filepoint.de",
  622. "mystream.to",
  623. "x-fs.com",
  624. "shareator.com",
  625. "srapid.eu",
  626. "sosame.cz",
  627. "filesdump.com",
  628. "2-klicks.de",
  629. "uploking.com",
  630. "silofiles.com",
  631. "upfile.in",
  632. "filehook.com",
  633. "uploadking.com",
  634. "uploadhere.com",
  635. "kewlshare.com",
  636. "rapidable.com",
  637. "uploadwaste.com",
  638. "filemup.com",
  639. "filesonic.com|sharingmatrix.com",
  640. "fileserve.com",
  641. "wupload.com",
  642. "skipfile.com",
  643. "smartuploader.com",
  644. "dualshare.com",
  645. "storeandserve.com",
  646. "mountfile.com",
  647. "transitfiles.com",
  648. "uploadstation.com",
  649. "filejungle.com",
  650. "shareshared.com",
  651. "quickyshare.com",
  652. "save.am",
  653. "petandrive.com",
  654. "file2box.com",
  655. "flyshare.cz",
  656. "yabadaba.ru",
  657. "cloudcache.cc",
  658. "yourfilehost.com",
  659. "jakfile.com",
  660. "kickload.com",
  661. "pyramidfiles.com",
  662. "refile.net",
  663. "zshare.net",
  664. "ddlani.me|ddlanime.com",
  665. "ftp2share.com",
  666. "fooget.com",
  667. "rapidhide.com",
  668. "gotupload.com",
  669. "mooload.com",
  670. "zupload.com",
  671. "mytempdir.com",
  672. "onionshare.com",
  673. "stahnu.to",
  674. "oron.com",
  675. "badongo.com",
  676. "filereactor.com",
  677. "filegaze.com",
  678. "4bytez.com",
  679. "1hostclick.com",
  680. "anonstream.com",
  681. "batshare.com",
  682. "bitroad.net",
  683. "brontofile.com",
  684. "cloudnxt.net",
  685. "cloudnator.com|shragle.com",
  686. "filesfrog.net",
  687. "coolshare.cz",
  688. "dotavi.com",
  689. "ezyfile.net",
  690. "file-bit.net",
  691. "filecosy.com",
  692. "fileduct.com|fileduct.net",
  693. "filefat.com",
  694. "filelaser.com",
  695. "filemashine.com",
  696. "fileserver.cc",
  697. "filetechnology.com",
  698. "fireuploads.net",
  699. "gigfiles.net",
  700. "holderfile.com",
  701. "ihostia.com",
  702. "k2files.com",
  703. "mojofile.com",
  704. "ovfile.com",
  705. "qshare.com",
  706. "shafiles.me",
  707. "sharefilehost.com",
  708. "shareupload.com",
  709. "stahuj.to",
  710. "ugotfile.com",
  711. "uploadboost.com",
  712. "fileom.com",
  713. "vidhog.com",
  714. "xfileshare.eu",
  715. "bzlink.us",
  716. "bulletupload.com",
  717. "bloggerarticles.com",
  718. "mojedata.sk",
  719. "sharpfile.com",
  720. "upgrand.com",
  721. "nasdilej.cz",
  722. "mediatack.cz",
  723. "share-it.to",
  724. "primeupload.com",
  725. "filebeer.info",
  726. "baberepublic",
  727. "xtu.me",
  728. "sharebase.de",
  729. "luckyshare.net",
  730. "filerobo.com",
  731. "filevelocity.com",
  732. "filezpro.com",
  733. "file4sharing.com",
  734. "cing.be",
  735. "ufile.eu",
  736. "pigsonic.com",
  737. "fileupped.com",
  738. "sharerun.com",
  739. "filesaur.com",
  740. "rapidslnare.com",
  741. "bestsharing.com",
  742. "savefiles.net",
  743. "file2share.biz",
  744. "filecache.de",
  745. "monsteruploads.eu",
  746. "b9bb.com",
  747. "aiotool.net",
  748. "jamber.info",
  749. "megaftp.com",
  750. "desiupload.net",
  751. "file27.com",
  752. "yastorage.com",
  753. "filehost.ws",
  754. "copyload.com",
  755. "venusfile.com",
  756. "aieshare.com",
  757. "terafile.co",
  758. "terafile.com",
  759. "fileza.net",
  760. "filerose.com",
  761. "squillion.com",
  762. "fileprohost.com",
  763. "bitbonus.com",
  764. "warserver.cz",
  765. "uload.to",
  766. "sharedbit.net",
  767. "megaload.it",
  768. "filewinds.com",
  769. "uploadcore.com",
  770. "syfiles.com",
  771. "eyesfile.com",
  772. "hotfile.com",
  773. "superupl.com",
  774. "oteupload.com",
  775. "henchfile.com",
  776. "filegag.com",
  777. "HenchFile.com",
  778. "filedefend.com",
  779. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  780. "megabitshare.com",
  781. "cloudzer.com",
  782. "asfile.com",
  783. "cloudzer.net",
  784. "clz.to",
  785. "extabit.com",
  786. "247upload.com",
  787. "2download.de",
  788. "4fastfile.com",
  789. "asixfiles.com",
  790. "berofile.com",
  791. "bigupload.com",
  792. "cepzo.com",
  793. "clouds.to",
  794. "cobrashare.sk",
  795. "coraldrive.net",
  796. "cyberlocker.ch",
  797. "czshare.com",
  798. "darkport.org",
  799. "dark-uploads.com",
  800. "davvas.com",
  801. "enigmashare.com",
  802. "erofly.cz",
  803. "fastsonic.net",
  804. "filebox.com",
  805. "filecity.net",
  806. "filedap.com",
  807. "filedino.com",
  808. "filedownloads.org",
  809. "filefolks.com",
  810. "fileking.co",
  811. "filemates.com",
  812. "files.to",
  813. "files2k.eu",
  814. "filesector.cc",
  815. "bitshare.com",
  816. "filesega.com",
  817. "filesend.net",
  818. "filestay.com",
  819. "filestrum.com",
  820. "fileuplo.de",
  821. "fileupup.com",
  822. "forunesia.com",
  823. "freeuploads.fr",
  824. "uploa.dk",
  825. "getthebit.com",
  826. "getzilla.net",
  827. "goldfile.eu",
  828. "good.com",
  829. "grupload.com",
  830. "hellfile.com",
  831. "hipfile.com",
  832. "hitfile.com",
  833. "hulkfile.eu|duckfile.net",
  834. "i-filez.com",
  835. "ifile.ws",
  836. "kupload.org",
  837. "packupload.com",
  838. "lemuploads.com",
  839. "limelinx.com",
  840. "maxshare.pl",
  841. "megarelease.org",
  842. "megashares.com",
  843. "megashare.com",
  844. "minus.com",
  845. "mlfat4arab.com",
  846. "multishare.cz",
  847. "nirafile.com",
  848. "ok2upload.com",
  849. "peejeshare.com",
  850. "premiuns.org",
  851. "przeklej.net",
  852. "qkup.net",
  853. "rapidupload.sk",
  854. "rockdizfile.com",
  855. "rocketfile.net",
  856. "share-now.net",
  857. "share76.com",
  858. "sharebees.com",
  859. "sharefiles.co",
  860. "slingfile.com",
  861. "sms4file.com",
  862. "space4file.com",
  863. "tigershare.net",
  864. "toucansharing.com",
  865. "ubuntuone.com",
  866. "unextfiles.com",
  867. "upaj.pl",
  868. "upfile.biz",
  869. "uploadbin.net",
  870. "uploadic.com",
  871. "uploadinc.com",
  872. "uploading4u.eu",
  873. "uploadjet.net",
  874. "uploadorb.com",
  875. "upthe.net",
  876. "uptorch.com",
  877. "vidbox.yt",
  878. "videozer.com",
  879. "vreer.com",
  880. "wallobit.com",
  881. "zooupload.com",
  882. "privatefiles.com",
  883. "xerver.co",
  884. "BillionUploads.com",
  885. "rapidshare.com",
  886. "rapidshare.ru",
  887. "4savefile.com",
  888. "bayfiles.com",
  889. "bayfiles.net",
  890. "dodane.pl",
  891. "dotsemper.com",
  892. "egofiles.com",
  893. "epicshare.net",
  894. "fiberupload.net",
  895. "filemonkey.in",
  896. "filemonster.net",
  897. "filepom.com",
  898. "filesbb.com",
  899. "filevice.com",
  900. "gigaup.fr",
  901. "isavelink.com",
  902. "loombo.com",
  903. "megafiles.se",
  904. "migupload.com",
  905. "mydisc.net",
  906. "nitrobits.com",
  907. "potload.com",
  908. "redload.net",
  909. "shareprofi.com",
  910. "sharesuper.info",
  911. "sinhro.net",
  912. "speedfile.cz",
  913. "speedshare.org",
  914. "storage.novoro.net",
  915. "swankshare.com",
  916. "swatupload.com",
  917. "upafile.com",
  918. "uploadmachine.com",
  919. "uploadsat.com",
  920. "upshared.com",
  921. "usefile.com",
  922. "yourfiles.to",
  923. "zomgupload.com",
  924. "ultramegabit.com",
  925. "uploadto.us",
  926. "inafile.com",
  927. "megairon.net",
  928.  
  929. ];
  930. ///////////////////////////////////////////////////////////////////////////////////////
  931. var firstRun = GM_getValue("First_run", true);
  932.  
  933. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  934. //////////////////////////////////////////////////////////////////////////////////////
  935. try
  936. {
  937. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  938. var last_known_version = GM_getValue("last_known_version", "");
  939. if (!last_known_version)
  940. {
  941. last_known_version = thisVersion;
  942. GM_setValue("last_known_version", last_known_version);
  943. }
  944. //var newVersion = !(thisVersion == last_known_version);
  945. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  946. GM_setValue("last_known_version", thisVersion);
  947. }
  948. catch (err)
  949. {
  950. var newVersion = false;
  951. }
  952.  
  953. var now = (new Date()).getTime();
  954. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  955. if (!last_custom_rules_nag)
  956. {
  957. last_custom_rules_nag = now;
  958. GM_setValue('last_custom_rules_nag', ''+now);
  959. }
  960.  
  961.  
  962. allHostNames.sort();
  963. allContainerNames.sort();
  964. allObsoleteNames.sort();
  965.  
  966. var RAND_STRING = "8QyvpOSsRG3QWq";
  967. var DEBUG_MODE = false;
  968.  
  969. var TOOLTIP_MAXWIDTH = 600; //in pixels
  970. var TOOLTIP_THUMBWIDTH = 200;
  971. var containers_processed = false;
  972.  
  973. //settings for keyboard functions start
  974. var CHECK_ALL_LINKS_KEY = "A";
  975. var CONFIGURATION_KEY = "C";
  976. var copy_to_dead_key = "D";
  977. var copy_to_live_key = "L";
  978. var toggle_autocheck_key = "W";
  979. var toggle_Enable_Anonymizer_key = "Z";
  980. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  981. var first_key_keycodename = 'CTRL';
  982. var second_key_keycode = '18';
  983. var second_key_keycodename = 'ALT';
  984. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  985. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  986. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  987. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  988. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  989. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  990. //settings for keyboard functions end
  991.  
  992. //global settings start
  993. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  994. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  995. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  996. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  997. var Show_progress_stats, Display_tooltip_info, Icon_set;
  998. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  999. var Progress_box_refresh_rate;
  1000. var Obsolete_file_hosts;
  1001. var Custom_rules, Custom_rules_text;
  1002. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1003.  
  1004. var messageBox = document.createElement('b'); // top-left message box
  1005.  
  1006. var cLinksTotal = 0;
  1007. var cLinksDead = 0;
  1008. var cLinksAlive = 0;
  1009. var cLinksUnava = 0;
  1010. var cLinksprem = 0;
  1011. var cLinksProcessed = 0;
  1012.  
  1013. var intervalId; //for updateProgress()
  1014.  
  1015. //icon resources
  1016. 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/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRa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q70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1023. 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=';
  1024. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYA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K4dPKy2+UTV7hXmq86X23qdOo8/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=';
  1025.  
  1026. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPl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m27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1029. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1030.  
  1031. //global settings end
  1032. if (window.opera && !window.console)
  1033. {
  1034. window.console = {};
  1035.  
  1036. function fn()
  1037. {
  1038. opera.postError(arguments);
  1039. };
  1040. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1041. {
  1042. window.console[name] = fn;
  1043. });
  1044. }
  1045.  
  1046. //displays colored text in message box
  1047. function sendMessage(text, color)
  1048. {
  1049. var msgDiv = document.createElement('div');
  1050. msgDiv.style.color = color;
  1051. msgDiv.innerHTML = text;
  1052. messageBox.appendChild(msgDiv);
  1053. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1054. }
  1055.  
  1056. function linkify(totalourls)
  1057. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1058. var ikkeTilladteTags;
  1059. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1060. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1061. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1062. allLinksRegex = new RegExp(allLinksRegex, "g");
  1063. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1064.  
  1065. if (Do_not_linkify_DL_links)
  1066. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1067. else
  1068. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1069.  
  1070. var regex = new RegExp(regexy);
  1071. var textNode, muligtLink;
  1072.  
  1073. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1074. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1075.  
  1076. var i = textNodes.snapshotLength;
  1077. while (i--)
  1078. {
  1079. textNode = textNodes.snapshotItem(i);
  1080.  
  1081. muligtLink = textNode.nodeValue; //all links on page
  1082.  
  1083. var myArray = null;
  1084. var span = null;
  1085. var lastLastIndex = 0;
  1086. allLinksRegex.lastIndex = 0;
  1087. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1088. {
  1089. if (textNode.parentNode.className == "adead_link") continue;
  1090. var censoredLink = muligtLink;
  1091. var span = document.createElement('span');
  1092. span.className = "adead_link";
  1093. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1094. $(span).html(censoredLink);
  1095. span.addEventListener("mouseover", displayTooltipError, false);
  1096. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1097. textNode.parentNode.replaceChild(span, textNode);
  1098. continue;
  1099. alert(censoredLink);
  1100. }
  1101. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1102. {
  1103. if (!regex.test(myArray[0])) //this link is not recognized
  1104. {
  1105.  
  1106. continue;
  1107. }
  1108. if (!span)
  1109. span = document.createElement('span');
  1110.  
  1111. var link = myArray[0];
  1112. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1113.  
  1114. var $a = $("<a>" + link + "</a>")
  1115. if (!link.match(/https?:\/\//))
  1116. {
  1117. link = 'http://' + link;
  1118. }
  1119.  
  1120. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1121. .addClass("processing_link")
  1122. .appendTo(span);
  1123. lastLastIndex = allLinksRegex.lastIndex;
  1124. }
  1125. if (span)
  1126. {
  1127. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1128. textNode.parentNode.replaceChild(span, textNode);
  1129. }
  1130. }
  1131. }
  1132.  
  1133. function add_WARLC_style()
  1134. {
  1135. if (!(document.getElementsByTagName('WARLC')[0]))
  1136. {
  1137. var meta_not_to_add_more_style = document.createElement("WARLC");
  1138. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1139. meta_not_to_add_more_style.setAttribute('name', 'description');
  1140. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1141. alive_link_png = "";
  1142. adead_link_png = "";
  1143. unava_link_png = "";
  1144. prem_link_png = "";
  1145. switch(Icon_set)
  1146. {
  1147. //no icons
  1148. case 0: break;
  1149. // cat paws
  1150. case 1: alive_link_png = PAW_ICON_GREEN;
  1151. adead_link_png = PAW_ICON_RED;
  1152. unava_link_png = PAW_ICON_YELLOW;
  1153. prem_link_png = PAW_ICON_PINK;
  1154. break;
  1155. // classic RSLC look
  1156. case 2: alive_link_png = RSLC_ICON_GREEN;
  1157. adead_link_png = RSLC_ICON_RED;
  1158. unava_link_png = RSLC_ICON_YELLOW;
  1159. prem_link_png = RSLC_ICON_PINK;
  1160. break;
  1161. // New Icons
  1162. case 3: alive_link_png = NEW_ICON_GREEN;
  1163. adead_link_png = NEW_ICON_RED;
  1164. unava_link_png = NEW_ICON_YELLOW;
  1165. prem_link_png = NEW_ICON_PINK;
  1166. break;
  1167. // cat paws
  1168. default:alive_link_png = PAW_ICON_GREEN;
  1169. adead_link_png = PAW_ICON_RED;
  1170. unava_link_png = PAW_ICON_YELLOW;
  1171. prem_link_png = PAW_ICON_PINK;
  1172. break;
  1173. }
  1174. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1175. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1176.  
  1177. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1178.  
  1179. if (Color_DL_links)
  1180. {
  1181. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1182. live_color_css = 'color:' + Live_links_color + ' !important;';
  1183. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1184. container_color_css = 'color:' + Container_links_color + ' !important;';
  1185. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1186. }
  1187. else
  1188. {
  1189. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1190. }
  1191.  
  1192. if (Show_black_background_in_DL_links)
  1193. {
  1194. black_background_css = 'background-color: black !important;';
  1195. }
  1196. else
  1197. {
  1198. black_background_css = '';
  1199. }
  1200.  
  1201. if (Show_line_through_in_dead_links)
  1202. {
  1203. line_through_css = 'text-decoration: line-through !important;';
  1204. }
  1205. else
  1206. {
  1207. line_through_css = '';
  1208. }
  1209.  
  1210. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1211. 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 + "}");
  1212. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1213. GM_addStyle(".processing_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_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1215. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1216. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1217. }
  1218. }
  1219.  
  1220. var warlcTooltip = null;
  1221. var mouseoverLink = null; //link href with mouse cursor over it
  1222.  
  1223. var lastX = 0;
  1224. var lastY = 0;
  1225.  
  1226. $(document).ready(initTooltip);
  1227. //inits tooltip
  1228. function initTooltip()
  1229. { warlcTooltip = document.createElement("div");
  1230. 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;");
  1231. warlcTooltip.style.visibility = "hidden";
  1232. document.body.appendChild(warlcTooltip);
  1233. }
  1234.  
  1235. //"mousemove" event handler for all links
  1236. function moveTooltip(event)
  1237. {
  1238. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1239. { //no need to reflow if the cursor moved just a little
  1240. return;
  1241. }
  1242. else
  1243. {
  1244. lastX = event.clientX;
  1245. lastY = event.clientY;
  1246. }
  1247.  
  1248. posX = event.clientX + window.pageXOffset + 10;
  1249. posY = event.clientY + window.pageYOffset;
  1250. var ttHeight = warlcTooltip.offsetHeight;
  1251. var ttFreeSpace = window.innerHeight - event.clientY;
  1252. if (ttHeight > ttFreeSpace)
  1253. { //prevents tooltip from getting out of the window
  1254. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1255. }
  1256. else
  1257. {
  1258. posY += 7;
  1259. }
  1260. warlcTooltip.style.top = posY + "px";
  1261. warlcTooltip.style.left = posX + "px";
  1262. }
  1263.  
  1264. //"mouseout" event handler for all links
  1265. function hideTooltip(){
  1266. warlcTooltip.style.visibility = "hidden";
  1267. mouseoverLink = null;
  1268. }
  1269.  
  1270.  
  1271. //"mouseover" event handler for dead links
  1272. //displays tooltip error message on dead links
  1273. function displayTooltipError()
  1274. {
  1275. mouseoverLink = this.href;
  1276. this.addEventListener("mouseout", hideTooltip);
  1277. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1278. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1279. warlcTooltip.style.minWidth = 0;
  1280. warlcTooltip.style.visibility = "visible";
  1281. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1282. {
  1283. warlcTooltip.innerHTML = this.warlc_error;
  1284. }
  1285. else
  1286. {
  1287. loadErrorInfo(this);
  1288. }
  1289. function loadErrorInfo(link)
  1290. {
  1291. var href = link.href;
  1292. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1293. GM_xmlhttpRequest({
  1294. method: 'GET',
  1295. url: href.replace(Ref_anonymize_service, ""),
  1296. headers: {
  1297. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1298. 'Accept': 'text/xml',
  1299. 'Referer': ""
  1300. },
  1301. onload: function(result) {
  1302. var res = result.responseText;
  1303. //TODO: errorRegexs -
  1304. var errorRegexs = [ //generic error messages follow
  1305. /(empty directory)/i,
  1306. /(soubor nebyl nalezen)/i,
  1307. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1308. //server specific error messages follow
  1309. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1310. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1311. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1312. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1313. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1314. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1315. /class="red">(.+?)<(?:span|br)>/, //czshare
  1316. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1317. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1318. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1319. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1320. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1321. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1322. /(File has been removed due to Copyright Claim)/, //filerio
  1323. ];
  1324. var errorIdx = errorRegexs.length;
  1325. var error = "Cause of error: <b>unknown</b>";
  1326. var errorCandidate = "";
  1327. while(errorIdx--)
  1328. {
  1329. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1330. if (errorCandidate != null)
  1331. {
  1332. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1333. break;
  1334. }
  1335. }
  1336. //link attributes
  1337. link.warlc_error = error;
  1338. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1339. {
  1340. warlcTooltip.innerHTML = error;
  1341. }
  1342. }
  1343. });
  1344. }
  1345. }
  1346.  
  1347. //"mouseover" event handler for alive links
  1348. //displays tooltip info (file size, file name,...) on alive links
  1349. function displayTooltipInfo()
  1350. {
  1351. mouseoverLink = this.href;
  1352. //exclude direct download filehostings
  1353. 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)/))
  1354. {
  1355. return;
  1356. }
  1357. this.addEventListener("mouseout", hideTooltip);
  1358. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1359. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1360. warlcTooltip.style.minWidth = 0;
  1361. warlcTooltip.style.visibility = "visible";
  1362. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1363. {
  1364. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1365. }
  1366. else
  1367. {
  1368. loadInfo(this);
  1369. }
  1370. function loadInfo(link)
  1371. {
  1372. var href = link.href;
  1373. GM_xmlhttpRequest({
  1374. method: 'GET',
  1375. url: href.replace(Ref_anonymize_service, ""),
  1376. headers: {
  1377. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1378. 'Accept': 'text/xml',
  1379. 'Referer': ""
  1380. },
  1381. onload: function(result) {
  1382. var res = result.responseText;
  1383. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1384. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1385. /fl" title="(.+?)">/, //edisk
  1386. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1387. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1388. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1389. /title="download (.+?)">/, //sendspace
  1390. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1391. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1392. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1393. /d0FileName = "(.+?)";/, //letitbit
  1394. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1395. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1396. /fname" value="(.+?)">/, //syfiles, grupload,
  1397. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1398. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1399. /Complete name : (.+?)<br \/>/, //bezvadata
  1400. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1401. ];
  1402. var nameIdx = nameRegexs.length;
  1403. // [sizeRegexs]
  1404. // / \ \?
  1405. // prefix (size) postfix
  1406. // / \
  1407. // val quant
  1408. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1409. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1410. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1411. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1412. var postSizeRegex = '(?:\\))?';
  1413. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1414. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1415. ];
  1416. var sizeIdx = sizeRegexs.length;
  1417. //
  1418. //
  1419. var tooltip = "File Name: <b>";
  1420. var fileName = "unknown";
  1421. var nameCandidate = "";
  1422. while(nameIdx--)
  1423. {
  1424. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1425. if (nameCandidate != null)
  1426. {
  1427. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1428. break;
  1429. }
  1430. }
  1431. tooltip += fileName + "</b><br>File Size: <b>";
  1432. var fileSize = "unknown";
  1433. var sizeCandidate = "";
  1434. while(sizeIdx--)
  1435. {
  1436. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1437. if (sizeCandidate != null)
  1438. {
  1439. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1440. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1441. {
  1442. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1443. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1444. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1445. }
  1446. break;
  1447. }
  1448. }
  1449. tooltip += fileSize + "</b>";
  1450. // PROTOTYPE
  1451. // video thumbnails
  1452. if (href.match('hellshare'))
  1453. {
  1454. var thumbs;
  1455. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1456. if (thumbs)
  1457. {
  1458. tooltip += '<br>';
  1459. var j = Math.min(thumbs.length, 9);
  1460. for (var i = 0; i < j; i++)
  1461. {
  1462. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1463. }
  1464. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1465. }
  1466. }
  1467. if (href.match('czshare'))
  1468. {
  1469. var thumbs;
  1470. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1471. if (thumbs)
  1472. {
  1473. var thumbsServer = thumbs[1];
  1474. var thumbsId = thumbs[2];
  1475. tooltip += '<br>';
  1476. for (var i = 1; i < 9; i++)
  1477. {
  1478. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1479. }
  1480. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1481. }
  1482. }
  1483. if (href.match('bezvadata'))
  1484. {
  1485. var thumbs;
  1486. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1487. if (thumbs)
  1488. {
  1489. tooltip += '<br>';
  1490. var j = Math.min(thumbs.length, 9);
  1491. for (var i = 0; i < j; i++)
  1492. {
  1493. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1494. }
  1495. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1496. }
  1497. }
  1498. link.warlc_tooltipcache = tooltip;
  1499. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1500. {
  1501. warlcTooltip.innerHTML = tooltip;
  1502. }
  1503. }
  1504. });
  1505. }
  1506. }
  1507.  
  1508. function setVariables()
  1509. {
  1510. if (firstRun)
  1511. {
  1512. GM_log('First run, applying default settings...');
  1513. GM_setValue("Icon_set",1);
  1514. GM_setValue("Display_tooltip_info",true);
  1515. GM_setValue("Show_black_background_in_DL_links",false);
  1516. GM_setValue("Show_line_through_in_dead_links",false);
  1517. GM_setValue("Display_full_links_in_link_containers",false);
  1518. GM_setValue("Allow_spaces_in_DL_links",false);
  1519. GM_setValue("Autocheck",true);
  1520. GM_setValue("Enable_Anonymizer",false);
  1521. GM_setValue("Do_not_linkify_DL_links",false);
  1522. GM_setValue("Show_progress_stats",true);
  1523. GM_setValue("Keyboard_functions",true);
  1524. GM_setValue("Obsolete_file_hosts",false);
  1525. GM_setValue("Color_DL_links",true);
  1526. GM_setValue("Live_links_color","Green");
  1527. GM_setValue("Dead_links_color","#FF3300");
  1528. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1529. GM_setValue("Container_links_color","DarkKhaki");
  1530. GM_setValue("Premium_links_color","DeepPink");
  1531. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1532. GM_setValue("Custom_rules",false);
  1533. GM_setValue("Custom_rules_text","");
  1534. GM_setValue("Processbox_Pos_Y", 0);
  1535. GM_setValue("Processbox_Pos_X", 88);
  1536. GM_setValue("Progressbox_Scaling", 100);
  1537. GM_setValue("First_run", false);
  1538. }
  1539. //hidden settings
  1540. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1541. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1542. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1543. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1544. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1545. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1546. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1547. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1548. //hidden settings end
  1549.  
  1550. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1551. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1552. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1553. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1554. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1555. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1556. Autocheck = GM_getValue("Autocheck", true);
  1557. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1558. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1559. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1560. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1561. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1562. Color_DL_links = GM_getValue("Color_DL_links", true);
  1563. Live_links_color = GM_getValue("Live_links_color", "Green");
  1564. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1565. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1566. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1567. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1568. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1569. Custom_rules = GM_getValue("Custom_rules", false);
  1570. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1571. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1572. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1573. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1574. }
  1575.  
  1576.  
  1577. // Delinkifies the links
  1578. // params:
  1579. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1580. // e.g. 'uloz.to/xs68skxl8')
  1581. function delinkifySnapshot(snapshot)
  1582. {
  1583. var n = snapshot.snapshotLength;
  1584.  
  1585. while (n--)
  1586. {
  1587. thisLink = snapshot.snapshotItem(n);
  1588.  
  1589. var spanElm = document.createElement("span");
  1590. spanElm.className = thisLink.className;
  1591. spanElm.innerHTML = thisLink.innerHTML;
  1592.  
  1593. if (Display_tooltip_info)
  1594. {
  1595. spanElm.href = thisLink.href;
  1596. switch (thisLink.className){
  1597. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1598. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1599. case "unava_link": //reserved
  1600. default:
  1601. }
  1602. }
  1603. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1604. }
  1605. }
  1606.  
  1607. function processContainers()
  1608. {
  1609. var redirectorTypes = { "HTTP_302": 0,
  1610. "INNER_LINK": 1,
  1611. "THELOO_KATT_IT": 2,
  1612. "CING_BE": 3,
  1613. "ADF_LY": 4};
  1614. var cMultiloadTotal = 0;
  1615. var cMultiloadProcessed = 0;
  1616.  
  1617. var cMirrorcreatorComTotal = 0;
  1618. var cMirrorcreatorComProcessed = 0;
  1619.  
  1620. var hostRestrictionRegex = "";
  1621. var multiloadComRestriction = "";
  1622. var multiloadComRestrictionRegex;
  1623.  
  1624. //
  1625. //HANDLING REDIRECTORS START
  1626. //
  1627.  
  1628. var redirectors = new Array();
  1629. initRedirectors();
  1630.  
  1631. var redirectorsCount = redirectors.length;
  1632.  
  1633. if (redirectorsCount > 0)
  1634. {
  1635. var allRedirectorsRegex = "";
  1636.  
  1637. //linkify redirector links
  1638. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1639. {
  1640. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1641. }
  1642. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1643. linkify(allRedirectorsRegex);
  1644. //
  1645. //process redirector links
  1646. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1647. {
  1648. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1649. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1650.  
  1651. cLinksTotal += redirectors[redirIdx].cTotal;
  1652. var linkIdx = redirectors[redirIdx].cTotal;
  1653.  
  1654. while(linkIdx--)
  1655. {
  1656. switch(redirectors[redirIdx].type)
  1657. {
  1658. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1659. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1661. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1662. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1663. default:
  1664. }
  1665. }
  1666. }
  1667. //
  1668. }
  1669.  
  1670. //HTTP_302
  1671. function processRedirectorLink(link, redirectorId)
  1672. {
  1673. link.className = 'container_link';
  1674.  
  1675. GM_xmlhttpRequest({
  1676. method: 'HEAD',
  1677. url: link.href,
  1678. headers: {
  1679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1680. 'Accept': 'text/xml',
  1681. 'Referer': ""
  1682. },
  1683. onload: function(result) {
  1684. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1685. {
  1686. processRedirectorLink(link, redirectorId);
  1687. }
  1688. else
  1689. {
  1690. redirectors[redirectorId].cProcessed++;
  1691. link.href = result.finalUrl;
  1692. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1693. checkLinks('container_link');
  1694. }
  1695. },
  1696. onerror: function(result) { //probably caused by unresponsive filehosting
  1697. redirectors[redirectorId].cProcessed++;
  1698. link.className = 'unava_link';
  1699. cLinksProcessed++;
  1700. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1701. checkLinks('container_link');
  1702. }
  1703. });
  1704. }
  1705. //INNER_LINK
  1706. function processRedirectorLinkEx(link, redirectorId)
  1707. {
  1708. link.className = 'container_link';
  1709. GM_xmlhttpRequest({
  1710. method: 'GET',
  1711. url: link.href,
  1712. headers: {
  1713. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1714. 'Accept': 'text/xml',
  1715. 'Referer': ""
  1716. },
  1717. onload: function(result) {
  1718. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1719. redirectors[redirectorId].cProcessed++;
  1720. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1721. checkLinks('container_link');
  1722. }
  1723. });
  1724. }
  1725. //theloo.katt.it (wrapped safelinking.net)
  1726. function processThelooKattItLink(link, redirectorId)
  1727. {
  1728. link.className = 'container_link';
  1729. GM_xmlhttpRequest({
  1730. method: 'GET',
  1731. url: link.href,
  1732. headers: {
  1733. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1734. 'Accept': 'text/xml',
  1735. 'Referer': ""
  1736. },
  1737. onload: function(result) {
  1738. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1739. redirectors[redirectorId].cProcessed++;
  1740. //the inner links are safelinking.net links, so lets proceed with it
  1741. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1742. {
  1743. processRedirectorLink(link, 0);
  1744. }
  1745. }
  1746. });
  1747. }
  1748. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1749. function processAdfLyLink(link, redirectorId)
  1750. {
  1751. link.className = 'container_link';
  1752. GM_xmlhttpRequest({
  1753. method: 'GET',
  1754. url: link.href,
  1755. headers: {
  1756. 'User-agent': 'Mozilla/4.0',
  1757. 'Accept': 'text/xml',
  1758. 'Referer': ""
  1759. },
  1760. onload: function(result) {
  1761. if (result.finalUrl.match('/locked/'))
  1762. {
  1763. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1764. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1765. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1766. }
  1767. else
  1768. {
  1769. // GM_log('Processing... ' + link.href);
  1770. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1771. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1772. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1773. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1774. //confirm advert
  1775. GM_xmlhttpRequest(
  1776. {
  1777. method: 'POST',
  1778. url: 'http://adf.ly/l.php',
  1779. headers: {
  1780. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1781. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1782. 'Referer': link.href
  1783. },
  1784. data: users + '&lt=' + logToken,
  1785. onload: function(result) {
  1786. //retrieve final url from .../go/... link
  1787. GM_xmlhttpRequest({
  1788. method: 'GET',
  1789. url: directLink,
  1790. headers: {
  1791. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1792. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1793. 'Referer': link.href
  1794. },
  1795. onload: function(result) {
  1796. link.href = result.finalUrl;
  1797. redirectors[redirectorId].cProcessed++;
  1798. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1799. checkLinks('container_link');
  1800. }
  1801. });
  1802. }
  1803. });
  1804. }
  1805. }
  1806. });
  1807. function proceedOK()
  1808. {
  1809. }
  1810. }
  1811. //MULTILOAD.CZ START
  1812. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1813. {
  1814. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1815. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1816.  
  1817. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1818.  
  1819. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1820. hostRestrictionRegex += 'hellshare|';
  1821. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1822. hostRestrictionRegex += 'downloadhellshare|';
  1823. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1824. hostRestrictionRegex += 'share-rapid\\.com|';
  1825. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1826. hostRestrictionRegex += 'quickshare\\.cz|';
  1827. if (GM_getValue("Check_czshare_dot_com_links", false))
  1828. hostRestrictionRegex += 'czshare\\.com|';
  1829. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1830. hostRestrictionRegex += 'hellspy|';
  1831. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1832. hostRestrictionRegex += 'multishare\\.cz|';
  1833.  
  1834. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1835.  
  1836. linkify(mlRegex);
  1837.  
  1838. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1839. var mlCount = mlSnapshot.snapshotLength;
  1840.  
  1841. if (mlCount > 0)
  1842. {
  1843. cMultiloadTotal += mlCount;
  1844.  
  1845. mlIdx = mlCount - 1;
  1846. do
  1847. {
  1848. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1849. }
  1850. while(mlIdx--)
  1851. }
  1852. }
  1853. //MULTILOAD.CZ END
  1854.  
  1855.  
  1856.  
  1857. function processMultiloadLink(mlLink)
  1858. {
  1859. GM_xmlhttpRequest({
  1860. method: 'GET',
  1861. url: mlLink.href,
  1862. headers: {
  1863. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1864. 'Accept': 'text/xml',
  1865. 'Referer': ""
  1866. },
  1867. onload: function(result) {
  1868. var res = result.responseText;
  1869.  
  1870. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1871. 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;
  1872. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1873. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1874.  
  1875. var blocks; // blocks of links
  1876. var blockIdx;
  1877.  
  1878. mlLink.className = '';
  1879.  
  1880. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1881. {
  1882. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1883. return;
  1884. }
  1885.  
  1886. blocks = res.match(innerBlockRegex);
  1887.  
  1888. if (blocks == null) //no links found, cancel further processing
  1889. {
  1890. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1891. cMultiloadProcessed++;
  1892. if (cMultiloadTotal <= cMultiloadProcessed)
  1893. {
  1894. startBulkCheck('container_link');
  1895. start('container_link');
  1896. }
  1897. return;
  1898. }
  1899.  
  1900. blockIdx = blocks.length;
  1901.  
  1902. if (Display_full_links_in_link_containers)
  1903. {
  1904. var ulElm = document.createElement('ul');
  1905. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1906.  
  1907. while(blockIdx--)
  1908. {
  1909. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1910. {
  1911. continue;
  1912. }
  1913.  
  1914. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1915.  
  1916. var linkIdx = innerLinks.length;
  1917. while (linkIdx--)
  1918. {
  1919. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1920.  
  1921. var liElm = document.createElement('li');
  1922.  
  1923. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1924. {
  1925. liElm.appendChild(document.createTextNode(innerLink));
  1926. }
  1927. else
  1928. {
  1929. var aElm = document.createElement('a');
  1930. aElm.innerHTML = innerLink;
  1931. aElm.href = innerLink;
  1932. aElm.className = 'container_link';
  1933.  
  1934. liElm.appendChild(aElm);
  1935. }
  1936.  
  1937. ulElm.appendChild(liElm);
  1938. cLinksTotal++;
  1939. }
  1940. }
  1941.  
  1942. mlLink.parentNode.appendChild(ulElm);
  1943. }
  1944. else //compact view
  1945. {
  1946. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1947.  
  1948. while(blockIdx--)
  1949. {
  1950. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1951. {
  1952. continue;
  1953. }
  1954.  
  1955. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1956.  
  1957. var linkIdx = innerLinks.length;
  1958. while (linkIdx--)
  1959. {
  1960. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1961.  
  1962. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1963. {
  1964. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1965. }
  1966. else
  1967. {
  1968. var aElm = document.createElement('a');
  1969.  
  1970. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1971.  
  1972. //abbreviate host name
  1973. switch(hostName + ""){
  1974.  
  1975. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1976. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1977. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1978. case 'multishare': aElm.innerHTML = 'MS'; break;
  1979. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1980. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1981. case 'czshare': aElm.innerHTML = 'CS'; break;
  1982. default: aElm.innerHTML = 'xx';
  1983.  
  1984. }
  1985.  
  1986. aElm.href = innerLink;
  1987. aElm.className = 'container_link';
  1988.  
  1989. mlLink.parentNode.appendChild(aElm);
  1990. cLinksTotal++;
  1991. }
  1992. }
  1993.  
  1994. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1995.  
  1996. }
  1997. }
  1998.  
  1999. cMultiloadProcessed++;
  2000. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2001. {
  2002. if (Do_not_linkify_DL_links)
  2003. {
  2004. delinkifySnapshot(mlSnapshot);
  2005. }
  2006. startBulkCheck('container_link');
  2007. start('container_link');
  2008. }
  2009. }
  2010. });
  2011. }
  2012.  
  2013.  
  2014. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2015. {
  2016. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2017. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2018. var mcShortHostNames =
  2019. '?? 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';
  2020. // 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
  2021. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2022. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2023. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2024. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2025.  
  2026. linkify(mcRegex);
  2027.  
  2028. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2029. var mcCount = mcSnapshot.snapshotLength;
  2030.  
  2031. cMirrorcreatorComTotal = mcCount;
  2032.  
  2033. if (mcCount > 0)
  2034. {
  2035. mcShortHostNames = mcShortHostNames.split(' ');
  2036. mcIdx = mcCount;
  2037. while(mcIdx--)
  2038. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2039. }
  2040.  
  2041. }
  2042. //MIRRORCREATOR.CZ END
  2043.  
  2044.  
  2045. //mirrorcreator.com checking works like this:
  2046. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2047. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2048. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2049. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2050. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2051. function processMirrorcreatorLink(mcLink)
  2052. {
  2053. var mcURL = mcLink.href.match(mcRegex);
  2054. if(!mcURL || !mcURL[1]) return;
  2055. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2056. GM_xmlhttpRequest({
  2057. method: 'GET',
  2058. url: mcURL,
  2059. headers: {
  2060. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2061. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2062. 'Referer': ""
  2063. },
  2064. onload: function(mcLinkResult) {
  2065. var mcLinkRes = mcLinkResult.responseText;
  2066.  
  2067. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2068. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2069.  
  2070. var mcRedirectors;
  2071. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2072. var m = mcLinkRes.match(mcLinkBlockRegex);
  2073. if (m)
  2074. mcHostsFound = m.length;
  2075. else
  2076. { //no files inside container
  2077. processMirrorcreatorFoundHosts(mcLink, []);
  2078. return;
  2079. }
  2080.  
  2081. var mcRedirectorURL, idx, timedOut = false;
  2082.  
  2083. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2084. GM_xmlhttpRequest({
  2085. method: 'GET',
  2086. url: mcRedirectorURL,
  2087. headers: {
  2088. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2089. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2090. 'Referer': ""
  2091. },
  2092. onload: function(mcHostResult) {
  2093. if (timedOut) return; //too late, the list is already displayed
  2094. var mcHostRes = mcHostResult.responseText;
  2095. var mcHost = mcHostRes.match(mcHostRegex);
  2096. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2097. if (mcHost && idx!=-1)
  2098. {
  2099. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2100. mcHostsRetrieved++;
  2101. mcHostsToProcess++;
  2102. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2103. {
  2104. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2105. mcHostsToProcess = 0;
  2106. }
  2107. }
  2108. } //end of onload: function
  2109. }); //end of GM_xmlhttpRequest call
  2110. };//end of var gmxhrFunc
  2111.  
  2112. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2113. { //load individual redirector pages
  2114. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2115. mcHostURLs.push(mcRedirectorURL);
  2116. mcRedirectorIDs.push(mcRedirectors[2]);
  2117. gmxhrFunc(mcRedirectorURL);
  2118. } //end of while block
  2119.  
  2120. setTimeout(function(){ //in case the last page fails to load and call the function
  2121. timedOut = true;
  2122. if (mcHostsToProcess)
  2123. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2124. }, 60000);
  2125.  
  2126. } //end of onload function
  2127. }); //end of GM_xmlhttpRequest call
  2128. } //end of function processMirrorcreatorLink
  2129.  
  2130.  
  2131. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2132. {
  2133. var aEl, liEl, docFrag;
  2134. var hostName, mcRedirectorID, trimFilename = false;
  2135. var i = mcHostURLs.length;
  2136. if (i == 0)
  2137. {
  2138. trimFilename = true;
  2139. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2140. }
  2141. else
  2142. {
  2143. if (Display_full_links_in_link_containers)
  2144. { //full view
  2145. var wrapperEl = document.createElement('span');
  2146. wrapperEl.style.display = 'block';
  2147. var ulistEl = document.createElement('ul');
  2148. ulistEl.className = 'container_list';
  2149. while (i--)
  2150. {
  2151. liEl = document.createElement('li');
  2152. aEl = document.createElement('a');
  2153. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2154. aEl.href = mcHostURLs[i];
  2155. aEl.className = 'container_link';
  2156. liEl.appendChild(aEl);
  2157. ulistEl.appendChild(liEl);
  2158. }
  2159. wrapperEl.appendChild(ulistEl);
  2160. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2161. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2162. }
  2163. else
  2164. { //compact view
  2165. trimFilename = true;
  2166. docFrag = document.createDocumentFragment();
  2167. docFrag.appendChild(document.createTextNode(' |'));
  2168. while (i--)
  2169. {
  2170. mcRedirectorID = mcRedirectorIDs[i];
  2171. hostName = mcHostURLs[i];
  2172. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2173. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2174. else
  2175. hostName = mcShortHostNames[mcRedirectorID];
  2176. aEl = document.createElement('a');
  2177. aEl.href = mcHostURLs[i];
  2178. aEl.className = 'container_link';
  2179. aEl.appendChild(document.createTextNode(hostName));
  2180. docFrag.appendChild(aEl);
  2181. docFrag.appendChild(document.createTextNode('|'));
  2182. }
  2183. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2184. } //end of else block
  2185. } //end of else block
  2186. mcLink.className = '';
  2187. if (trimFilename)
  2188. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2189. cMirrorcreatorComProcessed++;
  2190. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2191. {
  2192. if (Do_not_linkify_DL_links)
  2193. delinkifySnapshot(mcSnapshot);
  2194. startBulkCheck('container_link');
  2195. start('container_link');
  2196. }
  2197. } //end of function processMirrorcreatorFoundHosts
  2198.  
  2199. containers_processed = true;
  2200.  
  2201.  
  2202. function initRedirectors()
  2203. {
  2204. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2205. {
  2206. var redirector = new Object();
  2207. redirector.linkRegex = linkRegex;
  2208. redirector.xpath = xpathEx; //xpath expression
  2209. redirector.cProcessed = 0; //processed links count
  2210. redirector.cTotal = 0; //total links count
  2211. redirector.type = redirType; //redirectorTypes enum
  2212. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2213. redirectors.push(redirector);
  2214. }
  2215. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2216. {
  2217. addRedirector(
  2218. 'safelinking\\.net\/d\/\\w+',
  2219. "//a[contains(@href,'safelinking.net/d/')]",
  2220. redirectorTypes.HTTP_302,
  2221. null);
  2222. }
  2223. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2224. {
  2225. addRedirector(
  2226. 'linksafe\\.me\/d\/\\w+',
  2227. "//a[contains(@href,'linksafe.me/d/')]",
  2228. redirectorTypes.HTTP_302,
  2229. null);
  2230. }
  2231. if (GM_getValue("Check_linkto_dot_net_links", false))
  2232. {
  2233. addRedirector(
  2234. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2235. "//a[contains(@href,'linkto.net/?')]",
  2236. redirectorTypes.INNER_LINK,
  2237. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2238. }
  2239. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2240. {
  2241. addRedirector(
  2242. '(?:the)?loo\\.katt\\.it\/\\w+',
  2243. "//a[contains(@href,'loo.katt.it/')]",
  2244. redirectorTypes.THELOO_KATT_IT,
  2245. /Proceed to URL - <a href="(.+?)">/);
  2246. }
  2247. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2248. {
  2249. addRedirector(
  2250. 'madlink\\.sk\/\\w+',
  2251. "//a[contains(@href,'madlink.sk/')]",
  2252. redirectorTypes.INNER_LINK,
  2253. /name="url" value="(.+?)\s*"\/>/);
  2254. }
  2255. if (GM_getValue("Check_adf_dot_ly_links", false))
  2256. {
  2257. addRedirector(
  2258. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2259. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2260. redirectorTypes.ADF_LY,
  2261. null);
  2262. }
  2263. if (GM_getValue("Check_redi_dot_re_links", false))
  2264. {
  2265. addRedirector(
  2266. 'redi\\.re\/\\w+',
  2267. "//a[contains(@href,'redi.re/')]",
  2268. redirectorTypes.HTTP_302,
  2269. null);
  2270. }
  2271. if (GM_getValue("Check_bit_dot_ly_links", false))
  2272. {
  2273. addRedirector(
  2274. 'bit\\.ly\/\\w+',
  2275. "//a[contains(@href,'bit.ly/')]",
  2276. redirectorTypes.HTTP_302,
  2277. null);
  2278. }
  2279. }
  2280.  
  2281. }
  2282.  
  2283. var bulkHosts = new Array();
  2284. var bulkHostNames = new Array();
  2285. function initBulkCheck()
  2286. {
  2287. /////////////////////////////
  2288. // Inits filehost object
  2289. /////////////////////////////
  2290. // params :
  2291. // hostName -- [string] host name (multiple domains separated with coma)
  2292. // linkRegex -- [string] link regex
  2293. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2294. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2295. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2296. // corrReplWhat -- [regex] link correction regex (replace)
  2297. // corrReplWith -- [string]
  2298. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2299. //
  2300. // apiUrl -- [string] web linkchecker or API URL
  2301. // postData -- [string] POSTDATA of xmlhttprequest
  2302. // resLinkRegex -- [regex]
  2303. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2304. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2305. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2306. // func -- [function] bulkcheck handler, genBulkCheck if null
  2307. //
  2308. //////////////////////////////
  2309. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2310. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2311. {
  2312. var fileHost = new Object();
  2313.  
  2314. fileHost.linkRegex = linkRegex;
  2315. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2316. fileHost.xpath = xpath;
  2317. fileHost.cFound = 0; //found links counter
  2318. fileHost.links = new Array(); //found links
  2319. if (blockSize == null)
  2320. {
  2321. fileHost.blockSize = 50;
  2322. }
  2323. else
  2324. {
  2325. fileHost.blockSize = blockSize;
  2326. }
  2327. fileHost.corrMatch = corrMatch;
  2328. fileHost.corrReplWhat = corrReplWhat;
  2329. fileHost.corrReplWith = corrReplWith;
  2330. if (splitSeparator == null)
  2331. {
  2332. fileHost.splitSeparator = "\r\n";
  2333. }
  2334. else
  2335. {
  2336. fileHost.splitSeparator = splitSeparator;
  2337. }
  2338. fileHost.apiUrl = apiUrl;
  2339. fileHost.postData = postData;
  2340. fileHost.resLinkRegex = resLinkRegex;
  2341. fileHost.resLiveRegex = resLiveRegex;
  2342. fileHost.resDeadRegex = resDeadRegex;
  2343. fileHost.resUnavaRegex = resUnavaRegex;
  2344. if (func == null)
  2345. {
  2346. fileHost.func = genBulkCheck;
  2347. }
  2348. else
  2349. {
  2350. fileHost.func = func;
  2351. }
  2352. bulkHosts.push(fileHost);
  2353. var names = hostName.split(',');
  2354. var i = names.length;
  2355. while(i--)
  2356. {
  2357. bulkHostNames[names[i]] = fileHost;
  2358. }
  2359. }
  2360. var genType1 = [
  2361. "rodfile.com", "downloadani.me", //"migahost.com",
  2362. "rarefile.net",
  2363. "filesabc.com",
  2364. // "verzend.be",
  2365. // "movreel.com",
  2366. "file4safe.com", "filemac.com",
  2367. "longfiles.com",
  2368. "bitupload.com", //"4up.me",
  2369. //"uploadbaz.com"
  2370. ];
  2371. var genType2 = [ "queenshare.com",
  2372. "hulkload.com",
  2373. "amonshare.com", //"edoc.com",
  2374. ];
  2375. //xfilesharing 1.0
  2376. function addGenericType1()
  2377. {
  2378. var i = genType1.length;
  2379. while(i--)
  2380. {
  2381. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2382. {
  2383. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2384. addHost(
  2385. genType1[i].match(/[\w-]+/)[0], //hostname
  2386. regexSafe + "\/\\w+", //linkregex
  2387. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2388. null, //blocksize
  2389. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2390. null, //corrreplwhat
  2391. null, //corrreplwith
  2392. null, //separator
  2393. "http://" + genType1[i] + "/checkfiles.html", //api url
  2394. "op=checkfiles&process=Check+URLs&list=", //postdata
  2395. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2396. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2397. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2398. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2399. null //function delegate
  2400. )
  2401. }
  2402. }
  2403. }
  2404. //xfilesharing 2.0
  2405. function addGenericType2()
  2406. {
  2407. var i = genType2.length;
  2408. while(i--)
  2409. {
  2410. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2411. {
  2412. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2413. addHost(
  2414. genType2[i].match(/[\w-]+/)[0], //hostname
  2415. regexSafe + "\/\\w+", //linkregex
  2416. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2417. null, //blocksize
  2418. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2419. null, //corrreplwhat
  2420. null, //corrreplwith
  2421. null, //separator
  2422. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2423. "op=checkfiles&process=Check+URLs&list=", //postdata
  2424. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2425. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2426. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2427. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2428. null //function delegate
  2429. )
  2430. }
  2431. }
  2432. }
  2433. // TEMPLATE
  2434. // if (GM_getValue("Check__dot_com_links", false))
  2435. // {
  2436. // addHost(
  2437. // "", //hostname
  2438. // "", //linkregex
  2439. // "//a[contains(@href,'.com/')]", //xpath
  2440. // null, //blocksize
  2441. // null, //corrmatch
  2442. // null, //corrreplwhat
  2443. // null, //corrreplwith
  2444. // null, //separator
  2445. // "", //api url
  2446. // "", //postdata
  2447. // /()/, //linkregex
  2448. // //liveregex
  2449. // //deadregex
  2450. // //unavaregex
  2451. // null //function delegate
  2452. // )
  2453. // }
  2454. addGenericType1();
  2455. addGenericType2();
  2456.  
  2457. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2458. {
  2459. addHost(
  2460. "myvdrive,fileserving", //hostname
  2461. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2462. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2463. null, //blocksize
  2464. null, //corrmatch
  2465. null, //corrreplwhat
  2466. null, //corrreplwith
  2467. null, //separator
  2468. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2469. "links=", //postdata
  2470. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2471. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2472. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2473. null, //unavaregex
  2474. null //function delegate
  2475. )
  2476. }
  2477. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2478. {
  2479. addHost(
  2480. "hackerbox", //hostname
  2481. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2482. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2483. null, //blocksize
  2484. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2485. null, //corrreplwhat
  2486. null, //corrreplwith
  2487. null, //separator
  2488. "http://host.hackerbox.org/checkfiles.html", //api url
  2489. "op=checkfiles&process=Check+URLs&list=", //postdata
  2490. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2491. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2492. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2493. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2494. null //function delegate
  2495. )
  2496. }
  2497. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2498. {
  2499. addHost(
  2500. "hellshare", //hostname
  2501. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2502. "//a[contains(@href,'hellshare.')]", //xpath
  2503. 48, //blocksize
  2504. null, //corrmatch
  2505. null, //corrreplwhat
  2506. null, //corrreplwith
  2507. null, //separator
  2508. null, //api url
  2509. null, //postdata
  2510. null, //linkregex
  2511. null, //liveregex
  2512. null, //deadregex
  2513. null, //unavaregex
  2514. hellshareBulkCheck //function delegate
  2515. )
  2516. }
  2517. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2518. {
  2519. addHost(
  2520. "uploadrocket", //hostname
  2521. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2522. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2523. null, //blocksize
  2524. null, //corrmatch
  2525. null, //corrreplwhat
  2526. null, //corrreplwith
  2527. "\n", //separator
  2528. 'http://uploadrocket.net/?op=checkfiles',
  2529. 'op=checkfiles&process=Check+URLs&list=',
  2530. /uploadrocket.net\/(\w+)/,
  2531. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2532. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2533. null,
  2534. null //function delegate
  2535. )
  2536. }
  2537. if (GM_getValue("Check_uploading_dot_site_links", false))
  2538. {
  2539. addHost(
  2540. "uploading", //hostname
  2541. "(?:uploading\\.site)\/\\w+", //linkregex
  2542. "//a[contains(@href,'uploading.site/')]", //xpath
  2543. null, //blocksize
  2544. null, //corrmatch
  2545. null, //corrreplwhat
  2546. null, //corrreplwith
  2547. "\n", //separator
  2548. 'http://uploading.site/?op=checkfiles',
  2549. 'op=checkfiles&process=Check+URLs&list=',
  2550. /uploading.site\/(\w+)/,
  2551. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2552. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2553. null,
  2554. null //function delegate
  2555. )
  2556. }
  2557. if (GM_getValue("Check_1f_dot_al_links", false))
  2558. {
  2559. addHost(
  2560. "1f",
  2561. "(?:1f\\.al)\/d\/\\w+",
  2562. "//a[contains(@href,'1f.al/d/')]",
  2563. 100000, //blocksize
  2564. null, //corrmatch
  2565. null, //corrreplwhat
  2566. null, //corrreplwith
  2567. null, //separator
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. _1falBulkCheck //function delegate
  2575. )
  2576. }
  2577. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2578. {
  2579. addHost(
  2580. "k2s,keep2s,keep2share",
  2581. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2582. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2583. 100000, //blocksize
  2584. null, //corrmatch
  2585. null, //corrreplwhat
  2586. null, //corrreplwith
  2587. null, //separator
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. k2sBulkCheck //function delegate
  2595. )
  2596. }
  2597. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2598. {
  2599. addHost(
  2600. "tezfiles",
  2601. "(?:tezfiles\\.com)\/\\w+",
  2602. "//a[contains(@href,'tezfiles.com')]",
  2603. 100000, //blocksize
  2604. null, //corrmatch
  2605. null, //corrreplwhat
  2606. null, //corrreplwith
  2607. null, //separator
  2608. null,
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. null,
  2614. k2sBulkCheck //function delegate
  2615. )
  2616. }
  2617. if (GM_getValue("Check_fboom_dot_me_links", false))
  2618. {
  2619. addHost(
  2620. "fboom,fileboom",
  2621. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2622. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2623. 100000, //blocksize
  2624. null, //corrmatch
  2625. null, //corrreplwhat
  2626. null, //corrreplwith
  2627. null, //separator
  2628. null,
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. null,
  2634. fboomBulkCheck //function delegate
  2635. )
  2636. }
  2637. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2638. {
  2639. addHost(
  2640. "1fichier,dl4free",
  2641. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2642. "//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/?')]",
  2643. 100000, //blocksize
  2644. null, //corrmatch
  2645. null, //corrreplwhat
  2646. null, //corrreplwith
  2647. null, //separator
  2648. null,
  2649. null,
  2650. null,
  2651. null,
  2652. null,
  2653. null,
  2654. dl4free_1fichier_BulkCheck //function delegate
  2655. )
  2656. }
  2657. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2658. {
  2659. addHost(
  2660. "nitroflare",
  2661. "nitroflare\\.com\/\\w+",
  2662. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2663. 100000, //blocksize
  2664. null, //corrmatch
  2665. null, //corrreplwhat
  2666. null, //corrreplwith
  2667. null, //separator
  2668. null,
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. nitroflareBulkCheck //function delegate
  2675. )
  2676. }
  2677. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2678. {
  2679. addHost(
  2680. "depositfiles,dfiles",
  2681. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2682. "//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/')]",
  2683. 100000, //blocksize
  2684. null, //corrmatch
  2685. null, //corrreplwhat
  2686. null, //corrreplwith
  2687. null, //separator
  2688. null,
  2689. null,
  2690. null,
  2691. null,
  2692. null,
  2693. null,
  2694. depositfilesBulkCheck //function delegate
  2695. )
  2696. }
  2697. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2698. {
  2699. addHost(
  2700. "filesflash", //hostname
  2701. "filesflash\\.com\/\\w+", //linkregex
  2702. "//a[contains(@href,'filesflash.com')]", //xpath
  2703. null, //blocksize
  2704. null, //corrmatch
  2705. /http:\/\//, //corrreplwhat
  2706. '', //corrreplwith
  2707. null, //separator
  2708. 'http://filesflash.com/checklinks.php',
  2709. 'submit=Go&links=',
  2710. /filesflash\.com\/(\w+)/,
  2711. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2712. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2713. null,
  2714. null //function delegate
  2715. )
  2716. }
  2717. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2718. {
  2719. addHost(
  2720. "jumbofiles", //hostname
  2721. "jumbofiles\\.com\/\\w+", //linkregex
  2722. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2723. null, //blocksize
  2724. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2725. null, //corrreplwhat
  2726. null, //corrreplwith
  2727. null, //separator
  2728. "http://jumbofiles.com/checkfiles.html", //api url
  2729. "op=checkfiles&process=Check+URLs&list=", //postdata
  2730. /(jumbofiles\.com\/\w+)/, //linkregex
  2731. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2732. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2733. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2734. null //function delegate
  2735. )
  2736. }*/
  2737. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2738. {
  2739. addHost(
  2740. "edisk", //hostname
  2741. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2742. "//a[contains(@href,'edisk.')]", //xpath
  2743. null, //blocksize
  2744. null, //corrmatch
  2745. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2746. 'edisk.cz/stahni', //corrreplwith
  2747. null, //separator
  2748. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2749. 'submitBtn=Zkontrolovat&checkFiles=',
  2750. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2751. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2752. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2753. null,
  2754. null //function delegate
  2755. )
  2756. }
  2757. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2758. {
  2759. GM_xmlhttpRequest( //age check skip
  2760. {
  2761. method: 'POST',
  2762. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2763. headers: {
  2764. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2765. 'Content-type': 'application/x-www-form-urlencoded',
  2766. 'Referer': ""
  2767. }
  2768. });
  2769. addHost(
  2770. "bezvadata", //hostname
  2771. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2772. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2773. null, //blocksize
  2774. null, //corrmatch
  2775. null, //corrreplwhat
  2776. null, //corrreplwith
  2777. null, //separator
  2778. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2779. 'zkontrolovat=Zkontrolovat&odkazy=',
  2780. /(bezvadata\.cz\/stahnout\/\d+)/,
  2781. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2782. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2783. null,
  2784. null //function delegate
  2785. )
  2786. }
  2787. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2788. {
  2789. addHost(
  2790. "linkcrypt", //hostname
  2791. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2792. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2793. 100000, //blocksize
  2794. null, //corrmatch
  2795. null, //corrreplwhat
  2796. null, //corrreplwith
  2797. null, //separator
  2798. null,
  2799. null,
  2800. null,
  2801. null,
  2802. null,
  2803. null,
  2804. linkcryptBulkCheck //function delegate
  2805. )
  2806. }
  2807. if (GM_getValue("Check_videobb_dot_com_links", false))
  2808. {
  2809. addHost(
  2810. "videobb", //hostname
  2811. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2812. "//a[contains(@href,'videobb.com')]", //xpath
  2813. null, //blocksize
  2814. null, //corrmatch
  2815. /watch_video\.php\?v=/, //corrreplwhat
  2816. 'video/', //corrreplwith
  2817. null, //separator
  2818. 'http://www.videobb.com/link_checker.php',
  2819. 'links=',
  2820. /videobb\.com\/video\/(\w+)/,
  2821. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2822. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2823. null,
  2824. null //function delegate
  2825. )
  2826. }
  2827. if (GM_getValue("Check_filerio_dot_com_links", false))
  2828. {
  2829. addHost(
  2830. "filekeen,filerio", //hostname
  2831. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2832. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2833. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2834. null, //blocksize
  2835. null, //corrmatch
  2836. null, //corrreplwhat
  2837. null, //corrreplwith
  2838. null, //separator
  2839. 'http://filerio.in/checkfiles.html',
  2840. 'op=checkfiles&process=Check+URLs&list=',
  2841. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2842. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2843. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2844. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2845. null //function delegate
  2846. )
  2847. }
  2848. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2849. {
  2850. addHost(
  2851. "share-online,egoshare", //hostname
  2852. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2853. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2854. null, //blocksize
  2855. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2856. null, //corrreplwhat
  2857. null, //corrreplwith
  2858. "\n", //separator
  2859. 'http://api.share-online.biz/linkcheck.php',
  2860. 'links=',
  2861. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2862. /\w+;OK/g,
  2863. /\w+;(?:NOTFOUND|DELETED)/g,
  2864. null,
  2865. null //function delegate
  2866. )
  2867. }
  2868. if (GM_getValue("Check_oboom_dot_com_links", false))
  2869. {
  2870. addHost(
  2871. "oboom", //hostname
  2872. "oboom\\.com\/#?\\w{8}", //linkregex
  2873. "//a[contains(@href,'oboom.com/')]", //xpath
  2874. null, //blocksize
  2875. /oboom\.com\/#?(\w{8})/, //corrmatch
  2876. null, //corrreplwhat
  2877. null, //corrreplwith
  2878. null, //separator
  2879. null,
  2880. null,
  2881. null,
  2882. null, //liveregex
  2883. null, //deadregex
  2884. null,
  2885. oboomBulk //function delegate
  2886. )
  2887. }
  2888. if (GM_getValue("Check_mega_dot_nz_links", false))
  2889. {
  2890. addHost(
  2891. "mega",
  2892. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2893. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2894. 100000, //blocksize
  2895. null, //corrmatch
  2896. null, //corrreplwhat
  2897. null, //corrreplwith
  2898. null, //separator
  2899. null,
  2900. null,
  2901. null,
  2902. null,
  2903. null,
  2904. null,
  2905. megaBulkCheck //function delegate
  2906. )
  2907. }
  2908.  
  2909. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2910.  
  2911. if (GM_getValue("Check_extabit_dot_com_links", false))
  2912. {
  2913. addHost(
  2914. "extabit", //hostname
  2915. "extabit\\.com\/file\/\\w+", //linkregex
  2916. "//a[contains(@href,'extabit.com')]", //xpath
  2917. null, //blocksize
  2918. null, //corrmatch
  2919. null, //corrreplwhat
  2920. null, //corrreplwith
  2921. "\n", //separator
  2922. "http://extabit.com/linkchecker.jsp", //api url
  2923. "url=", //postdata
  2924. /extabit\.com\/(file\/\w+)/, //linkregex
  2925. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2926. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2927. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2928. extabitBulkCheck //function delegate
  2929. )
  2930. }
  2931. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2932. {
  2933. addHost(
  2934. "junocloud", //hostname
  2935. "junocloud\\.me\/\\w+", //linkregex
  2936. "//a[contains(@href,'junocloud.me')]", //xpath
  2937. null, //blocksize
  2938. null, //corrmatch
  2939. null, //corrreplwhat
  2940. null, //corrreplwith
  2941. "\n", //separator
  2942. "http://junocloud.me/checkfiles.html", //api url
  2943. "op=checkfiles&process=Check+URLs&list=", //postdata
  2944. /(junocloud\.me\/\w+)/, //linkregex
  2945. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2946. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2947. null, //unavaregex
  2948. null //function delegate
  2949. )
  2950. } */
  2951. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2952. {
  2953. addHost(
  2954. "webshare", //hostname
  2955. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2956. "//a[contains(@href,'webshare.cz')]", //xpath
  2957. 100000, //blocksize
  2958. null, //corrmatch
  2959. null, //corrreplwhat
  2960. null, //corrreplwith
  2961. null, //separator
  2962. null, //api url
  2963. null, //postdata
  2964. null, //linkregex
  2965. null, //liveregex
  2966. null, //deadregex
  2967. null, //unavaregex
  2968. webshareBulkCheck //function delegate
  2969. )
  2970. }
  2971. /////////////////////////////
  2972. // Common function delegate to send links to get checked by host linkchecker
  2973. /////////////////////////////
  2974. // If you define a new delegate, you may use following properties
  2975. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2976. // this.apiUrl [string] API or web linkchecker URL
  2977. // this.postData [string] POSTDATA for POST request
  2978. // this.resLiveRegex [regex] matches live substrings in the request response
  2979. // this.resDeadRegex [regex] matches dead substrings in the request response
  2980. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2981. //
  2982. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2983. //
  2984. // See the code below for standard bulkcheck handling reference.
  2985. //////////////////////////////
  2986. function genBulkCheck()
  2987. {
  2988. var blockIdx = this.links.length;
  2989. while (blockIdx--)
  2990. {
  2991. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2992. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2993. }
  2994. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2995. {
  2996. GM_xmlhttpRequest(
  2997. {
  2998. method: 'POST',
  2999. url: api,
  3000. headers: {
  3001. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3002. 'Content-type': 'application/x-www-form-urlencoded',
  3003. 'Referer': api,
  3004. 'X-Requested-With': 'XMLHttpRequest'
  3005. },
  3006. data: postData + encodeURIComponent(links),
  3007. onload: function (result)
  3008. {
  3009. var res = result.responseText;
  3010. // GM_log(res);
  3011. var i;
  3012.  
  3013. var livelinks = res.match(liveRegex);
  3014. var deadlinks = res.match(deadRegex);
  3015. // GM_log(livelinks);
  3016. // GM_log(deadlinks);
  3017. if (livelinks != null)
  3018. {
  3019. i = livelinks.length - 1;
  3020. do
  3021. {
  3022. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3023. }
  3024. while (i--);
  3025. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3026. }
  3027.  
  3028. if (deadlinks != null)
  3029. {
  3030. i = deadlinks.length - 1;
  3031. do
  3032. {
  3033. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3034. }
  3035. while (i--);
  3036. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3037. }
  3038.  
  3039. if (unavaRegex != null)
  3040. {
  3041. var unavalinks = res.match(unavaRegex);
  3042. if (unavalinks)
  3043. {
  3044. i = unavalinks.length - 1;
  3045. do
  3046. {
  3047. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3048. }
  3049. while (i--);
  3050. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3051. }
  3052. }
  3053. }
  3054. });
  3055. }
  3056. }
  3057. //specialized bulkchecking handlers follow
  3058. function webshareBulkCheck()
  3059. {
  3060. var arr = this.links[0].split("\r\n");
  3061. var i = arr.length;
  3062. while(i--)
  3063. {
  3064. postRequest(arr[i]);
  3065. }
  3066. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3067. function postRequest(wsLink)
  3068. {
  3069. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3070. GM_xmlhttpRequest(
  3071. {
  3072. method: 'POST',
  3073. url: "http://webshare.cz/api/file_info/",
  3074. headers: {
  3075. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3076. 'Content-type': 'application/x-www-form-urlencoded',
  3077. 'Referer': "",
  3078. },
  3079. data: "wst=&ident=" + id,
  3080. onload: function (result)
  3081. {
  3082. var res = result.responseText;
  3083. if (res.match(/<name>.+?<\/name>/))
  3084. {
  3085. DisplayTheCheckedLinks([id], 'alive_link');
  3086. }
  3087. else
  3088. {
  3089. DisplayTheCheckedLinks([id], 'adead_link');
  3090. }
  3091. }
  3092. });
  3093. }
  3094. }
  3095. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3096. //extabit also doesn't like requests in fast succession, so some delays are added.
  3097. function extabitBulkCheck()
  3098. {
  3099. var timeoutDelay = 0;
  3100. var blockIdx = this.links.length;
  3101. while (blockIdx--)
  3102. {
  3103. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3104. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3105. }
  3106. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3107. {
  3108. GM_xmlhttpRequest(
  3109. {
  3110. method: 'POST',
  3111. url: api,
  3112. headers: {
  3113. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3114. 'Content-type': 'application/x-www-form-urlencoded',
  3115. 'Referer': api,
  3116. 'X-Requested-With': 'XMLHttpRequest'
  3117. },
  3118. data: postData + encodeURIComponent(links),
  3119. onload: function (result)
  3120. {
  3121. var res = result.responseText;
  3122. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3123. {
  3124. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3125. {
  3126. //GM_log(tryID + ': ' + link);
  3127. GM_xmlhttpRequest(
  3128. {
  3129. method: 'GET',
  3130. url: link,
  3131. 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': ""},
  3132. onload: function(result2)
  3133. {
  3134. var res2 = result2.responseText;
  3135. var res2Status = result.status;
  3136. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3137. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3138. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3139. {
  3140. if (tryID < 7)
  3141. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3142. else
  3143. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3144. }
  3145. }
  3146. });
  3147. }
  3148. //split the hrefs and check them one by one
  3149. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3150. links = links.split('\n');
  3151. var i = links.length;
  3152. while (i--)
  3153. {
  3154. if (links[i])
  3155. {
  3156. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3157. timeoutDelay += 500;
  3158. }
  3159. }
  3160. return;
  3161. }
  3162. var i;
  3163.  
  3164. var livelinks = res.match(liveRegex);
  3165. var deadlinks = res.match(deadRegex);
  3166. if (livelinks != null)
  3167. {
  3168. i = livelinks.length - 1;
  3169. do
  3170. {
  3171. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3172. }
  3173. while (i--);
  3174. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3175. }
  3176.  
  3177. if (deadlinks != null)
  3178. {
  3179. i = deadlinks.length - 1;
  3180. do
  3181. {
  3182. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3183. }
  3184. while (i--);
  3185. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3186. }
  3187.  
  3188. if (unavaRegex != null)
  3189. {
  3190. var unavalinks = res.match(unavaRegex);
  3191. if (unavalinks)
  3192. {
  3193. i = unavalinks.length - 1;
  3194. do
  3195. {
  3196. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3197. }
  3198. while (i--);
  3199. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3200. }
  3201. }
  3202. }
  3203. });
  3204. }
  3205. }
  3206. function _1falBulkCheck()
  3207. {
  3208. var arr = this.links[0].split("\r\n");
  3209. var i = arr.length;
  3210. c=0;
  3211. arrIDs=[];
  3212. while(i--)
  3213. {
  3214. id = arr[i].match(/\/d\/(\w+)/)[1];
  3215.  
  3216. _1falalreadyexist=false;
  3217. for (j=0;j<arrIDs.length;j++)
  3218. {
  3219. if (arrIDs[j]==id)
  3220. {
  3221. _1falalreadyexist=g
  3222. break;
  3223. }
  3224. }
  3225. if (_1falalreadyexist) continue;
  3226. arrIDs.push(id);
  3227. c++;
  3228. setTimeout(_1falRequest,c*500,arr[i]);
  3229. }
  3230. }
  3231. function _1falRequest(_1falLink)
  3232. {
  3233. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3234. GM_xmlhttpRequest(
  3235. {
  3236. method: 'GET',
  3237. url: _1falLink,
  3238. headers: {
  3239. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3240. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3241. 'Referer': 'http://www.planetsuzy.org/'
  3242. },
  3243. onload: function (result)
  3244. {
  3245. var res = result.responseText;
  3246. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3247. if (FAarr!=null)
  3248. {
  3249. FALink=FAarr[1];
  3250. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3251. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3252. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3253. GM_xmlhttpRequest(
  3254. {
  3255. method: 'POST',
  3256. url: FALink,
  3257. headers: {
  3258. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3259. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3260. 'Content-Type': 'application/x-www-form-urlencoded',
  3261. 'Referer': _1falLink
  3262. },
  3263. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3264. onload: function (_2ndresult)
  3265. {
  3266. var newres = _2ndresult.responseText;
  3267. FAalivelink=new RegExp("method_free");
  3268. if (FAalivelink.test(newres))
  3269. {
  3270. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3271. return;
  3272. }
  3273. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3274. if (FAdeadlink.test(newres))
  3275. {
  3276. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3277. return;
  3278. }
  3279. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3280. return;
  3281. }
  3282. });
  3283. return;
  3284. }
  3285. else
  3286. {
  3287. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3288. return;
  3289. }
  3290. },
  3291. onerror: function ()
  3292. {
  3293. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3294. return;
  3295. }
  3296. });
  3297. }
  3298. function k2sBulkCheck()
  3299. {
  3300. var arr = this.links[0].split("\r\n");
  3301. var i = arr.length;
  3302. c=0;
  3303. arrIDs=[];
  3304. while(i--)
  3305. {
  3306. id = arr[i].match(/\/file\/(\w+)/)[1];
  3307. if (id=='info')
  3308. {
  3309. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3310. continue;
  3311. }
  3312. k2salreadyexist=false;
  3313. for (j=0;j<arrIDs.length;j++)
  3314. {
  3315. if (arrIDs[j]==id)
  3316. {
  3317. k2salreadyexist=g
  3318. break;
  3319. }
  3320. }
  3321. if (k2salreadyexist) continue;
  3322. arrIDs.push(id);
  3323. c++;
  3324. setTimeout(k2sRequest,c*500,arr[i]);
  3325. }
  3326. }
  3327. function k2sRequest(K2SLink)
  3328. {
  3329. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3330. GM_xmlhttpRequest(
  3331. {
  3332. method: 'GET',
  3333. url: K2SLink,
  3334. headers: {
  3335. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3336. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3337. 'Referer': ''
  3338. },
  3339. onload: function (result)
  3340. {
  3341. var res = result.responseText;
  3342. K2Dom='k2s.cc';
  3343. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3344. K2SLink2='http://'+K2Dom+'/file/'+id;
  3345.  
  3346. 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'))
  3347. {
  3348. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3349. return;
  3350. }
  3351. if (res.match('method="post">Displaying'))
  3352. {
  3353. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3354. return;
  3355. }
  3356. if (res.match('Premium only|only for premium members'))
  3357. {
  3358. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3359. return;
  3360. }
  3361. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3362. {
  3363. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3364. slID=slow_id.exec(res)[1];
  3365. GM_xmlhttpRequest(
  3366. {
  3367. method: 'POST',
  3368. url: K2SLink2,
  3369. headers: {
  3370. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3371. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3372. 'Content-Type': 'application/x-www-form-urlencoded',
  3373. 'Referer': K2SLink
  3374. },
  3375. data: 'slow_id='+slID+'&yt0=',
  3376. onload: function (result)
  3377. {
  3378. var newres = result.responseText;
  3379. newoversizedtest=new RegExp("Free user can't download large files.");
  3380. if (newoversizedtest.test(newres))
  3381. {
  3382. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3383. return;
  3384. }
  3385. else
  3386. {
  3387. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3388. return;
  3389. }
  3390. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3391. return;
  3392. }
  3393. });
  3394. /////////////////////end additional check for oversized links
  3395. return;
  3396. }
  3397. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3398. return;
  3399. },
  3400. onerror: function ()
  3401. {
  3402. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3403. return;
  3404. }
  3405. });
  3406. }
  3407. function fboomBulkCheck()
  3408. {
  3409. var arr = this.links[0].split("\r\n");
  3410. var i = arr.length;
  3411. c=0;
  3412. arrIDs=[];
  3413. while(i--)
  3414. {
  3415. id = arr[i].match(/\/file\/(\w+)/)[1];
  3416. if (id=='info')
  3417. {
  3418. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3419. continue;
  3420. }
  3421. fbalreadyexist=false;
  3422. for (j=0;j<arrIDs.length;j++)
  3423. {
  3424. if (arrIDs[j]==id)
  3425. {
  3426. fbalreadyexist=true;
  3427. break;
  3428. }
  3429. }
  3430. if (fbalreadyexist) continue;
  3431. arrIDs.push(id);
  3432. c++;
  3433. setTimeout(fboomRequest,c*500,arr[i]);
  3434. }
  3435. }
  3436. function fboomRequest(FBoomLink)
  3437. {
  3438. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3439. FBoomLink2='http://fboom.me/file/'+id;
  3440. GM_xmlhttpRequest(
  3441. {
  3442. method: 'GET',
  3443. url: FBoomLink,
  3444. headers: {
  3445. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3446. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3447. 'Referer': ''
  3448. },
  3449. onload: function (result)
  3450. {
  3451. var res = result.responseText;
  3452. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3453. {
  3454. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3455. return;
  3456. }
  3457. if (res.match('method="post">Displaying'))
  3458. {
  3459. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3460. return;
  3461. }
  3462. if (res.match('only for premium members'))
  3463. {
  3464. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3465. return;
  3466. }
  3467. if (res.match('id="download-free" href="#"'))
  3468. {
  3469. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3470. slID=slow_id.exec(res)[1];
  3471. GM_xmlhttpRequest(
  3472. {
  3473. method: 'POST',
  3474. url: FBoomLink2,
  3475. headers: {
  3476. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3477. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3478. 'Content-Type': 'application/x-www-form-urlencoded',
  3479. 'Referer': FBoomLink
  3480. },
  3481. data: 'slow_id='+slID,
  3482. onload: function (result)
  3483. {
  3484. var newres = result.responseText;
  3485. newoversizedtest=new RegExp("Downloading is not possible");
  3486. if (newoversizedtest.test(newres))
  3487. {
  3488. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3489. return;
  3490. }
  3491. else
  3492. {
  3493. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3494. return;
  3495. }
  3496. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3497. return;
  3498. }
  3499. });
  3500. /////////////////////end additional check for oversized links
  3501. return;
  3502. }
  3503. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3504. return;
  3505. },
  3506. onerror: function ()
  3507. {
  3508. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3509. return;
  3510. }
  3511. });
  3512. }
  3513. function dl4free_1fichier_BulkCheck()
  3514. {
  3515. var arr = this.links[0].split("\r\n");
  3516. var i = arr.length;
  3517. while(i--)
  3518. {
  3519. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3520. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3521. gethead_dl4free_1fichier(arr[i]);
  3522. }
  3523. }
  3524. function gethead_dl4free_1fichier(link)
  3525. {
  3526. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3527. GM_xmlhttpRequest(
  3528. {
  3529. method: 'HEAD',
  3530. url: link,
  3531. headers: {
  3532. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3533. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3534. 'Referer': ''
  3535. },
  3536. onload: function (result)
  3537. {
  3538. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3539. {
  3540. DisplayTheCheckedLinks([id], 'alive_link');
  3541. return;
  3542. }
  3543. else
  3544. {
  3545. getlink_dl4free_1fichier(link);
  3546. }
  3547. return;
  3548. },
  3549. onerror: function ()
  3550. {
  3551. DisplayTheCheckedLinks([id], 'unava_link');
  3552. }
  3553. });
  3554. }
  3555. function getlink_dl4free_1fichier(link)
  3556. {
  3557. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3558. GM_xmlhttpRequest(
  3559. {
  3560. method: 'GET',
  3561. url: link,
  3562. headers: {
  3563. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3564. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3565. 'Referer': ''
  3566. },
  3567. onload: function (result)
  3568. {
  3569. var res = result.responseText;
  3570. 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');
  3571. if (deadRegex.test(res))
  3572. {
  3573. DisplayTheCheckedLinks([id], 'adead_link');
  3574. return;
  3575. }
  3576. premiumRegex=new RegExp('only for premium users');
  3577. if (premiumRegex.test(res))
  3578. {
  3579. DisplayTheCheckedLinks([id], 'prem_link');
  3580. return;
  3581. }
  3582. 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="');
  3583. if (liveRegex.test(res))
  3584. {
  3585. DisplayTheCheckedLinks([id], 'alive_link');
  3586. return;
  3587. }
  3588. DisplayTheCheckedLinks([id], 'unava_link');
  3589. },
  3590. onerror: function ()
  3591. {
  3592. DisplayTheCheckedLinks([id], 'unava_link');
  3593. }
  3594. });
  3595. }
  3596. function nitroflareBulkCheck()
  3597. {
  3598. var arr = this.links[0].split("\r\n");
  3599. var i = arr.length;
  3600. while(i--)
  3601. {
  3602. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3603. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3604. NitroFlareRequest(arr[i]);
  3605. }
  3606. }
  3607. function NitroFlareRequest(NFLink)
  3608. {
  3609. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3610. GM_xmlhttpRequest(
  3611. {
  3612. method: "GET",
  3613. url: NFLink,
  3614. headers: {
  3615. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3616. 'Content-Type': 'application/x-www-form-urlencoded',
  3617. 'Referer': ""
  3618. },
  3619. onload: function (result)
  3620. {
  3621. var res = result.responseText;
  3622. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3623. {
  3624. DisplayTheCheckedLinks([NFID], 'adead_link');
  3625. return;
  3626. }
  3627. if (res.match('Report this file<\/a>'))
  3628. {
  3629. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3630. sizearr=measureRegex.exec(res);
  3631. if (sizearr[2]=='GB')
  3632. {
  3633. if (parseFloat(sizearr[1])>1)
  3634. {
  3635. DisplayTheCheckedLinks([NFID], 'prem_link');
  3636. }
  3637. else
  3638. {
  3639. DisplayTheCheckedLinks([NFID], 'alive_link');
  3640. }
  3641. }
  3642. else
  3643. {
  3644. DisplayTheCheckedLinks([NFID], 'alive_link');
  3645. }
  3646. return;
  3647. }
  3648. DisplayTheCheckedLinks([NFID], 'unava_link');
  3649. }
  3650. });
  3651. }
  3652. function depositfilesBulkCheck()
  3653. {
  3654. var arr = this.links[0].split("\r\n");
  3655. var i = arr.length;
  3656. var seqno = Math.floor(Math.random()*1000000000);
  3657. while(i--)
  3658. {
  3659. DFpostRequest(arr[i]);
  3660. }
  3661. }
  3662. function DFpostRequest(DFLink)
  3663. {
  3664. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3665. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3666. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3667. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3668. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3670. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3671. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3672. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3673. GM_xmlhttpRequest(
  3674. {
  3675. method: "GET",
  3676. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3677. headers: {
  3678. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3679. 'Content-Type': 'application/x-www-form-urlencoded',
  3680. 'Referer': ""
  3681. },
  3682. onload: function (result)
  3683. {
  3684. var res = result.responseText;
  3685. if (res.match('(?:no_file|file_ban)'))
  3686. {
  3687. DisplayTheCheckedLinks([id], 'adead_link');
  3688. return;
  3689. }
  3690. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3691. {
  3692. DisplayTheCheckedLinks([id], 'alive_link');
  3693. return;
  3694. }
  3695. DisplayTheCheckedLinks([id], 'unava_link');
  3696. }
  3697. });
  3698. }
  3699.  
  3700. function megaBulkCheck()
  3701. {
  3702. var arr = this.links[0].split("\r\n");
  3703. var i = arr.length;
  3704. var seqno = Math.floor(Math.random()*1000000000);
  3705. while(i--)
  3706. {
  3707. postRequest(arr[i]);
  3708. }
  3709. function postRequest(megaLink)
  3710. {
  3711. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3712. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3713. if (id=='F')
  3714. {
  3715. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3716. DisplayTheCheckedLinks([id], 'unava_link');
  3717. }
  3718. else
  3719. GM_xmlhttpRequest(
  3720. {
  3721. method: "POST",
  3722. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3723. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3724. headers: {
  3725. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3726. 'Content-Type': 'application/xml',
  3727. 'Referer': "https://mega.co.nz/"
  3728. },
  3729. onload: function (result)
  3730. {
  3731. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3732. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3733. {
  3734.  
  3735. DisplayTheCheckedLinks([id], 'adead_link');
  3736. }
  3737. if (res.at)
  3738. {
  3739. DisplayTheCheckedLinks([id], 'alive_link');
  3740. }
  3741. if (res.e == "ETEMPUNAVAIL")
  3742. {
  3743. DisplayTheCheckedLinks([id], 'unava_link');
  3744. }
  3745. }
  3746. });
  3747. }
  3748.  
  3749. }
  3750.  
  3751. function oboomBulk() {
  3752. var a = [], b = [], c = [];
  3753. var array = this.links;
  3754.  
  3755. GM_xmlhttpRequest({
  3756. method: 'GET',
  3757. url: 'https://www.oboom.com/1/guestsession',
  3758. headers: {
  3759. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3760. 'Content-type': 'application/x-www-form-urlencoded',
  3761. 'Referer': 'https://www.oboom.com',
  3762. 'X-Requested-With': 'XMLHttpRequest'
  3763. },
  3764. onload: function(result) {
  3765. var blockIdx = array.length;
  3766. var token = JSON.parse(result.responseText)[1];
  3767. while (blockIdx--) {
  3768. startCheck(array[blockIdx].split('\r\n'), token);
  3769. }
  3770. }
  3771. });
  3772.  
  3773. function startCheck(links, token) {
  3774. GM_xmlhttpRequest({
  3775. method: 'POST',
  3776. url: "https://api.oboom.com/1/info",
  3777. headers: {
  3778. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3779. 'Content-type': 'application/x-www-form-urlencoded',
  3780. 'Referer': 'https://www.oboom.com/',
  3781. 'X-Requested-With': 'XMLHttpRequest'
  3782. },
  3783. data: "token=" + token + "&items=" + links.join(","),
  3784. onload: function(result) {
  3785. var res = JSON.parse(result.responseText)[1];
  3786. var i = res.length, s;
  3787.  
  3788. while (i--) {
  3789. s = res[i].state;
  3790. if (s == 'online') a.push(res[i].id);
  3791. 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);
  3792. else c.push(res[i].id);
  3793. }
  3794.  
  3795. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3796. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3797. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3798. }
  3799. });
  3800. }
  3801. }
  3802. function linkcryptBulkCheck()
  3803. {
  3804. var arr = this.links[0].split("\r\n");
  3805. var i = arr.length;
  3806. while(i--)
  3807. {
  3808. postRequest(arr[i]);
  3809. }
  3810. function postRequest(lcLink)
  3811. {
  3812. GM_xmlhttpRequest(
  3813. {
  3814. method: "GET",
  3815. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3816. headers: {
  3817. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3818. 'Accept': 'text/xml',
  3819. 'Referer': ""
  3820. },
  3821. onload: function (result)
  3822. {
  3823. var res = result.responseText;
  3824. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3825. {
  3826. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3827. return;
  3828. }
  3829. if (res.match(/folderStatus>1/)) //Online status
  3830. {
  3831. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3832. }
  3833. else
  3834. {
  3835. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3836. }
  3837. }
  3838. });
  3839. }
  3840. }
  3841.  
  3842. /* function megashareBulkCheck()
  3843. {
  3844. var arr = this.links[0].split("\r\n");
  3845. var i = arr.length;
  3846. while(i--)
  3847. {
  3848. postRequest(arr[i]);
  3849. }
  3850. function postRequest(msLink)
  3851. {
  3852. GM_xmlhttpRequest(
  3853. {
  3854. method: "GET",
  3855. url: msLink,
  3856. headers: {
  3857. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3858. 'Content-Type': 'application/x-www-form-urlencoded',
  3859. 'Referer': ""
  3860. },
  3861. onload: function (result)
  3862. {
  3863. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3864. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3865. if ((prZVal == null) || (btn3Name == null))
  3866. {
  3867. return;
  3868. }
  3869. GM_xmlhttpRequest(
  3870. {
  3871. method: "POST",
  3872. url: msLink,
  3873. headers: {
  3874. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3875. 'Content-Type': 'application/x-www-form-urlencoded',
  3876. 'Referer': ""
  3877. },
  3878. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3879. onload: function (result)
  3880. {
  3881. var res = result.responseText;
  3882. if (res.match(/<div id="err">/))
  3883. {
  3884. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3885. }
  3886. else
  3887. {
  3888. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3889. }
  3890. }
  3891. });
  3892. }
  3893. });
  3894. }
  3895. } */
  3896. function hellshareBulkCheck()
  3897. {
  3898. var links = this.links;
  3899. GM_xmlhttpRequest(
  3900. {
  3901. method: "GET",
  3902. url: 'http://www.hellshare.com',
  3903. headers: {
  3904. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3905. 'Accept': 'text/xml',
  3906. 'Referer': ""
  3907. },
  3908. onload: function (result)
  3909. {
  3910. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3911.  
  3912. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3913. if (domain == 'sk')
  3914. loc = 'check=Skontrolova%C5%A5&links=';
  3915. if (domain == 'com')
  3916. loc = 'check=Check+availability&links=';
  3917. if (domain == 'hu')
  3918. loc = 'check=Kontrol%C3%A1lj&links=';
  3919. if (domain == 'pl')
  3920. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3921.  
  3922. genBulkCheck.call({ links: links,
  3923. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3924. postData: loc,
  3925. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3926. 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,
  3927. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3928. resUnavaRegex: null
  3929. });
  3930. }
  3931. });
  3932. }
  3933. /**
  3934. * Displays check result
  3935. * @param {Array} Array of links or link fragments.
  3936. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3937. */
  3938. function DisplayTheCheckedLinks(links, resultStatus)
  3939. {
  3940. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3941. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3942. if (Do_not_linkify_DL_links)
  3943. { //TODO into separate jQuery function
  3944. $links.replaceWith(function(){
  3945. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3946. });
  3947. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3948. }
  3949. $links.removeClass().addClass(resultStatus);
  3950. $links.each(function() {
  3951. this.href = Ref_anonymize_service + $(this).attr("href");
  3952. });
  3953. switch(resultStatus)
  3954. {
  3955. case "alive_link": cLinksAlive += $links.length;
  3956. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3957. break;
  3958. case "adead_link": cLinksDead += $links.length;
  3959. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3960. break;
  3961. case "prem_link": cLinksprem += $links.length;
  3962. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3963. break;
  3964. case "unava_link": cLinksUnava += $links.length; break;
  3965. default:
  3966. }
  3967. cLinksProcessed += $links.length;
  3968. }
  3969. }
  3970. // starts bulkchecking
  3971. //
  3972. // params
  3973. // filterId [string] restricts link detection with passed id attribute
  3974. function startBulkCheck(filterId)
  3975. {
  3976. var cHosts = bulkHosts.length;
  3977. if (cHosts == 0) //no filehostings selected
  3978. return;
  3979. // STEP 1 linkify the links
  3980. var linkifyRegex = '';
  3981. var hostIdx = cHosts;
  3982. while(hostIdx--)
  3983. {
  3984. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3985. }
  3986. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3987. linkify(linkifyRegex);
  3988. //
  3989. //STEP 2 detect link objects
  3990. var xpathAll = '';
  3991. var hostIdx = cHosts;
  3992. while(hostIdx--)
  3993. {
  3994. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3995. }
  3996. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3997. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3998. if (filterId != null) //insert id restriction in the xpath
  3999. {
  4000. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4001. }
  4002. else
  4003. {
  4004. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4005. }
  4006. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4007. if (filterId == null)
  4008. {
  4009. cLinksTotal += links.snapshotLength;
  4010. }
  4011. //
  4012. //STEP 3 bind links with hostings
  4013. var linkIdx = links.snapshotLength;
  4014. var href = null;
  4015. if (linkIdx == 0) // no links found
  4016. return;
  4017. var name;
  4018. while (linkIdx--)
  4019. {
  4020. href = links.snapshotItem(linkIdx).href;
  4021. try // DO NOT REMOVE, filters crap that went through xpath detection
  4022. {
  4023. name = gimmeHostName(href);
  4024. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4025. bulkHostNames[name].links.push(href);
  4026. }
  4027. catch(e)
  4028. {
  4029.  
  4030. }
  4031. }
  4032. //
  4033. //STEP 4 process the links for each filehosting
  4034. var hostIdx = cHosts;
  4035. var host;
  4036. var m,n;
  4037. var arr;
  4038. while (hostIdx--)
  4039. {
  4040. host = bulkHosts[hostIdx];
  4041. arr = host.links;
  4042. if (arr.length == 0) //no links for this hosting, skip
  4043. {
  4044. continue;
  4045. }
  4046. //links match corrections
  4047. if (host.corrMatch != null)
  4048. {
  4049. var idx = arr.length;
  4050. while (idx--)
  4051. {
  4052. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4053. }
  4054. }
  4055. //links replace corrections
  4056. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4057. {
  4058. var idx = arr.length;
  4059. while (idx--)
  4060. {
  4061. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4062. }
  4063. }
  4064. m = arr.length;
  4065. n = host.blockSize;
  4066. if (m > n)
  4067. {
  4068. //insert block separators (RAND_STRING) into the array
  4069. for(var i = n; i < m; i += n + 1)
  4070. {
  4071. arr.splice(i, 0, RAND_STRING);
  4072. }
  4073. }
  4074.  
  4075. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4076. apiUrl: host.apiUrl,
  4077. postData: host.postData,
  4078. resLinkRegex: host.resLinkRegex,
  4079. resLiveRegex: host.resLiveRegex,
  4080. resDeadRegex: host.resDeadRegex,
  4081. resUnavaRegex: host.resUnavaRegex
  4082. });
  4083. //clean up
  4084. arr.length = 0;
  4085. }
  4086. //
  4087.  
  4088. function gimmeHostName(link)
  4089. {
  4090. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4091. }
  4092. }
  4093. function checkLinks(filterId)
  4094. {
  4095. startBulkCheck(filterId);
  4096. start(filterId);
  4097. }
  4098.  
  4099. /**
  4100. * Initialises progress box including event binding and CSS
  4101. */
  4102. function initProgressBox()
  4103. {
  4104. if ($("#warlc-progressbox").length > 0)
  4105. return;
  4106. //progressbox css change size and color of progress box
  4107. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4108. "; opacity:" + (Progress_box_opacity / 100) +
  4109. "; bottom:" + Processbox_Pos_Y +
  4110. "%; left:" + Processbox_Pos_X +
  4111. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4112. \
  4113. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4114. \
  4115. .warlc-progressitem {}\
  4116. \
  4117. .alive {color:#00FF7F; " + Live_links_color +
  4118. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4119. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4120. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4121. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4122. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4123. //
  4124. if (Progressbox_Scaling != 100) {
  4125. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4126. 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
  4127. });
  4128. }
  4129. 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
  4130.  
  4131. GM_addStyle(progressboxCss);
  4132. $('body').append(' <div id="warlc-progressbox">\
  4133. <div class="warlc-progressbar"></div>\
  4134. <span class="warlc-progressitem alive"></span> - \
  4135. <span class="warlc-progressitem dead"></span> - \
  4136. <span class="warlc-progressitem unava"></span> - \
  4137. <span class="warlc-progressitem prem"></span> - \
  4138. <span class="warlc-progressitem processing"></span>\
  4139. </div>');
  4140. $('#warlc-progressbox').hide().click(function(){
  4141. clearInterval(intervalId);
  4142. $(this).hide();
  4143. return false;
  4144. });
  4145. $(".warlc-progressbar").progressbar({complete: function(){
  4146. $(this).fadeOut();
  4147. clearInterval(intervalId); //stop refreshing the stats
  4148. }
  4149. })
  4150. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4151. }
  4152. /**
  4153. * Updates progress data in progress box
  4154. */
  4155. function updateProgress()
  4156. {
  4157. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4158. if (cLinksTotal) // some links were detected on page
  4159. {
  4160. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4161. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4162. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4163. if ((cLinksTotal - cLinksProcessed) == 0)
  4164. {
  4165. $progressItems.first().text(cLinksAlive)
  4166. .next().text(cLinksDead)
  4167. .next().text(cLinksUnava)
  4168. .next().text(cLinksprem)
  4169. .next().remove();
  4170. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4171. $('#warlc-progressbox div:first-child').remove();
  4172. }
  4173. else
  4174. {
  4175. $progressItems.first().text(cLinksAlive)
  4176. .next().text(cLinksDead)
  4177. .next().text(cLinksUnava)
  4178. .next().text(cLinksprem)
  4179. .next().text(cLinksTotal - cLinksProcessed);
  4180. }
  4181. }
  4182. }
  4183.  
  4184. function check_all_links()
  4185. {
  4186. add_WARLC_style();
  4187.  
  4188. if (Show_progress_stats)
  4189. {
  4190. initProgressBox();
  4191. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4192. }
  4193.  
  4194. startBulkCheck(null);
  4195. start(null);
  4196.  
  4197. if (!containers_processed)
  4198. {
  4199. processContainers();
  4200. }
  4201. }
  4202.  
  4203. //Copies all found dead links to clipboard - right now for Scriptish only
  4204. function copy_dead_to_clipboard()
  4205. {
  4206. initClipBoardTools();
  4207.  
  4208. var deadlinksxpath = "//.[@class='adead_link']";
  4209.  
  4210. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4211. var foundlinkstext = '';
  4212.  
  4213. var foundlinkIdx = foundlinks.snapshotLength;
  4214.  
  4215. while(foundlinkIdx--)
  4216. {
  4217. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4218. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4219. }
  4220.  
  4221. GM_setClipboard(foundlinkstext);
  4222. }
  4223. //Copies all found live links to clipboard
  4224. function copy_live_to_clipboard()
  4225. {
  4226. initClipBoardTools();
  4227.  
  4228. var livelinksxpath = "//.[@class='alive_link']";
  4229.  
  4230. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4231. var foundlinks2text = '';
  4232.  
  4233. var foundlink2Idx = foundlinks2.snapshotLength;
  4234.  
  4235. while(foundlink2Idx--)
  4236. {
  4237. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4238. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4239. }
  4240.  
  4241. GM_setClipboard(foundlinks2text);
  4242. }
  4243.  
  4244. function toggle_autocheck()
  4245. {
  4246. var currentState = GM_getValue("Autocheck", false);
  4247. GM_setValue("Autocheck", !currentState);
  4248.  
  4249. if (currentState == true)
  4250. {
  4251. sendMessage('Autocheck disabled', 'red');
  4252. }
  4253. else
  4254. {
  4255. sendMessage('Autocheck enabled', 'SpringGreen');
  4256. }
  4257. }
  4258. function toggle_Enable_Anonymizer()
  4259. {
  4260. var currentState = GM_getValue("Enable_Anonymizer", false);
  4261. GM_setValue("Enable_Anonymizer", !currentState);
  4262.  
  4263. if (currentState == true)
  4264. {
  4265. GM_setValue("Ref_anonymize_service", "");
  4266. sendMessage('Anonymizer Disabled', 'red');
  4267. }
  4268. else
  4269. {
  4270. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4271. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4272. }
  4273. }
  4274.  
  4275. function KeyDownHandler(event)
  4276. {
  4277. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4278. if (event.ctrlKey && event.altKey)
  4279. {
  4280. switch(kcode)
  4281. {
  4282. case 65 : check_all_links(); break;
  4283. case 67 : configuration(); break;
  4284. case 68 : copy_dead_to_clipboard(); break;
  4285. case 76 : copy_live_to_clipboard(); break;
  4286. case 87 : toggle_autocheck(); break;
  4287. case 90 : toggle_Enable_Anonymizer(); break;
  4288. }
  4289. }
  4290. }
  4291.  
  4292. //
  4293. //
  4294. // SCRIPT EXECUTION START POINT
  4295. //
  4296. //
  4297. // Safari specific GM_getResourceText override
  4298. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4299. {
  4300. GM_getResourceText = function(res) {
  4301. var $cssText = GM_getValue("jquery_css", "");
  4302. if ($cssText == "")
  4303. {
  4304. GM_xmlhttpRequest(
  4305. {
  4306. method: 'GET',
  4307. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4308. onload: function (result)
  4309. {
  4310. GM_setValue("jquery_css", result.responseText);
  4311. window.location.reload();
  4312. }
  4313. });
  4314. }
  4315. else
  4316. {
  4317. return $cssText;
  4318. }
  4319. }
  4320. }
  4321. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4322. GM_addStyle(jQueryUICSS);
  4323. //init the stuff
  4324. setVariables();
  4325. initBulkCheck();
  4326. //init info boxes
  4327. messageBox.style.position = 'fixed';
  4328. messageBox.style.top = '20px';
  4329. messageBox.style.left = '10px';
  4330. messageBox.style.opacity = '0.85';
  4331. messageBox.style.background = 'DimGray';
  4332. messageBox.style.fontSize = '36px';
  4333. document.body.appendChild(messageBox);
  4334.  
  4335. //register GM menu commands & keyboard shortcut event handler
  4336. if (Keyboard_functions)
  4337. {
  4338. $(document).keydown(KeyDownHandler);
  4339. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4340. 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);
  4341. }
  4342. else
  4343. {
  4344. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4345. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4346. }
  4347.  
  4348. //start linkchecking
  4349. if (Autocheck)
  4350. {
  4351. $(document).ready(check_all_links);
  4352. }
  4353.  
  4354. //
  4355. //
  4356. // SCRIPT EXECUTION END POINT
  4357. //
  4358. //
  4359.  
  4360. //shows configuration box
  4361. function configuration()
  4362. {
  4363.  
  4364. //prevent multiple creating of config window
  4365. if ($("#hideshow").length)
  4366. {
  4367. $("#hideshow").show();
  4368. return;
  4369. }
  4370.  
  4371. var configcss = '\
  4372. .popup_block .popup fieldset{\
  4373. padding: 1%;\
  4374. border-style: solid;\
  4375. border-width: 1px;\
  4376. border-color: gray;\
  4377. margin-bottom: 1px;\
  4378. }\
  4379. #h3hideshowtitle{\
  4380. font-size: 2em;\
  4381. }\
  4382. #h3hideshow{\
  4383. font-size: 1.5em;\
  4384. }\
  4385. #imghideshow {\
  4386. border: none;\
  4387. }\
  4388. #plusimage{\
  4389. display:inline;\
  4390. }\
  4391. #hideshow {\
  4392. position: fixed;\
  4393. width: 100%;\
  4394. height: 100%;\
  4395. top: 0;\
  4396. left: 0;\
  4397. font-size:12px;\
  4398. z-index:2147483645;\
  4399. text-align:left;\
  4400. }\
  4401. #fade {\
  4402. background: #000;\
  4403. position: fixed;\
  4404. width: 100%;\
  4405. height: 100%;\
  4406. opacity: .80;\
  4407. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4408. left: 0;\
  4409. z-index: 10;\
  4410. }\
  4411. .popup_block {\
  4412. font-family:verdana;\
  4413. color:black;\
  4414. background: #ddd;\
  4415. padding: 10px 20px;\
  4416. border: 2px solid DarkOrange;\
  4417. float: left;\
  4418. width: 700px;\
  4419. position: absolute;\
  4420. top: 7%;\
  4421. left: 50%;\
  4422. bottom: 7%;\
  4423. margin: 0 0 0 -350px;\
  4424. -moz-border-radius:10px;\
  4425. z-index: 100;\
  4426. \
  4427. }\
  4428. .popup_block .popup {\
  4429. float: left;\
  4430. width: 100%;\
  4431. background: #fff;\
  4432. margin: 10px 0;\
  4433. padding: 0px 0 0px;\
  4434. border-left: 1px solid #bbb;\
  4435. border-top: 1px solid #bbb;\
  4436. border-right: 1px solid #bbb;\
  4437. }\
  4438. #h3hideshow{\
  4439. margin: 1px 0 0px;\
  4440. padding: 1px 10px;\
  4441. border-bottom: 1px solid #bbb;\
  4442. font-size: 1.5em;\
  4443. font-weight: normal;\
  4444. cursor:pointer;\
  4445. background:#DDDDDD none repeat scroll 0 0;\
  4446. }\
  4447. #h3hideshow:hover{\
  4448. background:#C0BEBE none repeat scroll 0 0;\
  4449. }\
  4450. #h3hideshowtitle{\
  4451. margin: 2px 0 0px;\
  4452. padding: 7px 10px;\
  4453. border-bottom: 1px solid #bbb;\
  4454. font-size: 1.5em;\
  4455. font-weight: normal;\
  4456. }\
  4457. .popup_block .popup a {\
  4458. color:DarkSkyBlue;\
  4459. text-decoration:none;\
  4460. }\
  4461. .popup p {\
  4462. padding: 1px 10px;\
  4463. margin: 0px 0;\
  4464. -x-system-font:none;\
  4465. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4466. font-size:10pt;\
  4467. font-size-adjust:none;\
  4468. font-stretch:normal;\
  4469. font-style:normal;\
  4470. font-variant:normal;\
  4471. font-weight:normal;\
  4472. line-height:normal;\
  4473. }\
  4474. #sites {\
  4475. padding: 1px 10px;\
  4476. margin: 0px 0;display:inline-block;width:16em;\
  4477. }\
  4478. #dev_ver {\
  4479. color: #00FF00;\
  4480. background: Black;\
  4481. text-align: right;\
  4482. }\
  4483. #sites_suspended {\
  4484. padding: 1px 10px;\
  4485. margin: 0px 0;display:inline-block;width:16em;\
  4486. text-decoration: line-through;\
  4487. }\
  4488. .popup img.cntrl {\
  4489. position: absolute;\
  4490. right: -15px;\
  4491. top: -15px;\
  4492. }\
  4493. #bulk {\
  4494. font-size:8pt;\
  4495. color:orange;\
  4496. padding: 1px 10px;\
  4497. margin: 0px 0;\
  4498. display:inline-block;\
  4499. width:100px;\
  4500. }\
  4501. #note {\
  4502. font-size:7pt;\
  4503. color:gray;\
  4504. padding: 1px 10px;\
  4505. margin: 0px 0;display:inline-block;\
  4506. min-width:100px;\
  4507. }\
  4508. #rednote {\
  4509. font-size:7pt;\
  4510. color:red;\
  4511. padding: 1px 10px;\
  4512. margin: 0px 0;display:inline-block;\
  4513. }\
  4514. #configinfo {\
  4515. font-size:8pt;\
  4516. color:gray;\
  4517. padding: 1px 10px;\
  4518. margin: 0px 0;display:inline-block;width:60em;\
  4519. }\
  4520. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4521. color:black;\
  4522. border-style: solid;\
  4523. border-width: 1px;\
  4524. border-color: gray;\
  4525. }\
  4526. #h3hideshowcontent {\
  4527. min-height:220px;\
  4528. max-height:220px;\
  4529. overflow:auto;\
  4530. display: none;\
  4531. padding: 10px 10px;\
  4532. }\
  4533. #specinfo{\
  4534. font-size:14px;\
  4535. }\
  4536. .warlc-ui-tab {\
  4537. height:300px;\
  4538. overflow:auto;\
  4539. }\
  4540. #warlcsitelist2, #warlcsitelist1 {\
  4541. height:220px;\
  4542. border-top: 1px solid #ddd;\
  4543. padding-top: 5px;\
  4544. overflow:auto;\
  4545. }\
  4546. input:hover+label {\
  4547. background:#F1F77C;\
  4548. font-size:110%;\
  4549. }\
  4550. ';
  4551.  
  4552. GM_addStyle(configcss);
  4553.  
  4554. var customRulesRefHTML =
  4555. '\
  4556. <br>\
  4557. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4558. <b>@keyword</b> <i>parameter</i>\
  4559. <br><br>\
  4560. 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. \
  4561. <br><br>\
  4562. 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.\
  4563. 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.\
  4564. 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.\
  4565. 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,\
  4566. but all commands until the next valid @customrule are ignored.<br><br>\
  4567. Available forms and types:\
  4568. <ul>\
  4569. <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.\
  4570. <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.\
  4571. <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.\
  4572. <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.\
  4573. </ul>\
  4574. Other available commands:<br>\
  4575. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4576. <ul>\
  4577. <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.\
  4578. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4579. <ul>examples:<br>\
  4580. <li>good: <i>filehost.com/download/</i><br>\
  4581. <li>good: <i>download.filehost.net/?d=</i><br>\
  4582. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4583. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4584. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4585. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4586. <li>bad: <i>filehost.com</i> - no slash<br>\
  4587. </ul>\
  4588. \
  4589. <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.\
  4590. 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 \
  4591. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4592. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4593. 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.)\
  4594. Two spaces again match any whitespace.\
  4595. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4596. Two spaces again match any whitespace.\
  4597. <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. \
  4598. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4599. </ul>\
  4600. \
  4601. ';
  4602.  
  4603. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4604. var configurationinnerHTML =
  4605. '<div id="fade"></div>\
  4606. <div class="popup_block">\
  4607. <div class="popup">\
  4608. <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/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ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j6QfOGYAXcDjz55Knv1xVx+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>\
  4610. <div id="warlc-conf-tabs">\
  4611. <ul>\
  4612. <li><a href="#tabs-1">Filehostings</a></li>\
  4613. <li><a href="#tabs-2">Containers</a></li>\
  4614. <li><a href="#tabs-5">Custom rules</a></li>\
  4615. <li><a href="#tabs-3">Settings</a></li>\
  4616. <li><a href="#tabs-4">About</a></li>\
  4617. </ul>\
  4618. <div id="tabs-1" class="warlc-ui-tab">\
  4619. <div class="warlc-ui-buttonset">\
  4620. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4621. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4622. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4623. </div><br>\
  4624. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4625. <div id="warlcsitelist1"><span>Empty</span></div>\
  4626. </div>\
  4627. <div id="tabs-2" class="warlc-ui-tab">\
  4628. <div class="warlc-ui-buttonset">\
  4629. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4630. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4631. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4632. </div><br>\
  4633. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4634. <div id="warlcsitelist2"><span>Empty</span></div>\
  4635. </div>\
  4636. <div id="tabs-5" class="warlc-ui-tab">\
  4637. <div class="warlcsettings">\
  4638. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4639. <br>\
  4640. <div>Edit custom rules: \
  4641. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4642. <div id="customRulesReference" style="display:none;">'
  4643. + customRulesRefHTML + '\
  4644. </div>\
  4645. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4646. </div>\
  4647. </div>\
  4648. </div>\
  4649. <div id="tabs-3" class="warlc-ui-tab">\
  4650. <div class="warlcsettings">\
  4651. <fieldset>\
  4652. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4653. <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>\
  4654. </fieldset>\
  4655. <fieldset>\
  4656. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4657. <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>\
  4658. <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>\
  4659. <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>\
  4660. <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>\
  4661. <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>\
  4662. <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>\
  4663. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4664. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4665. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4666. <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>\
  4667. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4668. <fieldset>\
  4669. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4670. <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>\
  4671. <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>\
  4672. <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>\
  4673. </fieldset>\
  4674. </fieldset>\
  4675. <fieldset>\
  4676. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4677. </fieldset>\
  4678. <fieldset>\
  4679. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4680. </fieldset>\
  4681. <fieldset>\
  4682. <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>\
  4683. </fieldset>\
  4684. <fieldset>\
  4685. <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>\
  4686. </fieldset>\
  4687. <fieldset>\
  4688. <legend>Progress box settings</legend>\
  4689. <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>\
  4690. <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>\
  4691. <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>\
  4692. </fieldset>\
  4693. </div>\
  4694. </div>\
  4695. <div id="tabs-4" class="warlc-ui-tab">\
  4696. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4697. <br />\
  4698. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4699. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4700. <br />\
  4701. <p><b>Currently supported:</b><br>\
  4702. Filehostings: ' + allHostNames.length + '<br />\
  4703. Containers: ' + allContainerNames.length + '<br />\
  4704. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4705. <br />\
  4706. <p><b>Based on:</b><br>\
  4707. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4708. <br />\
  4709. <p><b>Uses:</b></p>\
  4710. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4711. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4712. <br />\
  4713. <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>\
  4714. </div>\
  4715. </div>\
  4716. </div>\
  4717. </div>';
  4718. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4719. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4720. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4721. var elmHostList = document.getElementById("warlcsitelist1");
  4722. var elmContainerList = document.getElementById("warlcsitelist2");
  4723. buildSettings();
  4724. buildSitelist("", allHostNames, elmHostList);
  4725. buildSitelist("", allContainerNames, elmContainerList);
  4726. if (DEBUG_MODE)
  4727. {
  4728. //log all sites availability status
  4729. diagSites();
  4730. }
  4731. //handler for checkbox state change
  4732. function changeConfiguration(e)
  4733. {
  4734. var element = e.target;
  4735.  
  4736. if (element.type == 'checkbox')
  4737. {
  4738. if (element.checked == 1)
  4739. {
  4740. GM_setValue(element.id, true);
  4741. }
  4742. else
  4743. {
  4744. GM_setValue(element.id, false);
  4745. }
  4746.  
  4747. }
  4748. setVariables();
  4749. }
  4750.  
  4751. //Selects all filehosting checkboxes
  4752. function selectAll()
  4753. {
  4754. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4755. .each(function(index, element){GM_setValue(this.id, true)});
  4756. }
  4757.  
  4758. //Deselects all filehosting checkboxes
  4759. function selectNone()
  4760. {
  4761. $(":checkbox:visible:checked").prop("checked",false)
  4762. .each(function(index, element){GM_setValue(this.id, false)});
  4763. }
  4764. //Sets Processbox position setting
  4765. function changeProgBox(event) {
  4766. var setting;
  4767. switch(event.data.set) {
  4768. case "X": setting = "Processbox_Pos_X"; break;
  4769. case "Y": setting = "Processbox_Pos_Y"; break;
  4770. case "Scale": setting = "Progressbox_Scaling"; break;
  4771. }
  4772. var $setting = $("#" + setting);
  4773. var newSet = $setting.val().replace("%", "");
  4774. GM_setValue(setting, newSet);
  4775. }
  4776. //Sets value of Processbox position
  4777. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4778. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4779. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4780.  
  4781. //Inverts filehosting checkboxes selection
  4782. function selectInvert()
  4783. {
  4784. var $checked = $(":checkbox:visible:checked");
  4785. var $unchecked = $(":checkbox:visible:not(:checked)");
  4786. $unchecked.prop("checked",true)
  4787. .each(function(index, element){GM_setValue(this.id, true)});
  4788. $checked.prop("checked",false)
  4789. .each(function(index, element){GM_setValue(this.id, false)});
  4790. }
  4791. //toggles anonymizer on off
  4792. function Enable_Anonymizer()
  4793. {
  4794. var $checked = $(":checkbox:visible:checked");
  4795. var $unchecked = $(":checkbox:visible:not(:checked)");
  4796. $unchecked.prop("checked",true)
  4797. .each(function(index, element){GM_setValue(this.id, true)});
  4798. $checked.prop("checked",false)
  4799. .each(function(index, element){GM_setValue(this.id, false)});
  4800. }
  4801.  
  4802. function changeRefAnonymizer(){
  4803. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4804. }
  4805.  
  4806. //Sets live links color
  4807. function changeColorLive()
  4808. {
  4809. var inColorLive = document.getElementById("inputColorLive");
  4810. inColorLive.style.background = inColorLive.value;
  4811. GM_setValue("Live_links_color", inColorLive.value);
  4812. }
  4813.  
  4814. //Sets dead links color
  4815. function changeColorDead()
  4816. {
  4817. var inColorDead = document.getElementById("inputColorDead");
  4818. inColorDead.style.background = inColorDead.value;
  4819. GM_setValue("Dead_links_color", inColorDead.value);
  4820. }
  4821.  
  4822. //Sets temp. unavailable links color
  4823. function changeColorTemp()
  4824. {
  4825. var inColorTemp = document.getElementById("inputColorTemp");
  4826. inColorTemp.style.background = inColorTemp.value;
  4827. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4828. }
  4829.  
  4830. //Sets temp. unavailable links color
  4831. function changeColorCont()
  4832. {
  4833. var inColorCont = document.getElementById("inputColorCont");
  4834. inColorCont.style.background = inColorCont.value;
  4835. GM_setValue("Container_links_color", inColorCont.value);
  4836. }
  4837. //Sets premium. links color
  4838. function changeColorprem()
  4839. {
  4840. var inColorprem = document.getElementById("inputColorprem");
  4841. inColorprem.style.background = inColorprem.value;
  4842. GM_setValue("Premium_links_color", inColorprem.value);
  4843. }
  4844.  
  4845. //Diagnose sites for availability
  4846. function diagSites()
  4847. {
  4848. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4849.  
  4850. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4851. {
  4852. if (boxes[i].type == "checkbox")
  4853. {
  4854. checkAvailability(boxes[i]);
  4855. }
  4856. }
  4857.  
  4858. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4859.  
  4860. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4861. {
  4862. if (boxes[i].type == "checkbox")
  4863. {
  4864. checkAvailability(boxes[i]);
  4865. }
  4866. }
  4867.  
  4868. function checkAvailability(cbElm)
  4869. {
  4870. var cb = cbElm;
  4871. GM_xmlhttpRequest(
  4872. {
  4873. method: 'HEAD',
  4874. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4875. headers: {
  4876. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4877. 'Accept': 'text/xml',
  4878. 'Referer': ""
  4879. },
  4880. onload: function (result)
  4881. {
  4882. if (result.status != 200)
  4883. {
  4884. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4885. }
  4886. },
  4887. onerror: function (result)
  4888. {
  4889. if (result.status != 200)
  4890. {
  4891. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4892. //Sets Progress_box position setting
  4893. function changeProgBox(event) {
  4894. var setting;
  4895. switch(event.data.set) {
  4896. case "X": setting = "Progress_box_Pos_X"; break;
  4897. case "Y": setting = "Progress_box_Pos_Y"; break;
  4898. case "Scale": setting = "Progress_box_Scaling"; break;
  4899. }
  4900.  
  4901. var $setting = $("#" + setting);
  4902. var newSet = $setting.val().replace("%", "");
  4903. lsSetVal("general", setting, newSet);
  4904. }
  4905.  
  4906. //Sets value of Progress_box position
  4907. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4908. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4909. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4910. }
  4911. }
  4912. });
  4913. }
  4914. }
  4915. function buildSettings()
  4916. {
  4917. $(".warlcsettings :checkbox").each(function(){
  4918. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4919. .click(function(e){
  4920. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4921. setVariables();
  4922. });
  4923. })
  4924. }
  4925. //Dynamic build of host list
  4926. //param search [string] searches for hostnames matching search substring
  4927. //param siteNames [array] array of site names
  4928. //param targetNode [DOM Node] where the list should be built
  4929. // first child node is replaced
  4930. function buildSitelist(search, siteNames, targetNode)
  4931. {
  4932. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4933. var $targetNode = $(targetNode).empty();
  4934. var searchedSite = "";
  4935. $.each(siteNames, function(i, site){
  4936. if (searchedSite = site.match(searchRegex))
  4937. {
  4938. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4939. //ensuring backward compatibility with the rest of code, to be refactored later
  4940. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4941. //
  4942. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4943. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4944. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4945. );
  4946. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4947. .change(changeConfiguration);
  4948. $targetNode.append('<br />');
  4949. }
  4950. });
  4951. $targetNode.append("<hr>");
  4952. //obsolete hosts checkbox
  4953. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4954. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4955. .change(changeConfiguration);
  4956. $targetNode.append('<br />');
  4957. var foundName = "";
  4958. $.each(allObsoleteNames, function(i, site){
  4959. if (foundName = allObsoleteNames[i].match(searchRegex))
  4960. {
  4961. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4962. }
  4963. })
  4964. }
  4965. var hostSearchBox = document.getElementById("hostSearchBox");
  4966. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4967. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4968. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4969. $(".warlc-ui-select-all").click(selectAll).button();
  4970. $(".warlc-ui-select-none").click(selectNone).button();
  4971. $(".warlc-ui-select-invert").click(selectInvert).button();
  4972. $(".warlc-ui-buttonset").buttonset();
  4973. var inColorLive = document.getElementById("inputColorLive");
  4974. inColorLive.addEventListener('keyup', changeColorLive, false);
  4975.  
  4976. var inColorDead = document.getElementById("inputColorDead");
  4977. inColorDead.addEventListener('keyup', changeColorDead, false);
  4978.  
  4979. var inColorTemp = document.getElementById("inputColorTemp");
  4980. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4981.  
  4982. var inColorCont = document.getElementById("inputColorCont");
  4983. inColorCont.addEventListener('keyup', changeColorCont, false);
  4984. var inColorprem = document.getElementById("inputColorprem");
  4985. inColorprem.addEventListener('keyup', changeColorprem, false);
  4986. $("#refAnonymizer").change(changeRefAnonymizer);
  4987. //buttons and edit boxes init end
  4988.  
  4989. //icon sets radio buttons
  4990. var radioButtons = document.getElementsByName("warlciconset");
  4991. radioButtons[Icon_set].checked = "checked";
  4992.  
  4993. radioButtons[0].addEventListener("change", updateIconSet);
  4994. radioButtons[1].addEventListener("change", updateIconSet);
  4995. radioButtons[2].addEventListener("change", updateIconSet);
  4996. radioButtons[3].addEventListener("change", updateIconSet);
  4997. function updateIconSet()
  4998. {
  4999. GM_setValue("Icon_set", this.value * 1);
  5000. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5001. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5002. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5003. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5004. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5005.  
  5006. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5007. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5008.  
  5009. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5010. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5011. }
  5012. //
  5013. $('#showCustomRulesReference').click(function(e){
  5014. e.preventDefault();
  5015. $('#customRulesReference').toggle();
  5016. });
  5017. $('#Custom_rules_text')
  5018. .val(Custom_rules_text)
  5019. .change(saveCustomRules);
  5020. function saveCustomRules(e)
  5021. {
  5022. var cr = parseCustomRules(this.value);
  5023. if (cr.info.length)
  5024. 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, ' '));
  5025. GM_setValue('Custom_rules_text', this.value);
  5026. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5027. }
  5028. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5029. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5030. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5031. }
  5032.  
  5033. //begin standard link checking algorithm
  5034. function start(filterId)
  5035. {
  5036. var doNotLinkify = Do_not_linkify_DL_links;
  5037.  
  5038. // USER SELECTED FILE HOSTS INITIALIZATION START
  5039. var http_file_hosts = new Array(); //standard hostings
  5040. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5041. var http_file_hosts_obsolete = new Array(); //dead hostings
  5042. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5043.  
  5044. initFileHosts();
  5045. initFileHostsHeadersOnly();
  5046. initFileHostsCustom(); //CustomRules
  5047. // USER SELECTED FILE HOSTS INITIALIZATION END
  5048.  
  5049. // LINKIFICATION START
  5050. var totalxpath = '';
  5051. var totalxpathcoded = '';
  5052. var totalxpathobsolete = '';
  5053. var totalxpathheadersonly = '';
  5054. var totalourls = '';
  5055.  
  5056. var filehostLen = http_file_hosts.length;
  5057. var filehostCodedLen = http_file_hosts_coded.length;
  5058. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5059. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5060.  
  5061. var filehostIdx = filehostLen;
  5062. var filehostCodedIdx = filehostCodedLen;
  5063. var filehostObsoleteIdx = filehostObsoleteLen;
  5064. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5065.  
  5066. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5067. return;
  5068.  
  5069. while (filehostIdx--)
  5070. {
  5071. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5072. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5073. }
  5074.  
  5075. while (filehostCodedIdx--)
  5076. {
  5077. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5078. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5079. }
  5080.  
  5081. while (filehostObsoleteIdx--)
  5082. {
  5083. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5084. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5085. }
  5086.  
  5087. while (filehostHeadersOnlyIdx--)
  5088. {
  5089. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5090. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5091. }
  5092.  
  5093. totalourls = totalourls.replace(/\|$/g, "");
  5094. //TODO: further refactoring needed
  5095. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5096. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5097. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5098. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5099. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5100. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5101. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5102. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5103. if (filterId != null) //insert id restriction in the xpath
  5104. {
  5105. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5106. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5107. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5108. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5109. }
  5110. else
  5111. {
  5112. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5113. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5114. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5115. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5116. }
  5117. linkify(totalourls);
  5118. //LINKIFICATION END
  5119. //ENCRYPTED LINKS PROCESSING START
  5120. if (http_file_hosts_coded.length > 0)
  5121. {
  5122. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5123.  
  5124. // decrypt coded links (redirects, link protectors etc.)
  5125. if (linksCoded.snapshotLength > 0)
  5126. {
  5127. var link;
  5128. var reallinkreg;
  5129. var reallinkcorrection;
  5130.  
  5131. if (filterId == null)
  5132. {
  5133. cLinksTotal += linksCoded.snapshotLength;
  5134. }
  5135.  
  5136. var y = linksCoded.snapshotLength - 1;
  5137. do
  5138. {
  5139. // linksCoded.snapshotItem(y).id = 'processing_link';
  5140. link = linksCoded.snapshotItem(y);
  5141. filehostIdx = filehostCodedLen;
  5142. while (filehostIdx--)
  5143. {
  5144. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5145. {
  5146. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5147. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5148. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5149.  
  5150. decurl(link, reallinkreg, reallinkcorrection);
  5151. break;
  5152. }
  5153. }
  5154. }
  5155. while (y--);
  5156. }
  5157. }
  5158. //ENCRYPTED LINKS PROCESSING END
  5159.  
  5160. //STANDARD LINKCHECKING START
  5161. if (http_file_hosts.length > 0)
  5162. {
  5163. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5164.  
  5165. if (filterId == null)
  5166. {
  5167. cLinksTotal += lianks.snapshotLength;
  5168. }
  5169.  
  5170. if (lianks.snapshotLength > 0)
  5171. {
  5172. var link;
  5173.  
  5174. var URL = "";
  5175. var name = "";
  5176. var isAliveRegex = "";
  5177. var isDeadRegex = "";
  5178. var isUnavaRegex = "";
  5179. var ispremRegex = "";
  5180. var tryLoop = false;
  5181.  
  5182. var y = lianks.snapshotLength;
  5183.  
  5184. while (y--)
  5185. {
  5186. link = lianks.snapshotItem(y);
  5187.  
  5188. filehostIdx = filehostLen;
  5189. while (filehostIdx--)
  5190. {
  5191. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5192. {
  5193. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5194. isAliveRegex = http_file_hosts[filehostIdx][1];
  5195. isDeadRegex = http_file_hosts[filehostIdx][2];
  5196. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5197. ispremRegex = http_file_hosts[filehostIdx][6];
  5198. tryLoop = http_file_hosts[filehostIdx][5];
  5199.  
  5200. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5201.  
  5202. break;
  5203. }
  5204. }
  5205. }
  5206. }
  5207. }
  5208. //STANDARD LINKCHECKING END
  5209. //OBSOLETE FILE HOSTS PROCESSING START
  5210. if (filehostObsoleteLen > 0)
  5211. {
  5212. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5213.  
  5214. var obsoleteLink;
  5215.  
  5216. //check links
  5217. if (obsoletelinks.snapshotLength > 0)
  5218. {
  5219. var y = obsoletelinks.snapshotLength;
  5220.  
  5221. if (filterId == null)
  5222. {
  5223. cLinksTotal += y;
  5224. }
  5225.  
  5226. while (y--)
  5227. {
  5228. obsoleteLink = obsoletelinks.snapshotItem(y);
  5229.  
  5230. if (Display_tooltip_info)
  5231. {
  5232. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5233. }
  5234. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5235. }
  5236. }
  5237. }
  5238. //OBSOLETE FILE HOSTS PROCESSING END
  5239.  
  5240. //DIRECT LINKCHECKING START
  5241. if (http_file_hosts_headers_only.length > 0)
  5242. {
  5243. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5244.  
  5245. //check links
  5246. if (links.snapshotLength > 0)
  5247. {
  5248. var link;
  5249. var isAliveRegex;
  5250. var isDeadRegex;
  5251. var ispremRegex;
  5252.  
  5253. var y = links.snapshotLength;
  5254.  
  5255.  
  5256. if (filterId == null)
  5257. {
  5258. cLinksTotal += y;
  5259. }
  5260.  
  5261. while (y--)
  5262. {
  5263. // links.snapshotItem(y).id = 'processing_link';
  5264. link = links.snapshotItem(y);
  5265. filehostIdx = filehostHeadersOnlyLen;
  5266. while (filehostIdx--)
  5267. {
  5268. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5269. {
  5270. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5271. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5272. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5273. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5274.  
  5275. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5276.  
  5277. break;
  5278. }
  5279. }
  5280. }
  5281.  
  5282. }
  5283. }
  5284. //DIRECT LINKCHECKING END
  5285.  
  5286.  
  5287. //finds the real url on the page, replaces link.href with it and calls geturl
  5288. function decurl(link, reallinkreg, reallinkcorrection)
  5289. {
  5290.  
  5291. GM_xmlhttpRequest(
  5292. {
  5293. method: 'GET',
  5294. url: link.href,
  5295. headers: {
  5296. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5297. 'Accept': 'text/xml',
  5298. 'Referer': ""
  5299. },
  5300. onload: function (result)
  5301. {
  5302. // cLinksProcessed++;
  5303.  
  5304. var reallink = result.responseText.match(reallinkreg)[0];
  5305. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5306.  
  5307. link.href = reallink;
  5308.  
  5309. var i = http_file_hosts.length - 1;
  5310. do
  5311. {
  5312. if ((reallink.match(http_file_hosts[i][0])))
  5313. {
  5314. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5315. var isAliveRegex = http_file_hosts[i][1];
  5316. var isDeadRegex = http_file_hosts[i][2];
  5317. var isUnavaRegex = http_file_hosts[i][3];
  5318. var ispremRegex = http_file_hosts[i][4];
  5319.  
  5320. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5321.  
  5322. break;
  5323. }
  5324. }
  5325. while (i--);
  5326. }
  5327. });
  5328. }
  5329.  
  5330. function randUA()
  5331. {
  5332. //TODO
  5333. }
  5334. //Processes link
  5335. //
  5336. // [string] link link URL
  5337. // [string] isAliveRegex alive link regex
  5338. // [string] isDeadRegex dead link regex
  5339. // [string] isUnavaRegex unavailable link regex
  5340. // [string] ispremRegex premium link regex
  5341. // [boolean] tryLoop repeats request until succeeded
  5342. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5343. {
  5344. GM_xmlhttpRequest(
  5345. {
  5346. method: 'GET',
  5347. url: link.href,
  5348. headers: {
  5349. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5350. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5351. 'Referer': ""
  5352. },
  5353. onload: function (result)
  5354. {
  5355. var res = result.responseText;
  5356. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5357. {
  5358. displayTheCheckedLink(link, 'alive_link');
  5359. return;
  5360. }
  5361.  
  5362. if (res.match(isAliveRegex))
  5363. {
  5364. displayTheCheckedLink(link, 'alive_link');
  5365. return;
  5366. }
  5367.  
  5368. if (res.match(isDeadRegex))
  5369. {
  5370. displayTheCheckedLink(link, 'adead_link');
  5371. return;
  5372. }
  5373.  
  5374. if (isUnavaRegex && res.match(isUnavaRegex))
  5375. {
  5376. displayTheCheckedLink(link, 'unava_link');
  5377. return;
  5378. }
  5379. if (res.match(ispremRegex))
  5380. {
  5381. displayTheCheckedLink(link, 'prem_link');
  5382. return;
  5383. }
  5384.  
  5385. var resStatus = result.status;
  5386.  
  5387. if (resStatus == 404)
  5388. {
  5389. displayTheCheckedLink(link, 'adead_link');
  5390. }
  5391. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5392. {
  5393. if (tryLoop)
  5394. {
  5395. //wait 1-5 seconds and repeat the request
  5396. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5397. }
  5398. else
  5399. {
  5400. displayTheCheckedLink(link, 'unava_link');
  5401. }
  5402.  
  5403. return;
  5404. }
  5405. },
  5406. onerror: function ()
  5407. {
  5408. displayTheCheckedLink(link, 'unava_link');
  5409. }
  5410. });
  5411. }
  5412.  
  5413. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5414. {
  5415. GM_xmlhttpRequest(
  5416. {
  5417. method: 'HEAD',
  5418. url: link.href,
  5419. headers: {
  5420. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5421. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5422. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5423. 'Referer': ""
  5424. },
  5425. onload: function (result)
  5426. {
  5427. var resStatus = result.status;
  5428. var resHeaders = "";
  5429. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5430. {
  5431. displayTheCheckedLink(link, 'adead_link');
  5432. return;
  5433. }
  5434.  
  5435. resHeaders = result.responseHeaders;
  5436.  
  5437. if (resHeaders.match(isDeadRegex))
  5438. {
  5439. displayTheCheckedLink(link, 'adead_link');
  5440. return;
  5441. }
  5442.  
  5443. if (resHeaders.match(isAliveRegex))
  5444. {
  5445. displayTheCheckedLink(link, 'alive_link');
  5446. return;
  5447. }
  5448. if (resHeaders.match(ispremRegex))
  5449. {
  5450. displayTheCheckedLink(link, 'prem_link');
  5451. return;
  5452. }
  5453. },
  5454. onerror: function ()
  5455. {
  5456. displayTheCheckedLink(link, 'unava_link');
  5457. }
  5458. });
  5459. }
  5460.  
  5461. //Delinkfifies the <a> element object
  5462. function delinkifyLink(link)
  5463. {
  5464. var spanElm = document.createElement("span");
  5465. spanElm.className = link.className;
  5466. spanElm.innerHTML = link.innerHTML;
  5467.  
  5468. if (Display_tooltip_info)
  5469. {
  5470. spanElm.href = link.href;
  5471. spanElm.warlc_error = link.warlc_error;
  5472. switch (link.className){
  5473. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5474. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5475. case "unava_link": //reserved
  5476. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5477. default:
  5478. }
  5479. }
  5480. link.parentNode.replaceChild(spanElm, link);
  5481. }
  5482.  
  5483. //Assigns result status to the <a> element object and calls delinkifying eventually
  5484. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5485. function displayTheCheckedLink(link, resultStatus)
  5486. {
  5487. link.className = resultStatus;
  5488. link.href = Ref_anonymize_service + link.href;
  5489. if (Display_tooltip_info)
  5490. {
  5491. switch (resultStatus){
  5492. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5493. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5494. case "unava_link": //reserved
  5495. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5496. default:
  5497. }
  5498. }
  5499. if (doNotLinkify)
  5500. {
  5501. delinkifyLink(link);
  5502. }
  5503. cLinksProcessed++;
  5504.  
  5505. if (resultStatus == "alive_link")
  5506. {
  5507. cLinksAlive++;
  5508. return;
  5509. }
  5510.  
  5511. if (resultStatus == "adead_link")
  5512. {
  5513. cLinksDead++;
  5514. return;
  5515. }
  5516.  
  5517. if (resultStatus == "unava_link")
  5518. {
  5519. cLinksUnava++;
  5520. }
  5521. if (resultStatus == "prem_link")
  5522. {
  5523. cLinksprem++;
  5524. return;
  5525. }
  5526. }
  5527.  
  5528.  
  5529. function initFileHosts()
  5530. {
  5531.  
  5532. function addObsoleteHost(linkRegex, xpathEx)
  5533. {
  5534. var host = new Array(2);
  5535. host[0] = linkRegex;
  5536. host[1] = xpathEx;
  5537. http_file_hosts_obsolete.push(host);
  5538. }
  5539.  
  5540. //obsolete file hosts init start
  5541. if (Obsolete_file_hosts)
  5542. {
  5543. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5544. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5545. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5546. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5547. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5548. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5549. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5550. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5551. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5552. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5553. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5554. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5555. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5556. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5557. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5558. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5559. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5560. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5561. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5562. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5563. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5564. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5565. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5566. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5567. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5568. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5569. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5570. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5571. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5572. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5573. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5574. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5575. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5576. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5577. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5578. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5579. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5580. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5581. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5582. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5583. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5584. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5585. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5586. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5587. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5588. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5589. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5590. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5591. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5592. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5593. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5594. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5595. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5596. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5597. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5598. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5599. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5600. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5601. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5602. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5603. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5604. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5605. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5606. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5607. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5608. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5609. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5610. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5611. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5612. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5613. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5614. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5615. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5616. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5617. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5618. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5619. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5620. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5621. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5622. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5623. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5624. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5625. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5626. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5627. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5628. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5629. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5630. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5631. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5632. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5633. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5634. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5635. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5636. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5637. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5638. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5639. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5640. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5641. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5642. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5643. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5644. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5645. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5646. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5647. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5648. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5649. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5650. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5651. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5652. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5653. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5654. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5655. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5656. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5657. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5658. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5659. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5660. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5661. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5662. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5663. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5664. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5665. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5666. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5667. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5668. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5669. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5670. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5671. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5672. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5673. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5674. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5675. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5676. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5677. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5678. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5679. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5680. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5681. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5682. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5683. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5684. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5685. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5686. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5687. 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')]");
  5688. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5689. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5690. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5691. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5692. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5693. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5694. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5695. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5696. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5697. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5698. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5699. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5700. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5701. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5702. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5703. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5704. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5705. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5706. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5707. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5708. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5709. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5710. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5711. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5712. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5713. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5714. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5715. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5716. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5717. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5718. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5719. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5720. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5721. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5722. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5723. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5724. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5725. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5726. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5727. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5728. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5729. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5730. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5731. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5732. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5733. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5734. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5735. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5736. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5737. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5738. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5739. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5740. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5741. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5742. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5743. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5744. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5745. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5746. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5747. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5748. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5749. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5750. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5751. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5752. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5753. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5754. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5755. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5756. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5757. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5758. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5759. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5760. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5761. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5762. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5763. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5764. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5765. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5766. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5767. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5768. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5769. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5770. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5771. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5772. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5773. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5774. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5775. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5776. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5777. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5778. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5779. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5780. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5781. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5782. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5783. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5784. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5785. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5786. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5787. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5788. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5789. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5790. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5791. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5792. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5793. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5794. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5795. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5796. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5797. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5798. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5799. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5800. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5801. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5802. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5803. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5804. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5805. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5806. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5807. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5808. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5809. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5810. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5811. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5812. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5813. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5814. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5815. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5816. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5817. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5818. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5819. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5820. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5821. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5822. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5823. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5824. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5825. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5826. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5827. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5828. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5829. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5830. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5831. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5832. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5833. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5834. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5835. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5836. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5837. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5838. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5839. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5840. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5841. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5842. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5843. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5844. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5845. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5846. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5847. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5848. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5849. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5850. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5851. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5852. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5853. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5854. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5855. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5856. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5857. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5858. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5859. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5860. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5861. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5862. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5863. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5864. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5865. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5866. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5867. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5868. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5869. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5870. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5871. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5872. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5873. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5874. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5875. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5876. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5877. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5878. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5879. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5880. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5881. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5882. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5883. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5884. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5885. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5886. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5887. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5888. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5889. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5890. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5891. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5892. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5893. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5894. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5895. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5896. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5897. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5898. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5899. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5900. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5901. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5902. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5903. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5904. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5905. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5906. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5907. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5908. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5909. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5910. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5911. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5912. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5913. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5914. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5915. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5916. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5917. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5918. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5919. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5920. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5921. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5922. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5923. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5924. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5925. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5926. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5927. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5928. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5929. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5930. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5931. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5932. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5933. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5934. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5935. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5936. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5937. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5938. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5939. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5940. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5941. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5942. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5943. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5944. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5945. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5946. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5947. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5948. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5949. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5950. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5951. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5952. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5953. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5954. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5955. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5956. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5957. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5958. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5959. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5960. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5961. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5962. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5963. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5964. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5965. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5966. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5967. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5968. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5969. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5970. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5971. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5972. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5973. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5974. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5975. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5976. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5977. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5978. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5979. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5980. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5981. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5982. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5983. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5984. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5985. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5986. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5987. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5988. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5989. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5990. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5991. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5992. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5993. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5994. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5995. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5996. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5997. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5998. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5999. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6000. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6001. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6002. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6003. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6004. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6005. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6006. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6007. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6008. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6009. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6010. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6011. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6012. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6013. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6014. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6015. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6016. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6017. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6018. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6019. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6020. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6021. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6022. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6023. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6024. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6025. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6026. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6027. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6028. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6029. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6030. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6031. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6032. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6033. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6034. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6035. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6036. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6037. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6038. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6039. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6040. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6041. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6042. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6043. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6044. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6045. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6046. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6047. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6048. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6049. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6050. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6051. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6052. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6053. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6054. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6055. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6056. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6057. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6058. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6059. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6060. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6061. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6062. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6063. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6064. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6065. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6066. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6067. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6068. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6069. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6070. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6071. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6072. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6073. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6074. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6075. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6076. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6077. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6078. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6079. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6080. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6081. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6082. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6083. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6084. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6085. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6086. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6087. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6088. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6089. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6090.  
  6091. // obsolete start start2
  6092. }
  6093. //obsolete file hosts init end
  6094. //Add Host Example
  6095. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6096. {
  6097. addFileHost(
  6098. "datafile\.com\/\\w+",
  6099. 'var captchaPanel|<link href="/css/files_download.css"',
  6100. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6101. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6102. '<style type="text/css">',
  6103. "//a[contains(@href,'datafile.com')]",
  6104. true);
  6105. } */
  6106.  
  6107. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6108. {
  6109. var host = new Array(7);
  6110. host[0] = linkRegex;
  6111. host[1] = isAliveRegex;
  6112. host[2] = isDeadRegex;
  6113. host[3] = isUnavaRegex;
  6114. host[6] = ispremRegex;
  6115. host[4] = xpathEx;
  6116. tryLoop ? host[5] = true : host[5] = false;
  6117. http_file_hosts.push(host);
  6118. }
  6119. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6120. {
  6121. addFileHost(
  6122. "megafileupload\.com\/..\/file\/",
  6123. 'downloadbtn',
  6124. 'is not found',
  6125. 'optional--',
  6126. 'optional2--',
  6127. "//a[contains(@href,'megafileupload.com')]");
  6128. }
  6129. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6130. {
  6131. addFileHost(
  6132. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6133. 'download\\.gif"',
  6134. 'p_point">',
  6135. 'optional--',
  6136. 'optional2--',
  6137. "//a[contains(@href,'demo.ovh.eu')]");
  6138. }*/
  6139. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6140. {
  6141. addFileHost(
  6142. "safelinking\\.net\/p\/\\w+",
  6143. 'color:green;"',
  6144. 'color:(?:red|orange);"',
  6145. 'color:(?:grey|brown);"',
  6146. 'optional2--',
  6147. "//a[contains(@href,'safelinking.net/p/')]",
  6148. true);
  6149. }
  6150. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6151. {
  6152. addFileHost(
  6153. "fastshare\\.cz\/\\d+\/\\w*",
  6154. 'dwntable">|speed-low',
  6155. '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',
  6156. 'optional--',
  6157. 'optional2--',
  6158. "//a[contains(@href,'fastshare.cz')]");
  6159. }
  6160. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6161. {
  6162. addFileHost(
  6163. "[fF]ast[sS]hare\\.org\/download",
  6164. 'Download ">',
  6165. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6169. }
  6170. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6171. {
  6172. addFileHost(
  6173. "rapidgator\\.net\/file\/\\w+",
  6174. '/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',
  6175. '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',
  6176. 'optional--',
  6177. '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',
  6178. "//a[contains(@href,'rapidgator.net/file')]",
  6179. true
  6180. );
  6181. }
  6182. if (GM_getValue("Check_rg_dot_to_links", false))
  6183. {
  6184. addFileHost(
  6185. "rg\.to\/\\w+",
  6186. '/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',
  6187. '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',
  6188. 'optional--',
  6189. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6190. "//a[contains(@href,'rg.to')]");
  6191. }
  6192. if (GM_getValue("Check_relink_dot_us_links", false))
  6193. {
  6194. addFileHost(
  6195. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6196. 'online_detail\\.png" alt="Status',
  6197. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6198. 'unknown_detail\\.png" alt="Status',
  6199. 'optional2--',
  6200. "//a[contains(@href,'relink.us/')]"
  6201. );
  6202. }
  6203. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6204. {
  6205. addFileHost(
  6206. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6207. 'div id="dl"',
  6208. 'Sie haben den Link falsch',
  6209. 'optional--',
  6210. 'optional2--',
  6211. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6212. );
  6213. }
  6214. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6215. {
  6216. addFileHost(
  6217. "flyfiles\\.net\/\\w+",
  6218. 'download_button"|"Download file"',
  6219. 'File not found!|Файл не найден',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'flyfiles.net/')]"
  6223. );
  6224. }
  6225. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6226. {
  6227. addFileHost(
  6228. "wikiupload\\.com\/\\w+",
  6229. 'download-button">',
  6230. 'Sorry, File not found',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'wikiupload.com/')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6237. {
  6238. addFileHost(
  6239. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6240. 'file\\.php">|Pobierz Plik',
  6241. 'Podany plik nie zosta',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'hostuje.net/file')]"
  6245. );
  6246. }
  6247. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6248. {
  6249. addFileHost(
  6250. "gettyfile\\.ru\/\\d+",
  6251. 'download\\.gif border',
  6252. '<center><font size="3">',
  6253. 'optional--',
  6254. 'optional2--',
  6255. "//a[contains(@href,'gettyfile.ru/')]"
  6256. );
  6257. }
  6258. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6259. {
  6260. addFileHost(
  6261. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6262. 'download\\-file">',
  6263. 'col-1">\\s*<h1>',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6267. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6268. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6269. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6270. );
  6271. }
  6272. if (GM_getValue("Check_data_dot_hu_links", false))
  6273. {
  6274. addFileHost(
  6275. "data\\.hu",
  6276. 'download_box_button|Lassú letöltés',
  6277. 'missing\\.php|Az adott fájl nem létezik',
  6278. 'optional--',
  6279. 'optional2--',
  6280. "//a[contains(@href,'data.hu')]",
  6281. true
  6282. );
  6283. }
  6284. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6285. {
  6286. addFileHost(
  6287. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6288. 'premiumBtn"',
  6289. 'errorMessage"',
  6290. 'optional--',
  6291. 'optional2--',
  6292. "//a[contains(@href,'indowebster.com/download')]"
  6293. );
  6294. }
  6295. if (GM_getValue("Check_superload_dot_cz_links", false))
  6296. {
  6297. addFileHost(
  6298. "superload\\.cz\/dl\/\\w+",
  6299. 'icon-download">',
  6300. 'soubor nebyl nalezen',
  6301. 'optional--',
  6302. 'optional2--',
  6303. "//a[contains(@href,'superload.cz/dl')]"
  6304. );
  6305. }
  6306. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6307. {
  6308. addFileHost(
  6309. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6310. 'op" value="download',
  6311. 'class="err">|width:500px;text-align:left;">',
  6312. 'optional--',
  6313. 'optional2--',
  6314. "//a[contains(@href,'hulkfile.')]"
  6315. );
  6316. }
  6317. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6318. {
  6319. addFileHost(
  6320. "easybytez\\.com\/\\w+",
  6321. 'op" value="download',
  6322. 'stop_error\\.gif',
  6323. 'optional--',
  6324. 'optional2--',
  6325. "//a[contains(@href,'easybytez.com/')]"
  6326. );
  6327. }
  6328. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6329. {
  6330. addFileHost(
  6331. "filestore\\.com\\.ua\/\\?d=\\w+",
  6332. 'tdrow1>',
  6333. 'class=warn',
  6334. 'optional--',
  6335. 'optional2--',
  6336. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6337. );
  6338. }
  6339. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6340. {
  6341. addFileHost(
  6342. "openfile\\.ru\/(?:video\/|)\\d+",
  6343. 'videobox_left">',
  6344. 'blog_title">|not found on this server',
  6345. 'optional--',
  6346. 'optional2--',
  6347. "//a[contains(@href,'openfile.ru/')]"
  6348. );
  6349. }*/
  6350. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6351. {
  6352. addFileHost(
  6353. "extmatrix\\.com\/files\/\\w+",
  6354. 'div class="success"',
  6355. 'div class="error"',
  6356. 'optional--',
  6357. 'optional2--',
  6358. "//a[contains(@href,'extmatrix.com/files')]"
  6359. );
  6360. }
  6361. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6362. {
  6363. addFileHost(
  6364. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6365. 'content_lnkDownload',
  6366. 'error\\.aspx\\?',
  6367. 'optional--',
  6368. 'optional2--',
  6369. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6370. );
  6371. }
  6372. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6373. {
  6374. addFileHost(
  6375. "yourfilestore\\.com\/download\/\\d+\/",
  6376. 'download_data">',
  6377. 'may have been deleted|<h1>Sorry!<\/h1>',
  6378. 'optional--',
  6379. 'optional2--',
  6380. "//a[contains(@href,'yourfilestore.com/download')]"
  6381. );
  6382. }
  6383. if (GM_getValue("Check_filebig_dot_net_links", false))
  6384. {
  6385. addFileHost(
  6386. "filebig\\.net\/files\/\\w+",
  6387. 'downloadFile">',
  6388. '<p>File not found<\/p>',
  6389. 'optional--',
  6390. 'optional2--',
  6391. "//a[contains(@href,'filebig.net/files')]"
  6392. );
  6393. }
  6394. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6395. {
  6396. addFileHost(
  6397. "files\\.filefront\\.com\/\/;\\d+;;",
  6398. 'downloadLink">',
  6399. 'File not found, you',
  6400. 'optional--',
  6401. 'optional2--',
  6402. "//a[contains(@href,'files.filefront.com')]"
  6403. );
  6404.  
  6405. addFileHost(
  6406. "gamefront\\.com\/files\/\\d+",
  6407. 'downloadLink">',
  6408. 'File not found, you',
  6409. 'optional--',
  6410. 'optional2--',
  6411. "//a[contains(@href,'gamefront.com/files')]"
  6412. );
  6413. }
  6414. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6415. {
  6416. addFileHost(
  6417. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6418. 'dnlLnk"',
  6419. 'already been deleted',
  6420. 'optional--',
  6421. 'optional2--',
  6422. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6423. );
  6424. }
  6425. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6426. {
  6427. addFileHost(
  6428. "hellupload\\.com\/\\w+",
  6429. '<h3>Download File<br',
  6430. 'id="podstrona">|AVOID_IE_BUG',
  6431. 'optional--',
  6432. 'optional2--',
  6433. "//a[contains(@href,'hellupload.com/')]"
  6434. );
  6435. }
  6436. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6437. {
  6438. addFileHost(
  6439. "free\\-uploading\\.com\/\\w+",
  6440. 'op" value="download',
  6441. 'class="err">|width:500px;text-align:left;">',
  6442. 'optional--',
  6443. 'optional2--',
  6444. "//a[contains(@href,'free-uploading.com/')]"
  6445. );
  6446. }
  6447. if (GM_getValue("Check_fileape_dot_com_links", false))
  6448. {
  6449. addFileHost(
  6450. "fileape\\.com\/download\\-",
  6451. 'button_dl\\.png',
  6452. 'does not exist\\.',
  6453. 'optional--',
  6454. 'optional2--',
  6455. "//a[contains(@href,'fileape.com/')]"
  6456. );
  6457. }
  6458. if (GM_getValue("Check_uppit_dot_com_links", false))
  6459. {
  6460. addFileHost(
  6461. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6462. 'op" value="download',
  6463. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6464. 'optional--',
  6465. 'optional2--',
  6466. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6467. true
  6468. );
  6469. }
  6470. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6471. {
  6472. addFileHost(
  6473. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6474. 'op" value="download',
  6475. '>File Not Found<',
  6476. 'optional--',
  6477. 'optional2--',
  6478. "//a[contains(@href,'nosupload.com')]",
  6479. true
  6480. );
  6481. }
  6482. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6483. {
  6484. addFileHost(
  6485. "filesin\\.com\/\\w+\/download\\.html",
  6486. 'download_area">',
  6487. 'error_note">',
  6488. 'optional--',
  6489. 'optional2--',
  6490. "//a[contains(@href,'filesin.com/')]",
  6491. true
  6492. );
  6493. }*/
  6494. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6495. {
  6496. addFileHost(
  6497. "nowdownload\\.ch\/dl\/\\w+",
  6498. 'alert-success"',
  6499. 'This file does not exist!',
  6500. 'The file is being transfered',
  6501. 'optional2--',
  6502. "//a[contains(@href,'nowdownload.ch/dl')]"
  6503. );
  6504. }*/
  6505. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6506. {
  6507. addFileHost(
  6508. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6509. 'Dbutton_big"',
  6510. 'download\\-error\\.php',
  6511. 'optional--',
  6512. 'optional2--',
  6513. "//a[contains(@href,'axifile.com/')]"
  6514. );
  6515. }*/
  6516. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6517. {
  6518. addFileHost(
  6519. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6520. 'col-1">\\s*<s',
  6521. 'col-1">\\s*<h',
  6522. 'optional--',
  6523. 'optional2--',
  6524. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6525. );
  6526. }
  6527. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6528. {
  6529. addFileHost(
  6530. "turbobit\\.(?:net|pl)",
  6531. 'id="download-gate-info|id="file-list',
  6532. 'afterWait()|no files in this folder',
  6533. 'optional--',
  6534. 'optional2--',
  6535. "//a[contains(@href,'turbobit.net')]"
  6536. );
  6537. }
  6538. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6539. {
  6540. addFileHost(
  6541. "hitfile\\.net\/download\/folder\/\\d+",
  6542. 'content">\\s*<s',
  6543. 'content">\\s*<h',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'hitfile.net/download/folder')]"
  6547. );
  6548. }
  6549. if (GM_getValue("Check_movshare_dot_net_links", false))
  6550. {
  6551. addFileHost(
  6552. "movshare\\.net\\/video\\/\\w+",
  6553. 'optional--"',
  6554. 'no longer exists',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'movshare.net/video')]"
  6558. );
  6559. }
  6560. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6561. {
  6562. addFileHost(
  6563. "mafiastorage\\.com\/\\w+",
  6564. 'op" value="download',
  6565. 'class="err">|style="width:500px;text-align:left;"',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'mafiastorage.com/')]"
  6569. );
  6570. }
  6571. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6572. {
  6573. addFileHost(
  6574. "uploadingit\\.com\/file\/\\w+",
  6575. 'downloadTitle">',
  6576. 'deleteContent">',
  6577. 'optional--',
  6578. 'optional2--',
  6579. "//a[contains(@href,'uploadingit.com/file')]"
  6580. );
  6581. }*/
  6582. if (GM_getValue("Check_rghost_dot_net_links", false))
  6583. {
  6584. addFileHost(
  6585. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6586. 'download_link|btn large download',
  6587. 'file is restricted|File is deleted|503 Service Unavailable',
  6588. 'optional--',
  6589. 'optional2--',
  6590. "//a[contains(@href,'rghost.')]"
  6591. );
  6592. }
  6593. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6594. {
  6595. addFileHost(
  6596. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6597. '">Staženo:\\s*<\/span>',
  6598. 'Soubor, který hledáte nenalezen',
  6599. 'optional--',
  6600. 'optional2--',
  6601. "//a[contains(@href,'xdisk.cz/')]"
  6602. );
  6603. }
  6604. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6605. {
  6606. addFileHost(
  6607. "2downloadz\.com\/\\w+",
  6608. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6609. 'color="#006DCC|File error',
  6610. 'optional--',
  6611. 'optional2--',
  6612. "//a[contains(@href,'2downloadz.com')]");
  6613. }
  6614. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6615. {
  6616. addFileHost(
  6617. "mightyupload\.com\/\\w+",
  6618. 'background:#ccc;text-align|CONTENT="Download File"',
  6619. 'style="background:#eee|var rr =|File Not Found',
  6620. 'error-code">1010',
  6621. 'optional2--',
  6622. "//a[contains(@href,'mightyupload.com')]");
  6623. }
  6624. if (GM_getValue("Check_anysend_dot_com_links", false))
  6625. {
  6626. addFileHost(
  6627. "anysend\.com\/\\w+",
  6628. 'var openCalled=false;|content="noindex"',
  6629. '_trackPageview',
  6630. 'optional--',
  6631. 'optional2--',
  6632. "//a[contains(@href,'anysend.com')]");
  6633. }
  6634. if (GM_getValue("Check_datafile_dot_com_links", false))
  6635. {
  6636. addFileHost(
  6637. "datafile\.com\/\\w+",
  6638. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6639. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6640. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6641. '; 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">
  6642. "//a[contains(@href,'datafile.com')]",
  6643. true);
  6644. }
  6645. if (GM_getValue("Check_upstore_dot_net_links", false))
  6646. {
  6647. addFileHost(
  6648. "upstore\.net\/\\w+",
  6649. 'name="free"',
  6650. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6651. 'optional--',
  6652. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6653. "//a[contains(@href,'upstore.net')]");
  6654. }
  6655. if (GM_getValue("Check_upsto_dot_re_links", false))
  6656. {
  6657. addFileHost(
  6658. "upsto\.re\/\\w+",
  6659. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6660. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6661. 'optional--',
  6662. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6663. "//a[contains(@href,'upsto.re')]");
  6664. }
  6665. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6666. {
  6667. addFileHost(
  6668. "speedy\.sh\/\\w+",
  6669. 'bgcolor=#eeeeee|class="addthis',
  6670. 'File not found|downloadfilenamenotfound>',
  6671. 'optional--',
  6672. 'optional2--',
  6673. "//a[contains(@href,'speedy.sh')]");
  6674. }
  6675. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6676. {
  6677. addFileHost(
  6678. "kingfiles\.net\/\\w+",
  6679. 'method_free|images/loading_small.gif"',
  6680. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6681. 'optional--',
  6682. 'optional2--',
  6683. "//a[contains(@href,'kingfiles.net')]");
  6684. }
  6685. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6686. {
  6687. addFileHost(
  6688. "secureupload\\.eu\/\\w+",
  6689. 'Downloading',
  6690. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6691. 'optional--',
  6692. 'optional2--',
  6693. "//a[contains(@href,'secureupload.eu')]"
  6694. );
  6695. } */
  6696. if (GM_getValue("Check_ge_dot_tt_links", false))
  6697. {
  6698. addFileHost(
  6699. "ge\.tt\/\\w+",
  6700. 'downloads pic',
  6701. 'is NOT the same as',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'ge.tt')]");
  6705. }
  6706. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6707. {
  6708. addFileHost(
  6709. "filefactory\\.com\/file\/\\w+",
  6710. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6711. '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">',
  6712. 'Server Maintenance|temporarily overloaded',
  6713. 'Premium Account Required',
  6714. "//a[contains(@href,'filefactory.com/file')]");
  6715. } */
  6716. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6717. {
  6718. addFileHost(
  6719. "filesflash\.net\/\\w+",
  6720. 'align:right">Filename:',
  6721. 'class="msg">',
  6722. 'optional--',
  6723. 'optional2--',
  6724. "//a[contains(@href,'filesflash.net')]");
  6725. }
  6726. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6727. {
  6728. addFileHost(
  6729. "rapidgator\\.net\/folder\/\\w+",
  6730. 'href="/folder/',
  6731. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6732. 'optional--',
  6733. 'optional2--',
  6734. "//a[contains(@href,'rapidgator.net/folder')]",
  6735. true
  6736. );
  6737. }
  6738. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6739. {
  6740. addFileHost(
  6741. "salefiles\.com\/\\w+",
  6742. 'name="method_free',
  6743. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'salefiles.com')]");
  6747. }
  6748. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6749. {
  6750. addFileHost(
  6751. "datoid\.cz\/\\w+",
  6752. 'btn-download|class="icon-download-large"',
  6753. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'datoid.cz')]");
  6757. }
  6758. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6759. {
  6760. addFileHost(
  6761. "stiahni\.si\/\\w+",
  6762. 'report_icon.png"|slow-download-button',
  6763. 'none.png|deleted|<h2>Error 500</h2>',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'stiahni.si')]");
  6767. }
  6768. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6769. {
  6770. addFileHost(
  6771. "cloudstor\.es\/\\w+",
  6772. '"btn_download"',
  6773. '404: Page Not Found',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'cloudstor.es')]");
  6777. }
  6778. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6779. {
  6780. addFileHost(
  6781. "streamfile\.com\/\\w+",
  6782. 'class="btn',
  6783. 'class="green-btn',
  6784. 'optional--',
  6785. 'optional2--',
  6786. "//a[contains(@href,'streamfile.com')]");
  6787. }
  6788. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6789. {
  6790. addFileHost(
  6791. "eyesfile\.ca\/\\w+",
  6792. 'value="Get Link',
  6793. 'var rr =',
  6794. 'optional--',
  6795. 'optional2--',
  6796. "//a[contains(@href,'eyesfile.ca')]");
  6797. }
  6798. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6799. {
  6800. addFileHost(
  6801. "filemoney\.com\/\\w+",
  6802. 'og:title',
  6803. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6804. 'error-code">1010',
  6805. 'optional2--',
  6806. "//a[contains(@href,'filemoney.com')]");
  6807. }
  6808. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6809. {
  6810. addFileHost(
  6811. "uploadboy\.com\/\\w+",
  6812. 'width="740">|method_free',
  6813. 'var rr =|background:#ffffff|not be found|file was removed',
  6814. 'optional--',
  6815. 'optional2--',
  6816. "//a[contains(@href,'uploadboy.com')]");
  6817. }
  6818. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6819. {
  6820. addFileHost(
  6821. "uploadboy\.com\/\\w+",
  6822. 'width="740">|method_free',
  6823. 'var rr =|background:#ffffff|not be found|file was removed',
  6824. 'optional--',
  6825. 'optional2--',
  6826. "//a[contains(@href,'uploadboy.me')]");
  6827. }
  6828. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6829. {
  6830. addFileHost(
  6831. "speedshare\.eu\/\\w+",
  6832. 'favicon.png|color:#3d87c0|cross.png"',
  6833. 'var rr =|File Not Found|style="background:#eee',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'speedshare.eu')]");
  6837. }
  6838. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6839. {
  6840. addFileHost(
  6841. "unlimitzone\.com\/\\w+",
  6842. 'name="method_free',
  6843. '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',
  6844. 'optional--',
  6845. 'optional2--',
  6846. "//a[contains(@href,'unlimitzone.com')]");
  6847. }
  6848. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6849. {
  6850. addFileHost(
  6851. "rioupload\.com\/\\w+",
  6852. 'sell.jpg',
  6853. 'var rr =',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'rioupload.com')]");
  6857. }
  6858. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6859. {
  6860. addFileHost(
  6861. "jumbofiles\.org\/\\w+",
  6862. 'H71C5.png|class="downloadtitle">',
  6863. 'var swfu|ViewSourceBIN.png',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'jumbofiles.org')]");
  6867. }
  6868. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6869. {
  6870. addFileHost(
  6871. "fshare\\.vn\/file\/\\w+",
  6872. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6873. 'không tồn tại|class="color_red m_t_50"',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'fshare.vn/file')]",
  6877. true
  6878. );
  6879. }
  6880. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6881. {
  6882. addFileHost(
  6883. "spaceforfiles\.com\/\\w+",
  6884. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6885. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6886. 'optional--',
  6887. 'optional2--',
  6888. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6889. }
  6890. if (GM_getValue("Check_google_dot_com_links", false))
  6891. {
  6892. addFileHost(
  6893. "google\\.com\/file\/\\w+",
  6894. 'content="!">|color:#2d2d2d',
  6895. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6896. 'optional--',
  6897. 'optional2--',
  6898. "//a[contains(@href,'google.com/file')]",
  6899. true
  6900. );
  6901. }
  6902. if (GM_getValue("Check_google_dot_com_links", false))
  6903. {
  6904. addFileHost(
  6905. "docs.google.com\/\\w+",
  6906. 'content="!">|color:#2d2d2d',
  6907. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6908. 'optional--',
  6909. 'optional2--',
  6910. "//a[contains(@href,'docs.google.com')]",
  6911. true
  6912. );
  6913. }
  6914. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6915. {
  6916. addFileHost(
  6917. "drive.google.com\/\\w+",
  6918. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6919. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6920. 'optional--',
  6921. 'optional2--',
  6922. "//a[contains(@href,'drive.google.com')]",
  6923. true
  6924. );
  6925. }
  6926. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6927. {
  6928. addFileHost(
  6929. "up.media1fire\.com\/\\w+",
  6930. 'class="addthis_|value="download',
  6931. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6932. 'optional--',
  6933. 'optional2--',
  6934. "//a[contains(@href,'up.media1fire.com')]");
  6935. }
  6936. if (GM_getValue("Check_depfile_dot_com_links", false))
  6937. {
  6938. addFileHost(
  6939. "depfile\.com\/\\w+",
  6940. 'logo_0.png|downloads.gif"|verifycode',
  6941. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6942. 'optional--',
  6943. 'available only for Premium users',
  6944. "//a[contains(@href,'depfile.com')]");
  6945. }
  6946. if (GM_getValue("Check_go4up_dot_com_links", false))
  6947. {
  6948. addFileHost(
  6949. "go4up\.com\/\\w+",
  6950. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6951. '<title>GO4UP|dmca',
  6952. 'optional--',
  6953. 'optional2--',
  6954. "//a[contains(@href,'go4up.com')]");
  6955. }
  6956. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6957. {
  6958. addFileHost(
  6959. "redbunker\.net\/\\w+",
  6960. 'name="method_free"',
  6961. 'color="red">Unknow / Bilinmiyor<',
  6962. 'optional--',
  6963. '2.3 GB',
  6964. "//a[contains(@href,'redbunker.net')]");
  6965. }
  6966. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6967. {
  6968. addFileHost(
  6969. "divxpress\.com\/\\w+",
  6970. 'btn_download|logo.png"',
  6971. 'AVOID_IE_BUG|var rr =',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'divxpress.com')]");
  6975. }
  6976. if (GM_getValue("Check_anafile_dot_com_links", false))
  6977. {
  6978. addFileHost(
  6979. "anafile\.com\/\\w+",
  6980. 'width="881" valign="top|color="#800080"|name="go"',
  6981. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'anafile.com')]");
  6985. }
  6986. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6987. {
  6988. addFileHost(
  6989. "uploadable\\.ch\/file\/\\w+",
  6990. 'captcha.js"|payment.js"|class="btn_download"',
  6991. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'uploadable.ch/file')]",
  6995. true
  6996. );
  6997. }
  6998. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6999. {
  7000. addFileHost(
  7001. "bigfile\\.to\/file\/\\w+",
  7002. 'captcha.js"|payment.js"|class="btn_download"',
  7003. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'bigfile.to/file')]",
  7007. true
  7008. );
  7009. }
  7010. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7011. {
  7012. addFileHost(
  7013. "arabloads\.net\/\\w+",
  7014. 'name="method_free"|name="method_premium"',
  7015. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'arabloads.net')]");
  7019. }
  7020. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7021. {
  7022. addFileHost(
  7023. "sharerepo\.com\/\\w+",
  7024. 'name="method_free"',
  7025. 'var public_on=|The file you were looking for could not be found',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'sharerepo.com')]");
  7029. }
  7030. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7031. {
  7032. addFileHost(
  7033. "sfshare\.se\/\\w+",
  7034. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7035. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'sfshare.se')]");
  7039. }
  7040. if (GM_getValue("Check_files_dot_fm_links", false))
  7041. {
  7042. addFileHost(
  7043. "files\.fm\/\\w+",
  7044. 'dl.png"|background-color: transparent',
  7045. 'margin: 40px 40px|background: none;',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'files.fm')]");
  7049. }
  7050. if (GM_getValue("Check_koofile_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "koofile\.com\/\\w+",
  7054. 'value="download1">|name="method_free"',
  7055. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'koofile.com')]");
  7059. }
  7060. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7061. {
  7062. addFileHost(
  7063. "vidxden\\.com\/\\w+",
  7064. 'Continue to Video"',
  7065. 'No such file',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'vidxden.com')]"
  7069. );
  7070. }*/
  7071. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7072. {
  7073. addFileHost(
  7074. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7075. 'Details zur Datei|Details page',
  7076. 'Jetzt hochladen|upload now',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7080. );
  7081. }
  7082. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7083. {
  7084. addFileHost(
  7085. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7086. 'downloadbtn"',
  7087. 'DL_FileNotFound',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7091. );
  7092. }
  7093. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7094. {
  7095. addFileHost(
  7096. "fileflyer\.com\/view\/\\w+",
  7097. '(?:dwl|locked)btn"',
  7098. 'error.gif"|link">Removed|removedlink">',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'fileflyer.com')]"
  7102. );
  7103. }
  7104. if (GM_getValue("Check_filestore_dot_to_links", false))
  7105. {
  7106. addFileHost(
  7107. "filestore\.to\/\\?d=\\w+",
  7108. '"downloading"',
  7109. 'Datei wurde nicht gefunden',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'filestore.to')]"
  7113. );
  7114. }
  7115. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7116. {
  7117. addFileHost(
  7118. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7119. 'fz24">Download|class="pl15">',
  7120. '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',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_datei_dot_to_links", false))
  7127. {
  7128. addFileHost(
  7129. "datei\\.to\/\\??\\w+",
  7130. 'icon_downloaden\\.png|>Download starten<',
  7131. 'Datei wurde nicht gefunden|icon_deleted.png',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'datei.to')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7141. '<body class="body" id="body">|value="Slow Download"',
  7142. '<body class="body" >',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7149. {
  7150. addFileHost(
  7151. "unibytes\\.com\/[\\w\.]+",
  7152. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7153. 'File not found|Файл не найден|',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'unibytes.com')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7160. {
  7161. addFileHost(
  7162. "www\\.hellshare\\.com\/\\d+",
  7163. 'tab\\-details"',
  7164. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'www.hellshare.com')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7171. {
  7172. addFileHost(
  7173. "www\\.download.cz.hellshare\\.com\/\\w+",
  7174. 'tab\\-details"',
  7175. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7182. {
  7183. addFileHost(
  7184. "filefactory\\.com",
  7185. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7186. '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',
  7187. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7188. 'Premium Account Required',
  7189. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_load_dot_to_links", false))
  7193. {
  7194. addFileHost(
  7195. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7196. '"download_table_left">Size',
  7197. 'Can\'t find file',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_divshare_dot_com_links", false))
  7204. {
  7205. addFileHost(
  7206. "divshare\\.com\/download\/",
  7207. 'download_new\.png',
  7208. 'have been removed',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'divshare.com')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7215. {
  7216. addFileHost(
  7217. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7218. 'download=true"',
  7219. '<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>',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'euroshare.eu/file')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7226. {
  7227. addFileHost(
  7228. 'files\\.mail\\.ru/(?:\\w*)',
  7229. 'fileList',
  7230. 'errorMessage',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'files.mail.ru')]"
  7234. );
  7235. }
  7236. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7237. {
  7238. addFileHost(
  7239. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7240. 'Filesize',
  7241. 'Invalid|deleted|Could not download file',
  7242. 'slots|scheduled maintenance',
  7243. 'optional2--',
  7244. "//a[contains(@href,'megashares.com/')]"
  7245. );
  7246. } */
  7247. if (GM_getValue("Check_narod_dot_ru_links", false))
  7248. {
  7249. addFileHost(
  7250. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7251. 'b-submit|action="resource.download"',
  7252. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7253. 'Внутренняя ошибка сервиса',
  7254. 'optional2--',
  7255. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. "rayfile\\.com\/",
  7262. 'FILEtitleTXT',
  7263. 'blueRow',
  7264. 'optional--',
  7265. 'optional2--',
  7266. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7270. {
  7271. addFileHost(
  7272. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7273. 'button_green_body"',
  7274. 'error">',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'filesmonster.com/download')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7281. {
  7282. addFileHost(
  7283. 'usaupload\\.net\/d\/(?:\w*)',
  7284. '<strong>File size:</strong>',
  7285. 'is not available',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'usaupload.net/d/')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7292. {
  7293. addFileHost(
  7294. 'sendspace\\.com\/file\/\\w+',
  7295. 'file_description',
  7296. 'msg error"',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'sendspace.com/file')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7303. {
  7304. addFileHost(
  7305. 'sendspace\\.pl\/file\/\\w+',
  7306. 'download_file"',
  7307. 'Podany plik nie',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'sendspace.pl/file')]"
  7311. );
  7312. }
  7313. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. 'uploading\\.com\/(?:files\/)?\\w+',
  7317. 'free_method">',
  7318. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'uploading.com')]"
  7322. );
  7323. } */
  7324. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. "gigasize\.com\/\\w+",
  7328. 'fileId"|class="estimate">',
  7329. 'error">',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'gigasize.com/get')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_good_dot_com_links", false))
  7336. {
  7337. addFileHost(
  7338. 'good\\.net\/(?:_|dl)',
  7339. 'Free Download',
  7340. 'Not Found',
  7341. 'Forbidden',
  7342. 'optional2--',
  7343. "//a[contains(@href,'good.net')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_2shared_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7350. 'File size',
  7351. 'File not found|is not valid|/images/important.gif',
  7352. 'optional--',
  7353. 'optional2--',
  7354. // "//a[contains(@href,'2shared.com')]"
  7355. "//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/')]"
  7356. );
  7357. }
  7358. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7359. {
  7360. addFileHost(
  7361. 'turboupload\\.com\/\\w*',
  7362. 'You have requested',
  7363. 'File Not Found',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'turboupload.com')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. 'gigapeta\\.com\/dl\/',
  7373. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7374. '404|page_error',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'gigapeta.com/dl')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_veehd_dot_com_links", false))
  7381. {
  7382. addFileHost(
  7383. 'veehd\.com\/video\/.*?',
  7384. 'No sound|Download video',
  7385. 'Featured Videos',
  7386. 'optional--',
  7387. 'optional2--',
  7388. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7392. {
  7393. addFileHost(
  7394. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7395. 'fast_download_form">|submit_sms_download',
  7396. '<p style="text-align:center">',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'vip-file.com/download')]"
  7400. );
  7401. }
  7402. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7403. {
  7404. addFileHost(
  7405. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7406. 'download\\-pnl ',
  7407. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7408. 'optional--',
  7409. 'optional2--',
  7410. "//a[contains(@href,'letitbit.net/download')]"
  7411. );
  7412. }*/
  7413. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7414. {
  7415. addFileHost(
  7416. 'ifolder\.ru\/\\d+',
  7417. 'file-info',
  7418. 'ui-state-error',
  7419. 'optional--',
  7420. 'optional2--',
  7421. "//a[contains(@href,'ifolder.ru')]"
  7422. );
  7423. }
  7424. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7425. {
  7426. addFileHost(
  7427. 'fileswap\\.com\/dl\/\\w+',
  7428. 'bttnDownloadLink"',
  7429. 'rounded_block_error"',
  7430. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7431. 'optional2--',
  7432. "//a[contains(@href,'fileswap.com/dl')]"
  7433. );
  7434. }*/
  7435. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7436. {
  7437. addFileHost(
  7438. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7439. 'var __error = 0|id="recaptchaPanel">',
  7440. 'FILES__DOESNT_EXIST|removed or did not exist',
  7441. 'optional--',
  7442. 'optional2--',
  7443. "//a[contains(@href,'filecloud.io/')]"
  7444. );
  7445. addFileHost(
  7446. 'ifile\\.it\/\\w+',
  7447. 'var __error = 0',
  7448. 'FILES__DOESNT_EXIST',
  7449. 'optional--',
  7450. 'optional2--',
  7451. "//a[contains(@href,'ifile.it/')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7455. {
  7456. addFileHost(
  7457. 'solidfiles\\.com\/\\w+',
  7458. 'id="download"|content="Download',
  7459. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'solidfiles.com/')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7466. {
  7467. addFileHost(
  7468. "(?:.\\.|)shareflare\\.net",
  7469. 'download-pnl|<div class="premium-block">',
  7470. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7471. 'optional--',
  7472. 'optional2--',
  7473. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7477. {
  7478. addFileHost(
  7479. "u18116681.shareflare\\.net",
  7480. 'download-pnl|<div class="premium-block">',
  7481. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7488. {
  7489. addFileHost(
  7490. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7491. 'file\\-list-orderby|section-filedetail">',
  7492. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'hellspy.')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7499. {
  7500. addFileHost(
  7501. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7502. '<body onload="">',
  7503. 'neexistuje|not exist',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7510. {
  7511. addFileHost(
  7512. "stahovanizasms\\.cz\/\\w+",
  7513. 'download\\.png>|font-size:11px><tr>',
  7514. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'stahovanizasms.cz')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7521. {
  7522. addFileHost(
  7523. "share-links\\.biz\/\\w*",
  7524. 'online\\.gif',
  7525. '(?:offline|parts)\\.gif',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'share-links.biz')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_4shared_dot_com_links", false))
  7532. {
  7533. addFileHost(
  7534. "4shared\\.com\/.+\/",
  7535. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7536. 'class="warn\"|big red"|GetDataBack',
  7537. 'Service Unavailable',
  7538. 'optional2--',
  7539. "//a[contains(@href,'4shared.com')]"
  7540. );
  7541. }
  7542. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7543. {
  7544. addFileHost(
  7545. "(?:www\\d+\.|)zippyshare\.com\/",
  7546. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7547. 'not exist|Status 404',
  7548. 'optional--',
  7549. 'optional2--',
  7550. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7554. {
  7555. addFileHost(
  7556. "mediafire\.com\/",
  7557. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7558. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7559. 'set to private',
  7560. 'optional2--',
  7561. "//a[contains(@href,'mediafire.com')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7565. {
  7566. addFileHost(
  7567. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7568. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7569. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7570. 'optional--',
  7571. 'GB</small>',
  7572. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7576. {
  7577. addFileHost(
  7578. "ulozisko\.sk\/",
  7579. 'Detaily',
  7580. 'neexistuje',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'ulozisko.sk')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_box_dot_com_links", false))
  7587. {
  7588. addFileHost(
  7589. "box\.com\/\\w+",
  7590. 'download-file-btn|id="download_button|preview-download',
  7591. 'BIyMin.png| <div class="error_message|link has been removed',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'app.box.com')]");
  7595. }
  7596. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7597. {
  7598. addFileHost(
  7599. "uptobox\\.com\/\\w+",
  7600. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7601. '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|لا يوجد أي ملف',
  7602. 'Maintenance',
  7603. 'optional2--',
  7604. "//a[contains(@href,'uptobox.com')]",
  7605. true
  7606. );
  7607. }
  7608. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7609. {
  7610. addFileHost(
  7611. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7612. 'FILE DOWNLOAD<',
  7613. 'File Does Not Exist',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'sharecash.org/download.php')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7620. {
  7621. addFileHost(
  7622. "1fichier\\.com\/dir\/\\w+",
  7623. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7624. 'Shared Folder Not Found',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'1fichier.com/dir')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7631. {
  7632. addFileHost(
  7633. "depositfiles\\.com\/folders\/\\w+",
  7634. '<div class="progressContainer">',
  7635. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7636. 'optional--',
  7637. 'optional2--',
  7638. "//a[contains(@href,'depositfiles.com/folders')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7642. {
  7643. addFileHost(
  7644. "rapidfileshare\\.net/\\w+",
  7645. '<div id="upload-header-bg">',
  7646. '<div style="width:500px;text-align:left;">',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'rapidfileshare.net/')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7653. {
  7654. addFileHost(
  7655. "stiahnito\\.sk/",
  7656. '<span class="filesize right">',
  7657. '<ol class="list-purp-2">',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'stiahnito.sk/')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7664. {
  7665. addFileHost(
  7666. "rusfolder\\.(?:com|net)",
  7667. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7668. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'rusfolder')]"
  7672. );
  7673. }
  7674. if (GM_getValue("Check_catshare_dot_net_links", false))
  7675. {
  7676. addFileHost(
  7677. "catshare\\.net/\\w+",
  7678. '"icon-share',
  7679. 'alert alert-error',
  7680. 'optional--',
  7681. 'optional2--',
  7682. "//a[contains(@href,'catshare.net/')]"
  7683. );
  7684. }
  7685. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7686. {
  7687. addFileHost(
  7688. "anonfiles\\.com/\\w+",
  7689. '"download_button"',
  7690. '<legend><b>404</b>',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'anonfiles.com')]"
  7694. );
  7695. }*/
  7696. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7697. {
  7698. addFileHost(
  7699. "mixturecloud\\.com/media/\\w+",
  7700. '"btn icon i_globe gray share_150',
  7701. '"s_cross_close"></span> 404:',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'mixturecloud.com/media/')]"
  7705. );
  7706. }
  7707. if (GM_getValue("Check_akafile_dot_com_links", false))
  7708. {
  7709. addFileHost(
  7710. "akafile\\.com\/\\w+",
  7711. 'download1',
  7712. 'File Not Found',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'akafile.com/')]"
  7716. );
  7717. }
  7718. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7719. {
  7720. addFileHost(
  7721. "creafile\\.net\/\\w+",
  7722. 'downloadblock',
  7723. 'errtitle',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'creafile.net/')]"
  7727. );
  7728. }*/
  7729. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7730. {
  7731. addFileHost(
  7732. "hugefiles\\.net\/\\w+",
  7733. 'download1|class="btn-create-download" value="Create Download Link">',
  7734. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'hugefiles.net/')]"
  7738. );
  7739. }*/
  7740. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7741. {
  7742. addFileHost(
  7743. "sendmyway\\.com\/\\w+",
  7744. 'id="btn_download"',
  7745. '500px;text-align:left;"|<center><h3>',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'sendmyway.com/')]"
  7749. );
  7750. }
  7751. if (GM_getValue("Check_upload_dot_ee_links", false))
  7752. {
  7753. addFileHost(
  7754. "upload\\.ee\/\\w+",
  7755. 'onmouseout="document.dllink.src',
  7756. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'upload.ee/')]"
  7760. );
  7761. }
  7762. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7763. {
  7764. addFileHost(
  7765. "shareplace\\.org\/\\?\\w+",
  7766. 'Download-Link',
  7767. 'Your requested file is not found|Select file to send',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'shareplace.org/?')]"
  7771. );
  7772. }
  7773. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7774. {
  7775. addFileHost(
  7776. "uploadc\\.com\/\\w+",
  7777. 'id="prebut"',
  7778. 'File Not Found|This file has been removed due',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'uploadc.com/')]"
  7782. );
  7783. }
  7784. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7785. {
  7786. addFileHost(
  7787. "uploadc\\.ch\/\\w+",
  7788. 'id="prebut"',
  7789. 'File Not Found|This file has been removed due',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'uploadc.ch/')]"
  7793. );
  7794. }
  7795. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7796. {
  7797. addFileHost(
  7798. "remixshare\\.com\/\\w+",
  7799. 'id="dl2"',
  7800. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'remixshare.com/')]"
  7804. );
  7805. }*/
  7806. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7807. {
  7808. addFileHost(
  7809. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7810. 'Last Download :',
  7811. 'img src="\\/404.jpg"',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'exoshare.com/download.php')]"
  7815. );
  7816. }
  7817. if (GM_getValue("Check_borncash_dot_org_links", false))
  7818. {
  7819. addFileHost(
  7820. "borncash\\.org\/download\/\\?a=\\w+",
  7821. 'class="knop_1"',
  7822. '\/error\/er00',
  7823. 'optional--',
  7824. 'optional2--',
  7825. "//a[contains(@href,'borncash.org/download/')]"
  7826. );
  7827. }
  7828. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7829. {
  7830. addFileHost(
  7831. "vidplay\.net\/\\w+",
  7832. 'solvemedia puzzle widget',
  7833. 'File not found|AVOID_IE_BUG',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'vidplay.net')]");
  7837. }*/
  7838. if (GM_getValue("Check_filedais_dot_com_links", false))
  7839. {
  7840. addFileHost(
  7841. "filedais\.com\/\\w+",
  7842. 'class="btn btn-info"|name="method_free"',
  7843. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'filedais.com')]");
  7847. }
  7848. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7849. {
  7850. addFileHost(
  7851. "up.4share\.vn\/\\w+",
  7852. '<font size="2" face="Verdana">',
  7853. 'font: 13px Tahoma; color: Brown',
  7854. 'optional--',
  7855. 'optional2--',
  7856. "//a[contains(@href,'up.4share.vn')]");
  7857. }
  7858. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7859. {
  7860. addFileHost(
  7861. "share.vnn\.vn\/\\w+",
  7862. '"index,follow"|<div class="main" id="download-box">',
  7863. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7864. 'optional--',
  7865. 'optional2--',
  7866. "//a[contains(@href,'share.vnn.vn')]");
  7867. }
  7868. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7869. {
  7870. addFileHost(
  7871. "upfile\.vn\/\\w+",
  7872. 'download-timer',
  7873. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7874. 'optional--',
  7875. 'optional2--',
  7876. "//a[contains(@href,'upfile.vn')]");
  7877. }
  7878. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7879. {
  7880. addFileHost(
  7881. "aisfile\.com\/\\w+",
  7882. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7883. '<div style="width:500px;text-align:left;">|File Not Found',
  7884. 'optional--',
  7885. 'optional2--',
  7886. "//a[contains(@href,'aisfile.com')]");
  7887. }
  7888. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7889. {
  7890. addFileHost(
  7891. "usersfiles\.com\/\\w+",
  7892. 'class="btn btn-success|id="btn_download" class="btn"',
  7893. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7894. 'optional--',
  7895. 'optional2--',
  7896. "//a[contains(@href,'usersfiles.com')]");
  7897. }
  7898. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7899. {
  7900. addFileHost(
  7901. "pan.baidu\.com\/\\w+",
  7902. 'target="_blank" title=|share-personal-info',
  7903. 'share_notfound.png|background:#f9f9f9',
  7904. 'optional--',
  7905. 'optional2--',
  7906. "//a[contains(@href,'pan.baidu.com')]");
  7907. }
  7908. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7909. {
  7910. addFileHost(
  7911. "yunpan\.cn\/\\w+",
  7912. 'class="icon icon-download',
  7913. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7914. 'optional--',
  7915. 'optional2--',
  7916. "//a[contains(@href,'yunpan.cn')]");
  7917. }
  7918. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7919. {
  7920. addFileHost(
  7921. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7922. 'getElementById("downbild")|style.display',
  7923. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7924. 'optional--',
  7925. 'optional2--',
  7926. "//a[contains(@href,'file-upload.net')]");
  7927. }
  7928. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7929. {
  7930. addFileHost(
  7931. "gulfup\.com\/",
  7932. '<!-- Downlod template -->|download.gif',
  7933. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7934. 'optional--',
  7935. 'optional2--',
  7936. "//a[contains(@href,'gulfup.com')]");
  7937. }*/
  7938. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7939. {
  7940. addFileHost(
  7941. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7942. 'dldtable">',
  7943. 'does not exist\\.',
  7944. 'optional--',
  7945. 'optional2--',
  7946. "//a[contains(@href,'datafilehost.com')]");
  7947. }
  7948. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7949. {
  7950. addFileHost(
  7951. "dropbox\.com\/s\/\\w+",
  7952. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7953. '>Nothing Here<|>Error (404)<',
  7954. 'title>Dropbox - 509|Error (403)|Error: 429',
  7955. 'optional2--',
  7956. "//a[contains(@href,'dropbox.com')]");
  7957. }
  7958. if (GM_getValue("Check_box_dot_net_links", false))
  7959. {
  7960. addFileHost(
  7961. "box\.net\/\\w+",
  7962. 'download-file-btn|id="download_button',
  7963. 'BIyMin.png| <div class="error_message',
  7964. 'optional--',
  7965. 'optional2--',
  7966. "//a[contains(@href,'box.net')]");
  7967. }
  7968. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7969. {
  7970. addFileHost(
  7971. "filedropper\.com\/\\w+",
  7972. 'background:#ddd;|width:985px; ',
  7973. 'background-color:#FFFFFF;|margin-left: -400px;',
  7974. 'optional--',
  7975. 'optional2--',
  7976. "//a[contains(@href,'filedropper.com')]");
  7977. }
  7978. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7979. {
  7980. addFileHost(
  7981. "tropicshare\\.com\/files\/\\d+",
  7982. 'MB</span>|GB</span>|KB</span>',
  7983. '>FNF<|size: </span>',
  7984. 'optional--',
  7985. 'optional2--',
  7986. "//a[contains(@href,'tropicshare.com')]");
  7987. }
  7988. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7989. {
  7990. addFileHost(
  7991. "worldbytez\.com",
  7992. '<div class="download_type">|method_free',
  7993. '<div style="width:500px;text-align:left;">',
  7994. 'optional--',
  7995. 'optional2--',
  7996. "//a[contains(@href,'worldbytez.com')]",
  7997. true);
  7998. }
  7999. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8000. {
  8001. addFileHost(
  8002. "freefilehosting\.net\/\\w+",
  8003. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8004. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'freefilehosting.net')]");
  8008. }
  8009. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8010. {
  8011. addFileHost(
  8012. "ziddu\.com\/\\w+",
  8013. 'downloads.ziddu.com|downloadfilelinkicon',
  8014. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'ziddu.com')]");
  8018. }
  8019. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8020. {
  8021. addFileHost(
  8022. "exclusiveloader\.com\/\\w+",
  8023. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8024. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8025. 'optional--',
  8026. 'optional2--',
  8027. "//a[contains(@href,'exclusiveloader.com')]");
  8028. }
  8029. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8030. {
  8031. addFileHost(
  8032. "sharerapid\.cz\/\\w+",
  8033. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8034. 'error_div">|404 - Not Found',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'sharerapid.cz')]");
  8038. }
  8039. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8040. {
  8041. addFileHost(
  8042. "sdilej\.cz\/\\w+",
  8043. 'class="page-download"',
  8044. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8045. 'optional--',
  8046. 'optional2--',
  8047. "//a[contains(@href,'sdilej.cz')]");
  8048. }
  8049. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8050. {
  8051. addFileHost(
  8052. "lafiles\.com\/\\w+",
  8053. '<div id="pay_modes">',
  8054. '<b class="err"></b>',
  8055. 'optional--',
  8056. 'optional2--',
  8057. "//a[contains(@href,'lafiles.com')]");
  8058. }
  8059. if (GM_getValue("Check_acefile_dot_net_links", false))
  8060. {
  8061. addFileHost(
  8062. "acefile\.net\/\\w+",
  8063. 'align=right nowrap><b>',
  8064. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'acefile.net')]");
  8068. }
  8069. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8070. {
  8071. addFileHost(
  8072. "megarapid\.cz\/\\w+",
  8073. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8074. 'error_div">|404 - Not Found',
  8075. 'optional--',
  8076. 'optional2--',
  8077. "//a[contains(@href,'megarapid.cz')]");
  8078. }
  8079. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8080. {
  8081. addFileHost(
  8082. "yadi\.sk\/\\w+",
  8083. 'nb-button _nb-small-button',
  8084. 'error code|Nothing found',
  8085. 'optional--',
  8086. 'optional2--',
  8087. "//a[contains(@href,'yadi.sk')]");
  8088. }
  8089. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8090. {
  8091. addFileHost(
  8092. "hitfile\.net\/\\w+",
  8093. 'class="download-file',
  8094. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8095. 'optional--',
  8096. 'optional2--',
  8097. "//a[contains(@href,'hitfile.net')]");
  8098. }
  8099. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8100. {
  8101. addFileHost(
  8102. "up.top4top\.net\/\\w+",
  8103. 'start Downlod template',
  8104. 'start err template',
  8105. 'optional--',
  8106. 'optional2--',
  8107. "//a[contains(@href,'up.top4top.net')]");
  8108. }
  8109. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8110. {
  8111. addFileHost(
  8112. "filejoker\.net",
  8113. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8114. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8115. 'optional--',
  8116. 'id="download" class="premium-only">',
  8117. "//a[contains(@href,'filejoker.net')]");
  8118. }
  8119. if (GM_getValue("Check_free_dot_fr_links", false))
  8120. {
  8121. addFileHost(
  8122. "(?:dl.\\.|)free\\.fr",
  8123. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8124. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8125. 'optional--',
  8126. 'optional2--',
  8127. "//a[contains(@href,'dl.free.fr')]");
  8128. }
  8129. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8130. {
  8131. addFileHost(
  8132. "gboxes\.com\/\\w+",
  8133. 'You have requested|color="red">http://www.gboxes.com',
  8134. 'File Not Found|<div style="width:500px;text-align:left;">',
  8135. 'optional--',
  8136. 'optional2--',
  8137. "//a[contains(@href,'gboxes.com')]");
  8138. }
  8139. if (GM_getValue("Check_led_dot_wf_links", false))
  8140. {
  8141. addFileHost(
  8142. "led\.wf\/\\w+",
  8143. 'logo_0.png|downloads.gif"|verifycode',
  8144. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8145. 'optional--',
  8146. 'available only for Premium users',
  8147. "//a[contains(@href,'led.wf')]");
  8148. }
  8149. if (GM_getValue("Check_lan_dot_wf_links", false))
  8150. {
  8151. addFileHost(
  8152. "lan\.wf\/\\w+",
  8153. 'logo_0.png|downloads.gif"|verifycode',
  8154. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8155. 'optional--',
  8156. 'available only for Premium users',
  8157. "//a[contains(@href,'lan.wf')]");
  8158. }
  8159. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8160. {
  8161. addFileHost(
  8162. "adlink\.wf\/\\w+",
  8163. 'logo_0.png|downloads.gif"|verifycode',
  8164. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8165. 'optional--',
  8166. 'available only for Premium users',
  8167. "//a[contains(@href,'adlink.wf')]");
  8168. }
  8169. if (GM_getValue("Check_click_dot_tf_links", false))
  8170. {
  8171. addFileHost(
  8172. "click\.tf\/\\w+",
  8173. 'logo_0.png|downloads.gif"|verifycode',
  8174. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8175. 'optional--',
  8176. 'available only for Premium users',
  8177. "//a[contains(@href,'click.tf')]");
  8178. }
  8179. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8180. {
  8181. addFileHost(
  8182. "ssh\.tf\/\\w+",
  8183. 'logo_0.png|downloads.gif"|verifycode',
  8184. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8185. 'optional--',
  8186. 'available only for Premium users',
  8187. "//a[contains(@href,'ssh.tf')]");
  8188. }
  8189. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8190. {
  8191. addFileHost(
  8192. "ssh\.yt\/\\w+",
  8193. 'logo_0.png|downloads.gif"|verifycode',
  8194. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8195. 'optional--',
  8196. 'available only for Premium users',
  8197. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8198. }
  8199. if (GM_getValue("Check_yep_dot_pm_links", false))
  8200. {
  8201. addFileHost(
  8202. "yep\.pm\/\\w+",
  8203. 'logo_0.png|downloads.gif"|verifycode',
  8204. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8205. 'optional--',
  8206. 'available only for Premium users',
  8207. "//a[contains(@href,'yep.pm')]");
  8208. }
  8209. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8210. {
  8211. addFileHost(
  8212. "kyc\.pm\/\\w+",
  8213. 'logo_0.png|downloads.gif"|verifycode',
  8214. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8215. 'optional--',
  8216. 'available only for Premium users',
  8217. "//a[contains(@href,'kyc.pm')]");
  8218. }
  8219. if (GM_getValue("Check_brupload_dot_net_links", false))
  8220. {
  8221. addFileHost(
  8222. "brupload\.net\/\\w+",
  8223. 'Download Gratuito',
  8224. '<div style="width:500px;text-align:left;">',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'brupload.net')]");
  8228. }
  8229. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8230. {
  8231. addFileHost(
  8232. "cloudzilla\.to\/\\w+",
  8233. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8234. 'File not found|/imgs/broken.png',
  8235. 'optional--',
  8236. 'optional2--',
  8237. "//a[contains(@href,'cloudzilla.to')]");
  8238. } */
  8239. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "clicknupload\.com\/\\w+",
  8243. 'name="method_free',
  8244. 'File Not Found',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'clicknupload.com')]");
  8248. }
  8249. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8250. {
  8251. addFileHost(
  8252. "clicknupload\.me\/\\w+",
  8253. 'name="method_free',
  8254. 'File Not Found',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'clicknupload.me')]");
  8258. }
  8259. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8260. {
  8261. addFileHost(
  8262. "clicknupload\.link\/\\w+",
  8263. 'name="method_free',
  8264. 'File Not Found',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'clicknupload.link')]");
  8268. }
  8269. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8270. {
  8271. addFileHost(
  8272. "ex-load\.com\/\\w+",
  8273. 'name="method_free|<p>Download File:</p>',
  8274. 'Folder Not Found|File Not Found|Error 404',
  8275. 'optional--',
  8276. 'class="downprem wow bounceInLeft',
  8277. "//a[contains(@href,'ex-load.com')]");
  8278. }
  8279. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8280. {
  8281. addFileHost(
  8282. "hexupload\.com\/\\w+",
  8283. 'button" value="Free|type="submit" value=""',
  8284. 'File Not Found|<div style="width:500px;text-align:left;">',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'hexupload.com')]");
  8288. }*/
  8289. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8290. {
  8291. addFileHost(
  8292. "wizupload\.com\/\\w+",
  8293. 'btn_download|class="downloadbtn"',
  8294. '>File Not Found<',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'wizupload.com')]");
  8298. }
  8299. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8300. {
  8301. addFileHost(
  8302. "inclouddrive\.com\/\\w+",
  8303. 'initfreedownload',
  8304. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'inclouddrive.com')]");
  8308. }
  8309. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "radicalshare\.com\/\\w+",
  8313. 'value="download1|name="method_free"',
  8314. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'radicalshare.com')]");
  8318. }*/
  8319. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8320. {
  8321. addFileHost(
  8322. "sharemods\.com\/\\w+",
  8323. 'name="method_free"',
  8324. 'File Not Found<',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'sharemods.com')]");
  8328. }
  8329. if (GM_getValue("Check_hostr_dot_co_links", false))
  8330. {
  8331. addFileHost(
  8332. "hostr\.co\/\\w+",
  8333. 'method="get"',
  8334. 'File not found<|error-page',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'hostr.co')]");
  8338. }
  8339. if (GM_getValue("Check_filepi_dot_com_links", false))
  8340. {
  8341. addFileHost(
  8342. "filepi\.com\/\\w+",
  8343. 'id="button_start">',
  8344. 'File not found',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'filepi.com')]");
  8348. }
  8349. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8350. {
  8351. addFileHost(
  8352. "tikfile\.com\/\\w+",
  8353. 'btn_download',
  8354. 'File Not Found|file was removed|Reason for deletion',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'tikfile.com')]");
  8358. }
  8359. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8360. {
  8361. addFileHost(
  8362. "cloudsix\.me\/\\w+",
  8363. 'name="method_free"',
  8364. 'File Not Found|width:500px;text-align:left;">',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'cloudsix.me')]");
  8368. }
  8369. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8370. {
  8371. addFileHost(
  8372. "neodrive\.co\/\\w+",
  8373. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8374. 'File not found|/imgs/broken.png',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'neodrive.co')]");
  8378. }
  8379. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8380. {
  8381. addFileHost(
  8382. "chayfile\.com\/\\w+",
  8383. 'name="method_free"',
  8384. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'chayfile.com')]");
  8388. }
  8389. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8390. {
  8391. addFileHost(
  8392. "xfileload\.com\/\\w+",
  8393. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8394. '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..|הקובץ שחיפשת לא נמצא.',
  8395. 'optional--',
  8396. 'optional2--',
  8397. "//a[contains(@href,'xfileload.com')]");
  8398. }*/
  8399. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8400. {
  8401. addFileHost(
  8402. "rockfile\.eu\/\\w+",
  8403. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8404. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'rockfile.eu')]",
  8408. true);
  8409. }
  8410. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8411. {
  8412. addFileHost(
  8413. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8414. 'i/icon/dll.png"|>Start download<br',
  8415. 'no longer available<|i/ino.png"',
  8416. 'optional--',
  8417. 'optional2--',
  8418. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8419. }
  8420. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8421. {
  8422. addFileHost(
  8423. "ozofiles\.com\/\\w+",
  8424. 'button" value="Free|name="method_free',
  8425. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8426. 'optional--',
  8427. 'optional2--',
  8428. "//a[contains(@href,'ozofiles.com')]");
  8429. }
  8430. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8431. {
  8432. addFileHost(
  8433. "userscloud\.com\/\\w+",
  8434. 'btn_download|class="label label-success">',
  8435. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8436. 'optional--',
  8437. 'optional2--',
  8438. "//a[contains(@href,'userscloud.com')]");
  8439. }
  8440. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8441. {
  8442. addFileHost(
  8443. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8444. 'class="button download',
  8445. 'internal server error',
  8446. 'optional--',
  8447. 'optional2--',
  8448. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8449. }
  8450. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8451. {
  8452. addFileHost(
  8453. "kb.simple-aja\.info\/\\w+",
  8454. 'class="button download',
  8455. 'internal server error|<p>404</p>',
  8456. 'optional--',
  8457. 'optional2--',
  8458. "//a[contains(@href,'kb.simple')]");
  8459. }
  8460. if (GM_getValue("Check_faststore_dot_org_links", false))
  8461. {
  8462. addFileHost(
  8463. "faststore\.org\/\\w+",
  8464. 'name="method_free',
  8465. 'File Not Found',
  8466. 'optional--',
  8467. 'optional2--',
  8468. "//a[contains(@href,'faststore.org')]");
  8469. }
  8470. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8471. {
  8472. addFileHost(
  8473. "prefiles\.com\/\\w+",
  8474. 'id="method_free',
  8475. 'File not Found',
  8476. 'optional--',
  8477. 'optional2--',
  8478. "//a[contains(@href,'prefiles.com')]");
  8479. }
  8480. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8481. {
  8482. addFileHost(
  8483. "doraupload\.com\/\\w+",
  8484. 'btn_download|name="method_free',
  8485. 'class="error-code|Could Not Be Found',
  8486. 'optional--',
  8487. 'optional2--',
  8488. "//a[contains(@href,'doraupload.com')]");
  8489. }
  8490. if (GM_getValue("Check_openload_dot_io_links", false))
  8491. {
  8492. addFileHost(
  8493. "openload\.io\/\\w+",
  8494. 'btn btn-primary|class="count">|secondsleftouter',
  8495. 'class="jumbotron">|We are sorry',
  8496. 'optional--',
  8497. 'optional2--',
  8498. "//a[contains(@href,'openload.io')]");
  8499. }
  8500. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8501. {
  8502. addFileHost(
  8503. "zxcfiles\.com\/\\w+",
  8504. 'class="downloadbtn',
  8505. 'File Not Found',
  8506. 'optional--',
  8507. 'optional2--',
  8508. "//a[contains(@href,'zxcfiles.com')]");
  8509. }
  8510. if (GM_getValue("Check_up07_dot_net_links", false))
  8511. {
  8512. addFileHost(
  8513. "up07\.net\/\\w+",
  8514. 'name="method_free',
  8515. 'File Not Found',
  8516. 'optional--',
  8517. 'optional2--',
  8518. "//a[contains(@href,'up07.net')]");
  8519. }
  8520. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8521. {
  8522. addFileHost(
  8523. "fileupload\.pw\/\\w+",
  8524. 'value="Free"',
  8525. 'File Not Found',
  8526. 'optional--',
  8527. 'optional2--',
  8528. "//a[contains(@href,'fileupload.pw')]");
  8529. }
  8530. if (GM_getValue("Check_4upld_dot_com_links", false))
  8531. {
  8532. addFileHost(
  8533. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8534. 'alt="Download Now"|content="Download file">|btn-free-element',
  8535. '<title>Error|content="error|File not found',
  8536. 'optional--',
  8537. 'optional2--',
  8538. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8539. }
  8540. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8541. {
  8542. addFileHost(
  8543. "(?:.swoopshare)\\.com\/\\w+",
  8544. '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',
  8545. '<input type="file" name="f"',
  8546. 'optional--',
  8547. 'optional2--',
  8548. "//a[contains(@href,'swoopshare.com')]"
  8549. );
  8550. }
  8551. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8552. {
  8553. addFileHost(
  8554. "cloudshares\.net\/\\w+",
  8555. '"method_free|"Low Speed Download|submit" name="go',
  8556. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'cloudshares.net')]"
  8560. );
  8561. }
  8562. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8563. {
  8564. addFileHost(
  8565. "allmyvideos\.net\/\\w+",
  8566. 'Continue to Video',
  8567. 'File Not Found|class="err">Removed for',
  8568. 'optional--',
  8569. 'optional2--',
  8570. "//a[contains(@href,'allmyvideos.net')]"
  8571. );
  8572. } */
  8573. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8574. {
  8575. addFileHost(
  8576. "vodlocker\.com\/\\w+",
  8577. 'Proceed to video',
  8578. 'Not Found',
  8579. 'optional--',
  8580. 'optional2--',
  8581. "//a[contains(@href,'vodlocker.com')]"
  8582. );
  8583. }
  8584. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "vidbull\.com\/\\w+",
  8588. 'Verifying Video Request',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'vidbull.com')]");
  8593. }
  8594. if (GM_getValue("Check_novamov_dot_com_links", false))
  8595. {
  8596. addFileHost(
  8597. "novamov\.com\/\\w+",
  8598. 'For version detection',
  8599. 'file no longer exists',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'novamov.com')]"
  8603. );
  8604. }
  8605. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8606. {
  8607. addFileHost(
  8608. "filehoot\.com\/\\w+",
  8609. 'Continue to watch',
  8610. 'File Not Found',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'filehoot.com')]"
  8614. );
  8615. }
  8616. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8617. {
  8618. addFileHost(
  8619. "stagevu\.com\/\\w+",
  8620. 'Video Info',
  8621. 'No video with the provided',
  8622. 'optional--',
  8623. 'optional2--',
  8624. "//a[contains(@href,'stagevu.com')]"
  8625. );
  8626. }
  8627. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8628. {
  8629. addFileHost(
  8630. "cloudtime\.to\/\\w+",
  8631. 'Download the video',
  8632. 'no longer exists',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'cloudtime.to')]"
  8636. );
  8637. }
  8638. if (GM_getValue("Check_streamin_dot_to_links", false))
  8639. {
  8640. addFileHost(
  8641. "streamin\.to\/\\w+",
  8642. 'id="btn_download',
  8643. 'Not Found|Copyright Infringement|File Deleted',
  8644. 'optional--',
  8645. 'optional2--',
  8646. "//a[contains(@href,'streamin.to')]"
  8647. );
  8648. }
  8649. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8650. {
  8651. addFileHost(
  8652. "videoweed\.es\/\\w+",
  8653. 'version detection',
  8654. 'no longer exists',
  8655. 'optional--',
  8656. 'optional2--',
  8657. "//a[contains(@href,'videoweed.es')]"
  8658. );
  8659. }
  8660. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8661. {
  8662. addFileHost(
  8663. "nowvideo\.sx\/\\w+",
  8664. 'Download this video|value="submit">Continue',
  8665. 'no longer exists',
  8666. 'optional--',
  8667. 'optional2--',
  8668. "//a[contains(@href,'nowvideo.sx')]"
  8669. );
  8670. }
  8671. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8672. {
  8673. addFileHost(
  8674. "thevideo\.me\/\\w+",
  8675. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8676. 'File Not Found',
  8677. 'optional--',
  8678. 'optional2--',
  8679. "//a[contains(@href,'thevideo.me')]"
  8680. );
  8681. }
  8682. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8683. {
  8684. addFileHost(
  8685. "gorillavid\.in\/\\w+",
  8686. 'Wait 5 seconds',
  8687. 'File Not Found',
  8688. 'optional--',
  8689. 'optional2--',
  8690. "//a[contains(@href,'gorillavid.in')]"
  8691. );
  8692. }
  8693. if (GM_getValue("Check_thefile_dot_me_links", false))
  8694. {
  8695. addFileHost(
  8696. "thefile\.me\/\\w+",
  8697. 'Choose free or',
  8698. '',
  8699. 'optional--',
  8700. 'optional2--',
  8701. "//a[contains(@href,'thefile.me')]"
  8702. );
  8703. }
  8704. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8705. {
  8706. addFileHost(
  8707. "vidzi\.tv\/\\w+",
  8708. 'video-embed-modal row',
  8709. 'File Not Found|file was deleted',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'vidzi.tv')]"
  8713. );
  8714. }
  8715. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8716. {
  8717. addFileHost(
  8718. "filenuke\.com\/\\w+",
  8719. 'Download File',
  8720. 'Earn with us',
  8721. 'optional--',
  8722. 'optional2--',
  8723. "//a[contains(@href,'filenuke.com')]"
  8724. );
  8725. }
  8726. if (GM_getValue("Check_vidto_dot_me_links", false))
  8727. {
  8728. addFileHost(
  8729. "vidto\.me\/\\w+",
  8730. 'Proceed to video',
  8731. 'Not Found',
  8732. 'optional--',
  8733. 'optional2--',
  8734. "//a[contains(@href,'vidto.me')]"
  8735. );
  8736. }
  8737. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8738. {
  8739. addFileHost(
  8740. "vidspot\.net\/\\w+",
  8741. 'Duration|method_free',
  8742. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8743. 'optional--',
  8744. 'optional2--',
  8745. "//a[contains(@href,'vidspot.net')]"
  8746. );
  8747. } */
  8748. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8749. {
  8750. addFileHost(
  8751. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8752. 'Download File',
  8753. 'File Not Found',
  8754. 'optional--',
  8755. 'optional2--',
  8756. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8757. );
  8758. }
  8759. if (GM_getValue("Check_movpod_dot_in_links", false))
  8760. {
  8761. addFileHost(
  8762. "movpod\.in\/\\w+",
  8763. 'Continue',
  8764. 'File Not Found',
  8765. 'optional--',
  8766. 'optional2--',
  8767. "//a[contains(@href,'movpod.in')]"
  8768. );
  8769. }
  8770. if (GM_getValue("Check_down4files_dot_com_links", false))
  8771. {
  8772. addFileHost(
  8773. "down4files\.com\/\\w+",
  8774. 'down_table.png',
  8775. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8776. 'optional--',
  8777. 'optional2--',
  8778. "//a[contains(@href,'down4files.com')]"
  8779. );
  8780. }
  8781. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8782. {
  8783. addFileHost(
  8784. "storefiles\.co\/\\w+",
  8785. 'btn_download',
  8786. 'No such file|>Error<|mqmaintitle">',
  8787. 'optional--',
  8788. 'optional2--',
  8789. "//a[contains(@href,'storefiles.co')]"
  8790. );
  8791. }*/
  8792. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8793. {
  8794. addFileHost(
  8795. "filehost\.pw\/\\w+",
  8796. 'name="method_free',
  8797. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8798. 'optional--',
  8799. 'optional2--',
  8800. "//a[contains(@href,'filehost.pw')]"
  8801. );
  8802. }
  8803. if (GM_getValue("Check_uplea_dot_com_links", false))
  8804. {
  8805. addFileHost(
  8806. "uplea\.com\/\\w+",
  8807. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8808. 'expired link|ou est invalide',
  8809. 'optional--',
  8810. 'optional2--',
  8811. "//a[contains(@href,'uplea.com/dl')]",
  8812. true);
  8813. }
  8814. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8815. {
  8816. addFileHost(
  8817. "toutbox\.fr\/\\w+",
  8818. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8819. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8820. 'Serviço temporariamente indisponível',
  8821. 'optional2--',
  8822. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8823. );
  8824. }*/
  8825. if (GM_getValue("Check_openload_dot_co_links", false))
  8826. {
  8827. addFileHost(
  8828. "openload\.co\/\\w+",
  8829. 'id="downloadTimer">|button dlbutton',
  8830. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8831. 'optional--',
  8832. 'optional2--',
  8833. "//a[contains(@href,'openload.co')]"
  8834. );
  8835. }
  8836. if (GM_getValue("Check_oload_dot_tv_links", false))
  8837. {
  8838. addFileHost(
  8839. "oload\.tv\/\\w+",
  8840. 'id="downloadTimer">|button dlbutton',
  8841. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8842. 'optional--',
  8843. 'optional2--',
  8844. "//a[contains(@href,'oload.tv')]"
  8845. );
  8846. }
  8847. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8848. {
  8849. addFileHost(
  8850. "lolabits\.es\/\\w+",
  8851. 'Descargar:',
  8852. '<title>Archivos de usuario',
  8853. 'Service Unavailable',
  8854. 'optional2--',
  8855. "//a[contains(@href,'lolabits.es')]"
  8856. );
  8857. }*/
  8858. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8859. {
  8860. addFileHost(
  8861. "alfafile\.net\/\\w+",
  8862. 'id="slow_download_btn',
  8863. 'class="error-box">',
  8864. 'optional--',
  8865. 'optional2--',
  8866. "//a[contains(@href,'alfafile.net')]"
  8867. );
  8868. }
  8869. if (GM_getValue("Check_multiup_dot_org_links", false))
  8870. {
  8871. addFileHost(
  8872. "multiup\\.(?:org|eu)\/\\w+",
  8873. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8874. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8875. 'optional--',
  8876. 'optional2--',
  8877. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8878. );
  8879. }
  8880. if (GM_getValue("Check_file_dot_al_links", false))
  8881. {
  8882. addFileHost(
  8883. "file\\.al",
  8884. 'method_free',
  8885. 'style="width:500px;text-align:left;">',
  8886. 'optional--',
  8887. 'optional2--',
  8888. "//a[contains(@href,'file.al')]"
  8889. );
  8890. }
  8891. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8892. {
  8893. addFileHost(
  8894. "devilshare\.net\/\\w+",
  8895. '<div class="large-12" id="download">',
  8896. '(Link: 0 Invalid)|File Not Found',
  8897. 'optional--',
  8898. 'optional2--',
  8899. "//a[contains(@href,'devilshare.net')]"
  8900. );
  8901. }
  8902. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8903. {
  8904. addFileHost(
  8905. "dailyuploads\.net\/\\w+",
  8906. 'id="downloadBtnClickOrignal',
  8907. '<div style="width:500px;text-align:left;">',
  8908. 'optional--',
  8909. 'optional2--',
  8910. "//a[contains(@href,'dailyuploads.net')]"
  8911. );
  8912. }
  8913. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8914. {
  8915. addFileHost(
  8916. "datoteke\.com\/\\w+",
  8917. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8918. '&nbsp;File has been removed',
  8919. 'optional--',
  8920. '<title>Error - Datoteke',
  8921. "//a[contains(@href,'datoteke.com')]"
  8922. );
  8923. }
  8924. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8925. {
  8926. addFileHost(
  8927. "sharehost\.eu\/\\w+",
  8928. '/?v=download_free&',
  8929. 'Errors occured|Wystąpiły błędy',
  8930. 'optional--',
  8931. 'optional2--',
  8932. "//a[contains(@href,'sharehost.eu')]"
  8933. );
  8934. }
  8935. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8936. {
  8937. addFileHost(
  8938. "pornfile\.cz",
  8939. 'Stáhnout soubor|Stáhnout pomalu',
  8940. 'Soubor byl smazán|Stránka nenalezena',
  8941. 'optional--',
  8942. 'optional2--',
  8943. "//a[contains(@href,'pornfile.cz')]"
  8944. );
  8945. }
  8946. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8947. {
  8948. addFileHost(
  8949. "pornoid\.cz\/\\w+",
  8950. 'class="btn btn-large btn-download',
  8951. 'Soubor byl smazán',
  8952. 'optional--',
  8953. 'optional2--',
  8954. "//a[contains(@href,'pornoid.cz')]"
  8955. );
  8956. }
  8957. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8958. {
  8959. addFileHost(
  8960. "file-share\.top\/\\w+",
  8961. 'btn-success btn-lg download',
  8962. 'Stránka neexistuje|404 Not Found',
  8963. 'optional--',
  8964. 'optional2--',
  8965. "//a[contains(@href,'file-share.top')]"
  8966. );
  8967. }
  8968. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8969. {
  8970. addFileHost(
  8971. "bitster\.cz\/",
  8972. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8973. 'section" content=""',
  8974. 'optional--',
  8975. 'optional2--',
  8976. "//a[contains(@href,'bitster.cz')]"
  8977. );
  8978. }
  8979. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8980. {
  8981. addFileHost(
  8982. "rapidu\.net\/\\w+",
  8983. 'onclick="downloadFreeFile',
  8984. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8985. 'optional--',
  8986. 'optional2--',
  8987. "//a[contains(@href,'rapidu.net')]"
  8988. );
  8989. }
  8990. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8991. {
  8992. addFileHost(
  8993. "dinoshare\.cz\/\\w+",
  8994. 'class="download-button"',
  8995. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8996. 'optional--',
  8997. 'optional2--',
  8998. "//a[contains(@href,'dinoshare.cz')]"
  8999. );
  9000. }
  9001. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9002. {
  9003. addFileHost(
  9004. "bytewhale\.com\/\\w+",
  9005. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9006. 'var rawest = "0 MB|Copyrights Claim</div>',
  9007. 'optional--',
  9008. 'This file is available for premium members only',
  9009. "//a[contains(@href,'bytewhale.com')]"
  9010. );
  9011. }
  9012. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9013. {
  9014. addFileHost(
  9015. "rapidrar\.com\/\\w+",
  9016. 'value="Free Download',
  9017. '<div style="width:500px;text-align:left;">',
  9018. 'optional--',
  9019. 'optional--',
  9020. "//a[contains(@href,'rapidrar.com')]"
  9021. );
  9022. }
  9023. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9024. {
  9025. addFileHost(
  9026. "filesupload\.org\/\\w+",
  9027. '<a href="/download-or-watch/',
  9028. 'File not found',
  9029. 'optional--',
  9030. 'optional--',
  9031. "//a[contains(@href,'filesupload.org')]"
  9032. );
  9033. }
  9034. if (GM_getValue("Check_filecad_dot_com_links", false))
  9035. {
  9036. addFileHost(
  9037. "filecad\.com\/\\w+",
  9038. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9039. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9040. 'optional--',
  9041. 'optional--',
  9042. "//a[contains(@href,'filecad.com')]"
  9043. );
  9044. }
  9045. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9046. {
  9047. addFileHost(
  9048. "file.up09\.com\/\\w+",
  9049. 'name="method_free',
  9050. 'style="width:500px;text-align:left;">',
  9051. 'optional--',
  9052. 'optional--',
  9053. "//a[contains(@href,'file.up09.com')]"
  9054. );
  9055. }
  9056. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9057. {
  9058. addFileHost(
  9059. "lunaticfiles\.com\/\\w+",
  9060. 'name="method_free"',
  9061. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9062. 'optional--',
  9063. 'optional--',
  9064. "//a[contains(@href,'lunaticfiles.com')]"
  9065. );
  9066. }
  9067. if (GM_getValue("Check_upload_dot_af_links", false))
  9068. {
  9069. addFileHost(
  9070. "upload\.af\/\\w+",
  9071. 'id="method_free"',
  9072. '<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|ファイルが見つかりません',
  9073. 'optional--',
  9074. 'optional--',
  9075. "//a[contains(@href,'upload.af')]"
  9076. );
  9077. }
  9078. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9079. {
  9080. addFileHost(
  9081. "filedwon\.info\/\\w+",
  9082. 'name="method_free"',
  9083. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9084. 'optional--',
  9085. 'optional--',
  9086. "//a[contains(@href,'filedwon.info')]"
  9087. );
  9088. }
  9089. if (GM_getValue("Check_uplod_dot_it_links", false))
  9090. {
  9091. addFileHost(
  9092. "uplod\.it\/\\w+",
  9093. 'value="download2">|name="method_free',
  9094. '<Title>Download </Title>',
  9095. 'optional--',
  9096. 'optional--',
  9097. "//a[contains(@href,'uplod.it')]"
  9098. );
  9099. }
  9100. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9101. {
  9102. addFileHost(
  9103. "abelhas\.pt\/\\w+",
  9104. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9105. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9106. 'optional--',
  9107. 'optional--',
  9108. "//a[contains(@href,'abelhas.pt')]"
  9109. );
  9110. } */
  9111. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9112. {
  9113. addFileHost(
  9114. "disk.yandex\.com\/\\w+",
  9115. 'nb-button _nb-small-button',
  9116. 'error code|Nothing found',
  9117. 'optional--',
  9118. 'optional2--',
  9119. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9120. }
  9121. if (GM_getValue("Check_filespace_dot_com_links", false))
  9122. {
  9123. addFileHost(
  9124. "filespace\.com\/\\w+",
  9125. '"method_free',
  9126. '<div style="text-align:left;"><ul>|>File not found.<',
  9127. 'optional1--',
  9128. 'optional2--',
  9129. "//a[contains(@href,'filespace.com')]");
  9130. }
  9131. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9132. {
  9133. addFileHost(
  9134. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9135. 'name="downloadFile|id="downloadFile|value="Wait',
  9136. '<title>File not found</title>|>Error:<',
  9137. 'optional1--',
  9138. 'optional2--',
  9139. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9140. }
  9141. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9142. {
  9143. addFileHost(
  9144. "ncrypt\.in\/\\w+",
  9145. 'Sicherheitsabfrage:|Securitycheck:',
  9146. 'does not exist|existiert nicht',
  9147. 'optional1--',
  9148. 'optional2--',
  9149. "//a[contains(@href,'ncrypt.in')]");
  9150. }
  9151. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9152. {
  9153. addFileHost(
  9154. "jeodrive\.com\/\\w+",
  9155. 'btn-lg regular',
  9156. 'Not found',
  9157. 'optional1--',
  9158. 'optional2--',
  9159. "//a[contains(@href,'jeodrive.com')]");
  9160. }
  9161. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9162. {
  9163. addFileHost(
  9164. "myfiles\.onl\/\\w+",
  9165. 'value="Free"',
  9166. '<div style="width:500px;text-align:left;">',
  9167. 'optional1--',
  9168. 'optional2--',
  9169. "//a[contains(@href,'myfiles.onl')]");
  9170. }
  9171. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9172. {
  9173. addFileHost(
  9174. "uploadserv\.com\/\\w+",
  9175. 'color="red">http://uploadserv.com/',
  9176. 'content="Download File ">|<title>Download </title>',
  9177. 'optional1--',
  9178. 'optional2--',
  9179. "//a[contains(@href,'uploadserv.com')]");
  9180. }
  9181. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9182. {
  9183. addFileHost(
  9184. "keepshare\.net\/\\w+",
  9185. 'method_free',
  9186. '<div style="width:500px;text-align:left;">',
  9187. 'optional1--',
  9188. 'optional2--',
  9189. "//a[contains(@href,'keepshare.net')]");
  9190. }
  9191. if (GM_getValue("Check_oload_dot_net_links", false))
  9192. {
  9193. addFileHost(
  9194. "oload\.net\/\\w+",
  9195. '<font color="red">http://oload.net',
  9196. 'class="page-ttl">',
  9197. 'optional1--',
  9198. 'optional2--',
  9199. "//a[contains(@href,'oload.net')]");
  9200. }
  9201. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9202. {
  9203. addFileHost(
  9204. "filescdn\.com\/\\w+",
  9205. 'btn_download',
  9206. 'icon-warning text-danger|no longer available',
  9207. 'optional1--',
  9208. 'optional2--',
  9209. "//a[contains(@href,'filescdn.com')]");
  9210. }
  9211. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9212. {
  9213. addFileHost(
  9214. "bankupload\.com\/\\w+",
  9215. 'id="btn_download"|1.0 GB',
  9216. '<div style="width:500px;text-align:left;">',
  9217. 'optional1--',
  9218. ' GB',
  9219. "//a[contains(@href,'bankupload.com')]");
  9220. }
  9221. if (GM_getValue("Check_katfile_dot_com_links", false))
  9222. {
  9223. addFileHost(
  9224. "katfile\.com\/\\w+",
  9225. 'KB| MB|1.0 GB|id="method_free',
  9226. 'images/file_not_found.png"',
  9227. 'optional1--',
  9228. ' GB',
  9229. "//a[contains(@href,'katfile.com')]");
  9230. }
  9231. if (GM_getValue("Check_filesin_dot_space_links", false))
  9232. {
  9233. addFileHost(
  9234. "filesin\.space\/\\w+",
  9235. 'id="btn_download"',
  9236. 'class="err">',
  9237. 'optional1--',
  9238. 'optional2',
  9239. "//a[contains(@href,'filesin.space')]");
  9240. }
  9241. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9242. {
  9243. addFileHost(
  9244. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9245. 'download.php',
  9246. 'notfound|upload\\-suborov\\.php"',
  9247. 'optional--',
  9248. 'optional2--',
  9249. "//a[contains(@href,'upnito.sk')]"
  9250. );
  9251. }
  9252. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9253. {
  9254. addFileHost(
  9255. "alltu\.eu\/\\w+",
  9256. 'download-timer',
  9257. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9258. 'optional1--',
  9259. 'optional2',
  9260. "//a[contains(@href,'alltu.eu')]");
  9261. }
  9262. if (GM_getValue("Check_novafile_dot_com_links", false))
  9263. {
  9264. addFileHost(
  9265. "novafile\.com\/\\w+",
  9266. 'id="regular-download',
  9267. 'id="file-not-found',
  9268. 'optional1--',
  9269. 'id="premium-only',
  9270. "//a[contains(@href,'novafile.com')]");
  9271. }
  9272. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9273. {
  9274. addFileHost(
  9275. "uploadgig\.com",
  9276. 'btn-default',
  9277. 'File not found',
  9278. 'optional1--',
  9279. 'optional2',
  9280. "//a[contains(@href,'uploadgig.com')]");
  9281. }
  9282. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9283. {
  9284. addFileHost(
  9285. "mexashare\.com\/\\w+",
  9286. 'method_free',
  9287. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9288. 'optional1--',
  9289. 'optional2',
  9290. "//a[contains(@href,'mexashare.com')]");
  9291. }
  9292. if (GM_getValue("Check_daofile_dot_com_links", false))
  9293. {
  9294. addFileHost(
  9295. "daofile\.com\/\\w+",
  9296. 'class="captcha_code',
  9297. 'style="width:500px;text-align:left;">',
  9298. 'optional1--',
  9299. 'optional2',
  9300. "//a[contains(@href,'daofile.com')]");
  9301. }
  9302. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9303. {
  9304. addFileHost(
  9305. "imagenetz\.de\/\\w+",
  9306. 'id="download',
  9307. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9308. 'optional1--',
  9309. 'optional2',
  9310. "//a[contains(@href,'imagenetz.de')]");
  9311. }
  9312. if (GM_getValue("Check_uloz_dot_to_links", false))
  9313. {
  9314. addFileHost(
  9315. "uloz\.to",
  9316. 'limitedDownloadButton|Stáhnout pomalu',
  9317. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9318. 'optional1--',
  9319. 'optional2',
  9320. "//a[contains(@href,'uloz.to')]");
  9321. }
  9322. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9323. {
  9324. addFileHost(
  9325. "ulozto.net",
  9326. 'limitedDownloadButton|Stáhnout pomalu',
  9327. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9328. 'optional1--',
  9329. 'optional2',
  9330. "//a[contains(@href,'ulozto.net')]");
  9331. }
  9332. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9333. {
  9334. addFileHost(
  9335. "ulozto\.sk",
  9336. 'limitedDownloadButton|Stáhnout pomalu',
  9337. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9338. 'optional1--',
  9339. 'optional2',
  9340. "//a[contains(@href,'ulozto.sk')]");
  9341. }
  9342. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9343. {
  9344. addFileHost(
  9345. "ulozto\.cz",
  9346. 'limitedDownloadButton|Stáhnout pomalu',
  9347. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9348. 'optional1--',
  9349. 'optional2',
  9350. "//a[contains(@href,'ulozto.cz')]");
  9351. }
  9352. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9353. {
  9354. addFileHost(
  9355. "subyshare\.com\/\\w+",
  9356. 'id="method_free',
  9357. 'file was removed|class="err">|1s">404',
  9358. 'optional1--',
  9359. 'optional2',
  9360. "//a[contains(@href,'subyshare.com')]",
  9361. true);
  9362. }
  9363. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9364. {
  9365. addFileHost(
  9366. "fileshareup\.com\/\\w+",
  9367. 'download-timer|btn-free-element|content="Download file',
  9368. 'content="Error"|content="error|heading-1">Error<',
  9369. 'optional1--',
  9370. 'optional2',
  9371. "//a[contains(@href,'fileshareup.com')]");
  9372. }
  9373. if (GM_getValue("Check_mystore_dot_to_links", false))
  9374. {
  9375. addFileHost(
  9376. "mystore\.to\/\\w+",
  9377. 'Download File',
  9378. 'file not found',
  9379. 'optional1--',
  9380. 'optional2',
  9381. "//a[contains(@href,'mystore.to/dl')]");
  9382. }
  9383. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9384. {
  9385. addFileHost(
  9386. "usercloud\.net\/\\w+",
  9387. 'content="download|var seconds = 60|type="password',
  9388. 'content="error|report_file.html">',
  9389. 'optional1--',
  9390. 'optional2',
  9391. "//a[contains(@href,'usercloud.net')]");
  9392. }
  9393. if (GM_getValue("Check_workupload_dot_com_links", false))
  9394. {
  9395. addFileHost(
  9396. "workupload\.com\/\\w+",
  9397. 'content="Download|id="download"',
  9398. 'File not found|img/not-found.jpg|Error message',
  9399. 'optional1--',
  9400. 'optional2',
  9401. "//a[contains(@href,'workupload.com')]");
  9402. }
  9403. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9404. {
  9405. addFileHost(
  9406. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9407. 'class="download">',
  9408. 'class="error center',
  9409. 'optional1--',
  9410. 'optional2',
  9411. "//a[contains(@href,'storageserver.co.uk')]");
  9412. }
  9413. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9414. {
  9415. addFileHost(
  9416. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9417. '"kind": "file"',
  9418. '"error": "not_exists"',
  9419. 'optional1--',
  9420. 'optional2',
  9421. "//a[contains(@href,'cloud.mail.ru')]");
  9422. }
  9423. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9424. {
  9425. addFileHost(
  9426. "bdupload\.info\/\\w+",
  9427. 'class="downloadbtn">|id="downloadbtn"',
  9428. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9429. 'optional1--',
  9430. 'optional2',
  9431. "//a[contains(@href,'bdupload.info')]");
  9432. }
  9433. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9434. {
  9435. addFileHost(
  9436. "wayupload\.com\/\\w+",
  9437. 'class="nopay-btn gray"',
  9438. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9439. 'optional1--',
  9440. 'optional2',
  9441. "//a[contains(@href,'wayupload.com')]");
  9442. }
  9443. if (GM_getValue("Check_exbit_dot_net_links", false))
  9444. {
  9445. addFileHost(
  9446. "exbit\.net\/\\w+",
  9447. 'class="nopay-btn|href="/download/free/',
  9448. 'File not found',
  9449. 'optional1--',
  9450. 'optional2',
  9451. "//a[contains(@href,'exbit.net')]");
  9452. }
  9453. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9454. {
  9455. addFileHost(
  9456. "uploadocean\.com\/\\w+",
  9457. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9458. 'deleted.png"',
  9459. 'optional1--',
  9460. 'optional2',
  9461. "//a[contains(@href,'uploadocean.com')]");
  9462. }
  9463. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9464. {
  9465. addFileHost(
  9466. "fileflares\.com\/\\w+",
  9467. 'id="downloadbtn"',
  9468. '<div style="width:500px;text-align:left;">',
  9469. 'optional1--',
  9470. 'optional2',
  9471. "//a[contains(@href,'fileflares.com')]");
  9472. }
  9473. if (GM_getValue("Check_erafile_dot_com_links", false))
  9474. {
  9475. addFileHost(
  9476. "erafile\.com\/\\w+",
  9477. 'id="method_free',
  9478. '<div style="width:500px;text-align:left;">',
  9479. 'optional1--',
  9480. 'optional2',
  9481. "//a[contains(@href,'erafile.com')]");
  9482. }
  9483. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9484. {
  9485. addFileHost(
  9486. "suprafiles\.net\/\\w+",
  9487. 'name="method_free"',
  9488. 'File Not Found|style="width:1000px; text-align: left;">',
  9489. 'optional1--',
  9490. 'optional2',
  9491. "//a[contains(@href,'suprafiles.net')]");
  9492. }
  9493. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9494. {
  9495. addFileHost(
  9496. "upfiles\.net\/\\w+",
  9497. 'id="recaptcha2"|snail.png"',
  9498. 'Ten plik został usunięty.|style="margin-top:50px',
  9499. 'optional1--',
  9500. 'optional2',
  9501. "//a[contains(@href,'upfiles.net/f/')]");
  9502. }
  9503. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9504. {
  9505. addFileHost(
  9506. "dailyfiles\.net\/\\w+",
  9507. 'onclick="dwn',
  9508. '<title>Error',
  9509. 'optional1--',
  9510. 'optional2',
  9511. "//a[contains(@href,'dailyfiles.net')]");
  9512. }
  9513. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9514. {
  9515. addFileHost(
  9516. "littlebyte\.net\/\\w+",
  9517. '>Free download<|>Скачать медленно<',
  9518. 'images/dmca.png">',
  9519. 'optional1--',
  9520. 'optional2',
  9521. "//a[contains(@href,'littlebyte.net')]");
  9522. }
  9523. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9524. {
  9525. addFileHost(
  9526. "black\\-label\\.pro\/\\w+",
  9527. 'slow_download_button.png"|td><td title="',
  9528. 'STILL NEED CODE FOR DEAD LINKS',
  9529. 'optional1--',
  9530. 'optional2',
  9531. "//a[contains(@href,'black-label.pro')]");
  9532. } */
  9533. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9534. {
  9535. addFileHost(
  9536. "temp\\-share\\.com\/\\w+",
  9537. 'publickey',
  9538. 'STILL NEED CODE FOR DEAD LINKS',
  9539. 'optional1--',
  9540. 'optional2',
  9541. "//a[contains(@href,'temp-share.com')]");
  9542. }
  9543. if (GM_getValue("Check_filesha_dot_com_links", false))
  9544. {
  9545. addFileHost(
  9546. "filesha\.com\/\\w+",
  9547. '>Download Free<',
  9548. 'STILL NEED CODE FOR DEAD LINKS',
  9549. 'optional1--',
  9550. 'optional2',
  9551. "//a[contains(@href,'filesha.com')]");
  9552. }
  9553. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9554. {
  9555. addFileHost(
  9556. "ausfile\.com\/\\w+",
  9557. 'class="slow-download',
  9558. 'File Not Found',
  9559. 'optional1--',
  9560. 'optional2',
  9561. "//a[contains(@href,'ausfile.com')]");
  9562. }
  9563. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9564. {
  9565. addFileHost(
  9566. "upfile\.mobi\/\\w+",
  9567. 'class="download_button"',
  9568. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9569. 'optional1--',
  9570. 'optional2',
  9571. "//a[contains(@href,'upfile.mobi')]");
  9572. }
  9573. if (GM_getValue("Check_share_dot_az_links", false))
  9574. {
  9575. addFileHost(
  9576. "share\.az\/\\w+",
  9577. 'id="btn_download"',
  9578. 'File Not Found|We are sorry',
  9579. 'optional1--',
  9580. 'optional2',
  9581. "//a[contains(@href,'share.az')]");
  9582. }
  9583. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9584. {
  9585. addFileHost(
  9586. "partage-facile\.com",
  9587. 'class="title"><strong>',
  9588. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9589. 'optional--',
  9590. 'optional2--',
  9591. "//a[contains(@href,'partage-facile.com')]");
  9592. }
  9593. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9594. {
  9595. addFileHost(
  9596. "uploadify\.net\/\\w+",
  9597. 'loading_small.gif"',
  9598. '<title>Error -',
  9599. 'optional1--',
  9600. 'optional2',
  9601. "//a[contains(@href,'uploadify.net')]");
  9602. }
  9603. if (GM_getValue("Check_uploads_dot_to_links", false))
  9604. {
  9605. addFileHost(
  9606. "uploads\.to\/\\w+",
  9607. 'class="g-recaptcha',
  9608. 'File Not Found',
  9609. 'optional1--',
  9610. 'optional2',
  9611. "//a[contains(@href,'uploads.to')]");
  9612. }
  9613.  
  9614. }
  9615. //start here
  9616.  
  9617. //hosts with direct download, so they must be requested for headers only
  9618. function initFileHostsHeadersOnly()
  9619. {
  9620. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9621. {
  9622. var host = new Array(5);
  9623. host[0] = linkRegex;
  9624. host[1] = isAliveRegex;
  9625. host[2] = isDeadRegex;
  9626. host[4] = ispremRegex;
  9627. host[3] = xpathEx;
  9628. http_file_hosts_headers_only.push(host);
  9629. }
  9630. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9631. {
  9632. addFileHostHeadersOnly(
  9633. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9634. 'Connection: Keep-Alive',
  9635. 'Content-Length: 3857',
  9636. 'optional2',
  9637. "//a[contains(@href,'uloziste.com')]"
  9638. )
  9639. }
  9640. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9641. {
  9642. addFileHostHeadersOnly(
  9643. "filescdn\.com\/\\w+",
  9644. 'Connection: keep-alive',
  9645. 'Company</Title>',
  9646. 'optional2',
  9647. "//a[contains(@href,'filescdn.com')]"
  9648. )
  9649. } */
  9650. if (GM_getValue("Check_adrive_dot_com_links", false))
  9651. {
  9652. addFileHostHeadersOnly(
  9653. "adrive\\.com\/public\/\\w+",
  9654. 'Connection: keep-alive',
  9655. 'orig_ref=deleted',
  9656. 'optional2',
  9657. "//a[contains(@href,'adrive.com')]"
  9658. )
  9659. }
  9660. }
  9661.  
  9662. //CustomRules
  9663. //functions add...Host copied here
  9664. function addObsoleteHost(linkRegex, xpathEx)
  9665. {
  9666. var host = new Array(2);
  9667. host[0] = linkRegex;
  9668. host[1] = xpathEx;
  9669. http_file_hosts_obsolete.push(host);
  9670. }
  9671. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9672. {
  9673. var host = new Array(7);
  9674. host[0] = linkRegex;
  9675. host[1] = isAliveRegex;
  9676. host[2] = isDeadRegex;
  9677. host[3] = isUnavaRegex;
  9678. host[4] = xpathEx;
  9679. tryLoop ? host[5] = true : host[5] = false;
  9680. host[6] = ispremRegex;
  9681. http_file_hosts.push(host);
  9682. }
  9683. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9684. {
  9685. var host = new Array(5);
  9686. host[0] = linkRegex;
  9687. host[1] = isAliveRegex;
  9688. host[2] = isDeadRegex;
  9689. host[3] = xpathEx;
  9690. host[4] = ispremRegex;
  9691. http_file_hosts_headers_only.push(host);
  9692. }
  9693. //takes a fully built rules array and adds the rules to WARLC
  9694. function applyCustomRules(customRules)
  9695. {
  9696. if (!customRules) return;
  9697. var rules, r, i;
  9698. rules = customRules.rules;
  9699. for (i = 0 ; i < rules.length ; i++)
  9700. {
  9701. r = rules[i];
  9702. if (r.enabled)
  9703. {
  9704. switch (r.type)
  9705. {
  9706. case 'single':
  9707. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9708. break;
  9709. case 'headers':
  9710. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9711. break;
  9712. case 'obsolete':
  9713. addObsoleteHost(r.urlregex, r.xpath)
  9714. break;
  9715. }
  9716. }
  9717. }
  9718. }
  9719.  
  9720.  
  9721. function initFileHostsCustom()
  9722. {
  9723. if (Custom_rules && Custom_rules_text)
  9724. {
  9725. var msg = '';
  9726. if (newVersion)
  9727. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9728. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9729. msg = '60 or more days have passed since this notification.\n\n';
  9730. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9731. {
  9732. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9733. msg +=
  9734. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9735. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9736. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9737. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9738. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9739. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9740. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9741. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9742. setTimeout(function(){alert(msg)},0);
  9743. }
  9744. var customRules = parseCustomRules(Custom_rules_text);
  9745. if (customRules.warning || customRules.error)
  9746. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9747. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9748. JSON.stringify(customRules.info, null, ' '));
  9749. applyCustomRules(customRules);
  9750. }
  9751. }
  9752. //end of CustomRules processing
  9753.  
  9754.  
  9755.  
  9756. } //end of function start
  9757.  
  9758.  
  9759.  
  9760. function initClipBoardTools()
  9761. {
  9762. unsafeWindow.copyToClipboard = function(text)
  9763. {
  9764. try
  9765. {
  9766. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9767.  
  9768. var str = Components.classes["@mozilla.org/supports-string;1"].
  9769. createInstance(Components.interfaces.nsISupportsString);
  9770. if (!str) return false;
  9771.  
  9772. str.data = text;
  9773.  
  9774. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9775. createInstance(Components.interfaces.nsITransferable);
  9776. if (!trans) return false;
  9777.  
  9778. trans.addDataFlavor("text/unicode");
  9779. trans.setTransferData("text/unicode", str, text.length * 2);
  9780.  
  9781. var clipid = Components.interfaces.nsIClipboard;
  9782. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9783. if (!clip) return false;
  9784.  
  9785. clip.setData(trans, null, clipid.kGlobalClipboard);
  9786. } catch (e) {
  9787. GM_log("Error copyToClipboard : " + e);
  9788. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9789. }
  9790. }
  9791. }
  9792.  
  9793.  
  9794.  
  9795. //CustomRules
  9796.  
  9797. function escapeRegex(str)
  9798. {
  9799. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9800. }
  9801.  
  9802.  
  9803. //called internally from parseCustomRules.
  9804. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9805. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9806. function makeCustomRule(rule)
  9807. {
  9808. function makeMatchRegex(arrmatch)
  9809. {
  9810. return escapeRegex(arrmatch.join('\n'))
  9811. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9812. .replace(/\n/g,'|'); //join together
  9813. }
  9814. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9815. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9816. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9817. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9818. if (rule.baseurl)
  9819. {
  9820. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9821. for (i = 0 ; i < len ; i++)
  9822. {
  9823. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9824. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9825. {
  9826. 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'])
  9827. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9828. }
  9829. else //baseurl in the form: example.com/xxx
  9830. {
  9831. xpath.push(m[0]);
  9832. urlregex.push(escapeRegex(m[0]) + '.');
  9833. }
  9834. }
  9835. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9836. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9837. }
  9838. return rule;
  9839. } //function makeCustomRule
  9840.  
  9841.  
  9842. /*
  9843. Takes a string containing custom link checking rules.
  9844. Returns an object with fields:
  9845. info - contains notes, warnings and errors found during parsing
  9846. rules - the array of custom rules
  9847. note, warning, error - number of each of them found during parsing
  9848. Format of the input string:
  9849. One command per line. Command format: @keyword parameter
  9850. Keywords:
  9851. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9852. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9853. These keywords can be multiple (any of them will work):
  9854. @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...)
  9855. @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+
  9856. @alivelink, @deadlink - example links
  9857. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9858. Lines starting with // and empty lines are ignored.
  9859. Invalid parameters generate errors and those lines are skipped.
  9860. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9861. Example:
  9862. @customrule filehost
  9863. @baseurl filehost.com/download/
  9864. @baseurl filehost2. com net /d?=
  9865. @alivematch id="download">
  9866. @deadmatch File not found
  9867. @deadmatch File deleted
  9868. */
  9869. function parseCustomRules(rulesStr)
  9870. {
  9871. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9872. function addInfo(type, msg, ln){
  9873. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9874. customRules[type]++;
  9875. }
  9876. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9877. if (!lines) return null;
  9878. lines.push('@#customrule _'); //to save the last rule
  9879. var m, linecount = lines.length;
  9880. var keyword, param, constr, rule, err;
  9881. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9882. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9883. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9884. var constraints = {
  9885. 'baseurl': {
  9886. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9887. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9888. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9889. 'alivematch': {
  9890. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9891. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9892. 'deadmatch': {
  9893. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9894. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9895. 'unavamatch': {
  9896. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9897. 'alivelink': {
  9898. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9899. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9900. 'deadlink': {
  9901. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9902. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9903. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9904. };
  9905. for (linenum = 0 ; linenum < linecount ; linenum++)
  9906. {
  9907. //capturing groups: 1 23 4 5 6
  9908. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9909. if (m)
  9910. {
  9911. if (m[1] || !m[2])
  9912. continue; // ignore empty lines and lines starting with //
  9913. keyword = (m[4] || m[2]).toLowerCase();
  9914. param = m[6];
  9915. if (keyword == 'customrule')
  9916. {
  9917. //save the current rule if all required fields are provided
  9918. if (rule)
  9919. {
  9920. err = false;
  9921. $.each(constraints, function(kw, constraint){
  9922. var l, constr = constraint[rule.type];
  9923. if (constr)
  9924. {
  9925. l = rule[kw] ? rule[kw].length : 0;
  9926. if (l < constr.min || l > constr.max)
  9927. {
  9928. 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);
  9929. err = true;
  9930. }
  9931. }
  9932. });
  9933. if (!err)
  9934. customRules.rules.push(makeCustomRule(rule));
  9935. }
  9936. //start a new rule
  9937. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9938. {
  9939. rule = {
  9940. 'enabled': !m[3],
  9941. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9942. 'name': param
  9943. };
  9944. }
  9945. else
  9946. {
  9947. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9948. rule = null;
  9949. }
  9950. }
  9951. else //good line format, but keyword other than customrule
  9952. {
  9953. if (!rule)
  9954. {
  9955. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9956. continue;
  9957. }
  9958. if (constraints[keyword])
  9959. {
  9960. constr = constraints[keyword][rule.type];
  9961. if (constr)
  9962. {
  9963. if (constr.paramRE && !constr.paramRE.test(param))
  9964. {
  9965. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9966. continue;
  9967. }
  9968. }
  9969. else
  9970. {
  9971. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9972. continue;
  9973. }
  9974. }
  9975. //line OK, save
  9976. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9977. }
  9978. } //if (m)
  9979. else
  9980. addInfo('warning', 'Unknown line format. Line skipped.');
  9981. } //for loop
  9982. return customRules;
  9983. } //function parseCustomRules
  9984.  
  9985.  
  9986. /* ********************UPDATES********************
  9987.  
  9988. April 05, 2017
  9989. Version 1.3.7.4
  9990. added oload.tv
  9991.  
  9992. March 30, 2017
  9993. Version 1.3.7.3
  9994. added uploads.to
  9995.  
  9996. March 20, 2017
  9997. Version 1.3.7.2
  9998. added black-label.pro to obsolete hosts
  9999.  
  10000. March 13, 2017
  10001. Version 1.3.7.1
  10002. fixed filescdn.com
  10003.  
  10004. February 27, 2017
  10005. Version 1.3.7.0
  10006. fixed openload.co
  10007.  
  10008. February 26, 2017
  10009. Version 1.3.6.9
  10010. fixed drive.google.com
  10011. fixed uptobox.com (by dodoxp)
  10012.  
  10013. February 25, 2017
  10014. Version 1.3.6.8
  10015. added uploading.com to obsolete hosts
  10016.  
  10017. February 24, 2017
  10018. Version 1.3.6.7
  10019. cloudzilla.to added to obsolete hosts
  10020.  
  10021. February 23, 2017
  10022. Version 1.3.6.6
  10023. uploadify.net
  10024.  
  10025. February 22, 2017
  10026. Version 1.3.6.5
  10027. fixed katfile.com
  10028.  
  10029. February 12, 2017
  10030. Version 1.3.6.3
  10031. added junocloud.me to obsolete hosts
  10032.  
  10033. January 12, 2017
  10034. Version 1.3.6.2
  10035. added share.az & upfile.mobi
  10036.  
  10037. January 07, 2017
  10038. Version 1.3.6.1
  10039. added ausfile.com
  10040.  
  10041. January 05, 2017
  10042. Version 1.3.6.0
  10043. removed uploadable.ch from obsolete hosts
  10044.  
  10045. January 04, 2017e
  10046.  
  10047. December 31, 2016
  10048. Version 1.3.5.8
  10049. disabled on pizzaonline.dominos
  10050.  
  10051. December 31, 2016
  10052. Version 1.3.5.7
  10053. added uploadable.ch to obsolete hosts
  10054.  
  10055. December 30, 2016
  10056. Version 1.3.5.6
  10057. restored kingfiles.net
  10058.  
  10059. December 14, 2016
  10060. Version 1.3.5.5
  10061. fixed some 1fichier links not checking (yurii)
  10062.  
  10063. December 01, 2016
  10064. Version 1.3.5.4
  10065. added temp-share.com & filesha.com
  10066.  
  10067. November 30, 2016
  10068. Version 1.3.5.3
  10069. fixed mexashare.com not detecting some dead links
  10070.  
  10071. November 29, 2016
  10072. Version 1.3.5.2
  10073. added black-label.pro (live links only)
  10074.  
  10075. November 27, 2016
  10076. Version 1.3.5.1
  10077. made changes to filefactory
  10078.  
  10079. November 23, 2016
  10080. Version 1.3.5.0
  10081. added megashares.com to obsolete hosts
  10082. fixed letitbit not showing as obsolete
  10083. added littlebyte.net
  10084.  
  10085. November 22, 2016
  10086. Version 1.3.4.9
  10087. added code for live links to rapidgator
  10088. added dailyfiles.net
  10089. added upfiles.net
  10090. added multiup.eu
  10091.  
  10092. November 17, 2016
  10093. Version 1.3.4.8
  10094. fixed filefactory, again
  10095.  
  10096. November 17, 2016
  10097. Version 1.3.4.7
  10098. fixed filefactory folders
  10099.  
  10100. November 15, 2016
  10101. Version 1.3.4.6
  10102. fixed filefactory
  10103.  
  10104. November 14, 2016
  10105. Version 1.3.4.5
  10106. fixed rapidgator
  10107. fixed filefactory folders
  10108.  
  10109.  
  10110. November 13, 2016
  10111. Version 1.3.4.4
  10112. fixed problem with drive.google.com
  10113. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10114.  
  10115. November 06, 2016
  10116. Version 1.3.4.3
  10117. added to obsolete hosts (by love buzz)
  10118. 4up.me
  10119. a nonfiles.com
  10120. axifile.com
  10121. creafile.net
  10122. demo.ovh.eu
  10123. filesin.com
  10124. file swap.com
  10125. gulfup.com
  10126. hexupload.com
  10127. hugefiles.net
  10128. jumbofiles.com
  10129. kingfiles.net
  10130. letitbit.net
  10131. lolabits.es
  10132. nowdownload.ch
  10133. openfile.ru
  10134. radicalshare.com
  10135. remixshare.com
  10136. storefiles.co
  10137. toutbox.fr
  10138. uploadbaz.com
  10139. uploadingit.com
  10140. verzend.be
  10141. vidplay.net
  10142. vidxden.com
  10143. xfileload.com
  10144.  
  10145. November 04, 2016
  10146. Version 1.3.4.2
  10147. added french code for rapidgator premium links
  10148. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10149.  
  10150. November 03, 2016
  10151. Version 1.3.4.1
  10152. added Portuguese code for rapidgator premium links
  10153. added suprafiles.net
  10154.  
  10155. November 02, 2016
  10156. Version 1.3.4.0
  10157. fixed depositfiles not detecting depositfiles.com/de links
  10158.  
  10159. October 27, 2016
  10160. Version 1.3.3.9
  10161. fixed uploaded.net not detecting some dead links
  10162.  
  10163. October 24, 2016
  10164. Version 1.3.3.8
  10165. added more french code for upload.af dead links
  10166.  
  10167. October 23, 2016
  10168. Version 1.3.3.7
  10169. added french for upload.af dead links
  10170.  
  10171. October 17, 2016
  10172. Version 1.3.3.6
  10173. fixed error (by Yurii)
  10174.  
  10175. October 17, 2016
  10176. Version 1.3.3.5
  10177. fixed file.al (by Yurii)
  10178.  
  10179. October 16, 2016
  10180. Version 1.3.3.4
  10181. test
  10182.  
  10183. October 11, 2016
  10184. Version 1.3.3.3
  10185. fixed subyshare.com not detecting some dead links
  10186. fixed mexashare.com
  10187. fixed pornfile.cz
  10188.  
  10189. October 10, 2016
  10190. Version 1.3.3.2
  10191. added fileflares.com
  10192. added erafile.com
  10193. added loop to subyshare.com & rockfile.eu
  10194.  
  10195. September 26, 2016
  10196. Version 1.3.3.1
  10197. added uploadocean.com
  10198.  
  10199. September 25, 2016
  10200. Version 1.3.3.0
  10201. added exbit.net
  10202.  
  10203. September 25, 2016
  10204. Version 1.3.2.9
  10205. fixed uptobox
  10206. fixed google (by kubbbie)
  10207.  
  10208. September 23, 2016
  10209. Version 1.3.2.8
  10210. added danish to rapidgator
  10211.  
  10212. September 22, 2016
  10213. Version 1.3.2.7
  10214. added wayupload.com
  10215.  
  10216. September 18, 2016
  10217. Version 1.3.2.6
  10218. added Portuguese language to rapidgator
  10219.  
  10220. September 15, 2016
  10221. Version 1.3.2.5
  10222. added languages to rapidgator
  10223. french
  10224. german
  10225. spanish
  10226. Italian
  10227. russian
  10228. polish
  10229. dutch
  10230. czech
  10231. chinese
  10232. japanese
  10233.  
  10234. September 14, 2016
  10235. Version 1.3.2.4
  10236. fixed spaceforfiles.com
  10237.  
  10238. September 09, 2016
  10239. Version 1.3.2.3
  10240. added bdupload.info
  10241. added german & deutsch language to workupload.com
  10242.  
  10243. September 08, 2016
  10244. Version 1.3.2.2
  10245. added...
  10246. storageserver.co.uk
  10247. cloud.mail.ru
  10248. fixed depositfiles
  10249.  
  10250. September 08, 2016
  10251. Version 1.3.2.1
  10252. added workupload.com
  10253.  
  10254. September 04, 2016
  10255. Version 1.3.2.0
  10256. made changes to euroshare.eu
  10257.  
  10258. September 03, 2016
  10259. Version 1.3.1.9
  10260. added usercloud.net
  10261. made changes to euroshare.eu
  10262.  
  10263. August 31, 2016
  10264. Version 1.3.1.8
  10265. fixed uptobox.com
  10266.  
  10267. August 30, 2016
  10268. Version 1.3.1.7
  10269. made changes to euroshare.eu
  10270.  
  10271. August 29, 2016
  10272. Version 1.3.1.6
  10273. made changes to data.hu
  10274.  
  10275. August 29, 2016
  10276. Version 1.3.1.5
  10277. fixed euroshare.eu not detecting dead links
  10278.  
  10279. August 23, 2016
  10280. Version 1.3.1.4
  10281. added ulozto.sk
  10282. added ulozto.cz
  10283.  
  10284. August 19, 2016
  10285. Version 1.3.1.3
  10286. fixed euroshare.eu
  10287. fixed 2share.com
  10288.  
  10289. August 17, 2016
  10290. Version 1.3.1.2
  10291. added french code for 1fichier
  10292.  
  10293. August 16, 2016
  10294. Version 1.3.1.1
  10295. fix for 1fichier folder links, by yurii
  10296.  
  10297. August 15, 2016
  10298. Version 1.3.1.0
  10299. another fix for 1fichier
  10300. added mystore.to
  10301.  
  10302. August 12, 2016
  10303. Version 1.3.0.9
  10304. fixed 1fichier
  10305.  
  10306. August 01, 2016
  10307. Version 1.3.0.8
  10308. fixed tezfiles.com not detecting some premium links
  10309.  
  10310. July 24, 2016
  10311. Version 1.3.0.7
  10312. added fileshareup.com
  10313.  
  10314. July 17, 2016
  10315. Version 1.3.0.6
  10316. added subyshare.com
  10317.  
  10318. july 10, 2016
  10319. Version 1.3.0.5
  10320. fixed ulozto.net
  10321.  
  10322. july 07, 2016
  10323. Version 1.3.0.4
  10324. fixed uloz.to
  10325.  
  10326. july 07, 2016
  10327. Version 1.3.0.3
  10328. added imagenetz.de
  10329.  
  10330. June 23, 2016
  10331. Version 1.3.0.2
  10332. excluded nexcess.net
  10333.  
  10334. June 20, 2016
  10335. Version 1.3.0.1
  10336. added daofile.com
  10337.  
  10338. June 16, 2016
  10339. Version 1.3.0.0
  10340. added mexashare.com
  10341.  
  10342. June 16, 2016
  10343. Version 1.2.9.9
  10344. added novafile.com
  10345. added uploadgig.com
  10346.  
  10347. June 15, 2016
  10348. Version 1.2.9.8
  10349. fixed upload.af
  10350.  
  10351. June 10, 2016
  10352. Version 1.2.9.7
  10353. added alltu.eu
  10354.  
  10355. June 09, 2016
  10356. Version 1.2.9.6
  10357. added code for french language to rapidgator.net & rg.to
  10358.  
  10359. June 04, 2016
  10360. Version 1.2.9.5
  10361. added upnito.sk
  10362.  
  10363. May 31, 2016
  10364. Version 1.2.9.4
  10365. fixed mega.co (by yurii)
  10366.  
  10367. May 31, 2016
  10368. Version 1.2.9.3
  10369. code cleanup
  10370.  
  10371. May 27, 2016
  10372. Version 1.2.9.2
  10373. added filesin.space
  10374.  
  10375. May 27, 2016
  10376. Version 1.2.9.1
  10377. added
  10378. filescdn.com
  10379. bankupload.com
  10380. katfile.com
  10381.  
  10382. May 18, 2016
  10383. Version 1.2.9.0
  10384. added warped.co to obsolete hosts
  10385.  
  10386. May 17, 2016
  10387. Version 1.2.8.9
  10388. fixed mega.nz
  10389.  
  10390. May 16, 2016
  10391. Version 1.2.8.8
  10392. added to obsolete hosts
  10393. fileband.com
  10394. filecloud.cc
  10395. filesmelt.com
  10396. goldbytez.com
  10397. hulkshare.com
  10398. idup.in
  10399. loudupload.net
  10400. muchshare.net
  10401. myupload.dk
  10402. nekaka.com
  10403. netkups.com
  10404. plunder.com
  10405. uploads.xxx
  10406. uploadspace.pl
  10407. xkeepfile.com
  10408.  
  10409. May 16, 2016
  10410. Version 1.2.8.7
  10411. added upnito.sk to obsolete hosts
  10412.  
  10413. May 15, 2016
  10414. Version 1.2.8.6
  10415. fixed uploading.site
  10416.  
  10417. May 15, 2016
  10418. Version 1.2.8.5
  10419. added oload.net
  10420.  
  10421. May 14, 2016
  10422. Version 1.2.8.4
  10423. added uploading.site
  10424.  
  10425. May 13, 2016
  10426. Version 1.2.8.3
  10427. added uploadc.ch
  10428. fixed vidspot.net
  10429.  
  10430. May 13, 2016
  10431. Version 1.2.8.2
  10432. added keepshare.net
  10433.  
  10434. May 11, 2016
  10435. Version 1.2.8.1
  10436. added uploadserv.com
  10437.  
  10438. May 09, 2016
  10439. Version 1.2.8.0
  10440. fixed upstore.net & upsto.re
  10441. added 24uploading.com to obsolete hosts
  10442.  
  10443. May 06, 2016
  10444. Version 1.2.7.9
  10445. added storagon.com to obsolete hosts
  10446. fixed worldbytez.com
  10447.  
  10448. May 02, 2016
  10449. Version 1.2.7.8
  10450. added myfiles.onl
  10451.  
  10452. april 28, 2016
  10453. Version 1.2.7.7
  10454. fixed bytewhale.com
  10455.  
  10456. april 27, 2016
  10457. Version 1.2.7.6
  10458. fixed rapidgator not detecting some premium links.
  10459.  
  10460. april 27, 2016
  10461. Version 1.2.7.5
  10462. added jeodrive.com
  10463.  
  10464. april 26, 2016
  10465. Version 1.2.7.4
  10466. added sanshare.com to obsolete hosts
  10467.  
  10468. april 26, 2016
  10469. Version 1.2.7.3
  10470. fixed vidspot.net
  10471.  
  10472. april 26, 2016
  10473. Version 1.2.7.2
  10474. added upx.nz
  10475.  
  10476. april 25, 2016
  10477. Version 1.2.7.1
  10478. added rapidfilehost.com to obsolete hosts
  10479. fixed bitster.cz
  10480.  
  10481. april 12, 2016
  10482. Version 1.2.7.0
  10483. fixed rapidgator not detecting some premium links.
  10484.  
  10485. april 11, 2016
  10486. Version 1.2.6.9
  10487. changed code for ncrypt.in
  10488.  
  10489. april 07, 2016
  10490. Version 1.2.6.8
  10491. added fileinz.com to obsolete hosts.
  10492.  
  10493. april 06, 2016
  10494. Version 1.2.6.7
  10495. added sharingmaster.com to obsolete hosts.
  10496.  
  10497. april 05, 2016
  10498. Version 1.2.6.6
  10499. added 4upfiles.com & elffiles.com to obsolete hosts
  10500.  
  10501. april 03, 2016
  10502. Version 1.2.6.5
  10503. updates to configuration page
  10504.  
  10505. March 31, 2016
  10506. Version 1.2.6.4
  10507. added code for tampermonkey 4.0 compatibility
  10508.  
  10509. March 31, 2016
  10510. Version 1.2.6.3
  10511. fixed uloz.to
  10512. fixed copy dead links to clipboard feature
  10513. added copy live links to clipboard feature.
  10514.  
  10515. March 24, 2016
  10516. Version 1.2.6.2
  10517. changed made to nitroflare. (yurri)
  10518.  
  10519. March 20, 2016
  10520. Version 1.2.6.1
  10521. fixed rapidgator
  10522. fixed dfiles
  10523. fixed dl.free.fr
  10524. fixed nitroflare.com (Fixed by Yurii)
  10525.  
  10526. March 15, 2016
  10527. Version 1.2.6.0
  10528. fixed rapidgator.net
  10529. fixed uploaded.net
  10530.  
  10531. March 13, 2016
  10532. Version 1.2.5.9
  10533. added
  10534. uploads.ws
  10535. upl.me
  10536. clicknupload.link
  10537. added fileover.net to obsolete hosts
  10538. fixed kingfiles.net
  10539.  
  10540. March 09, 2016
  10541. Version 1.2.5.8
  10542. added kingfiles.net to obsolete hosts
  10543. fixed 4upld.com/expressleech.com
  10544.  
  10545. March 08, 2016
  10546. Version 1.2.5.7
  10547. fixed solidfiles.com
  10548.  
  10549. March 01, 2016
  10550. Version 1.2.5.6
  10551. added filespace.com
  10552. fixed depositfiles (by yurii)
  10553.  
  10554. February 29, 2016
  10555. Version 1.2.5.5
  10556. made change to keep2share
  10557.  
  10558. February 28, 2016
  10559. Version 1.2.5.4
  10560. removed down4files.com from obsolete hosts.
  10561.  
  10562. February 26, 2016
  10563. Version 1.2.5.3
  10564. fixed userscloud.com
  10565.  
  10566. February 24, 2016
  10567. Version 1.2.5.2
  10568. added yandex.com
  10569. fixed datafile.com
  10570.  
  10571. February 22, 2016
  10572. Version 1.2.5.1
  10573. added bigfile.to
  10574.  
  10575. February 20, 2016
  10576. Version 1.2.5.0
  10577. added abelhas.pt
  10578.  
  10579. February 18, 2016
  10580. Version 1.2.4.9
  10581. made change to uptobox
  10582.  
  10583. February 17, 2016
  10584. Version 1.2.4.8
  10585. fixed yadi.sk
  10586.  
  10587. February 16, 2016
  10588. Version 1.2.4.7
  10589. fixed datafile.com
  10590. fixed filecad.com
  10591. added filecore.co & filestorm.to to obsolete hosts
  10592. added upload.af, filedwon.in & uplod.it
  10593.  
  10594. February 15, 2016
  10595. Version 1.2.4.6
  10596. fixed kumpulbagi.id
  10597. added sangfile.com to obsolete hosts
  10598.  
  10599. February 14, 2016
  10600. Version 1.2.4.5
  10601. fixed yandex.ru
  10602.  
  10603. February 13, 2016
  10604. Version 1.2.4.4
  10605. added lunaticfiles.com.
  10606.  
  10607. February 09, 2016
  10608. Version 1.2.4.3
  10609. added file.up09.com.
  10610.  
  10611. February 09, 2016
  10612. Version 1.2.4.2
  10613. tezfiles.com premium links now detected.
  10614.  
  10615. February 09, 2016
  10616. Version 1.2.4.1
  10617. added seenupload.com to obsolete hosts
  10618. fixed 180upload.com to show obsolete
  10619.  
  10620. February 08, 2016
  10621. Version 1.2.4.0
  10622. added tusfiles.com
  10623. added filesupload.org
  10624. added gigasize.com
  10625. added filecad.com
  10626. fixed filecloud.io
  10627. added uploadnet.co to obsolete hosts
  10628.  
  10629. February 07,2016
  10630. Vession 1.2.3.9
  10631. fixed depositfiles.com folders
  10632. fixed turbobit.net folders
  10633.  
  10634. February 06, 2016
  10635. Version 1.2.3.8
  10636. fixed 1fichier false dead links
  10637.  
  10638. February 04, 2106
  10639. Version 1.2.3.7
  10640. added geupload and lenfile to obsolete hosts
  10641. fixed kyc.pm/depfile
  10642.  
  10643. February 03, 2016
  10644. Version 1.2.3.6
  10645. fixed some nitroflare.com dead links not being detected
  10646.  
  10647. February 01, 2016
  10648. Version 1.2.3.5
  10649. script moved to new site
  10650.  
  10651. January 20, 2016
  10652. Version 1.2.3.3
  10653. fixed some rapidgator premium link not being detected
  10654.  
  10655. January 17, 2016
  10656. Version 1.2.3.2
  10657. added bytewhale.com
  10658. added rapidrar.com
  10659.  
  10660. Version 1.2.3.1
  10661. added 180upload.com to obsolete hosts
  10662. fixed hellspy.com
  10663. added dinoshare.cz,
  10664.  
  10665. January 13, 2016
  10666. Version 1.2.3.0
  10667. added rapidu.net
  10668. added uploadboy.me
  10669. fixed euroshare.eu
  10670.  
  10671. January 12, 2016
  10672. Version 1.2.2.9
  10673. added kb.simple-aja.info
  10674.  
  10675. January 10, 2016
  10676. Version 1.2.2.8
  10677. made changes to fastshare.cz
  10678.  
  10679. January 10, 2016
  10680. Version 1.2.2.7
  10681. fixed uptobox.com
  10682.  
  10683. January 09, 2016
  10684. Version 1.2.2.6
  10685. datoteke.com now detects premium links
  10686. fixed turbobit.net
  10687. fixed uptobox.com
  10688. added pornfile.cz
  10689. added pornoid.cz
  10690. added file-share.top
  10691. added bitster.cz
  10692.  
  10693. January 05, 2016
  10694. Version 1.2.2.5
  10695. fixed salefiles.com
  10696. fixed ozofile.com
  10697.  
  10698. January 04, 2016
  10699. Version 1.2.2.4
  10700. added sharehost.eu
  10701.  
  10702. December 30, 2015
  10703. Version 1.2.2.3
  10704. added tezfiles.com
  10705.  
  10706. December 28, 2015
  10707. Version 1.2.2.2
  10708. fixed some k2s & fboom dead link not getting detected
  10709. fixed some k2s premium links not getting detected.
  10710. fixed ssh.yt not detecting some dead links
  10711. fixed ncrypt.in dead links showing yellow
  10712.  
  10713. December 20, 2015
  10714. Version 1.2.2.0
  10715. added datoteke.com
  10716.  
  10717. December 19, 2015
  10718. Version 1.2.1.9
  10719. added secured.in & linksave.in to obsolete hosts
  10720.  
  10721. December 17, 2015
  10722. Version 1.2.1.8
  10723. added german for dead links to secureupload.eu.
  10724.  
  10725. December 17, 2015
  10726. Version 1.2.1.7
  10727. added french for dead links to secureupload.eu.
  10728. fixed problem with tooltip display.
  10729.  
  10730. December 13, 2015
  10731. Version 1.2.1.6
  10732. added netload.me & fileparadox.in to obsolete hosts
  10733.  
  10734. December 09, 2015
  10735. Version 1.2.1.5
  10736. added rapidsonic.com & fileparadox.com to obsolete hosts
  10737.  
  10738. December 04, 2015
  10739. Version 1.2.1.4
  10740. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10741.  
  10742. December 03, 2015
  10743. Version 1.2.1.3
  10744. added dailyuploads.net
  10745.  
  10746. December 02, 2015
  10747. Version 1.2.1.2
  10748. fixed hitfile.net
  10749. fixed kingfiles.net
  10750.  
  10751. November 30, 2015
  10752. Version 1.2.1.1
  10753. added filepost.com to obsolete hosts
  10754. added devilshare.net
  10755.  
  10756. November 28, 2015
  10757. Version 1.2.1.0
  10758. fixed datafile.com not detecting some premium links.
  10759.  
  10760. November 25, 2015
  10761. Version 1.2.0.9
  10762. fixed filejoker.net
  10763. fixed toutbox.fr
  10764. fixed nowvideo.sx
  10765.  
  10766. November 24, 2015
  10767. Version 1.2.0.8
  10768. fixed openload.io
  10769.  
  10770. November 20, 2015
  10771. Version 1.2.0.7
  10772. //added file.al
  10773. //fixed nitroflare.com false live links
  10774. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10775.  
  10776. November 17, 2015
  10777. Version 1.2.0.6
  10778. added clicknupload.me
  10779.  
  10780. November 09, 2015
  10781. Version 1.2.0.5
  10782. fixed some depfile premium links not being detected
  10783.  
  10784. November 08, 2015
  10785. Version 1.2.0.4
  10786. fixed some rapidgator premium links not being detected
  10787. fixed doraupload.com
  10788.  
  10789. November 08, 2015
  10790. Version 1.2.0.3
  10791. fixed uploaded false premium
  10792.  
  10793. November 07, 2015
  10794. Version 1.2.0.2
  10795. fixed redbunker.net
  10796.  
  10797. November 05, 2015
  10798. Version 1.2.0.1
  10799. fixed app.box.com
  10800. added multiup.org (does not detect all dead links)
  10801.  
  10802. November 01, 2015
  10803. Version 1.2.0.0
  10804. added more languages to rockfile and 1fichier
  10805.  
  10806. November 01, 2015
  10807. Version 1.1.9.9
  10808. fixed rockfile.eu
  10809. changed 1fichier code (Thanks yurri)
  10810. added to obsolete hosts... (Thanks Love Buzz)
  10811. burnupload.com
  10812. cramit.in
  10813. cramitin.net
  10814. down4files.com
  10815. edoc.com
  10816. jumbofile.net
  10817. krotix.net
  10818. migahost.com
  10819. movreel.com
  10820. netload.in
  10821. newfileland.com
  10822. quickshare.cz
  10823.  
  10824. October 30, 2015
  10825. Version 1.1.9.8
  10826. added alfafile.net
  10827.  
  10828. October 26, 2015
  10829. Version 1.1.9.7
  10830. changed datafile.com and uplea.com
  10831. added lolabits.es
  10832.  
  10833. October 26, 2015
  10834. Version 1.1.9.6
  10835. added toutbox.fr
  10836.  
  10837. October 25, 2015
  10838. Version 1.1.9.5
  10839. fixed counter error
  10840.  
  10841. October 25, 2015
  10842. Version 1.1.9.4
  10843. changed uptobox.com code
  10844.  
  10845. October 21, 2015
  10846. Version 1.1.9.3
  10847. fixed uptobox.com
  10848.  
  10849. October 20, 2015
  10850. Version 1.1.9.2
  10851. bug fixes and new method of detecting premium links.
  10852.  
  10853. October 15, 2015
  10854. Version 1.1.9.1
  10855. fixed hugefiles.net false premium
  10856. changed uptobox.com code
  10857.  
  10858. October 06, 2015
  10859. Version 1.1.9.0
  10860. fixed filefactory
  10861. fixed rockfile false premium
  10862. keep2share & fileboom now detect premium links (fixed by yurii)
  10863.  
  10864. October 01, 2015
  10865. Version 1.1.8.9
  10866. fixed free.fr false premium
  10867. fixed thevideo.me false premium
  10868.  
  10869. September 28, 2015
  10870. Version 1.1.8.8
  10871. added uplea.com and openload.co
  10872.  
  10873. September 27, 2015
  10874. Version 1.1.8.7
  10875. fixed fileparadox.in false premium
  10876. added kingfiles.net to obsolete hosts
  10877. removed inafile.com from obsolete hosts
  10878.  
  10879. September 22, 2015
  10880. Version 1.1.8.6
  10881. fixed nitroflare false premium
  10882.  
  10883. September 22, 2015
  10884. Version 1.1.8.5
  10885. fixed userscloud.com false premium
  10886. fixed usersfiles.com false premium
  10887. changed arabloads.com to arabloads.net
  10888. changed nowdownloads.eu to nowdownloads.ch
  10889.  
  10890. September 21, 2015
  10891. Version 1.1.8.3
  10892. added ryushare.com to obsolete hosts.
  10893.  
  10894. September 20, 2015
  10895. Version 1.1.8.2
  10896. fixed nitroflare not showing premium links
  10897. added down4files.com,storfiles.co,filehost.pw
  10898.  
  10899. September 16, 2015
  10900. Version 1.1.8.1
  10901. added crisshare.com to obsolete hosts
  10902. fixed filemoney.com false premium
  10903. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10904.  
  10905. September 14, 2015
  10906. Version 1.1.8.0
  10907. added to obsolete hosts...
  10908. sharebeast.com
  10909. tufiles.ru
  10910.  
  10911. September 12, 2015
  10912. Version 1.1.7.9
  10913. fixed rghost.net false premium
  10914. fixed unlimitzone.com false premium
  10915. fixed turbobit.net false live link
  10916.  
  10917. September 11, 2015
  10918. Version 1.1.7.8
  10919. Fixed filefactory.com false premium.
  10920.  
  10921. September 07, 2015
  10922. Version 1.1.7.7
  10923. fixed "depositfiles.com/en/files" links not checking
  10924.  
  10925. September 06, 2015
  10926. Version 1.1.7.6
  10927. added French code for 1fichier
  10928.  
  10929. August 29, 2015
  10930. Version 1.1.7.5
  10931. fixed depositfiles
  10932. fixed mega.co.nz/mega.nz
  10933. (fixed by yurii)
  10934.  
  10935. August 23, 2015
  10936. Version 1.1.7.4
  10937. Fixed uploadrocket (by yurii)
  10938.  
  10939. August 20, 2015
  10940. Version 1.1.7.3
  10941. fixed depfile.com false premium
  10942. fixed 1fichier false premium
  10943. fixed rapidgator false premium
  10944.  
  10945. August 08, 2015
  10946. Version 1.1.7.1
  10947. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10948.  
  10949. August 07, 2015
  10950. Version 1.1.7.0
  10951. fixed...
  10952. streamin.to
  10953. thefile.me
  10954. vidzi.tv
  10955. added...
  10956. filenuke.com
  10957. vidto.me
  10958. vidspot.net
  10959. sharesix.com
  10960. sharesix.net
  10961. movpod.in,
  10962.  
  10963. August 07, 2015
  10964. Version 1.1.6.9 added...
  10965. thefile.me
  10966. vidzi.tv
  10967. videoweed.es
  10968. vodlocker.com
  10969. nowvideo.sx
  10970. cloudtime.to
  10971. thevideo.me
  10972. vidbull.com
  10973. allmyvideos.net
  10974. novamov.com
  10975. filehoot.com
  10976. stagevu.com
  10977. gorillavid.in
  10978. streamin.to
  10979.  
  10980. August 02, 2015
  10981. Version 1.1.6.8
  10982. added cloudshares.net
  10983.  
  10984. August 01, 2015
  10985. Version 1.1.6.7
  10986. fixed depfile redirectors false premium
  10987.  
  10988. July 31, 2015
  10989. Version 1.1.6.6
  10990. fixed depfile.com false premium
  10991. */