W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-05-16 提交的版本,查看 最新版本

  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. // @exclude https://www.google.pl*
  15. // @include http://*
  16. // @include https://*
  17. // @include file:///*
  18. // @grant GM_setValue
  19. // @grant GM_getValue
  20. // @grant GM_xmlhttpRequest
  21. // @grant GM_log
  22. // @grant GM_addStyle
  23. // @grant GM_registerMenuCommand
  24. // @grant GM_getResourceText
  25. // @grant GM_info
  26. // @grant GM_setClipboard
  27. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  28. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  29. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  30. // @homepage http://usa.x10host.com/mybb
  31. // @namespace war premium
  32. // @noframes
  33. // @version 1.3.9.1
  34. // ==/UserScript==
  35.  
  36. var War_version = "1.3.9.1 May 15, 2017";
  37.  
  38. //separate alternative domains with "|" char (first name is considered being main)
  39. var allHostNames = [
  40. "1fichier.com|dl4free.com",
  41. "owndrives.com",
  42. "hotlink.cc",
  43. "fileshark.pl",
  44. "pobierz.to",
  45. "kingfile.pl",
  46. "oload.tv",
  47. "uploads.to",
  48. "uploadify.net",
  49. "temp-share.com",
  50. "ausfile.com",
  51. "filesha.com",
  52. "upfiles.net",
  53. "dailyfiles.net",
  54. "upfile.mobi",
  55. "share.az",
  56. "crazyshare.cc",
  57. "uploadocean.com",
  58. "drive.google.com",
  59. "suprafiles.net",
  60. "fileflares.com",
  61. "erafile.com",
  62. "mystore.to",
  63. "littlebyte.net",
  64. "exbit.net",
  65. "bdupload.info",
  66. "workupload.com",
  67. "wayupload.com",
  68. "cloud.mail.ru",
  69. "fileshareup.com",
  70. "usercloud.net",
  71. "daofile.com",
  72. "subyshare.com",
  73. "mexashare.com",
  74. "uploadgig.com",
  75. "upload.af",
  76. "alltu.eu",
  77. "filesin.space",
  78. "imagenetz.de",
  79. "katfile.com",
  80. "bankupload.com",
  81. "keepshare.net",
  82. "filescdn.com",
  83. "myfiles.onl",
  84. "uploadserv.com",
  85. "uploading.site",
  86. "filedwon.info",
  87. "jeodrive.com",
  88. "ncrypt.in",
  89. "yandex.com",
  90. "down4files.com",
  91. 'filespace.com',
  92. "uplod.it",
  93. "rapidu.net",
  94. "uploads.ws|upl.me",
  95. "file.up09.com",
  96. "lunaticfiles.com",
  97. "filecad.com",
  98. "filesupload.org",
  99. "bytewhale.com",
  100. "rapidrar.com",
  101. "download.cz.hellshare.com",
  102. "pornfile.cz",
  103. "dinoshare.cz",
  104. "kb.simple-aja.info",
  105. "bitster.cz",
  106. "file-share.top",
  107. "pornoid.cz",
  108. "dailyuploads.net",
  109. "sharehost.eu",
  110. "tezfiles.com",
  111. "devilshare.net",
  112. "alfafile.net",
  113. "openload.co",
  114. "multiup.org",
  115. "uplea.com",
  116. "filenuke.com",
  117. "file.al|1f.al",
  118. "vidto.me",
  119. "filehost.pw",
  120. "turbobit.ru",
  121. "sharesix.com|sharesix.net",
  122. "movpod.in",
  123. "thefile.me",
  124. "datoteke.com",
  125. "vidzi.tv",
  126. "videoweed.es",
  127. "vodlocker.com",
  128. "nowvideo.sx",
  129. "cloudtime.to",
  130. "thevideo.me",
  131. "vidbull.com",
  132. "novamov.com",
  133. "filehoot.com",
  134. "stagevu.com",
  135. "gorillavid.in",
  136. "streamin.to",
  137. "4upld.com|expressleech.com",
  138. "cloudshares.net",
  139. "swoopshare.com",
  140. "2shared.com",
  141. "fileupload.pw",
  142. "zxcfiles.com",
  143. "up07.net",
  144. "4shared.com",
  145. "adrive.com",
  146. "aisfile.com",
  147. "bezvadata.cz",
  148. "usersfiles.com",
  149. "pan.baidu.com",
  150. "datei.to",
  151. "daten-hoster.de|filehosting.org|xtraupload.de",
  152. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  153. "divshare.com",
  154. "easy-share.com|crocko.com",
  155. "easybytez.com",
  156. "edisk.cz",
  157. "euroshare.eu",
  158. "file-upload.net",
  159. "file-upload.com",
  160. "yadi.sk",
  161. "wizupload.com",
  162. "fastshare.cz",
  163. "filefactory.com",
  164. "share.vnn.vn",
  165. "yunpan.cn",
  166. "tropicshare.com",
  167. "inclouddrive.com",
  168. "fileflyer.com",
  169. "filerio.com|filekeen.com",
  170. "up.4share.vn",
  171. "upfile.vn",
  172. "datafilehost.com",
  173. "worldbytez.com",
  174. "files.mail.ru",
  175. "filesflash.com",
  176. "box.com",
  177. "uptobox.com",
  178. "box.net",
  179. "sdilej.cz",
  180. "ex-load.com",
  181. "filesmonster.com",
  182. "filestore.to",
  183. "hulkload.com",
  184. "filedropper.com",
  185. "free-uploading.com",
  186. "gamefront.com|filefront.com",
  187. "gettyfile.ru",
  188. "gigapeta.com",
  189. "gigasize.com",
  190. "hellshare.com",
  191. "hellspy.com",
  192. "hitfile.net",
  193. "hostuje.net",
  194. "freefilehosting.net",
  195. "free.fr",
  196. "hyperfileshare.com",
  197. "filecloud.io|ifile.it",
  198. "ifolder.ru",
  199. "uploadrocket.net",
  200. "lafiles.com",
  201. "leteckaposta.cz|sharegadget.com",
  202. "load.to",
  203. "mediafire.com",
  204. "megafileupload.com",
  205. "movshare.net",
  206. "narod.ru|narod.yandex.ru",
  207. "fboom.me|fileboom.me",
  208. "partage-facile.com",
  209. "sharerapid.cz",
  210. "exclusiveloader.com",
  211. "acefile.net",
  212. "queenshare.com",
  213. "rapidgator.net",
  214. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  215. "oboom.com",
  216. "filepi.com",
  217. "rarefile.net",
  218. "rayfile.com",
  219. "rghost.net",
  220. "sendmyway.com",
  221. "clicknupload.com",
  222. "clicknupload.me",
  223. "clicknupload.link",
  224. "uploadable.ch",
  225. "sharemods.com",
  226. "hostr.co",
  227. "sendspace.com",
  228. "sharecash.org",
  229. "share-links.biz",
  230. "share-online.biz|egoshare.com",
  231. "megarapid.cz",
  232. "shareflare.net",
  233. "solidfiles.com",
  234. "led.wf",
  235. "lan.wf",
  236. "adlink.wf",
  237. "click.tf",
  238. "kyc.pm",
  239. "ssh.tf",
  240. "ssh.yt",
  241. "yep.pm",
  242. "stahovanizasms.cz",
  243. "turbobit.net",
  244. "tikfile.com",
  245. "cloudsix.me",
  246. "turboupload.com",
  247. "uloz.to",
  248. "ulozto.net",
  249. "ulozto.sk",
  250. "ulozto.cz",
  251. "ulozisko.sk",
  252. "uloziste.com",
  253. "unibytes.com",
  254. "upload-il.net|przeslij.net",
  255. "uploaded.to|uploaded.net|ul.to",
  256. "chayfile.com",
  257. "rockfile.eu",
  258. "usaupload.net",
  259. "veehd.com",
  260. "videobb.com",
  261. "vip-file.com",
  262. "webshare.cz",
  263. "xdisk.cz",
  264. "yunfile.com|filemarkets.com",
  265. "ziddu.com",
  266. "zippyshare.com",
  267. "rodfile.com",
  268. "wikiupload.com",
  269. "uploadstube.de",
  270. "faststore.org",
  271. "flyfiles.net",
  272. "prefiles.com",
  273. "hackerbox.org",
  274. "amonshare.com",
  275. "data.hu",
  276. "brupload.net",
  277. "kingfiles.net",
  278. "userscloud.com",
  279. "kumpulbagi.com|kumpulbagi.id",
  280. "uppit.com|up.ht|upx.nz",
  281. "downloadani.me",
  282. "filesabc.com",
  283. "extmatrix.com",
  284. "sendfiles.nl",
  285. "yourfilestore.com",
  286. "filebig.net",
  287. "file4safe.com",
  288. "tusfiles.net|tusfiles.com",
  289. "filemac.com",
  290. "ozofiles.com",
  291. "nosupload.com",
  292. "gboxes.com",
  293. "myvdrive.com|fileserving.com",
  294. "novafile.com",
  295. "longfiles.com",
  296. "bitupload.com",
  297. "indowebster.com",
  298. "superload.cz",
  299. "mafiastorage.com",
  300. "hellupload.com",
  301. "stiahni.si",
  302. "sendspace.pl",
  303. "fastshare.org",
  304. "filejoker.net",
  305. "filestore.com.ua",
  306. "rapidfileshare.net",
  307. "stiahnito.sk",
  308. "rusfolder.com",
  309. "catshare.net",
  310. "mixturecloud.com",
  311. "filedais.com",
  312. // "imdb.com",
  313. "nitroflare.com",
  314. "akafile.com",
  315. "up.top4top.net",
  316. "upload.ee",
  317. "shareplace.org",
  318. "uploadc.com",
  319. "uploadc.ch",
  320. "exoshare.com",
  321. "borncash.org",
  322. "2downloadz.com",
  323. "mightyupload.com",
  324. "anysend.com",
  325. "datafile.com",
  326. "upstore.net",
  327. "upsto.re",
  328. "speedy.sh",
  329. "ge.tt",
  330. "filesflash.net",
  331. "salefiles.com",
  332. "datoid.cz",
  333. "cloudstor.es",
  334. "streamfile.com",
  335. "eyesfile.ca",
  336. "filemoney.com",
  337. "uploadboy.com",
  338. "uploadboy.me",
  339. "speedshare.eu",
  340. "google.com|google.be",
  341. "unlimitzone.com",
  342. "rioupload.com",
  343. "rg.to",
  344. "jumbofiles.org",
  345. "fshare.vn",
  346. "spaceforfiles.com",
  347. "up.media1fire.com",
  348. "depfile.com",
  349. "go4up.com",
  350. "dropbox.com",
  351. "redbunker.net",
  352. "divxpress.com",
  353. "mega.nz|mega.co.nz",
  354. "storageserver.co.uk",
  355. "anafile.com",
  356. "bigfile.to",
  357. "arabloads.net",
  358. "sharerepo.com",
  359. "sfshare.se",
  360. "files.fm",
  361. "koofile.com",
  362. "doraupload.com",
  363. "openload.io",
  364. "upnito.sk",
  365. "oload.net",
  366. ];
  367.  
  368. try
  369. {
  370. //iframes excluded
  371. if (window.top != window.self)
  372. {
  373. return;
  374. }
  375. //allHostNames sites excluded
  376. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  377. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  378. ")"))
  379. {
  380. return;
  381. }
  382. }
  383. catch (e)
  384. {
  385. return;
  386. }
  387.  
  388. //separate alternative domains with "|" char (first name is considered being main)
  389. var allContainerNames = [
  390. "adf.ly",
  391. "linkcrypt.ws",
  392. "linksafe.me",
  393. // "linksave.in",
  394. "linkto.net",
  395. "madlink.sk",
  396. "multiload.cz",
  397. "mirrorcreator.com",
  398. // "ncrypt.in",
  399. "redi.re",
  400. "relink.us",
  401. "safelinking.net",
  402. "theloo.katt.it",
  403. "bit.ly",
  404.  
  405. ];
  406.  
  407. //separate alternative domains with "|" char (first name is considered being main)
  408. var allObsoleteNames = [
  409. "black-label.pro",
  410. "4up.me",
  411. "anonfiles.com",
  412. "axifile.com",
  413. "creafile.net",
  414. "cloudzilla.to",
  415. "neodrive.co",
  416. "demo.ovh.eu",
  417. "filesin.com",
  418. "fileswap.com",
  419. "junocloud.me",
  420. "gulfup.com",
  421. "hexupload.com",
  422. "secureupload.eu",
  423. "hugefiles.net",
  424. "jumbofiles.com",
  425. "letitbit.net",
  426. "lolabits.es",
  427. "nowdownload.ch",
  428. "openfile.ru",
  429. "radicalshare.com",
  430. "remixshare.com",
  431. "storefiles.co",
  432. "toutbox.fr",
  433. "uploadbaz.com",
  434. "uploadingit.com",
  435. "uploading.com",
  436. "verzend.be",
  437. "vidplay.net",
  438. "vidxden.com",
  439. "xfileload.com",
  440. "warped.co",
  441. "xkeepfile.com",
  442. "abelhas.pt",
  443. "uploadspace.pl",
  444. "allmyvideos.net",
  445. "uploads.xxx",
  446. "netkups.com",
  447. "nekaka.com",
  448. "vidspot.net",
  449. "myupload.dk",
  450. "muchshare.net",
  451. "loudupload.net",
  452. "idup.in",
  453. "hulkshare.com",
  454. "goldbytez.com",
  455. "filesmelt.com",
  456. "fileband.com",
  457. "uloz.cz",
  458. "secured.in",
  459. "rapidfilehost.com",
  460. "fileover.net",
  461. "fileinz.com",
  462. "linksave.in",
  463. "seenupload.com",
  464. "sangfile.com",
  465. "filepost.com|fp.io",
  466. "sharingmaster.com ",
  467. "24uploading.com",
  468. "storagon.com",
  469. "sanshare.com",
  470. "filestorm.to",
  471. "uploadnet.co",
  472. "180upload.com",
  473. "rapidsonic.com",
  474. "fileparadox.com",
  475. "4upfiles.com",
  476. "geupload.com",
  477. "lenfile.com",
  478. "fileparadox.in",
  479. "uploadhero.co",
  480. "uploadhero.com",
  481. "newfileland.com",
  482. "quickshare.cz",
  483. "elffiles.com",
  484. "netload.in",
  485. "netload.me",
  486. "movreel.com",
  487. "migahost.com",
  488. "krotix.net",
  489. "jumbofile.net",
  490. "edoc.com",
  491. "cramit.in|cramitin.net",
  492. "freakshare.com",
  493. "burnupload.com|burnupload.ihiphop.com",
  494. "freakshare.net",
  495. "daj.to",
  496. "bl.st",
  497. "2drive.net",
  498. "ryushare.com",
  499. "crisshare.com",
  500. "tufiles.ru",
  501. "uncapped-downloads.com",
  502. "sockshare.com",
  503. "ddlstorage.com",
  504. "dataport.cz",
  505. "dizzcloud.com",
  506. "sharebeast.com",
  507. "stahovadlo.cz",
  508. "shared.com",
  509. "storage.to",
  510. "putlocker.com",
  511. "lumfile.com",
  512. "lumfile.se",
  513. "lumfile.eu",
  514. "firedrive.com",
  515. "fileshare.in.ua",
  516. "filecore.co.nz",
  517. "filecore.co",
  518. "iskladka.cz",
  519. "file-rack.com",
  520. "fast-load.net",
  521. "subory.sk",
  522. "bigandfree.com",
  523. "fileop.com",
  524. "mujsoubor.cz",
  525. "sendfile.to",
  526. "superfastfile.com",
  527. "quickyshare.com",
  528. "duckload.com",
  529. "uploadstore.net",
  530. "meinupload.com",
  531. "dualshare.com",
  532. "2xupload.to|2xupload.de",
  533. "oxedion.com",
  534. "uploadline.com",
  535. "dll.bz",
  536. "movieshare.in",
  537. "milledrive.com",
  538. "quickupload.net",
  539. "safelink.in",
  540. "metadivx.com",
  541. "divxlink.com",
  542. "uploadrack.com",
  543. "teradepot.com",
  544. "dataup.to",
  545. "upit.to",
  546. "driveway.com",
  547. "eatlime.com",
  548. "a2zuploads.com",
  549. "friendlyfiles.net",
  550. "flyfile.us",
  551. "speedyshare.com",
  552. "uploadspace.eu",
  553. "keepfile.com",
  554. "piggyshare.com",
  555. "uplly.com",
  556. "filecrown.com",
  557. "6giga.com",
  558. "uploadjockey.com",
  559. "bluehost.to",
  560. "filegu.ru",
  561. "filebase.to",
  562. "up-file.com",
  563. "xvideos.com",
  564. "ufox.com",
  565. "filebling.com",
  566. "loaded.it",
  567. "uploadcell.com",
  568. "uploadshare.cz",
  569. "mangoshare.com",
  570. "filestab.com",
  571. "crazyupload.com",
  572. "gaiafile.com",
  573. "sharejunky.com",
  574. "fileho.com",
  575. "bigandfree.com",
  576. "bigfile.in",
  577. "bigshare.eu",
  578. "dahosting.org",
  579. "digisofts.net",
  580. "file4save.com",
  581. "filechip.com",
  582. "filescloud.com",
  583. "saveqube.com",
  584. "turboshare.de",
  585. "z-upload.com",
  586. "youshare.com",
  587. "jiffyupload.com",
  588. "gigeshare.com",
  589. "datenklo.net",
  590. "upload.dj",
  591. "loadfiles.in",
  592. "upit.to",
  593. "dsfileshare.com",
  594. "sharesimple.net",
  595. "4files.net",
  596. "wooupload.com",
  597. "odsiebie.com",
  598. "filenavi.com",
  599. "3oof.com",
  600. "meshwaar.com",
  601. "maxupload.com",
  602. "share.cx",
  603. "atserver.eu",
  604. "hotfiles.ws",
  605. "esnips.com",
  606. "tuxfile.com",
  607. "file2upload.net",
  608. "filebling.com",
  609. "turboshare.com",
  610. "rarhost.com",
  611. "isharehd.com",
  612. "i741.com",
  613. "dataup.de",
  614. "fofly.com",
  615. "shareonall.com",
  616. "sexuploader.com",
  617. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  618. "uploadhyper.com",
  619. "filespawn.com",
  620. "caizzii.com",
  621. "volnyweb.cz",
  622. "usershare.net",
  623. "filescash.net",
  624. "metahyper.com",
  625. "combozip.com",
  626. "x7.to",
  627. "uploadbox.com",
  628. "enterupload.com|flyupload.com",
  629. "filepoint.de",
  630. "mystream.to",
  631. "x-fs.com",
  632. "shareator.com",
  633. "srapid.eu",
  634. "sosame.cz",
  635. "filesdump.com",
  636. "2-klicks.de",
  637. "uploking.com",
  638. "silofiles.com",
  639. "upfile.in",
  640. "filehook.com",
  641. "uploadking.com",
  642. "uploadhere.com",
  643. "kewlshare.com",
  644. "rapidable.com",
  645. "uploadwaste.com",
  646. "filemup.com",
  647. "filesonic.com|sharingmatrix.com",
  648. "fileserve.com",
  649. "wupload.com",
  650. "skipfile.com",
  651. "smartuploader.com",
  652. "dualshare.com",
  653. "storeandserve.com",
  654. "mountfile.com",
  655. "transitfiles.com",
  656. "uploadstation.com",
  657. "filejungle.com",
  658. "shareshared.com",
  659. "quickyshare.com",
  660. "save.am",
  661. "petandrive.com",
  662. "file2box.com",
  663. "flyshare.cz",
  664. "yabadaba.ru",
  665. "cloudcache.cc",
  666. "yourfilehost.com",
  667. "jakfile.com",
  668. "kickload.com",
  669. "pyramidfiles.com",
  670. "refile.net",
  671. "zshare.net",
  672. "ddlani.me|ddlanime.com",
  673. "ftp2share.com",
  674. "fooget.com",
  675. "rapidhide.com",
  676. "gotupload.com",
  677. "mooload.com",
  678. "zupload.com",
  679. "mytempdir.com",
  680. "onionshare.com",
  681. "stahnu.to",
  682. "oron.com",
  683. "badongo.com",
  684. "filereactor.com",
  685. "filegaze.com",
  686. "4bytez.com",
  687. "1hostclick.com",
  688. "anonstream.com",
  689. "batshare.com",
  690. "bitroad.net",
  691. "brontofile.com",
  692. "cloudnxt.net",
  693. "cloudnator.com|shragle.com",
  694. "filesfrog.net",
  695. "coolshare.cz",
  696. "dotavi.com",
  697. "ezyfile.net",
  698. "file-bit.net",
  699. "filecosy.com",
  700. "fileduct.com|fileduct.net",
  701. "filefat.com",
  702. "filelaser.com",
  703. "filemashine.com",
  704. "fileserver.cc",
  705. "filetechnology.com",
  706. "fireuploads.net",
  707. "gigfiles.net",
  708. "holderfile.com",
  709. "ihostia.com",
  710. "k2files.com",
  711. "mojofile.com",
  712. "ovfile.com",
  713. "qshare.com",
  714. "shafiles.me",
  715. "sharefilehost.com",
  716. "shareupload.com",
  717. "stahuj.to",
  718. "ugotfile.com",
  719. "uploadboost.com",
  720. "fileom.com",
  721. "vidhog.com",
  722. "xfileshare.eu",
  723. "bzlink.us",
  724. "bulletupload.com",
  725. "bloggerarticles.com",
  726. "mojedata.sk",
  727. "sharpfile.com",
  728. "upgrand.com",
  729. "nasdilej.cz",
  730. "mediatack.cz",
  731. "share-it.to",
  732. "primeupload.com",
  733. "filebeer.info",
  734. "baberepublic",
  735. "xtu.me",
  736. "sharebase.de",
  737. "luckyshare.net",
  738. "filerobo.com",
  739. "filevelocity.com",
  740. "filezpro.com",
  741. "file4sharing.com",
  742. "cing.be",
  743. "ufile.eu",
  744. "pigsonic.com",
  745. "fileupped.com",
  746. "sharerun.com",
  747. "filesaur.com",
  748. "rapidslnare.com",
  749. "bestsharing.com",
  750. "savefiles.net",
  751. "file2share.biz",
  752. "filecache.de",
  753. "monsteruploads.eu",
  754. "b9bb.com",
  755. "aiotool.net",
  756. "jamber.info",
  757. "megaftp.com",
  758. "desiupload.net",
  759. "file27.com",
  760. "yastorage.com",
  761. "filehost.ws",
  762. "copyload.com",
  763. "venusfile.com",
  764. "aieshare.com",
  765. "terafile.co",
  766. "terafile.com",
  767. "fileza.net",
  768. "filerose.com",
  769. "squillion.com",
  770. "fileprohost.com",
  771. "bitbonus.com",
  772. "warserver.cz",
  773. "uload.to",
  774. "sharedbit.net",
  775. "megaload.it",
  776. "filewinds.com",
  777. "uploadcore.com",
  778. "syfiles.com",
  779. "eyesfile.com",
  780. "hotfile.com",
  781. "superupl.com",
  782. "oteupload.com",
  783. "henchfile.com",
  784. "filegag.com",
  785. "HenchFile.com",
  786. "filedefend.com",
  787. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  788. "megabitshare.com",
  789. "cloudzer.com",
  790. "asfile.com",
  791. "cloudzer.net",
  792. "clz.to",
  793. "extabit.com",
  794. "247upload.com",
  795. "2download.de",
  796. "4fastfile.com",
  797. "asixfiles.com",
  798. "berofile.com",
  799. "bigupload.com",
  800. "cepzo.com",
  801. "clouds.to",
  802. "cobrashare.sk",
  803. "coraldrive.net",
  804. "cyberlocker.ch",
  805. "czshare.com",
  806. "darkport.org",
  807. "dark-uploads.com",
  808. "davvas.com",
  809. "enigmashare.com",
  810. "erofly.cz",
  811. "fastsonic.net",
  812. "filebox.com",
  813. "filecity.net",
  814. "filedap.com",
  815. "filedino.com",
  816. "filedownloads.org",
  817. "filefolks.com",
  818. "fileking.co",
  819. "filemates.com",
  820. "files.to",
  821. "files2k.eu",
  822. "filesector.cc",
  823. "bitshare.com",
  824. "filesega.com",
  825. "filesend.net",
  826. "filestay.com",
  827. "filestrum.com",
  828. "fileuplo.de",
  829. "fileupup.com",
  830. "forunesia.com",
  831. "freeuploads.fr",
  832. "uploa.dk",
  833. "getthebit.com",
  834. "getzilla.net",
  835. "goldfile.eu",
  836. "good.com",
  837. "grupload.com",
  838. "hellfile.com",
  839. "hipfile.com",
  840. "hitfile.com",
  841. "hulkfile.eu|duckfile.net",
  842. "i-filez.com",
  843. "ifile.ws",
  844. "kupload.org",
  845. "packupload.com",
  846. "lemuploads.com",
  847. "limelinx.com",
  848. "maxshare.pl",
  849. "megarelease.org",
  850. "megashares.com",
  851. "megashare.com",
  852. "minus.com",
  853. "mlfat4arab.com",
  854. "multishare.cz",
  855. "nirafile.com",
  856. "ok2upload.com",
  857. "peejeshare.com",
  858. "premiuns.org",
  859. "przeklej.net",
  860. "qkup.net",
  861. "rapidupload.sk",
  862. "rockdizfile.com",
  863. "rocketfile.net",
  864. "share-now.net",
  865. "share76.com",
  866. "sharebees.com",
  867. "sharefiles.co",
  868. "slingfile.com",
  869. "sms4file.com",
  870. "space4file.com",
  871. "tigershare.net",
  872. "toucansharing.com",
  873. "ubuntuone.com",
  874. "unextfiles.com",
  875. "upaj.pl",
  876. "upfile.biz",
  877. "uploadbin.net",
  878. "uploadic.com",
  879. "uploadinc.com",
  880. "uploading4u.eu",
  881. "uploadjet.net",
  882. "uploadorb.com",
  883. "upthe.net",
  884. "uptorch.com",
  885. "vidbox.yt",
  886. "videozer.com",
  887. "vreer.com",
  888. "wallobit.com",
  889. "zooupload.com",
  890. "privatefiles.com",
  891. "xerver.co",
  892. "BillionUploads.com",
  893. "rapidshare.com",
  894. "rapidshare.ru",
  895. "4savefile.com",
  896. "bayfiles.com",
  897. "bayfiles.net",
  898. "dodane.pl",
  899. "dotsemper.com",
  900. "egofiles.com",
  901. "epicshare.net",
  902. "fiberupload.net",
  903. "filemonkey.in",
  904. "filemonster.net",
  905. "filepom.com",
  906. "filesbb.com",
  907. "filevice.com",
  908. "gigaup.fr",
  909. "isavelink.com",
  910. "loombo.com",
  911. "megafiles.se",
  912. "migupload.com",
  913. "mydisc.net",
  914. "nitrobits.com",
  915. "potload.com",
  916. "redload.net",
  917. "shareprofi.com",
  918. "sharesuper.info",
  919. "sinhro.net",
  920. "speedfile.cz",
  921. "speedshare.org",
  922. "storage.novoro.net",
  923. "swankshare.com",
  924. "swatupload.com",
  925. "upafile.com",
  926. "uploadmachine.com",
  927. "uploadsat.com",
  928. "upshared.com",
  929. "usefile.com",
  930. "yourfiles.to",
  931. "zomgupload.com",
  932. "ultramegabit.com",
  933. "uploadto.us",
  934. "inafile.com",
  935. "megairon.net",
  936.  
  937. ];
  938. ///////////////////////////////////////////////////////////////////////////////////////
  939. var firstRun = GM_getValue("First_run", true);
  940.  
  941. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  942. //////////////////////////////////////////////////////////////////////////////////////
  943. try
  944. {
  945. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  946. var last_known_version = GM_getValue("last_known_version", "");
  947. if (!last_known_version)
  948. {
  949. last_known_version = thisVersion;
  950. GM_setValue("last_known_version", last_known_version);
  951. }
  952. //var newVersion = !(thisVersion == last_known_version);
  953. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  954. GM_setValue("last_known_version", thisVersion);
  955. }
  956. catch (err)
  957. {
  958. var newVersion = false;
  959. }
  960.  
  961. var now = (new Date()).getTime();
  962. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  963. if (!last_custom_rules_nag)
  964. {
  965. last_custom_rules_nag = now;
  966. GM_setValue('last_custom_rules_nag', ''+now);
  967. }
  968.  
  969.  
  970. allHostNames.sort();
  971. allContainerNames.sort();
  972. allObsoleteNames.sort();
  973.  
  974. var RAND_STRING = "8QyvpOSsRG3QWq";
  975. var DEBUG_MODE = false;
  976.  
  977. var TOOLTIP_MAXWIDTH = 600; //in pixels
  978. var TOOLTIP_THUMBWIDTH = 200;
  979. var containers_processed = false;
  980.  
  981. //settings for keyboard functions start
  982. var CHECK_ALL_LINKS_KEY = "A";
  983. var CONFIGURATION_KEY = "C";
  984. var copy_to_dead_key = "D";
  985. var copy_to_live_key = "L";
  986. var toggle_autocheck_key = "W";
  987. var toggle_Enable_Anonymizer_key = "Z";
  988. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  989. var first_key_keycodename = 'CTRL';
  990. var second_key_keycode = '18';
  991. var second_key_keycodename = 'ALT';
  992. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  993. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  994. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  995. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  996. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  997. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  998. //settings for keyboard functions end
  999.  
  1000. //global settings start
  1001. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  1002. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  1003. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1004. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1005. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1006. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1007. var Progress_box_refresh_rate;
  1008. var Obsolete_file_hosts;
  1009. var Custom_rules, Custom_rules_text;
  1010. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1011.  
  1012. var messageBox = document.createElement('b'); // top-left message box
  1013.  
  1014. var cLinksTotal = 0;
  1015. var cLinksDead = 0;
  1016. var cLinksAlive = 0;
  1017. var cLinksUnava = 0;
  1018. var cLinksprem = 0;
  1019. var cLinksProcessed = 0;
  1020.  
  1021. var intervalId; //for updateProgress()
  1022.  
  1023. //icon resources
  1024. 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+AXuRLahdYwP2SycQWHTA4vcAAPK7b8H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3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1037. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1038.  
  1039. //global settings end
  1040. if (window.opera && !window.console)
  1041. {
  1042. window.console = {};
  1043.  
  1044. function fn()
  1045. {
  1046. opera.postError(arguments);
  1047. };
  1048. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1049. {
  1050. window.console[name] = fn;
  1051. });
  1052. }
  1053.  
  1054. //displays colored text in message box
  1055. function sendMessage(text, color)
  1056. {
  1057. var msgDiv = document.createElement('div');
  1058. msgDiv.style.color = color;
  1059. msgDiv.innerHTML = text;
  1060. messageBox.appendChild(msgDiv);
  1061. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1062. }
  1063.  
  1064. function linkify(totalourls)
  1065. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1066. var ikkeTilladteTags;
  1067. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1068. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1069. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1070. allLinksRegex = new RegExp(allLinksRegex, "g");
  1071. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1072.  
  1073. if (Do_not_linkify_DL_links)
  1074. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1075. else
  1076. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1077.  
  1078. var regex = new RegExp(regexy);
  1079. var textNode, muligtLink;
  1080.  
  1081. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1082. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1083.  
  1084. var i = textNodes.snapshotLength;
  1085. while (i--)
  1086. {
  1087. textNode = textNodes.snapshotItem(i);
  1088.  
  1089. muligtLink = textNode.nodeValue; //all links on page
  1090.  
  1091. var myArray = null;
  1092. var span = null;
  1093. var lastLastIndex = 0;
  1094. allLinksRegex.lastIndex = 0;
  1095. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1096. {
  1097. if (textNode.parentNode.className == "adead_link") continue;
  1098. var censoredLink = muligtLink;
  1099. var span = document.createElement('span');
  1100. span.className = "adead_link";
  1101. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1102. $(span).html(censoredLink);
  1103. span.addEventListener("mouseover", displayTooltipError, false);
  1104. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1105. textNode.parentNode.replaceChild(span, textNode);
  1106. continue;
  1107. alert(censoredLink);
  1108. }
  1109. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1110. {
  1111. if (!regex.test(myArray[0])) //this link is not recognized
  1112. {
  1113.  
  1114. continue;
  1115. }
  1116. if (!span)
  1117. span = document.createElement('span');
  1118.  
  1119. var link = myArray[0];
  1120. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1121.  
  1122. var $a = $("<a>" + link + "</a>")
  1123. if (!link.match(/https?:\/\//))
  1124. {
  1125. link = 'http://' + link;
  1126. }
  1127.  
  1128. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1129. .addClass("processing_link")
  1130. .appendTo(span);
  1131. lastLastIndex = allLinksRegex.lastIndex;
  1132. }
  1133. if (span)
  1134. {
  1135. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1136. textNode.parentNode.replaceChild(span, textNode);
  1137. }
  1138. }
  1139. }
  1140.  
  1141. function add_WARLC_style()
  1142. {
  1143. if (!(document.getElementsByTagName('WARLC')[0]))
  1144. {
  1145. var meta_not_to_add_more_style = document.createElement("WARLC");
  1146. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1147. meta_not_to_add_more_style.setAttribute('name', 'description');
  1148. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1149. alive_link_png = "";
  1150. adead_link_png = "";
  1151. unava_link_png = "";
  1152. prem_link_png = "";
  1153. switch(Icon_set)
  1154. {
  1155. //no icons
  1156. case 0: break;
  1157. // cat paws
  1158. case 1: alive_link_png = PAW_ICON_GREEN;
  1159. adead_link_png = PAW_ICON_RED;
  1160. unava_link_png = PAW_ICON_YELLOW;
  1161. prem_link_png = PAW_ICON_PINK;
  1162. break;
  1163. // classic RSLC look
  1164. case 2: alive_link_png = RSLC_ICON_GREEN;
  1165. adead_link_png = RSLC_ICON_RED;
  1166. unava_link_png = RSLC_ICON_YELLOW;
  1167. prem_link_png = RSLC_ICON_PINK;
  1168. break;
  1169. // New Icons
  1170. case 3: alive_link_png = NEW_ICON_GREEN;
  1171. adead_link_png = NEW_ICON_RED;
  1172. unava_link_png = NEW_ICON_YELLOW;
  1173. prem_link_png = NEW_ICON_PINK;
  1174. break;
  1175. // cat paws
  1176. default:alive_link_png = PAW_ICON_GREEN;
  1177. adead_link_png = PAW_ICON_RED;
  1178. unava_link_png = PAW_ICON_YELLOW;
  1179. prem_link_png = PAW_ICON_PINK;
  1180. break;
  1181. }
  1182. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1183. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1184.  
  1185. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1186.  
  1187. if (Color_DL_links)
  1188. {
  1189. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1190. live_color_css = 'color:' + Live_links_color + ' !important;';
  1191. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1192. container_color_css = 'color:' + Container_links_color + ' !important;';
  1193. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1194. }
  1195. else
  1196. {
  1197. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1198. }
  1199.  
  1200. if (Show_black_background_in_DL_links)
  1201. {
  1202. black_background_css = 'background-color: black !important;';
  1203. }
  1204. else
  1205. {
  1206. black_background_css = '';
  1207. }
  1208.  
  1209. if (Show_line_through_in_dead_links)
  1210. {
  1211. line_through_css = 'text-decoration: line-through !important;';
  1212. }
  1213. else
  1214. {
  1215. line_through_css = '';
  1216. }
  1217.  
  1218. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1219. 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 + "}");
  1220. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1221. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1222. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1223. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1224. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1225. }
  1226. }
  1227.  
  1228. var warlcTooltip = null;
  1229. var mouseoverLink = null; //link href with mouse cursor over it
  1230.  
  1231. var lastX = 0;
  1232. var lastY = 0;
  1233.  
  1234. $(document).ready(initTooltip);
  1235. //inits tooltip
  1236. function initTooltip()
  1237. { warlcTooltip = document.createElement("div");
  1238. 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;");
  1239. warlcTooltip.style.visibility = "hidden";
  1240. document.body.appendChild(warlcTooltip);
  1241. }
  1242.  
  1243. //"mousemove" event handler for all links
  1244. function moveTooltip(event)
  1245. {
  1246. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1247. { //no need to reflow if the cursor moved just a little
  1248. return;
  1249. }
  1250. else
  1251. {
  1252. lastX = event.clientX;
  1253. lastY = event.clientY;
  1254. }
  1255.  
  1256. posX = event.clientX + window.pageXOffset + 10;
  1257. posY = event.clientY + window.pageYOffset;
  1258. var ttHeight = warlcTooltip.offsetHeight;
  1259. var ttFreeSpace = window.innerHeight - event.clientY;
  1260. if (ttHeight > ttFreeSpace)
  1261. { //prevents tooltip from getting out of the window
  1262. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1263. }
  1264. else
  1265. {
  1266. posY += 7;
  1267. }
  1268. warlcTooltip.style.top = posY + "px";
  1269. warlcTooltip.style.left = posX + "px";
  1270. }
  1271.  
  1272. //"mouseout" event handler for all links
  1273. function hideTooltip(){
  1274. warlcTooltip.style.visibility = "hidden";
  1275. mouseoverLink = null;
  1276. }
  1277.  
  1278.  
  1279. //"mouseover" event handler for dead links
  1280. //displays tooltip error message on dead links
  1281. function displayTooltipError()
  1282. {
  1283. mouseoverLink = this.href;
  1284. this.addEventListener("mouseout", hideTooltip);
  1285. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1286. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1287. warlcTooltip.style.minWidth = 0;
  1288. warlcTooltip.style.visibility = "visible";
  1289. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1290. {
  1291. warlcTooltip.innerHTML = this.warlc_error;
  1292. }
  1293. else
  1294. {
  1295. loadErrorInfo(this);
  1296. }
  1297. function loadErrorInfo(link)
  1298. {
  1299. var href = link.href;
  1300. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1301. GM_xmlhttpRequest({
  1302. method: 'GET',
  1303. url: href.replace(Ref_anonymize_service, ""),
  1304. headers: {
  1305. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1306. 'Accept': 'text/xml',
  1307. 'Referer': ""
  1308. },
  1309. onload: function(result) {
  1310. var res = result.responseText;
  1311. //TODO: errorRegexs -
  1312. var errorRegexs = [ //generic error messages follow
  1313. /(empty directory)/i,
  1314. /(soubor nebyl nalezen)/i,
  1315. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1316. //server specific error messages follow
  1317. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1318. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1319. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1320. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1321. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1322. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1323. /class="red">(.+?)<(?:span|br)>/, //czshare
  1324. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1325. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1326. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1327. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1328. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1329. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1330. /(File has been removed due to Copyright Claim)/, //filerio
  1331. ];
  1332. var errorIdx = errorRegexs.length;
  1333. var error = "Cause of error: <b>unknown</b>";
  1334. var errorCandidate = "";
  1335. while(errorIdx--)
  1336. {
  1337. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1338. if (errorCandidate != null)
  1339. {
  1340. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1341. break;
  1342. }
  1343. }
  1344. //link attributes
  1345. link.warlc_error = error;
  1346. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1347. {
  1348. warlcTooltip.innerHTML = error;
  1349. }
  1350. }
  1351. });
  1352. }
  1353. }
  1354.  
  1355. //"mouseover" event handler for alive links
  1356. //displays tooltip info (file size, file name,...) on alive links
  1357. function displayTooltipInfo()
  1358. {
  1359. mouseoverLink = this.href;
  1360. //exclude direct download filehostings
  1361. 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)/))
  1362. {
  1363. return;
  1364. }
  1365. this.addEventListener("mouseout", hideTooltip);
  1366. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1367. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1368. warlcTooltip.style.minWidth = 0;
  1369. warlcTooltip.style.visibility = "visible";
  1370. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1371. {
  1372. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1373. }
  1374. else
  1375. {
  1376. loadInfo(this);
  1377. }
  1378. function loadInfo(link)
  1379. {
  1380. var href = link.href;
  1381. GM_xmlhttpRequest({
  1382. method: 'GET',
  1383. url: href.replace(Ref_anonymize_service, ""),
  1384. headers: {
  1385. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1386. 'Accept': 'text/xml',
  1387. 'Referer': ""
  1388. },
  1389. onload: function(result) {
  1390. var res = result.responseText;
  1391. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1392. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1393. /fl" title="(.+?)">/, //edisk
  1394. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1395. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1396. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1397. /title="download (.+?)">/, //sendspace
  1398. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1399. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1400. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1401. /d0FileName = "(.+?)";/, //letitbit
  1402. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1403. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1404. /fname" value="(.+?)">/, //syfiles, grupload,
  1405. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1406. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1407. /Complete name : (.+?)<br \/>/, //bezvadata
  1408. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1409. ];
  1410. var nameIdx = nameRegexs.length;
  1411. // [sizeRegexs]
  1412. // / \ \?
  1413. // prefix (size) postfix
  1414. // / \
  1415. // val quant
  1416. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1417. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1418. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1419. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1420. var postSizeRegex = '(?:\\))?';
  1421. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1422. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1423. ];
  1424. var sizeIdx = sizeRegexs.length;
  1425. //
  1426. //
  1427. var tooltip = "File Name: <b>";
  1428. var fileName = "unknown";
  1429. var nameCandidate = "";
  1430. while(nameIdx--)
  1431. {
  1432. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1433. if (nameCandidate != null)
  1434. {
  1435. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1436. break;
  1437. }
  1438. }
  1439. tooltip += fileName + "</b><br>File Size: <b>";
  1440. var fileSize = "unknown";
  1441. var sizeCandidate = "";
  1442. while(sizeIdx--)
  1443. {
  1444. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1445. if (sizeCandidate != null)
  1446. {
  1447. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1448. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1449. {
  1450. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1451. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1452. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1453. }
  1454. break;
  1455. }
  1456. }
  1457. tooltip += fileSize + "</b>";
  1458. // PROTOTYPE
  1459. // video thumbnails
  1460. if (href.match('hellshare'))
  1461. {
  1462. var thumbs;
  1463. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1464. if (thumbs)
  1465. {
  1466. tooltip += '<br>';
  1467. var j = Math.min(thumbs.length, 9);
  1468. for (var i = 0; i < j; i++)
  1469. {
  1470. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1471. }
  1472. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1473. }
  1474. }
  1475. if (href.match('czshare'))
  1476. {
  1477. var thumbs;
  1478. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1479. if (thumbs)
  1480. {
  1481. var thumbsServer = thumbs[1];
  1482. var thumbsId = thumbs[2];
  1483. tooltip += '<br>';
  1484. for (var i = 1; i < 9; i++)
  1485. {
  1486. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1487. }
  1488. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1489. }
  1490. }
  1491. if (href.match('bezvadata'))
  1492. {
  1493. var thumbs;
  1494. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1495. if (thumbs)
  1496. {
  1497. tooltip += '<br>';
  1498. var j = Math.min(thumbs.length, 9);
  1499. for (var i = 0; i < j; i++)
  1500. {
  1501. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1502. }
  1503. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1504. }
  1505. }
  1506. link.warlc_tooltipcache = tooltip;
  1507. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1508. {
  1509. warlcTooltip.innerHTML = tooltip;
  1510. }
  1511. }
  1512. });
  1513. }
  1514. }
  1515.  
  1516. function setVariables()
  1517. {
  1518. if (firstRun)
  1519. {
  1520. GM_log('First run, applying default settings...');
  1521. GM_setValue("Icon_set",1);
  1522. GM_setValue("Display_tooltip_info",true);
  1523. GM_setValue("Show_black_background_in_DL_links",false);
  1524. GM_setValue("Show_line_through_in_dead_links",false);
  1525. GM_setValue("Display_full_links_in_link_containers",false);
  1526. GM_setValue("Allow_spaces_in_DL_links",false);
  1527. GM_setValue("Autocheck",true);
  1528. GM_setValue("Enable_Anonymizer",false);
  1529. GM_setValue("Do_not_linkify_DL_links",false);
  1530. GM_setValue("Show_progress_stats",true);
  1531. GM_setValue("Keyboard_functions",true);
  1532. GM_setValue("Obsolete_file_hosts",false);
  1533. GM_setValue("Color_DL_links",true);
  1534. GM_setValue("Live_links_color","Green");
  1535. GM_setValue("Dead_links_color","#FF3300");
  1536. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1537. GM_setValue("Container_links_color","DarkKhaki");
  1538. GM_setValue("Premium_links_color","DeepPink");
  1539. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1540. GM_setValue("Custom_rules",false);
  1541. GM_setValue("Custom_rules_text","");
  1542. GM_setValue("Processbox_Pos_Y", 0);
  1543. GM_setValue("Processbox_Pos_X", 88);
  1544. GM_setValue("Progressbox_Scaling", 100);
  1545. GM_setValue("First_run", false);
  1546. }
  1547. //hidden settings
  1548. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1549. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1550. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1551. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1552. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1553. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1554. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1555. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1556. //hidden settings end
  1557.  
  1558. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1559. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1560. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1561. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1562. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1563. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1564. Autocheck = GM_getValue("Autocheck", true);
  1565. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1566. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1567. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1568. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1569. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1570. Color_DL_links = GM_getValue("Color_DL_links", true);
  1571. Live_links_color = GM_getValue("Live_links_color", "Green");
  1572. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1573. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1574. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1575. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1576. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1577. Custom_rules = GM_getValue("Custom_rules", false);
  1578. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1579. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1580. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1581. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1582. }
  1583.  
  1584.  
  1585. // Delinkifies the links
  1586. // params:
  1587. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1588. // e.g. 'uloz.to/xs68skxl8')
  1589. function delinkifySnapshot(snapshot)
  1590. {
  1591. var n = snapshot.snapshotLength;
  1592.  
  1593. while (n--)
  1594. {
  1595. thisLink = snapshot.snapshotItem(n);
  1596.  
  1597. var spanElm = document.createElement("span");
  1598. spanElm.className = thisLink.className;
  1599. spanElm.innerHTML = thisLink.innerHTML;
  1600.  
  1601. if (Display_tooltip_info)
  1602. {
  1603. spanElm.href = thisLink.href;
  1604. switch (thisLink.className){
  1605. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1606. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1607. case "unava_link": //reserved
  1608. default:
  1609. }
  1610. }
  1611. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1612. }
  1613. }
  1614.  
  1615. function processContainers()
  1616. {
  1617. var redirectorTypes = { "HTTP_302": 0,
  1618. "INNER_LINK": 1,
  1619. "THELOO_KATT_IT": 2,
  1620. "CING_BE": 3,
  1621. "ADF_LY": 4};
  1622. var cMultiloadTotal = 0;
  1623. var cMultiloadProcessed = 0;
  1624.  
  1625. var cMirrorcreatorComTotal = 0;
  1626. var cMirrorcreatorComProcessed = 0;
  1627.  
  1628. var hostRestrictionRegex = "";
  1629. var multiloadComRestriction = "";
  1630. var multiloadComRestrictionRegex;
  1631.  
  1632. //
  1633. //HANDLING REDIRECTORS START
  1634. //
  1635.  
  1636. var redirectors = new Array();
  1637. initRedirectors();
  1638.  
  1639. var redirectorsCount = redirectors.length;
  1640.  
  1641. if (redirectorsCount > 0)
  1642. {
  1643. var allRedirectorsRegex = "";
  1644.  
  1645. //linkify redirector links
  1646. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1647. {
  1648. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1649. }
  1650. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1651. linkify(allRedirectorsRegex);
  1652. //
  1653. //process redirector links
  1654. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1655. {
  1656. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1657. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1658.  
  1659. cLinksTotal += redirectors[redirIdx].cTotal;
  1660. var linkIdx = redirectors[redirIdx].cTotal;
  1661.  
  1662. while(linkIdx--)
  1663. {
  1664. switch(redirectors[redirIdx].type)
  1665. {
  1666. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1667. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1668. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1669. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1670. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1671. default:
  1672. }
  1673. }
  1674. }
  1675. //
  1676. }
  1677.  
  1678. //HTTP_302
  1679. function processRedirectorLink(link, redirectorId)
  1680. {
  1681. link.className = 'container_link';
  1682.  
  1683. GM_xmlhttpRequest({
  1684. method: 'HEAD',
  1685. url: link.href,
  1686. headers: {
  1687. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1688. 'Accept': 'text/xml',
  1689. 'Referer': ""
  1690. },
  1691. onload: function(result) {
  1692. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1693. {
  1694. processRedirectorLink(link, redirectorId);
  1695. }
  1696. else
  1697. {
  1698. redirectors[redirectorId].cProcessed++;
  1699. link.href = result.finalUrl;
  1700. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1701. checkLinks('container_link');
  1702. }
  1703. },
  1704. onerror: function(result) { //probably caused by unresponsive filehosting
  1705. redirectors[redirectorId].cProcessed++;
  1706. link.className = 'unava_link';
  1707. cLinksProcessed++;
  1708. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1709. checkLinks('container_link');
  1710. }
  1711. });
  1712. }
  1713. //INNER_LINK
  1714. function processRedirectorLinkEx(link, redirectorId)
  1715. {
  1716. link.className = 'container_link';
  1717. GM_xmlhttpRequest({
  1718. method: 'GET',
  1719. url: link.href,
  1720. headers: {
  1721. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1722. 'Accept': 'text/xml',
  1723. 'Referer': ""
  1724. },
  1725. onload: function(result) {
  1726. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1727. redirectors[redirectorId].cProcessed++;
  1728. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1729. checkLinks('container_link');
  1730. }
  1731. });
  1732. }
  1733. //theloo.katt.it (wrapped safelinking.net)
  1734. function processThelooKattItLink(link, redirectorId)
  1735. {
  1736. link.className = 'container_link';
  1737. GM_xmlhttpRequest({
  1738. method: 'GET',
  1739. url: link.href,
  1740. headers: {
  1741. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1742. 'Accept': 'text/xml',
  1743. 'Referer': ""
  1744. },
  1745. onload: function(result) {
  1746. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1747. redirectors[redirectorId].cProcessed++;
  1748. //the inner links are safelinking.net links, so lets proceed with it
  1749. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1750. {
  1751. processRedirectorLink(link, 0);
  1752. }
  1753. }
  1754. });
  1755. }
  1756. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1757. function processAdfLyLink(link, redirectorId)
  1758. {
  1759. link.className = 'container_link';
  1760. GM_xmlhttpRequest({
  1761. method: 'GET',
  1762. url: link.href,
  1763. headers: {
  1764. 'User-agent': 'Mozilla/4.0',
  1765. 'Accept': 'text/xml',
  1766. 'Referer': ""
  1767. },
  1768. onload: function(result) {
  1769. if (result.finalUrl.match('/locked/'))
  1770. {
  1771. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1772. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1773. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1774. }
  1775. else
  1776. {
  1777. // GM_log('Processing... ' + link.href);
  1778. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1779. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1780. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1781. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1782. //confirm advert
  1783. GM_xmlhttpRequest(
  1784. {
  1785. method: 'POST',
  1786. url: 'http://adf.ly/l.php',
  1787. headers: {
  1788. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1789. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1790. 'Referer': link.href
  1791. },
  1792. data: users + '&lt=' + logToken,
  1793. onload: function(result) {
  1794. //retrieve final url from .../go/... link
  1795. GM_xmlhttpRequest({
  1796. method: 'GET',
  1797. url: directLink,
  1798. headers: {
  1799. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1800. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1801. 'Referer': link.href
  1802. },
  1803. onload: function(result) {
  1804. link.href = result.finalUrl;
  1805. redirectors[redirectorId].cProcessed++;
  1806. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1807. checkLinks('container_link');
  1808. }
  1809. });
  1810. }
  1811. });
  1812. }
  1813. }
  1814. });
  1815. function proceedOK()
  1816. {
  1817. }
  1818. }
  1819. //MULTILOAD.CZ START
  1820. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1821. {
  1822. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1823. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1824.  
  1825. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1826.  
  1827. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1828. hostRestrictionRegex += 'hellshare|';
  1829. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1830. hostRestrictionRegex += 'downloadhellshare|';
  1831. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1832. hostRestrictionRegex += 'share-rapid\\.com|';
  1833. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1834. hostRestrictionRegex += 'quickshare\\.cz|';
  1835. if (GM_getValue("Check_czshare_dot_com_links", false))
  1836. hostRestrictionRegex += 'czshare\\.com|';
  1837. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1838. hostRestrictionRegex += 'hellspy|';
  1839. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1840. hostRestrictionRegex += 'multishare\\.cz|';
  1841.  
  1842. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1843.  
  1844. linkify(mlRegex);
  1845.  
  1846. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1847. var mlCount = mlSnapshot.snapshotLength;
  1848.  
  1849. if (mlCount > 0)
  1850. {
  1851. cMultiloadTotal += mlCount;
  1852.  
  1853. mlIdx = mlCount - 1;
  1854. do
  1855. {
  1856. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1857. }
  1858. while(mlIdx--)
  1859. }
  1860. }
  1861. //MULTILOAD.CZ END
  1862.  
  1863.  
  1864.  
  1865. function processMultiloadLink(mlLink)
  1866. {
  1867. GM_xmlhttpRequest({
  1868. method: 'GET',
  1869. url: mlLink.href,
  1870. headers: {
  1871. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1872. 'Accept': 'text/xml',
  1873. 'Referer': ""
  1874. },
  1875. onload: function(result) {
  1876. var res = result.responseText;
  1877.  
  1878. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1879. 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;
  1880. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1881. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1882.  
  1883. var blocks; // blocks of links
  1884. var blockIdx;
  1885.  
  1886. mlLink.className = '';
  1887.  
  1888. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1889. {
  1890. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1891. return;
  1892. }
  1893.  
  1894. blocks = res.match(innerBlockRegex);
  1895.  
  1896. if (blocks == null) //no links found, cancel further processing
  1897. {
  1898. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1899. cMultiloadProcessed++;
  1900. if (cMultiloadTotal <= cMultiloadProcessed)
  1901. {
  1902. startBulkCheck('container_link');
  1903. start('container_link');
  1904. }
  1905. return;
  1906. }
  1907.  
  1908. blockIdx = blocks.length;
  1909.  
  1910. if (Display_full_links_in_link_containers)
  1911. {
  1912. var ulElm = document.createElement('ul');
  1913. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1914.  
  1915. while(blockIdx--)
  1916. {
  1917. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1918. {
  1919. continue;
  1920. }
  1921.  
  1922. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1923.  
  1924. var linkIdx = innerLinks.length;
  1925. while (linkIdx--)
  1926. {
  1927. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1928.  
  1929. var liElm = document.createElement('li');
  1930.  
  1931. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1932. {
  1933. liElm.appendChild(document.createTextNode(innerLink));
  1934. }
  1935. else
  1936. {
  1937. var aElm = document.createElement('a');
  1938. aElm.innerHTML = innerLink;
  1939. aElm.href = innerLink;
  1940. aElm.className = 'container_link';
  1941.  
  1942. liElm.appendChild(aElm);
  1943. }
  1944.  
  1945. ulElm.appendChild(liElm);
  1946. cLinksTotal++;
  1947. }
  1948. }
  1949.  
  1950. mlLink.parentNode.appendChild(ulElm);
  1951. }
  1952. else //compact view
  1953. {
  1954. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1955.  
  1956. while(blockIdx--)
  1957. {
  1958. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1959. {
  1960. continue;
  1961. }
  1962.  
  1963. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1964.  
  1965. var linkIdx = innerLinks.length;
  1966. while (linkIdx--)
  1967. {
  1968. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1969.  
  1970. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1971. {
  1972. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1973. }
  1974. else
  1975. {
  1976. var aElm = document.createElement('a');
  1977.  
  1978. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1979.  
  1980. //abbreviate host name
  1981. switch(hostName + ""){
  1982.  
  1983. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1984. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1985. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1986. case 'multishare': aElm.innerHTML = 'MS'; break;
  1987. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1988. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1989. case 'czshare': aElm.innerHTML = 'CS'; break;
  1990. default: aElm.innerHTML = 'xx';
  1991.  
  1992. }
  1993.  
  1994. aElm.href = innerLink;
  1995. aElm.className = 'container_link';
  1996.  
  1997. mlLink.parentNode.appendChild(aElm);
  1998. cLinksTotal++;
  1999. }
  2000. }
  2001.  
  2002. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  2003.  
  2004. }
  2005. }
  2006.  
  2007. cMultiloadProcessed++;
  2008. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2009. {
  2010. if (Do_not_linkify_DL_links)
  2011. {
  2012. delinkifySnapshot(mlSnapshot);
  2013. }
  2014. startBulkCheck('container_link');
  2015. start('container_link');
  2016. }
  2017. }
  2018. });
  2019. }
  2020.  
  2021.  
  2022. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2023. {
  2024. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2025. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2026. var mcShortHostNames =
  2027. '?? 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';
  2028. // 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
  2029. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2030. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2031. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2032. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2033.  
  2034. linkify(mcRegex);
  2035.  
  2036. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2037. var mcCount = mcSnapshot.snapshotLength;
  2038.  
  2039. cMirrorcreatorComTotal = mcCount;
  2040.  
  2041. if (mcCount > 0)
  2042. {
  2043. mcShortHostNames = mcShortHostNames.split(' ');
  2044. mcIdx = mcCount;
  2045. while(mcIdx--)
  2046. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2047. }
  2048.  
  2049. }
  2050. //MIRRORCREATOR.CZ END
  2051.  
  2052.  
  2053. //mirrorcreator.com checking works like this:
  2054. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2055. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2056. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2057. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2058. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2059. function processMirrorcreatorLink(mcLink)
  2060. {
  2061. var mcURL = mcLink.href.match(mcRegex);
  2062. if(!mcURL || !mcURL[1]) return;
  2063. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2064. GM_xmlhttpRequest({
  2065. method: 'GET',
  2066. url: mcURL,
  2067. headers: {
  2068. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2069. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2070. 'Referer': ""
  2071. },
  2072. onload: function(mcLinkResult) {
  2073. var mcLinkRes = mcLinkResult.responseText;
  2074.  
  2075. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2076. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2077.  
  2078. var mcRedirectors;
  2079. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2080. var m = mcLinkRes.match(mcLinkBlockRegex);
  2081. if (m)
  2082. mcHostsFound = m.length;
  2083. else
  2084. { //no files inside container
  2085. processMirrorcreatorFoundHosts(mcLink, []);
  2086. return;
  2087. }
  2088.  
  2089. var mcRedirectorURL, idx, timedOut = false;
  2090.  
  2091. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2092. GM_xmlhttpRequest({
  2093. method: 'GET',
  2094. url: mcRedirectorURL,
  2095. headers: {
  2096. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2097. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2098. 'Referer': ""
  2099. },
  2100. onload: function(mcHostResult) {
  2101. if (timedOut) return; //too late, the list is already displayed
  2102. var mcHostRes = mcHostResult.responseText;
  2103. var mcHost = mcHostRes.match(mcHostRegex);
  2104. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2105. if (mcHost && idx!=-1)
  2106. {
  2107. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2108. mcHostsRetrieved++;
  2109. mcHostsToProcess++;
  2110. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2111. {
  2112. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2113. mcHostsToProcess = 0;
  2114. }
  2115. }
  2116. } //end of onload: function
  2117. }); //end of GM_xmlhttpRequest call
  2118. };//end of var gmxhrFunc
  2119.  
  2120. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2121. { //load individual redirector pages
  2122. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2123. mcHostURLs.push(mcRedirectorURL);
  2124. mcRedirectorIDs.push(mcRedirectors[2]);
  2125. gmxhrFunc(mcRedirectorURL);
  2126. } //end of while block
  2127.  
  2128. setTimeout(function(){ //in case the last page fails to load and call the function
  2129. timedOut = true;
  2130. if (mcHostsToProcess)
  2131. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2132. }, 60000);
  2133.  
  2134. } //end of onload function
  2135. }); //end of GM_xmlhttpRequest call
  2136. } //end of function processMirrorcreatorLink
  2137.  
  2138.  
  2139. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2140. {
  2141. var aEl, liEl, docFrag;
  2142. var hostName, mcRedirectorID, trimFilename = false;
  2143. var i = mcHostURLs.length;
  2144. if (i == 0)
  2145. {
  2146. trimFilename = true;
  2147. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2148. }
  2149. else
  2150. {
  2151. if (Display_full_links_in_link_containers)
  2152. { //full view
  2153. var wrapperEl = document.createElement('span');
  2154. wrapperEl.style.display = 'block';
  2155. var ulistEl = document.createElement('ul');
  2156. ulistEl.className = 'container_list';
  2157. while (i--)
  2158. {
  2159. liEl = document.createElement('li');
  2160. aEl = document.createElement('a');
  2161. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2162. aEl.href = mcHostURLs[i];
  2163. aEl.className = 'container_link';
  2164. liEl.appendChild(aEl);
  2165. ulistEl.appendChild(liEl);
  2166. }
  2167. wrapperEl.appendChild(ulistEl);
  2168. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2169. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2170. }
  2171. else
  2172. { //compact view
  2173. trimFilename = true;
  2174. docFrag = document.createDocumentFragment();
  2175. docFrag.appendChild(document.createTextNode(' |'));
  2176. while (i--)
  2177. {
  2178. mcRedirectorID = mcRedirectorIDs[i];
  2179. hostName = mcHostURLs[i];
  2180. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2181. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2182. else
  2183. hostName = mcShortHostNames[mcRedirectorID];
  2184. aEl = document.createElement('a');
  2185. aEl.href = mcHostURLs[i];
  2186. aEl.className = 'container_link';
  2187. aEl.appendChild(document.createTextNode(hostName));
  2188. docFrag.appendChild(aEl);
  2189. docFrag.appendChild(document.createTextNode('|'));
  2190. }
  2191. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2192. } //end of else block
  2193. } //end of else block
  2194. mcLink.className = '';
  2195. if (trimFilename)
  2196. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2197. cMirrorcreatorComProcessed++;
  2198. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2199. {
  2200. if (Do_not_linkify_DL_links)
  2201. delinkifySnapshot(mcSnapshot);
  2202. startBulkCheck('container_link');
  2203. start('container_link');
  2204. }
  2205. } //end of function processMirrorcreatorFoundHosts
  2206.  
  2207. containers_processed = true;
  2208.  
  2209.  
  2210. function initRedirectors()
  2211. {
  2212. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2213. {
  2214. var redirector = new Object();
  2215. redirector.linkRegex = linkRegex;
  2216. redirector.xpath = xpathEx; //xpath expression
  2217. redirector.cProcessed = 0; //processed links count
  2218. redirector.cTotal = 0; //total links count
  2219. redirector.type = redirType; //redirectorTypes enum
  2220. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2221. redirectors.push(redirector);
  2222. }
  2223. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2224. {
  2225. addRedirector(
  2226. 'safelinking\\.net\/d\/\\w+',
  2227. "//a[contains(@href,'safelinking.net/d/')]",
  2228. redirectorTypes.HTTP_302,
  2229. null);
  2230. }
  2231. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2232. {
  2233. addRedirector(
  2234. 'linksafe\\.me\/d\/\\w+',
  2235. "//a[contains(@href,'linksafe.me/d/')]",
  2236. redirectorTypes.HTTP_302,
  2237. null);
  2238. }
  2239. if (GM_getValue("Check_linkto_dot_net_links", false))
  2240. {
  2241. addRedirector(
  2242. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2243. "//a[contains(@href,'linkto.net/?')]",
  2244. redirectorTypes.INNER_LINK,
  2245. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2246. }
  2247. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2248. {
  2249. addRedirector(
  2250. '(?:the)?loo\\.katt\\.it\/\\w+',
  2251. "//a[contains(@href,'loo.katt.it/')]",
  2252. redirectorTypes.THELOO_KATT_IT,
  2253. /Proceed to URL - <a href="(.+?)">/);
  2254. }
  2255. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2256. {
  2257. addRedirector(
  2258. 'madlink\\.sk\/\\w+',
  2259. "//a[contains(@href,'madlink.sk/')]",
  2260. redirectorTypes.INNER_LINK,
  2261. /name="url" value="(.+?)\s*"\/>/);
  2262. }
  2263. if (GM_getValue("Check_adf_dot_ly_links", false))
  2264. {
  2265. addRedirector(
  2266. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2267. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2268. redirectorTypes.ADF_LY,
  2269. null);
  2270. }
  2271. if (GM_getValue("Check_redi_dot_re_links", false))
  2272. {
  2273. addRedirector(
  2274. 'redi\\.re\/\\w+',
  2275. "//a[contains(@href,'redi.re/')]",
  2276. redirectorTypes.HTTP_302,
  2277. null);
  2278. }
  2279. if (GM_getValue("Check_bit_dot_ly_links", false))
  2280. {
  2281. addRedirector(
  2282. 'bit\\.ly\/\\w+',
  2283. "//a[contains(@href,'bit.ly/')]",
  2284. redirectorTypes.HTTP_302,
  2285. null);
  2286. }
  2287. }
  2288.  
  2289. }
  2290.  
  2291. var bulkHosts = new Array();
  2292. var bulkHostNames = new Array();
  2293. function initBulkCheck()
  2294. {
  2295. /////////////////////////////
  2296. // Inits filehost object
  2297. /////////////////////////////
  2298. // params :
  2299. // hostName -- [string] host name (multiple domains separated with coma)
  2300. // linkRegex -- [string] link regex
  2301. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2302. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2303. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2304. // corrReplWhat -- [regex] link correction regex (replace)
  2305. // corrReplWith -- [string]
  2306. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2307. //
  2308. // apiUrl -- [string] web linkchecker or API URL
  2309. // postData -- [string] POSTDATA of xmlhttprequest
  2310. // resLinkRegex -- [regex]
  2311. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2312. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2313. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2314. // func -- [function] bulkcheck handler, genBulkCheck if null
  2315. //
  2316. //////////////////////////////
  2317. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2318. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2319. {
  2320. var fileHost = new Object();
  2321.  
  2322. fileHost.linkRegex = linkRegex;
  2323. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2324. fileHost.xpath = xpath;
  2325. fileHost.cFound = 0; //found links counter
  2326. fileHost.links = new Array(); //found links
  2327. if (blockSize == null)
  2328. {
  2329. fileHost.blockSize = 50;
  2330. }
  2331. else
  2332. {
  2333. fileHost.blockSize = blockSize;
  2334. }
  2335. fileHost.corrMatch = corrMatch;
  2336. fileHost.corrReplWhat = corrReplWhat;
  2337. fileHost.corrReplWith = corrReplWith;
  2338. if (splitSeparator == null)
  2339. {
  2340. fileHost.splitSeparator = "\r\n";
  2341. }
  2342. else
  2343. {
  2344. fileHost.splitSeparator = splitSeparator;
  2345. }
  2346. fileHost.apiUrl = apiUrl;
  2347. fileHost.postData = postData;
  2348. fileHost.resLinkRegex = resLinkRegex;
  2349. fileHost.resLiveRegex = resLiveRegex;
  2350. fileHost.resDeadRegex = resDeadRegex;
  2351. fileHost.resUnavaRegex = resUnavaRegex;
  2352. if (func == null)
  2353. {
  2354. fileHost.func = genBulkCheck;
  2355. }
  2356. else
  2357. {
  2358. fileHost.func = func;
  2359. }
  2360. bulkHosts.push(fileHost);
  2361. var names = hostName.split(',');
  2362. var i = names.length;
  2363. while(i--)
  2364. {
  2365. bulkHostNames[names[i]] = fileHost;
  2366. }
  2367. }
  2368. var genType1 = [
  2369. "rodfile.com", "downloadani.me", //"migahost.com",
  2370. "rarefile.net",
  2371. "filesabc.com",
  2372. // "verzend.be",
  2373. // "movreel.com",
  2374. "file4safe.com", "filemac.com",
  2375. "longfiles.com",
  2376. "bitupload.com", //"4up.me",
  2377. //"uploadbaz.com"
  2378. ];
  2379. var genType2 = [ "queenshare.com",
  2380. "hulkload.com",
  2381. "amonshare.com", //"edoc.com",
  2382. ];
  2383. //xfilesharing 1.0
  2384. function addGenericType1()
  2385. {
  2386. var i = genType1.length;
  2387. while(i--)
  2388. {
  2389. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2390. {
  2391. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2392. addHost(
  2393. genType1[i].match(/[\w-]+/)[0], //hostname
  2394. regexSafe + "\/\\w+", //linkregex
  2395. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2396. null, //blocksize
  2397. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2398. null, //corrreplwhat
  2399. null, //corrreplwith
  2400. null, //separator
  2401. "http://" + genType1[i] + "/checkfiles.html", //api url
  2402. "op=checkfiles&process=Check+URLs&list=", //postdata
  2403. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2404. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2405. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2406. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2407. null //function delegate
  2408. )
  2409. }
  2410. }
  2411. }
  2412. //xfilesharing 2.0
  2413. function addGenericType2()
  2414. {
  2415. var i = genType2.length;
  2416. while(i--)
  2417. {
  2418. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2419. {
  2420. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2421. addHost(
  2422. genType2[i].match(/[\w-]+/)[0], //hostname
  2423. regexSafe + "\/\\w+", //linkregex
  2424. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2425. null, //blocksize
  2426. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2427. null, //corrreplwhat
  2428. null, //corrreplwith
  2429. null, //separator
  2430. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2431. "op=checkfiles&process=Check+URLs&list=", //postdata
  2432. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2433. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2434. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2435. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2436. null //function delegate
  2437. )
  2438. }
  2439. }
  2440. }
  2441. // TEMPLATE
  2442. // if (GM_getValue("Check__dot_com_links", false))
  2443. // {
  2444. // addHost(
  2445. // "", //hostname
  2446. // "", //linkregex
  2447. // "//a[contains(@href,'.com/')]", //xpath
  2448. // null, //blocksize
  2449. // null, //corrmatch
  2450. // null, //corrreplwhat
  2451. // null, //corrreplwith
  2452. // null, //separator
  2453. // "", //api url
  2454. // "", //postdata
  2455. // /()/, //linkregex
  2456. // //liveregex
  2457. // //deadregex
  2458. // //unavaregex
  2459. // null //function delegate
  2460. // )
  2461. // }
  2462. addGenericType1();
  2463. addGenericType2();
  2464.  
  2465. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2466. {
  2467. addHost(
  2468. "myvdrive,fileserving", //hostname
  2469. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2470. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2471. null, //blocksize
  2472. null, //corrmatch
  2473. null, //corrreplwhat
  2474. null, //corrreplwith
  2475. null, //separator
  2476. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2477. "links=", //postdata
  2478. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2479. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2480. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2481. null, //unavaregex
  2482. null //function delegate
  2483. )
  2484. }
  2485. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2486. {
  2487. addHost(
  2488. "hackerbox", //hostname
  2489. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2490. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2491. null, //blocksize
  2492. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2493. null, //corrreplwhat
  2494. null, //corrreplwith
  2495. null, //separator
  2496. "http://host.hackerbox.org/checkfiles.html", //api url
  2497. "op=checkfiles&process=Check+URLs&list=", //postdata
  2498. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2499. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2500. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2501. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2502. null //function delegate
  2503. )
  2504. }
  2505. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2506. {
  2507. addHost(
  2508. "hellshare", //hostname
  2509. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2510. "//a[contains(@href,'hellshare.')]", //xpath
  2511. 48, //blocksize
  2512. null, //corrmatch
  2513. null, //corrreplwhat
  2514. null, //corrreplwith
  2515. null, //separator
  2516. null, //api url
  2517. null, //postdata
  2518. null, //linkregex
  2519. null, //liveregex
  2520. null, //deadregex
  2521. null, //unavaregex
  2522. hellshareBulkCheck //function delegate
  2523. )
  2524. }
  2525. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2526. {
  2527. addHost(
  2528. "uploadrocket", //hostname
  2529. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2530. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2531. null, //blocksize
  2532. null, //corrmatch
  2533. null, //corrreplwhat
  2534. null, //corrreplwith
  2535. "\n", //separator
  2536. 'http://uploadrocket.net/?op=checkfiles',
  2537. 'op=checkfiles&process=Check+URLs&list=',
  2538. /uploadrocket.net\/(\w+)/,
  2539. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2540. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2541. null,
  2542. null //function delegate
  2543. )
  2544. }
  2545. if (GM_getValue("Check_uploading_dot_site_links", false))
  2546. {
  2547. addHost(
  2548. "uploading", //hostname
  2549. "(?:uploading\\.site)\/\\w+", //linkregex
  2550. "//a[contains(@href,'uploading.site/')]", //xpath
  2551. null, //blocksize
  2552. null, //corrmatch
  2553. null, //corrreplwhat
  2554. null, //corrreplwith
  2555. "\n", //separator
  2556. 'http://uploading.site/?op=checkfiles',
  2557. 'op=checkfiles&process=Check+URLs&list=',
  2558. /uploading.site\/(\w+)/,
  2559. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2560. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2561. null,
  2562. null //function delegate
  2563. )
  2564. }
  2565. if (GM_getValue("Check_1f_dot_al_links", false))
  2566. {
  2567. addHost(
  2568. "1f",
  2569. "(?:1f\\.al)\/d\/\\w+",
  2570. "//a[contains(@href,'1f.al/d/')]",
  2571. 100000, //blocksize
  2572. null, //corrmatch
  2573. null, //corrreplwhat
  2574. null, //corrreplwith
  2575. null, //separator
  2576. null,
  2577. null,
  2578. null,
  2579. null,
  2580. null,
  2581. null,
  2582. _1falBulkCheck //function delegate
  2583. )
  2584. }
  2585. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2586. {
  2587. addHost(
  2588. "k2s,keep2s,keep2share",
  2589. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2590. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2591. 100000, //blocksize
  2592. null, //corrmatch
  2593. null, //corrreplwhat
  2594. null, //corrreplwith
  2595. null, //separator
  2596. null,
  2597. null,
  2598. null,
  2599. null,
  2600. null,
  2601. null,
  2602. k2sBulkCheck //function delegate
  2603. )
  2604. }
  2605. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2606. {
  2607. addHost(
  2608. "tezfiles",
  2609. "(?:tezfiles\\.com)\/\\w+",
  2610. "//a[contains(@href,'tezfiles.com')]",
  2611. 100000, //blocksize
  2612. null, //corrmatch
  2613. null, //corrreplwhat
  2614. null, //corrreplwith
  2615. null, //separator
  2616. null,
  2617. null,
  2618. null,
  2619. null,
  2620. null,
  2621. null,
  2622. k2sBulkCheck //function delegate
  2623. )
  2624. }
  2625. if (GM_getValue("Check_fboom_dot_me_links", false))
  2626. {
  2627. addHost(
  2628. "fboom,fileboom",
  2629. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2630. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2631. 100000, //blocksize
  2632. null, //corrmatch
  2633. null, //corrreplwhat
  2634. null, //corrreplwith
  2635. null, //separator
  2636. null,
  2637. null,
  2638. null,
  2639. null,
  2640. null,
  2641. null,
  2642. fboomBulkCheck //function delegate
  2643. )
  2644. }
  2645. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2646. {
  2647. addHost(
  2648. "1fichier,dl4free",
  2649. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2650. "//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/?')]",
  2651. 100000, //blocksize
  2652. null, //corrmatch
  2653. null, //corrreplwhat
  2654. null, //corrreplwith
  2655. null, //separator
  2656. null,
  2657. null,
  2658. null,
  2659. null,
  2660. null,
  2661. null,
  2662. dl4free_1fichier_BulkCheck //function delegate
  2663. )
  2664. }
  2665. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2666. {
  2667. addHost(
  2668. "nitroflare",
  2669. "nitroflare\\.com\/\\w+",
  2670. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2671. 100000, //blocksize
  2672. null, //corrmatch
  2673. null, //corrreplwhat
  2674. null, //corrreplwith
  2675. null, //separator
  2676. null,
  2677. null,
  2678. null,
  2679. null,
  2680. null,
  2681. null,
  2682. nitroflareBulkCheck //function delegate
  2683. )
  2684. }
  2685. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2686. {
  2687. addHost(
  2688. "depositfiles,dfiles",
  2689. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2690. "//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/')]",
  2691. 100000, //blocksize
  2692. null, //corrmatch
  2693. null, //corrreplwhat
  2694. null, //corrreplwith
  2695. null, //separator
  2696. null,
  2697. null,
  2698. null,
  2699. null,
  2700. null,
  2701. null,
  2702. depositfilesBulkCheck //function delegate
  2703. )
  2704. }
  2705. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2706. {
  2707. addHost(
  2708. "filesflash", //hostname
  2709. "filesflash\\.com\/\\w+", //linkregex
  2710. "//a[contains(@href,'filesflash.com')]", //xpath
  2711. null, //blocksize
  2712. null, //corrmatch
  2713. /http:\/\//, //corrreplwhat
  2714. '', //corrreplwith
  2715. null, //separator
  2716. 'http://filesflash.com/checklinks.php',
  2717. 'submit=Go&links=',
  2718. /filesflash\.com\/(\w+)/,
  2719. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2720. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2721. null,
  2722. null //function delegate
  2723. )
  2724. }
  2725. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2726. {
  2727. addHost(
  2728. "jumbofiles", //hostname
  2729. "jumbofiles\\.com\/\\w+", //linkregex
  2730. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2731. null, //blocksize
  2732. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2733. null, //corrreplwhat
  2734. null, //corrreplwith
  2735. null, //separator
  2736. "http://jumbofiles.com/checkfiles.html", //api url
  2737. "op=checkfiles&process=Check+URLs&list=", //postdata
  2738. /(jumbofiles\.com\/\w+)/, //linkregex
  2739. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2740. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2741. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2742. null //function delegate
  2743. )
  2744. }*/
  2745. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2746. {
  2747. addHost(
  2748. "edisk", //hostname
  2749. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2750. "//a[contains(@href,'edisk.')]", //xpath
  2751. null, //blocksize
  2752. null, //corrmatch
  2753. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2754. 'edisk.cz/stahni', //corrreplwith
  2755. null, //separator
  2756. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2757. 'submitBtn=Zkontrolovat&checkFiles=',
  2758. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2759. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2760. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2761. null,
  2762. null //function delegate
  2763. )
  2764. }
  2765. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2766. {
  2767. GM_xmlhttpRequest( //age check skip
  2768. {
  2769. method: 'POST',
  2770. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2771. headers: {
  2772. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2773. 'Content-type': 'application/x-www-form-urlencoded',
  2774. 'Referer': ""
  2775. }
  2776. });
  2777. addHost(
  2778. "bezvadata", //hostname
  2779. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2780. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2781. null, //blocksize
  2782. null, //corrmatch
  2783. null, //corrreplwhat
  2784. null, //corrreplwith
  2785. null, //separator
  2786. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2787. 'zkontrolovat=Zkontrolovat&odkazy=',
  2788. /(bezvadata\.cz\/stahnout\/\d+)/,
  2789. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2790. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2791. null,
  2792. null //function delegate
  2793. )
  2794. }
  2795. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2796. {
  2797. addHost(
  2798. "linkcrypt", //hostname
  2799. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2800. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2801. 100000, //blocksize
  2802. null, //corrmatch
  2803. null, //corrreplwhat
  2804. null, //corrreplwith
  2805. null, //separator
  2806. null,
  2807. null,
  2808. null,
  2809. null,
  2810. null,
  2811. null,
  2812. linkcryptBulkCheck //function delegate
  2813. )
  2814. }
  2815. if (GM_getValue("Check_videobb_dot_com_links", false))
  2816. {
  2817. addHost(
  2818. "videobb", //hostname
  2819. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2820. "//a[contains(@href,'videobb.com')]", //xpath
  2821. null, //blocksize
  2822. null, //corrmatch
  2823. /watch_video\.php\?v=/, //corrreplwhat
  2824. 'video/', //corrreplwith
  2825. null, //separator
  2826. 'http://www.videobb.com/link_checker.php',
  2827. 'links=',
  2828. /videobb\.com\/video\/(\w+)/,
  2829. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2830. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2831. null,
  2832. null //function delegate
  2833. )
  2834. }
  2835. if (GM_getValue("Check_filerio_dot_com_links", false))
  2836. {
  2837. addHost(
  2838. "filekeen,filerio", //hostname
  2839. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2840. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2841. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2842. null, //blocksize
  2843. null, //corrmatch
  2844. null, //corrreplwhat
  2845. null, //corrreplwith
  2846. null, //separator
  2847. 'http://filerio.in/checkfiles.html',
  2848. 'op=checkfiles&process=Check+URLs&list=',
  2849. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2850. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2851. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2852. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2853. null //function delegate
  2854. )
  2855. }
  2856. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2857. {
  2858. addHost(
  2859. "share-online,egoshare", //hostname
  2860. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2861. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2862. null, //blocksize
  2863. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2864. null, //corrreplwhat
  2865. null, //corrreplwith
  2866. "\n", //separator
  2867. 'http://api.share-online.biz/linkcheck.php',
  2868. 'links=',
  2869. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2870. /\w+;OK/g,
  2871. /\w+;(?:NOTFOUND|DELETED)/g,
  2872. null,
  2873. null //function delegate
  2874. )
  2875. }
  2876. if (GM_getValue("Check_oboom_dot_com_links", false))
  2877. {
  2878. addHost(
  2879. "oboom", //hostname
  2880. "oboom\\.com\/#?\\w{8}", //linkregex
  2881. "//a[contains(@href,'oboom.com/')]", //xpath
  2882. null, //blocksize
  2883. /oboom\.com\/#?(\w{8})/, //corrmatch
  2884. null, //corrreplwhat
  2885. null, //corrreplwith
  2886. null, //separator
  2887. null,
  2888. null,
  2889. null,
  2890. null, //liveregex
  2891. null, //deadregex
  2892. null,
  2893. oboomBulk //function delegate
  2894. )
  2895. }
  2896. if (GM_getValue("Check_mega_dot_nz_links", false))
  2897. {
  2898. addHost(
  2899. "mega",
  2900. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2901. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2902. 100000, //blocksize
  2903. null, //corrmatch
  2904. null, //corrreplwhat
  2905. null, //corrreplwith
  2906. null, //separator
  2907. null,
  2908. null,
  2909. null,
  2910. null,
  2911. null,
  2912. null,
  2913. megaBulkCheck //function delegate
  2914. )
  2915. }
  2916.  
  2917. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2918.  
  2919. if (GM_getValue("Check_extabit_dot_com_links", false))
  2920. {
  2921. addHost(
  2922. "extabit", //hostname
  2923. "extabit\\.com\/file\/\\w+", //linkregex
  2924. "//a[contains(@href,'extabit.com')]", //xpath
  2925. null, //blocksize
  2926. null, //corrmatch
  2927. null, //corrreplwhat
  2928. null, //corrreplwith
  2929. "\n", //separator
  2930. "http://extabit.com/linkchecker.jsp", //api url
  2931. "url=", //postdata
  2932. /extabit\.com\/(file\/\w+)/, //linkregex
  2933. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2934. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2935. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2936. extabitBulkCheck //function delegate
  2937. )
  2938. }
  2939. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2940. {
  2941. addHost(
  2942. "junocloud", //hostname
  2943. "junocloud\\.me\/\\w+", //linkregex
  2944. "//a[contains(@href,'junocloud.me')]", //xpath
  2945. null, //blocksize
  2946. null, //corrmatch
  2947. null, //corrreplwhat
  2948. null, //corrreplwith
  2949. "\n", //separator
  2950. "http://junocloud.me/checkfiles.html", //api url
  2951. "op=checkfiles&process=Check+URLs&list=", //postdata
  2952. /(junocloud\.me\/\w+)/, //linkregex
  2953. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2954. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2955. null, //unavaregex
  2956. null //function delegate
  2957. )
  2958. } */
  2959. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2960. {
  2961. addHost(
  2962. "webshare", //hostname
  2963. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2964. "//a[contains(@href,'webshare.cz')]", //xpath
  2965. 100000, //blocksize
  2966. null, //corrmatch
  2967. null, //corrreplwhat
  2968. null, //corrreplwith
  2969. null, //separator
  2970. null, //api url
  2971. null, //postdata
  2972. null, //linkregex
  2973. null, //liveregex
  2974. null, //deadregex
  2975. null, //unavaregex
  2976. webshareBulkCheck //function delegate
  2977. )
  2978. }
  2979. /////////////////////////////
  2980. // Common function delegate to send links to get checked by host linkchecker
  2981. /////////////////////////////
  2982. // If you define a new delegate, you may use following properties
  2983. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2984. // this.apiUrl [string] API or web linkchecker URL
  2985. // this.postData [string] POSTDATA for POST request
  2986. // this.resLiveRegex [regex] matches live substrings in the request response
  2987. // this.resDeadRegex [regex] matches dead substrings in the request response
  2988. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2989. //
  2990. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2991. //
  2992. // See the code below for standard bulkcheck handling reference.
  2993. //////////////////////////////
  2994. function genBulkCheck()
  2995. {
  2996. var blockIdx = this.links.length;
  2997. while (blockIdx--)
  2998. {
  2999. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3000. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3001. }
  3002. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3003. {
  3004. GM_xmlhttpRequest(
  3005. {
  3006. method: 'POST',
  3007. url: api,
  3008. headers: {
  3009. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3010. 'Content-type': 'application/x-www-form-urlencoded',
  3011. 'Referer': api,
  3012. 'X-Requested-With': 'XMLHttpRequest'
  3013. },
  3014. data: postData + encodeURIComponent(links),
  3015. onload: function (result)
  3016. {
  3017. var res = result.responseText;
  3018. // GM_log(res);
  3019. var i;
  3020.  
  3021. var livelinks = res.match(liveRegex);
  3022. var deadlinks = res.match(deadRegex);
  3023. // GM_log(livelinks);
  3024. // GM_log(deadlinks);
  3025. if (livelinks != null)
  3026. {
  3027. i = livelinks.length - 1;
  3028. do
  3029. {
  3030. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3031. }
  3032. while (i--);
  3033. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3034. }
  3035.  
  3036. if (deadlinks != null)
  3037. {
  3038. i = deadlinks.length - 1;
  3039. do
  3040. {
  3041. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3042. }
  3043. while (i--);
  3044. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3045. }
  3046.  
  3047. if (unavaRegex != null)
  3048. {
  3049. var unavalinks = res.match(unavaRegex);
  3050. if (unavalinks)
  3051. {
  3052. i = unavalinks.length - 1;
  3053. do
  3054. {
  3055. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3056. }
  3057. while (i--);
  3058. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3059. }
  3060. }
  3061. }
  3062. });
  3063. }
  3064. }
  3065. //specialized bulkchecking handlers follow
  3066. function webshareBulkCheck()
  3067. {
  3068. var arr = this.links[0].split("\r\n");
  3069. var i = arr.length;
  3070. while(i--)
  3071. {
  3072. postRequest(arr[i]);
  3073. }
  3074. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3075. function postRequest(wsLink)
  3076. {
  3077. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3078. GM_xmlhttpRequest(
  3079. {
  3080. method: 'POST',
  3081. url: "http://webshare.cz/api/file_info/",
  3082. headers: {
  3083. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3084. 'Content-type': 'application/x-www-form-urlencoded',
  3085. 'Referer': "",
  3086. },
  3087. data: "wst=&ident=" + id,
  3088. onload: function (result)
  3089. {
  3090. var res = result.responseText;
  3091. if (res.match(/<name>.+?<\/name>/))
  3092. {
  3093. DisplayTheCheckedLinks([id], 'alive_link');
  3094. }
  3095. else
  3096. {
  3097. DisplayTheCheckedLinks([id], 'adead_link');
  3098. }
  3099. }
  3100. });
  3101. }
  3102. }
  3103. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3104. //extabit also doesn't like requests in fast succession, so some delays are added.
  3105. function extabitBulkCheck()
  3106. {
  3107. var timeoutDelay = 0;
  3108. var blockIdx = this.links.length;
  3109. while (blockIdx--)
  3110. {
  3111. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3112. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3113. }
  3114. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3115. {
  3116. GM_xmlhttpRequest(
  3117. {
  3118. method: 'POST',
  3119. url: api,
  3120. headers: {
  3121. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3122. 'Content-type': 'application/x-www-form-urlencoded',
  3123. 'Referer': api,
  3124. 'X-Requested-With': 'XMLHttpRequest'
  3125. },
  3126. data: postData + encodeURIComponent(links),
  3127. onload: function (result)
  3128. {
  3129. var res = result.responseText;
  3130. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3131. {
  3132. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3133. {
  3134. //GM_log(tryID + ': ' + link);
  3135. GM_xmlhttpRequest(
  3136. {
  3137. method: 'GET',
  3138. url: link,
  3139. 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': ""},
  3140. onload: function(result2)
  3141. {
  3142. var res2 = result2.responseText;
  3143. var res2Status = result.status;
  3144. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3145. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3146. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3147. {
  3148. if (tryID < 7)
  3149. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3150. else
  3151. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3152. }
  3153. }
  3154. });
  3155. }
  3156. //split the hrefs and check them one by one
  3157. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3158. links = links.split('\n');
  3159. var i = links.length;
  3160. while (i--)
  3161. {
  3162. if (links[i])
  3163. {
  3164. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3165. timeoutDelay += 500;
  3166. }
  3167. }
  3168. return;
  3169. }
  3170. var i;
  3171.  
  3172. var livelinks = res.match(liveRegex);
  3173. var deadlinks = res.match(deadRegex);
  3174. if (livelinks != null)
  3175. {
  3176. i = livelinks.length - 1;
  3177. do
  3178. {
  3179. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3180. }
  3181. while (i--);
  3182. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3183. }
  3184.  
  3185. if (deadlinks != null)
  3186. {
  3187. i = deadlinks.length - 1;
  3188. do
  3189. {
  3190. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3191. }
  3192. while (i--);
  3193. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3194. }
  3195.  
  3196. if (unavaRegex != null)
  3197. {
  3198. var unavalinks = res.match(unavaRegex);
  3199. if (unavalinks)
  3200. {
  3201. i = unavalinks.length - 1;
  3202. do
  3203. {
  3204. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3205. }
  3206. while (i--);
  3207. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3208. }
  3209. }
  3210. }
  3211. });
  3212. }
  3213. }
  3214. function _1falBulkCheck()
  3215. {
  3216. var arr = this.links[0].split("\r\n");
  3217. var i = arr.length;
  3218. c=0;
  3219. arrIDs=[];
  3220. while(i--)
  3221. {
  3222. id = arr[i].match(/\/d\/(\w+)/)[1];
  3223.  
  3224. _1falalreadyexist=false;
  3225. for (j=0;j<arrIDs.length;j++)
  3226. {
  3227. if (arrIDs[j]==id)
  3228. {
  3229. _1falalreadyexist=g
  3230. break;
  3231. }
  3232. }
  3233. if (_1falalreadyexist) continue;
  3234. arrIDs.push(id);
  3235. c++;
  3236. setTimeout(_1falRequest,c*500,arr[i]);
  3237. }
  3238. }
  3239. function _1falRequest(_1falLink)
  3240. {
  3241. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3242. GM_xmlhttpRequest(
  3243. {
  3244. method: 'GET',
  3245. url: _1falLink,
  3246. headers: {
  3247. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3248. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3249. 'Referer': 'http://www.planetsuzy.org/'
  3250. },
  3251. onload: function (result)
  3252. {
  3253. var res = result.responseText;
  3254. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3255. if (FAarr!=null)
  3256. {
  3257. FALink=FAarr[1];
  3258. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3259. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3260. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3261. GM_xmlhttpRequest(
  3262. {
  3263. method: 'POST',
  3264. url: FALink,
  3265. headers: {
  3266. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3267. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3268. 'Content-Type': 'application/x-www-form-urlencoded',
  3269. 'Referer': _1falLink
  3270. },
  3271. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3272. onload: function (_2ndresult)
  3273. {
  3274. var newres = _2ndresult.responseText;
  3275. FAalivelink=new RegExp("method_free");
  3276. if (FAalivelink.test(newres))
  3277. {
  3278. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3279. return;
  3280. }
  3281. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3282. if (FAdeadlink.test(newres))
  3283. {
  3284. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3285. return;
  3286. }
  3287. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3288. return;
  3289. }
  3290. });
  3291. return;
  3292. }
  3293. else
  3294. {
  3295. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3296. return;
  3297. }
  3298. },
  3299. onerror: function ()
  3300. {
  3301. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3302. return;
  3303. }
  3304. });
  3305. }
  3306. function k2sBulkCheck()
  3307. {
  3308. var arr = this.links[0].split("\r\n");
  3309. var i = arr.length;
  3310. c=0;
  3311. arrIDs=[];
  3312. while(i--)
  3313. {
  3314. id = arr[i].match(/\/file\/(\w+)/)[1];
  3315. if (id=='info')
  3316. {
  3317. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3318. continue;
  3319. }
  3320. k2salreadyexist=false;
  3321. for (j=0;j<arrIDs.length;j++)
  3322. {
  3323. if (arrIDs[j]==id)
  3324. {
  3325. k2salreadyexist=g
  3326. break;
  3327. }
  3328. }
  3329. if (k2salreadyexist) continue;
  3330. arrIDs.push(id);
  3331. c++;
  3332. setTimeout(k2sRequest,c*500,arr[i]);
  3333. }
  3334. }
  3335. function k2sRequest(K2SLink)
  3336. {
  3337. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3338. GM_xmlhttpRequest(
  3339. {
  3340. method: 'GET',
  3341. url: K2SLink,
  3342. headers: {
  3343. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3344. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3345. 'Referer': ''
  3346. },
  3347. onload: function (result)
  3348. {
  3349. var res = result.responseText;
  3350. K2Dom='k2s.cc';
  3351. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3352. K2SLink2='http://'+K2Dom+'/file/'+id;
  3353.  
  3354. 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'))
  3355. {
  3356. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3357. return;
  3358. }
  3359. if (res.match('method="post">Displaying'))
  3360. {
  3361. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3362. return;
  3363. }
  3364. if (res.match('Premium only|only for premium members'))
  3365. {
  3366. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3367. return;
  3368. }
  3369. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3370. {
  3371. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3372. slID=slow_id.exec(res)[1];
  3373. GM_xmlhttpRequest(
  3374. {
  3375. method: 'POST',
  3376. url: K2SLink2,
  3377. headers: {
  3378. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3379. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3380. 'Content-Type': 'application/x-www-form-urlencoded',
  3381. 'Referer': K2SLink
  3382. },
  3383. data: 'slow_id='+slID+'&yt0=',
  3384. onload: function (result)
  3385. {
  3386. var newres = result.responseText;
  3387. newoversizedtest=new RegExp("Free user can't download large files.");
  3388. if (newoversizedtest.test(newres))
  3389. {
  3390. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3391. return;
  3392. }
  3393. else
  3394. {
  3395. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3396. return;
  3397. }
  3398. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3399. return;
  3400. }
  3401. });
  3402. /////////////////////end additional check for oversized links
  3403. return;
  3404. }
  3405. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3406. return;
  3407. },
  3408. onerror: function ()
  3409. {
  3410. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3411. return;
  3412. }
  3413. });
  3414. }
  3415. function fboomBulkCheck()
  3416. {
  3417. var arr = this.links[0].split("\r\n");
  3418. var i = arr.length;
  3419. c=0;
  3420. arrIDs=[];
  3421. while(i--)
  3422. {
  3423. id = arr[i].match(/\/file\/(\w+)/)[1];
  3424. if (id=='info')
  3425. {
  3426. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3427. continue;
  3428. }
  3429. fbalreadyexist=false;
  3430. for (j=0;j<arrIDs.length;j++)
  3431. {
  3432. if (arrIDs[j]==id)
  3433. {
  3434. fbalreadyexist=true;
  3435. break;
  3436. }
  3437. }
  3438. if (fbalreadyexist) continue;
  3439. arrIDs.push(id);
  3440. c++;
  3441. setTimeout(fboomRequest,c*500,arr[i]);
  3442. }
  3443. }
  3444. function fboomRequest(FBoomLink)
  3445. {
  3446. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3447. FBoomLink2='http://fboom.me/file/'+id;
  3448. GM_xmlhttpRequest(
  3449. {
  3450. method: 'GET',
  3451. url: FBoomLink,
  3452. headers: {
  3453. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3454. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3455. 'Referer': ''
  3456. },
  3457. onload: function (result)
  3458. {
  3459. var res = result.responseText;
  3460. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3461. {
  3462. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3463. return;
  3464. }
  3465. if (res.match('method="post">Displaying'))
  3466. {
  3467. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3468. return;
  3469. }
  3470. if (res.match('only for premium members'))
  3471. {
  3472. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3473. return;
  3474. }
  3475. if (res.match('id="download-free" href="#"'))
  3476. {
  3477. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3478. slID=slow_id.exec(res)[1];
  3479. GM_xmlhttpRequest(
  3480. {
  3481. method: 'POST',
  3482. url: FBoomLink2,
  3483. headers: {
  3484. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3485. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3486. 'Content-Type': 'application/x-www-form-urlencoded',
  3487. 'Referer': FBoomLink
  3488. },
  3489. data: 'slow_id='+slID,
  3490. onload: function (result)
  3491. {
  3492. var newres = result.responseText;
  3493. newoversizedtest=new RegExp("Downloading is not possible");
  3494. if (newoversizedtest.test(newres))
  3495. {
  3496. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3497. return;
  3498. }
  3499. else
  3500. {
  3501. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3502. return;
  3503. }
  3504. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3505. return;
  3506. }
  3507. });
  3508. /////////////////////end additional check for oversized links
  3509. return;
  3510. }
  3511. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3512. return;
  3513. },
  3514. onerror: function ()
  3515. {
  3516. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3517. return;
  3518. }
  3519. });
  3520. }
  3521. function dl4free_1fichier_BulkCheck()
  3522. {
  3523. var arr = this.links[0].split("\r\n");
  3524. var i = arr.length;
  3525. while(i--)
  3526. {
  3527. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3528. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3529. gethead_dl4free_1fichier(arr[i]);
  3530. }
  3531. }
  3532. function gethead_dl4free_1fichier(link)
  3533. {
  3534. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3535. GM_xmlhttpRequest(
  3536. {
  3537. method: 'HEAD',
  3538. url: link,
  3539. headers: {
  3540. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3541. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3542. 'Referer': ''
  3543. },
  3544. onload: function (result)
  3545. {
  3546. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3547. {
  3548. DisplayTheCheckedLinks([id], 'alive_link');
  3549. return;
  3550. }
  3551. else
  3552. {
  3553. getlink_dl4free_1fichier(link);
  3554. }
  3555. return;
  3556. },
  3557. onerror: function ()
  3558. {
  3559. DisplayTheCheckedLinks([id], 'unava_link');
  3560. }
  3561. });
  3562. }
  3563. function getlink_dl4free_1fichier(link)
  3564. {
  3565. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3566. GM_xmlhttpRequest(
  3567. {
  3568. method: 'GET',
  3569. url: link,
  3570. headers: {
  3571. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3572. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3573. 'Referer': ''
  3574. },
  3575. onload: function (result)
  3576. {
  3577. var res = result.responseText;
  3578. 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');
  3579. if (deadRegex.test(res))
  3580. {
  3581. DisplayTheCheckedLinks([id], 'adead_link');
  3582. return;
  3583. }
  3584. premiumRegex=new RegExp('only for premium users');
  3585. if (premiumRegex.test(res))
  3586. {
  3587. DisplayTheCheckedLinks([id], 'prem_link');
  3588. return;
  3589. }
  3590. 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="');
  3591. if (liveRegex.test(res))
  3592. {
  3593. DisplayTheCheckedLinks([id], 'alive_link');
  3594. return;
  3595. }
  3596. DisplayTheCheckedLinks([id], 'unava_link');
  3597. },
  3598. onerror: function ()
  3599. {
  3600. DisplayTheCheckedLinks([id], 'unava_link');
  3601. }
  3602. });
  3603. }
  3604. function nitroflareBulkCheck()
  3605. {
  3606. var arr = this.links[0].split("\r\n");
  3607. var i = arr.length;
  3608. while(i--)
  3609. {
  3610. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3611. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3612. NitroFlareRequest(arr[i]);
  3613. }
  3614. }
  3615. function NitroFlareRequest(NFLink)
  3616. {
  3617. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3618. GM_xmlhttpRequest(
  3619. {
  3620. method: "GET",
  3621. url: NFLink,
  3622. headers: {
  3623. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3624. 'Content-Type': 'application/x-www-form-urlencoded',
  3625. 'Referer': ""
  3626. },
  3627. onload: function (result)
  3628. {
  3629. var res = result.responseText;
  3630. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3631. {
  3632. DisplayTheCheckedLinks([NFID], 'adead_link');
  3633. return;
  3634. }
  3635. if (res.match('Report this file<\/a>'))
  3636. {
  3637. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3638. sizearr=measureRegex.exec(res);
  3639. if (sizearr[2]=='GB')
  3640. {
  3641. if (parseFloat(sizearr[1])>1)
  3642. {
  3643. DisplayTheCheckedLinks([NFID], 'prem_link');
  3644. }
  3645. else
  3646. {
  3647. DisplayTheCheckedLinks([NFID], 'alive_link');
  3648. }
  3649. }
  3650. else
  3651. {
  3652. DisplayTheCheckedLinks([NFID], 'alive_link');
  3653. }
  3654. return;
  3655. }
  3656. DisplayTheCheckedLinks([NFID], 'unava_link');
  3657. }
  3658. });
  3659. }
  3660. function depositfilesBulkCheck()
  3661. {
  3662. var arr = this.links[0].split("\r\n");
  3663. var i = arr.length;
  3664. var seqno = Math.floor(Math.random()*1000000000);
  3665. while(i--)
  3666. {
  3667. DFpostRequest(arr[i]);
  3668. }
  3669. }
  3670. function DFpostRequest(DFLink)
  3671. {
  3672. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3673. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3674. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3675. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3676. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3677. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3678. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3679. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3680. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3681. GM_xmlhttpRequest(
  3682. {
  3683. method: "GET",
  3684. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3685. headers: {
  3686. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3687. 'Content-Type': 'application/x-www-form-urlencoded',
  3688. 'Referer': ""
  3689. },
  3690. onload: function (result)
  3691. {
  3692. var res = result.responseText;
  3693. if (res.match('(?:no_file|file_ban)'))
  3694. {
  3695. DisplayTheCheckedLinks([id], 'adead_link');
  3696. return;
  3697. }
  3698. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3699. {
  3700. DisplayTheCheckedLinks([id], 'alive_link');
  3701. return;
  3702. }
  3703. DisplayTheCheckedLinks([id], 'unava_link');
  3704. }
  3705. });
  3706. }
  3707.  
  3708. function megaBulkCheck()
  3709. {
  3710. var arr = this.links[0].split("\r\n");
  3711. var i = arr.length;
  3712. var seqno = Math.floor(Math.random()*1000000000);
  3713. while(i--)
  3714. {
  3715. postRequest(arr[i]);
  3716. }
  3717. function postRequest(megaLink)
  3718. {
  3719. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3720. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3721. if (id=='F')
  3722. {
  3723. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3724. DisplayTheCheckedLinks([id], 'unava_link');
  3725. }
  3726. else
  3727. GM_xmlhttpRequest(
  3728. {
  3729. method: "POST",
  3730. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3731. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3732. headers: {
  3733. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3734. 'Content-Type': 'application/xml',
  3735. 'Referer': "https://mega.co.nz/"
  3736. },
  3737. onload: function (result)
  3738. {
  3739. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3740. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3741. {
  3742.  
  3743. DisplayTheCheckedLinks([id], 'adead_link');
  3744. }
  3745. if (res.at)
  3746. {
  3747. DisplayTheCheckedLinks([id], 'alive_link');
  3748. }
  3749. if (res.e == "ETEMPUNAVAIL")
  3750. {
  3751. DisplayTheCheckedLinks([id], 'unava_link');
  3752. }
  3753. }
  3754. });
  3755. }
  3756.  
  3757. }
  3758.  
  3759. function oboomBulk() {
  3760. var a = [], b = [], c = [];
  3761. var array = this.links;
  3762.  
  3763. GM_xmlhttpRequest({
  3764. method: 'GET',
  3765. url: 'https://www.oboom.com/1/guestsession',
  3766. headers: {
  3767. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3768. 'Content-type': 'application/x-www-form-urlencoded',
  3769. 'Referer': 'https://www.oboom.com',
  3770. 'X-Requested-With': 'XMLHttpRequest'
  3771. },
  3772. onload: function(result) {
  3773. var blockIdx = array.length;
  3774. var token = JSON.parse(result.responseText)[1];
  3775. while (blockIdx--) {
  3776. startCheck(array[blockIdx].split('\r\n'), token);
  3777. }
  3778. }
  3779. });
  3780.  
  3781. function startCheck(links, token) {
  3782. GM_xmlhttpRequest({
  3783. method: 'POST',
  3784. url: "https://api.oboom.com/1/info",
  3785. headers: {
  3786. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3787. 'Content-type': 'application/x-www-form-urlencoded',
  3788. 'Referer': 'https://www.oboom.com/',
  3789. 'X-Requested-With': 'XMLHttpRequest'
  3790. },
  3791. data: "token=" + token + "&items=" + links.join(","),
  3792. onload: function(result) {
  3793. var res = JSON.parse(result.responseText)[1];
  3794. var i = res.length, s;
  3795.  
  3796. while (i--) {
  3797. s = res[i].state;
  3798. if (s == 'online') a.push(res[i].id);
  3799. 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);
  3800. else c.push(res[i].id);
  3801. }
  3802.  
  3803. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3804. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3805. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3806. }
  3807. });
  3808. }
  3809. }
  3810. function linkcryptBulkCheck()
  3811. {
  3812. var arr = this.links[0].split("\r\n");
  3813. var i = arr.length;
  3814. while(i--)
  3815. {
  3816. postRequest(arr[i]);
  3817. }
  3818. function postRequest(lcLink)
  3819. {
  3820. GM_xmlhttpRequest(
  3821. {
  3822. method: "GET",
  3823. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3824. headers: {
  3825. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3826. 'Accept': 'text/xml',
  3827. 'Referer': ""
  3828. },
  3829. onload: function (result)
  3830. {
  3831. var res = result.responseText;
  3832. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3833. {
  3834. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3835. return;
  3836. }
  3837. if (res.match(/folderStatus>1/)) //Online status
  3838. {
  3839. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3840. }
  3841. else
  3842. {
  3843. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3844. }
  3845. }
  3846. });
  3847. }
  3848. }
  3849.  
  3850. /* function megashareBulkCheck()
  3851. {
  3852. var arr = this.links[0].split("\r\n");
  3853. var i = arr.length;
  3854. while(i--)
  3855. {
  3856. postRequest(arr[i]);
  3857. }
  3858. function postRequest(msLink)
  3859. {
  3860. GM_xmlhttpRequest(
  3861. {
  3862. method: "GET",
  3863. url: msLink,
  3864. headers: {
  3865. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3866. 'Content-Type': 'application/x-www-form-urlencoded',
  3867. 'Referer': ""
  3868. },
  3869. onload: function (result)
  3870. {
  3871. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3872. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3873. if ((prZVal == null) || (btn3Name == null))
  3874. {
  3875. return;
  3876. }
  3877. GM_xmlhttpRequest(
  3878. {
  3879. method: "POST",
  3880. url: msLink,
  3881. headers: {
  3882. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3883. 'Content-Type': 'application/x-www-form-urlencoded',
  3884. 'Referer': ""
  3885. },
  3886. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3887. onload: function (result)
  3888. {
  3889. var res = result.responseText;
  3890. if (res.match(/<div id="err">/))
  3891. {
  3892. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3893. }
  3894. else
  3895. {
  3896. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3897. }
  3898. }
  3899. });
  3900. }
  3901. });
  3902. }
  3903. } */
  3904. function hellshareBulkCheck()
  3905. {
  3906. var links = this.links;
  3907. GM_xmlhttpRequest(
  3908. {
  3909. method: "GET",
  3910. url: 'http://www.hellshare.com',
  3911. headers: {
  3912. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3913. 'Accept': 'text/xml',
  3914. 'Referer': ""
  3915. },
  3916. onload: function (result)
  3917. {
  3918. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3919.  
  3920. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3921. if (domain == 'sk')
  3922. loc = 'check=Skontrolova%C5%A5&links=';
  3923. if (domain == 'com')
  3924. loc = 'check=Check+availability&links=';
  3925. if (domain == 'hu')
  3926. loc = 'check=Kontrol%C3%A1lj&links=';
  3927. if (domain == 'pl')
  3928. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3929.  
  3930. genBulkCheck.call({ links: links,
  3931. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3932. postData: loc,
  3933. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3934. 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,
  3935. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3936. resUnavaRegex: null
  3937. });
  3938. }
  3939. });
  3940. }
  3941. /**
  3942. * Displays check result
  3943. * @param {Array} Array of links or link fragments.
  3944. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3945. */
  3946. function DisplayTheCheckedLinks(links, resultStatus)
  3947. {
  3948. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3949. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3950. if (Do_not_linkify_DL_links)
  3951. { //TODO into separate jQuery function
  3952. $links.replaceWith(function(){
  3953. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3954. });
  3955. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3956. }
  3957. $links.removeClass().addClass(resultStatus);
  3958. $links.each(function() {
  3959. this.href = Ref_anonymize_service + $(this).attr("href");
  3960. });
  3961. switch(resultStatus)
  3962. {
  3963. case "alive_link": cLinksAlive += $links.length;
  3964. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3965. break;
  3966. case "adead_link": cLinksDead += $links.length;
  3967. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3968. break;
  3969. case "prem_link": cLinksprem += $links.length;
  3970. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3971. break;
  3972. case "unava_link": cLinksUnava += $links.length; break;
  3973. default:
  3974. }
  3975. cLinksProcessed += $links.length;
  3976. }
  3977. }
  3978. // starts bulkchecking
  3979. //
  3980. // params
  3981. // filterId [string] restricts link detection with passed id attribute
  3982. function startBulkCheck(filterId)
  3983. {
  3984. var cHosts = bulkHosts.length;
  3985. if (cHosts == 0) //no filehostings selected
  3986. return;
  3987. // STEP 1 linkify the links
  3988. var linkifyRegex = '';
  3989. var hostIdx = cHosts;
  3990. while(hostIdx--)
  3991. {
  3992. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3993. }
  3994. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3995. linkify(linkifyRegex);
  3996. //
  3997. //STEP 2 detect link objects
  3998. var xpathAll = '';
  3999. var hostIdx = cHosts;
  4000. while(hostIdx--)
  4001. {
  4002. xpathAll += bulkHosts[hostIdx].xpath + "|";
  4003. }
  4004. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4005. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4006. if (filterId != null) //insert id restriction in the xpath
  4007. {
  4008. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4009. }
  4010. else
  4011. {
  4012. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4013. }
  4014. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4015. if (filterId == null)
  4016. {
  4017. cLinksTotal += links.snapshotLength;
  4018. }
  4019. //
  4020. //STEP 3 bind links with hostings
  4021. var linkIdx = links.snapshotLength;
  4022. var href = null;
  4023. if (linkIdx == 0) // no links found
  4024. return;
  4025. var name;
  4026. while (linkIdx--)
  4027. {
  4028. href = links.snapshotItem(linkIdx).href;
  4029. try // DO NOT REMOVE, filters crap that went through xpath detection
  4030. {
  4031. name = gimmeHostName(href);
  4032. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4033. bulkHostNames[name].links.push(href);
  4034. }
  4035. catch(e)
  4036. {
  4037.  
  4038. }
  4039. }
  4040. //
  4041. //STEP 4 process the links for each filehosting
  4042. var hostIdx = cHosts;
  4043. var host;
  4044. var m,n;
  4045. var arr;
  4046. while (hostIdx--)
  4047. {
  4048. host = bulkHosts[hostIdx];
  4049. arr = host.links;
  4050. if (arr.length == 0) //no links for this hosting, skip
  4051. {
  4052. continue;
  4053. }
  4054. //links match corrections
  4055. if (host.corrMatch != null)
  4056. {
  4057. var idx = arr.length;
  4058. while (idx--)
  4059. {
  4060. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4061. }
  4062. }
  4063. //links replace corrections
  4064. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4065. {
  4066. var idx = arr.length;
  4067. while (idx--)
  4068. {
  4069. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4070. }
  4071. }
  4072. m = arr.length;
  4073. n = host.blockSize;
  4074. if (m > n)
  4075. {
  4076. //insert block separators (RAND_STRING) into the array
  4077. for(var i = n; i < m; i += n + 1)
  4078. {
  4079. arr.splice(i, 0, RAND_STRING);
  4080. }
  4081. }
  4082.  
  4083. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4084. apiUrl: host.apiUrl,
  4085. postData: host.postData,
  4086. resLinkRegex: host.resLinkRegex,
  4087. resLiveRegex: host.resLiveRegex,
  4088. resDeadRegex: host.resDeadRegex,
  4089. resUnavaRegex: host.resUnavaRegex
  4090. });
  4091. //clean up
  4092. arr.length = 0;
  4093. }
  4094. //
  4095.  
  4096. function gimmeHostName(link)
  4097. {
  4098. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4099. }
  4100. }
  4101. function checkLinks(filterId)
  4102. {
  4103. startBulkCheck(filterId);
  4104. start(filterId);
  4105. }
  4106.  
  4107. /**
  4108. * Initialises progress box including event binding and CSS
  4109. */
  4110. function initProgressBox()
  4111. {
  4112. if ($("#warlc-progressbox").length > 0)
  4113. return;
  4114. //progressbox css change size and color of progress box
  4115. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4116. "; opacity:" + (Progress_box_opacity / 100) +
  4117. "; bottom:" + Processbox_Pos_Y +
  4118. "%; left:" + Processbox_Pos_X +
  4119. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4120. \
  4121. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4122. \
  4123. .warlc-progressitem {}\
  4124. \
  4125. .alive {color:#00FF7F; " + Live_links_color +
  4126. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4127. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4128. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4129. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4130. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4131. //
  4132. if (Progressbox_Scaling != 100) {
  4133. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4134. 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
  4135. });
  4136. }
  4137. 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
  4138.  
  4139. GM_addStyle(progressboxCss);
  4140. $('body').append(' <div id="warlc-progressbox">\
  4141. <div class="warlc-progressbar"></div>\
  4142. <span class="warlc-progressitem alive"></span> - \
  4143. <span class="warlc-progressitem dead"></span> - \
  4144. <span class="warlc-progressitem unava"></span> - \
  4145. <span class="warlc-progressitem prem"></span> - \
  4146. <span class="warlc-progressitem processing"></span>\
  4147. </div>');
  4148. $('#warlc-progressbox').hide().click(function(){
  4149. clearInterval(intervalId);
  4150. $(this).hide();
  4151. return false;
  4152. });
  4153. $(".warlc-progressbar").progressbar({complete: function(){
  4154. $(this).fadeOut();
  4155. clearInterval(intervalId); //stop refreshing the stats
  4156. }
  4157. })
  4158. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4159. }
  4160. /**
  4161. * Updates progress data in progress box
  4162. */
  4163. function updateProgress()
  4164. {
  4165. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4166. if (cLinksTotal) // some links were detected on page
  4167. {
  4168. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4169. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4170. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4171. if ((cLinksTotal - cLinksProcessed) == 0)
  4172. {
  4173. $progressItems.first().text(cLinksAlive)
  4174. .next().text(cLinksDead)
  4175. .next().text(cLinksUnava)
  4176. .next().text(cLinksprem)
  4177. .next().remove();
  4178. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4179. $('#warlc-progressbox div:first-child').remove();
  4180. }
  4181. else
  4182. {
  4183. $progressItems.first().text(cLinksAlive)
  4184. .next().text(cLinksDead)
  4185. .next().text(cLinksUnava)
  4186. .next().text(cLinksprem)
  4187. .next().text(cLinksTotal - cLinksProcessed);
  4188. }
  4189. }
  4190. }
  4191.  
  4192. function check_all_links()
  4193. {
  4194. add_WARLC_style();
  4195.  
  4196. if (Show_progress_stats)
  4197. {
  4198. initProgressBox();
  4199. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4200. }
  4201.  
  4202. startBulkCheck(null);
  4203. start(null);
  4204.  
  4205. if (!containers_processed)
  4206. {
  4207. processContainers();
  4208. }
  4209. }
  4210.  
  4211. //Copies all found dead links to clipboard - right now for Scriptish only
  4212. function copy_dead_to_clipboard()
  4213. {
  4214. initClipBoardTools();
  4215.  
  4216. var deadlinksxpath = "//.[@class='adead_link']";
  4217.  
  4218. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4219. var foundlinkstext = '';
  4220.  
  4221. var foundlinkIdx = foundlinks.snapshotLength;
  4222.  
  4223. while(foundlinkIdx--)
  4224. {
  4225. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4226. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4227. }
  4228.  
  4229. GM_setClipboard(foundlinkstext);
  4230. }
  4231. //Copies all found live links to clipboard
  4232. function copy_live_to_clipboard()
  4233. {
  4234. initClipBoardTools();
  4235.  
  4236. var livelinksxpath = "//.[@class='alive_link']";
  4237.  
  4238. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4239. var foundlinks2text = '';
  4240.  
  4241. var foundlink2Idx = foundlinks2.snapshotLength;
  4242.  
  4243. while(foundlink2Idx--)
  4244. {
  4245. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4246. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4247. }
  4248.  
  4249. GM_setClipboard(foundlinks2text);
  4250. }
  4251.  
  4252. function toggle_autocheck()
  4253. {
  4254. var currentState = GM_getValue("Autocheck", false);
  4255. GM_setValue("Autocheck", !currentState);
  4256.  
  4257. if (currentState == true)
  4258. {
  4259. sendMessage('Autocheck disabled', 'red');
  4260. }
  4261. else
  4262. {
  4263. sendMessage('Autocheck enabled', 'SpringGreen');
  4264. }
  4265. }
  4266. function toggle_Enable_Anonymizer()
  4267. {
  4268. var currentState = GM_getValue("Enable_Anonymizer", false);
  4269. GM_setValue("Enable_Anonymizer", !currentState);
  4270.  
  4271. if (currentState == true)
  4272. {
  4273. GM_setValue("Ref_anonymize_service", "");
  4274. sendMessage('Anonymizer Disabled', 'red');
  4275. }
  4276. else
  4277. {
  4278. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4279. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4280. }
  4281. }
  4282.  
  4283. function KeyDownHandler(event)
  4284. {
  4285. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4286. if (event.ctrlKey && event.altKey)
  4287. {
  4288. switch(kcode)
  4289. {
  4290. case 65 : check_all_links(); break;
  4291. case 67 : configuration(); break;
  4292. case 68 : copy_dead_to_clipboard(); break;
  4293. case 76 : copy_live_to_clipboard(); break;
  4294. case 87 : toggle_autocheck(); break;
  4295. case 90 : toggle_Enable_Anonymizer(); break;
  4296. }
  4297. }
  4298. }
  4299.  
  4300. //
  4301. //
  4302. // SCRIPT EXECUTION START POINT
  4303. //
  4304. //
  4305. // Safari specific GM_getResourceText override
  4306. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4307. {
  4308. GM_getResourceText = function(res) {
  4309. var $cssText = GM_getValue("jquery_css", "");
  4310. if ($cssText == "")
  4311. {
  4312. GM_xmlhttpRequest(
  4313. {
  4314. method: 'GET',
  4315. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4316. onload: function (result)
  4317. {
  4318. GM_setValue("jquery_css", result.responseText);
  4319. window.location.reload();
  4320. }
  4321. });
  4322. }
  4323. else
  4324. {
  4325. return $cssText;
  4326. }
  4327. }
  4328. }
  4329. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4330. GM_addStyle(jQueryUICSS);
  4331. //init the stuff
  4332. setVariables();
  4333. initBulkCheck();
  4334. //init info boxes
  4335. messageBox.style.position = 'fixed';
  4336. messageBox.style.top = '20px';
  4337. messageBox.style.left = '10px';
  4338. messageBox.style.opacity = '0.85';
  4339. messageBox.style.background = 'DimGray';
  4340. messageBox.style.fontSize = '36px';
  4341. document.body.appendChild(messageBox);
  4342.  
  4343. //register GM menu commands & keyboard shortcut event handler
  4344. if (Keyboard_functions)
  4345. {
  4346. $(document).keydown(KeyDownHandler);
  4347. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4348. 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);
  4349. }
  4350. else
  4351. {
  4352. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4353. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4354. }
  4355.  
  4356. //start linkchecking
  4357. if (Autocheck)
  4358. {
  4359. $(document).ready(check_all_links);
  4360. }
  4361.  
  4362. //
  4363. //
  4364. // SCRIPT EXECUTION END POINT
  4365. //
  4366. //
  4367.  
  4368. //shows configuration box
  4369. function configuration()
  4370. {
  4371.  
  4372. //prevent multiple creating of config window
  4373. if ($("#hideshow").length)
  4374. {
  4375. $("#hideshow").show();
  4376. return;
  4377. }
  4378.  
  4379. var configcss = '\
  4380. .popup_block .popup fieldset{\
  4381. padding: 1%;\
  4382. border-style: solid;\
  4383. border-width: 1px;\
  4384. border-color: gray;\
  4385. margin-bottom: 1px;\
  4386. }\
  4387. #h3hideshowtitle{\
  4388. font-size: 2em;\
  4389. }\
  4390. #h3hideshow{\
  4391. font-size: 1.5em;\
  4392. }\
  4393. #imghideshow {\
  4394. border: none;\
  4395. }\
  4396. #plusimage{\
  4397. display:inline;\
  4398. }\
  4399. #hideshow {\
  4400. position: fixed;\
  4401. width: 100%;\
  4402. height: 100%;\
  4403. top: 0;\
  4404. left: 0;\
  4405. font-size:12px;\
  4406. z-index:2147483645;\
  4407. text-align:left;\
  4408. }\
  4409. #fade {\
  4410. background: #000;\
  4411. position: fixed;\
  4412. width: 100%;\
  4413. height: 100%;\
  4414. opacity: .80;\
  4415. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4416. left: 0;\
  4417. z-index: 10;\
  4418. }\
  4419. .popup_block {\
  4420. font-family:verdana;\
  4421. color:black;\
  4422. background: #ddd;\
  4423. padding: 10px 20px;\
  4424. border: 2px solid DarkOrange;\
  4425. float: left;\
  4426. width: 700px;\
  4427. position: absolute;\
  4428. top: 7%;\
  4429. left: 50%;\
  4430. bottom: 7%;\
  4431. margin: 0 0 0 -350px;\
  4432. -moz-border-radius:10px;\
  4433. z-index: 100;\
  4434. \
  4435. }\
  4436. .popup_block .popup {\
  4437. float: left;\
  4438. width: 100%;\
  4439. background: #fff;\
  4440. margin: 10px 0;\
  4441. padding: 0px 0 0px;\
  4442. border-left: 1px solid #bbb;\
  4443. border-top: 1px solid #bbb;\
  4444. border-right: 1px solid #bbb;\
  4445. }\
  4446. #h3hideshow{\
  4447. margin: 1px 0 0px;\
  4448. padding: 1px 10px;\
  4449. border-bottom: 1px solid #bbb;\
  4450. font-size: 1.5em;\
  4451. font-weight: normal;\
  4452. cursor:pointer;\
  4453. background:#DDDDDD none repeat scroll 0 0;\
  4454. }\
  4455. #h3hideshow:hover{\
  4456. background:#C0BEBE none repeat scroll 0 0;\
  4457. }\
  4458. #h3hideshowtitle{\
  4459. margin: 2px 0 0px;\
  4460. padding: 7px 10px;\
  4461. border-bottom: 1px solid #bbb;\
  4462. font-size: 1.5em;\
  4463. font-weight: normal;\
  4464. }\
  4465. .popup_block .popup a {\
  4466. color:DarkSkyBlue;\
  4467. text-decoration:none;\
  4468. }\
  4469. .popup p {\
  4470. padding: 1px 10px;\
  4471. margin: 0px 0;\
  4472. -x-system-font:none;\
  4473. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4474. font-size:10pt;\
  4475. font-size-adjust:none;\
  4476. font-stretch:normal;\
  4477. font-style:normal;\
  4478. font-variant:normal;\
  4479. font-weight:normal;\
  4480. line-height:normal;\
  4481. }\
  4482. #sites {\
  4483. padding: 1px 10px;\
  4484. margin: 0px 0;display:inline-block;width:16em;\
  4485. }\
  4486. #dev_ver {\
  4487. color: #00FF00;\
  4488. background: Black;\
  4489. text-align: right;\
  4490. }\
  4491. #sites_suspended {\
  4492. padding: 1px 10px;\
  4493. margin: 0px 0;display:inline-block;width:16em;\
  4494. text-decoration: line-through;\
  4495. }\
  4496. .popup img.cntrl {\
  4497. position: absolute;\
  4498. right: -15px;\
  4499. top: -15px;\
  4500. }\
  4501. #bulk {\
  4502. font-size:8pt;\
  4503. color:orange;\
  4504. padding: 1px 10px;\
  4505. margin: 0px 0;\
  4506. display:inline-block;\
  4507. width:100px;\
  4508. }\
  4509. #note {\
  4510. font-size:7pt;\
  4511. color:gray;\
  4512. padding: 1px 10px;\
  4513. margin: 0px 0;display:inline-block;\
  4514. min-width:100px;\
  4515. }\
  4516. #rednote {\
  4517. font-size:7pt;\
  4518. color:red;\
  4519. padding: 1px 10px;\
  4520. margin: 0px 0;display:inline-block;\
  4521. }\
  4522. #configinfo {\
  4523. font-size:8pt;\
  4524. color:gray;\
  4525. padding: 1px 10px;\
  4526. margin: 0px 0;display:inline-block;width:60em;\
  4527. }\
  4528. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4529. color:black;\
  4530. border-style: solid;\
  4531. border-width: 1px;\
  4532. border-color: gray;\
  4533. }\
  4534. #h3hideshowcontent {\
  4535. min-height:220px;\
  4536. max-height:220px;\
  4537. overflow:auto;\
  4538. display: none;\
  4539. padding: 10px 10px;\
  4540. }\
  4541. #specinfo{\
  4542. font-size:14px;\
  4543. }\
  4544. .warlc-ui-tab {\
  4545. height:300px;\
  4546. overflow:auto;\
  4547. }\
  4548. #warlcsitelist2, #warlcsitelist1 {\
  4549. height:220px;\
  4550. border-top: 1px solid #ddd;\
  4551. padding-top: 5px;\
  4552. overflow:auto;\
  4553. }\
  4554. input:hover+label {\
  4555. background:#F1F77C;\
  4556. font-size:110%;\
  4557. }\
  4558. ';
  4559.  
  4560. GM_addStyle(configcss);
  4561.  
  4562. var customRulesRefHTML =
  4563. '\
  4564. <br>\
  4565. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4566. <b>@keyword</b> <i>parameter</i>\
  4567. <br><br>\
  4568. 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. \
  4569. <br><br>\
  4570. 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.\
  4571. 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.\
  4572. 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.\
  4573. 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,\
  4574. but all commands until the next valid @customrule are ignored.<br><br>\
  4575. Available forms and types:\
  4576. <ul>\
  4577. <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.\
  4578. <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.\
  4579. <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.\
  4580. <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.\
  4581. </ul>\
  4582. Other available commands:<br>\
  4583. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4584. <ul>\
  4585. <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.\
  4586. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4587. <ul>examples:<br>\
  4588. <li>good: <i>filehost.com/download/</i><br>\
  4589. <li>good: <i>download.filehost.net/?d=</i><br>\
  4590. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4591. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4592. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4593. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4594. <li>bad: <i>filehost.com</i> - no slash<br>\
  4595. </ul>\
  4596. \
  4597. <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.\
  4598. 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 \
  4599. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4600. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4601. 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.)\
  4602. Two spaces again match any whitespace.\
  4603. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4604. Two spaces again match any whitespace.\
  4605. <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. \
  4606. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4607. </ul>\
  4608. \
  4609. ';
  4610.  
  4611. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4612. var configurationinnerHTML =
  4613. '<div id="fade"></div>\
  4614. <div class="popup_block">\
  4615. <div class="popup">\
  4616. <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/Jd05Ozn14uQEHGR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X15mQE4uhMY0IZuEwx+KBlwL6DiT09t+eurclmdqy4Y7kMd2RciKaCANEIwbD81vjX6/dqMdDVVbiIbeDueefT8aOHjizcxW4BVgbm2N0TS9RqFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+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>\
  4618. <div id="warlc-conf-tabs">\
  4619. <ul>\
  4620. <li><a href="#tabs-1">Filehostings</a></li>\
  4621. <li><a href="#tabs-2">Containers</a></li>\
  4622. <li><a href="#tabs-5">Custom rules</a></li>\
  4623. <li><a href="#tabs-3">Settings</a></li>\
  4624. <li><a href="#tabs-4">About</a></li>\
  4625. </ul>\
  4626. <div id="tabs-1" class="warlc-ui-tab">\
  4627. <div class="warlc-ui-buttonset">\
  4628. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4629. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4630. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4631. </div><br>\
  4632. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4633. <div id="warlcsitelist1"><span>Empty</span></div>\
  4634. </div>\
  4635. <div id="tabs-2" class="warlc-ui-tab">\
  4636. <div class="warlc-ui-buttonset">\
  4637. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4638. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4639. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4640. </div><br>\
  4641. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4642. <div id="warlcsitelist2"><span>Empty</span></div>\
  4643. </div>\
  4644. <div id="tabs-5" class="warlc-ui-tab">\
  4645. <div class="warlcsettings">\
  4646. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4647. <br>\
  4648. <div>Edit custom rules: \
  4649. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4650. <div id="customRulesReference" style="display:none;">'
  4651. + customRulesRefHTML + '\
  4652. </div>\
  4653. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4654. </div>\
  4655. </div>\
  4656. </div>\
  4657. <div id="tabs-3" class="warlc-ui-tab">\
  4658. <div class="warlcsettings">\
  4659. <fieldset>\
  4660. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4661. <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>\
  4662. </fieldset>\
  4663. <fieldset>\
  4664. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4665. <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>\
  4666. <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>\
  4667. <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>\
  4668. <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>\
  4669. <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>\
  4670. <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>\
  4671. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4672. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4673. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4674. <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>\
  4675. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4676. <fieldset>\
  4677. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4678. <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>\
  4679. <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>\
  4680. <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>\
  4681. </fieldset>\
  4682. </fieldset>\
  4683. <fieldset>\
  4684. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4685. </fieldset>\
  4686. <fieldset>\
  4687. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4688. </fieldset>\
  4689. <fieldset>\
  4690. <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>\
  4691. </fieldset>\
  4692. <fieldset>\
  4693. <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>\
  4694. </fieldset>\
  4695. <fieldset>\
  4696. <legend>Progress box settings</legend>\
  4697. <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>\
  4698. <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>\
  4699. <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>\
  4700. </fieldset>\
  4701. </div>\
  4702. </div>\
  4703. <div id="tabs-4" class="warlc-ui-tab">\
  4704. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4705. <br />\
  4706. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4707. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4708. <br />\
  4709. <p><b>Currently supported:</b><br>\
  4710. Filehostings: ' + allHostNames.length + '<br />\
  4711. Containers: ' + allContainerNames.length + '<br />\
  4712. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4713. <br />\
  4714. <p><b>Based on:</b><br>\
  4715. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4716. <br />\
  4717. <p><b>Uses:</b></p>\
  4718. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4719. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4720. <br />\
  4721. <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>\
  4722. </div>\
  4723. </div>\
  4724. </div>\
  4725. </div>';
  4726. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4727. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4728. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4729. var elmHostList = document.getElementById("warlcsitelist1");
  4730. var elmContainerList = document.getElementById("warlcsitelist2");
  4731. buildSettings();
  4732. buildSitelist("", allHostNames, elmHostList);
  4733. buildSitelist("", allContainerNames, elmContainerList);
  4734. if (DEBUG_MODE)
  4735. {
  4736. //log all sites availability status
  4737. diagSites();
  4738. }
  4739. //handler for checkbox state change
  4740. function changeConfiguration(e)
  4741. {
  4742. var element = e.target;
  4743.  
  4744. if (element.type == 'checkbox')
  4745. {
  4746. if (element.checked == 1)
  4747. {
  4748. GM_setValue(element.id, true);
  4749. }
  4750. else
  4751. {
  4752. GM_setValue(element.id, false);
  4753. }
  4754.  
  4755. }
  4756. setVariables();
  4757. }
  4758.  
  4759. //Selects all filehosting checkboxes
  4760. function selectAll()
  4761. {
  4762. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4763. .each(function(index, element){GM_setValue(this.id, true)});
  4764. }
  4765.  
  4766. //Deselects all filehosting checkboxes
  4767. function selectNone()
  4768. {
  4769. $(":checkbox:visible:checked").prop("checked",false)
  4770. .each(function(index, element){GM_setValue(this.id, false)});
  4771. }
  4772. //Sets Processbox position setting
  4773. function changeProgBox(event) {
  4774. var setting;
  4775. switch(event.data.set) {
  4776. case "X": setting = "Processbox_Pos_X"; break;
  4777. case "Y": setting = "Processbox_Pos_Y"; break;
  4778. case "Scale": setting = "Progressbox_Scaling"; break;
  4779. }
  4780. var $setting = $("#" + setting);
  4781. var newSet = $setting.val().replace("%", "");
  4782. GM_setValue(setting, newSet);
  4783. }
  4784. //Sets value of Processbox position
  4785. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4786. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4787. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4788.  
  4789. //Inverts filehosting checkboxes selection
  4790. function selectInvert()
  4791. {
  4792. var $checked = $(":checkbox:visible:checked");
  4793. var $unchecked = $(":checkbox:visible:not(:checked)");
  4794. $unchecked.prop("checked",true)
  4795. .each(function(index, element){GM_setValue(this.id, true)});
  4796. $checked.prop("checked",false)
  4797. .each(function(index, element){GM_setValue(this.id, false)});
  4798. }
  4799. //toggles anonymizer on off
  4800. function Enable_Anonymizer()
  4801. {
  4802. var $checked = $(":checkbox:visible:checked");
  4803. var $unchecked = $(":checkbox:visible:not(:checked)");
  4804. $unchecked.prop("checked",true)
  4805. .each(function(index, element){GM_setValue(this.id, true)});
  4806. $checked.prop("checked",false)
  4807. .each(function(index, element){GM_setValue(this.id, false)});
  4808. }
  4809.  
  4810. function changeRefAnonymizer(){
  4811. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4812. }
  4813.  
  4814. //Sets live links color
  4815. function changeColorLive()
  4816. {
  4817. var inColorLive = document.getElementById("inputColorLive");
  4818. inColorLive.style.background = inColorLive.value;
  4819. GM_setValue("Live_links_color", inColorLive.value);
  4820. }
  4821.  
  4822. //Sets dead links color
  4823. function changeColorDead()
  4824. {
  4825. var inColorDead = document.getElementById("inputColorDead");
  4826. inColorDead.style.background = inColorDead.value;
  4827. GM_setValue("Dead_links_color", inColorDead.value);
  4828. }
  4829.  
  4830. //Sets temp. unavailable links color
  4831. function changeColorTemp()
  4832. {
  4833. var inColorTemp = document.getElementById("inputColorTemp");
  4834. inColorTemp.style.background = inColorTemp.value;
  4835. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4836. }
  4837.  
  4838. //Sets temp. unavailable links color
  4839. function changeColorCont()
  4840. {
  4841. var inColorCont = document.getElementById("inputColorCont");
  4842. inColorCont.style.background = inColorCont.value;
  4843. GM_setValue("Container_links_color", inColorCont.value);
  4844. }
  4845. //Sets premium. links color
  4846. function changeColorprem()
  4847. {
  4848. var inColorprem = document.getElementById("inputColorprem");
  4849. inColorprem.style.background = inColorprem.value;
  4850. GM_setValue("Premium_links_color", inColorprem.value);
  4851. }
  4852.  
  4853. //Diagnose sites for availability
  4854. function diagSites()
  4855. {
  4856. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4857.  
  4858. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4859. {
  4860. if (boxes[i].type == "checkbox")
  4861. {
  4862. checkAvailability(boxes[i]);
  4863. }
  4864. }
  4865.  
  4866. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4867.  
  4868. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4869. {
  4870. if (boxes[i].type == "checkbox")
  4871. {
  4872. checkAvailability(boxes[i]);
  4873. }
  4874. }
  4875.  
  4876. function checkAvailability(cbElm)
  4877. {
  4878. var cb = cbElm;
  4879. GM_xmlhttpRequest(
  4880. {
  4881. method: 'HEAD',
  4882. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4883. headers: {
  4884. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4885. 'Accept': 'text/xml',
  4886. 'Referer': ""
  4887. },
  4888. onload: function (result)
  4889. {
  4890. if (result.status != 200)
  4891. {
  4892. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4893. }
  4894. },
  4895. onerror: function (result)
  4896. {
  4897. if (result.status != 200)
  4898. {
  4899. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4900. //Sets Progress_box position setting
  4901. function changeProgBox(event) {
  4902. var setting;
  4903. switch(event.data.set) {
  4904. case "X": setting = "Progress_box_Pos_X"; break;
  4905. case "Y": setting = "Progress_box_Pos_Y"; break;
  4906. case "Scale": setting = "Progress_box_Scaling"; break;
  4907. }
  4908.  
  4909. var $setting = $("#" + setting);
  4910. var newSet = $setting.val().replace("%", "");
  4911. lsSetVal("general", setting, newSet);
  4912. }
  4913.  
  4914. //Sets value of Progress_box position
  4915. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4916. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4917. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4918. }
  4919. }
  4920. });
  4921. }
  4922. }
  4923. function buildSettings()
  4924. {
  4925. $(".warlcsettings :checkbox").each(function(){
  4926. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4927. .click(function(e){
  4928. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4929. setVariables();
  4930. });
  4931. })
  4932. }
  4933. //Dynamic build of host list
  4934. //param search [string] searches for hostnames matching search substring
  4935. //param siteNames [array] array of site names
  4936. //param targetNode [DOM Node] where the list should be built
  4937. // first child node is replaced
  4938. function buildSitelist(search, siteNames, targetNode)
  4939. {
  4940. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4941. var $targetNode = $(targetNode).empty();
  4942. var searchedSite = "";
  4943. $.each(siteNames, function(i, site){
  4944. if (searchedSite = site.match(searchRegex))
  4945. {
  4946. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4947. //ensuring backward compatibility with the rest of code, to be refactored later
  4948. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4949. //
  4950. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4951. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4952. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4953. );
  4954. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4955. .change(changeConfiguration);
  4956. $targetNode.append('<br />');
  4957. }
  4958. });
  4959. $targetNode.append("<hr>");
  4960. //obsolete hosts checkbox
  4961. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4962. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4963. .change(changeConfiguration);
  4964. $targetNode.append('<br />');
  4965. var foundName = "";
  4966. $.each(allObsoleteNames, function(i, site){
  4967. if (foundName = allObsoleteNames[i].match(searchRegex))
  4968. {
  4969. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4970. }
  4971. })
  4972. }
  4973. var hostSearchBox = document.getElementById("hostSearchBox");
  4974. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4975. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4976. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4977. $(".warlc-ui-select-all").click(selectAll).button();
  4978. $(".warlc-ui-select-none").click(selectNone).button();
  4979. $(".warlc-ui-select-invert").click(selectInvert).button();
  4980. $(".warlc-ui-buttonset").buttonset();
  4981. var inColorLive = document.getElementById("inputColorLive");
  4982. inColorLive.addEventListener('keyup', changeColorLive, false);
  4983.  
  4984. var inColorDead = document.getElementById("inputColorDead");
  4985. inColorDead.addEventListener('keyup', changeColorDead, false);
  4986.  
  4987. var inColorTemp = document.getElementById("inputColorTemp");
  4988. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4989.  
  4990. var inColorCont = document.getElementById("inputColorCont");
  4991. inColorCont.addEventListener('keyup', changeColorCont, false);
  4992. var inColorprem = document.getElementById("inputColorprem");
  4993. inColorprem.addEventListener('keyup', changeColorprem, false);
  4994. $("#refAnonymizer").change(changeRefAnonymizer);
  4995. //buttons and edit boxes init end
  4996.  
  4997. //icon sets radio buttons
  4998. var radioButtons = document.getElementsByName("warlciconset");
  4999. radioButtons[Icon_set].checked = "checked";
  5000.  
  5001. radioButtons[0].addEventListener("change", updateIconSet);
  5002. radioButtons[1].addEventListener("change", updateIconSet);
  5003. radioButtons[2].addEventListener("change", updateIconSet);
  5004. radioButtons[3].addEventListener("change", updateIconSet);
  5005. function updateIconSet()
  5006. {
  5007. GM_setValue("Icon_set", this.value * 1);
  5008. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5009. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5010. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5011. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5012. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5013.  
  5014. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5015. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5016.  
  5017. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5018. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5019. }
  5020. //
  5021. $('#showCustomRulesReference').click(function(e){
  5022. e.preventDefault();
  5023. $('#customRulesReference').toggle();
  5024. });
  5025. $('#Custom_rules_text')
  5026. .val(Custom_rules_text)
  5027. .change(saveCustomRules);
  5028. function saveCustomRules(e)
  5029. {
  5030. var cr = parseCustomRules(this.value);
  5031. if (cr.info.length)
  5032. 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, ' '));
  5033. GM_setValue('Custom_rules_text', this.value);
  5034. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5035. }
  5036. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5037. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5038. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5039. }
  5040.  
  5041. //begin standard link checking algorithm
  5042. function start(filterId)
  5043. {
  5044. var doNotLinkify = Do_not_linkify_DL_links;
  5045.  
  5046. // USER SELECTED FILE HOSTS INITIALIZATION START
  5047. var http_file_hosts = new Array(); //standard hostings
  5048. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5049. var http_file_hosts_obsolete = new Array(); //dead hostings
  5050. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5051.  
  5052. initFileHosts();
  5053. initFileHostsHeadersOnly();
  5054. initFileHostsCustom(); //CustomRules
  5055. // USER SELECTED FILE HOSTS INITIALIZATION END
  5056.  
  5057. // LINKIFICATION START
  5058. var totalxpath = '';
  5059. var totalxpathcoded = '';
  5060. var totalxpathobsolete = '';
  5061. var totalxpathheadersonly = '';
  5062. var totalourls = '';
  5063.  
  5064. var filehostLen = http_file_hosts.length;
  5065. var filehostCodedLen = http_file_hosts_coded.length;
  5066. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5067. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5068.  
  5069. var filehostIdx = filehostLen;
  5070. var filehostCodedIdx = filehostCodedLen;
  5071. var filehostObsoleteIdx = filehostObsoleteLen;
  5072. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5073.  
  5074. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5075. return;
  5076.  
  5077. while (filehostIdx--)
  5078. {
  5079. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5080. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5081. }
  5082.  
  5083. while (filehostCodedIdx--)
  5084. {
  5085. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5086. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5087. }
  5088.  
  5089. while (filehostObsoleteIdx--)
  5090. {
  5091. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5092. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5093. }
  5094.  
  5095. while (filehostHeadersOnlyIdx--)
  5096. {
  5097. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5098. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5099. }
  5100.  
  5101. totalourls = totalourls.replace(/\|$/g, "");
  5102. //TODO: further refactoring needed
  5103. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5104. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5105. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5106. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5107. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5108. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5109. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5110. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5111. if (filterId != null) //insert id restriction in the xpath
  5112. {
  5113. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5114. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5115. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5116. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5117. }
  5118. else
  5119. {
  5120. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5121. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5122. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5123. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5124. }
  5125. linkify(totalourls);
  5126. //LINKIFICATION END
  5127. //ENCRYPTED LINKS PROCESSING START
  5128. if (http_file_hosts_coded.length > 0)
  5129. {
  5130. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5131.  
  5132. // decrypt coded links (redirects, link protectors etc.)
  5133. if (linksCoded.snapshotLength > 0)
  5134. {
  5135. var link;
  5136. var reallinkreg;
  5137. var reallinkcorrection;
  5138.  
  5139. if (filterId == null)
  5140. {
  5141. cLinksTotal += linksCoded.snapshotLength;
  5142. }
  5143.  
  5144. var y = linksCoded.snapshotLength - 1;
  5145. do
  5146. {
  5147. // linksCoded.snapshotItem(y).id = 'processing_link';
  5148. link = linksCoded.snapshotItem(y);
  5149. filehostIdx = filehostCodedLen;
  5150. while (filehostIdx--)
  5151. {
  5152. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5153. {
  5154. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5155. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5156. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5157.  
  5158. decurl(link, reallinkreg, reallinkcorrection);
  5159. break;
  5160. }
  5161. }
  5162. }
  5163. while (y--);
  5164. }
  5165. }
  5166. //ENCRYPTED LINKS PROCESSING END
  5167.  
  5168. //STANDARD LINKCHECKING START
  5169. if (http_file_hosts.length > 0)
  5170. {
  5171. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5172.  
  5173. if (filterId == null)
  5174. {
  5175. cLinksTotal += lianks.snapshotLength;
  5176. }
  5177.  
  5178. if (lianks.snapshotLength > 0)
  5179. {
  5180. var link;
  5181.  
  5182. var URL = "";
  5183. var name = "";
  5184. var isAliveRegex = "";
  5185. var isDeadRegex = "";
  5186. var isUnavaRegex = "";
  5187. var ispremRegex = "";
  5188. var tryLoop = false;
  5189.  
  5190. var y = lianks.snapshotLength;
  5191.  
  5192. while (y--)
  5193. {
  5194. link = lianks.snapshotItem(y);
  5195.  
  5196. filehostIdx = filehostLen;
  5197. while (filehostIdx--)
  5198. {
  5199. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5200. {
  5201. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5202. isAliveRegex = http_file_hosts[filehostIdx][1];
  5203. isDeadRegex = http_file_hosts[filehostIdx][2];
  5204. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5205. ispremRegex = http_file_hosts[filehostIdx][6];
  5206. tryLoop = http_file_hosts[filehostIdx][5];
  5207.  
  5208. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5209.  
  5210. break;
  5211. }
  5212. }
  5213. }
  5214. }
  5215. }
  5216. //STANDARD LINKCHECKING END
  5217. //OBSOLETE FILE HOSTS PROCESSING START
  5218. if (filehostObsoleteLen > 0)
  5219. {
  5220. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5221.  
  5222. var obsoleteLink;
  5223.  
  5224. //check links
  5225. if (obsoletelinks.snapshotLength > 0)
  5226. {
  5227. var y = obsoletelinks.snapshotLength;
  5228.  
  5229. if (filterId == null)
  5230. {
  5231. cLinksTotal += y;
  5232. }
  5233.  
  5234. while (y--)
  5235. {
  5236. obsoleteLink = obsoletelinks.snapshotItem(y);
  5237.  
  5238. if (Display_tooltip_info)
  5239. {
  5240. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5241. }
  5242. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5243. }
  5244. }
  5245. }
  5246. //OBSOLETE FILE HOSTS PROCESSING END
  5247.  
  5248. //DIRECT LINKCHECKING START
  5249. if (http_file_hosts_headers_only.length > 0)
  5250. {
  5251. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5252.  
  5253. //check links
  5254. if (links.snapshotLength > 0)
  5255. {
  5256. var link;
  5257. var isAliveRegex;
  5258. var isDeadRegex;
  5259. var ispremRegex;
  5260.  
  5261. var y = links.snapshotLength;
  5262.  
  5263.  
  5264. if (filterId == null)
  5265. {
  5266. cLinksTotal += y;
  5267. }
  5268.  
  5269. while (y--)
  5270. {
  5271. // links.snapshotItem(y).id = 'processing_link';
  5272. link = links.snapshotItem(y);
  5273. filehostIdx = filehostHeadersOnlyLen;
  5274. while (filehostIdx--)
  5275. {
  5276. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5277. {
  5278. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5279. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5280. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5281. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5282.  
  5283. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5284.  
  5285. break;
  5286. }
  5287. }
  5288. }
  5289.  
  5290. }
  5291. }
  5292. //DIRECT LINKCHECKING END
  5293.  
  5294.  
  5295. //finds the real url on the page, replaces link.href with it and calls geturl
  5296. function decurl(link, reallinkreg, reallinkcorrection)
  5297. {
  5298.  
  5299. GM_xmlhttpRequest(
  5300. {
  5301. method: 'GET',
  5302. url: link.href,
  5303. headers: {
  5304. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5305. 'Accept': 'text/xml',
  5306. 'Referer': ""
  5307. },
  5308. onload: function (result)
  5309. {
  5310. // cLinksProcessed++;
  5311.  
  5312. var reallink = result.responseText.match(reallinkreg)[0];
  5313. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5314.  
  5315. link.href = reallink;
  5316.  
  5317. var i = http_file_hosts.length - 1;
  5318. do
  5319. {
  5320. if ((reallink.match(http_file_hosts[i][0])))
  5321. {
  5322. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5323. var isAliveRegex = http_file_hosts[i][1];
  5324. var isDeadRegex = http_file_hosts[i][2];
  5325. var isUnavaRegex = http_file_hosts[i][3];
  5326. var ispremRegex = http_file_hosts[i][4];
  5327.  
  5328. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5329.  
  5330. break;
  5331. }
  5332. }
  5333. while (i--);
  5334. }
  5335. });
  5336. }
  5337.  
  5338. function randUA()
  5339. {
  5340. //TODO
  5341. }
  5342. //Processes link
  5343. //
  5344. // [string] link link URL
  5345. // [string] isAliveRegex alive link regex
  5346. // [string] isDeadRegex dead link regex
  5347. // [string] isUnavaRegex unavailable link regex
  5348. // [string] ispremRegex premium link regex
  5349. // [boolean] tryLoop repeats request until succeeded
  5350. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5351. {
  5352. GM_xmlhttpRequest(
  5353. {
  5354. method: 'GET',
  5355. url: link.href,
  5356. headers: {
  5357. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5358. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5359. 'Referer': ""
  5360. },
  5361. onload: function (result)
  5362. {
  5363. var res = result.responseText;
  5364. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5365. {
  5366. displayTheCheckedLink(link, 'alive_link');
  5367. return;
  5368. }
  5369.  
  5370. if (res.match(isAliveRegex))
  5371. {
  5372. displayTheCheckedLink(link, 'alive_link');
  5373. return;
  5374. }
  5375.  
  5376. if (res.match(isDeadRegex))
  5377. {
  5378. displayTheCheckedLink(link, 'adead_link');
  5379. return;
  5380. }
  5381.  
  5382. if (isUnavaRegex && res.match(isUnavaRegex))
  5383. {
  5384. displayTheCheckedLink(link, 'unava_link');
  5385. return;
  5386. }
  5387. if (res.match(ispremRegex))
  5388. {
  5389. displayTheCheckedLink(link, 'prem_link');
  5390. return;
  5391. }
  5392.  
  5393. var resStatus = result.status;
  5394.  
  5395. if (resStatus == 404)
  5396. {
  5397. displayTheCheckedLink(link, 'adead_link');
  5398. }
  5399. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5400. {
  5401. if (tryLoop)
  5402. {
  5403. //wait 1-5 seconds and repeat the request
  5404. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5405. }
  5406. else
  5407. {
  5408. displayTheCheckedLink(link, 'unava_link');
  5409. }
  5410.  
  5411. return;
  5412. }
  5413. },
  5414. onerror: function ()
  5415. {
  5416. displayTheCheckedLink(link, 'unava_link');
  5417. }
  5418. });
  5419. }
  5420.  
  5421. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5422. {
  5423. GM_xmlhttpRequest(
  5424. {
  5425. method: 'HEAD',
  5426. url: link.href,
  5427. headers: {
  5428. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5429. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5430. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5431. 'Referer': ""
  5432. },
  5433. onload: function (result)
  5434. {
  5435. var resStatus = result.status;
  5436. var resHeaders = "";
  5437. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5438. {
  5439. displayTheCheckedLink(link, 'adead_link');
  5440. return;
  5441. }
  5442.  
  5443. resHeaders = result.responseHeaders;
  5444.  
  5445. if (resHeaders.match(isDeadRegex))
  5446. {
  5447. displayTheCheckedLink(link, 'adead_link');
  5448. return;
  5449. }
  5450.  
  5451. if (resHeaders.match(isAliveRegex))
  5452. {
  5453. displayTheCheckedLink(link, 'alive_link');
  5454. return;
  5455. }
  5456. if (resHeaders.match(ispremRegex))
  5457. {
  5458. displayTheCheckedLink(link, 'prem_link');
  5459. return;
  5460. }
  5461. },
  5462. onerror: function ()
  5463. {
  5464. displayTheCheckedLink(link, 'unava_link');
  5465. }
  5466. });
  5467. }
  5468.  
  5469. //Delinkfifies the <a> element object
  5470. function delinkifyLink(link)
  5471. {
  5472. var spanElm = document.createElement("span");
  5473. spanElm.className = link.className;
  5474. spanElm.innerHTML = link.innerHTML;
  5475.  
  5476. if (Display_tooltip_info)
  5477. {
  5478. spanElm.href = link.href;
  5479. spanElm.warlc_error = link.warlc_error;
  5480. switch (link.className){
  5481. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5482. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5483. case "unava_link": //reserved
  5484. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5485. default:
  5486. }
  5487. }
  5488. link.parentNode.replaceChild(spanElm, link);
  5489. }
  5490.  
  5491. //Assigns result status to the <a> element object and calls delinkifying eventually
  5492. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5493. function displayTheCheckedLink(link, resultStatus)
  5494. {
  5495. link.className = resultStatus;
  5496. link.href = Ref_anonymize_service + link.href;
  5497. if (Display_tooltip_info)
  5498. {
  5499. switch (resultStatus){
  5500. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5501. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5502. case "unava_link": //reserved
  5503. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5504. default:
  5505. }
  5506. }
  5507. if (doNotLinkify)
  5508. {
  5509. delinkifyLink(link);
  5510. }
  5511. cLinksProcessed++;
  5512.  
  5513. if (resultStatus == "alive_link")
  5514. {
  5515. cLinksAlive++;
  5516. return;
  5517. }
  5518.  
  5519. if (resultStatus == "adead_link")
  5520. {
  5521. cLinksDead++;
  5522. return;
  5523. }
  5524.  
  5525. if (resultStatus == "unava_link")
  5526. {
  5527. cLinksUnava++;
  5528. }
  5529. if (resultStatus == "prem_link")
  5530. {
  5531. cLinksprem++;
  5532. return;
  5533. }
  5534. }
  5535.  
  5536.  
  5537. function initFileHosts()
  5538. {
  5539.  
  5540. function addObsoleteHost(linkRegex, xpathEx)
  5541. {
  5542. var host = new Array(2);
  5543. host[0] = linkRegex;
  5544. host[1] = xpathEx;
  5545. http_file_hosts_obsolete.push(host);
  5546. }
  5547.  
  5548. //obsolete file hosts init start
  5549. if (Obsolete_file_hosts)
  5550. {
  5551. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5552. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5553. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5554. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5555. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5556. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5557. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5558. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5559. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5560. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5561. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5562. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5563. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5564. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5565. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5566. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5567. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5568. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5569. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5570. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5571. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5572. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5573. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5574. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5575. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5576. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5577. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5578. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5579. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5580. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5581. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5582. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5583. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5584. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5585. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5586. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5587. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5588. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5589. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5590. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5591. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5592. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5593. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5594. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5595. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5596. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5597. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5598. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5599. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5600. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5601. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5602. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5603. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5604. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5605. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5606. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5607. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5608. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5609. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5610. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5611. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5612. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5613. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5614. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5615. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5616. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5617. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5618. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5619. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5620. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5621. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5622. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5623. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5624. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5625. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5626. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5627. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5628. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5629. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5630. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5631. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5632. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5633. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5634. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5635. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5636. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5637. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5638. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5639. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5640. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5641. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5642. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5643. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5644. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5645. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5646. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5647. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5648. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5649. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5650. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5651. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5652. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5653. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5654. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5655. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5656. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5657. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5658. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5659. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5660. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5661. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5662. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5663. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5664. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5665. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5666. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5667. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5668. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5669. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5670. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5671. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5672. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5673. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5674. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5675. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5676. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5677. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5678. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5679. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5680. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5681. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5682. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5683. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5684. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5685. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5686. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5687. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5688. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5689. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5690. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5691. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5692. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5693. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5694. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5695. 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')]");
  5696. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5697. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5698. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5699. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5700. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5701. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5702. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5703. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5704. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5705. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5706. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5707. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5708. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5709. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5710. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5711. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5712. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5713. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5714. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5715. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5716. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5717. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5718. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5719. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5720. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5721. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5722. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5723. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5724. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5725. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5726. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5727. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5728. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5729. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5730. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5731. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5732. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5733. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5734. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5735. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5736. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5737. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5738. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5739. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5740. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5741. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5742. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5743. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5744. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5745. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5746. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5747. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5748. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5749. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5750. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5751. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5752. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5753. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5754. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5755. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5756. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5757. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5758. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5759. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5760. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5761. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5762. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5763. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5764. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5765. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5766. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5767. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5768. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5769. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5770. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5771. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5772. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5773. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5774. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5775. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5776. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5777. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5778. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5779. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5780. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5781. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5782. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5783. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5784. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5785. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5786. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5787. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5788. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5789. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5790. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5791. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5792. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5793. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5794. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5795. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5796. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5797. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5798. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5799. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5800. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5801. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5802. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5803. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5804. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5805. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5806. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5807. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5808. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5809. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5810. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5811. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5812. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5813. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5814. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5815. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5816. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5817. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5818. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5819. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5820. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5821. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5822. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5823. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5824. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5825. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5826. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5827. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5828. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5829. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5830. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5831. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5832. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5833. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5834. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5835. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5836. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5837. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5838. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5839. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5840. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5841. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5842. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5843. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5844. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5845. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5846. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5847. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5848. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5849. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5850. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5851. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5852. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5853. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5854. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5855. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5856. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5857. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5858. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5859. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5860. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5861. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5862. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5863. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5864. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5865. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5866. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5867. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5868. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5869. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5870. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5871. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5872. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5873. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5874. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5875. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5876. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5877. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5878. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5879. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5880. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5881. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5882. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5883. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5884. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5885. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5886. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5887. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5888. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5889. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5890. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5891. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5892. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5893. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5894. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5895. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5896. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5897. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5898. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5899. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5900. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5901. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5902. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5903. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5904. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5905. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5906. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5907. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5908. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5909. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5910. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5911. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5912. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5913. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5914. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5915. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5916. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5917. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5918. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5919. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5920. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5921. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5922. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5923. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5924. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5925. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5926. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5927. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5928. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5929. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5930. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5931. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5932. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5933. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5934. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5935. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5936. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5937. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5938. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5939. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5940. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5941. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5942. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5943. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5944. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5945. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5946. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5947. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5948. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5949. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5950. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5951. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5952. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5953. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5954. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5955. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5956. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5957. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5958. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5959. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5960. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5961. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5962. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5963. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5964. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5965. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5966. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5967. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5968. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5969. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5970. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5971. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5972. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5973. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5974. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5975. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5976. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5977. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5978. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5979. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5980. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5981. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5982. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5983. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5984. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5985. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5986. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5987. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5988. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5989. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5990. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5991. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5992. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5993. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5994. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5995. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5996. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5997. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5998. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5999. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  6000. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  6001. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  6002. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  6003. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6004. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6005. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6006. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6007. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6008. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6009. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6010. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6011. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6012. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6013. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6014. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6015. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6016. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6017. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6018. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6019. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6020. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6021. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6022. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6023. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6024. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6025. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6026. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6027. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6028. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6029. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6030. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6031. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6032. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6033. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6034. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6035. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6036. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6037. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6038. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6039. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6040. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6041. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6042. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6043. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6044. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6045. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6046. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6047. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6048. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6049. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6050. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6051. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6052. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6053. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6054. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6055. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6056. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6057. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6058. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6059. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6060. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6061. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6062. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6063. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6064. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6065. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6066. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6067. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6068. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6069. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6070. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6071. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6072. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6073. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6074. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6075. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6076. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6077. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6078. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6079. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6080. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6081. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6082. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6083. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6084. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6085. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6086. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6087. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6088. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6089. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6090. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6091. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6092. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6093. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6094. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6095. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6096. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6097. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6098. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6099.  
  6100. // obsolete start start2
  6101. }
  6102. //obsolete file hosts init end
  6103. //Add Host Example
  6104. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6105. {
  6106. addFileHost(
  6107. "datafile\.com\/\\w+",
  6108. 'var captchaPanel|<link href="/css/files_download.css"',
  6109. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6110. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6111. '<style type="text/css">',
  6112. "//a[contains(@href,'datafile.com')]",
  6113. true);
  6114. } */
  6115.  
  6116. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6117. {
  6118. var host = new Array(7);
  6119. host[0] = linkRegex;
  6120. host[1] = isAliveRegex;
  6121. host[2] = isDeadRegex;
  6122. host[3] = isUnavaRegex;
  6123. host[6] = ispremRegex;
  6124. host[4] = xpathEx;
  6125. tryLoop ? host[5] = true : host[5] = false;
  6126. http_file_hosts.push(host);
  6127. }
  6128. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6129. {
  6130. addFileHost(
  6131. "megafileupload\.com\/..\/file\/",
  6132. 'downloadbtn',
  6133. 'is not found',
  6134. 'optional--',
  6135. 'optional2--',
  6136. "//a[contains(@href,'megafileupload.com')]");
  6137. }
  6138. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6139. {
  6140. addFileHost(
  6141. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6142. 'download\\.gif"',
  6143. 'p_point">',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'demo.ovh.eu')]");
  6147. }*/
  6148. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6149. {
  6150. addFileHost(
  6151. "safelinking\\.net\/p\/\\w+",
  6152. 'color:green;"',
  6153. 'color:(?:red|orange);"',
  6154. 'color:(?:grey|brown);"',
  6155. 'optional2--',
  6156. "//a[contains(@href,'safelinking.net/p/')]",
  6157. true);
  6158. }
  6159. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6160. {
  6161. addFileHost(
  6162. "fastshare\\.cz\/\\d+\/\\w*",
  6163. 'dwntable">|speed-low',
  6164. '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',
  6165. 'optional--',
  6166. 'optional2--',
  6167. "//a[contains(@href,'fastshare.cz')]");
  6168. }
  6169. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6170. {
  6171. addFileHost(
  6172. "[fF]ast[sS]hare\\.org\/download",
  6173. 'Download ">',
  6174. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6175. 'optional--',
  6176. 'optional2--',
  6177. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6178. }
  6179. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6180. {
  6181. addFileHost(
  6182. "rapidgator\\.net\/file\/\\w+",
  6183. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6184. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6185. 'optional--',
  6186. 'can be downloaded by premium only|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|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6187. "//a[contains(@href,'rapidgator.net/file')]",
  6188. true
  6189. );
  6190. }
  6191. if (GM_getValue("Check_rg_dot_to_links", false))
  6192. {
  6193. addFileHost(
  6194. "rg\.to\/\\w+",
  6195. '/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|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6196. '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',
  6197. 'optional--',
  6198. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6199. "//a[contains(@href,'rg.to')]");
  6200. }
  6201. if (GM_getValue("Check_relink_dot_us_links", false))
  6202. {
  6203. addFileHost(
  6204. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6205. 'online_detail\\.png" alt="Status',
  6206. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6207. 'unknown_detail\\.png" alt="Status',
  6208. 'optional2--',
  6209. "//a[contains(@href,'relink.us/')]"
  6210. );
  6211. }
  6212. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6213. {
  6214. addFileHost(
  6215. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6216. 'div id="dl"',
  6217. 'Sie haben den Link falsch',
  6218. 'optional--',
  6219. 'optional2--',
  6220. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6221. );
  6222. }
  6223. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6224. {
  6225. addFileHost(
  6226. "flyfiles\\.net\/\\w+",
  6227. 'download_button"|"Download file"',
  6228. 'File not found!|Файл не найден',
  6229. 'optional--',
  6230. 'optional2--',
  6231. "//a[contains(@href,'flyfiles.net/')]"
  6232. );
  6233. }
  6234. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6235. {
  6236. addFileHost(
  6237. "wikiupload\\.com\/\\w+",
  6238. 'download-button">',
  6239. 'Sorry, File not found',
  6240. 'optional--',
  6241. 'optional2--',
  6242. "//a[contains(@href,'wikiupload.com/')]"
  6243. );
  6244. }
  6245. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6246. {
  6247. addFileHost(
  6248. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6249. 'file\\.php">|Pobierz Plik',
  6250. 'Podany plik nie zosta',
  6251. 'optional--',
  6252. 'optional2--',
  6253. "//a[contains(@href,'hostuje.net/file')]"
  6254. );
  6255. }
  6256. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6257. {
  6258. addFileHost(
  6259. "gettyfile\\.ru\/\\d+",
  6260. 'download\\.gif border',
  6261. '<center><font size="3">',
  6262. 'optional--',
  6263. 'optional2--',
  6264. "//a[contains(@href,'gettyfile.ru/')]"
  6265. );
  6266. }
  6267. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6268. {
  6269. addFileHost(
  6270. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6271. 'download\\-file">',
  6272. 'col-1">\\s*<h1>',
  6273. 'optional--',
  6274. 'optional2--',
  6275. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6276. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6277. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6278. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6279. );
  6280. }
  6281. if (GM_getValue("Check_data_dot_hu_links", false))
  6282. {
  6283. addFileHost(
  6284. "data\\.hu",
  6285. 'download_box_button|Lassú letöltés',
  6286. 'missing\\.php|Az adott fájl nem létezik',
  6287. 'optional--',
  6288. 'optional2--',
  6289. "//a[contains(@href,'data.hu')]",
  6290. true
  6291. );
  6292. }
  6293. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6294. {
  6295. addFileHost(
  6296. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6297. 'premiumBtn"',
  6298. 'errorMessage"',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'indowebster.com/download')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_superload_dot_cz_links", false))
  6305. {
  6306. addFileHost(
  6307. "superload\\.cz\/dl\/\\w+",
  6308. 'icon-download">',
  6309. 'soubor nebyl nalezen',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'superload.cz/dl')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6316. {
  6317. addFileHost(
  6318. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6319. 'op" value="download',
  6320. 'class="err">|width:500px;text-align:left;">',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'hulkfile.')]"
  6324. );
  6325. }
  6326. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6327. {
  6328. addFileHost(
  6329. "easybytez\\.com\/\\w+",
  6330. 'op" value="download',
  6331. 'stop_error\\.gif',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'easybytez.com/')]"
  6335. );
  6336. }
  6337. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6338. {
  6339. addFileHost(
  6340. "filestore\\.com\\.ua\/\\?d=\\w+",
  6341. 'tdrow1>',
  6342. 'class=warn',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6346. );
  6347. }
  6348. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6349. {
  6350. addFileHost(
  6351. "openfile\\.ru\/(?:video\/|)\\d+",
  6352. 'videobox_left">',
  6353. 'blog_title">|not found on this server',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'openfile.ru/')]"
  6357. );
  6358. }*/
  6359. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6360. {
  6361. addFileHost(
  6362. "extmatrix\\.com\/files\/\\w+",
  6363. 'div class="success"',
  6364. 'div class="error"',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'extmatrix.com/files')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6371. {
  6372. addFileHost(
  6373. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6374. 'content_lnkDownload',
  6375. 'error\\.aspx\\?',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6382. {
  6383. addFileHost(
  6384. "yourfilestore\\.com\/download\/\\d+\/",
  6385. 'download_data">',
  6386. 'may have been deleted|<h1>Sorry!<\/h1>',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'yourfilestore.com/download')]"
  6390. );
  6391. }
  6392. if (GM_getValue("Check_filebig_dot_net_links", false))
  6393. {
  6394. addFileHost(
  6395. "filebig\\.net\/files\/\\w+",
  6396. 'downloadFile">',
  6397. '<p>File not found<\/p>',
  6398. 'optional--',
  6399. 'optional2--',
  6400. "//a[contains(@href,'filebig.net/files')]"
  6401. );
  6402. }
  6403. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6404. {
  6405. addFileHost(
  6406. "files\\.filefront\\.com\/\/;\\d+;;",
  6407. 'downloadLink">',
  6408. 'File not found, you',
  6409. 'optional--',
  6410. 'optional2--',
  6411. "//a[contains(@href,'files.filefront.com')]"
  6412. );
  6413.  
  6414. addFileHost(
  6415. "gamefront\\.com\/files\/\\d+",
  6416. 'downloadLink">',
  6417. 'File not found, you',
  6418. 'optional--',
  6419. 'optional2--',
  6420. "//a[contains(@href,'gamefront.com/files')]"
  6421. );
  6422. }
  6423. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6424. {
  6425. addFileHost(
  6426. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6427. 'dnlLnk"',
  6428. 'already been deleted',
  6429. 'optional--',
  6430. 'optional2--',
  6431. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6432. );
  6433. }
  6434. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6435. {
  6436. addFileHost(
  6437. "hellupload\\.com\/\\w+",
  6438. '<h3>Download File<br',
  6439. 'id="podstrona">|AVOID_IE_BUG',
  6440. 'optional--',
  6441. 'optional2--',
  6442. "//a[contains(@href,'hellupload.com/')]"
  6443. );
  6444. }
  6445. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6446. {
  6447. addFileHost(
  6448. "free\\-uploading\\.com\/\\w+",
  6449. 'op" value="download',
  6450. 'class="err">|width:500px;text-align:left;">',
  6451. 'optional--',
  6452. 'optional2--',
  6453. "//a[contains(@href,'free-uploading.com/')]"
  6454. );
  6455. }
  6456. if (GM_getValue("Check_fileape_dot_com_links", false))
  6457. {
  6458. addFileHost(
  6459. "fileape\\.com\/download\\-",
  6460. 'button_dl\\.png',
  6461. 'does not exist\\.',
  6462. 'optional--',
  6463. 'optional2--',
  6464. "//a[contains(@href,'fileape.com/')]"
  6465. );
  6466. }
  6467. if (GM_getValue("Check_uppit_dot_com_links", false))
  6468. {
  6469. addFileHost(
  6470. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6471. 'op" value="download',
  6472. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6476. true
  6477. );
  6478. }
  6479. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6480. {
  6481. addFileHost(
  6482. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6483. 'op" value="download',
  6484. '>File Not Found<',
  6485. 'optional--',
  6486. 'optional2--',
  6487. "//a[contains(@href,'nosupload.com')]",
  6488. true
  6489. );
  6490. }
  6491. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6492. {
  6493. addFileHost(
  6494. "filesin\\.com\/\\w+\/download\\.html",
  6495. 'download_area">',
  6496. 'error_note">',
  6497. 'optional--',
  6498. 'optional2--',
  6499. "//a[contains(@href,'filesin.com/')]",
  6500. true
  6501. );
  6502. }*/
  6503. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6504. {
  6505. addFileHost(
  6506. "nowdownload\\.ch\/dl\/\\w+",
  6507. 'alert-success"',
  6508. 'This file does not exist!',
  6509. 'The file is being transfered',
  6510. 'optional2--',
  6511. "//a[contains(@href,'nowdownload.ch/dl')]"
  6512. );
  6513. }*/
  6514. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6515. {
  6516. addFileHost(
  6517. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6518. 'Dbutton_big"',
  6519. 'download\\-error\\.php',
  6520. 'optional--',
  6521. 'optional2--',
  6522. "//a[contains(@href,'axifile.com/')]"
  6523. );
  6524. }*/
  6525. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6526. {
  6527. addFileHost(
  6528. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6529. 'col-1">\\s*<s',
  6530. 'col-1">\\s*<h',
  6531. 'optional--',
  6532. 'optional2--',
  6533. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6534. );
  6535. }
  6536. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6537. {
  6538. addFileHost(
  6539. "turbobit\\.(?:net|pl)",
  6540. 'id="download-gate-info|id="file-list',
  6541. 'afterWait()|no files in this folder',
  6542. 'optional--',
  6543. 'optional2--',
  6544. "//a[contains(@href,'turbobit.net')]"
  6545. );
  6546. }
  6547. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6548. {
  6549. addFileHost(
  6550. "hitfile\\.net\/download\/folder\/\\d+",
  6551. 'content">\\s*<s',
  6552. 'content">\\s*<h',
  6553. 'optional--',
  6554. 'optional2--',
  6555. "//a[contains(@href,'hitfile.net/download/folder')]"
  6556. );
  6557. }
  6558. if (GM_getValue("Check_movshare_dot_net_links", false))
  6559. {
  6560. addFileHost(
  6561. "movshare\\.net\\/video\\/\\w+",
  6562. 'optional--"',
  6563. 'no longer exists',
  6564. 'optional--',
  6565. 'optional2--',
  6566. "//a[contains(@href,'movshare.net/video')]"
  6567. );
  6568. }
  6569. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6570. {
  6571. addFileHost(
  6572. "mafiastorage\\.com\/\\w+",
  6573. 'op" value="download',
  6574. 'class="err">|style="width:500px;text-align:left;"',
  6575. 'optional--',
  6576. 'optional2--',
  6577. "//a[contains(@href,'mafiastorage.com/')]"
  6578. );
  6579. }
  6580. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6581. {
  6582. addFileHost(
  6583. "uploadingit\\.com\/file\/\\w+",
  6584. 'downloadTitle">',
  6585. 'deleteContent">',
  6586. 'optional--',
  6587. 'optional2--',
  6588. "//a[contains(@href,'uploadingit.com/file')]"
  6589. );
  6590. }*/
  6591. if (GM_getValue("Check_rghost_dot_net_links", false))
  6592. {
  6593. addFileHost(
  6594. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6595. 'download_link|btn large download',
  6596. 'file is restricted|File is deleted|503 Service Unavailable',
  6597. 'optional--',
  6598. 'optional2--',
  6599. "//a[contains(@href,'rghost.')]"
  6600. );
  6601. }
  6602. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6603. {
  6604. addFileHost(
  6605. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6606. '">Staženo:\\s*<\/span>',
  6607. 'Soubor, který hledáte nenalezen',
  6608. 'optional--',
  6609. 'optional2--',
  6610. "//a[contains(@href,'xdisk.cz/')]"
  6611. );
  6612. }
  6613. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6614. {
  6615. addFileHost(
  6616. "2downloadz\.com\/\\w+",
  6617. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6618. 'color="#006DCC|File error',
  6619. 'optional--',
  6620. 'optional2--',
  6621. "//a[contains(@href,'2downloadz.com')]");
  6622. }
  6623. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6624. {
  6625. addFileHost(
  6626. "mightyupload\.com\/\\w+",
  6627. 'background:#ccc;text-align|CONTENT="Download File"',
  6628. 'style="background:#eee|var rr =|File Not Found',
  6629. 'error-code">1010',
  6630. 'optional2--',
  6631. "//a[contains(@href,'mightyupload.com')]");
  6632. }
  6633. if (GM_getValue("Check_anysend_dot_com_links", false))
  6634. {
  6635. addFileHost(
  6636. "anysend\.com\/\\w+",
  6637. 'var openCalled=false;|content="noindex"',
  6638. '_trackPageview',
  6639. 'optional--',
  6640. 'optional2--',
  6641. "//a[contains(@href,'anysend.com')]");
  6642. }
  6643. if (GM_getValue("Check_datafile_dot_com_links", false))
  6644. {
  6645. addFileHost(
  6646. "datafile\.com\/\\w+",
  6647. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6648. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6649. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6650. '; 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">
  6651. "//a[contains(@href,'datafile.com')]",
  6652. true);
  6653. }
  6654. if (GM_getValue("Check_upstore_dot_net_links", false))
  6655. {
  6656. addFileHost(
  6657. "upstore\.net\/\\w+",
  6658. 'name="free"',
  6659. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6660. 'optional--',
  6661. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6662. "//a[contains(@href,'upstore.net')]");
  6663. }
  6664. if (GM_getValue("Check_upsto_dot_re_links", false))
  6665. {
  6666. addFileHost(
  6667. "upsto\.re\/\\w+",
  6668. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6669. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6670. 'optional--',
  6671. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6672. "//a[contains(@href,'upsto.re')]");
  6673. }
  6674. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6675. {
  6676. addFileHost(
  6677. "speedy\.sh\/\\w+",
  6678. 'bgcolor=#eeeeee|class="addthis',
  6679. 'File not found|downloadfilenamenotfound>',
  6680. 'optional--',
  6681. 'optional2--',
  6682. "//a[contains(@href,'speedy.sh')]");
  6683. }
  6684. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6685. {
  6686. addFileHost(
  6687. "kingfiles\.net\/\\w+",
  6688. 'method_free|images/loading_small.gif"',
  6689. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6690. 'optional--',
  6691. 'optional2--',
  6692. "//a[contains(@href,'kingfiles.net')]");
  6693. }
  6694. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6695. {
  6696. addFileHost(
  6697. "secureupload\\.eu\/\\w+",
  6698. 'Downloading',
  6699. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6700. 'optional--',
  6701. 'optional2--',
  6702. "//a[contains(@href,'secureupload.eu')]"
  6703. );
  6704. } */
  6705. if (GM_getValue("Check_ge_dot_tt_links", false))
  6706. {
  6707. addFileHost(
  6708. "ge\.tt\/\\w+",
  6709. 'downloads pic',
  6710. 'is NOT the same as',
  6711. 'optional--',
  6712. 'optional2--',
  6713. "//a[contains(@href,'ge.tt')]");
  6714. }
  6715. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6716. {
  6717. addFileHost(
  6718. "filefactory\\.com\/file\/\\w+",
  6719. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6720. '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">',
  6721. 'Server Maintenance|temporarily overloaded',
  6722. 'Premium Account Required',
  6723. "//a[contains(@href,'filefactory.com/file')]");
  6724. } */
  6725. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6726. {
  6727. addFileHost(
  6728. "filesflash\.net\/\\w+",
  6729. 'align:right">Filename:',
  6730. 'class="msg">',
  6731. 'optional--',
  6732. 'optional2--',
  6733. "//a[contains(@href,'filesflash.net')]");
  6734. }
  6735. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6736. {
  6737. addFileHost(
  6738. "rapidgator\\.net\/folder\/\\w+",
  6739. 'href="/folder/',
  6740. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6741. 'optional--',
  6742. 'optional2--',
  6743. "//a[contains(@href,'rapidgator.net/folder')]",
  6744. true
  6745. );
  6746. }
  6747. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6748. {
  6749. addFileHost(
  6750. "salefiles\.com\/\\w+",
  6751. 'name="method_free',
  6752. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6753. 'optional--',
  6754. 'optional2--',
  6755. "//a[contains(@href,'salefiles.com')]");
  6756. }
  6757. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6758. {
  6759. addFileHost(
  6760. "datoid\.cz\/\\w+",
  6761. 'btn-download|class="icon-download-large"',
  6762. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6763. 'optional--',
  6764. 'optional2--',
  6765. "//a[contains(@href,'datoid.cz')]");
  6766. }
  6767. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6768. {
  6769. addFileHost(
  6770. "stiahni\.si\/\\w+",
  6771. 'report_icon.png"|slow-download-button',
  6772. 'none.png|deleted|<h2>Error 500</h2>',
  6773. 'optional--',
  6774. 'optional2--',
  6775. "//a[contains(@href,'stiahni.si')]");
  6776. }
  6777. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6778. {
  6779. addFileHost(
  6780. "cloudstor\.es\/\\w+",
  6781. '"btn_download"',
  6782. '404: Page Not Found',
  6783. 'optional--',
  6784. 'optional2--',
  6785. "//a[contains(@href,'cloudstor.es')]");
  6786. }
  6787. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6788. {
  6789. addFileHost(
  6790. "streamfile\.com\/\\w+",
  6791. 'class="btn',
  6792. 'class="green-btn',
  6793. 'optional--',
  6794. 'optional2--',
  6795. "//a[contains(@href,'streamfile.com')]");
  6796. }
  6797. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6798. {
  6799. addFileHost(
  6800. "eyesfile\.ca\/\\w+",
  6801. 'value="Get Link',
  6802. 'var rr =',
  6803. 'optional--',
  6804. 'optional2--',
  6805. "//a[contains(@href,'eyesfile.ca')]");
  6806. }
  6807. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6808. {
  6809. addFileHost(
  6810. "filemoney\.com\/\\w+",
  6811. 'og:title',
  6812. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6813. 'error-code">1010',
  6814. 'optional2--',
  6815. "//a[contains(@href,'filemoney.com')]");
  6816. }
  6817. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6818. {
  6819. addFileHost(
  6820. "uploadboy\.com\/\\w+",
  6821. 'width="740">|method_free',
  6822. 'var rr =|background:#ffffff|not be found|file was removed',
  6823. 'optional--',
  6824. 'optional2--',
  6825. "//a[contains(@href,'uploadboy.com')]");
  6826. }
  6827. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6828. {
  6829. addFileHost(
  6830. "uploadboy\.com\/\\w+",
  6831. 'width="740">|method_free',
  6832. 'var rr =|background:#ffffff|not be found|file was removed',
  6833. 'optional--',
  6834. 'optional2--',
  6835. "//a[contains(@href,'uploadboy.me')]");
  6836. }
  6837. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6838. {
  6839. addFileHost(
  6840. "speedshare\.eu\/\\w+",
  6841. 'favicon.png|color:#3d87c0|cross.png"',
  6842. 'var rr =|File Not Found|style="background:#eee',
  6843. 'optional--',
  6844. 'optional2--',
  6845. "//a[contains(@href,'speedshare.eu')]");
  6846. }
  6847. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "unlimitzone\.com\/\\w+",
  6851. 'name="method_free',
  6852. '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',
  6853. 'optional--',
  6854. 'optional2--',
  6855. "//a[contains(@href,'unlimitzone.com')]");
  6856. }
  6857. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6858. {
  6859. addFileHost(
  6860. "rioupload\.com\/\\w+",
  6861. 'sell.jpg',
  6862. 'var rr =',
  6863. 'optional--',
  6864. 'optional2--',
  6865. "//a[contains(@href,'rioupload.com')]");
  6866. }
  6867. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6868. {
  6869. addFileHost(
  6870. "jumbofiles\.org\/\\w+",
  6871. 'H71C5.png|class="downloadtitle">',
  6872. 'var swfu|ViewSourceBIN.png',
  6873. 'optional--',
  6874. 'optional2--',
  6875. "//a[contains(@href,'jumbofiles.org')]");
  6876. }
  6877. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6878. {
  6879. addFileHost(
  6880. "fshare\\.vn\/file\/\\w+",
  6881. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6882. 'không tồn tại|class="color_red m_t_50"',
  6883. 'optional--',
  6884. 'optional2--',
  6885. "//a[contains(@href,'fshare.vn/file')]",
  6886. true
  6887. );
  6888. }
  6889. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6890. {
  6891. addFileHost(
  6892. "spaceforfiles\.com\/\\w+",
  6893. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6894. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6895. 'optional--',
  6896. 'optional2--',
  6897. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6898. }
  6899. if (GM_getValue("Check_google_dot_com_links", false))
  6900. {
  6901. addFileHost(
  6902. "google\\.com\/file\/\\w+",
  6903. 'content="!">|color:#2d2d2d',
  6904. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'google.com/file')]",
  6908. true
  6909. );
  6910. }
  6911. if (GM_getValue("Check_google_dot_com_links", false))
  6912. {
  6913. addFileHost(
  6914. "docs.google.com\/\\w+",
  6915. 'content="!">|color:#2d2d2d',
  6916. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6917. 'optional--',
  6918. 'optional2--',
  6919. "//a[contains(@href,'docs.google.com')]",
  6920. true
  6921. );
  6922. }
  6923. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6924. {
  6925. addFileHost(
  6926. "drive.google.com\/\\w+",
  6927. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6928. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6929. 'optional--',
  6930. 'optional2--',
  6931. "//a[contains(@href,'drive.google.com')]",
  6932. true
  6933. );
  6934. }
  6935. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6936. {
  6937. addFileHost(
  6938. "up.media1fire\.com\/\\w+",
  6939. 'class="addthis_|value="download',
  6940. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6941. 'optional--',
  6942. 'optional2--',
  6943. "//a[contains(@href,'up.media1fire.com')]");
  6944. }
  6945. if (GM_getValue("Check_depfile_dot_com_links", false))
  6946. {
  6947. addFileHost(
  6948. "depfile\.com\/\\w+",
  6949. 'logo_0.png|downloads.gif"|verifycode',
  6950. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6951. 'optional--',
  6952. 'available only for Premium users',
  6953. "//a[contains(@href,'depfile.com')]");
  6954. }
  6955. if (GM_getValue("Check_go4up_dot_com_links", false))
  6956. {
  6957. addFileHost(
  6958. "go4up\.com\/\\w+",
  6959. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6960. '<title>GO4UP|dmca',
  6961. 'optional--',
  6962. 'optional2--',
  6963. "//a[contains(@href,'go4up.com')]");
  6964. }
  6965. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6966. {
  6967. addFileHost(
  6968. "redbunker\.net\/\\w+",
  6969. 'name="method_free"',
  6970. 'color="red">Unknow / Bilinmiyor<',
  6971. 'optional--',
  6972. '2.3 GB',
  6973. "//a[contains(@href,'redbunker.net')]");
  6974. }
  6975. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6976. {
  6977. addFileHost(
  6978. "divxpress\.com\/\\w+",
  6979. 'btn_download|logo.png"',
  6980. 'AVOID_IE_BUG|var rr =',
  6981. 'optional--',
  6982. 'optional2--',
  6983. "//a[contains(@href,'divxpress.com')]");
  6984. }
  6985. if (GM_getValue("Check_anafile_dot_com_links", false))
  6986. {
  6987. addFileHost(
  6988. "anafile\.com\/\\w+",
  6989. 'width="881" valign="top|color="#800080"|name="go"',
  6990. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6991. 'optional--',
  6992. 'optional2--',
  6993. "//a[contains(@href,'anafile.com')]");
  6994. }
  6995. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6996. {
  6997. addFileHost(
  6998. "uploadable\\.ch\/file\/\\w+",
  6999. 'captcha.js"|payment.js"|class="btn_download"',
  7000. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'uploadable.ch/file')]",
  7004. true
  7005. );
  7006. }
  7007. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7008. {
  7009. addFileHost(
  7010. "bigfile\\.to\/file\/\\w+",
  7011. 'captcha.js"|payment.js"|class="btn_download"',
  7012. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7013. 'optional--',
  7014. 'optional2--',
  7015. "//a[contains(@href,'bigfile.to/file')]",
  7016. true
  7017. );
  7018. }
  7019. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7020. {
  7021. addFileHost(
  7022. "arabloads\.net\/\\w+",
  7023. 'name="method_free"|name="method_premium"',
  7024. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7025. 'optional--',
  7026. 'optional2--',
  7027. "//a[contains(@href,'arabloads.net')]");
  7028. }
  7029. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7030. {
  7031. addFileHost(
  7032. "sharerepo\.com\/\\w+",
  7033. 'name="method_free"',
  7034. 'var public_on=|The file you were looking for could not be found',
  7035. 'optional--',
  7036. 'optional2--',
  7037. "//a[contains(@href,'sharerepo.com')]");
  7038. }
  7039. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7040. {
  7041. addFileHost(
  7042. "sfshare\.se\/\\w+",
  7043. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7044. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7045. 'optional--',
  7046. 'optional2--',
  7047. "//a[contains(@href,'sfshare.se')]");
  7048. }
  7049. if (GM_getValue("Check_files_dot_fm_links", false))
  7050. {
  7051. addFileHost(
  7052. "files\.fm\/\\w+",
  7053. 'dl.png"|background-color: transparent',
  7054. 'margin: 40px 40px|background: none;',
  7055. 'optional--',
  7056. 'optional2--',
  7057. "//a[contains(@href,'files.fm')]");
  7058. }
  7059. if (GM_getValue("Check_koofile_dot_com_links", false))
  7060. {
  7061. addFileHost(
  7062. "koofile\.com\/\\w+",
  7063. 'value="download1">|name="method_free"',
  7064. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7065. 'optional--',
  7066. 'optional2--',
  7067. "//a[contains(@href,'koofile.com')]");
  7068. }
  7069. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7070. {
  7071. addFileHost(
  7072. "vidxden\\.com\/\\w+",
  7073. 'Continue to Video"',
  7074. 'No such file',
  7075. 'optional--',
  7076. 'optional2--',
  7077. "//a[contains(@href,'vidxden.com')]"
  7078. );
  7079. }*/
  7080. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7081. {
  7082. addFileHost(
  7083. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7084. 'Details zur Datei|Details page',
  7085. 'Jetzt hochladen|upload now',
  7086. 'optional--',
  7087. 'optional2--',
  7088. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7089. );
  7090. }
  7091. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7092. {
  7093. addFileHost(
  7094. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7095. 'downloadbtn"',
  7096. 'DL_FileNotFound',
  7097. 'optional--',
  7098. 'optional2--',
  7099. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7100. );
  7101. }
  7102. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7103. {
  7104. addFileHost(
  7105. "fileflyer\.com\/view\/\\w+",
  7106. '(?:dwl|locked)btn"',
  7107. 'error.gif"|link">Removed|removedlink">',
  7108. 'optional--',
  7109. 'optional2--',
  7110. "//a[contains(@href,'fileflyer.com')]"
  7111. );
  7112. }
  7113. if (GM_getValue("Check_filestore_dot_to_links", false))
  7114. {
  7115. addFileHost(
  7116. "filestore\.to\/\\?d=\\w+",
  7117. '"downloading"',
  7118. 'Datei wurde nicht gefunden',
  7119. 'optional--',
  7120. 'optional2--',
  7121. "//a[contains(@href,'filestore.to')]"
  7122. );
  7123. }
  7124. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7125. {
  7126. addFileHost(
  7127. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7128. 'fz24">Download|class="pl15">',
  7129. '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',
  7130. 'optional--',
  7131. 'optional2--',
  7132. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7133. );
  7134. }
  7135. if (GM_getValue("Check_datei_dot_to_links", false))
  7136. {
  7137. addFileHost(
  7138. "datei\\.to\/\\??\\w+",
  7139. 'icon_downloaden\\.png|>Download starten<',
  7140. 'Datei wurde nicht gefunden|icon_deleted.png',
  7141. 'optional--',
  7142. 'optional2--',
  7143. "//a[contains(@href,'datei.to')]"
  7144. );
  7145. }
  7146. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7147. {
  7148. addFileHost(
  7149. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7150. '<body class="body" id="body">|value="Slow Download"',
  7151. '<body class="body" >',
  7152. 'optional--',
  7153. 'optional2--',
  7154. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7155. );
  7156. }
  7157. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7158. {
  7159. addFileHost(
  7160. "unibytes\\.com\/[\\w\.]+",
  7161. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7162. 'File not found|Файл не найден|',
  7163. 'optional--',
  7164. 'optional2--',
  7165. "//a[contains(@href,'unibytes.com')]"
  7166. );
  7167. }
  7168. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7169. {
  7170. addFileHost(
  7171. "www\\.hellshare\\.com\/\\d+",
  7172. 'tab\\-details"',
  7173. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7174. 'optional--',
  7175. 'optional2--',
  7176. "//a[contains(@href,'www.hellshare.com')]"
  7177. );
  7178. }
  7179. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7180. {
  7181. addFileHost(
  7182. "www\\.download.cz.hellshare\\.com\/\\w+",
  7183. 'tab\\-details"',
  7184. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7185. 'optional--',
  7186. 'optional2--',
  7187. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7188. );
  7189. }
  7190. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7191. {
  7192. addFileHost(
  7193. "filefactory\\.com",
  7194. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7195. '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',
  7196. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7197. 'Premium Account Required',
  7198. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7199. );
  7200. }
  7201. if (GM_getValue("Check_load_dot_to_links", false))
  7202. {
  7203. addFileHost(
  7204. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7205. '"download_table_left">Size',
  7206. 'Can\'t find file',
  7207. 'optional--',
  7208. 'optional2--',
  7209. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7210. );
  7211. }
  7212. if (GM_getValue("Check_divshare_dot_com_links", false))
  7213. {
  7214. addFileHost(
  7215. "divshare\\.com\/download\/",
  7216. 'download_new\.png',
  7217. 'have been removed',
  7218. 'optional--',
  7219. 'optional2--',
  7220. "//a[contains(@href,'divshare.com')]"
  7221. );
  7222. }
  7223. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7224. {
  7225. addFileHost(
  7226. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7227. 'download=true"',
  7228. '<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>',
  7229. 'optional--',
  7230. 'optional2--',
  7231. "//a[contains(@href,'euroshare.eu/file')]"
  7232. );
  7233. }
  7234. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7235. {
  7236. addFileHost(
  7237. 'files\\.mail\\.ru/(?:\\w*)',
  7238. 'fileList',
  7239. 'errorMessage',
  7240. 'optional--',
  7241. 'optional2--',
  7242. "//a[contains(@href,'files.mail.ru')]"
  7243. );
  7244. }
  7245. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7246. {
  7247. addFileHost(
  7248. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7249. 'Filesize',
  7250. 'Invalid|deleted|Could not download file',
  7251. 'slots|scheduled maintenance',
  7252. 'optional2--',
  7253. "//a[contains(@href,'megashares.com/')]"
  7254. );
  7255. } */
  7256. if (GM_getValue("Check_narod_dot_ru_links", false))
  7257. {
  7258. addFileHost(
  7259. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7260. 'b-submit|action="resource.download"',
  7261. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7262. 'Внутренняя ошибка сервиса',
  7263. 'optional2--',
  7264. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7265. );
  7266. }
  7267. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7268. {
  7269. addFileHost(
  7270. "rayfile\\.com\/",
  7271. 'FILEtitleTXT',
  7272. 'blueRow',
  7273. 'optional--',
  7274. 'optional2--',
  7275. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7276. );
  7277. }
  7278. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7279. {
  7280. addFileHost(
  7281. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7282. 'button_green_body"',
  7283. 'error">',
  7284. 'optional--',
  7285. 'optional2--',
  7286. "//a[contains(@href,'filesmonster.com/download')]"
  7287. );
  7288. }
  7289. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7290. {
  7291. addFileHost(
  7292. 'usaupload\\.net\/d\/(?:\w*)',
  7293. '<strong>File size:</strong>',
  7294. 'is not available',
  7295. 'optional--',
  7296. 'optional2--',
  7297. "//a[contains(@href,'usaupload.net/d/')]"
  7298. );
  7299. }
  7300. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7301. {
  7302. addFileHost(
  7303. 'sendspace\\.com\/file\/\\w+',
  7304. 'file_description',
  7305. 'msg error"',
  7306. 'optional--',
  7307. 'optional2--',
  7308. "//a[contains(@href,'sendspace.com/file')]"
  7309. );
  7310. }
  7311. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7312. {
  7313. addFileHost(
  7314. 'sendspace\\.pl\/file\/\\w+',
  7315. 'download_file"',
  7316. 'Podany plik nie',
  7317. 'optional--',
  7318. 'optional2--',
  7319. "//a[contains(@href,'sendspace.pl/file')]"
  7320. );
  7321. }
  7322. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7323. {
  7324. addFileHost(
  7325. 'uploading\\.com\/(?:files\/)?\\w+',
  7326. 'free_method">',
  7327. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7328. 'optional--',
  7329. 'optional2--',
  7330. "//a[contains(@href,'uploading.com')]"
  7331. );
  7332. } */
  7333. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7334. {
  7335. addFileHost(
  7336. "gigasize\.com\/\\w+",
  7337. 'fileId"|class="estimate">',
  7338. 'error">',
  7339. 'optional--',
  7340. 'optional2--',
  7341. "//a[contains(@href,'gigasize.com/get')]"
  7342. );
  7343. }
  7344. if (GM_getValue("Check_good_dot_com_links", false))
  7345. {
  7346. addFileHost(
  7347. 'good\\.net\/(?:_|dl)',
  7348. 'Free Download',
  7349. 'Not Found',
  7350. 'Forbidden',
  7351. 'optional2--',
  7352. "//a[contains(@href,'good.net')]"
  7353. );
  7354. }
  7355. if (GM_getValue("Check_2shared_dot_com_links", false))
  7356. {
  7357. addFileHost(
  7358. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7359. 'File size',
  7360. 'File not found|is not valid|/images/important.gif',
  7361. 'optional--',
  7362. 'optional2--',
  7363. // "//a[contains(@href,'2shared.com')]"
  7364. "//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/')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. 'turboupload\\.com\/\\w*',
  7371. 'You have requested',
  7372. 'File Not Found',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'turboupload.com')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7379. {
  7380. addFileHost(
  7381. 'gigapeta\\.com\/dl\/',
  7382. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7383. '404|page_error',
  7384. 'optional--',
  7385. 'optional2--',
  7386. "//a[contains(@href,'gigapeta.com/dl')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_veehd_dot_com_links", false))
  7390. {
  7391. addFileHost(
  7392. 'veehd\.com\/video\/.*?',
  7393. 'No sound|Download video',
  7394. 'Featured Videos',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7398. );
  7399. }
  7400. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7401. {
  7402. addFileHost(
  7403. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7404. 'fast_download_form">|submit_sms_download',
  7405. '<p style="text-align:center">',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'vip-file.com/download')]"
  7409. );
  7410. }
  7411. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7412. {
  7413. addFileHost(
  7414. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7415. 'download\\-pnl ',
  7416. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'letitbit.net/download')]"
  7420. );
  7421. }*/
  7422. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7423. {
  7424. addFileHost(
  7425. 'ifolder\.ru\/\\d+',
  7426. 'file-info',
  7427. 'ui-state-error',
  7428. 'optional--',
  7429. 'optional2--',
  7430. "//a[contains(@href,'ifolder.ru')]"
  7431. );
  7432. }
  7433. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7434. {
  7435. addFileHost(
  7436. 'fileswap\\.com\/dl\/\\w+',
  7437. 'bttnDownloadLink"',
  7438. 'rounded_block_error"',
  7439. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7440. 'optional2--',
  7441. "//a[contains(@href,'fileswap.com/dl')]"
  7442. );
  7443. }*/
  7444. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7445. {
  7446. addFileHost(
  7447. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7448. 'var __error = 0|id="recaptchaPanel">',
  7449. 'FILES__DOESNT_EXIST|removed or did not exist',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'filecloud.io/')]"
  7453. );
  7454. addFileHost(
  7455. 'ifile\\.it\/\\w+',
  7456. 'var __error = 0',
  7457. 'FILES__DOESNT_EXIST',
  7458. 'optional--',
  7459. 'optional2--',
  7460. "//a[contains(@href,'ifile.it/')]"
  7461. );
  7462. }
  7463. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7464. {
  7465. addFileHost(
  7466. 'solidfiles\\.com\/\\w+',
  7467. 'id="download"|content="Download',
  7468. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7469. 'optional--',
  7470. 'optional2--',
  7471. "//a[contains(@href,'solidfiles.com/')]"
  7472. );
  7473. }
  7474. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7475. {
  7476. addFileHost(
  7477. "(?:.\\.|)shareflare\\.net",
  7478. 'download-pnl|<div class="premium-block">',
  7479. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7480. 'optional--',
  7481. 'optional2--',
  7482. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7483. );
  7484. }
  7485. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7486. {
  7487. addFileHost(
  7488. "u18116681.shareflare\\.net",
  7489. 'download-pnl|<div class="premium-block">',
  7490. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7491. 'optional--',
  7492. 'optional2--',
  7493. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7494. );
  7495. }
  7496. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7497. {
  7498. addFileHost(
  7499. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7500. 'file\\-list-orderby|section-filedetail">',
  7501. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7502. 'optional--',
  7503. 'optional2--',
  7504. "//a[contains(@href,'hellspy.')]"
  7505. );
  7506. }
  7507. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7508. {
  7509. addFileHost(
  7510. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7511. '<body onload="">',
  7512. 'neexistuje|not exist',
  7513. 'optional--',
  7514. 'optional2--',
  7515. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7516. );
  7517. }
  7518. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7519. {
  7520. addFileHost(
  7521. "stahovanizasms\\.cz\/\\w+",
  7522. 'download\\.png>|font-size:11px><tr>',
  7523. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7524. 'optional--',
  7525. 'optional2--',
  7526. "//a[contains(@href,'stahovanizasms.cz')]"
  7527. );
  7528. }
  7529. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7530. {
  7531. addFileHost(
  7532. "share-links\\.biz\/\\w*",
  7533. 'online\\.gif',
  7534. '(?:offline|parts)\\.gif',
  7535. 'optional--',
  7536. 'optional2--',
  7537. "//a[contains(@href,'share-links.biz')]"
  7538. );
  7539. }
  7540. if (GM_getValue("Check_4shared_dot_com_links", false))
  7541. {
  7542. addFileHost(
  7543. "4shared\\.com\/.+\/",
  7544. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7545. 'class="warn\"|big red"|GetDataBack',
  7546. 'Service Unavailable',
  7547. 'optional2--',
  7548. "//a[contains(@href,'4shared.com')]"
  7549. );
  7550. }
  7551. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7552. {
  7553. addFileHost(
  7554. "(?:www\\d+\.|)zippyshare\.com\/",
  7555. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7556. 'not exist|Status 404',
  7557. 'optional--',
  7558. 'optional2--',
  7559. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7560. );
  7561. }
  7562. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7563. {
  7564. addFileHost(
  7565. "mediafire\.com\/",
  7566. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7567. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7568. 'set to private',
  7569. 'optional2--',
  7570. "//a[contains(@href,'mediafire.com')]"
  7571. );
  7572. }
  7573. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7574. {
  7575. addFileHost(
  7576. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7577. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7578. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7579. 'optional--',
  7580. 'GB</small>',
  7581. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7582. );
  7583. }
  7584. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7585. {
  7586. addFileHost(
  7587. "ulozisko\.sk\/",
  7588. 'Detaily',
  7589. 'neexistuje',
  7590. 'optional--',
  7591. 'optional2--',
  7592. "//a[contains(@href,'ulozisko.sk')]"
  7593. );
  7594. }
  7595. if (GM_getValue("Check_box_dot_com_links", false))
  7596. {
  7597. addFileHost(
  7598. "box\.com\/\\w+",
  7599. 'download-file-btn|id="download_button|preview-download',
  7600. 'BIyMin.png| <div class="error_message|link has been removed',
  7601. 'optional--',
  7602. 'optional2--',
  7603. "//a[contains(@href,'app.box.com')]");
  7604. }
  7605. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7606. {
  7607. addFileHost(
  7608. "uptobox\\.com\/\\w+",
  7609. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7610. '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|لا يوجد أي ملف',
  7611. 'Maintenance',
  7612. 'optional2--',
  7613. "//a[contains(@href,'uptobox.com')]",
  7614. true
  7615. );
  7616. }
  7617. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7618. {
  7619. addFileHost(
  7620. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7621. 'FILE DOWNLOAD<',
  7622. 'File Does Not Exist',
  7623. 'optional--',
  7624. 'optional2--',
  7625. "//a[contains(@href,'sharecash.org/download.php')]"
  7626. );
  7627. }
  7628. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7629. {
  7630. addFileHost(
  7631. "1fichier\\.com\/dir\/\\w+",
  7632. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7633. 'Shared Folder Not Found',
  7634. 'optional--',
  7635. 'optional2--',
  7636. "//a[contains(@href,'1fichier.com/dir')]"
  7637. );
  7638. }
  7639. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7640. {
  7641. addFileHost(
  7642. "depositfiles\\.com\/folders\/\\w+",
  7643. '<div class="progressContainer">',
  7644. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7645. 'optional--',
  7646. 'optional2--',
  7647. "//a[contains(@href,'depositfiles.com/folders')]"
  7648. );
  7649. }
  7650. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7651. {
  7652. addFileHost(
  7653. "rapidfileshare\\.net/\\w+",
  7654. '<div id="upload-header-bg">',
  7655. '<div style="width:500px;text-align:left;">',
  7656. 'optional--',
  7657. 'optional2--',
  7658. "//a[contains(@href,'rapidfileshare.net/')]"
  7659. );
  7660. }
  7661. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7662. {
  7663. addFileHost(
  7664. "stiahnito\\.sk/",
  7665. '<span class="filesize right">',
  7666. '<ol class="list-purp-2">',
  7667. 'optional--',
  7668. 'optional2--',
  7669. "//a[contains(@href,'stiahnito.sk/')]"
  7670. );
  7671. }
  7672. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7673. {
  7674. addFileHost(
  7675. "rusfolder\\.(?:com|net)",
  7676. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7677. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'rusfolder')]"
  7681. );
  7682. }
  7683. if (GM_getValue("Check_catshare_dot_net_links", false))
  7684. {
  7685. addFileHost(
  7686. "catshare\\.net/\\w+",
  7687. '"icon-share|"col-xs-12',
  7688. 'alert alert-error',
  7689. 'optional--',
  7690. 'optional2--',
  7691. "//a[contains(@href,'catshare.net/')]"
  7692. );
  7693. }
  7694. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7695. {
  7696. addFileHost(
  7697. "anonfiles\\.com/\\w+",
  7698. '"download_button"',
  7699. '<legend><b>404</b>',
  7700. 'optional--',
  7701. 'optional2--',
  7702. "//a[contains(@href,'anonfiles.com')]"
  7703. );
  7704. }*/
  7705. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7706. {
  7707. addFileHost(
  7708. "mixturecloud\\.com/media/\\w+",
  7709. '"btn icon i_globe gray share_150',
  7710. '"s_cross_close"></span> 404:',
  7711. 'optional--',
  7712. 'optional2--',
  7713. "//a[contains(@href,'mixturecloud.com/media/')]"
  7714. );
  7715. }
  7716. if (GM_getValue("Check_akafile_dot_com_links", false))
  7717. {
  7718. addFileHost(
  7719. "akafile\\.com\/\\w+",
  7720. 'download1',
  7721. 'File Not Found',
  7722. 'optional--',
  7723. 'optional2--',
  7724. "//a[contains(@href,'akafile.com/')]"
  7725. );
  7726. }
  7727. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7728. {
  7729. addFileHost(
  7730. "creafile\\.net\/\\w+",
  7731. 'downloadblock',
  7732. 'errtitle',
  7733. 'optional--',
  7734. 'optional2--',
  7735. "//a[contains(@href,'creafile.net/')]"
  7736. );
  7737. }*/
  7738. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7739. {
  7740. addFileHost(
  7741. "hugefiles\\.net\/\\w+",
  7742. 'download1|class="btn-create-download" value="Create Download Link">',
  7743. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'hugefiles.net/')]"
  7747. );
  7748. }*/
  7749. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7750. {
  7751. addFileHost(
  7752. "sendmyway\\.com\/\\w+",
  7753. 'id="btn_download"',
  7754. '500px;text-align:left;"|<center><h3>',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'sendmyway.com/')]"
  7758. );
  7759. }
  7760. if (GM_getValue("Check_upload_dot_ee_links", false))
  7761. {
  7762. addFileHost(
  7763. "upload\\.ee\/\\w+",
  7764. 'onmouseout="document.dllink.src',
  7765. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7766. 'optional--',
  7767. 'optional2--',
  7768. "//a[contains(@href,'upload.ee/')]"
  7769. );
  7770. }
  7771. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7772. {
  7773. addFileHost(
  7774. "shareplace\\.org\/\\?\\w+",
  7775. 'Download-Link',
  7776. 'Your requested file is not found|Select file to send',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'shareplace.org/?')]"
  7780. );
  7781. }
  7782. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7783. {
  7784. addFileHost(
  7785. "uploadc\\.com\/\\w+",
  7786. 'id="prebut"',
  7787. 'File Not Found|This file has been removed due',
  7788. 'optional--',
  7789. 'optional2--',
  7790. "//a[contains(@href,'uploadc.com/')]"
  7791. );
  7792. }
  7793. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7794. {
  7795. addFileHost(
  7796. "uploadc\\.ch\/\\w+",
  7797. 'id="prebut"',
  7798. 'File Not Found|This file has been removed due',
  7799. 'optional--',
  7800. 'optional2--',
  7801. "//a[contains(@href,'uploadc.ch/')]"
  7802. );
  7803. }
  7804. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7805. {
  7806. addFileHost(
  7807. "remixshare\\.com\/\\w+",
  7808. 'id="dl2"',
  7809. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7810. 'optional--',
  7811. 'optional2--',
  7812. "//a[contains(@href,'remixshare.com/')]"
  7813. );
  7814. }*/
  7815. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7816. {
  7817. addFileHost(
  7818. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7819. 'Last Download :',
  7820. 'img src="\\/404.jpg"',
  7821. 'optional--',
  7822. 'optional2--',
  7823. "//a[contains(@href,'exoshare.com/download.php')]"
  7824. );
  7825. }
  7826. if (GM_getValue("Check_borncash_dot_org_links", false))
  7827. {
  7828. addFileHost(
  7829. "borncash\\.org\/download\/\\?a=\\w+",
  7830. 'class="knop_1"',
  7831. '\/error\/er00',
  7832. 'optional--',
  7833. 'optional2--',
  7834. "//a[contains(@href,'borncash.org/download/')]"
  7835. );
  7836. }
  7837. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7838. {
  7839. addFileHost(
  7840. "vidplay\.net\/\\w+",
  7841. 'solvemedia puzzle widget',
  7842. 'File not found|AVOID_IE_BUG',
  7843. 'optional--',
  7844. 'optional2--',
  7845. "//a[contains(@href,'vidplay.net')]");
  7846. }*/
  7847. if (GM_getValue("Check_filedais_dot_com_links", false))
  7848. {
  7849. addFileHost(
  7850. "filedais\.com\/\\w+",
  7851. 'class="btn btn-info"|name="method_free"',
  7852. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7853. 'optional--',
  7854. 'optional2--',
  7855. "//a[contains(@href,'filedais.com')]");
  7856. }
  7857. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7858. {
  7859. addFileHost(
  7860. "up.4share\.vn\/\\w+",
  7861. '<font size="2" face="Verdana">',
  7862. 'font: 13px Tahoma; color: Brown',
  7863. 'optional--',
  7864. 'optional2--',
  7865. "//a[contains(@href,'up.4share.vn')]");
  7866. }
  7867. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7868. {
  7869. addFileHost(
  7870. "share.vnn\.vn\/\\w+",
  7871. '"index,follow"|<div class="main" id="download-box">',
  7872. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7873. 'optional--',
  7874. 'optional2--',
  7875. "//a[contains(@href,'share.vnn.vn')]");
  7876. }
  7877. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7878. {
  7879. addFileHost(
  7880. "upfile\.vn\/\\w+",
  7881. 'download-timer',
  7882. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7883. 'optional--',
  7884. 'optional2--',
  7885. "//a[contains(@href,'upfile.vn')]");
  7886. }
  7887. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7888. {
  7889. addFileHost(
  7890. "aisfile\.com\/\\w+",
  7891. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7892. '<div style="width:500px;text-align:left;">|File Not Found',
  7893. 'optional--',
  7894. 'optional2--',
  7895. "//a[contains(@href,'aisfile.com')]");
  7896. }
  7897. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7898. {
  7899. addFileHost(
  7900. "usersfiles\.com\/\\w+",
  7901. 'class="btn btn-success|id="btn_download" class="btn"',
  7902. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7903. 'optional--',
  7904. 'optional2--',
  7905. "//a[contains(@href,'usersfiles.com')]");
  7906. }
  7907. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7908. {
  7909. addFileHost(
  7910. "pan.baidu\.com\/\\w+",
  7911. 'target="_blank" title=|share-personal-info',
  7912. 'share_notfound.png|background:#f9f9f9',
  7913. 'optional--',
  7914. 'optional2--',
  7915. "//a[contains(@href,'pan.baidu.com')]");
  7916. }
  7917. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7918. {
  7919. addFileHost(
  7920. "yunpan\.cn\/\\w+",
  7921. 'class="icon icon-download',
  7922. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7923. 'optional--',
  7924. 'optional2--',
  7925. "//a[contains(@href,'yunpan.cn')]");
  7926. }
  7927. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7928. {
  7929. addFileHost(
  7930. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7931. 'getElementById("downbild")|style.display',
  7932. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7933. 'optional--',
  7934. 'optional2--',
  7935. "//a[contains(@href,'file-upload.net')]");
  7936. }
  7937. if (GM_getValue("Check_file_dash_upload_dot_com_links", false))
  7938. {
  7939. addFileHost(
  7940. "file\\-upload\\.com\/",
  7941. 'name="method_free"',
  7942. 'File Not Found|exclamation-triangle',
  7943. 'optional--',
  7944. 'optional2--',
  7945. "//a[contains(@href,'file-upload.com')]");
  7946. }
  7947. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7948. {
  7949. addFileHost(
  7950. "gulfup\.com\/",
  7951. '<!-- Downlod template -->|download.gif',
  7952. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7953. 'optional--',
  7954. 'optional2--',
  7955. "//a[contains(@href,'gulfup.com')]");
  7956. }*/
  7957. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7958. {
  7959. addFileHost(
  7960. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7961. 'dldtable">',
  7962. 'does not exist\\.',
  7963. 'optional--',
  7964. 'optional2--',
  7965. "//a[contains(@href,'datafilehost.com')]");
  7966. }
  7967. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7968. {
  7969. addFileHost(
  7970. "dropbox\.com\/s\/\\w+",
  7971. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7972. '>Nothing Here<|>Error (404)<',
  7973. 'title>Dropbox - 509|Error (403)|Error: 429',
  7974. 'optional2--',
  7975. "//a[contains(@href,'dropbox.com')]");
  7976. }
  7977. if (GM_getValue("Check_box_dot_net_links", false))
  7978. {
  7979. addFileHost(
  7980. "box\.net\/\\w+",
  7981. 'download-file-btn|id="download_button',
  7982. 'BIyMin.png| <div class="error_message',
  7983. 'optional--',
  7984. 'optional2--',
  7985. "//a[contains(@href,'box.net')]");
  7986. }
  7987. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7988. {
  7989. addFileHost(
  7990. "filedropper\.com\/\\w+",
  7991. 'background:#ddd;|width:985px; ',
  7992. 'background-color:#FFFFFF;|margin-left: -400px;',
  7993. 'optional--',
  7994. 'optional2--',
  7995. "//a[contains(@href,'filedropper.com')]");
  7996. }
  7997. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7998. {
  7999. addFileHost(
  8000. "tropicshare\\.com\/files\/\\d+",
  8001. 'MB</span>|GB</span>|KB</span>',
  8002. '>FNF<|size: </span>',
  8003. 'optional--',
  8004. 'optional2--',
  8005. "//a[contains(@href,'tropicshare.com')]");
  8006. }
  8007. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8008. {
  8009. addFileHost(
  8010. "worldbytez\.com",
  8011. '<div class="download_type">|method_free',
  8012. '<div style="width:500px;text-align:left;">',
  8013. 'optional--',
  8014. 'optional2--',
  8015. "//a[contains(@href,'worldbytez.com')]",
  8016. true);
  8017. }
  8018. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8019. {
  8020. addFileHost(
  8021. "freefilehosting\.net\/\\w+",
  8022. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8023. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8024. 'optional--',
  8025. 'optional2--',
  8026. "//a[contains(@href,'freefilehosting.net')]");
  8027. }
  8028. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8029. {
  8030. addFileHost(
  8031. "ziddu\.com\/\\w+",
  8032. 'downloads.ziddu.com|downloadfilelinkicon',
  8033. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8034. 'optional--',
  8035. 'optional2--',
  8036. "//a[contains(@href,'ziddu.com')]");
  8037. }
  8038. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8039. {
  8040. addFileHost(
  8041. "exclusiveloader\.com\/\\w+",
  8042. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8043. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8044. 'optional--',
  8045. 'optional2--',
  8046. "//a[contains(@href,'exclusiveloader.com')]");
  8047. }
  8048. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8049. {
  8050. addFileHost(
  8051. "sharerapid\.cz\/\\w+",
  8052. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8053. 'error_div">|404 - Not Found',
  8054. 'optional--',
  8055. 'optional2--',
  8056. "//a[contains(@href,'sharerapid.cz')]");
  8057. }
  8058. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8059. {
  8060. addFileHost(
  8061. "sdilej\.cz\/\\w+",
  8062. 'class="page-download"',
  8063. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8064. 'optional--',
  8065. 'optional2--',
  8066. "//a[contains(@href,'sdilej.cz')]");
  8067. }
  8068. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8069. {
  8070. addFileHost(
  8071. "lafiles\.com\/\\w+",
  8072. '<div id="pay_modes">',
  8073. '<b class="err"></b>',
  8074. 'optional--',
  8075. 'optional2--',
  8076. "//a[contains(@href,'lafiles.com')]");
  8077. }
  8078. if (GM_getValue("Check_acefile_dot_net_links", false))
  8079. {
  8080. addFileHost(
  8081. "acefile\.net\/\\w+",
  8082. 'align=right nowrap><b>',
  8083. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8084. 'optional--',
  8085. 'optional2--',
  8086. "//a[contains(@href,'acefile.net')]");
  8087. }
  8088. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8089. {
  8090. addFileHost(
  8091. "megarapid\.cz\/\\w+",
  8092. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8093. 'error_div">|404 - Not Found',
  8094. 'optional--',
  8095. 'optional2--',
  8096. "//a[contains(@href,'megarapid.cz')]");
  8097. }
  8098. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8099. {
  8100. addFileHost(
  8101. "yadi\.sk\/\\w+",
  8102. 'nb-button _nb-small-button',
  8103. 'error code|Nothing found',
  8104. 'optional--',
  8105. 'optional2--',
  8106. "//a[contains(@href,'yadi.sk')]");
  8107. }
  8108. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8109. {
  8110. addFileHost(
  8111. "hitfile\.net\/\\w+",
  8112. 'class="download-file',
  8113. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8114. 'optional--',
  8115. 'optional2--',
  8116. "//a[contains(@href,'hitfile.net')]");
  8117. }
  8118. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8119. {
  8120. addFileHost(
  8121. "up.top4top\.net\/\\w+",
  8122. 'start Downlod template',
  8123. 'start err template',
  8124. 'optional--',
  8125. 'optional2--',
  8126. "//a[contains(@href,'up.top4top.net')]");
  8127. }
  8128. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8129. {
  8130. addFileHost(
  8131. "filejoker\.net",
  8132. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8133. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8134. 'optional--',
  8135. 'id="download" class="premium-only">',
  8136. "//a[contains(@href,'filejoker.net')]");
  8137. }
  8138. if (GM_getValue("Check_free_dot_fr_links", false))
  8139. {
  8140. addFileHost(
  8141. "(?:dl.\\.|)free\\.fr",
  8142. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8143. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8144. 'optional--',
  8145. 'optional2--',
  8146. "//a[contains(@href,'dl.free.fr')]");
  8147. }
  8148. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8149. {
  8150. addFileHost(
  8151. "gboxes\.com\/\\w+",
  8152. 'You have requested|color="red">http://www.gboxes.com',
  8153. 'File Not Found|<div style="width:500px;text-align:left;">',
  8154. 'optional--',
  8155. 'optional2--',
  8156. "//a[contains(@href,'gboxes.com')]");
  8157. }
  8158. if (GM_getValue("Check_led_dot_wf_links", false))
  8159. {
  8160. addFileHost(
  8161. "led\.wf\/\\w+",
  8162. 'logo_0.png|downloads.gif"|verifycode',
  8163. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8164. 'optional--',
  8165. 'available only for Premium users',
  8166. "//a[contains(@href,'led.wf')]");
  8167. }
  8168. if (GM_getValue("Check_lan_dot_wf_links", false))
  8169. {
  8170. addFileHost(
  8171. "lan\.wf\/\\w+",
  8172. 'logo_0.png|downloads.gif"|verifycode',
  8173. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8174. 'optional--',
  8175. 'available only for Premium users',
  8176. "//a[contains(@href,'lan.wf')]");
  8177. }
  8178. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8179. {
  8180. addFileHost(
  8181. "adlink\.wf\/\\w+",
  8182. 'logo_0.png|downloads.gif"|verifycode',
  8183. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8184. 'optional--',
  8185. 'available only for Premium users',
  8186. "//a[contains(@href,'adlink.wf')]");
  8187. }
  8188. if (GM_getValue("Check_click_dot_tf_links", false))
  8189. {
  8190. addFileHost(
  8191. "click\.tf\/\\w+",
  8192. 'logo_0.png|downloads.gif"|verifycode',
  8193. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8194. 'optional--',
  8195. 'available only for Premium users',
  8196. "//a[contains(@href,'click.tf')]");
  8197. }
  8198. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8199. {
  8200. addFileHost(
  8201. "ssh\.tf\/\\w+",
  8202. 'logo_0.png|downloads.gif"|verifycode',
  8203. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8204. 'optional--',
  8205. 'available only for Premium users',
  8206. "//a[contains(@href,'ssh.tf')]");
  8207. }
  8208. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8209. {
  8210. addFileHost(
  8211. "ssh\.yt\/\\w+",
  8212. 'logo_0.png|downloads.gif"|verifycode',
  8213. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8214. 'optional--',
  8215. 'available only for Premium users',
  8216. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8217. }
  8218. if (GM_getValue("Check_yep_dot_pm_links", false))
  8219. {
  8220. addFileHost(
  8221. "yep\.pm\/\\w+",
  8222. 'logo_0.png|downloads.gif"|verifycode',
  8223. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8224. 'optional--',
  8225. 'available only for Premium users',
  8226. "//a[contains(@href,'yep.pm')]");
  8227. }
  8228. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8229. {
  8230. addFileHost(
  8231. "kyc\.pm\/\\w+",
  8232. 'logo_0.png|downloads.gif"|verifycode',
  8233. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8234. 'optional--',
  8235. 'available only for Premium users',
  8236. "//a[contains(@href,'kyc.pm')]");
  8237. }
  8238. if (GM_getValue("Check_brupload_dot_net_links", false))
  8239. {
  8240. addFileHost(
  8241. "brupload\.net\/\\w+",
  8242. 'Download Gratuito',
  8243. '<div style="width:500px;text-align:left;">',
  8244. 'optional--',
  8245. 'optional2--',
  8246. "//a[contains(@href,'brupload.net')]");
  8247. }
  8248. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8249. {
  8250. addFileHost(
  8251. "cloudzilla\.to\/\\w+",
  8252. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8253. 'File not found|/imgs/broken.png',
  8254. 'optional--',
  8255. 'optional2--',
  8256. "//a[contains(@href,'cloudzilla.to')]");
  8257. } */
  8258. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8259. {
  8260. addFileHost(
  8261. "clicknupload\.com\/\\w+",
  8262. 'name="method_free',
  8263. 'File Not Found',
  8264. 'optional--',
  8265. 'optional2--',
  8266. "//a[contains(@href,'clicknupload.com')]");
  8267. }
  8268. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8269. {
  8270. addFileHost(
  8271. "clicknupload\.me\/\\w+",
  8272. 'name="method_free',
  8273. 'File Not Found',
  8274. 'optional--',
  8275. 'optional2--',
  8276. "//a[contains(@href,'clicknupload.me')]");
  8277. }
  8278. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8279. {
  8280. addFileHost(
  8281. "clicknupload\.link\/\\w+",
  8282. 'name="method_free',
  8283. 'File Not Found',
  8284. 'optional--',
  8285. 'optional2--',
  8286. "//a[contains(@href,'clicknupload.link')]");
  8287. }
  8288. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8289. {
  8290. addFileHost(
  8291. "ex-load\.com\/\\w+",
  8292. 'name="method_free|<p>Download File:</p>',
  8293. 'Folder Not Found|File Not Found|Error 404',
  8294. 'optional--',
  8295. 'class="downprem wow bounceInLeft',
  8296. "//a[contains(@href,'ex-load.com')]");
  8297. }
  8298. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8299. {
  8300. addFileHost(
  8301. "hexupload\.com\/\\w+",
  8302. 'button" value="Free|type="submit" value=""',
  8303. 'File Not Found|<div style="width:500px;text-align:left;">',
  8304. 'optional--',
  8305. 'optional2--',
  8306. "//a[contains(@href,'hexupload.com')]");
  8307. }*/
  8308. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8309. {
  8310. addFileHost(
  8311. "wizupload\.com\/\\w+",
  8312. 'btn_download|class="downloadbtn"',
  8313. '>File Not Found<',
  8314. 'optional--',
  8315. 'optional2--',
  8316. "//a[contains(@href,'wizupload.com')]");
  8317. }
  8318. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8319. {
  8320. addFileHost(
  8321. "inclouddrive\.com\/\\w+",
  8322. 'initfreedownload',
  8323. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8324. 'optional--',
  8325. 'optional2--',
  8326. "//a[contains(@href,'inclouddrive.com')]");
  8327. }
  8328. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8329. {
  8330. addFileHost(
  8331. "radicalshare\.com\/\\w+",
  8332. 'value="download1|name="method_free"',
  8333. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8334. 'optional--',
  8335. 'optional2--',
  8336. "//a[contains(@href,'radicalshare.com')]");
  8337. }*/
  8338. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8339. {
  8340. addFileHost(
  8341. "sharemods\.com\/\\w+",
  8342. 'name="method_free"',
  8343. 'File Not Found<',
  8344. 'optional--',
  8345. 'optional2--',
  8346. "//a[contains(@href,'sharemods.com')]");
  8347. }
  8348. if (GM_getValue("Check_hostr_dot_co_links", false))
  8349. {
  8350. addFileHost(
  8351. "hostr\.co\/\\w+",
  8352. 'method="get"',
  8353. 'File not found<|error-page',
  8354. 'optional--',
  8355. 'optional2--',
  8356. "//a[contains(@href,'hostr.co')]");
  8357. }
  8358. if (GM_getValue("Check_filepi_dot_com_links", false))
  8359. {
  8360. addFileHost(
  8361. "filepi\.com\/\\w+",
  8362. 'id="button_start">',
  8363. 'File not found',
  8364. 'optional--',
  8365. 'optional2--',
  8366. "//a[contains(@href,'filepi.com')]");
  8367. }
  8368. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8369. {
  8370. addFileHost(
  8371. "tikfile\.com\/\\w+",
  8372. 'btn_download',
  8373. 'File Not Found|file was removed|Reason for deletion',
  8374. 'optional--',
  8375. 'optional2--',
  8376. "//a[contains(@href,'tikfile.com')]");
  8377. }
  8378. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8379. {
  8380. addFileHost(
  8381. "cloudsix\.me\/\\w+",
  8382. 'name="method_free"',
  8383. 'File Not Found|width:500px;text-align:left;">',
  8384. 'optional--',
  8385. 'optional2--',
  8386. "//a[contains(@href,'cloudsix.me')]");
  8387. }
  8388. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8389. {
  8390. addFileHost(
  8391. "neodrive\.co\/\\w+",
  8392. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8393. 'File not found|/imgs/broken.png',
  8394. 'optional--',
  8395. 'optional2--',
  8396. "//a[contains(@href,'neodrive.co')]");
  8397. } */
  8398. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8399. {
  8400. addFileHost(
  8401. "chayfile\.com\/\\w+",
  8402. 'name="method_free"',
  8403. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8404. 'optional--',
  8405. 'optional2--',
  8406. "//a[contains(@href,'chayfile.com')]");
  8407. }
  8408. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8409. {
  8410. addFileHost(
  8411. "xfileload\.com\/\\w+",
  8412. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8413. '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..|הקובץ שחיפשת לא נמצא.',
  8414. 'optional--',
  8415. 'optional2--',
  8416. "//a[contains(@href,'xfileload.com')]");
  8417. }*/
  8418. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8419. {
  8420. addFileHost(
  8421. "rockfile\.eu\/\\w+",
  8422. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8423. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8424. 'optional--',
  8425. 'optional2--',
  8426. "//a[contains(@href,'rockfile.eu')]",
  8427. true);
  8428. }
  8429. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8430. {
  8431. addFileHost(
  8432. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8433. 'i/icon/dll.png"|>Start download<br',
  8434. 'no longer available<|i/ino.png"',
  8435. 'optional--',
  8436. 'optional2--',
  8437. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8438. }
  8439. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8440. {
  8441. addFileHost(
  8442. "ozofiles\.com\/\\w+",
  8443. 'button" value="Free|name="method_free',
  8444. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8445. 'optional--',
  8446. 'optional2--',
  8447. "//a[contains(@href,'ozofiles.com')]");
  8448. }
  8449. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8450. {
  8451. addFileHost(
  8452. "userscloud\.com\/\\w+",
  8453. 'btn_download|class="label label-success">',
  8454. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'userscloud.com')]");
  8458. }
  8459. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8460. {
  8461. addFileHost(
  8462. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8463. 'class="button download',
  8464. 'internal server error',
  8465. 'optional--',
  8466. 'optional2--',
  8467. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8468. }
  8469. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8470. {
  8471. addFileHost(
  8472. "kb.simple-aja\.info\/\\w+",
  8473. 'class="button download',
  8474. 'internal server error|<p>404</p>',
  8475. 'optional--',
  8476. 'optional2--',
  8477. "//a[contains(@href,'kb.simple')]");
  8478. }
  8479. if (GM_getValue("Check_faststore_dot_org_links", false))
  8480. {
  8481. addFileHost(
  8482. "faststore\.org\/\\w+",
  8483. 'name="method_free',
  8484. 'File Not Found',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'faststore.org')]");
  8488. }
  8489. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8490. {
  8491. addFileHost(
  8492. "prefiles\.com\/\\w+",
  8493. 'id="method_free',
  8494. 'File not Found',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'prefiles.com')]");
  8498. }
  8499. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8500. {
  8501. addFileHost(
  8502. "doraupload\.com\/\\w+",
  8503. 'btn_download|name="method_free',
  8504. 'class="error-code|Could Not Be Found',
  8505. 'optional--',
  8506. 'optional2--',
  8507. "//a[contains(@href,'doraupload.com')]");
  8508. }
  8509. if (GM_getValue("Check_openload_dot_io_links", false))
  8510. {
  8511. addFileHost(
  8512. "openload\.io\/\\w+",
  8513. 'btn btn-primary|class="count">|secondsleftouter',
  8514. 'class="jumbotron">|We are sorry',
  8515. 'optional--',
  8516. 'optional2--',
  8517. "//a[contains(@href,'openload.io')]");
  8518. }
  8519. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8520. {
  8521. addFileHost(
  8522. "zxcfiles\.com\/\\w+",
  8523. 'class="downloadbtn',
  8524. 'File Not Found',
  8525. 'optional--',
  8526. 'optional2--',
  8527. "//a[contains(@href,'zxcfiles.com')]");
  8528. }
  8529. if (GM_getValue("Check_up07_dot_net_links", false))
  8530. {
  8531. addFileHost(
  8532. "up07\.net\/\\w+",
  8533. 'name="method_free',
  8534. 'File Not Found',
  8535. 'optional--',
  8536. 'optional2--',
  8537. "//a[contains(@href,'up07.net')]");
  8538. }
  8539. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8540. {
  8541. addFileHost(
  8542. "fileupload\.pw\/\\w+",
  8543. 'value="Free"',
  8544. 'File Not Found',
  8545. 'optional--',
  8546. 'optional2--',
  8547. "//a[contains(@href,'fileupload.pw')]");
  8548. }
  8549. if (GM_getValue("Check_4upld_dot_com_links", false))
  8550. {
  8551. addFileHost(
  8552. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8553. 'alt="Download Now"|content="Download file">|btn-free-element',
  8554. '<title>Error|content="error|File not found',
  8555. 'optional--',
  8556. 'optional2--',
  8557. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8558. }
  8559. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8560. {
  8561. addFileHost(
  8562. "(?:.swoopshare)\\.com\/\\w+",
  8563. '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',
  8564. '<input type="file" name="f"',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'swoopshare.com')]"
  8568. );
  8569. }
  8570. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8571. {
  8572. addFileHost(
  8573. "cloudshares\.net\/\\w+",
  8574. '"method_free|"Low Speed Download|submit" name="go',
  8575. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8576. 'optional--',
  8577. 'optional2--',
  8578. "//a[contains(@href,'cloudshares.net')]"
  8579. );
  8580. }
  8581. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8582. {
  8583. addFileHost(
  8584. "allmyvideos\.net\/\\w+",
  8585. 'Continue to Video',
  8586. 'File Not Found|class="err">Removed for',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'allmyvideos.net')]"
  8590. );
  8591. } */
  8592. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8593. {
  8594. addFileHost(
  8595. "vodlocker\.com\/\\w+",
  8596. 'Proceed to video',
  8597. 'Not Found',
  8598. 'optional--',
  8599. 'optional2--',
  8600. "//a[contains(@href,'vodlocker.com')]"
  8601. );
  8602. }
  8603. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8604. {
  8605. addFileHost(
  8606. "vidbull\.com\/\\w+",
  8607. 'Verifying Video Request',
  8608. 'File Not Found',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'vidbull.com')]");
  8612. }
  8613. if (GM_getValue("Check_novamov_dot_com_links", false))
  8614. {
  8615. addFileHost(
  8616. "novamov\.com\/\\w+",
  8617. 'For version detection',
  8618. 'file no longer exists',
  8619. 'optional--',
  8620. 'optional2--',
  8621. "//a[contains(@href,'novamov.com')]"
  8622. );
  8623. }
  8624. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8625. {
  8626. addFileHost(
  8627. "filehoot\.com\/\\w+",
  8628. 'Continue to watch',
  8629. 'File Not Found',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'filehoot.com')]"
  8633. );
  8634. }
  8635. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8636. {
  8637. addFileHost(
  8638. "stagevu\.com\/\\w+",
  8639. 'Video Info',
  8640. 'No video with the provided',
  8641. 'optional--',
  8642. 'optional2--',
  8643. "//a[contains(@href,'stagevu.com')]"
  8644. );
  8645. }
  8646. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8647. {
  8648. addFileHost(
  8649. "cloudtime\.to\/\\w+",
  8650. 'Download the video',
  8651. 'no longer exists',
  8652. 'optional--',
  8653. 'optional2--',
  8654. "//a[contains(@href,'cloudtime.to')]"
  8655. );
  8656. }
  8657. if (GM_getValue("Check_streamin_dot_to_links", false))
  8658. {
  8659. addFileHost(
  8660. "streamin\.to\/\\w+",
  8661. 'id="btn_download',
  8662. 'Not Found|Copyright Infringement|File Deleted',
  8663. 'optional--',
  8664. 'optional2--',
  8665. "//a[contains(@href,'streamin.to')]"
  8666. );
  8667. }
  8668. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8669. {
  8670. addFileHost(
  8671. "videoweed\.es\/\\w+",
  8672. 'version detection',
  8673. 'no longer exists',
  8674. 'optional--',
  8675. 'optional2--',
  8676. "//a[contains(@href,'videoweed.es')]"
  8677. );
  8678. }
  8679. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8680. {
  8681. addFileHost(
  8682. "nowvideo\.sx\/\\w+",
  8683. 'Download this video|value="submit">Continue',
  8684. 'no longer exists',
  8685. 'optional--',
  8686. 'optional2--',
  8687. "//a[contains(@href,'nowvideo.sx')]"
  8688. );
  8689. }
  8690. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8691. {
  8692. addFileHost(
  8693. "thevideo\.me\/\\w+",
  8694. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8695. 'File Not Found',
  8696. 'optional--',
  8697. 'optional2--',
  8698. "//a[contains(@href,'thevideo.me')]"
  8699. );
  8700. }
  8701. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8702. {
  8703. addFileHost(
  8704. "gorillavid\.in\/\\w+",
  8705. 'Wait 5 seconds',
  8706. 'File Not Found',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'gorillavid.in')]"
  8710. );
  8711. }
  8712. if (GM_getValue("Check_thefile_dot_me_links", false))
  8713. {
  8714. addFileHost(
  8715. "thefile\.me\/\\w+",
  8716. 'Choose free or',
  8717. '',
  8718. 'optional--',
  8719. 'optional2--',
  8720. "//a[contains(@href,'thefile.me')]"
  8721. );
  8722. }
  8723. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8724. {
  8725. addFileHost(
  8726. "vidzi\.tv\/\\w+",
  8727. 'video-embed-modal row',
  8728. 'File Not Found|file was deleted',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'vidzi.tv')]"
  8732. );
  8733. }
  8734. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8735. {
  8736. addFileHost(
  8737. "filenuke\.com\/\\w+",
  8738. 'Download File',
  8739. 'Earn with us',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'filenuke.com')]"
  8743. );
  8744. }
  8745. if (GM_getValue("Check_vidto_dot_me_links", false))
  8746. {
  8747. addFileHost(
  8748. "vidto\.me\/\\w+",
  8749. 'Proceed to video',
  8750. 'Not Found',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'vidto.me')]"
  8754. );
  8755. }
  8756. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8757. {
  8758. addFileHost(
  8759. "vidspot\.net\/\\w+",
  8760. 'Duration|method_free',
  8761. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'vidspot.net')]"
  8765. );
  8766. } */
  8767. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8768. {
  8769. addFileHost(
  8770. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8771. 'Download File',
  8772. 'File Not Found',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8776. );
  8777. }
  8778. if (GM_getValue("Check_movpod_dot_in_links", false))
  8779. {
  8780. addFileHost(
  8781. "movpod\.in\/\\w+",
  8782. 'Continue',
  8783. 'File Not Found',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'movpod.in')]"
  8787. );
  8788. }
  8789. if (GM_getValue("Check_down4files_dot_com_links", false))
  8790. {
  8791. addFileHost(
  8792. "down4files\.com\/\\w+",
  8793. 'down_table.png',
  8794. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8795. 'optional--',
  8796. 'optional2--',
  8797. "//a[contains(@href,'down4files.com')]"
  8798. );
  8799. }
  8800. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8801. {
  8802. addFileHost(
  8803. "storefiles\.co\/\\w+",
  8804. 'btn_download',
  8805. 'No such file|>Error<|mqmaintitle">',
  8806. 'optional--',
  8807. 'optional2--',
  8808. "//a[contains(@href,'storefiles.co')]"
  8809. );
  8810. }*/
  8811. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8812. {
  8813. addFileHost(
  8814. "filehost\.pw\/\\w+",
  8815. 'name="method_free',
  8816. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8817. 'optional--',
  8818. 'optional2--',
  8819. "//a[contains(@href,'filehost.pw')]"
  8820. );
  8821. }
  8822. if (GM_getValue("Check_uplea_dot_com_links", false))
  8823. {
  8824. addFileHost(
  8825. "uplea\.com\/\\w+",
  8826. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8827. 'expired link|ou est invalide',
  8828. 'optional--',
  8829. 'optional2--',
  8830. "//a[contains(@href,'uplea.com/dl')]",
  8831. true);
  8832. }
  8833. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8834. {
  8835. addFileHost(
  8836. "toutbox\.fr\/\\w+",
  8837. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8838. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8839. 'Serviço temporariamente indisponível',
  8840. 'optional2--',
  8841. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8842. );
  8843. }*/
  8844. if (GM_getValue("Check_openload_dot_co_links", false))
  8845. {
  8846. addFileHost(
  8847. "openload\.co\/\\w+",
  8848. 'id="downloadTimer">|button dlbutton',
  8849. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8850. 'optional--',
  8851. 'optional2--',
  8852. "//a[contains(@href,'openload.co')]"
  8853. );
  8854. }
  8855. if (GM_getValue("Check_oload_dot_tv_links", false))
  8856. {
  8857. addFileHost(
  8858. "oload\.tv\/\\w+",
  8859. 'id="downloadTimer">|button dlbutton',
  8860. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8861. 'optional--',
  8862. 'optional2--',
  8863. "//a[contains(@href,'oload.tv')]"
  8864. );
  8865. }
  8866. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8867. {
  8868. addFileHost(
  8869. "lolabits\.es\/\\w+",
  8870. 'Descargar:',
  8871. '<title>Archivos de usuario',
  8872. 'Service Unavailable',
  8873. 'optional2--',
  8874. "//a[contains(@href,'lolabits.es')]"
  8875. );
  8876. }*/
  8877. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8878. {
  8879. addFileHost(
  8880. "alfafile\.net\/\\w+",
  8881. 'id="slow_download_btn',
  8882. 'class="error-box">',
  8883. 'optional--',
  8884. 'optional2--',
  8885. "//a[contains(@href,'alfafile.net')]"
  8886. );
  8887. }
  8888. if (GM_getValue("Check_multiup_dot_org_links", false))
  8889. {
  8890. addFileHost(
  8891. "multiup\\.(?:org|eu)\/\\w+",
  8892. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8893. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8894. 'optional--',
  8895. 'optional2--',
  8896. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8897. );
  8898. }
  8899. if (GM_getValue("Check_file_dot_al_links", false))
  8900. {
  8901. addFileHost(
  8902. "file\\.al|1f.al",
  8903. 'method_free',
  8904. 'style="width:500px;text-align:left;">|invalid license_key',
  8905. 'optional--',
  8906. 'optional2--',
  8907. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8908. );
  8909. }
  8910. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8911. {
  8912. addFileHost(
  8913. "devilshare\.net\/\\w+",
  8914. '<div class="large-12" id="download">',
  8915. '(Link: 0 Invalid)|File Not Found',
  8916. 'optional--',
  8917. 'optional2--',
  8918. "//a[contains(@href,'devilshare.net')]"
  8919. );
  8920. }
  8921. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8922. {
  8923. addFileHost(
  8924. "dailyuploads\.net\/\\w+",
  8925. 'id="downloadBtnClickOrignal',
  8926. '<div style="width:500px;text-align:left;">',
  8927. 'optional--',
  8928. 'optional2--',
  8929. "//a[contains(@href,'dailyuploads.net')]"
  8930. );
  8931. }
  8932. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8933. {
  8934. addFileHost(
  8935. "datoteke\.com\/\\w+",
  8936. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8937. '&nbsp;File has been removed',
  8938. 'optional--',
  8939. '<title>Error - Datoteke',
  8940. "//a[contains(@href,'datoteke.com')]"
  8941. );
  8942. }
  8943. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8944. {
  8945. addFileHost(
  8946. "sharehost\.eu\/\\w+",
  8947. '/?v=download_free&',
  8948. 'Errors occured|Wystąpiły błędy',
  8949. 'optional--',
  8950. 'optional2--',
  8951. "//a[contains(@href,'sharehost.eu')]"
  8952. );
  8953. }
  8954. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8955. {
  8956. addFileHost(
  8957. "pornfile\.cz",
  8958. 'Stáhnout soubor|Stáhnout pomalu',
  8959. 'Soubor byl smazán|Stránka nenalezena',
  8960. 'optional--',
  8961. 'optional2--',
  8962. "//a[contains(@href,'pornfile.cz')]"
  8963. );
  8964. }
  8965. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8966. {
  8967. addFileHost(
  8968. "pornoid\.cz\/\\w+",
  8969. 'class="btn btn-large btn-download',
  8970. 'Soubor byl smazán',
  8971. 'optional--',
  8972. 'optional2--',
  8973. "//a[contains(@href,'pornoid.cz')]"
  8974. );
  8975. }
  8976. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8977. {
  8978. addFileHost(
  8979. "file-share\.top\/\\w+",
  8980. 'btn-success btn-lg download',
  8981. 'Stránka neexistuje|404 Not Found',
  8982. 'optional--',
  8983. 'optional2--',
  8984. "//a[contains(@href,'file-share.top')]"
  8985. );
  8986. }
  8987. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8988. {
  8989. addFileHost(
  8990. "bitster\.cz\/",
  8991. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8992. 'section" content=""',
  8993. 'optional--',
  8994. 'optional2--',
  8995. "//a[contains(@href,'bitster.cz')]"
  8996. );
  8997. }
  8998. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8999. {
  9000. addFileHost(
  9001. "rapidu\.net\/\\w+",
  9002. 'onclick="downloadFreeFile',
  9003. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9004. 'optional--',
  9005. 'optional2--',
  9006. "//a[contains(@href,'rapidu.net')]"
  9007. );
  9008. }
  9009. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9010. {
  9011. addFileHost(
  9012. "dinoshare\.cz\/\\w+",
  9013. 'class="download-button"',
  9014. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9015. 'optional--',
  9016. 'optional2--',
  9017. "//a[contains(@href,'dinoshare.cz')]"
  9018. );
  9019. }
  9020. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9021. {
  9022. addFileHost(
  9023. "bytewhale\.com\/\\w+",
  9024. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9025. 'var rawest = "0 MB|Copyrights Claim</div>',
  9026. 'optional--',
  9027. 'This file is available for premium members only',
  9028. "//a[contains(@href,'bytewhale.com')]"
  9029. );
  9030. }
  9031. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9032. {
  9033. addFileHost(
  9034. "rapidrar\.com\/\\w+",
  9035. 'value="Free Download',
  9036. '<div style="width:500px;text-align:left;">',
  9037. 'optional--',
  9038. 'optional--',
  9039. "//a[contains(@href,'rapidrar.com')]"
  9040. );
  9041. }
  9042. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9043. {
  9044. addFileHost(
  9045. "filesupload\.org\/\\w+",
  9046. '<a href="/download-or-watch/',
  9047. 'File not found',
  9048. 'optional--',
  9049. 'optional--',
  9050. "//a[contains(@href,'filesupload.org')]"
  9051. );
  9052. }
  9053. if (GM_getValue("Check_filecad_dot_com_links", false))
  9054. {
  9055. addFileHost(
  9056. "filecad\.com\/\\w+",
  9057. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9058. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9059. 'optional--',
  9060. 'optional--',
  9061. "//a[contains(@href,'filecad.com')]"
  9062. );
  9063. }
  9064. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9065. {
  9066. addFileHost(
  9067. "file.up09\.com\/\\w+",
  9068. 'name="method_free',
  9069. 'style="width:500px;text-align:left;">',
  9070. 'optional--',
  9071. 'optional--',
  9072. "//a[contains(@href,'file.up09.com')]"
  9073. );
  9074. }
  9075. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9076. {
  9077. addFileHost(
  9078. "lunaticfiles\.com\/\\w+",
  9079. 'name="method_free"',
  9080. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9081. 'optional--',
  9082. 'optional--',
  9083. "//a[contains(@href,'lunaticfiles.com')]"
  9084. );
  9085. }
  9086. if (GM_getValue("Check_upload_dot_af_links", false))
  9087. {
  9088. addFileHost(
  9089. "upload\.af\/\\w+",
  9090. 'id="method_free"',
  9091. '<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|ファイルが見つかりません',
  9092. 'optional--',
  9093. 'optional--',
  9094. "//a[contains(@href,'upload.af')]"
  9095. );
  9096. }
  9097. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9098. {
  9099. addFileHost(
  9100. "filedwon\.info\/\\w+",
  9101. 'name="method_free"',
  9102. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9103. 'optional--',
  9104. 'optional--',
  9105. "//a[contains(@href,'filedwon.info')]"
  9106. );
  9107. }
  9108. if (GM_getValue("Check_uplod_dot_it_links", false))
  9109. {
  9110. addFileHost(
  9111. "uplod\.it\/\\w+",
  9112. 'value="download2">|name="method_free',
  9113. '<Title>Download </Title>',
  9114. 'optional--',
  9115. 'optional--',
  9116. "//a[contains(@href,'uplod.it')]"
  9117. );
  9118. }
  9119. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9120. {
  9121. addFileHost(
  9122. "abelhas\.pt\/\\w+",
  9123. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9124. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9125. 'optional--',
  9126. 'optional--',
  9127. "//a[contains(@href,'abelhas.pt')]"
  9128. );
  9129. } */
  9130. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9131. {
  9132. addFileHost(
  9133. "disk.yandex\.com\/\\w+",
  9134. 'nb-button _nb-small-button',
  9135. 'error code|Nothing found',
  9136. 'optional--',
  9137. 'optional2--',
  9138. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9139. }
  9140. if (GM_getValue("Check_filespace_dot_com_links", false))
  9141. {
  9142. addFileHost(
  9143. "filespace\.com\/\\w+",
  9144. '"method_free',
  9145. '<div style="text-align:left;"><ul>|>File not found.<',
  9146. 'optional1--',
  9147. 'optional2--',
  9148. "//a[contains(@href,'filespace.com')]");
  9149. }
  9150. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9151. {
  9152. addFileHost(
  9153. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9154. 'name="downloadFile|id="downloadFile|value="Wait',
  9155. '<title>File not found</title>|>Error:<',
  9156. 'optional1--',
  9157. 'optional2--',
  9158. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9159. }
  9160. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9161. {
  9162. addFileHost(
  9163. "ncrypt\.in\/\\w+",
  9164. 'Sicherheitsabfrage:|Securitycheck:',
  9165. 'does not exist|existiert nicht',
  9166. 'optional1--',
  9167. 'optional2--',
  9168. "//a[contains(@href,'ncrypt.in')]");
  9169. }
  9170. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9171. {
  9172. addFileHost(
  9173. "jeodrive\.com\/\\w+",
  9174. 'btn-lg regular',
  9175. 'Not found',
  9176. 'optional1--',
  9177. 'optional2--',
  9178. "//a[contains(@href,'jeodrive.com')]");
  9179. }
  9180. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9181. {
  9182. addFileHost(
  9183. "myfiles\.onl\/\\w+",
  9184. 'value="Free"',
  9185. '<div style="width:500px;text-align:left;">',
  9186. 'optional1--',
  9187. 'optional2--',
  9188. "//a[contains(@href,'myfiles.onl')]");
  9189. }
  9190. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9191. {
  9192. addFileHost(
  9193. "uploadserv\.com\/\\w+",
  9194. 'color="red">http://uploadserv.com/',
  9195. 'content="Download File ">|<title>Download </title>',
  9196. 'optional1--',
  9197. 'optional2--',
  9198. "//a[contains(@href,'uploadserv.com')]");
  9199. }
  9200. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9201. {
  9202. addFileHost(
  9203. "keepshare\.net\/\\w+",
  9204. 'method_free',
  9205. '<div style="width:500px;text-align:left;">',
  9206. 'optional1--',
  9207. 'optional2--',
  9208. "//a[contains(@href,'keepshare.net')]");
  9209. }
  9210. if (GM_getValue("Check_oload_dot_net_links", false))
  9211. {
  9212. addFileHost(
  9213. "oload\.net\/\\w+",
  9214. '<font color="red">http://oload.net',
  9215. 'class="page-ttl">',
  9216. 'optional1--',
  9217. 'optional2--',
  9218. "//a[contains(@href,'oload.net')]");
  9219. }
  9220. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9221. {
  9222. addFileHost(
  9223. "filescdn\.com\/\\w+",
  9224. 'btn_download',
  9225. 'icon-warning text-danger|no longer available',
  9226. 'optional1--',
  9227. 'optional2--',
  9228. "//a[contains(@href,'filescdn.com')]");
  9229. }
  9230. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9231. {
  9232. addFileHost(
  9233. "bankupload\.com\/\\w+",
  9234. 'id="btn_download"|1.0 GB',
  9235. '<div style="width:500px;text-align:left;">',
  9236. 'optional1--',
  9237. ' GB',
  9238. "//a[contains(@href,'bankupload.com')]");
  9239. }
  9240. if (GM_getValue("Check_katfile_dot_com_links", false))
  9241. {
  9242. addFileHost(
  9243. "katfile\.com\/\\w+",
  9244. 'KB| MB|1.0 GB|id="method_free',
  9245. 'images/file_not_found.png"',
  9246. 'optional1--',
  9247. ' GB',
  9248. "//a[contains(@href,'katfile.com')]");
  9249. }
  9250. if (GM_getValue("Check_filesin_dot_space_links", false))
  9251. {
  9252. addFileHost(
  9253. "filesin\.space\/\\w+",
  9254. 'id="btn_download"',
  9255. 'class="err">',
  9256. 'optional1--',
  9257. 'optional2',
  9258. "//a[contains(@href,'filesin.space')]");
  9259. }
  9260. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9261. {
  9262. addFileHost(
  9263. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9264. 'download.php',
  9265. 'notfound|upload\\-suborov\\.php"',
  9266. 'optional--',
  9267. 'optional2--',
  9268. "//a[contains(@href,'upnito.sk')]"
  9269. );
  9270. }
  9271. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9272. {
  9273. addFileHost(
  9274. "alltu\.eu\/\\w+",
  9275. 'download-timer',
  9276. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9277. 'optional1--',
  9278. 'optional2',
  9279. "//a[contains(@href,'alltu.eu')]");
  9280. }
  9281. if (GM_getValue("Check_novafile_dot_com_links", false))
  9282. {
  9283. addFileHost(
  9284. "novafile\.com\/\\w+",
  9285. 'id="regular-download',
  9286. 'id="file-not-found',
  9287. 'optional1--',
  9288. 'id="premium-only',
  9289. "//a[contains(@href,'novafile.com')]");
  9290. }
  9291. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9292. {
  9293. addFileHost(
  9294. "uploadgig\.com",
  9295. 'id="countdownContainer',
  9296. 'File not found',
  9297. 'optional1--',
  9298. 'optional2',
  9299. "//a[contains(@href,'uploadgig.com')]");
  9300. }
  9301. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9302. {
  9303. addFileHost(
  9304. "mexashare\.com\/\\w+",
  9305. 'method_free',
  9306. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9307. 'optional1--',
  9308. 'optional2',
  9309. "//a[contains(@href,'mexashare.com')]");
  9310. }
  9311. if (GM_getValue("Check_daofile_dot_com_links", false))
  9312. {
  9313. addFileHost(
  9314. "daofile\.com\/\\w+",
  9315. 'class="captcha_code',
  9316. 'style="width:500px;text-align:left;">',
  9317. 'optional1--',
  9318. 'optional2',
  9319. "//a[contains(@href,'daofile.com')]");
  9320. }
  9321. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9322. {
  9323. addFileHost(
  9324. "imagenetz\.de\/\\w+",
  9325. 'id="download',
  9326. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9327. 'optional1--',
  9328. 'optional2',
  9329. "//a[contains(@href,'imagenetz.de')]");
  9330. }
  9331. if (GM_getValue("Check_uloz_dot_to_links", false))
  9332. {
  9333. addFileHost(
  9334. "uloz\.to",
  9335. 'limitedDownloadButton|Stáhnout pomalu',
  9336. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9337. 'optional1--',
  9338. 'optional2',
  9339. "//a[contains(@href,'uloz.to')]");
  9340. }
  9341. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9342. {
  9343. addFileHost(
  9344. "ulozto.net",
  9345. 'limitedDownloadButton|Stáhnout pomalu',
  9346. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9347. 'optional1--',
  9348. 'optional2',
  9349. "//a[contains(@href,'ulozto.net')]");
  9350. }
  9351. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9352. {
  9353. addFileHost(
  9354. "ulozto\.sk",
  9355. 'limitedDownloadButton|Stáhnout pomalu',
  9356. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9357. 'optional1--',
  9358. 'optional2',
  9359. "//a[contains(@href,'ulozto.sk')]");
  9360. }
  9361. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9362. {
  9363. addFileHost(
  9364. "ulozto\.cz",
  9365. 'limitedDownloadButton|Stáhnout pomalu',
  9366. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9367. 'optional1--',
  9368. 'optional2',
  9369. "//a[contains(@href,'ulozto.cz')]");
  9370. }
  9371. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9372. {
  9373. addFileHost(
  9374. "subyshare\.com\/\\w+",
  9375. 'id="method_free',
  9376. 'file was removed|class="err">|1s">404',
  9377. 'optional1--',
  9378. 'optional2',
  9379. "//a[contains(@href,'subyshare.com')]",
  9380. true);
  9381. }
  9382. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9383. {
  9384. addFileHost(
  9385. "fileshareup\.com\/\\w+",
  9386. 'download-timer|btn-free-element|content="Download file',
  9387. 'content="Error"|content="error|heading-1">Error<',
  9388. 'optional1--',
  9389. 'optional2',
  9390. "//a[contains(@href,'fileshareup.com')]");
  9391. }
  9392. if (GM_getValue("Check_mystore_dot_to_links", false))
  9393. {
  9394. addFileHost(
  9395. "mystore\.to\/\\w+",
  9396. 'Download File',
  9397. 'file not found',
  9398. 'optional1--',
  9399. 'optional2',
  9400. "//a[contains(@href,'mystore.to/dl')]");
  9401. }
  9402. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9403. {
  9404. addFileHost(
  9405. "usercloud\.net\/\\w+",
  9406. 'content="download|var seconds = 60|type="password',
  9407. 'content="error|report_file.html">',
  9408. 'optional1--',
  9409. 'optional2',
  9410. "//a[contains(@href,'usercloud.net')]");
  9411. }
  9412. if (GM_getValue("Check_workupload_dot_com_links", false))
  9413. {
  9414. addFileHost(
  9415. "workupload\.com\/\\w+",
  9416. 'content="Download|id="download"',
  9417. 'File not found|img/not-found.jpg|Error message',
  9418. 'optional1--',
  9419. 'optional2',
  9420. "//a[contains(@href,'workupload.com')]");
  9421. }
  9422. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9423. {
  9424. addFileHost(
  9425. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9426. 'class="download">',
  9427. 'class="error center',
  9428. 'optional1--',
  9429. 'optional2',
  9430. "//a[contains(@href,'storageserver.co.uk')]");
  9431. }
  9432. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9433. {
  9434. addFileHost(
  9435. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9436. '"kind": "file"',
  9437. '"error": "not_exists"',
  9438. 'optional1--',
  9439. 'optional2',
  9440. "//a[contains(@href,'cloud.mail.ru')]");
  9441. }
  9442. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9443. {
  9444. addFileHost(
  9445. "bdupload\.info\/\\w+",
  9446. 'class="downloadbtn">|id="downloadbtn"',
  9447. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9448. 'optional1--',
  9449. 'optional2',
  9450. "//a[contains(@href,'bdupload.info')]");
  9451. }
  9452. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9453. {
  9454. addFileHost(
  9455. "wayupload\.com\/\\w+",
  9456. 'class="nopay-btn gray"',
  9457. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9458. 'optional1--',
  9459. 'optional2',
  9460. "//a[contains(@href,'wayupload.com')]");
  9461. }
  9462. if (GM_getValue("Check_exbit_dot_net_links", false))
  9463. {
  9464. addFileHost(
  9465. "exbit\.net\/\\w+",
  9466. 'class="nopay-btn|href="/download/free/',
  9467. 'File not found',
  9468. 'optional1--',
  9469. 'optional2',
  9470. "//a[contains(@href,'exbit.net')]");
  9471. }
  9472. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9473. {
  9474. addFileHost(
  9475. "uploadocean\.com\/\\w+",
  9476. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9477. 'deleted.png"',
  9478. 'optional1--',
  9479. 'optional2',
  9480. "//a[contains(@href,'uploadocean.com')]");
  9481. }
  9482. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9483. {
  9484. addFileHost(
  9485. "fileflares\.com\/\\w+",
  9486. 'id="downloadbtn"',
  9487. '<div style="width:500px;text-align:left;">',
  9488. 'optional1--',
  9489. 'optional2',
  9490. "//a[contains(@href,'fileflares.com')]");
  9491. }
  9492. if (GM_getValue("Check_erafile_dot_com_links", false))
  9493. {
  9494. addFileHost(
  9495. "erafile\.com\/\\w+",
  9496. 'id="method_free',
  9497. '<div style="width:500px;text-align:left;">',
  9498. 'optional1--',
  9499. 'optional2',
  9500. "//a[contains(@href,'erafile.com')]");
  9501. }
  9502. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9503. {
  9504. addFileHost(
  9505. "suprafiles\.net\/\\w+",
  9506. 'name="method_free"',
  9507. 'File Not Found|style="width:1000px; text-align: left;">',
  9508. 'optional1--',
  9509. 'optional2',
  9510. "//a[contains(@href,'suprafiles.net')]");
  9511. }
  9512. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9513. {
  9514. addFileHost(
  9515. "upfiles\.net\/\\w+",
  9516. 'id="recaptcha2"|snail.png"',
  9517. 'Ten plik został usunięty.|style="margin-top:50px',
  9518. 'optional1--',
  9519. 'optional2',
  9520. "//a[contains(@href,'upfiles.net/f/')]");
  9521. }
  9522. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9523. {
  9524. addFileHost(
  9525. "dailyfiles\.net\/\\w+",
  9526. 'onclick="dwn',
  9527. '<title>Error',
  9528. 'optional1--',
  9529. 'optional2',
  9530. "//a[contains(@href,'dailyfiles.net')]");
  9531. }
  9532. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9533. {
  9534. addFileHost(
  9535. "littlebyte\.net\/\\w+",
  9536. '>Free download<|>Скачать медленно<',
  9537. 'images/dmca.png">',
  9538. 'optional1--',
  9539. 'optional2',
  9540. "//a[contains(@href,'littlebyte.net')]");
  9541. }
  9542. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9543. {
  9544. addFileHost(
  9545. "black\\-label\\.pro\/\\w+",
  9546. 'slow_download_button.png"|td><td title="',
  9547. 'STILL NEED CODE FOR DEAD LINKS',
  9548. 'optional1--',
  9549. 'optional2',
  9550. "//a[contains(@href,'black-label.pro')]");
  9551. } */
  9552. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9553. {
  9554. addFileHost(
  9555. "temp\\-share\\.com\/\\w+",
  9556. 'publickey',
  9557. 'STILL NEED CODE FOR DEAD LINKS',
  9558. 'optional1--',
  9559. 'optional2',
  9560. "//a[contains(@href,'temp-share.com')]");
  9561. }
  9562. if (GM_getValue("Check_filesha_dot_com_links", false))
  9563. {
  9564. addFileHost(
  9565. "filesha\.com\/\\w+",
  9566. '>Download Free<',
  9567. 'STILL NEED CODE FOR DEAD LINKS',
  9568. 'optional1--',
  9569. 'optional2',
  9570. "//a[contains(@href,'filesha.com')]");
  9571. }
  9572. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9573. {
  9574. addFileHost(
  9575. "ausfile\.com\/\\w+",
  9576. 'class="slow-download',
  9577. 'File Not Found',
  9578. 'optional1--',
  9579. 'optional2',
  9580. "//a[contains(@href,'ausfile.com')]");
  9581. }
  9582. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9583. {
  9584. addFileHost(
  9585. "upfile\.mobi\/\\w+",
  9586. 'class="download_button"',
  9587. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9588. 'optional1--',
  9589. 'optional2',
  9590. "//a[contains(@href,'upfile.mobi')]");
  9591. }
  9592. if (GM_getValue("Check_share_dot_az_links", false))
  9593. {
  9594. addFileHost(
  9595. "share\.az\/\\w+",
  9596. 'id="btn_download"',
  9597. 'File Not Found|We are sorry',
  9598. 'optional1--',
  9599. 'optional2',
  9600. "//a[contains(@href,'share.az')]");
  9601. }
  9602. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9603. {
  9604. addFileHost(
  9605. "partage-facile\.com",
  9606. 'class="title"><strong>',
  9607. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9608. 'optional--',
  9609. 'optional2--',
  9610. "//a[contains(@href,'partage-facile.com')]");
  9611. }
  9612. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9613. {
  9614. addFileHost(
  9615. "uploadify\.net\/\\w+",
  9616. 'loading_small.gif"',
  9617. '<title>Error -',
  9618. 'optional1--',
  9619. 'optional2',
  9620. "//a[contains(@href,'uploadify.net')]");
  9621. }
  9622. if (GM_getValue("Check_uploads_dot_to_links", false))
  9623. {
  9624. addFileHost(
  9625. "uploads\.to\/\\w+",
  9626. 'class="g-recaptcha',
  9627. 'File Not Found',
  9628. 'optional1--',
  9629. 'optional2',
  9630. "//a[contains(@href,'uploads.to')]");
  9631. }
  9632. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9633. {
  9634. addFileHost(
  9635. "crazyshare\.cc\/\\w+",
  9636. 'slow_download_button.png',
  9637. 'File Not Found',
  9638. 'optional1--',
  9639. 'optional2',
  9640. "//a[contains(@href,'crazyshare.cc')]");
  9641. }
  9642. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9643. {
  9644. addFileHost(
  9645. "fileshark\.pl\/\\w+",
  9646. 'Nazwa pliku / File name|class="title">Pobierz plik',
  9647. 'Nie znaleziono pliku w serwisie.',
  9648. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9649. 'optional2',
  9650. "//a[contains(@href,'fileshark.pl')]");
  9651. }
  9652. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9653. {
  9654. addFileHost(
  9655. "pobierz\.to\/\\w+",
  9656. 'class="download-timer',
  9657. 'Plik został usunięty.',
  9658. 'optional1--',
  9659. 'optional2',
  9660. "//a[contains(@href,'pobierz.to')]");
  9661. }
  9662. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9663. {
  9664. addFileHost(
  9665. "kingfile\.pl\/\\w+",
  9666. 'id="downloadBox',
  9667. 'Error 404 - File Not Found|Nie znaleziono pliku|Szukany plik nie jest już dostępny|Przykro nam – ale plik który chcesz pobrac zmienil|Przykro nam - ale plik który cholsz pobrać zmienił swój adres lub został usunięty',
  9668. 'optional1--',
  9669. 'optional2',
  9670. "//a[contains(@href,'kingfile.pl')]");
  9671. }
  9672. if (GM_getValue("Check_hotlink_dot_cc_links", false))
  9673. {
  9674. addFileHost(
  9675. "hotlink\.cc\/",
  9676. 'id="downloadbtn">|class="free"|id="counttext1"',
  9677. 'Error 404|Page not found',
  9678. 'optional1--',
  9679. 'optional2',
  9680. "//a[contains(@href,'hotlink.cc')]");
  9681. }
  9682. if (GM_getValue("Check_owndrives_dot_com_links", false))
  9683. {
  9684. addFileHost(
  9685. "owndrives\.com\/\\w+",
  9686. 'id="method_free"',
  9687. 'File Not Found',
  9688. 'optional1--',
  9689. 'optional2',
  9690. "//a[contains(@href,'owndrives.com')]");
  9691. }
  9692.  
  9693. }
  9694. //start here
  9695.  
  9696. //hosts with direct download, so they must be requested for headers only
  9697. function initFileHostsHeadersOnly()
  9698. {
  9699. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9700. {
  9701. var host = new Array(5);
  9702. host[0] = linkRegex;
  9703. host[1] = isAliveRegex;
  9704. host[2] = isDeadRegex;
  9705. host[4] = ispremRegex;
  9706. host[3] = xpathEx;
  9707. http_file_hosts_headers_only.push(host);
  9708. }
  9709. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9710. {
  9711. addFileHostHeadersOnly(
  9712. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9713. 'Connection: Keep-Alive',
  9714. 'Content-Length: 3857',
  9715. 'optional2',
  9716. "//a[contains(@href,'uloziste.com')]"
  9717. )
  9718. }
  9719. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9720. {
  9721. addFileHostHeadersOnly(
  9722. "filescdn\.com\/\\w+",
  9723. 'Connection: keep-alive',
  9724. 'Company</Title>',
  9725. 'optional2',
  9726. "//a[contains(@href,'filescdn.com')]"
  9727. )
  9728. } */
  9729. if (GM_getValue("Check_adrive_dot_com_links", false))
  9730. {
  9731. addFileHostHeadersOnly(
  9732. "adrive\\.com\/public\/\\w+",
  9733. 'Connection: keep-alive',
  9734. 'orig_ref=deleted',
  9735. 'optional2',
  9736. "//a[contains(@href,'adrive.com')]"
  9737. )
  9738. }
  9739. }
  9740.  
  9741. //CustomRules
  9742. //functions add...Host copied here
  9743. function addObsoleteHost(linkRegex, xpathEx)
  9744. {
  9745. var host = new Array(2);
  9746. host[0] = linkRegex;
  9747. host[1] = xpathEx;
  9748. http_file_hosts_obsolete.push(host);
  9749. }
  9750. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9751. {
  9752. var host = new Array(7);
  9753. host[0] = linkRegex;
  9754. host[1] = isAliveRegex;
  9755. host[2] = isDeadRegex;
  9756. host[3] = isUnavaRegex;
  9757. host[4] = xpathEx;
  9758. tryLoop ? host[5] = true : host[5] = false;
  9759. host[6] = ispremRegex;
  9760. http_file_hosts.push(host);
  9761. }
  9762. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9763. {
  9764. var host = new Array(5);
  9765. host[0] = linkRegex;
  9766. host[1] = isAliveRegex;
  9767. host[2] = isDeadRegex;
  9768. host[3] = xpathEx;
  9769. host[4] = ispremRegex;
  9770. http_file_hosts_headers_only.push(host);
  9771. }
  9772. //takes a fully built rules array and adds the rules to WARLC
  9773. function applyCustomRules(customRules)
  9774. {
  9775. if (!customRules) return;
  9776. var rules, r, i;
  9777. rules = customRules.rules;
  9778. for (i = 0 ; i < rules.length ; i++)
  9779. {
  9780. r = rules[i];
  9781. if (r.enabled)
  9782. {
  9783. switch (r.type)
  9784. {
  9785. case 'single':
  9786. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9787. break;
  9788. case 'headers':
  9789. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9790. break;
  9791. case 'obsolete':
  9792. addObsoleteHost(r.urlregex, r.xpath)
  9793. break;
  9794. }
  9795. }
  9796. }
  9797. }
  9798.  
  9799.  
  9800. function initFileHostsCustom()
  9801. {
  9802. if (Custom_rules && Custom_rules_text)
  9803. {
  9804. var msg = '';
  9805. if (newVersion)
  9806. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9807. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9808. msg = '60 or more days have passed since this notification.\n\n';
  9809. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9810. {
  9811. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9812. msg +=
  9813. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9814. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9815. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9816. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9817. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9818. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9819. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9820. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9821. setTimeout(function(){alert(msg)},0);
  9822. }
  9823. var customRules = parseCustomRules(Custom_rules_text);
  9824. if (customRules.warning || customRules.error)
  9825. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9826. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9827. JSON.stringify(customRules.info, null, ' '));
  9828. applyCustomRules(customRules);
  9829. }
  9830. }
  9831. //end of CustomRules processing
  9832.  
  9833.  
  9834.  
  9835. } //end of function start
  9836.  
  9837.  
  9838.  
  9839. function initClipBoardTools()
  9840. {
  9841. unsafeWindow.copyToClipboard = function(text)
  9842. {
  9843. try
  9844. {
  9845. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9846.  
  9847. var str = Components.classes["@mozilla.org/supports-string;1"].
  9848. createInstance(Components.interfaces.nsISupportsString);
  9849. if (!str) return false;
  9850.  
  9851. str.data = text;
  9852.  
  9853. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9854. createInstance(Components.interfaces.nsITransferable);
  9855. if (!trans) return false;
  9856.  
  9857. trans.addDataFlavor("text/unicode");
  9858. trans.setTransferData("text/unicode", str, text.length * 2);
  9859.  
  9860. var clipid = Components.interfaces.nsIClipboard;
  9861. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9862. if (!clip) return false;
  9863.  
  9864. clip.setData(trans, null, clipid.kGlobalClipboard);
  9865. } catch (e) {
  9866. GM_log("Error copyToClipboard : " + e);
  9867. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9868. }
  9869. }
  9870. }
  9871.  
  9872.  
  9873.  
  9874. //CustomRules
  9875.  
  9876. function escapeRegex(str)
  9877. {
  9878. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9879. }
  9880.  
  9881.  
  9882. //called internally from parseCustomRules.
  9883. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9884. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9885. function makeCustomRule(rule)
  9886. {
  9887. function makeMatchRegex(arrmatch)
  9888. {
  9889. return escapeRegex(arrmatch.join('\n'))
  9890. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9891. .replace(/\n/g,'|'); //join together
  9892. }
  9893. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9894. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9895. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9896. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9897. if (rule.baseurl)
  9898. {
  9899. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9900. for (i = 0 ; i < len ; i++)
  9901. {
  9902. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9903. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9904. {
  9905. 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'])
  9906. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9907. }
  9908. else //baseurl in the form: example.com/xxx
  9909. {
  9910. xpath.push(m[0]);
  9911. urlregex.push(escapeRegex(m[0]) + '.');
  9912. }
  9913. }
  9914. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9915. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9916. }
  9917. return rule;
  9918. } //function makeCustomRule
  9919.  
  9920.  
  9921. /*
  9922. Takes a string containing custom link checking rules.
  9923. Returns an object with fields:
  9924. info - contains notes, warnings and errors found during parsing
  9925. rules - the array of custom rules
  9926. note, warning, error - number of each of them found during parsing
  9927. Format of the input string:
  9928. One command per line. Command format: @keyword parameter
  9929. Keywords:
  9930. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9931. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9932. These keywords can be multiple (any of them will work):
  9933. @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...)
  9934. @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+
  9935. @alivelink, @deadlink - example links
  9936. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9937. Lines starting with // and empty lines are ignored.
  9938. Invalid parameters generate errors and those lines are skipped.
  9939. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9940. Example:
  9941. @customrule filehost
  9942. @baseurl filehost.com/download/
  9943. @baseurl filehost2. com net /d?=
  9944. @alivematch id="download">
  9945. @deadmatch File not found
  9946. @deadmatch File deleted
  9947. */
  9948. function parseCustomRules(rulesStr)
  9949. {
  9950. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9951. function addInfo(type, msg, ln){
  9952. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9953. customRules[type]++;
  9954. }
  9955. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9956. if (!lines) return null;
  9957. lines.push('@#customrule _'); //to save the last rule
  9958. var m, linecount = lines.length;
  9959. var keyword, param, constr, rule, err;
  9960. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9961. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9962. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9963. var constraints = {
  9964. 'baseurl': {
  9965. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9966. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9967. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9968. 'alivematch': {
  9969. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9970. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9971. 'deadmatch': {
  9972. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9973. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9974. 'unavamatch': {
  9975. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9976. 'alivelink': {
  9977. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9978. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9979. 'deadlink': {
  9980. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9981. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9982. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9983. };
  9984. for (linenum = 0 ; linenum < linecount ; linenum++)
  9985. {
  9986. //capturing groups: 1 23 4 5 6
  9987. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9988. if (m)
  9989. {
  9990. if (m[1] || !m[2])
  9991. continue; // ignore empty lines and lines starting with //
  9992. keyword = (m[4] || m[2]).toLowerCase();
  9993. param = m[6];
  9994. if (keyword == 'customrule')
  9995. {
  9996. //save the current rule if all required fields are provided
  9997. if (rule)
  9998. {
  9999. err = false;
  10000. $.each(constraints, function(kw, constraint){
  10001. var l, constr = constraint[rule.type];
  10002. if (constr)
  10003. {
  10004. l = rule[kw] ? rule[kw].length : 0;
  10005. if (l < constr.min || l > constr.max)
  10006. {
  10007. 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);
  10008. err = true;
  10009. }
  10010. }
  10011. });
  10012. if (!err)
  10013. customRules.rules.push(makeCustomRule(rule));
  10014. }
  10015. //start a new rule
  10016. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  10017. {
  10018. rule = {
  10019. 'enabled': !m[3],
  10020. 'type': m[5] ? m[5].toLowerCase() : 'single',
  10021. 'name': param
  10022. };
  10023. }
  10024. else
  10025. {
  10026. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  10027. rule = null;
  10028. }
  10029. }
  10030. else //good line format, but keyword other than customrule
  10031. {
  10032. if (!rule)
  10033. {
  10034. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10035. continue;
  10036. }
  10037. if (constraints[keyword])
  10038. {
  10039. constr = constraints[keyword][rule.type];
  10040. if (constr)
  10041. {
  10042. if (constr.paramRE && !constr.paramRE.test(param))
  10043. {
  10044. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10045. continue;
  10046. }
  10047. }
  10048. else
  10049. {
  10050. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10051. continue;
  10052. }
  10053. }
  10054. //line OK, save
  10055. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10056. }
  10057. } //if (m)
  10058. else
  10059. addInfo('warning', 'Unknown line format. Line skipped.');
  10060. } //for loop
  10061. return customRules;
  10062. } //function parseCustomRules
  10063.  
  10064.  
  10065. /* ********************UPDATES********************
  10066.  
  10067. May 12, 2017
  10068. Version 1.3.9.0
  10069. excludes google.pl
  10070. added code to fileshark.pl
  10071.  
  10072. May 12, 2017
  10073. Version 1.3.9.0
  10074. added owndrives.com
  10075.  
  10076. May 12, 2017
  10077. Version 1.3.8.9
  10078. added hotlink.cc
  10079.  
  10080. May 09, 2017
  10081. Version 1.3.8.8
  10082. added code for kingfile.pl
  10083. added code for catshare.net
  10084.  
  10085. May 08, 2017
  10086. Version 1.3.8.7
  10087. added file-upload.com
  10088.  
  10089. May 04, 2017
  10090. Version 1.3.8.6
  10091. fixed rapidgator
  10092.  
  10093. April 30, 2017
  10094. Version 1.3.8.5
  10095. fixed rapidgator
  10096.  
  10097. April 30, 2017
  10098. Version 1.3.8.4
  10099. added code for kingfile.pl
  10100.  
  10101. April 30, 2017
  10102. Version 1.3.8.3
  10103. changed code for kingfile.pl
  10104.  
  10105. April 29, 2017
  10106. Version 1.3.8.2
  10107. added code to kingfile.pl
  10108.  
  10109. April 29, 2017
  10110. Version 1.3.8.1
  10111. added code to kingfile.pl
  10112.  
  10113. April 28, 2017
  10114. Version 1.3.8.0
  10115. fileshark.pl
  10116. kingfile.pl
  10117. pobierz.to
  10118.  
  10119. April 26, 2017
  10120. Version 1.3.7.9
  10121. fixed 1f.al
  10122.  
  10123. April 16, 2017
  10124. Version 1.3.7.8
  10125. added crazyshare.cc
  10126.  
  10127. April 16, 2017
  10128. Version 1.3.7.7
  10129. fixed uploadgig.com
  10130.  
  10131. April 13, 2017
  10132. Version 1.3.7.6
  10133. added neodrive.co to obsolete hosts
  10134.  
  10135. April 07, 2017
  10136. Version 1.3.7.5
  10137. added french code for rg premium links
  10138.  
  10139. April 05, 2017
  10140. Version 1.3.7.4
  10141. added oload.tv
  10142.  
  10143. March 30, 2017
  10144. Version 1.3.7.3
  10145. added uploads.to
  10146.  
  10147. March 20, 2017
  10148. Version 1.3.7.2
  10149. added black-label.pro to obsolete hosts
  10150.  
  10151. March 13, 2017
  10152. Version 1.3.7.1
  10153. fixed filescdn.com
  10154.  
  10155. February 27, 2017
  10156. Version 1.3.7.0
  10157. fixed openload.co
  10158.  
  10159. February 26, 2017
  10160. Version 1.3.6.9
  10161. fixed drive.google.com
  10162. fixed uptobox.com (by dodoxp)
  10163.  
  10164. February 25, 2017
  10165. Version 1.3.6.8
  10166. added uploading.com to obsolete hosts
  10167.  
  10168. February 24, 2017
  10169. Version 1.3.6.7
  10170. cloudzilla.to added to obsolete hosts
  10171.  
  10172. February 23, 2017
  10173. Version 1.3.6.6
  10174. uploadify.net
  10175.  
  10176. February 22, 2017
  10177. Version 1.3.6.5
  10178. fixed katfile.com
  10179.  
  10180. February 12, 2017
  10181. Version 1.3.6.3
  10182. added junocloud.me to obsolete hosts
  10183.  
  10184. January 12, 2017
  10185. Version 1.3.6.2
  10186. added share.az & upfile.mobi
  10187.  
  10188. January 07, 2017
  10189. Version 1.3.6.1
  10190. added ausfile.com
  10191.  
  10192. January 05, 2017
  10193. Version 1.3.6.0
  10194. removed uploadable.ch from obsolete hosts
  10195.  
  10196. January 04, 2017e
  10197.  
  10198. December 31, 2016
  10199. Version 1.3.5.8
  10200. disabled on pizzaonline.dominos
  10201.  
  10202. December 31, 2016
  10203. Version 1.3.5.7
  10204. added uploadable.ch to obsolete hosts
  10205.  
  10206. December 30, 2016
  10207. Version 1.3.5.6
  10208. restored kingfiles.net
  10209.  
  10210. December 14, 2016
  10211. Version 1.3.5.5
  10212. fixed some 1fichier links not checking (yurii)
  10213.  
  10214. December 01, 2016
  10215. Version 1.3.5.4
  10216. added temp-share.com & filesha.com
  10217.  
  10218. November 30, 2016
  10219. Version 1.3.5.3
  10220. fixed mexashare.com not detecting some dead links
  10221.  
  10222. November 29, 2016
  10223. Version 1.3.5.2
  10224. added black-label.pro (live links only)
  10225.  
  10226. November 27, 2016
  10227. Version 1.3.5.1
  10228. made changes to filefactory
  10229.  
  10230. November 23, 2016
  10231. Version 1.3.5.0
  10232. added megashares.com to obsolete hosts
  10233. fixed letitbit not showing as obsolete
  10234. added littlebyte.net
  10235.  
  10236. November 22, 2016
  10237. Version 1.3.4.9
  10238. added code for live links to rapidgator
  10239. added dailyfiles.net
  10240. added upfiles.net
  10241. added multiup.eu
  10242.  
  10243. November 17, 2016
  10244. Version 1.3.4.8
  10245. fixed filefactory, again
  10246.  
  10247. November 17, 2016
  10248. Version 1.3.4.7
  10249. fixed filefactory folders
  10250.  
  10251. November 15, 2016
  10252. Version 1.3.4.6
  10253. fixed filefactory
  10254.  
  10255. November 14, 2016
  10256. Version 1.3.4.5
  10257. fixed rapidgator
  10258. fixed filefactory folders
  10259.  
  10260.  
  10261. November 13, 2016
  10262. Version 1.3.4.4
  10263. fixed problem with drive.google.com
  10264. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10265.  
  10266. November 06, 2016
  10267. Version 1.3.4.3
  10268. added to obsolete hosts (by love buzz)
  10269. 4up.me
  10270. a nonfiles.com
  10271. axifile.com
  10272. creafile.net
  10273. demo.ovh.eu
  10274. filesin.com
  10275. file swap.com
  10276. gulfup.com
  10277. hexupload.com
  10278. hugefiles.net
  10279. jumbofiles.com
  10280. kingfiles.net
  10281. letitbit.net
  10282. lolabits.es
  10283. nowdownload.ch
  10284. openfile.ru
  10285. radicalshare.com
  10286. remixshare.com
  10287. storefiles.co
  10288. toutbox.fr
  10289. uploadbaz.com
  10290. uploadingit.com
  10291. verzend.be
  10292. vidplay.net
  10293. vidxden.com
  10294. xfileload.com
  10295.  
  10296. November 04, 2016
  10297. Version 1.3.4.2
  10298. added french code for rapidgator premium links
  10299. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10300.  
  10301. November 03, 2016
  10302. Version 1.3.4.1
  10303. added Portuguese code for rapidgator premium links
  10304. added suprafiles.net
  10305.  
  10306. November 02, 2016
  10307. Version 1.3.4.0
  10308. fixed depositfiles not detecting depositfiles.com/de links
  10309.  
  10310. October 27, 2016
  10311. Version 1.3.3.9
  10312. fixed uploaded.net not detecting some dead links
  10313.  
  10314. October 24, 2016
  10315. Version 1.3.3.8
  10316. added more french code for upload.af dead links
  10317.  
  10318. October 23, 2016
  10319. Version 1.3.3.7
  10320. added french for upload.af dead links
  10321.  
  10322. October 17, 2016
  10323. Version 1.3.3.6
  10324. fixed error (by Yurii)
  10325.  
  10326. October 17, 2016
  10327. Version 1.3.3.5
  10328. fixed file.al (by Yurii)
  10329.  
  10330. October 16, 2016
  10331. Version 1.3.3.4
  10332. test
  10333.  
  10334. October 11, 2016
  10335. Version 1.3.3.3
  10336. fixed subyshare.com not detecting some dead links
  10337. fixed mexashare.com
  10338. fixed pornfile.cz
  10339.  
  10340. October 10, 2016
  10341. Version 1.3.3.2
  10342. added fileflares.com
  10343. added erafile.com
  10344. added loop to subyshare.com & rockfile.eu
  10345.  
  10346. September 26, 2016
  10347. Version 1.3.3.1
  10348. added uploadocean.com
  10349.  
  10350. September 25, 2016
  10351. Version 1.3.3.0
  10352. added exbit.net
  10353.  
  10354. September 25, 2016
  10355. Version 1.3.2.9
  10356. fixed uptobox
  10357. fixed google (by kubbbie)
  10358.  
  10359. September 23, 2016
  10360. Version 1.3.2.8
  10361. added danish to rapidgator
  10362.  
  10363. September 22, 2016
  10364. Version 1.3.2.7
  10365. added wayupload.com
  10366.  
  10367. September 18, 2016
  10368. Version 1.3.2.6
  10369. added Portuguese language to rapidgator
  10370.  
  10371. September 15, 2016
  10372. Version 1.3.2.5
  10373. added languages to rapidgator
  10374. french
  10375. german
  10376. spanish
  10377. Italian
  10378. russian
  10379. polish
  10380. dutch
  10381. czech
  10382. chinese
  10383. japanese
  10384.  
  10385. September 14, 2016
  10386. Version 1.3.2.4
  10387. fixed spaceforfiles.com
  10388.  
  10389. September 09, 2016
  10390. Version 1.3.2.3
  10391. added bdupload.info
  10392. added german & deutsch language to workupload.com
  10393.  
  10394. September 08, 2016
  10395. Version 1.3.2.2
  10396. added...
  10397. storageserver.co.uk
  10398. cloud.mail.ru
  10399. fixed depositfiles
  10400.  
  10401. September 08, 2016
  10402. Version 1.3.2.1
  10403. added workupload.com
  10404.  
  10405. September 04, 2016
  10406. Version 1.3.2.0
  10407. made changes to euroshare.eu
  10408.  
  10409. September 03, 2016
  10410. Version 1.3.1.9
  10411. added usercloud.net
  10412. made changes to euroshare.eu
  10413.  
  10414. August 31, 2016
  10415. Version 1.3.1.8
  10416. fixed uptobox.com
  10417.  
  10418. August 30, 2016
  10419. Version 1.3.1.7
  10420. made changes to euroshare.eu
  10421.  
  10422. August 29, 2016
  10423. Version 1.3.1.6
  10424. made changes to data.hu
  10425.  
  10426. August 29, 2016
  10427. Version 1.3.1.5
  10428. fixed euroshare.eu not detecting dead links
  10429.  
  10430. August 23, 2016
  10431. Version 1.3.1.4
  10432. added ulozto.sk
  10433. added ulozto.cz
  10434.  
  10435. August 19, 2016
  10436. Version 1.3.1.3
  10437. fixed euroshare.eu
  10438. fixed 2share.com
  10439.  
  10440. August 17, 2016
  10441. Version 1.3.1.2
  10442. added french code for 1fichier
  10443.  
  10444. August 16, 2016
  10445. Version 1.3.1.1
  10446. fix for 1fichier folder links, by yurii
  10447.  
  10448. August 15, 2016
  10449. Version 1.3.1.0
  10450. another fix for 1fichier
  10451. added mystore.to
  10452.  
  10453. August 12, 2016
  10454. Version 1.3.0.9
  10455. fixed 1fichier
  10456.  
  10457. August 01, 2016
  10458. Version 1.3.0.8
  10459. fixed tezfiles.com not detecting some premium links
  10460.  
  10461. July 24, 2016
  10462. Version 1.3.0.7
  10463. added fileshareup.com
  10464.  
  10465. July 17, 2016
  10466. Version 1.3.0.6
  10467. added subyshare.com
  10468.  
  10469. july 10, 2016
  10470. Version 1.3.0.5
  10471. fixed ulozto.net
  10472.  
  10473. july 07, 2016
  10474. Version 1.3.0.4
  10475. fixed uloz.to
  10476.  
  10477. july 07, 2016
  10478. Version 1.3.0.3
  10479. added imagenetz.de
  10480.  
  10481. June 23, 2016
  10482. Version 1.3.0.2
  10483. excluded nexcess.net
  10484.  
  10485. June 20, 2016
  10486. Version 1.3.0.1
  10487. added daofile.com
  10488.  
  10489. June 16, 2016
  10490. Version 1.3.0.0
  10491. added mexashare.com
  10492.  
  10493. June 16, 2016
  10494. Version 1.2.9.9
  10495. added novafile.com
  10496. added uploadgig.com
  10497.  
  10498. June 15, 2016
  10499. Version 1.2.9.8
  10500. fixed upload.af
  10501.  
  10502. June 10, 2016
  10503. Version 1.2.9.7
  10504. added alltu.eu
  10505.  
  10506. June 09, 2016
  10507. Version 1.2.9.6
  10508. added code for french language to rapidgator.net & rg.to
  10509.  
  10510. June 04, 2016
  10511. Version 1.2.9.5
  10512. added upnito.sk
  10513.  
  10514. May 31, 2016
  10515. Version 1.2.9.4
  10516. fixed mega.co (by yurii)
  10517.  
  10518. May 31, 2016
  10519. Version 1.2.9.3
  10520. code cleanup
  10521.  
  10522. May 27, 2016
  10523. Version 1.2.9.2
  10524. added filesin.space
  10525.  
  10526. May 27, 2016
  10527. Version 1.2.9.1
  10528. added
  10529. filescdn.com
  10530. bankupload.com
  10531. katfile.com
  10532.  
  10533. May 18, 2016
  10534. Version 1.2.9.0
  10535. added warped.co to obsolete hosts
  10536.  
  10537. May 17, 2016
  10538. Version 1.2.8.9
  10539. fixed mega.nz
  10540.  
  10541. May 16, 2016
  10542. Version 1.2.8.8
  10543. added to obsolete hosts
  10544. fileband.com
  10545. filecloud.cc
  10546. filesmelt.com
  10547. goldbytez.com
  10548. hulkshare.com
  10549. idup.in
  10550. loudupload.net
  10551. muchshare.net
  10552. myupload.dk
  10553. nekaka.com
  10554. netkups.com
  10555. plunder.com
  10556. uploads.xxx
  10557. uploadspace.pl
  10558. xkeepfile.com
  10559.  
  10560. May 16, 2016
  10561. Version 1.2.8.7
  10562. added upnito.sk to obsolete hosts
  10563.  
  10564. May 15, 2016
  10565. Version 1.2.8.6
  10566. fixed uploading.site
  10567.  
  10568. May 15, 2016
  10569. Version 1.2.8.5
  10570. added oload.net
  10571.  
  10572. May 14, 2016
  10573. Version 1.2.8.4
  10574. added uploading.site
  10575.  
  10576. May 13, 2016
  10577. Version 1.2.8.3
  10578. added uploadc.ch
  10579. fixed vidspot.net
  10580.  
  10581. May 13, 2016
  10582. Version 1.2.8.2
  10583. added keepshare.net
  10584.  
  10585. May 11, 2016
  10586. Version 1.2.8.1
  10587. added uploadserv.com
  10588.  
  10589. May 09, 2016
  10590. Version 1.2.8.0
  10591. fixed upstore.net & upsto.re
  10592. added 24uploading.com to obsolete hosts
  10593.  
  10594. May 06, 2016
  10595. Version 1.2.7.9
  10596. added storagon.com to obsolete hosts
  10597. fixed worldbytez.com
  10598.  
  10599. May 02, 2016
  10600. Version 1.2.7.8
  10601. added myfiles.onl
  10602.  
  10603. april 28, 2016
  10604. Version 1.2.7.7
  10605. fixed bytewhale.com
  10606.  
  10607. april 27, 2016
  10608. Version 1.2.7.6
  10609. fixed rapidgator not detecting some premium links.
  10610.  
  10611. april 27, 2016
  10612. Version 1.2.7.5
  10613. added jeodrive.com
  10614.  
  10615. april 26, 2016
  10616. Version 1.2.7.4
  10617. added sanshare.com to obsolete hosts
  10618.  
  10619. april 26, 2016
  10620. Version 1.2.7.3
  10621. fixed vidspot.net
  10622.  
  10623. april 26, 2016
  10624. Version 1.2.7.2
  10625. added upx.nz
  10626.  
  10627. april 25, 2016
  10628. Version 1.2.7.1
  10629. added rapidfilehost.com to obsolete hosts
  10630. fixed bitster.cz
  10631.  
  10632. april 12, 2016
  10633. Version 1.2.7.0
  10634. fixed rapidgator not detecting some premium links.
  10635.  
  10636. april 11, 2016
  10637. Version 1.2.6.9
  10638. changed code for ncrypt.in
  10639.  
  10640. april 07, 2016
  10641. Version 1.2.6.8
  10642. added fileinz.com to obsolete hosts.
  10643.  
  10644. april 06, 2016
  10645. Version 1.2.6.7
  10646. added sharingmaster.com to obsolete hosts.
  10647.  
  10648. april 05, 2016
  10649. Version 1.2.6.6
  10650. added 4upfiles.com & elffiles.com to obsolete hosts
  10651.  
  10652. april 03, 2016
  10653. Version 1.2.6.5
  10654. updates to configuration page
  10655.  
  10656. March 31, 2016
  10657. Version 1.2.6.4
  10658. added code for tampermonkey 4.0 compatibility
  10659.  
  10660. March 31, 2016
  10661. Version 1.2.6.3
  10662. fixed uloz.to
  10663. fixed copy dead links to clipboard feature
  10664. added copy live links to clipboard feature.
  10665.  
  10666. March 24, 2016
  10667. Version 1.2.6.2
  10668. changed made to nitroflare. (yurri)
  10669.  
  10670. March 20, 2016
  10671. Version 1.2.6.1
  10672. fixed rapidgator
  10673. fixed dfiles
  10674. fixed dl.free.fr
  10675. fixed nitroflare.com (Fixed by Yurii)
  10676.  
  10677. March 15, 2016
  10678. Version 1.2.6.0
  10679. fixed rapidgator.net
  10680. fixed uploaded.net
  10681.  
  10682. March 13, 2016
  10683. Version 1.2.5.9
  10684. added
  10685. uploads.ws
  10686. upl.me
  10687. clicknupload.link
  10688. added fileover.net to obsolete hosts
  10689. fixed kingfiles.net
  10690.  
  10691. March 09, 2016
  10692. Version 1.2.5.8
  10693. added kingfiles.net to obsolete hosts
  10694. fixed 4upld.com/expressleech.com
  10695.  
  10696. March 08, 2016
  10697. Version 1.2.5.7
  10698. fixed solidfiles.com
  10699.  
  10700. March 01, 2016
  10701. Version 1.2.5.6
  10702. added filespace.com
  10703. fixed depositfiles (by yurii)
  10704.  
  10705. February 29, 2016
  10706. Version 1.2.5.5
  10707. made change to keep2share
  10708.  
  10709. February 28, 2016
  10710. Version 1.2.5.4
  10711. removed down4files.com from obsolete hosts.
  10712.  
  10713. February 26, 2016
  10714. Version 1.2.5.3
  10715. fixed userscloud.com
  10716.  
  10717. February 24, 2016
  10718. Version 1.2.5.2
  10719. added yandex.com
  10720. fixed datafile.com
  10721.  
  10722. February 22, 2016
  10723. Version 1.2.5.1
  10724. added bigfile.to
  10725.  
  10726. February 20, 2016
  10727. Version 1.2.5.0
  10728. added abelhas.pt
  10729.  
  10730. February 18, 2016
  10731. Version 1.2.4.9
  10732. made change to uptobox
  10733.  
  10734. February 17, 2016
  10735. Version 1.2.4.8
  10736. fixed yadi.sk
  10737.  
  10738. February 16, 2016
  10739. Version 1.2.4.7
  10740. fixed datafile.com
  10741. fixed filecad.com
  10742. added filecore.co & filestorm.to to obsolete hosts
  10743. added upload.af, filedwon.in & uplod.it
  10744.  
  10745. February 15, 2016
  10746. Version 1.2.4.6
  10747. fixed kumpulbagi.id
  10748. added sangfile.com to obsolete hosts
  10749.  
  10750. February 14, 2016
  10751. Version 1.2.4.5
  10752. fixed yandex.ru
  10753.  
  10754. February 13, 2016
  10755. Version 1.2.4.4
  10756. added lunaticfiles.com.
  10757.  
  10758. February 09, 2016
  10759. Version 1.2.4.3
  10760. added file.up09.com.
  10761.  
  10762. February 09, 2016
  10763. Version 1.2.4.2
  10764. tezfiles.com premium links now detected.
  10765.  
  10766. February 09, 2016
  10767. Version 1.2.4.1
  10768. added seenupload.com to obsolete hosts
  10769. fixed 180upload.com to show obsolete
  10770.  
  10771. February 08, 2016
  10772. Version 1.2.4.0
  10773. added tusfiles.com
  10774. added filesupload.org
  10775. added gigasize.com
  10776. added filecad.com
  10777. fixed filecloud.io
  10778. added uploadnet.co to obsolete hosts
  10779.  
  10780. February 07,2016
  10781. Vession 1.2.3.9
  10782. fixed depositfiles.com folders
  10783. fixed turbobit.net folders
  10784.  
  10785. February 06, 2016
  10786. Version 1.2.3.8
  10787. fixed 1fichier false dead links
  10788.  
  10789. February 04, 2106
  10790. Version 1.2.3.7
  10791. added geupload and lenfile to obsolete hosts
  10792. fixed kyc.pm/depfile
  10793.  
  10794. February 03, 2016
  10795. Version 1.2.3.6
  10796. fixed some nitroflare.com dead links not being detected
  10797.  
  10798. February 01, 2016
  10799. Version 1.2.3.5
  10800. script moved to new site
  10801.  
  10802. January 20, 2016
  10803. Version 1.2.3.3
  10804. fixed some rapidgator premium link not being detected
  10805.  
  10806. January 17, 2016
  10807. Version 1.2.3.2
  10808. added bytewhale.com
  10809. added rapidrar.com
  10810.  
  10811. Version 1.2.3.1
  10812. added 180upload.com to obsolete hosts
  10813. fixed hellspy.com
  10814. added dinoshare.cz,
  10815.  
  10816. January 13, 2016
  10817. Version 1.2.3.0
  10818. added rapidu.net
  10819. added uploadboy.me
  10820. fixed euroshare.eu
  10821.  
  10822. January 12, 2016
  10823. Version 1.2.2.9
  10824. added kb.simple-aja.info
  10825.  
  10826. January 10, 2016
  10827. Version 1.2.2.8
  10828. made changes to fastshare.cz
  10829.  
  10830. January 10, 2016
  10831. Version 1.2.2.7
  10832. fixed uptobox.com
  10833.  
  10834. January 09, 2016
  10835. Version 1.2.2.6
  10836. datoteke.com now detects premium links
  10837. fixed turbobit.net
  10838. fixed uptobox.com
  10839. added pornfile.cz
  10840. added pornoid.cz
  10841. added file-share.top
  10842. added bitster.cz
  10843.  
  10844. January 05, 2016
  10845. Version 1.2.2.5
  10846. fixed salefiles.com
  10847. fixed ozofile.com
  10848.  
  10849. January 04, 2016
  10850. Version 1.2.2.4
  10851. added sharehost.eu
  10852.  
  10853. December 30, 2015
  10854. Version 1.2.2.3
  10855. added tezfiles.com
  10856.  
  10857. December 28, 2015
  10858. Version 1.2.2.2
  10859. fixed some k2s & fboom dead link not getting detected
  10860. fixed some k2s premium links not getting detected.
  10861. fixed ssh.yt not detecting some dead links
  10862. fixed ncrypt.in dead links showing yellow
  10863.  
  10864. December 20, 2015
  10865. Version 1.2.2.0
  10866. added datoteke.com
  10867.  
  10868. December 19, 2015
  10869. Version 1.2.1.9
  10870. added secured.in & linksave.in to obsolete hosts
  10871.  
  10872. December 17, 2015
  10873. Version 1.2.1.8
  10874. added german for dead links to secureupload.eu.
  10875.  
  10876. December 17, 2015
  10877. Version 1.2.1.7
  10878. added french for dead links to secureupload.eu.
  10879. fixed problem with tooltip display.
  10880.  
  10881. December 13, 2015
  10882. Version 1.2.1.6
  10883. added netload.me & fileparadox.in to obsolete hosts
  10884.  
  10885. December 09, 2015
  10886. Version 1.2.1.5
  10887. added rapidsonic.com & fileparadox.com to obsolete hosts
  10888.  
  10889. December 04, 2015
  10890. Version 1.2.1.4
  10891. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10892.  
  10893. December 03, 2015
  10894. Version 1.2.1.3
  10895. added dailyuploads.net
  10896.  
  10897. December 02, 2015
  10898. Version 1.2.1.2
  10899. fixed hitfile.net
  10900. fixed kingfiles.net
  10901.  
  10902. November 30, 2015
  10903. Version 1.2.1.1
  10904. added filepost.com to obsolete hosts
  10905. added devilshare.net
  10906.  
  10907. November 28, 2015
  10908. Version 1.2.1.0
  10909. fixed datafile.com not detecting some premium links.
  10910.  
  10911. November 25, 2015
  10912. Version 1.2.0.9
  10913. fixed filejoker.net
  10914. fixed toutbox.fr
  10915. fixed nowvideo.sx
  10916.  
  10917. November 24, 2015
  10918. Version 1.2.0.8
  10919. fixed openload.io
  10920.  
  10921. November 20, 2015
  10922. Version 1.2.0.7
  10923. //added file.al
  10924. //fixed nitroflare.com false live links
  10925. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10926.  
  10927. November 17, 2015
  10928. Version 1.2.0.6
  10929. added clicknupload.me
  10930.  
  10931. November 09, 2015
  10932. Version 1.2.0.5
  10933. fixed some depfile premium links not being detected
  10934.  
  10935. November 08, 2015
  10936. Version 1.2.0.4
  10937. fixed some rapidgator premium links not being detected
  10938. fixed doraupload.com
  10939.  
  10940. November 08, 2015
  10941. Version 1.2.0.3
  10942. fixed uploaded false premium
  10943.  
  10944. November 07, 2015
  10945. Version 1.2.0.2
  10946. fixed redbunker.net
  10947.  
  10948. November 05, 2015
  10949. Version 1.2.0.1
  10950. fixed app.box.com
  10951. added multiup.org (does not detect all dead links)
  10952.  
  10953. November 01, 2015
  10954. Version 1.2.0.0
  10955. added more languages to rockfile and 1fichier
  10956.  
  10957. November 01, 2015
  10958. Version 1.1.9.9
  10959. fixed rockfile.eu
  10960. changed 1fichier code (Thanks yurri)
  10961. added to obsolete hosts... (Thanks Love Buzz)
  10962. burnupload.com
  10963. cramit.in
  10964. cramitin.net
  10965. down4files.com
  10966. edoc.com
  10967. jumbofile.net
  10968. krotix.net
  10969. migahost.com
  10970. movreel.com
  10971. netload.in
  10972. newfileland.com
  10973. quickshare.cz
  10974.  
  10975. October 30, 2015
  10976. Version 1.1.9.8
  10977. added alfafile.net
  10978.  
  10979. October 26, 2015
  10980. Version 1.1.9.7
  10981. changed datafile.com and uplea.com
  10982. added lolabits.es
  10983.  
  10984. October 26, 2015
  10985. Version 1.1.9.6
  10986. added toutbox.fr
  10987.  
  10988. October 25, 2015
  10989. Version 1.1.9.5
  10990. fixed counter error
  10991.  
  10992. October 25, 2015
  10993. Version 1.1.9.4
  10994. changed uptobox.com code
  10995.  
  10996. October 21, 2015
  10997. Version 1.1.9.3
  10998. fixed uptobox.com
  10999.  
  11000. October 20, 2015
  11001. Version 1.1.9.2
  11002. bug fixes and new method of detecting premium links.
  11003.  
  11004. October 15, 2015
  11005. Version 1.1.9.1
  11006. fixed hugefiles.net false premium
  11007. changed uptobox.com code
  11008.  
  11009. October 06, 2015
  11010. Version 1.1.9.0
  11011. fixed filefactory
  11012. fixed rockfile false premium
  11013. keep2share & fileboom now detect premium links (fixed by yurii)
  11014.  
  11015. October 01, 2015
  11016. Version 1.1.8.9
  11017. fixed free.fr false premium
  11018. fixed thevideo.me false premium
  11019.  
  11020. September 28, 2015
  11021. Version 1.1.8.8
  11022. added uplea.com and openload.co
  11023.  
  11024. September 27, 2015
  11025. Version 1.1.8.7
  11026. fixed fileparadox.in false premium
  11027. added kingfiles.net to obsolete hosts
  11028. removed inafile.com from obsolete hosts
  11029.  
  11030. September 22, 2015
  11031. Version 1.1.8.6
  11032. fixed nitroflare false premium
  11033.  
  11034. September 22, 2015
  11035. Version 1.1.8.5
  11036. fixed userscloud.com false premium
  11037. fixed usersfiles.com false premium
  11038. changed arabloads.com to arabloads.net
  11039. changed nowdownloads.eu to nowdownloads.ch
  11040.  
  11041. September 21, 2015
  11042. Version 1.1.8.3
  11043. added ryushare.com to obsolete hosts.
  11044.  
  11045. September 20, 2015
  11046. Version 1.1.8.2
  11047. fixed nitroflare not showing premium links
  11048. added down4files.com,storfiles.co,filehost.pw
  11049.  
  11050. September 16, 2015
  11051. Version 1.1.8.1
  11052. added crisshare.com to obsolete hosts
  11053. fixed filemoney.com false premium
  11054. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  11055.  
  11056. September 14, 2015
  11057. Version 1.1.8.0
  11058. added to obsolete hosts...
  11059. sharebeast.com
  11060. tufiles.ru
  11061.  
  11062. September 12, 2015
  11063. Version 1.1.7.9
  11064. fixed rghost.net false premium
  11065. fixed unlimitzone.com false premium
  11066. fixed turbobit.net false live link
  11067.  
  11068. September 11, 2015
  11069. Version 1.1.7.8
  11070. Fixed filefactory.com false premium.
  11071.  
  11072. September 07, 2015
  11073. Version 1.1.7.7
  11074. fixed "depositfiles.com/en/files" links not checking
  11075.  
  11076. September 06, 2015
  11077. Version 1.1.7.6
  11078. added French code for 1fichier
  11079.  
  11080. August 29, 2015
  11081. Version 1.1.7.5
  11082. fixed depositfiles
  11083. fixed mega.co.nz/mega.nz
  11084. (fixed by yurii)
  11085.  
  11086. August 23, 2015
  11087. Version 1.1.7.4
  11088. Fixed uploadrocket (by yurii)
  11089.  
  11090. August 20, 2015
  11091. Version 1.1.7.3
  11092. fixed depfile.com false premium
  11093. fixed 1fichier false premium
  11094. fixed rapidgator false premium
  11095.  
  11096. August 08, 2015
  11097. Version 1.1.7.1
  11098. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11099.  
  11100. August 07, 2015
  11101. Version 1.1.7.0
  11102. fixed...
  11103. streamin.to
  11104. thefile.me
  11105. vidzi.tv
  11106. added...
  11107. filenuke.com
  11108. vidto.me
  11109. vidspot.net
  11110. sharesix.com
  11111. sharesix.net
  11112. movpod.in,
  11113.  
  11114. August 07, 2015
  11115. Version 1.1.6.9 added...
  11116. thefile.me
  11117. vidzi.tv
  11118. videoweed.es
  11119. vodlocker.com
  11120. nowvideo.sx
  11121. cloudtime.to
  11122. thevideo.me
  11123. vidbull.com
  11124. allmyvideos.net
  11125. novamov.com
  11126. filehoot.com
  11127. stagevu.com
  11128. gorillavid.in
  11129. streamin.to
  11130.  
  11131. August 02, 2015
  11132. Version 1.1.6.8
  11133. added cloudshares.net
  11134.  
  11135. August 01, 2015
  11136. Version 1.1.6.7
  11137. fixed depfile redirectors false premium
  11138.  
  11139. July 31, 2015
  11140. Version 1.1.6.6
  11141. fixed depfile.com false premium
  11142. */