Greasy Fork 还支持 简体中文。

W.A.R. Links Checker Premium

detects live, dead and premium links.

目前為 2017-04-14 提交的版本,檢視 最新版本

  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/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDM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oOnBihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @include http://*
  15. // @include https://*
  16. // @include file:///*
  17. // @grant GM_setValue
  18. // @grant GM_getValue
  19. // @grant GM_xmlhttpRequest
  20. // @grant GM_log
  21. // @grant GM_addStyle
  22. // @grant GM_registerMenuCommand
  23. // @grant GM_getResourceText
  24. // @grant GM_info
  25. // @grant GM_setClipboard
  26. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  27. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  28. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  29. // @homepage http://usa.x10host.com/mybb
  30. // @namespace war premium
  31. // @noframes
  32. // @version 1.3.7.6
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.7.6 April 13, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "oload.tv",
  41. "uploads.to",
  42. "uploadify.net",
  43. "temp-share.com",
  44. "ausfile.com",
  45. "filesha.com",
  46. "upfiles.net",
  47. "dailyfiles.net",
  48. "upfile.mobi",
  49. "share.az",
  50. "uploadocean.com",
  51. "drive.google.com",
  52. "suprafiles.net",
  53. "fileflares.com",
  54. "erafile.com",
  55. "mystore.to",
  56. "littlebyte.net",
  57. "exbit.net",
  58. "bdupload.info",
  59. "workupload.com",
  60. "wayupload.com",
  61. "cloud.mail.ru",
  62. "fileshareup.com",
  63. "usercloud.net",
  64. "daofile.com",
  65. "subyshare.com",
  66. "mexashare.com",
  67. "uploadgig.com",
  68. "upload.af",
  69. "alltu.eu",
  70. "filesin.space",
  71. "imagenetz.de",
  72. "katfile.com",
  73. "bankupload.com",
  74. "keepshare.net",
  75. "filescdn.com",
  76. "myfiles.onl",
  77. "uploadserv.com",
  78. "uploading.site",
  79. "filedwon.info",
  80. "jeodrive.com",
  81. "ncrypt.in",
  82. "yandex.com",
  83. "down4files.com",
  84. 'filespace.com',
  85. "uplod.it",
  86. "rapidu.net",
  87. "uploads.ws|upl.me",
  88. "file.up09.com",
  89. "lunaticfiles.com",
  90. "filecad.com",
  91. "filesupload.org",
  92. "bytewhale.com",
  93. "rapidrar.com",
  94. "download.cz.hellshare.com",
  95. "pornfile.cz",
  96. "dinoshare.cz",
  97. "kb.simple-aja.info",
  98. "bitster.cz",
  99. "file-share.top",
  100. "pornoid.cz",
  101. "dailyuploads.net",
  102. "sharehost.eu",
  103. "tezfiles.com",
  104. "devilshare.net",
  105. "alfafile.net",
  106. "openload.co",
  107. "multiup.org",
  108. "uplea.com",
  109. "filenuke.com",
  110. "file.al|1f.al",
  111. "vidto.me",
  112. "filehost.pw",
  113. "turbobit.ru",
  114. "sharesix.com|sharesix.net",
  115. "movpod.in",
  116. "thefile.me",
  117. "datoteke.com",
  118. "vidzi.tv",
  119. "videoweed.es",
  120. "vodlocker.com",
  121. "nowvideo.sx",
  122. "cloudtime.to",
  123. "thevideo.me",
  124. "vidbull.com",
  125. "novamov.com",
  126. "filehoot.com",
  127. "stagevu.com",
  128. "gorillavid.in",
  129. "streamin.to",
  130. "4upld.com|expressleech.com",
  131. "cloudshares.net",
  132. "swoopshare.com",
  133. "2shared.com",
  134. "fileupload.pw",
  135. "zxcfiles.com",
  136. "up07.net",
  137. "4shared.com",
  138. "adrive.com",
  139. "aisfile.com",
  140. "bezvadata.cz",
  141. "usersfiles.com",
  142. "pan.baidu.com",
  143. "datei.to",
  144. "daten-hoster.de|filehosting.org|xtraupload.de",
  145. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  146. "divshare.com",
  147. "easy-share.com|crocko.com",
  148. "easybytez.com",
  149. "edisk.cz",
  150. "euroshare.eu",
  151. "file-upload.net",
  152. "yadi.sk",
  153. "wizupload.com",
  154. "fastshare.cz",
  155. "filefactory.com",
  156. "share.vnn.vn",
  157. "yunpan.cn",
  158. "tropicshare.com",
  159. "inclouddrive.com",
  160. "fileflyer.com",
  161. "filerio.com|filekeen.com",
  162. "up.4share.vn",
  163. "upfile.vn",
  164. "datafilehost.com",
  165. "worldbytez.com",
  166. "files.mail.ru",
  167. "filesflash.com",
  168. "box.com",
  169. "uptobox.com",
  170. "box.net",
  171. "sdilej.cz",
  172. "ex-load.com",
  173. "filesmonster.com",
  174. "filestore.to",
  175. "hulkload.com",
  176. "filedropper.com",
  177. "free-uploading.com",
  178. "gamefront.com|filefront.com",
  179. "gettyfile.ru",
  180. "gigapeta.com",
  181. "gigasize.com",
  182. "hellshare.com",
  183. "hellspy.com",
  184. "hitfile.net",
  185. "hostuje.net",
  186. "freefilehosting.net",
  187. "free.fr",
  188. "hyperfileshare.com",
  189. "filecloud.io|ifile.it",
  190. "ifolder.ru",
  191. "uploadrocket.net",
  192. "lafiles.com",
  193. "leteckaposta.cz|sharegadget.com",
  194. "load.to",
  195. "mediafire.com",
  196. "megafileupload.com",
  197. "movshare.net",
  198. "narod.ru|narod.yandex.ru",
  199. "fboom.me|fileboom.me",
  200. "partage-facile.com",
  201. "sharerapid.cz",
  202. "exclusiveloader.com",
  203. "acefile.net",
  204. "queenshare.com",
  205. "rapidgator.net",
  206. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  207. "oboom.com",
  208. "filepi.com",
  209. "rarefile.net",
  210. "rayfile.com",
  211. "rghost.net",
  212. "sendmyway.com",
  213. "clicknupload.com",
  214. "clicknupload.me",
  215. "clicknupload.link",
  216. "uploadable.ch",
  217. "sharemods.com",
  218. "hostr.co",
  219. "sendspace.com",
  220. "sharecash.org",
  221. "share-links.biz",
  222. "share-online.biz|egoshare.com",
  223. "megarapid.cz",
  224. "shareflare.net",
  225. "solidfiles.com",
  226. "led.wf",
  227. "lan.wf",
  228. "adlink.wf",
  229. "click.tf",
  230. "kyc.pm",
  231. "ssh.tf",
  232. "ssh.yt",
  233. "yep.pm",
  234. "stahovanizasms.cz",
  235. "turbobit.net",
  236. "tikfile.com",
  237. "cloudsix.me",
  238. "turboupload.com",
  239. "uloz.to",
  240. "ulozto.net",
  241. "ulozto.sk",
  242. "ulozto.cz",
  243. "ulozisko.sk",
  244. "uloziste.com",
  245. "unibytes.com",
  246. "upload-il.net|przeslij.net",
  247. "uploaded.to|uploaded.net|ul.to",
  248. "chayfile.com",
  249. "rockfile.eu",
  250. "usaupload.net",
  251. "veehd.com",
  252. "videobb.com",
  253. "vip-file.com",
  254. "webshare.cz",
  255. "xdisk.cz",
  256. "yunfile.com|filemarkets.com",
  257. "ziddu.com",
  258. "zippyshare.com",
  259. "rodfile.com",
  260. "wikiupload.com",
  261. "uploadstube.de",
  262. "faststore.org",
  263. "flyfiles.net",
  264. "prefiles.com",
  265. "hackerbox.org",
  266. "amonshare.com",
  267. "data.hu",
  268. "brupload.net",
  269. "kingfiles.net",
  270. "userscloud.com",
  271. "kumpulbagi.com|kumpulbagi.id",
  272. "uppit.com|up.ht|upx.nz",
  273. "downloadani.me",
  274. "filesabc.com",
  275. "extmatrix.com",
  276. "sendfiles.nl",
  277. "yourfilestore.com",
  278. "filebig.net",
  279. "file4safe.com",
  280. "tusfiles.net|tusfiles.com",
  281. "filemac.com",
  282. "ozofiles.com",
  283. "nosupload.com",
  284. "gboxes.com",
  285. "myvdrive.com|fileserving.com",
  286. "novafile.com",
  287. "longfiles.com",
  288. "bitupload.com",
  289. "indowebster.com",
  290. "superload.cz",
  291. "mafiastorage.com",
  292. "hellupload.com",
  293. "stiahni.si",
  294. "sendspace.pl",
  295. "fastshare.org",
  296. "filejoker.net",
  297. "filestore.com.ua",
  298. "rapidfileshare.net",
  299. "stiahnito.sk",
  300. "rusfolder.com",
  301. "catshare.net",
  302. "mixturecloud.com",
  303. "filedais.com",
  304. // "imdb.com",
  305. "nitroflare.com",
  306. "akafile.com",
  307. "up.top4top.net",
  308. "upload.ee",
  309. "shareplace.org",
  310. "uploadc.com",
  311. "uploadc.ch",
  312. "exoshare.com",
  313. "borncash.org",
  314. "2downloadz.com",
  315. "mightyupload.com",
  316. "anysend.com",
  317. "datafile.com",
  318. "upstore.net",
  319. "upsto.re",
  320. "speedy.sh",
  321. "ge.tt",
  322. "filesflash.net",
  323. "salefiles.com",
  324. "datoid.cz",
  325. "cloudstor.es",
  326. "streamfile.com",
  327. "eyesfile.ca",
  328. "filemoney.com",
  329. "uploadboy.com",
  330. "uploadboy.me",
  331. "speedshare.eu",
  332. "google.com|google.be",
  333. "unlimitzone.com",
  334. "rioupload.com",
  335. "rg.to",
  336. "jumbofiles.org",
  337. "fshare.vn",
  338. "spaceforfiles.com",
  339. "up.media1fire.com",
  340. "depfile.com",
  341. "go4up.com",
  342. "dropbox.com",
  343. "redbunker.net",
  344. "divxpress.com",
  345. "mega.nz|mega.co.nz",
  346. "storageserver.co.uk",
  347. "anafile.com",
  348. "bigfile.to",
  349. "arabloads.net",
  350. "sharerepo.com",
  351. "sfshare.se",
  352. "files.fm",
  353. "koofile.com",
  354. "doraupload.com",
  355. "openload.io",
  356. "upnito.sk",
  357. "oload.net",
  358. ];
  359.  
  360. try
  361. {
  362. //iframes excluded
  363. if (window.top != window.self)
  364. {
  365. return;
  366. }
  367. //allHostNames sites excluded
  368. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  369. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  370. ")"))
  371. {
  372. return;
  373. }
  374. }
  375. catch (e)
  376. {
  377. return;
  378. }
  379.  
  380. //separate alternative domains with "|" char (first name is considered being main)
  381. var allContainerNames = [
  382. "adf.ly",
  383. "linkcrypt.ws",
  384. "linksafe.me",
  385. // "linksave.in",
  386. "linkto.net",
  387. "madlink.sk",
  388. "multiload.cz",
  389. "mirrorcreator.com",
  390. // "ncrypt.in",
  391. "redi.re",
  392. "relink.us",
  393. "safelinking.net",
  394. "theloo.katt.it",
  395. "bit.ly",
  396.  
  397. ];
  398.  
  399. //separate alternative domains with "|" char (first name is considered being main)
  400. var allObsoleteNames = [
  401. "black-label.pro",
  402. "4up.me",
  403. "anonfiles.com",
  404. "axifile.com",
  405. "creafile.net",
  406. "cloudzilla.to",
  407. "neodrive.co",
  408. "demo.ovh.eu",
  409. "filesin.com",
  410. "fileswap.com",
  411. "junocloud.me",
  412. "gulfup.com",
  413. "hexupload.com",
  414. "secureupload.eu",
  415. "hugefiles.net",
  416. "jumbofiles.com",
  417. "letitbit.net",
  418. "lolabits.es",
  419. "nowdownload.ch",
  420. "openfile.ru",
  421. "radicalshare.com",
  422. "remixshare.com",
  423. "storefiles.co",
  424. "toutbox.fr",
  425. "uploadbaz.com",
  426. "uploadingit.com",
  427. "uploading.com",
  428. "verzend.be",
  429. "vidplay.net",
  430. "vidxden.com",
  431. "xfileload.com",
  432. "warped.co",
  433. "xkeepfile.com",
  434. "abelhas.pt",
  435. "uploadspace.pl",
  436. "allmyvideos.net",
  437. "uploads.xxx",
  438. "netkups.com",
  439. "nekaka.com",
  440. "vidspot.net",
  441. "myupload.dk",
  442. "muchshare.net",
  443. "loudupload.net",
  444. "idup.in",
  445. "hulkshare.com",
  446. "goldbytez.com",
  447. "filesmelt.com",
  448. "fileband.com",
  449. "uloz.cz",
  450. "secured.in",
  451. "rapidfilehost.com",
  452. "fileover.net",
  453. "fileinz.com",
  454. "linksave.in",
  455. "seenupload.com",
  456. "sangfile.com",
  457. "filepost.com|fp.io",
  458. "sharingmaster.com ",
  459. "24uploading.com",
  460. "storagon.com",
  461. "sanshare.com",
  462. "filestorm.to",
  463. "uploadnet.co",
  464. "180upload.com",
  465. "rapidsonic.com",
  466. "fileparadox.com",
  467. "4upfiles.com",
  468. "geupload.com",
  469. "lenfile.com",
  470. "fileparadox.in",
  471. "uploadhero.co",
  472. "uploadhero.com",
  473. "newfileland.com",
  474. "quickshare.cz",
  475. "elffiles.com",
  476. "netload.in",
  477. "netload.me",
  478. "movreel.com",
  479. "migahost.com",
  480. "krotix.net",
  481. "jumbofile.net",
  482. "edoc.com",
  483. "cramit.in|cramitin.net",
  484. "freakshare.com",
  485. "burnupload.com|burnupload.ihiphop.com",
  486. "freakshare.net",
  487. "daj.to",
  488. "bl.st",
  489. "2drive.net",
  490. "ryushare.com",
  491. "crisshare.com",
  492. "tufiles.ru",
  493. "uncapped-downloads.com",
  494. "sockshare.com",
  495. "ddlstorage.com",
  496. "dataport.cz",
  497. "dizzcloud.com",
  498. "sharebeast.com",
  499. "stahovadlo.cz",
  500. "shared.com",
  501. "storage.to",
  502. "putlocker.com",
  503. "lumfile.com",
  504. "lumfile.se",
  505. "lumfile.eu",
  506. "firedrive.com",
  507. "fileshare.in.ua",
  508. "filecore.co.nz",
  509. "filecore.co",
  510. "iskladka.cz",
  511. "file-rack.com",
  512. "fast-load.net",
  513. "subory.sk",
  514. "bigandfree.com",
  515. "fileop.com",
  516. "mujsoubor.cz",
  517. "sendfile.to",
  518. "superfastfile.com",
  519. "quickyshare.com",
  520. "duckload.com",
  521. "uploadstore.net",
  522. "meinupload.com",
  523. "dualshare.com",
  524. "2xupload.to|2xupload.de",
  525. "oxedion.com",
  526. "uploadline.com",
  527. "dll.bz",
  528. "movieshare.in",
  529. "milledrive.com",
  530. "quickupload.net",
  531. "safelink.in",
  532. "metadivx.com",
  533. "divxlink.com",
  534. "uploadrack.com",
  535. "teradepot.com",
  536. "dataup.to",
  537. "upit.to",
  538. "driveway.com",
  539. "eatlime.com",
  540. "a2zuploads.com",
  541. "friendlyfiles.net",
  542. "flyfile.us",
  543. "speedyshare.com",
  544. "uploadspace.eu",
  545. "keepfile.com",
  546. "piggyshare.com",
  547. "uplly.com",
  548. "filecrown.com",
  549. "6giga.com",
  550. "uploadjockey.com",
  551. "bluehost.to",
  552. "filegu.ru",
  553. "filebase.to",
  554. "up-file.com",
  555. "xvideos.com",
  556. "ufox.com",
  557. "filebling.com",
  558. "loaded.it",
  559. "uploadcell.com",
  560. "uploadshare.cz",
  561. "mangoshare.com",
  562. "filestab.com",
  563. "crazyupload.com",
  564. "gaiafile.com",
  565. "sharejunky.com",
  566. "fileho.com",
  567. "bigandfree.com",
  568. "bigfile.in",
  569. "bigshare.eu",
  570. "dahosting.org",
  571. "digisofts.net",
  572. "file4save.com",
  573. "filechip.com",
  574. "filescloud.com",
  575. "saveqube.com",
  576. "turboshare.de",
  577. "z-upload.com",
  578. "youshare.com",
  579. "jiffyupload.com",
  580. "gigeshare.com",
  581. "datenklo.net",
  582. "upload.dj",
  583. "loadfiles.in",
  584. "upit.to",
  585. "dsfileshare.com",
  586. "sharesimple.net",
  587. "4files.net",
  588. "wooupload.com",
  589. "odsiebie.com",
  590. "filenavi.com",
  591. "3oof.com",
  592. "meshwaar.com",
  593. "maxupload.com",
  594. "share.cx",
  595. "atserver.eu",
  596. "hotfiles.ws",
  597. "esnips.com",
  598. "tuxfile.com",
  599. "file2upload.net",
  600. "filebling.com",
  601. "turboshare.com",
  602. "rarhost.com",
  603. "isharehd.com",
  604. "i741.com",
  605. "dataup.de",
  606. "fofly.com",
  607. "shareonall.com",
  608. "sexuploader.com",
  609. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  610. "uploadhyper.com",
  611. "filespawn.com",
  612. "caizzii.com",
  613. "volnyweb.cz",
  614. "usershare.net",
  615. "filescash.net",
  616. "metahyper.com",
  617. "combozip.com",
  618. "x7.to",
  619. "uploadbox.com",
  620. "enterupload.com|flyupload.com",
  621. "filepoint.de",
  622. "mystream.to",
  623. "x-fs.com",
  624. "shareator.com",
  625. "srapid.eu",
  626. "sosame.cz",
  627. "filesdump.com",
  628. "2-klicks.de",
  629. "uploking.com",
  630. "silofiles.com",
  631. "upfile.in",
  632. "filehook.com",
  633. "uploadking.com",
  634. "uploadhere.com",
  635. "kewlshare.com",
  636. "rapidable.com",
  637. "uploadwaste.com",
  638. "filemup.com",
  639. "filesonic.com|sharingmatrix.com",
  640. "fileserve.com",
  641. "wupload.com",
  642. "skipfile.com",
  643. "smartuploader.com",
  644. "dualshare.com",
  645. "storeandserve.com",
  646. "mountfile.com",
  647. "transitfiles.com",
  648. "uploadstation.com",
  649. "filejungle.com",
  650. "shareshared.com",
  651. "quickyshare.com",
  652. "save.am",
  653. "petandrive.com",
  654. "file2box.com",
  655. "flyshare.cz",
  656. "yabadaba.ru",
  657. "cloudcache.cc",
  658. "yourfilehost.com",
  659. "jakfile.com",
  660. "kickload.com",
  661. "pyramidfiles.com",
  662. "refile.net",
  663. "zshare.net",
  664. "ddlani.me|ddlanime.com",
  665. "ftp2share.com",
  666. "fooget.com",
  667. "rapidhide.com",
  668. "gotupload.com",
  669. "mooload.com",
  670. "zupload.com",
  671. "mytempdir.com",
  672. "onionshare.com",
  673. "stahnu.to",
  674. "oron.com",
  675. "badongo.com",
  676. "filereactor.com",
  677. "filegaze.com",
  678. "4bytez.com",
  679. "1hostclick.com",
  680. "anonstream.com",
  681. "batshare.com",
  682. "bitroad.net",
  683. "brontofile.com",
  684. "cloudnxt.net",
  685. "cloudnator.com|shragle.com",
  686. "filesfrog.net",
  687. "coolshare.cz",
  688. "dotavi.com",
  689. "ezyfile.net",
  690. "file-bit.net",
  691. "filecosy.com",
  692. "fileduct.com|fileduct.net",
  693. "filefat.com",
  694. "filelaser.com",
  695. "filemashine.com",
  696. "fileserver.cc",
  697. "filetechnology.com",
  698. "fireuploads.net",
  699. "gigfiles.net",
  700. "holderfile.com",
  701. "ihostia.com",
  702. "k2files.com",
  703. "mojofile.com",
  704. "ovfile.com",
  705. "qshare.com",
  706. "shafiles.me",
  707. "sharefilehost.com",
  708. "shareupload.com",
  709. "stahuj.to",
  710. "ugotfile.com",
  711. "uploadboost.com",
  712. "fileom.com",
  713. "vidhog.com",
  714. "xfileshare.eu",
  715. "bzlink.us",
  716. "bulletupload.com",
  717. "bloggerarticles.com",
  718. "mojedata.sk",
  719. "sharpfile.com",
  720. "upgrand.com",
  721. "nasdilej.cz",
  722. "mediatack.cz",
  723. "share-it.to",
  724. "primeupload.com",
  725. "filebeer.info",
  726. "baberepublic",
  727. "xtu.me",
  728. "sharebase.de",
  729. "luckyshare.net",
  730. "filerobo.com",
  731. "filevelocity.com",
  732. "filezpro.com",
  733. "file4sharing.com",
  734. "cing.be",
  735. "ufile.eu",
  736. "pigsonic.com",
  737. "fileupped.com",
  738. "sharerun.com",
  739. "filesaur.com",
  740. "rapidslnare.com",
  741. "bestsharing.com",
  742. "savefiles.net",
  743. "file2share.biz",
  744. "filecache.de",
  745. "monsteruploads.eu",
  746. "b9bb.com",
  747. "aiotool.net",
  748. "jamber.info",
  749. "megaftp.com",
  750. "desiupload.net",
  751. "file27.com",
  752. "yastorage.com",
  753. "filehost.ws",
  754. "copyload.com",
  755. "venusfile.com",
  756. "aieshare.com",
  757. "terafile.co",
  758. "terafile.com",
  759. "fileza.net",
  760. "filerose.com",
  761. "squillion.com",
  762. "fileprohost.com",
  763. "bitbonus.com",
  764. "warserver.cz",
  765. "uload.to",
  766. "sharedbit.net",
  767. "megaload.it",
  768. "filewinds.com",
  769. "uploadcore.com",
  770. "syfiles.com",
  771. "eyesfile.com",
  772. "hotfile.com",
  773. "superupl.com",
  774. "oteupload.com",
  775. "henchfile.com",
  776. "filegag.com",
  777. "HenchFile.com",
  778. "filedefend.com",
  779. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  780. "megabitshare.com",
  781. "cloudzer.com",
  782. "asfile.com",
  783. "cloudzer.net",
  784. "clz.to",
  785. "extabit.com",
  786. "247upload.com",
  787. "2download.de",
  788. "4fastfile.com",
  789. "asixfiles.com",
  790. "berofile.com",
  791. "bigupload.com",
  792. "cepzo.com",
  793. "clouds.to",
  794. "cobrashare.sk",
  795. "coraldrive.net",
  796. "cyberlocker.ch",
  797. "czshare.com",
  798. "darkport.org",
  799. "dark-uploads.com",
  800. "davvas.com",
  801. "enigmashare.com",
  802. "erofly.cz",
  803. "fastsonic.net",
  804. "filebox.com",
  805. "filecity.net",
  806. "filedap.com",
  807. "filedino.com",
  808. "filedownloads.org",
  809. "filefolks.com",
  810. "fileking.co",
  811. "filemates.com",
  812. "files.to",
  813. "files2k.eu",
  814. "filesector.cc",
  815. "bitshare.com",
  816. "filesega.com",
  817. "filesend.net",
  818. "filestay.com",
  819. "filestrum.com",
  820. "fileuplo.de",
  821. "fileupup.com",
  822. "forunesia.com",
  823. "freeuploads.fr",
  824. "uploa.dk",
  825. "getthebit.com",
  826. "getzilla.net",
  827. "goldfile.eu",
  828. "good.com",
  829. "grupload.com",
  830. "hellfile.com",
  831. "hipfile.com",
  832. "hitfile.com",
  833. "hulkfile.eu|duckfile.net",
  834. "i-filez.com",
  835. "ifile.ws",
  836. "kupload.org",
  837. "packupload.com",
  838. "lemuploads.com",
  839. "limelinx.com",
  840. "maxshare.pl",
  841. "megarelease.org",
  842. "megashares.com",
  843. "megashare.com",
  844. "minus.com",
  845. "mlfat4arab.com",
  846. "multishare.cz",
  847. "nirafile.com",
  848. "ok2upload.com",
  849. "peejeshare.com",
  850. "premiuns.org",
  851. "przeklej.net",
  852. "qkup.net",
  853. "rapidupload.sk",
  854. "rockdizfile.com",
  855. "rocketfile.net",
  856. "share-now.net",
  857. "share76.com",
  858. "sharebees.com",
  859. "sharefiles.co",
  860. "slingfile.com",
  861. "sms4file.com",
  862. "space4file.com",
  863. "tigershare.net",
  864. "toucansharing.com",
  865. "ubuntuone.com",
  866. "unextfiles.com",
  867. "upaj.pl",
  868. "upfile.biz",
  869. "uploadbin.net",
  870. "uploadic.com",
  871. "uploadinc.com",
  872. "uploading4u.eu",
  873. "uploadjet.net",
  874. "uploadorb.com",
  875. "upthe.net",
  876. "uptorch.com",
  877. "vidbox.yt",
  878. "videozer.com",
  879. "vreer.com",
  880. "wallobit.com",
  881. "zooupload.com",
  882. "privatefiles.com",
  883. "xerver.co",
  884. "BillionUploads.com",
  885. "rapidshare.com",
  886. "rapidshare.ru",
  887. "4savefile.com",
  888. "bayfiles.com",
  889. "bayfiles.net",
  890. "dodane.pl",
  891. "dotsemper.com",
  892. "egofiles.com",
  893. "epicshare.net",
  894. "fiberupload.net",
  895. "filemonkey.in",
  896. "filemonster.net",
  897. "filepom.com",
  898. "filesbb.com",
  899. "filevice.com",
  900. "gigaup.fr",
  901. "isavelink.com",
  902. "loombo.com",
  903. "megafiles.se",
  904. "migupload.com",
  905. "mydisc.net",
  906. "nitrobits.com",
  907. "potload.com",
  908. "redload.net",
  909. "shareprofi.com",
  910. "sharesuper.info",
  911. "sinhro.net",
  912. "speedfile.cz",
  913. "speedshare.org",
  914. "storage.novoro.net",
  915. "swankshare.com",
  916. "swatupload.com",
  917. "upafile.com",
  918. "uploadmachine.com",
  919. "uploadsat.com",
  920. "upshared.com",
  921. "usefile.com",
  922. "yourfiles.to",
  923. "zomgupload.com",
  924. "ultramegabit.com",
  925. "uploadto.us",
  926. "inafile.com",
  927. "megairon.net",
  928.  
  929. ];
  930. ///////////////////////////////////////////////////////////////////////////////////////
  931. var firstRun = GM_getValue("First_run", true);
  932.  
  933. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  934. //////////////////////////////////////////////////////////////////////////////////////
  935. try
  936. {
  937. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  938. var last_known_version = GM_getValue("last_known_version", "");
  939. if (!last_known_version)
  940. {
  941. last_known_version = thisVersion;
  942. GM_setValue("last_known_version", last_known_version);
  943. }
  944. //var newVersion = !(thisVersion == last_known_version);
  945. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  946. GM_setValue("last_known_version", thisVersion);
  947. }
  948. catch (err)
  949. {
  950. var newVersion = false;
  951. }
  952.  
  953. var now = (new Date()).getTime();
  954. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  955. if (!last_custom_rules_nag)
  956. {
  957. last_custom_rules_nag = now;
  958. GM_setValue('last_custom_rules_nag', ''+now);
  959. }
  960.  
  961.  
  962. allHostNames.sort();
  963. allContainerNames.sort();
  964. allObsoleteNames.sort();
  965.  
  966. var RAND_STRING = "8QyvpOSsRG3QWq";
  967. var DEBUG_MODE = false;
  968.  
  969. var TOOLTIP_MAXWIDTH = 600; //in pixels
  970. var TOOLTIP_THUMBWIDTH = 200;
  971. var containers_processed = false;
  972.  
  973. //settings for keyboard functions start
  974. var CHECK_ALL_LINKS_KEY = "A";
  975. var CONFIGURATION_KEY = "C";
  976. var copy_to_dead_key = "D";
  977. var copy_to_live_key = "L";
  978. var toggle_autocheck_key = "W";
  979. var toggle_Enable_Anonymizer_key = "Z";
  980. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  981. var first_key_keycodename = 'CTRL';
  982. var second_key_keycode = '18';
  983. var second_key_keycodename = 'ALT';
  984. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  985. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  986. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  987. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  988. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  989. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  990. //settings for keyboard functions end
  991.  
  992. //global settings start
  993. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  994. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  995. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  996. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  997. var Show_progress_stats, Display_tooltip_info, Icon_set;
  998. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  999. var Progress_box_refresh_rate;
  1000. var Obsolete_file_hosts;
  1001. var Custom_rules, Custom_rules_text;
  1002. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1003.  
  1004. var messageBox = document.createElement('b'); // top-left message box
  1005.  
  1006. var cLinksTotal = 0;
  1007. var cLinksDead = 0;
  1008. var cLinksAlive = 0;
  1009. var cLinksUnava = 0;
  1010. var cLinksprem = 0;
  1011. var cLinksProcessed = 0;
  1012.  
  1013. var intervalId; //for updateProgress()
  1014.  
  1015. //icon resources
  1016. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQi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etLXxhASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1023. var RSLC_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  1024. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIW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ETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1029. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1030.  
  1031. //global settings end
  1032. if (window.opera && !window.console)
  1033. {
  1034. window.console = {};
  1035.  
  1036. function fn()
  1037. {
  1038. opera.postError(arguments);
  1039. };
  1040. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1041. {
  1042. window.console[name] = fn;
  1043. });
  1044. }
  1045.  
  1046. //displays colored text in message box
  1047. function sendMessage(text, color)
  1048. {
  1049. var msgDiv = document.createElement('div');
  1050. msgDiv.style.color = color;
  1051. msgDiv.innerHTML = text;
  1052. messageBox.appendChild(msgDiv);
  1053. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1054. }
  1055.  
  1056. function linkify(totalourls)
  1057. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1058. var ikkeTilladteTags;
  1059. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1060. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1061. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1062. allLinksRegex = new RegExp(allLinksRegex, "g");
  1063. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1064.  
  1065. if (Do_not_linkify_DL_links)
  1066. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1067. else
  1068. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1069.  
  1070. var regex = new RegExp(regexy);
  1071. var textNode, muligtLink;
  1072.  
  1073. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1074. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1075.  
  1076. var i = textNodes.snapshotLength;
  1077. while (i--)
  1078. {
  1079. textNode = textNodes.snapshotItem(i);
  1080.  
  1081. muligtLink = textNode.nodeValue; //all links on page
  1082.  
  1083. var myArray = null;
  1084. var span = null;
  1085. var lastLastIndex = 0;
  1086. allLinksRegex.lastIndex = 0;
  1087. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1088. {
  1089. if (textNode.parentNode.className == "adead_link") continue;
  1090. var censoredLink = muligtLink;
  1091. var span = document.createElement('span');
  1092. span.className = "adead_link";
  1093. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1094. $(span).html(censoredLink);
  1095. span.addEventListener("mouseover", displayTooltipError, false);
  1096. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1097. textNode.parentNode.replaceChild(span, textNode);
  1098. continue;
  1099. alert(censoredLink);
  1100. }
  1101. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1102. {
  1103. if (!regex.test(myArray[0])) //this link is not recognized
  1104. {
  1105.  
  1106. continue;
  1107. }
  1108. if (!span)
  1109. span = document.createElement('span');
  1110.  
  1111. var link = myArray[0];
  1112. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1113.  
  1114. var $a = $("<a>" + link + "</a>")
  1115. if (!link.match(/https?:\/\//))
  1116. {
  1117. link = 'http://' + link;
  1118. }
  1119.  
  1120. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1121. .addClass("processing_link")
  1122. .appendTo(span);
  1123. lastLastIndex = allLinksRegex.lastIndex;
  1124. }
  1125. if (span)
  1126. {
  1127. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1128. textNode.parentNode.replaceChild(span, textNode);
  1129. }
  1130. }
  1131. }
  1132.  
  1133. function add_WARLC_style()
  1134. {
  1135. if (!(document.getElementsByTagName('WARLC')[0]))
  1136. {
  1137. var meta_not_to_add_more_style = document.createElement("WARLC");
  1138. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1139. meta_not_to_add_more_style.setAttribute('name', 'description');
  1140. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1141. alive_link_png = "";
  1142. adead_link_png = "";
  1143. unava_link_png = "";
  1144. prem_link_png = "";
  1145. switch(Icon_set)
  1146. {
  1147. //no icons
  1148. case 0: break;
  1149. // cat paws
  1150. case 1: alive_link_png = PAW_ICON_GREEN;
  1151. adead_link_png = PAW_ICON_RED;
  1152. unava_link_png = PAW_ICON_YELLOW;
  1153. prem_link_png = PAW_ICON_PINK;
  1154. break;
  1155. // classic RSLC look
  1156. case 2: alive_link_png = RSLC_ICON_GREEN;
  1157. adead_link_png = RSLC_ICON_RED;
  1158. unava_link_png = RSLC_ICON_YELLOW;
  1159. prem_link_png = RSLC_ICON_PINK;
  1160. break;
  1161. // New Icons
  1162. case 3: alive_link_png = NEW_ICON_GREEN;
  1163. adead_link_png = NEW_ICON_RED;
  1164. unava_link_png = NEW_ICON_YELLOW;
  1165. prem_link_png = NEW_ICON_PINK;
  1166. break;
  1167. // cat paws
  1168. default:alive_link_png = PAW_ICON_GREEN;
  1169. adead_link_png = PAW_ICON_RED;
  1170. unava_link_png = PAW_ICON_YELLOW;
  1171. prem_link_png = PAW_ICON_PINK;
  1172. break;
  1173. }
  1174. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1175. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1176.  
  1177. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1178.  
  1179. if (Color_DL_links)
  1180. {
  1181. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1182. live_color_css = 'color:' + Live_links_color + ' !important;';
  1183. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1184. container_color_css = 'color:' + Container_links_color + ' !important;';
  1185. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1186. }
  1187. else
  1188. {
  1189. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1190. }
  1191.  
  1192. if (Show_black_background_in_DL_links)
  1193. {
  1194. black_background_css = 'background-color: black !important;';
  1195. }
  1196. else
  1197. {
  1198. black_background_css = '';
  1199. }
  1200.  
  1201. if (Show_line_through_in_dead_links)
  1202. {
  1203. line_through_css = 'text-decoration: line-through !important;';
  1204. }
  1205. else
  1206. {
  1207. line_through_css = '';
  1208. }
  1209.  
  1210. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1211. GM_addStyle(".adead_link {background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + dead_color_css + black_background_css + line_through_css + "}");
  1212. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1213. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1214. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1215. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1216. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1217. }
  1218. }
  1219.  
  1220. var warlcTooltip = null;
  1221. var mouseoverLink = null; //link href with mouse cursor over it
  1222.  
  1223. var lastX = 0;
  1224. var lastY = 0;
  1225.  
  1226. $(document).ready(initTooltip);
  1227. //inits tooltip
  1228. function initTooltip()
  1229. { warlcTooltip = document.createElement("div");
  1230. warlcTooltip.setAttribute("style", "background: #EAEAEA; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);padding: 6px 6px 6px 6px; border-radius:2px; border:2px solid #6699CC; color:#000000;font-family:Verdana,sans-serif;font-size:11px;position:absolute;z-index:2000; max-width: " + TOOLTIP_MAXWIDTH + "px;");
  1231. warlcTooltip.style.visibility = "hidden";
  1232. document.body.appendChild(warlcTooltip);
  1233. }
  1234.  
  1235. //"mousemove" event handler for all links
  1236. function moveTooltip(event)
  1237. {
  1238. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1239. { //no need to reflow if the cursor moved just a little
  1240. return;
  1241. }
  1242. else
  1243. {
  1244. lastX = event.clientX;
  1245. lastY = event.clientY;
  1246. }
  1247.  
  1248. posX = event.clientX + window.pageXOffset + 10;
  1249. posY = event.clientY + window.pageYOffset;
  1250. var ttHeight = warlcTooltip.offsetHeight;
  1251. var ttFreeSpace = window.innerHeight - event.clientY;
  1252. if (ttHeight > ttFreeSpace)
  1253. { //prevents tooltip from getting out of the window
  1254. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1255. }
  1256. else
  1257. {
  1258. posY += 7;
  1259. }
  1260. warlcTooltip.style.top = posY + "px";
  1261. warlcTooltip.style.left = posX + "px";
  1262. }
  1263.  
  1264. //"mouseout" event handler for all links
  1265. function hideTooltip(){
  1266. warlcTooltip.style.visibility = "hidden";
  1267. mouseoverLink = null;
  1268. }
  1269.  
  1270.  
  1271. //"mouseover" event handler for dead links
  1272. //displays tooltip error message on dead links
  1273. function displayTooltipError()
  1274. {
  1275. mouseoverLink = this.href;
  1276. this.addEventListener("mouseout", hideTooltip);
  1277. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1278. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1279. warlcTooltip.style.minWidth = 0;
  1280. warlcTooltip.style.visibility = "visible";
  1281. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1282. {
  1283. warlcTooltip.innerHTML = this.warlc_error;
  1284. }
  1285. else
  1286. {
  1287. loadErrorInfo(this);
  1288. }
  1289. function loadErrorInfo(link)
  1290. {
  1291. var href = link.href;
  1292. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1293. GM_xmlhttpRequest({
  1294. method: 'GET',
  1295. url: href.replace(Ref_anonymize_service, ""),
  1296. headers: {
  1297. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1298. 'Accept': 'text/xml',
  1299. 'Referer': ""
  1300. },
  1301. onload: function(result) {
  1302. var res = result.responseText;
  1303. //TODO: errorRegexs -
  1304. var errorRegexs = [ //generic error messages follow
  1305. /(empty directory)/i,
  1306. /(soubor nebyl nalezen)/i,
  1307. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1308. //server specific error messages follow
  1309. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1310. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1311. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1312. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1313. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1314. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1315. /class="red">(.+?)<(?:span|br)>/, //czshare
  1316. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1317. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1318. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1319. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1320. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1321. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1322. /(File has been removed due to Copyright Claim)/, //filerio
  1323. ];
  1324. var errorIdx = errorRegexs.length;
  1325. var error = "Cause of error: <b>unknown</b>";
  1326. var errorCandidate = "";
  1327. while(errorIdx--)
  1328. {
  1329. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1330. if (errorCandidate != null)
  1331. {
  1332. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1333. break;
  1334. }
  1335. }
  1336. //link attributes
  1337. link.warlc_error = error;
  1338. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1339. {
  1340. warlcTooltip.innerHTML = error;
  1341. }
  1342. }
  1343. });
  1344. }
  1345. }
  1346.  
  1347. //"mouseover" event handler for alive links
  1348. //displays tooltip info (file size, file name,...) on alive links
  1349. function displayTooltipInfo()
  1350. {
  1351. mouseoverLink = this.href;
  1352. //exclude direct download filehostings
  1353. if (this.href.match(/(?:filemonster\.net|uploadbin\.net|loombo\.com|adrive\.com|myupload\.dk|storage\.novoro\.net|ubuntuone\.com|multi-debrid\.com\/directdl|mms\.multishare\.cz\/html\/mms_process\.php|zevera\.com\/getFiles|filesmelt\.com)/))
  1354. {
  1355. return;
  1356. }
  1357. this.addEventListener("mouseout", hideTooltip);
  1358. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1359. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1360. warlcTooltip.style.minWidth = 0;
  1361. warlcTooltip.style.visibility = "visible";
  1362. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1363. {
  1364. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1365. }
  1366. else
  1367. {
  1368. loadInfo(this);
  1369. }
  1370. function loadInfo(link)
  1371. {
  1372. var href = link.href;
  1373. GM_xmlhttpRequest({
  1374. method: 'GET',
  1375. url: href.replace(Ref_anonymize_service, ""),
  1376. headers: {
  1377. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1378. 'Accept': 'text/xml',
  1379. 'Referer': ""
  1380. },
  1381. onload: function(result) {
  1382. var res = result.responseText;
  1383. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1384. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1385. /fl" title="(.+?)">/, //edisk
  1386. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1387. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1388. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1389. /title="download (.+?)">/, //sendspace
  1390. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1391. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1392. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1393. /d0FileName = "(.+?)";/, //letitbit
  1394. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1395. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1396. /fname" value="(.+?)">/, //syfiles, grupload,
  1397. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1398. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1399. /Complete name : (.+?)<br \/>/, //bezvadata
  1400. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1401. ];
  1402. var nameIdx = nameRegexs.length;
  1403. // [sizeRegexs]
  1404. // / \ \?
  1405. // prefix (size) postfix
  1406. // / \
  1407. // val quant
  1408. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1409. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1410. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1411. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1412. var postSizeRegex = '(?:\\))?';
  1413. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1414. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1415. ];
  1416. var sizeIdx = sizeRegexs.length;
  1417. //
  1418. //
  1419. var tooltip = "File Name: <b>";
  1420. var fileName = "unknown";
  1421. var nameCandidate = "";
  1422. while(nameIdx--)
  1423. {
  1424. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1425. if (nameCandidate != null)
  1426. {
  1427. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1428. break;
  1429. }
  1430. }
  1431. tooltip += fileName + "</b><br>File Size: <b>";
  1432. var fileSize = "unknown";
  1433. var sizeCandidate = "";
  1434. while(sizeIdx--)
  1435. {
  1436. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1437. if (sizeCandidate != null)
  1438. {
  1439. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1440. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1441. {
  1442. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1443. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1444. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1445. }
  1446. break;
  1447. }
  1448. }
  1449. tooltip += fileSize + "</b>";
  1450. // PROTOTYPE
  1451. // video thumbnails
  1452. if (href.match('hellshare'))
  1453. {
  1454. var thumbs;
  1455. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1456. if (thumbs)
  1457. {
  1458. tooltip += '<br>';
  1459. var j = Math.min(thumbs.length, 9);
  1460. for (var i = 0; i < j; i++)
  1461. {
  1462. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1463. }
  1464. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1465. }
  1466. }
  1467. if (href.match('czshare'))
  1468. {
  1469. var thumbs;
  1470. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1471. if (thumbs)
  1472. {
  1473. var thumbsServer = thumbs[1];
  1474. var thumbsId = thumbs[2];
  1475. tooltip += '<br>';
  1476. for (var i = 1; i < 9; i++)
  1477. {
  1478. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1479. }
  1480. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1481. }
  1482. }
  1483. if (href.match('bezvadata'))
  1484. {
  1485. var thumbs;
  1486. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1487. if (thumbs)
  1488. {
  1489. tooltip += '<br>';
  1490. var j = Math.min(thumbs.length, 9);
  1491. for (var i = 0; i < j; i++)
  1492. {
  1493. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1494. }
  1495. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1496. }
  1497. }
  1498. link.warlc_tooltipcache = tooltip;
  1499. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1500. {
  1501. warlcTooltip.innerHTML = tooltip;
  1502. }
  1503. }
  1504. });
  1505. }
  1506. }
  1507.  
  1508. function setVariables()
  1509. {
  1510. if (firstRun)
  1511. {
  1512. GM_log('First run, applying default settings...');
  1513. GM_setValue("Icon_set",1);
  1514. GM_setValue("Display_tooltip_info",true);
  1515. GM_setValue("Show_black_background_in_DL_links",false);
  1516. GM_setValue("Show_line_through_in_dead_links",false);
  1517. GM_setValue("Display_full_links_in_link_containers",false);
  1518. GM_setValue("Allow_spaces_in_DL_links",false);
  1519. GM_setValue("Autocheck",true);
  1520. GM_setValue("Enable_Anonymizer",false);
  1521. GM_setValue("Do_not_linkify_DL_links",false);
  1522. GM_setValue("Show_progress_stats",true);
  1523. GM_setValue("Keyboard_functions",true);
  1524. GM_setValue("Obsolete_file_hosts",false);
  1525. GM_setValue("Color_DL_links",true);
  1526. GM_setValue("Live_links_color","Green");
  1527. GM_setValue("Dead_links_color","#FF3300");
  1528. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1529. GM_setValue("Container_links_color","DarkKhaki");
  1530. GM_setValue("Premium_links_color","DeepPink");
  1531. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1532. GM_setValue("Custom_rules",false);
  1533. GM_setValue("Custom_rules_text","");
  1534. GM_setValue("Processbox_Pos_Y", 0);
  1535. GM_setValue("Processbox_Pos_X", 88);
  1536. GM_setValue("Progressbox_Scaling", 100);
  1537. GM_setValue("First_run", false);
  1538. }
  1539. //hidden settings
  1540. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1541. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1542. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1543. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1544. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1545. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1546. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1547. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1548. //hidden settings end
  1549.  
  1550. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1551. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1552. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1553. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1554. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1555. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1556. Autocheck = GM_getValue("Autocheck", true);
  1557. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1558. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1559. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1560. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1561. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1562. Color_DL_links = GM_getValue("Color_DL_links", true);
  1563. Live_links_color = GM_getValue("Live_links_color", "Green");
  1564. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1565. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1566. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1567. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1568. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1569. Custom_rules = GM_getValue("Custom_rules", false);
  1570. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1571. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1572. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1573. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1574. }
  1575.  
  1576.  
  1577. // Delinkifies the links
  1578. // params:
  1579. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1580. // e.g. 'uloz.to/xs68skxl8')
  1581. function delinkifySnapshot(snapshot)
  1582. {
  1583. var n = snapshot.snapshotLength;
  1584.  
  1585. while (n--)
  1586. {
  1587. thisLink = snapshot.snapshotItem(n);
  1588.  
  1589. var spanElm = document.createElement("span");
  1590. spanElm.className = thisLink.className;
  1591. spanElm.innerHTML = thisLink.innerHTML;
  1592.  
  1593. if (Display_tooltip_info)
  1594. {
  1595. spanElm.href = thisLink.href;
  1596. switch (thisLink.className){
  1597. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1598. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1599. case "unava_link": //reserved
  1600. default:
  1601. }
  1602. }
  1603. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1604. }
  1605. }
  1606.  
  1607. function processContainers()
  1608. {
  1609. var redirectorTypes = { "HTTP_302": 0,
  1610. "INNER_LINK": 1,
  1611. "THELOO_KATT_IT": 2,
  1612. "CING_BE": 3,
  1613. "ADF_LY": 4};
  1614. var cMultiloadTotal = 0;
  1615. var cMultiloadProcessed = 0;
  1616.  
  1617. var cMirrorcreatorComTotal = 0;
  1618. var cMirrorcreatorComProcessed = 0;
  1619.  
  1620. var hostRestrictionRegex = "";
  1621. var multiloadComRestriction = "";
  1622. var multiloadComRestrictionRegex;
  1623.  
  1624. //
  1625. //HANDLING REDIRECTORS START
  1626. //
  1627.  
  1628. var redirectors = new Array();
  1629. initRedirectors();
  1630.  
  1631. var redirectorsCount = redirectors.length;
  1632.  
  1633. if (redirectorsCount > 0)
  1634. {
  1635. var allRedirectorsRegex = "";
  1636.  
  1637. //linkify redirector links
  1638. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1639. {
  1640. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1641. }
  1642. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1643. linkify(allRedirectorsRegex);
  1644. //
  1645. //process redirector links
  1646. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1647. {
  1648. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1649. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1650.  
  1651. cLinksTotal += redirectors[redirIdx].cTotal;
  1652. var linkIdx = redirectors[redirIdx].cTotal;
  1653.  
  1654. while(linkIdx--)
  1655. {
  1656. switch(redirectors[redirIdx].type)
  1657. {
  1658. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1659. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1661. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1662. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1663. default:
  1664. }
  1665. }
  1666. }
  1667. //
  1668. }
  1669.  
  1670. //HTTP_302
  1671. function processRedirectorLink(link, redirectorId)
  1672. {
  1673. link.className = 'container_link';
  1674.  
  1675. GM_xmlhttpRequest({
  1676. method: 'HEAD',
  1677. url: link.href,
  1678. headers: {
  1679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1680. 'Accept': 'text/xml',
  1681. 'Referer': ""
  1682. },
  1683. onload: function(result) {
  1684. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1685. {
  1686. processRedirectorLink(link, redirectorId);
  1687. }
  1688. else
  1689. {
  1690. redirectors[redirectorId].cProcessed++;
  1691. link.href = result.finalUrl;
  1692. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1693. checkLinks('container_link');
  1694. }
  1695. },
  1696. onerror: function(result) { //probably caused by unresponsive filehosting
  1697. redirectors[redirectorId].cProcessed++;
  1698. link.className = 'unava_link';
  1699. cLinksProcessed++;
  1700. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1701. checkLinks('container_link');
  1702. }
  1703. });
  1704. }
  1705. //INNER_LINK
  1706. function processRedirectorLinkEx(link, redirectorId)
  1707. {
  1708. link.className = 'container_link';
  1709. GM_xmlhttpRequest({
  1710. method: 'GET',
  1711. url: link.href,
  1712. headers: {
  1713. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1714. 'Accept': 'text/xml',
  1715. 'Referer': ""
  1716. },
  1717. onload: function(result) {
  1718. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1719. redirectors[redirectorId].cProcessed++;
  1720. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1721. checkLinks('container_link');
  1722. }
  1723. });
  1724. }
  1725. //theloo.katt.it (wrapped safelinking.net)
  1726. function processThelooKattItLink(link, redirectorId)
  1727. {
  1728. link.className = 'container_link';
  1729. GM_xmlhttpRequest({
  1730. method: 'GET',
  1731. url: link.href,
  1732. headers: {
  1733. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1734. 'Accept': 'text/xml',
  1735. 'Referer': ""
  1736. },
  1737. onload: function(result) {
  1738. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1739. redirectors[redirectorId].cProcessed++;
  1740. //the inner links are safelinking.net links, so lets proceed with it
  1741. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1742. {
  1743. processRedirectorLink(link, 0);
  1744. }
  1745. }
  1746. });
  1747. }
  1748. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1749. function processAdfLyLink(link, redirectorId)
  1750. {
  1751. link.className = 'container_link';
  1752. GM_xmlhttpRequest({
  1753. method: 'GET',
  1754. url: link.href,
  1755. headers: {
  1756. 'User-agent': 'Mozilla/4.0',
  1757. 'Accept': 'text/xml',
  1758. 'Referer': ""
  1759. },
  1760. onload: function(result) {
  1761. if (result.finalUrl.match('/locked/'))
  1762. {
  1763. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1764. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1765. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1766. }
  1767. else
  1768. {
  1769. // GM_log('Processing... ' + link.href);
  1770. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1771. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1772. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1773. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1774. //confirm advert
  1775. GM_xmlhttpRequest(
  1776. {
  1777. method: 'POST',
  1778. url: 'http://adf.ly/l.php',
  1779. headers: {
  1780. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1781. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1782. 'Referer': link.href
  1783. },
  1784. data: users + '&lt=' + logToken,
  1785. onload: function(result) {
  1786. //retrieve final url from .../go/... link
  1787. GM_xmlhttpRequest({
  1788. method: 'GET',
  1789. url: directLink,
  1790. headers: {
  1791. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1792. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1793. 'Referer': link.href
  1794. },
  1795. onload: function(result) {
  1796. link.href = result.finalUrl;
  1797. redirectors[redirectorId].cProcessed++;
  1798. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1799. checkLinks('container_link');
  1800. }
  1801. });
  1802. }
  1803. });
  1804. }
  1805. }
  1806. });
  1807. function proceedOK()
  1808. {
  1809. }
  1810. }
  1811. //MULTILOAD.CZ START
  1812. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1813. {
  1814. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1815. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1816.  
  1817. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1818.  
  1819. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1820. hostRestrictionRegex += 'hellshare|';
  1821. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1822. hostRestrictionRegex += 'downloadhellshare|';
  1823. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1824. hostRestrictionRegex += 'share-rapid\\.com|';
  1825. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1826. hostRestrictionRegex += 'quickshare\\.cz|';
  1827. if (GM_getValue("Check_czshare_dot_com_links", false))
  1828. hostRestrictionRegex += 'czshare\\.com|';
  1829. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1830. hostRestrictionRegex += 'hellspy|';
  1831. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1832. hostRestrictionRegex += 'multishare\\.cz|';
  1833.  
  1834. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1835.  
  1836. linkify(mlRegex);
  1837.  
  1838. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1839. var mlCount = mlSnapshot.snapshotLength;
  1840.  
  1841. if (mlCount > 0)
  1842. {
  1843. cMultiloadTotal += mlCount;
  1844.  
  1845. mlIdx = mlCount - 1;
  1846. do
  1847. {
  1848. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1849. }
  1850. while(mlIdx--)
  1851. }
  1852. }
  1853. //MULTILOAD.CZ END
  1854.  
  1855.  
  1856.  
  1857. function processMultiloadLink(mlLink)
  1858. {
  1859. GM_xmlhttpRequest({
  1860. method: 'GET',
  1861. url: mlLink.href,
  1862. headers: {
  1863. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1864. 'Accept': 'text/xml',
  1865. 'Referer': ""
  1866. },
  1867. onload: function(result) {
  1868. var res = result.responseText;
  1869.  
  1870. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1871. var innerLinksRegex = /(?:Upload se nezdařil \((?:chyba serveru|chybné přihlašovací údaje)\)\. <|>https?:\/\/(?:.|\s)+?<|Právě probíhá reupload, buďte trpěliví\.\.\.<)/g;
  1872. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1873. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1874.  
  1875. var blocks; // blocks of links
  1876. var blockIdx;
  1877.  
  1878. mlLink.className = '';
  1879.  
  1880. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1881. {
  1882. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1883. return;
  1884. }
  1885.  
  1886. blocks = res.match(innerBlockRegex);
  1887.  
  1888. if (blocks == null) //no links found, cancel further processing
  1889. {
  1890. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1891. cMultiloadProcessed++;
  1892. if (cMultiloadTotal <= cMultiloadProcessed)
  1893. {
  1894. startBulkCheck('container_link');
  1895. start('container_link');
  1896. }
  1897. return;
  1898. }
  1899.  
  1900. blockIdx = blocks.length;
  1901.  
  1902. if (Display_full_links_in_link_containers)
  1903. {
  1904. var ulElm = document.createElement('ul');
  1905. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1906.  
  1907. while(blockIdx--)
  1908. {
  1909. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1910. {
  1911. continue;
  1912. }
  1913.  
  1914. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1915.  
  1916. var linkIdx = innerLinks.length;
  1917. while (linkIdx--)
  1918. {
  1919. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1920.  
  1921. var liElm = document.createElement('li');
  1922.  
  1923. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1924. {
  1925. liElm.appendChild(document.createTextNode(innerLink));
  1926. }
  1927. else
  1928. {
  1929. var aElm = document.createElement('a');
  1930. aElm.innerHTML = innerLink;
  1931. aElm.href = innerLink;
  1932. aElm.className = 'container_link';
  1933.  
  1934. liElm.appendChild(aElm);
  1935. }
  1936.  
  1937. ulElm.appendChild(liElm);
  1938. cLinksTotal++;
  1939. }
  1940. }
  1941.  
  1942. mlLink.parentNode.appendChild(ulElm);
  1943. }
  1944. else //compact view
  1945. {
  1946. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1947.  
  1948. while(blockIdx--)
  1949. {
  1950. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1951. {
  1952. continue;
  1953. }
  1954.  
  1955. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1956.  
  1957. var linkIdx = innerLinks.length;
  1958. while (linkIdx--)
  1959. {
  1960. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1961.  
  1962. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1963. {
  1964. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1965. }
  1966. else
  1967. {
  1968. var aElm = document.createElement('a');
  1969.  
  1970. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1971.  
  1972. //abbreviate host name
  1973. switch(hostName + ""){
  1974.  
  1975. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1976. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1977. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1978. case 'multishare': aElm.innerHTML = 'MS'; break;
  1979. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1980. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1981. case 'czshare': aElm.innerHTML = 'CS'; break;
  1982. default: aElm.innerHTML = 'xx';
  1983.  
  1984. }
  1985.  
  1986. aElm.href = innerLink;
  1987. aElm.className = 'container_link';
  1988.  
  1989. mlLink.parentNode.appendChild(aElm);
  1990. cLinksTotal++;
  1991. }
  1992. }
  1993.  
  1994. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1995.  
  1996. }
  1997. }
  1998.  
  1999. cMultiloadProcessed++;
  2000. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2001. {
  2002. if (Do_not_linkify_DL_links)
  2003. {
  2004. delinkifySnapshot(mlSnapshot);
  2005. }
  2006. startBulkCheck('container_link');
  2007. start('container_link');
  2008. }
  2009. }
  2010. });
  2011. }
  2012.  
  2013.  
  2014. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2015. {
  2016. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2017. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2018. var mcShortHostNames =
  2019. '?? RS MU ES DF Zs FF ?? SS ?? Ba NL LT MF MS ZS UL 2S ZI HF ST UP GF ?? UB Fr IF fs X7 UG ?? TB FS EB LB EU ?? OR ?? ?? DL EY ?? FK FH US BS WU FP PL FJ CR JF SM Ms Ff GU';
  2020. // 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
  2021. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2022. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2023. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2024. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2025.  
  2026. linkify(mcRegex);
  2027.  
  2028. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2029. var mcCount = mcSnapshot.snapshotLength;
  2030.  
  2031. cMirrorcreatorComTotal = mcCount;
  2032.  
  2033. if (mcCount > 0)
  2034. {
  2035. mcShortHostNames = mcShortHostNames.split(' ');
  2036. mcIdx = mcCount;
  2037. while(mcIdx--)
  2038. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2039. }
  2040.  
  2041. }
  2042. //MIRRORCREATOR.CZ END
  2043.  
  2044.  
  2045. //mirrorcreator.com checking works like this:
  2046. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2047. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2048. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2049. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2050. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2051. function processMirrorcreatorLink(mcLink)
  2052. {
  2053. var mcURL = mcLink.href.match(mcRegex);
  2054. if(!mcURL || !mcURL[1]) return;
  2055. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2056. GM_xmlhttpRequest({
  2057. method: 'GET',
  2058. url: mcURL,
  2059. headers: {
  2060. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2061. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2062. 'Referer': ""
  2063. },
  2064. onload: function(mcLinkResult) {
  2065. var mcLinkRes = mcLinkResult.responseText;
  2066.  
  2067. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2068. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2069.  
  2070. var mcRedirectors;
  2071. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2072. var m = mcLinkRes.match(mcLinkBlockRegex);
  2073. if (m)
  2074. mcHostsFound = m.length;
  2075. else
  2076. { //no files inside container
  2077. processMirrorcreatorFoundHosts(mcLink, []);
  2078. return;
  2079. }
  2080.  
  2081. var mcRedirectorURL, idx, timedOut = false;
  2082.  
  2083. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2084. GM_xmlhttpRequest({
  2085. method: 'GET',
  2086. url: mcRedirectorURL,
  2087. headers: {
  2088. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2089. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2090. 'Referer': ""
  2091. },
  2092. onload: function(mcHostResult) {
  2093. if (timedOut) return; //too late, the list is already displayed
  2094. var mcHostRes = mcHostResult.responseText;
  2095. var mcHost = mcHostRes.match(mcHostRegex);
  2096. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2097. if (mcHost && idx!=-1)
  2098. {
  2099. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2100. mcHostsRetrieved++;
  2101. mcHostsToProcess++;
  2102. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2103. {
  2104. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2105. mcHostsToProcess = 0;
  2106. }
  2107. }
  2108. } //end of onload: function
  2109. }); //end of GM_xmlhttpRequest call
  2110. };//end of var gmxhrFunc
  2111.  
  2112. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2113. { //load individual redirector pages
  2114. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2115. mcHostURLs.push(mcRedirectorURL);
  2116. mcRedirectorIDs.push(mcRedirectors[2]);
  2117. gmxhrFunc(mcRedirectorURL);
  2118. } //end of while block
  2119.  
  2120. setTimeout(function(){ //in case the last page fails to load and call the function
  2121. timedOut = true;
  2122. if (mcHostsToProcess)
  2123. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2124. }, 60000);
  2125.  
  2126. } //end of onload function
  2127. }); //end of GM_xmlhttpRequest call
  2128. } //end of function processMirrorcreatorLink
  2129.  
  2130.  
  2131. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2132. {
  2133. var aEl, liEl, docFrag;
  2134. var hostName, mcRedirectorID, trimFilename = false;
  2135. var i = mcHostURLs.length;
  2136. if (i == 0)
  2137. {
  2138. trimFilename = true;
  2139. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2140. }
  2141. else
  2142. {
  2143. if (Display_full_links_in_link_containers)
  2144. { //full view
  2145. var wrapperEl = document.createElement('span');
  2146. wrapperEl.style.display = 'block';
  2147. var ulistEl = document.createElement('ul');
  2148. ulistEl.className = 'container_list';
  2149. while (i--)
  2150. {
  2151. liEl = document.createElement('li');
  2152. aEl = document.createElement('a');
  2153. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2154. aEl.href = mcHostURLs[i];
  2155. aEl.className = 'container_link';
  2156. liEl.appendChild(aEl);
  2157. ulistEl.appendChild(liEl);
  2158. }
  2159. wrapperEl.appendChild(ulistEl);
  2160. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2161. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2162. }
  2163. else
  2164. { //compact view
  2165. trimFilename = true;
  2166. docFrag = document.createDocumentFragment();
  2167. docFrag.appendChild(document.createTextNode(' |'));
  2168. while (i--)
  2169. {
  2170. mcRedirectorID = mcRedirectorIDs[i];
  2171. hostName = mcHostURLs[i];
  2172. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2173. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2174. else
  2175. hostName = mcShortHostNames[mcRedirectorID];
  2176. aEl = document.createElement('a');
  2177. aEl.href = mcHostURLs[i];
  2178. aEl.className = 'container_link';
  2179. aEl.appendChild(document.createTextNode(hostName));
  2180. docFrag.appendChild(aEl);
  2181. docFrag.appendChild(document.createTextNode('|'));
  2182. }
  2183. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2184. } //end of else block
  2185. } //end of else block
  2186. mcLink.className = '';
  2187. if (trimFilename)
  2188. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2189. cMirrorcreatorComProcessed++;
  2190. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2191. {
  2192. if (Do_not_linkify_DL_links)
  2193. delinkifySnapshot(mcSnapshot);
  2194. startBulkCheck('container_link');
  2195. start('container_link');
  2196. }
  2197. } //end of function processMirrorcreatorFoundHosts
  2198.  
  2199. containers_processed = true;
  2200.  
  2201.  
  2202. function initRedirectors()
  2203. {
  2204. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2205. {
  2206. var redirector = new Object();
  2207. redirector.linkRegex = linkRegex;
  2208. redirector.xpath = xpathEx; //xpath expression
  2209. redirector.cProcessed = 0; //processed links count
  2210. redirector.cTotal = 0; //total links count
  2211. redirector.type = redirType; //redirectorTypes enum
  2212. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2213. redirectors.push(redirector);
  2214. }
  2215. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2216. {
  2217. addRedirector(
  2218. 'safelinking\\.net\/d\/\\w+',
  2219. "//a[contains(@href,'safelinking.net/d/')]",
  2220. redirectorTypes.HTTP_302,
  2221. null);
  2222. }
  2223. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2224. {
  2225. addRedirector(
  2226. 'linksafe\\.me\/d\/\\w+',
  2227. "//a[contains(@href,'linksafe.me/d/')]",
  2228. redirectorTypes.HTTP_302,
  2229. null);
  2230. }
  2231. if (GM_getValue("Check_linkto_dot_net_links", false))
  2232. {
  2233. addRedirector(
  2234. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2235. "//a[contains(@href,'linkto.net/?')]",
  2236. redirectorTypes.INNER_LINK,
  2237. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2238. }
  2239. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2240. {
  2241. addRedirector(
  2242. '(?:the)?loo\\.katt\\.it\/\\w+',
  2243. "//a[contains(@href,'loo.katt.it/')]",
  2244. redirectorTypes.THELOO_KATT_IT,
  2245. /Proceed to URL - <a href="(.+?)">/);
  2246. }
  2247. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2248. {
  2249. addRedirector(
  2250. 'madlink\\.sk\/\\w+',
  2251. "//a[contains(@href,'madlink.sk/')]",
  2252. redirectorTypes.INNER_LINK,
  2253. /name="url" value="(.+?)\s*"\/>/);
  2254. }
  2255. if (GM_getValue("Check_adf_dot_ly_links", false))
  2256. {
  2257. addRedirector(
  2258. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2259. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2260. redirectorTypes.ADF_LY,
  2261. null);
  2262. }
  2263. if (GM_getValue("Check_redi_dot_re_links", false))
  2264. {
  2265. addRedirector(
  2266. 'redi\\.re\/\\w+',
  2267. "//a[contains(@href,'redi.re/')]",
  2268. redirectorTypes.HTTP_302,
  2269. null);
  2270. }
  2271. if (GM_getValue("Check_bit_dot_ly_links", false))
  2272. {
  2273. addRedirector(
  2274. 'bit\\.ly\/\\w+',
  2275. "//a[contains(@href,'bit.ly/')]",
  2276. redirectorTypes.HTTP_302,
  2277. null);
  2278. }
  2279. }
  2280.  
  2281. }
  2282.  
  2283. var bulkHosts = new Array();
  2284. var bulkHostNames = new Array();
  2285. function initBulkCheck()
  2286. {
  2287. /////////////////////////////
  2288. // Inits filehost object
  2289. /////////////////////////////
  2290. // params :
  2291. // hostName -- [string] host name (multiple domains separated with coma)
  2292. // linkRegex -- [string] link regex
  2293. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2294. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2295. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2296. // corrReplWhat -- [regex] link correction regex (replace)
  2297. // corrReplWith -- [string]
  2298. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2299. //
  2300. // apiUrl -- [string] web linkchecker or API URL
  2301. // postData -- [string] POSTDATA of xmlhttprequest
  2302. // resLinkRegex -- [regex]
  2303. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2304. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2305. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2306. // func -- [function] bulkcheck handler, genBulkCheck if null
  2307. //
  2308. //////////////////////////////
  2309. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2310. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2311. {
  2312. var fileHost = new Object();
  2313.  
  2314. fileHost.linkRegex = linkRegex;
  2315. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2316. fileHost.xpath = xpath;
  2317. fileHost.cFound = 0; //found links counter
  2318. fileHost.links = new Array(); //found links
  2319. if (blockSize == null)
  2320. {
  2321. fileHost.blockSize = 50;
  2322. }
  2323. else
  2324. {
  2325. fileHost.blockSize = blockSize;
  2326. }
  2327. fileHost.corrMatch = corrMatch;
  2328. fileHost.corrReplWhat = corrReplWhat;
  2329. fileHost.corrReplWith = corrReplWith;
  2330. if (splitSeparator == null)
  2331. {
  2332. fileHost.splitSeparator = "\r\n";
  2333. }
  2334. else
  2335. {
  2336. fileHost.splitSeparator = splitSeparator;
  2337. }
  2338. fileHost.apiUrl = apiUrl;
  2339. fileHost.postData = postData;
  2340. fileHost.resLinkRegex = resLinkRegex;
  2341. fileHost.resLiveRegex = resLiveRegex;
  2342. fileHost.resDeadRegex = resDeadRegex;
  2343. fileHost.resUnavaRegex = resUnavaRegex;
  2344. if (func == null)
  2345. {
  2346. fileHost.func = genBulkCheck;
  2347. }
  2348. else
  2349. {
  2350. fileHost.func = func;
  2351. }
  2352. bulkHosts.push(fileHost);
  2353. var names = hostName.split(',');
  2354. var i = names.length;
  2355. while(i--)
  2356. {
  2357. bulkHostNames[names[i]] = fileHost;
  2358. }
  2359. }
  2360. var genType1 = [
  2361. "rodfile.com", "downloadani.me", //"migahost.com",
  2362. "rarefile.net",
  2363. "filesabc.com",
  2364. // "verzend.be",
  2365. // "movreel.com",
  2366. "file4safe.com", "filemac.com",
  2367. "longfiles.com",
  2368. "bitupload.com", //"4up.me",
  2369. //"uploadbaz.com"
  2370. ];
  2371. var genType2 = [ "queenshare.com",
  2372. "hulkload.com",
  2373. "amonshare.com", //"edoc.com",
  2374. ];
  2375. //xfilesharing 1.0
  2376. function addGenericType1()
  2377. {
  2378. var i = genType1.length;
  2379. while(i--)
  2380. {
  2381. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2382. {
  2383. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2384. addHost(
  2385. genType1[i].match(/[\w-]+/)[0], //hostname
  2386. regexSafe + "\/\\w+", //linkregex
  2387. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2388. null, //blocksize
  2389. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2390. null, //corrreplwhat
  2391. null, //corrreplwith
  2392. null, //separator
  2393. "http://" + genType1[i] + "/checkfiles.html", //api url
  2394. "op=checkfiles&process=Check+URLs&list=", //postdata
  2395. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2396. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2397. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2398. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2399. null //function delegate
  2400. )
  2401. }
  2402. }
  2403. }
  2404. //xfilesharing 2.0
  2405. function addGenericType2()
  2406. {
  2407. var i = genType2.length;
  2408. while(i--)
  2409. {
  2410. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2411. {
  2412. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2413. addHost(
  2414. genType2[i].match(/[\w-]+/)[0], //hostname
  2415. regexSafe + "\/\\w+", //linkregex
  2416. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2417. null, //blocksize
  2418. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2419. null, //corrreplwhat
  2420. null, //corrreplwith
  2421. null, //separator
  2422. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2423. "op=checkfiles&process=Check+URLs&list=", //postdata
  2424. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2425. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2426. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2427. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2428. null //function delegate
  2429. )
  2430. }
  2431. }
  2432. }
  2433. // TEMPLATE
  2434. // if (GM_getValue("Check__dot_com_links", false))
  2435. // {
  2436. // addHost(
  2437. // "", //hostname
  2438. // "", //linkregex
  2439. // "//a[contains(@href,'.com/')]", //xpath
  2440. // null, //blocksize
  2441. // null, //corrmatch
  2442. // null, //corrreplwhat
  2443. // null, //corrreplwith
  2444. // null, //separator
  2445. // "", //api url
  2446. // "", //postdata
  2447. // /()/, //linkregex
  2448. // //liveregex
  2449. // //deadregex
  2450. // //unavaregex
  2451. // null //function delegate
  2452. // )
  2453. // }
  2454. addGenericType1();
  2455. addGenericType2();
  2456.  
  2457. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2458. {
  2459. addHost(
  2460. "myvdrive,fileserving", //hostname
  2461. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2462. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2463. null, //blocksize
  2464. null, //corrmatch
  2465. null, //corrreplwhat
  2466. null, //corrreplwith
  2467. null, //separator
  2468. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2469. "links=", //postdata
  2470. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2471. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2472. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2473. null, //unavaregex
  2474. null //function delegate
  2475. )
  2476. }
  2477. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2478. {
  2479. addHost(
  2480. "hackerbox", //hostname
  2481. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2482. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2483. null, //blocksize
  2484. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2485. null, //corrreplwhat
  2486. null, //corrreplwith
  2487. null, //separator
  2488. "http://host.hackerbox.org/checkfiles.html", //api url
  2489. "op=checkfiles&process=Check+URLs&list=", //postdata
  2490. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2491. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2492. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2493. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2494. null //function delegate
  2495. )
  2496. }
  2497. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2498. {
  2499. addHost(
  2500. "hellshare", //hostname
  2501. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2502. "//a[contains(@href,'hellshare.')]", //xpath
  2503. 48, //blocksize
  2504. null, //corrmatch
  2505. null, //corrreplwhat
  2506. null, //corrreplwith
  2507. null, //separator
  2508. null, //api url
  2509. null, //postdata
  2510. null, //linkregex
  2511. null, //liveregex
  2512. null, //deadregex
  2513. null, //unavaregex
  2514. hellshareBulkCheck //function delegate
  2515. )
  2516. }
  2517. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2518. {
  2519. addHost(
  2520. "uploadrocket", //hostname
  2521. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2522. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2523. null, //blocksize
  2524. null, //corrmatch
  2525. null, //corrreplwhat
  2526. null, //corrreplwith
  2527. "\n", //separator
  2528. 'http://uploadrocket.net/?op=checkfiles',
  2529. 'op=checkfiles&process=Check+URLs&list=',
  2530. /uploadrocket.net\/(\w+)/,
  2531. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2532. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2533. null,
  2534. null //function delegate
  2535. )
  2536. }
  2537. if (GM_getValue("Check_uploading_dot_site_links", false))
  2538. {
  2539. addHost(
  2540. "uploading", //hostname
  2541. "(?:uploading\\.site)\/\\w+", //linkregex
  2542. "//a[contains(@href,'uploading.site/')]", //xpath
  2543. null, //blocksize
  2544. null, //corrmatch
  2545. null, //corrreplwhat
  2546. null, //corrreplwith
  2547. "\n", //separator
  2548. 'http://uploading.site/?op=checkfiles',
  2549. 'op=checkfiles&process=Check+URLs&list=',
  2550. /uploading.site\/(\w+)/,
  2551. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2552. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2553. null,
  2554. null //function delegate
  2555. )
  2556. }
  2557. if (GM_getValue("Check_1f_dot_al_links", false))
  2558. {
  2559. addHost(
  2560. "1f",
  2561. "(?:1f\\.al)\/d\/\\w+",
  2562. "//a[contains(@href,'1f.al/d/')]",
  2563. 100000, //blocksize
  2564. null, //corrmatch
  2565. null, //corrreplwhat
  2566. null, //corrreplwith
  2567. null, //separator
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. _1falBulkCheck //function delegate
  2575. )
  2576. }
  2577. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2578. {
  2579. addHost(
  2580. "k2s,keep2s,keep2share",
  2581. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2582. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2583. 100000, //blocksize
  2584. null, //corrmatch
  2585. null, //corrreplwhat
  2586. null, //corrreplwith
  2587. null, //separator
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. k2sBulkCheck //function delegate
  2595. )
  2596. }
  2597. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2598. {
  2599. addHost(
  2600. "tezfiles",
  2601. "(?:tezfiles\\.com)\/\\w+",
  2602. "//a[contains(@href,'tezfiles.com')]",
  2603. 100000, //blocksize
  2604. null, //corrmatch
  2605. null, //corrreplwhat
  2606. null, //corrreplwith
  2607. null, //separator
  2608. null,
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. null,
  2614. k2sBulkCheck //function delegate
  2615. )
  2616. }
  2617. if (GM_getValue("Check_fboom_dot_me_links", false))
  2618. {
  2619. addHost(
  2620. "fboom,fileboom",
  2621. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2622. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2623. 100000, //blocksize
  2624. null, //corrmatch
  2625. null, //corrreplwhat
  2626. null, //corrreplwith
  2627. null, //separator
  2628. null,
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. null,
  2634. fboomBulkCheck //function delegate
  2635. )
  2636. }
  2637. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2638. {
  2639. addHost(
  2640. "1fichier,dl4free",
  2641. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2642. "//a[contains(@href,'.1fichier.com') or contains(@href,'1fichier.com?') or contains(@href,'1fichier.com/?') or contains(@href,'.dl4free.com') or contains(@href,'dl4free.com?')or contains(@href,'dl4free.com/?')]",
  2643. 100000, //blocksize
  2644. null, //corrmatch
  2645. null, //corrreplwhat
  2646. null, //corrreplwith
  2647. null, //separator
  2648. null,
  2649. null,
  2650. null,
  2651. null,
  2652. null,
  2653. null,
  2654. dl4free_1fichier_BulkCheck //function delegate
  2655. )
  2656. }
  2657. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2658. {
  2659. addHost(
  2660. "nitroflare",
  2661. "nitroflare\\.com\/\\w+",
  2662. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2663. 100000, //blocksize
  2664. null, //corrmatch
  2665. null, //corrreplwhat
  2666. null, //corrreplwith
  2667. null, //separator
  2668. null,
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. nitroflareBulkCheck //function delegate
  2675. )
  2676. }
  2677. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2678. {
  2679. addHost(
  2680. "depositfiles,dfiles",
  2681. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2682. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/de/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.com/es/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/') or contains(@href,'dfiles.eu/en/files/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/es/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2683. 100000, //blocksize
  2684. null, //corrmatch
  2685. null, //corrreplwhat
  2686. null, //corrreplwith
  2687. null, //separator
  2688. null,
  2689. null,
  2690. null,
  2691. null,
  2692. null,
  2693. null,
  2694. depositfilesBulkCheck //function delegate
  2695. )
  2696. }
  2697. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2698. {
  2699. addHost(
  2700. "filesflash", //hostname
  2701. "filesflash\\.com\/\\w+", //linkregex
  2702. "//a[contains(@href,'filesflash.com')]", //xpath
  2703. null, //blocksize
  2704. null, //corrmatch
  2705. /http:\/\//, //corrreplwhat
  2706. '', //corrreplwith
  2707. null, //separator
  2708. 'http://filesflash.com/checklinks.php',
  2709. 'submit=Go&links=',
  2710. /filesflash\.com\/(\w+)/,
  2711. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2712. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2713. null,
  2714. null //function delegate
  2715. )
  2716. }
  2717. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2718. {
  2719. addHost(
  2720. "jumbofiles", //hostname
  2721. "jumbofiles\\.com\/\\w+", //linkregex
  2722. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2723. null, //blocksize
  2724. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2725. null, //corrreplwhat
  2726. null, //corrreplwith
  2727. null, //separator
  2728. "http://jumbofiles.com/checkfiles.html", //api url
  2729. "op=checkfiles&process=Check+URLs&list=", //postdata
  2730. /(jumbofiles\.com\/\w+)/, //linkregex
  2731. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2732. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2733. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2734. null //function delegate
  2735. )
  2736. }*/
  2737. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2738. {
  2739. addHost(
  2740. "edisk", //hostname
  2741. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2742. "//a[contains(@href,'edisk.')]", //xpath
  2743. null, //blocksize
  2744. null, //corrmatch
  2745. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2746. 'edisk.cz/stahni', //corrreplwith
  2747. null, //separator
  2748. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2749. 'submitBtn=Zkontrolovat&checkFiles=',
  2750. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2751. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2752. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2753. null,
  2754. null //function delegate
  2755. )
  2756. }
  2757. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2758. {
  2759. GM_xmlhttpRequest( //age check skip
  2760. {
  2761. method: 'POST',
  2762. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2763. headers: {
  2764. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2765. 'Content-type': 'application/x-www-form-urlencoded',
  2766. 'Referer': ""
  2767. }
  2768. });
  2769. addHost(
  2770. "bezvadata", //hostname
  2771. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2772. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2773. null, //blocksize
  2774. null, //corrmatch
  2775. null, //corrreplwhat
  2776. null, //corrreplwith
  2777. null, //separator
  2778. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2779. 'zkontrolovat=Zkontrolovat&odkazy=',
  2780. /(bezvadata\.cz\/stahnout\/\d+)/,
  2781. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2782. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2783. null,
  2784. null //function delegate
  2785. )
  2786. }
  2787. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2788. {
  2789. addHost(
  2790. "linkcrypt", //hostname
  2791. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2792. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2793. 100000, //blocksize
  2794. null, //corrmatch
  2795. null, //corrreplwhat
  2796. null, //corrreplwith
  2797. null, //separator
  2798. null,
  2799. null,
  2800. null,
  2801. null,
  2802. null,
  2803. null,
  2804. linkcryptBulkCheck //function delegate
  2805. )
  2806. }
  2807. if (GM_getValue("Check_videobb_dot_com_links", false))
  2808. {
  2809. addHost(
  2810. "videobb", //hostname
  2811. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2812. "//a[contains(@href,'videobb.com')]", //xpath
  2813. null, //blocksize
  2814. null, //corrmatch
  2815. /watch_video\.php\?v=/, //corrreplwhat
  2816. 'video/', //corrreplwith
  2817. null, //separator
  2818. 'http://www.videobb.com/link_checker.php',
  2819. 'links=',
  2820. /videobb\.com\/video\/(\w+)/,
  2821. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2822. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2823. null,
  2824. null //function delegate
  2825. )
  2826. }
  2827. if (GM_getValue("Check_filerio_dot_com_links", false))
  2828. {
  2829. addHost(
  2830. "filekeen,filerio", //hostname
  2831. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2832. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2833. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2834. null, //blocksize
  2835. null, //corrmatch
  2836. null, //corrreplwhat
  2837. null, //corrreplwith
  2838. null, //separator
  2839. 'http://filerio.in/checkfiles.html',
  2840. 'op=checkfiles&process=Check+URLs&list=',
  2841. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2842. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2843. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2844. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2845. null //function delegate
  2846. )
  2847. }
  2848. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2849. {
  2850. addHost(
  2851. "share-online,egoshare", //hostname
  2852. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2853. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2854. null, //blocksize
  2855. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2856. null, //corrreplwhat
  2857. null, //corrreplwith
  2858. "\n", //separator
  2859. 'http://api.share-online.biz/linkcheck.php',
  2860. 'links=',
  2861. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2862. /\w+;OK/g,
  2863. /\w+;(?:NOTFOUND|DELETED)/g,
  2864. null,
  2865. null //function delegate
  2866. )
  2867. }
  2868. if (GM_getValue("Check_oboom_dot_com_links", false))
  2869. {
  2870. addHost(
  2871. "oboom", //hostname
  2872. "oboom\\.com\/#?\\w{8}", //linkregex
  2873. "//a[contains(@href,'oboom.com/')]", //xpath
  2874. null, //blocksize
  2875. /oboom\.com\/#?(\w{8})/, //corrmatch
  2876. null, //corrreplwhat
  2877. null, //corrreplwith
  2878. null, //separator
  2879. null,
  2880. null,
  2881. null,
  2882. null, //liveregex
  2883. null, //deadregex
  2884. null,
  2885. oboomBulk //function delegate
  2886. )
  2887. }
  2888. if (GM_getValue("Check_mega_dot_nz_links", false))
  2889. {
  2890. addHost(
  2891. "mega",
  2892. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2893. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2894. 100000, //blocksize
  2895. null, //corrmatch
  2896. null, //corrreplwhat
  2897. null, //corrreplwith
  2898. null, //separator
  2899. null,
  2900. null,
  2901. null,
  2902. null,
  2903. null,
  2904. null,
  2905. megaBulkCheck //function delegate
  2906. )
  2907. }
  2908.  
  2909. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2910.  
  2911. if (GM_getValue("Check_extabit_dot_com_links", false))
  2912. {
  2913. addHost(
  2914. "extabit", //hostname
  2915. "extabit\\.com\/file\/\\w+", //linkregex
  2916. "//a[contains(@href,'extabit.com')]", //xpath
  2917. null, //blocksize
  2918. null, //corrmatch
  2919. null, //corrreplwhat
  2920. null, //corrreplwith
  2921. "\n", //separator
  2922. "http://extabit.com/linkchecker.jsp", //api url
  2923. "url=", //postdata
  2924. /extabit\.com\/(file\/\w+)/, //linkregex
  2925. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2926. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2927. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2928. extabitBulkCheck //function delegate
  2929. )
  2930. }
  2931. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2932. {
  2933. addHost(
  2934. "junocloud", //hostname
  2935. "junocloud\\.me\/\\w+", //linkregex
  2936. "//a[contains(@href,'junocloud.me')]", //xpath
  2937. null, //blocksize
  2938. null, //corrmatch
  2939. null, //corrreplwhat
  2940. null, //corrreplwith
  2941. "\n", //separator
  2942. "http://junocloud.me/checkfiles.html", //api url
  2943. "op=checkfiles&process=Check+URLs&list=", //postdata
  2944. /(junocloud\.me\/\w+)/, //linkregex
  2945. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2946. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2947. null, //unavaregex
  2948. null //function delegate
  2949. )
  2950. } */
  2951. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2952. {
  2953. addHost(
  2954. "webshare", //hostname
  2955. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2956. "//a[contains(@href,'webshare.cz')]", //xpath
  2957. 100000, //blocksize
  2958. null, //corrmatch
  2959. null, //corrreplwhat
  2960. null, //corrreplwith
  2961. null, //separator
  2962. null, //api url
  2963. null, //postdata
  2964. null, //linkregex
  2965. null, //liveregex
  2966. null, //deadregex
  2967. null, //unavaregex
  2968. webshareBulkCheck //function delegate
  2969. )
  2970. }
  2971. /////////////////////////////
  2972. // Common function delegate to send links to get checked by host linkchecker
  2973. /////////////////////////////
  2974. // If you define a new delegate, you may use following properties
  2975. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2976. // this.apiUrl [string] API or web linkchecker URL
  2977. // this.postData [string] POSTDATA for POST request
  2978. // this.resLiveRegex [regex] matches live substrings in the request response
  2979. // this.resDeadRegex [regex] matches dead substrings in the request response
  2980. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2981. //
  2982. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2983. //
  2984. // See the code below for standard bulkcheck handling reference.
  2985. //////////////////////////////
  2986. function genBulkCheck()
  2987. {
  2988. var blockIdx = this.links.length;
  2989. while (blockIdx--)
  2990. {
  2991. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2992. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2993. }
  2994. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2995. {
  2996. GM_xmlhttpRequest(
  2997. {
  2998. method: 'POST',
  2999. url: api,
  3000. headers: {
  3001. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3002. 'Content-type': 'application/x-www-form-urlencoded',
  3003. 'Referer': api,
  3004. 'X-Requested-With': 'XMLHttpRequest'
  3005. },
  3006. data: postData + encodeURIComponent(links),
  3007. onload: function (result)
  3008. {
  3009. var res = result.responseText;
  3010. // GM_log(res);
  3011. var i;
  3012.  
  3013. var livelinks = res.match(liveRegex);
  3014. var deadlinks = res.match(deadRegex);
  3015. // GM_log(livelinks);
  3016. // GM_log(deadlinks);
  3017. if (livelinks != null)
  3018. {
  3019. i = livelinks.length - 1;
  3020. do
  3021. {
  3022. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3023. }
  3024. while (i--);
  3025. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3026. }
  3027.  
  3028. if (deadlinks != null)
  3029. {
  3030. i = deadlinks.length - 1;
  3031. do
  3032. {
  3033. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3034. }
  3035. while (i--);
  3036. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3037. }
  3038.  
  3039. if (unavaRegex != null)
  3040. {
  3041. var unavalinks = res.match(unavaRegex);
  3042. if (unavalinks)
  3043. {
  3044. i = unavalinks.length - 1;
  3045. do
  3046. {
  3047. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3048. }
  3049. while (i--);
  3050. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3051. }
  3052. }
  3053. }
  3054. });
  3055. }
  3056. }
  3057. //specialized bulkchecking handlers follow
  3058. function webshareBulkCheck()
  3059. {
  3060. var arr = this.links[0].split("\r\n");
  3061. var i = arr.length;
  3062. while(i--)
  3063. {
  3064. postRequest(arr[i]);
  3065. }
  3066. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3067. function postRequest(wsLink)
  3068. {
  3069. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3070. GM_xmlhttpRequest(
  3071. {
  3072. method: 'POST',
  3073. url: "http://webshare.cz/api/file_info/",
  3074. headers: {
  3075. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3076. 'Content-type': 'application/x-www-form-urlencoded',
  3077. 'Referer': "",
  3078. },
  3079. data: "wst=&ident=" + id,
  3080. onload: function (result)
  3081. {
  3082. var res = result.responseText;
  3083. if (res.match(/<name>.+?<\/name>/))
  3084. {
  3085. DisplayTheCheckedLinks([id], 'alive_link');
  3086. }
  3087. else
  3088. {
  3089. DisplayTheCheckedLinks([id], 'adead_link');
  3090. }
  3091. }
  3092. });
  3093. }
  3094. }
  3095. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3096. //extabit also doesn't like requests in fast succession, so some delays are added.
  3097. function extabitBulkCheck()
  3098. {
  3099. var timeoutDelay = 0;
  3100. var blockIdx = this.links.length;
  3101. while (blockIdx--)
  3102. {
  3103. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3104. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3105. }
  3106. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3107. {
  3108. GM_xmlhttpRequest(
  3109. {
  3110. method: 'POST',
  3111. url: api,
  3112. headers: {
  3113. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3114. 'Content-type': 'application/x-www-form-urlencoded',
  3115. 'Referer': api,
  3116. 'X-Requested-With': 'XMLHttpRequest'
  3117. },
  3118. data: postData + encodeURIComponent(links),
  3119. onload: function (result)
  3120. {
  3121. var res = result.responseText;
  3122. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3123. {
  3124. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3125. {
  3126. //GM_log(tryID + ': ' + link);
  3127. GM_xmlhttpRequest(
  3128. {
  3129. method: 'GET',
  3130. url: link,
  3131. headers: {'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8','Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7','Referer': ""},
  3132. onload: function(result2)
  3133. {
  3134. var res2 = result2.responseText;
  3135. var res2Status = result.status;
  3136. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3137. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3138. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3139. {
  3140. if (tryID < 7)
  3141. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3142. else
  3143. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3144. }
  3145. }
  3146. });
  3147. }
  3148. //split the hrefs and check them one by one
  3149. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3150. links = links.split('\n');
  3151. var i = links.length;
  3152. while (i--)
  3153. {
  3154. if (links[i])
  3155. {
  3156. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3157. timeoutDelay += 500;
  3158. }
  3159. }
  3160. return;
  3161. }
  3162. var i;
  3163.  
  3164. var livelinks = res.match(liveRegex);
  3165. var deadlinks = res.match(deadRegex);
  3166. if (livelinks != null)
  3167. {
  3168. i = livelinks.length - 1;
  3169. do
  3170. {
  3171. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3172. }
  3173. while (i--);
  3174. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3175. }
  3176.  
  3177. if (deadlinks != null)
  3178. {
  3179. i = deadlinks.length - 1;
  3180. do
  3181. {
  3182. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3183. }
  3184. while (i--);
  3185. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3186. }
  3187.  
  3188. if (unavaRegex != null)
  3189. {
  3190. var unavalinks = res.match(unavaRegex);
  3191. if (unavalinks)
  3192. {
  3193. i = unavalinks.length - 1;
  3194. do
  3195. {
  3196. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3197. }
  3198. while (i--);
  3199. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3200. }
  3201. }
  3202. }
  3203. });
  3204. }
  3205. }
  3206. function _1falBulkCheck()
  3207. {
  3208. var arr = this.links[0].split("\r\n");
  3209. var i = arr.length;
  3210. c=0;
  3211. arrIDs=[];
  3212. while(i--)
  3213. {
  3214. id = arr[i].match(/\/d\/(\w+)/)[1];
  3215.  
  3216. _1falalreadyexist=false;
  3217. for (j=0;j<arrIDs.length;j++)
  3218. {
  3219. if (arrIDs[j]==id)
  3220. {
  3221. _1falalreadyexist=g
  3222. break;
  3223. }
  3224. }
  3225. if (_1falalreadyexist) continue;
  3226. arrIDs.push(id);
  3227. c++;
  3228. setTimeout(_1falRequest,c*500,arr[i]);
  3229. }
  3230. }
  3231. function _1falRequest(_1falLink)
  3232. {
  3233. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3234. GM_xmlhttpRequest(
  3235. {
  3236. method: 'GET',
  3237. url: _1falLink,
  3238. headers: {
  3239. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3240. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3241. 'Referer': 'http://www.planetsuzy.org/'
  3242. },
  3243. onload: function (result)
  3244. {
  3245. var res = result.responseText;
  3246. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3247. if (FAarr!=null)
  3248. {
  3249. FALink=FAarr[1];
  3250. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3251. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3252. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3253. GM_xmlhttpRequest(
  3254. {
  3255. method: 'POST',
  3256. url: FALink,
  3257. headers: {
  3258. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3259. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3260. 'Content-Type': 'application/x-www-form-urlencoded',
  3261. 'Referer': _1falLink
  3262. },
  3263. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3264. onload: function (_2ndresult)
  3265. {
  3266. var newres = _2ndresult.responseText;
  3267. FAalivelink=new RegExp("method_free");
  3268. if (FAalivelink.test(newres))
  3269. {
  3270. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3271. return;
  3272. }
  3273. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3274. if (FAdeadlink.test(newres))
  3275. {
  3276. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3277. return;
  3278. }
  3279. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3280. return;
  3281. }
  3282. });
  3283. return;
  3284. }
  3285. else
  3286. {
  3287. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3288. return;
  3289. }
  3290. },
  3291. onerror: function ()
  3292. {
  3293. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3294. return;
  3295. }
  3296. });
  3297. }
  3298. function k2sBulkCheck()
  3299. {
  3300. var arr = this.links[0].split("\r\n");
  3301. var i = arr.length;
  3302. c=0;
  3303. arrIDs=[];
  3304. while(i--)
  3305. {
  3306. id = arr[i].match(/\/file\/(\w+)/)[1];
  3307. if (id=='info')
  3308. {
  3309. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3310. continue;
  3311. }
  3312. k2salreadyexist=false;
  3313. for (j=0;j<arrIDs.length;j++)
  3314. {
  3315. if (arrIDs[j]==id)
  3316. {
  3317. k2salreadyexist=g
  3318. break;
  3319. }
  3320. }
  3321. if (k2salreadyexist) continue;
  3322. arrIDs.push(id);
  3323. c++;
  3324. setTimeout(k2sRequest,c*500,arr[i]);
  3325. }
  3326. }
  3327. function k2sRequest(K2SLink)
  3328. {
  3329. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3330. GM_xmlhttpRequest(
  3331. {
  3332. method: 'GET',
  3333. url: K2SLink,
  3334. headers: {
  3335. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3336. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3337. 'Referer': ''
  3338. },
  3339. onload: function (result)
  3340. {
  3341. var res = result.responseText;
  3342. K2Dom='k2s.cc';
  3343. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3344. K2SLink2='http://'+K2Dom+'/file/'+id;
  3345.  
  3346. if (res.match('div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available'))
  3347. {
  3348. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3349. return;
  3350. }
  3351. if (res.match('method="post">Displaying'))
  3352. {
  3353. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3354. return;
  3355. }
  3356. if (res.match('Premium only|only for premium members'))
  3357. {
  3358. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3359. return;
  3360. }
  3361. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3362. {
  3363. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3364. slID=slow_id.exec(res)[1];
  3365. GM_xmlhttpRequest(
  3366. {
  3367. method: 'POST',
  3368. url: K2SLink2,
  3369. headers: {
  3370. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3371. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3372. 'Content-Type': 'application/x-www-form-urlencoded',
  3373. 'Referer': K2SLink
  3374. },
  3375. data: 'slow_id='+slID+'&yt0=',
  3376. onload: function (result)
  3377. {
  3378. var newres = result.responseText;
  3379. newoversizedtest=new RegExp("Free user can't download large files.");
  3380. if (newoversizedtest.test(newres))
  3381. {
  3382. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3383. return;
  3384. }
  3385. else
  3386. {
  3387. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3388. return;
  3389. }
  3390. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3391. return;
  3392. }
  3393. });
  3394. /////////////////////end additional check for oversized links
  3395. return;
  3396. }
  3397. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3398. return;
  3399. },
  3400. onerror: function ()
  3401. {
  3402. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3403. return;
  3404. }
  3405. });
  3406. }
  3407. function fboomBulkCheck()
  3408. {
  3409. var arr = this.links[0].split("\r\n");
  3410. var i = arr.length;
  3411. c=0;
  3412. arrIDs=[];
  3413. while(i--)
  3414. {
  3415. id = arr[i].match(/\/file\/(\w+)/)[1];
  3416. if (id=='info')
  3417. {
  3418. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3419. continue;
  3420. }
  3421. fbalreadyexist=false;
  3422. for (j=0;j<arrIDs.length;j++)
  3423. {
  3424. if (arrIDs[j]==id)
  3425. {
  3426. fbalreadyexist=true;
  3427. break;
  3428. }
  3429. }
  3430. if (fbalreadyexist) continue;
  3431. arrIDs.push(id);
  3432. c++;
  3433. setTimeout(fboomRequest,c*500,arr[i]);
  3434. }
  3435. }
  3436. function fboomRequest(FBoomLink)
  3437. {
  3438. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3439. FBoomLink2='http://fboom.me/file/'+id;
  3440. GM_xmlhttpRequest(
  3441. {
  3442. method: 'GET',
  3443. url: FBoomLink,
  3444. headers: {
  3445. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3446. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3447. 'Referer': ''
  3448. },
  3449. onload: function (result)
  3450. {
  3451. var res = result.responseText;
  3452. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3453. {
  3454. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3455. return;
  3456. }
  3457. if (res.match('method="post">Displaying'))
  3458. {
  3459. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3460. return;
  3461. }
  3462. if (res.match('only for premium members'))
  3463. {
  3464. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3465. return;
  3466. }
  3467. if (res.match('id="download-free" href="#"'))
  3468. {
  3469. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3470. slID=slow_id.exec(res)[1];
  3471. GM_xmlhttpRequest(
  3472. {
  3473. method: 'POST',
  3474. url: FBoomLink2,
  3475. headers: {
  3476. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3477. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3478. 'Content-Type': 'application/x-www-form-urlencoded',
  3479. 'Referer': FBoomLink
  3480. },
  3481. data: 'slow_id='+slID,
  3482. onload: function (result)
  3483. {
  3484. var newres = result.responseText;
  3485. newoversizedtest=new RegExp("Downloading is not possible");
  3486. if (newoversizedtest.test(newres))
  3487. {
  3488. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3489. return;
  3490. }
  3491. else
  3492. {
  3493. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3494. return;
  3495. }
  3496. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3497. return;
  3498. }
  3499. });
  3500. /////////////////////end additional check for oversized links
  3501. return;
  3502. }
  3503. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3504. return;
  3505. },
  3506. onerror: function ()
  3507. {
  3508. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3509. return;
  3510. }
  3511. });
  3512. }
  3513. function dl4free_1fichier_BulkCheck()
  3514. {
  3515. var arr = this.links[0].split("\r\n");
  3516. var i = arr.length;
  3517. while(i--)
  3518. {
  3519. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3520. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3521. gethead_dl4free_1fichier(arr[i]);
  3522. }
  3523. }
  3524. function gethead_dl4free_1fichier(link)
  3525. {
  3526. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3527. GM_xmlhttpRequest(
  3528. {
  3529. method: 'HEAD',
  3530. url: link,
  3531. headers: {
  3532. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3533. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3534. 'Referer': ''
  3535. },
  3536. onload: function (result)
  3537. {
  3538. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3539. {
  3540. DisplayTheCheckedLinks([id], 'alive_link');
  3541. return;
  3542. }
  3543. else
  3544. {
  3545. getlink_dl4free_1fichier(link);
  3546. }
  3547. return;
  3548. },
  3549. onerror: function ()
  3550. {
  3551. DisplayTheCheckedLinks([id], 'unava_link');
  3552. }
  3553. });
  3554. }
  3555. function getlink_dl4free_1fichier(link)
  3556. {
  3557. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3558. GM_xmlhttpRequest(
  3559. {
  3560. method: 'GET',
  3561. url: link,
  3562. headers: {
  3563. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3564. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3565. 'Referer': ''
  3566. },
  3567. onload: function (result)
  3568. {
  3569. var res = result.responseText;
  3570. deadRegex=new RegExp('The requested file has been deleted|Select files to send|File not found|file could not be found|Select files to send|Selectionnez les fichiers a envoyer|file has been deleted|Le fichier demande a ete supprime|Le fichier demandé n');
  3571. if (deadRegex.test(res))
  3572. {
  3573. DisplayTheCheckedLinks([id], 'adead_link');
  3574. return;
  3575. }
  3576. premiumRegex=new RegExp('only for premium users');
  3577. if (premiumRegex.test(res))
  3578. {
  3579. DisplayTheCheckedLinks([id], 'prem_link');
  3580. return;
  3581. }
  3582. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|value="Access to download"|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3583. if (liveRegex.test(res))
  3584. {
  3585. DisplayTheCheckedLinks([id], 'alive_link');
  3586. return;
  3587. }
  3588. DisplayTheCheckedLinks([id], 'unava_link');
  3589. },
  3590. onerror: function ()
  3591. {
  3592. DisplayTheCheckedLinks([id], 'unava_link');
  3593. }
  3594. });
  3595. }
  3596. function nitroflareBulkCheck()
  3597. {
  3598. var arr = this.links[0].split("\r\n");
  3599. var i = arr.length;
  3600. while(i--)
  3601. {
  3602. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3603. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3604. NitroFlareRequest(arr[i]);
  3605. }
  3606. }
  3607. function NitroFlareRequest(NFLink)
  3608. {
  3609. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3610. GM_xmlhttpRequest(
  3611. {
  3612. method: "GET",
  3613. url: NFLink,
  3614. headers: {
  3615. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3616. 'Content-Type': 'application/x-www-form-urlencoded',
  3617. 'Referer': ""
  3618. },
  3619. onload: function (result)
  3620. {
  3621. var res = result.responseText;
  3622. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3623. {
  3624. DisplayTheCheckedLinks([NFID], 'adead_link');
  3625. return;
  3626. }
  3627. if (res.match('Report this file<\/a>'))
  3628. {
  3629. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3630. sizearr=measureRegex.exec(res);
  3631. if (sizearr[2]=='GB')
  3632. {
  3633. if (parseFloat(sizearr[1])>1)
  3634. {
  3635. DisplayTheCheckedLinks([NFID], 'prem_link');
  3636. }
  3637. else
  3638. {
  3639. DisplayTheCheckedLinks([NFID], 'alive_link');
  3640. }
  3641. }
  3642. else
  3643. {
  3644. DisplayTheCheckedLinks([NFID], 'alive_link');
  3645. }
  3646. return;
  3647. }
  3648. DisplayTheCheckedLinks([NFID], 'unava_link');
  3649. }
  3650. });
  3651. }
  3652. function depositfilesBulkCheck()
  3653. {
  3654. var arr = this.links[0].split("\r\n");
  3655. var i = arr.length;
  3656. var seqno = Math.floor(Math.random()*1000000000);
  3657. while(i--)
  3658. {
  3659. DFpostRequest(arr[i]);
  3660. }
  3661. }
  3662. function DFpostRequest(DFLink)
  3663. {
  3664. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3665. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3666. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3667. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3668. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3670. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3671. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3672. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3673. GM_xmlhttpRequest(
  3674. {
  3675. method: "GET",
  3676. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3677. headers: {
  3678. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3679. 'Content-Type': 'application/x-www-form-urlencoded',
  3680. 'Referer': ""
  3681. },
  3682. onload: function (result)
  3683. {
  3684. var res = result.responseText;
  3685. if (res.match('(?:no_file|file_ban)'))
  3686. {
  3687. DisplayTheCheckedLinks([id], 'adead_link');
  3688. return;
  3689. }
  3690. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3691. {
  3692. DisplayTheCheckedLinks([id], 'alive_link');
  3693. return;
  3694. }
  3695. DisplayTheCheckedLinks([id], 'unava_link');
  3696. }
  3697. });
  3698. }
  3699.  
  3700. function megaBulkCheck()
  3701. {
  3702. var arr = this.links[0].split("\r\n");
  3703. var i = arr.length;
  3704. var seqno = Math.floor(Math.random()*1000000000);
  3705. while(i--)
  3706. {
  3707. postRequest(arr[i]);
  3708. }
  3709. function postRequest(megaLink)
  3710. {
  3711. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3712. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3713. if (id=='F')
  3714. {
  3715. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3716. DisplayTheCheckedLinks([id], 'unava_link');
  3717. }
  3718. else
  3719. GM_xmlhttpRequest(
  3720. {
  3721. method: "POST",
  3722. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3723. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3724. headers: {
  3725. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3726. 'Content-Type': 'application/xml',
  3727. 'Referer': "https://mega.co.nz/"
  3728. },
  3729. onload: function (result)
  3730. {
  3731. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3732. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3733. {
  3734.  
  3735. DisplayTheCheckedLinks([id], 'adead_link');
  3736. }
  3737. if (res.at)
  3738. {
  3739. DisplayTheCheckedLinks([id], 'alive_link');
  3740. }
  3741. if (res.e == "ETEMPUNAVAIL")
  3742. {
  3743. DisplayTheCheckedLinks([id], 'unava_link');
  3744. }
  3745. }
  3746. });
  3747. }
  3748.  
  3749. }
  3750.  
  3751. function oboomBulk() {
  3752. var a = [], b = [], c = [];
  3753. var array = this.links;
  3754.  
  3755. GM_xmlhttpRequest({
  3756. method: 'GET',
  3757. url: 'https://www.oboom.com/1/guestsession',
  3758. headers: {
  3759. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3760. 'Content-type': 'application/x-www-form-urlencoded',
  3761. 'Referer': 'https://www.oboom.com',
  3762. 'X-Requested-With': 'XMLHttpRequest'
  3763. },
  3764. onload: function(result) {
  3765. var blockIdx = array.length;
  3766. var token = JSON.parse(result.responseText)[1];
  3767. while (blockIdx--) {
  3768. startCheck(array[blockIdx].split('\r\n'), token);
  3769. }
  3770. }
  3771. });
  3772.  
  3773. function startCheck(links, token) {
  3774. GM_xmlhttpRequest({
  3775. method: 'POST',
  3776. url: "https://api.oboom.com/1/info",
  3777. headers: {
  3778. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3779. 'Content-type': 'application/x-www-form-urlencoded',
  3780. 'Referer': 'https://www.oboom.com/',
  3781. 'X-Requested-With': 'XMLHttpRequest'
  3782. },
  3783. data: "token=" + token + "&items=" + links.join(","),
  3784. onload: function(result) {
  3785. var res = JSON.parse(result.responseText)[1];
  3786. var i = res.length, s;
  3787.  
  3788. while (i--) {
  3789. s = res[i].state;
  3790. if (s == 'online') a.push(res[i].id);
  3791. else if (s == 'blocked' || s == 'abused' || s == 'lost' || s == 'not_found' || s == 'not_available'|| s == 'download_error' || s == 'offline' || s == 'expired' ) b.push(res[i].id);
  3792. else c.push(res[i].id);
  3793. }
  3794.  
  3795. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3796. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3797. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3798. }
  3799. });
  3800. }
  3801. }
  3802. function linkcryptBulkCheck()
  3803. {
  3804. var arr = this.links[0].split("\r\n");
  3805. var i = arr.length;
  3806. while(i--)
  3807. {
  3808. postRequest(arr[i]);
  3809. }
  3810. function postRequest(lcLink)
  3811. {
  3812. GM_xmlhttpRequest(
  3813. {
  3814. method: "GET",
  3815. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3816. headers: {
  3817. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3818. 'Accept': 'text/xml',
  3819. 'Referer': ""
  3820. },
  3821. onload: function (result)
  3822. {
  3823. var res = result.responseText;
  3824. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3825. {
  3826. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3827. return;
  3828. }
  3829. if (res.match(/folderStatus>1/)) //Online status
  3830. {
  3831. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3832. }
  3833. else
  3834. {
  3835. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3836. }
  3837. }
  3838. });
  3839. }
  3840. }
  3841.  
  3842. /* function megashareBulkCheck()
  3843. {
  3844. var arr = this.links[0].split("\r\n");
  3845. var i = arr.length;
  3846. while(i--)
  3847. {
  3848. postRequest(arr[i]);
  3849. }
  3850. function postRequest(msLink)
  3851. {
  3852. GM_xmlhttpRequest(
  3853. {
  3854. method: "GET",
  3855. url: msLink,
  3856. headers: {
  3857. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3858. 'Content-Type': 'application/x-www-form-urlencoded',
  3859. 'Referer': ""
  3860. },
  3861. onload: function (result)
  3862. {
  3863. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3864. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3865. if ((prZVal == null) || (btn3Name == null))
  3866. {
  3867. return;
  3868. }
  3869. GM_xmlhttpRequest(
  3870. {
  3871. method: "POST",
  3872. url: msLink,
  3873. headers: {
  3874. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3875. 'Content-Type': 'application/x-www-form-urlencoded',
  3876. 'Referer': ""
  3877. },
  3878. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3879. onload: function (result)
  3880. {
  3881. var res = result.responseText;
  3882. if (res.match(/<div id="err">/))
  3883. {
  3884. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3885. }
  3886. else
  3887. {
  3888. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3889. }
  3890. }
  3891. });
  3892. }
  3893. });
  3894. }
  3895. } */
  3896. function hellshareBulkCheck()
  3897. {
  3898. var links = this.links;
  3899. GM_xmlhttpRequest(
  3900. {
  3901. method: "GET",
  3902. url: 'http://www.hellshare.com',
  3903. headers: {
  3904. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3905. 'Accept': 'text/xml',
  3906. 'Referer': ""
  3907. },
  3908. onload: function (result)
  3909. {
  3910. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3911.  
  3912. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3913. if (domain == 'sk')
  3914. loc = 'check=Skontrolova%C5%A5&links=';
  3915. if (domain == 'com')
  3916. loc = 'check=Check+availability&links=';
  3917. if (domain == 'hu')
  3918. loc = 'check=Kontrol%C3%A1lj&links=';
  3919. if (domain == 'pl')
  3920. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3921.  
  3922. genBulkCheck.call({ links: links,
  3923. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3924. postData: loc,
  3925. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3926. resLiveRegex: /OK" style="width:21px;height:20px;margin-right:10px;" \/><a href="http:\/\/download\.hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)[\w-\.]+\/\d{5,}/g,
  3927. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3928. resUnavaRegex: null
  3929. });
  3930. }
  3931. });
  3932. }
  3933. /**
  3934. * Displays check result
  3935. * @param {Array} Array of links or link fragments.
  3936. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3937. */
  3938. function DisplayTheCheckedLinks(links, resultStatus)
  3939. {
  3940. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3941. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3942. if (Do_not_linkify_DL_links)
  3943. { //TODO into separate jQuery function
  3944. $links.replaceWith(function(){
  3945. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3946. });
  3947. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3948. }
  3949. $links.removeClass().addClass(resultStatus);
  3950. $links.each(function() {
  3951. this.href = Ref_anonymize_service + $(this).attr("href");
  3952. });
  3953. switch(resultStatus)
  3954. {
  3955. case "alive_link": cLinksAlive += $links.length;
  3956. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3957. break;
  3958. case "adead_link": cLinksDead += $links.length;
  3959. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3960. break;
  3961. case "prem_link": cLinksprem += $links.length;
  3962. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3963. break;
  3964. case "unava_link": cLinksUnava += $links.length; break;
  3965. default:
  3966. }
  3967. cLinksProcessed += $links.length;
  3968. }
  3969. }
  3970. // starts bulkchecking
  3971. //
  3972. // params
  3973. // filterId [string] restricts link detection with passed id attribute
  3974. function startBulkCheck(filterId)
  3975. {
  3976. var cHosts = bulkHosts.length;
  3977. if (cHosts == 0) //no filehostings selected
  3978. return;
  3979. // STEP 1 linkify the links
  3980. var linkifyRegex = '';
  3981. var hostIdx = cHosts;
  3982. while(hostIdx--)
  3983. {
  3984. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3985. }
  3986. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3987. linkify(linkifyRegex);
  3988. //
  3989. //STEP 2 detect link objects
  3990. var xpathAll = '';
  3991. var hostIdx = cHosts;
  3992. while(hostIdx--)
  3993. {
  3994. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3995. }
  3996. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3997. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3998. if (filterId != null) //insert id restriction in the xpath
  3999. {
  4000. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4001. }
  4002. else
  4003. {
  4004. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4005. }
  4006. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4007. if (filterId == null)
  4008. {
  4009. cLinksTotal += links.snapshotLength;
  4010. }
  4011. //
  4012. //STEP 3 bind links with hostings
  4013. var linkIdx = links.snapshotLength;
  4014. var href = null;
  4015. if (linkIdx == 0) // no links found
  4016. return;
  4017. var name;
  4018. while (linkIdx--)
  4019. {
  4020. href = links.snapshotItem(linkIdx).href;
  4021. try // DO NOT REMOVE, filters crap that went through xpath detection
  4022. {
  4023. name = gimmeHostName(href);
  4024. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4025. bulkHostNames[name].links.push(href);
  4026. }
  4027. catch(e)
  4028. {
  4029.  
  4030. }
  4031. }
  4032. //
  4033. //STEP 4 process the links for each filehosting
  4034. var hostIdx = cHosts;
  4035. var host;
  4036. var m,n;
  4037. var arr;
  4038. while (hostIdx--)
  4039. {
  4040. host = bulkHosts[hostIdx];
  4041. arr = host.links;
  4042. if (arr.length == 0) //no links for this hosting, skip
  4043. {
  4044. continue;
  4045. }
  4046. //links match corrections
  4047. if (host.corrMatch != null)
  4048. {
  4049. var idx = arr.length;
  4050. while (idx--)
  4051. {
  4052. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4053. }
  4054. }
  4055. //links replace corrections
  4056. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4057. {
  4058. var idx = arr.length;
  4059. while (idx--)
  4060. {
  4061. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4062. }
  4063. }
  4064. m = arr.length;
  4065. n = host.blockSize;
  4066. if (m > n)
  4067. {
  4068. //insert block separators (RAND_STRING) into the array
  4069. for(var i = n; i < m; i += n + 1)
  4070. {
  4071. arr.splice(i, 0, RAND_STRING);
  4072. }
  4073. }
  4074.  
  4075. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4076. apiUrl: host.apiUrl,
  4077. postData: host.postData,
  4078. resLinkRegex: host.resLinkRegex,
  4079. resLiveRegex: host.resLiveRegex,
  4080. resDeadRegex: host.resDeadRegex,
  4081. resUnavaRegex: host.resUnavaRegex
  4082. });
  4083. //clean up
  4084. arr.length = 0;
  4085. }
  4086. //
  4087.  
  4088. function gimmeHostName(link)
  4089. {
  4090. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4091. }
  4092. }
  4093. function checkLinks(filterId)
  4094. {
  4095. startBulkCheck(filterId);
  4096. start(filterId);
  4097. }
  4098.  
  4099. /**
  4100. * Initialises progress box including event binding and CSS
  4101. */
  4102. function initProgressBox()
  4103. {
  4104. if ($("#warlc-progressbox").length > 0)
  4105. return;
  4106. //progressbox css change size and color of progress box
  4107. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4108. "; opacity:" + (Progress_box_opacity / 100) +
  4109. "; bottom:" + Processbox_Pos_Y +
  4110. "%; left:" + Processbox_Pos_X +
  4111. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4112. \
  4113. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4114. \
  4115. .warlc-progressitem {}\
  4116. \
  4117. .alive {color:#00FF7F; " + Live_links_color +
  4118. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4119. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4120. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4121. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4122. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4123. //
  4124. if (Progressbox_Scaling != 100) {
  4125. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4126. progressboxCss = progressboxCss.replace(new RegExp(el + "(?!" + RAND_STRING + ")"), parseFloat(el) * Progressbox_Scaling/100 + "px" + RAND_STRING); //RAND_STRING to prevent the same value replaced twice
  4127. });
  4128. }
  4129. progressboxCss = progressboxCss.replace(new RegExp(RAND_STRING, "g"), "").replace("ToBeAddedLater", unava_link_png); //inserting the unava_link_png at the end because the function messes up its base64 string
  4130.  
  4131. GM_addStyle(progressboxCss);
  4132. $('body').append(' <div id="warlc-progressbox">\
  4133. <div class="warlc-progressbar"></div>\
  4134. <span class="warlc-progressitem alive"></span> - \
  4135. <span class="warlc-progressitem dead"></span> - \
  4136. <span class="warlc-progressitem unava"></span> - \
  4137. <span class="warlc-progressitem prem"></span> - \
  4138. <span class="warlc-progressitem processing"></span>\
  4139. </div>');
  4140. $('#warlc-progressbox').hide().click(function(){
  4141. clearInterval(intervalId);
  4142. $(this).hide();
  4143. return false;
  4144. });
  4145. $(".warlc-progressbar").progressbar({complete: function(){
  4146. $(this).fadeOut();
  4147. clearInterval(intervalId); //stop refreshing the stats
  4148. }
  4149. })
  4150. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4151. }
  4152. /**
  4153. * Updates progress data in progress box
  4154. */
  4155. function updateProgress()
  4156. {
  4157. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4158. if (cLinksTotal) // some links were detected on page
  4159. {
  4160. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4161. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4162. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4163. if ((cLinksTotal - cLinksProcessed) == 0)
  4164. {
  4165. $progressItems.first().text(cLinksAlive)
  4166. .next().text(cLinksDead)
  4167. .next().text(cLinksUnava)
  4168. .next().text(cLinksprem)
  4169. .next().remove();
  4170. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4171. $('#warlc-progressbox div:first-child').remove();
  4172. }
  4173. else
  4174. {
  4175. $progressItems.first().text(cLinksAlive)
  4176. .next().text(cLinksDead)
  4177. .next().text(cLinksUnava)
  4178. .next().text(cLinksprem)
  4179. .next().text(cLinksTotal - cLinksProcessed);
  4180. }
  4181. }
  4182. }
  4183.  
  4184. function check_all_links()
  4185. {
  4186. add_WARLC_style();
  4187.  
  4188. if (Show_progress_stats)
  4189. {
  4190. initProgressBox();
  4191. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4192. }
  4193.  
  4194. startBulkCheck(null);
  4195. start(null);
  4196.  
  4197. if (!containers_processed)
  4198. {
  4199. processContainers();
  4200. }
  4201. }
  4202.  
  4203. //Copies all found dead links to clipboard - right now for Scriptish only
  4204. function copy_dead_to_clipboard()
  4205. {
  4206. initClipBoardTools();
  4207.  
  4208. var deadlinksxpath = "//.[@class='adead_link']";
  4209.  
  4210. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4211. var foundlinkstext = '';
  4212.  
  4213. var foundlinkIdx = foundlinks.snapshotLength;
  4214.  
  4215. while(foundlinkIdx--)
  4216. {
  4217. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4218. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4219. }
  4220.  
  4221. GM_setClipboard(foundlinkstext);
  4222. }
  4223. //Copies all found live links to clipboard
  4224. function copy_live_to_clipboard()
  4225. {
  4226. initClipBoardTools();
  4227.  
  4228. var livelinksxpath = "//.[@class='alive_link']";
  4229.  
  4230. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4231. var foundlinks2text = '';
  4232.  
  4233. var foundlink2Idx = foundlinks2.snapshotLength;
  4234.  
  4235. while(foundlink2Idx--)
  4236. {
  4237. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4238. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4239. }
  4240.  
  4241. GM_setClipboard(foundlinks2text);
  4242. }
  4243.  
  4244. function toggle_autocheck()
  4245. {
  4246. var currentState = GM_getValue("Autocheck", false);
  4247. GM_setValue("Autocheck", !currentState);
  4248.  
  4249. if (currentState == true)
  4250. {
  4251. sendMessage('Autocheck disabled', 'red');
  4252. }
  4253. else
  4254. {
  4255. sendMessage('Autocheck enabled', 'SpringGreen');
  4256. }
  4257. }
  4258. function toggle_Enable_Anonymizer()
  4259. {
  4260. var currentState = GM_getValue("Enable_Anonymizer", false);
  4261. GM_setValue("Enable_Anonymizer", !currentState);
  4262.  
  4263. if (currentState == true)
  4264. {
  4265. GM_setValue("Ref_anonymize_service", "");
  4266. sendMessage('Anonymizer Disabled', 'red');
  4267. }
  4268. else
  4269. {
  4270. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4271. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4272. }
  4273. }
  4274.  
  4275. function KeyDownHandler(event)
  4276. {
  4277. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4278. if (event.ctrlKey && event.altKey)
  4279. {
  4280. switch(kcode)
  4281. {
  4282. case 65 : check_all_links(); break;
  4283. case 67 : configuration(); break;
  4284. case 68 : copy_dead_to_clipboard(); break;
  4285. case 76 : copy_live_to_clipboard(); break;
  4286. case 87 : toggle_autocheck(); break;
  4287. case 90 : toggle_Enable_Anonymizer(); break;
  4288. }
  4289. }
  4290. }
  4291.  
  4292. //
  4293. //
  4294. // SCRIPT EXECUTION START POINT
  4295. //
  4296. //
  4297. // Safari specific GM_getResourceText override
  4298. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4299. {
  4300. GM_getResourceText = function(res) {
  4301. var $cssText = GM_getValue("jquery_css", "");
  4302. if ($cssText == "")
  4303. {
  4304. GM_xmlhttpRequest(
  4305. {
  4306. method: 'GET',
  4307. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4308. onload: function (result)
  4309. {
  4310. GM_setValue("jquery_css", result.responseText);
  4311. window.location.reload();
  4312. }
  4313. });
  4314. }
  4315. else
  4316. {
  4317. return $cssText;
  4318. }
  4319. }
  4320. }
  4321. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4322. GM_addStyle(jQueryUICSS);
  4323. //init the stuff
  4324. setVariables();
  4325. initBulkCheck();
  4326. //init info boxes
  4327. messageBox.style.position = 'fixed';
  4328. messageBox.style.top = '20px';
  4329. messageBox.style.left = '10px';
  4330. messageBox.style.opacity = '0.85';
  4331. messageBox.style.background = 'DimGray';
  4332. messageBox.style.fontSize = '36px';
  4333. document.body.appendChild(messageBox);
  4334.  
  4335. //register GM menu commands & keyboard shortcut event handler
  4336. if (Keyboard_functions)
  4337. {
  4338. $(document).keydown(KeyDownHandler);
  4339. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4340. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CHECK_ALL_LINKS_KEYCODE) + ")", check_all_links);
  4341. }
  4342. else
  4343. {
  4344. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4345. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4346. }
  4347.  
  4348. //start linkchecking
  4349. if (Autocheck)
  4350. {
  4351. $(document).ready(check_all_links);
  4352. }
  4353.  
  4354. //
  4355. //
  4356. // SCRIPT EXECUTION END POINT
  4357. //
  4358. //
  4359.  
  4360. //shows configuration box
  4361. function configuration()
  4362. {
  4363.  
  4364. //prevent multiple creating of config window
  4365. if ($("#hideshow").length)
  4366. {
  4367. $("#hideshow").show();
  4368. return;
  4369. }
  4370.  
  4371. var configcss = '\
  4372. .popup_block .popup fieldset{\
  4373. padding: 1%;\
  4374. border-style: solid;\
  4375. border-width: 1px;\
  4376. border-color: gray;\
  4377. margin-bottom: 1px;\
  4378. }\
  4379. #h3hideshowtitle{\
  4380. font-size: 2em;\
  4381. }\
  4382. #h3hideshow{\
  4383. font-size: 1.5em;\
  4384. }\
  4385. #imghideshow {\
  4386. border: none;\
  4387. }\
  4388. #plusimage{\
  4389. display:inline;\
  4390. }\
  4391. #hideshow {\
  4392. position: fixed;\
  4393. width: 100%;\
  4394. height: 100%;\
  4395. top: 0;\
  4396. left: 0;\
  4397. font-size:12px;\
  4398. z-index:2147483645;\
  4399. text-align:left;\
  4400. }\
  4401. #fade {\
  4402. background: #000;\
  4403. position: fixed;\
  4404. width: 100%;\
  4405. height: 100%;\
  4406. opacity: .80;\
  4407. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4408. left: 0;\
  4409. z-index: 10;\
  4410. }\
  4411. .popup_block {\
  4412. font-family:verdana;\
  4413. color:black;\
  4414. background: #ddd;\
  4415. padding: 10px 20px;\
  4416. border: 2px solid DarkOrange;\
  4417. float: left;\
  4418. width: 700px;\
  4419. position: absolute;\
  4420. top: 7%;\
  4421. left: 50%;\
  4422. bottom: 7%;\
  4423. margin: 0 0 0 -350px;\
  4424. -moz-border-radius:10px;\
  4425. z-index: 100;\
  4426. \
  4427. }\
  4428. .popup_block .popup {\
  4429. float: left;\
  4430. width: 100%;\
  4431. background: #fff;\
  4432. margin: 10px 0;\
  4433. padding: 0px 0 0px;\
  4434. border-left: 1px solid #bbb;\
  4435. border-top: 1px solid #bbb;\
  4436. border-right: 1px solid #bbb;\
  4437. }\
  4438. #h3hideshow{\
  4439. margin: 1px 0 0px;\
  4440. padding: 1px 10px;\
  4441. border-bottom: 1px solid #bbb;\
  4442. font-size: 1.5em;\
  4443. font-weight: normal;\
  4444. cursor:pointer;\
  4445. background:#DDDDDD none repeat scroll 0 0;\
  4446. }\
  4447. #h3hideshow:hover{\
  4448. background:#C0BEBE none repeat scroll 0 0;\
  4449. }\
  4450. #h3hideshowtitle{\
  4451. margin: 2px 0 0px;\
  4452. padding: 7px 10px;\
  4453. border-bottom: 1px solid #bbb;\
  4454. font-size: 1.5em;\
  4455. font-weight: normal;\
  4456. }\
  4457. .popup_block .popup a {\
  4458. color:DarkSkyBlue;\
  4459. text-decoration:none;\
  4460. }\
  4461. .popup p {\
  4462. padding: 1px 10px;\
  4463. margin: 0px 0;\
  4464. -x-system-font:none;\
  4465. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4466. font-size:10pt;\
  4467. font-size-adjust:none;\
  4468. font-stretch:normal;\
  4469. font-style:normal;\
  4470. font-variant:normal;\
  4471. font-weight:normal;\
  4472. line-height:normal;\
  4473. }\
  4474. #sites {\
  4475. padding: 1px 10px;\
  4476. margin: 0px 0;display:inline-block;width:16em;\
  4477. }\
  4478. #dev_ver {\
  4479. color: #00FF00;\
  4480. background: Black;\
  4481. text-align: right;\
  4482. }\
  4483. #sites_suspended {\
  4484. padding: 1px 10px;\
  4485. margin: 0px 0;display:inline-block;width:16em;\
  4486. text-decoration: line-through;\
  4487. }\
  4488. .popup img.cntrl {\
  4489. position: absolute;\
  4490. right: -15px;\
  4491. top: -15px;\
  4492. }\
  4493. #bulk {\
  4494. font-size:8pt;\
  4495. color:orange;\
  4496. padding: 1px 10px;\
  4497. margin: 0px 0;\
  4498. display:inline-block;\
  4499. width:100px;\
  4500. }\
  4501. #note {\
  4502. font-size:7pt;\
  4503. color:gray;\
  4504. padding: 1px 10px;\
  4505. margin: 0px 0;display:inline-block;\
  4506. min-width:100px;\
  4507. }\
  4508. #rednote {\
  4509. font-size:7pt;\
  4510. color:red;\
  4511. padding: 1px 10px;\
  4512. margin: 0px 0;display:inline-block;\
  4513. }\
  4514. #configinfo {\
  4515. font-size:8pt;\
  4516. color:gray;\
  4517. padding: 1px 10px;\
  4518. margin: 0px 0;display:inline-block;width:60em;\
  4519. }\
  4520. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4521. color:black;\
  4522. border-style: solid;\
  4523. border-width: 1px;\
  4524. border-color: gray;\
  4525. }\
  4526. #h3hideshowcontent {\
  4527. min-height:220px;\
  4528. max-height:220px;\
  4529. overflow:auto;\
  4530. display: none;\
  4531. padding: 10px 10px;\
  4532. }\
  4533. #specinfo{\
  4534. font-size:14px;\
  4535. }\
  4536. .warlc-ui-tab {\
  4537. height:300px;\
  4538. overflow:auto;\
  4539. }\
  4540. #warlcsitelist2, #warlcsitelist1 {\
  4541. height:220px;\
  4542. border-top: 1px solid #ddd;\
  4543. padding-top: 5px;\
  4544. overflow:auto;\
  4545. }\
  4546. input:hover+label {\
  4547. background:#F1F77C;\
  4548. font-size:110%;\
  4549. }\
  4550. ';
  4551.  
  4552. GM_addStyle(configcss);
  4553.  
  4554. var customRulesRefHTML =
  4555. '\
  4556. <br>\
  4557. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4558. <b>@keyword</b> <i>parameter</i>\
  4559. <br><br>\
  4560. Empty lines, lines containing only whitespace and lines starting with // are ignored. Whitespace before and after a keyword is also ignored. Keywords are not case sensitive. \
  4561. <br><br>\
  4562. A special type of keyword is <b>@customrule</b> and its forms. This command marks the start of a new rule definition and also the rule type.\
  4563. Its <i>parameter</i> is the name of the rule. The name can contain letters, digits, periods, dashes and underscores and can be up to 30 characters long.\
  4564. At this point, there are no other restrictions for rule naming, however, in future versions, the name can be used to identify and catalogize custom rules.\
  4565. Therefore it is strongly recommended to use host names like <i>example.com</i> or <i>filehost.co.uk</i>. If the name is invalid, previous rule is saved,\
  4566. but all commands until the next valid @customrule are ignored.<br><br>\
  4567. Available forms and types:\
  4568. <ul>\
  4569. <li><b>@customrule</b> <i>name</i> - Classic checking. To determine whether a link is alive or dead, it is loaded and searched for specific patterns.\
  4570. <li><b>@customrule_headers</b> <i>name</i> - Only headers are loaded. Use for direct download hosts (e.g. if you are a paying member), where classic checking would silently download the whole file.\
  4571. <li><b>@customrule_obsolete</b> <i>name</i> - Nothing is loaded and no search patterns are needed. Links matching this rule are immediately deemed dead.\
  4572. <li><b>@#customrule</b>\, <b>@#customrule_headers</b>\, <b>@#customrule_obsolete</b> - write # after @ to quickly disable the whole rule. It is still parsed and checked for errors, but not used.\
  4573. </ul>\
  4574. Other available commands:<br>\
  4575. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4576. <ul>\
  4577. <li><b>@baseurl</b> <i>url_pattern</i> - required. Used to find links for the rule. <i>url_pattern</i> must be the constant part of the url before, including and after the first slash.\
  4578. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4579. <ul>examples:<br>\
  4580. <li>good: <i>filehost.com/download/</i><br>\
  4581. <li>good: <i>download.filehost.net/?d=</i><br>\
  4582. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4583. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4584. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4585. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4586. <li>bad: <i>filehost.com</i> - no slash<br>\
  4587. </ul>\
  4588. \
  4589. <li><b>@alivematch</b> <i>pattern</i> - ignored for type OBSOLETE, required for others. If <i>pattern</i> is found in the server\'s response, the link is deemed alive.\
  4590. Two or more spaces in the pattern will match any whitespace (spaces, tabulators, newlines). <i>&lt;div&gt;&nbsp;&nbsp;&lt;p&gt;</i> will match \
  4591. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4592. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4593. which is automatically used to deem the link dead and therefore <i>pattern</i> is never used. In that case, just write some rubbish there.)\
  4594. Two spaces again match any whitespace.\
  4595. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4596. Two spaces again match any whitespace.\
  4597. <li><b>@alivelink</b> <i>url</i> - optional, ignored for OBSOLETE. It\'s not really a part of the rule, it\'s just an example link to test the rule. \
  4598. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4599. </ul>\
  4600. \
  4601. ';
  4602.  
  4603. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4604. var configurationinnerHTML =
  4605. '<div id="fade"></div>\
  4606. <div class="popup_block">\
  4607. <div class="popup">\
  4608. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEWsp/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evG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TS9RqFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+YCiwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4610. <div id="warlc-conf-tabs">\
  4611. <ul>\
  4612. <li><a href="#tabs-1">Filehostings</a></li>\
  4613. <li><a href="#tabs-2">Containers</a></li>\
  4614. <li><a href="#tabs-5">Custom rules</a></li>\
  4615. <li><a href="#tabs-3">Settings</a></li>\
  4616. <li><a href="#tabs-4">About</a></li>\
  4617. </ul>\
  4618. <div id="tabs-1" class="warlc-ui-tab">\
  4619. <div class="warlc-ui-buttonset">\
  4620. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4621. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4622. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4623. </div><br>\
  4624. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4625. <div id="warlcsitelist1"><span>Empty</span></div>\
  4626. </div>\
  4627. <div id="tabs-2" class="warlc-ui-tab">\
  4628. <div class="warlc-ui-buttonset">\
  4629. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4630. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4631. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4632. </div><br>\
  4633. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4634. <div id="warlcsitelist2"><span>Empty</span></div>\
  4635. </div>\
  4636. <div id="tabs-5" class="warlc-ui-tab">\
  4637. <div class="warlcsettings">\
  4638. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4639. <br>\
  4640. <div>Edit custom rules: \
  4641. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4642. <div id="customRulesReference" style="display:none;">'
  4643. + customRulesRefHTML + '\
  4644. </div>\
  4645. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4646. </div>\
  4647. </div>\
  4648. </div>\
  4649. <div id="tabs-3" class="warlc-ui-tab">\
  4650. <div class="warlcsettings">\
  4651. <fieldset>\
  4652. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4653. <div id="configinfo">' + first_key_keycodename + '+' + second_key_keycodename + '+' + CONFIGURATION_KEY + ' = Configuration <br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + CHECK_ALL_LINKS_KEY + ' = Check all the links' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_dead_key + ' = Copy found dead links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_live_key + ' = Copy found live links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_autocheck_key + ' = Autocheck ON/OFF' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_Enable_Anonymizer_key + ' = Anonymizer ON/OFF' + '</div>\
  4654. </fieldset>\
  4655. <fieldset>\
  4656. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4657. <div id="sites"><label for="inputColorLive">Live links color</label><input type="text" id="inputColorLive" style="background:' + Live_links_color + ';" value="' + Live_links_color + '"></div>\
  4658. <div id="sites"><label for="inputColorDead">Dead links color</label><input type="text" id="inputColorDead" style="background:' + Dead_links_color + ';" value="' + Dead_links_color + '"></div><br>\
  4659. <div id="sites"><label for="inputColorTemp">Temp. unavailable links color</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4660. <div id="sites"><label for="inputColorCont">Container links color</label><input type="text" id="inputColorCont" style="background:' + Container_links_color + ';" value="' + Container_links_color + '"></div><br>\
  4661. <div id="sites"><label for="inputColorprem">Premium links color</label><input type="text" id="inputColorprem" style="background:' + Premium_links_color + ';" value="' + Premium_links_color + '"></div>\
  4662. <div id="configinfo">For no color leave a field blank.<br>Standard HTML color names are supported. See <a href="http://www.w3schools.com/html/html_colornames.asp">w3schools.com</a> for more info.</div><br>\
  4663. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4664. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4665. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4666. <p><input type="checkbox" id="Allow_spaces_in_DL_links"> Allow spaces in DL links<br><div id="configinfo">Note: All links must end with a new line!</div></p>\
  4667. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4668. <fieldset>\
  4669. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4670. <p><input type="radio" name="warlciconset" value="1"> <img src=" ' + PAW_ICON_GREEN + '"> <img src=" ' + PAW_ICON_RED + '"> <img src=" ' + PAW_ICON_YELLOW + '"> <img src=" ' + PAW_ICON_PINK + '"></p>\
  4671. <p><input type="radio" name="warlciconset" value="2"> <img src=" ' + RSLC_ICON_GREEN + '"> <img src=" ' + RSLC_ICON_RED + '"> <img src=" ' + RSLC_ICON_YELLOW + '"> <img src=" ' + RSLC_ICON_PINK + '"></p>\
  4672. <p><input type="radio" name="warlciconset" value="3"> <img src=" ' + NEW_ICON_GREEN + '"> <img src=" ' + NEW_ICON_RED + '"> <img src=" ' + NEW_ICON_YELLOW + '"> <img src=" ' + NEW_ICON_PINK + '"></p>\
  4673. </fieldset>\
  4674. </fieldset>\
  4675. <fieldset>\
  4676. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4677. </fieldset>\
  4678. <fieldset>\
  4679. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4680. </fieldset>\
  4681. <fieldset>\
  4682. <div id="sites"><input type="checkbox" id="Display_tooltip_info"> Display tooltip info</div><div id="bulk"></div><br><div id="configinfo">Note: File name, file size, error messages etc. (does not work on all links)</div><br>\
  4683. </fieldset>\
  4684. <fieldset>\
  4685. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div><br><div id="configinfo">Note: Example: http://hiderefer.com/? or http://hidemyass.com/? or http://anonym.to/?, CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4686. </fieldset>\
  4687. <fieldset>\
  4688. <legend>Progress box settings</legend>\
  4689. <p>Horizontal positioning of the progressbox: <input type="text" id="Processbox_Pos_X"><br><div id="configinfo">Note: Define this value in percentages starting from the left of the screen.</div></p>\
  4690. <p>Vertical positioning of the progressbox: <input type="text" id="Processbox_Pos_Y"><br><div id="configinfo">Note: Define this value in percentages starting from the bottom of the screen.</div></p>\
  4691. <p>Scaling of the progressbox: <input type="text" id="Progressbox_Scaling"><br><div id="configinfo">Resizes the progressbox. Define this value in percentages. 100% = full size, 200% = double size, 0% = Off</div></p>\
  4692. </fieldset>\
  4693. </div>\
  4694. </div>\
  4695. <div id="tabs-4" class="warlc-ui-tab">\
  4696. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4697. <br />\
  4698. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4699. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4700. <br />\
  4701. <p><b>Currently supported:</b><br>\
  4702. Filehostings: ' + allHostNames.length + '<br />\
  4703. Containers: ' + allContainerNames.length + '<br />\
  4704. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4705. <br />\
  4706. <p><b>Based on:</b><br>\
  4707. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4708. <br />\
  4709. <p><b>Uses:</b></p>\
  4710. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4711. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4712. <br />\
  4713. <p>License: GPL version 3 or any later version (<a href="http://www.gnu.org/copyleft/gpl.html">http://www.gnu.org/copyleft/gpl.html</a>)</p>\
  4714. </div>\
  4715. </div>\
  4716. </div>\
  4717. </div>';
  4718. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4719. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4720. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4721. var elmHostList = document.getElementById("warlcsitelist1");
  4722. var elmContainerList = document.getElementById("warlcsitelist2");
  4723. buildSettings();
  4724. buildSitelist("", allHostNames, elmHostList);
  4725. buildSitelist("", allContainerNames, elmContainerList);
  4726. if (DEBUG_MODE)
  4727. {
  4728. //log all sites availability status
  4729. diagSites();
  4730. }
  4731. //handler for checkbox state change
  4732. function changeConfiguration(e)
  4733. {
  4734. var element = e.target;
  4735.  
  4736. if (element.type == 'checkbox')
  4737. {
  4738. if (element.checked == 1)
  4739. {
  4740. GM_setValue(element.id, true);
  4741. }
  4742. else
  4743. {
  4744. GM_setValue(element.id, false);
  4745. }
  4746.  
  4747. }
  4748. setVariables();
  4749. }
  4750.  
  4751. //Selects all filehosting checkboxes
  4752. function selectAll()
  4753. {
  4754. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4755. .each(function(index, element){GM_setValue(this.id, true)});
  4756. }
  4757.  
  4758. //Deselects all filehosting checkboxes
  4759. function selectNone()
  4760. {
  4761. $(":checkbox:visible:checked").prop("checked",false)
  4762. .each(function(index, element){GM_setValue(this.id, false)});
  4763. }
  4764. //Sets Processbox position setting
  4765. function changeProgBox(event) {
  4766. var setting;
  4767. switch(event.data.set) {
  4768. case "X": setting = "Processbox_Pos_X"; break;
  4769. case "Y": setting = "Processbox_Pos_Y"; break;
  4770. case "Scale": setting = "Progressbox_Scaling"; break;
  4771. }
  4772. var $setting = $("#" + setting);
  4773. var newSet = $setting.val().replace("%", "");
  4774. GM_setValue(setting, newSet);
  4775. }
  4776. //Sets value of Processbox position
  4777. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4778. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4779. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4780.  
  4781. //Inverts filehosting checkboxes selection
  4782. function selectInvert()
  4783. {
  4784. var $checked = $(":checkbox:visible:checked");
  4785. var $unchecked = $(":checkbox:visible:not(:checked)");
  4786. $unchecked.prop("checked",true)
  4787. .each(function(index, element){GM_setValue(this.id, true)});
  4788. $checked.prop("checked",false)
  4789. .each(function(index, element){GM_setValue(this.id, false)});
  4790. }
  4791. //toggles anonymizer on off
  4792. function Enable_Anonymizer()
  4793. {
  4794. var $checked = $(":checkbox:visible:checked");
  4795. var $unchecked = $(":checkbox:visible:not(:checked)");
  4796. $unchecked.prop("checked",true)
  4797. .each(function(index, element){GM_setValue(this.id, true)});
  4798. $checked.prop("checked",false)
  4799. .each(function(index, element){GM_setValue(this.id, false)});
  4800. }
  4801.  
  4802. function changeRefAnonymizer(){
  4803. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4804. }
  4805.  
  4806. //Sets live links color
  4807. function changeColorLive()
  4808. {
  4809. var inColorLive = document.getElementById("inputColorLive");
  4810. inColorLive.style.background = inColorLive.value;
  4811. GM_setValue("Live_links_color", inColorLive.value);
  4812. }
  4813.  
  4814. //Sets dead links color
  4815. function changeColorDead()
  4816. {
  4817. var inColorDead = document.getElementById("inputColorDead");
  4818. inColorDead.style.background = inColorDead.value;
  4819. GM_setValue("Dead_links_color", inColorDead.value);
  4820. }
  4821.  
  4822. //Sets temp. unavailable links color
  4823. function changeColorTemp()
  4824. {
  4825. var inColorTemp = document.getElementById("inputColorTemp");
  4826. inColorTemp.style.background = inColorTemp.value;
  4827. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4828. }
  4829.  
  4830. //Sets temp. unavailable links color
  4831. function changeColorCont()
  4832. {
  4833. var inColorCont = document.getElementById("inputColorCont");
  4834. inColorCont.style.background = inColorCont.value;
  4835. GM_setValue("Container_links_color", inColorCont.value);
  4836. }
  4837. //Sets premium. links color
  4838. function changeColorprem()
  4839. {
  4840. var inColorprem = document.getElementById("inputColorprem");
  4841. inColorprem.style.background = inColorprem.value;
  4842. GM_setValue("Premium_links_color", inColorprem.value);
  4843. }
  4844.  
  4845. //Diagnose sites for availability
  4846. function diagSites()
  4847. {
  4848. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4849.  
  4850. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4851. {
  4852. if (boxes[i].type == "checkbox")
  4853. {
  4854. checkAvailability(boxes[i]);
  4855. }
  4856. }
  4857.  
  4858. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4859.  
  4860. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4861. {
  4862. if (boxes[i].type == "checkbox")
  4863. {
  4864. checkAvailability(boxes[i]);
  4865. }
  4866. }
  4867.  
  4868. function checkAvailability(cbElm)
  4869. {
  4870. var cb = cbElm;
  4871. GM_xmlhttpRequest(
  4872. {
  4873. method: 'HEAD',
  4874. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4875. headers: {
  4876. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4877. 'Accept': 'text/xml',
  4878. 'Referer': ""
  4879. },
  4880. onload: function (result)
  4881. {
  4882. if (result.status != 200)
  4883. {
  4884. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4885. }
  4886. },
  4887. onerror: function (result)
  4888. {
  4889. if (result.status != 200)
  4890. {
  4891. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4892. //Sets Progress_box position setting
  4893. function changeProgBox(event) {
  4894. var setting;
  4895. switch(event.data.set) {
  4896. case "X": setting = "Progress_box_Pos_X"; break;
  4897. case "Y": setting = "Progress_box_Pos_Y"; break;
  4898. case "Scale": setting = "Progress_box_Scaling"; break;
  4899. }
  4900.  
  4901. var $setting = $("#" + setting);
  4902. var newSet = $setting.val().replace("%", "");
  4903. lsSetVal("general", setting, newSet);
  4904. }
  4905.  
  4906. //Sets value of Progress_box position
  4907. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4908. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4909. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4910. }
  4911. }
  4912. });
  4913. }
  4914. }
  4915. function buildSettings()
  4916. {
  4917. $(".warlcsettings :checkbox").each(function(){
  4918. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4919. .click(function(e){
  4920. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4921. setVariables();
  4922. });
  4923. })
  4924. }
  4925. //Dynamic build of host list
  4926. //param search [string] searches for hostnames matching search substring
  4927. //param siteNames [array] array of site names
  4928. //param targetNode [DOM Node] where the list should be built
  4929. // first child node is replaced
  4930. function buildSitelist(search, siteNames, targetNode)
  4931. {
  4932. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4933. var $targetNode = $(targetNode).empty();
  4934. var searchedSite = "";
  4935. $.each(siteNames, function(i, site){
  4936. if (searchedSite = site.match(searchRegex))
  4937. {
  4938. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4939. //ensuring backward compatibility with the rest of code, to be refactored later
  4940. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4941. //
  4942. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4943. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4944. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4945. );
  4946. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4947. .change(changeConfiguration);
  4948. $targetNode.append('<br />');
  4949. }
  4950. });
  4951. $targetNode.append("<hr>");
  4952. //obsolete hosts checkbox
  4953. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4954. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4955. .change(changeConfiguration);
  4956. $targetNode.append('<br />');
  4957. var foundName = "";
  4958. $.each(allObsoleteNames, function(i, site){
  4959. if (foundName = allObsoleteNames[i].match(searchRegex))
  4960. {
  4961. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4962. }
  4963. })
  4964. }
  4965. var hostSearchBox = document.getElementById("hostSearchBox");
  4966. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4967. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4968. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4969. $(".warlc-ui-select-all").click(selectAll).button();
  4970. $(".warlc-ui-select-none").click(selectNone).button();
  4971. $(".warlc-ui-select-invert").click(selectInvert).button();
  4972. $(".warlc-ui-buttonset").buttonset();
  4973. var inColorLive = document.getElementById("inputColorLive");
  4974. inColorLive.addEventListener('keyup', changeColorLive, false);
  4975.  
  4976. var inColorDead = document.getElementById("inputColorDead");
  4977. inColorDead.addEventListener('keyup', changeColorDead, false);
  4978.  
  4979. var inColorTemp = document.getElementById("inputColorTemp");
  4980. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4981.  
  4982. var inColorCont = document.getElementById("inputColorCont");
  4983. inColorCont.addEventListener('keyup', changeColorCont, false);
  4984. var inColorprem = document.getElementById("inputColorprem");
  4985. inColorprem.addEventListener('keyup', changeColorprem, false);
  4986. $("#refAnonymizer").change(changeRefAnonymizer);
  4987. //buttons and edit boxes init end
  4988.  
  4989. //icon sets radio buttons
  4990. var radioButtons = document.getElementsByName("warlciconset");
  4991. radioButtons[Icon_set].checked = "checked";
  4992.  
  4993. radioButtons[0].addEventListener("change", updateIconSet);
  4994. radioButtons[1].addEventListener("change", updateIconSet);
  4995. radioButtons[2].addEventListener("change", updateIconSet);
  4996. radioButtons[3].addEventListener("change", updateIconSet);
  4997. function updateIconSet()
  4998. {
  4999. GM_setValue("Icon_set", this.value * 1);
  5000. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5001. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5002. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5003. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5004. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5005.  
  5006. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5007. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5008.  
  5009. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5010. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5011. }
  5012. //
  5013. $('#showCustomRulesReference').click(function(e){
  5014. e.preventDefault();
  5015. $('#customRulesReference').toggle();
  5016. });
  5017. $('#Custom_rules_text')
  5018. .val(Custom_rules_text)
  5019. .change(saveCustomRules);
  5020. function saveCustomRules(e)
  5021. {
  5022. var cr = parseCustomRules(this.value);
  5023. if (cr.info.length)
  5024. alert('Custom rules saved. However, there were ' + cr.error + ' errors, ' + cr.warning + ' warnings, ' + cr.note + ' notes found.\n' + cr.rules.length + ' valid rules found.\n\n' + JSON.stringify(cr.info, null, ' '));
  5025. GM_setValue('Custom_rules_text', this.value);
  5026. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5027. }
  5028. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5029. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5030. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5031. }
  5032.  
  5033. //begin standard link checking algorithm
  5034. function start(filterId)
  5035. {
  5036. var doNotLinkify = Do_not_linkify_DL_links;
  5037.  
  5038. // USER SELECTED FILE HOSTS INITIALIZATION START
  5039. var http_file_hosts = new Array(); //standard hostings
  5040. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5041. var http_file_hosts_obsolete = new Array(); //dead hostings
  5042. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5043.  
  5044. initFileHosts();
  5045. initFileHostsHeadersOnly();
  5046. initFileHostsCustom(); //CustomRules
  5047. // USER SELECTED FILE HOSTS INITIALIZATION END
  5048.  
  5049. // LINKIFICATION START
  5050. var totalxpath = '';
  5051. var totalxpathcoded = '';
  5052. var totalxpathobsolete = '';
  5053. var totalxpathheadersonly = '';
  5054. var totalourls = '';
  5055.  
  5056. var filehostLen = http_file_hosts.length;
  5057. var filehostCodedLen = http_file_hosts_coded.length;
  5058. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5059. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5060.  
  5061. var filehostIdx = filehostLen;
  5062. var filehostCodedIdx = filehostCodedLen;
  5063. var filehostObsoleteIdx = filehostObsoleteLen;
  5064. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5065.  
  5066. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5067. return;
  5068.  
  5069. while (filehostIdx--)
  5070. {
  5071. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5072. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5073. }
  5074.  
  5075. while (filehostCodedIdx--)
  5076. {
  5077. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5078. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5079. }
  5080.  
  5081. while (filehostObsoleteIdx--)
  5082. {
  5083. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5084. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5085. }
  5086.  
  5087. while (filehostHeadersOnlyIdx--)
  5088. {
  5089. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5090. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5091. }
  5092.  
  5093. totalourls = totalourls.replace(/\|$/g, "");
  5094. //TODO: further refactoring needed
  5095. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5096. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5097. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5098. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5099. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5100. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5101. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5102. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5103. if (filterId != null) //insert id restriction in the xpath
  5104. {
  5105. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5106. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5107. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5108. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5109. }
  5110. else
  5111. {
  5112. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5113. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5114. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5115. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5116. }
  5117. linkify(totalourls);
  5118. //LINKIFICATION END
  5119. //ENCRYPTED LINKS PROCESSING START
  5120. if (http_file_hosts_coded.length > 0)
  5121. {
  5122. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5123.  
  5124. // decrypt coded links (redirects, link protectors etc.)
  5125. if (linksCoded.snapshotLength > 0)
  5126. {
  5127. var link;
  5128. var reallinkreg;
  5129. var reallinkcorrection;
  5130.  
  5131. if (filterId == null)
  5132. {
  5133. cLinksTotal += linksCoded.snapshotLength;
  5134. }
  5135.  
  5136. var y = linksCoded.snapshotLength - 1;
  5137. do
  5138. {
  5139. // linksCoded.snapshotItem(y).id = 'processing_link';
  5140. link = linksCoded.snapshotItem(y);
  5141. filehostIdx = filehostCodedLen;
  5142. while (filehostIdx--)
  5143. {
  5144. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5145. {
  5146. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5147. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5148. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5149.  
  5150. decurl(link, reallinkreg, reallinkcorrection);
  5151. break;
  5152. }
  5153. }
  5154. }
  5155. while (y--);
  5156. }
  5157. }
  5158. //ENCRYPTED LINKS PROCESSING END
  5159.  
  5160. //STANDARD LINKCHECKING START
  5161. if (http_file_hosts.length > 0)
  5162. {
  5163. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5164.  
  5165. if (filterId == null)
  5166. {
  5167. cLinksTotal += lianks.snapshotLength;
  5168. }
  5169.  
  5170. if (lianks.snapshotLength > 0)
  5171. {
  5172. var link;
  5173.  
  5174. var URL = "";
  5175. var name = "";
  5176. var isAliveRegex = "";
  5177. var isDeadRegex = "";
  5178. var isUnavaRegex = "";
  5179. var ispremRegex = "";
  5180. var tryLoop = false;
  5181.  
  5182. var y = lianks.snapshotLength;
  5183.  
  5184. while (y--)
  5185. {
  5186. link = lianks.snapshotItem(y);
  5187.  
  5188. filehostIdx = filehostLen;
  5189. while (filehostIdx--)
  5190. {
  5191. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5192. {
  5193. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5194. isAliveRegex = http_file_hosts[filehostIdx][1];
  5195. isDeadRegex = http_file_hosts[filehostIdx][2];
  5196. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5197. ispremRegex = http_file_hosts[filehostIdx][6];
  5198. tryLoop = http_file_hosts[filehostIdx][5];
  5199.  
  5200. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5201.  
  5202. break;
  5203. }
  5204. }
  5205. }
  5206. }
  5207. }
  5208. //STANDARD LINKCHECKING END
  5209. //OBSOLETE FILE HOSTS PROCESSING START
  5210. if (filehostObsoleteLen > 0)
  5211. {
  5212. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5213.  
  5214. var obsoleteLink;
  5215.  
  5216. //check links
  5217. if (obsoletelinks.snapshotLength > 0)
  5218. {
  5219. var y = obsoletelinks.snapshotLength;
  5220.  
  5221. if (filterId == null)
  5222. {
  5223. cLinksTotal += y;
  5224. }
  5225.  
  5226. while (y--)
  5227. {
  5228. obsoleteLink = obsoletelinks.snapshotItem(y);
  5229.  
  5230. if (Display_tooltip_info)
  5231. {
  5232. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5233. }
  5234. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5235. }
  5236. }
  5237. }
  5238. //OBSOLETE FILE HOSTS PROCESSING END
  5239.  
  5240. //DIRECT LINKCHECKING START
  5241. if (http_file_hosts_headers_only.length > 0)
  5242. {
  5243. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5244.  
  5245. //check links
  5246. if (links.snapshotLength > 0)
  5247. {
  5248. var link;
  5249. var isAliveRegex;
  5250. var isDeadRegex;
  5251. var ispremRegex;
  5252.  
  5253. var y = links.snapshotLength;
  5254.  
  5255.  
  5256. if (filterId == null)
  5257. {
  5258. cLinksTotal += y;
  5259. }
  5260.  
  5261. while (y--)
  5262. {
  5263. // links.snapshotItem(y).id = 'processing_link';
  5264. link = links.snapshotItem(y);
  5265. filehostIdx = filehostHeadersOnlyLen;
  5266. while (filehostIdx--)
  5267. {
  5268. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5269. {
  5270. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5271. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5272. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5273. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5274.  
  5275. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5276.  
  5277. break;
  5278. }
  5279. }
  5280. }
  5281.  
  5282. }
  5283. }
  5284. //DIRECT LINKCHECKING END
  5285.  
  5286.  
  5287. //finds the real url on the page, replaces link.href with it and calls geturl
  5288. function decurl(link, reallinkreg, reallinkcorrection)
  5289. {
  5290.  
  5291. GM_xmlhttpRequest(
  5292. {
  5293. method: 'GET',
  5294. url: link.href,
  5295. headers: {
  5296. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5297. 'Accept': 'text/xml',
  5298. 'Referer': ""
  5299. },
  5300. onload: function (result)
  5301. {
  5302. // cLinksProcessed++;
  5303.  
  5304. var reallink = result.responseText.match(reallinkreg)[0];
  5305. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5306.  
  5307. link.href = reallink;
  5308.  
  5309. var i = http_file_hosts.length - 1;
  5310. do
  5311. {
  5312. if ((reallink.match(http_file_hosts[i][0])))
  5313. {
  5314. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5315. var isAliveRegex = http_file_hosts[i][1];
  5316. var isDeadRegex = http_file_hosts[i][2];
  5317. var isUnavaRegex = http_file_hosts[i][3];
  5318. var ispremRegex = http_file_hosts[i][4];
  5319.  
  5320. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5321.  
  5322. break;
  5323. }
  5324. }
  5325. while (i--);
  5326. }
  5327. });
  5328. }
  5329.  
  5330. function randUA()
  5331. {
  5332. //TODO
  5333. }
  5334. //Processes link
  5335. //
  5336. // [string] link link URL
  5337. // [string] isAliveRegex alive link regex
  5338. // [string] isDeadRegex dead link regex
  5339. // [string] isUnavaRegex unavailable link regex
  5340. // [string] ispremRegex premium link regex
  5341. // [boolean] tryLoop repeats request until succeeded
  5342. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5343. {
  5344. GM_xmlhttpRequest(
  5345. {
  5346. method: 'GET',
  5347. url: link.href,
  5348. headers: {
  5349. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5350. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5351. 'Referer': ""
  5352. },
  5353. onload: function (result)
  5354. {
  5355. var res = result.responseText;
  5356. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5357. {
  5358. displayTheCheckedLink(link, 'alive_link');
  5359. return;
  5360. }
  5361.  
  5362. if (res.match(isAliveRegex))
  5363. {
  5364. displayTheCheckedLink(link, 'alive_link');
  5365. return;
  5366. }
  5367.  
  5368. if (res.match(isDeadRegex))
  5369. {
  5370. displayTheCheckedLink(link, 'adead_link');
  5371. return;
  5372. }
  5373.  
  5374. if (isUnavaRegex && res.match(isUnavaRegex))
  5375. {
  5376. displayTheCheckedLink(link, 'unava_link');
  5377. return;
  5378. }
  5379. if (res.match(ispremRegex))
  5380. {
  5381. displayTheCheckedLink(link, 'prem_link');
  5382. return;
  5383. }
  5384.  
  5385. var resStatus = result.status;
  5386.  
  5387. if (resStatus == 404)
  5388. {
  5389. displayTheCheckedLink(link, 'adead_link');
  5390. }
  5391. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5392. {
  5393. if (tryLoop)
  5394. {
  5395. //wait 1-5 seconds and repeat the request
  5396. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5397. }
  5398. else
  5399. {
  5400. displayTheCheckedLink(link, 'unava_link');
  5401. }
  5402.  
  5403. return;
  5404. }
  5405. },
  5406. onerror: function ()
  5407. {
  5408. displayTheCheckedLink(link, 'unava_link');
  5409. }
  5410. });
  5411. }
  5412.  
  5413. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5414. {
  5415. GM_xmlhttpRequest(
  5416. {
  5417. method: 'HEAD',
  5418. url: link.href,
  5419. headers: {
  5420. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5421. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5422. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5423. 'Referer': ""
  5424. },
  5425. onload: function (result)
  5426. {
  5427. var resStatus = result.status;
  5428. var resHeaders = "";
  5429. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5430. {
  5431. displayTheCheckedLink(link, 'adead_link');
  5432. return;
  5433. }
  5434.  
  5435. resHeaders = result.responseHeaders;
  5436.  
  5437. if (resHeaders.match(isDeadRegex))
  5438. {
  5439. displayTheCheckedLink(link, 'adead_link');
  5440. return;
  5441. }
  5442.  
  5443. if (resHeaders.match(isAliveRegex))
  5444. {
  5445. displayTheCheckedLink(link, 'alive_link');
  5446. return;
  5447. }
  5448. if (resHeaders.match(ispremRegex))
  5449. {
  5450. displayTheCheckedLink(link, 'prem_link');
  5451. return;
  5452. }
  5453. },
  5454. onerror: function ()
  5455. {
  5456. displayTheCheckedLink(link, 'unava_link');
  5457. }
  5458. });
  5459. }
  5460.  
  5461. //Delinkfifies the <a> element object
  5462. function delinkifyLink(link)
  5463. {
  5464. var spanElm = document.createElement("span");
  5465. spanElm.className = link.className;
  5466. spanElm.innerHTML = link.innerHTML;
  5467.  
  5468. if (Display_tooltip_info)
  5469. {
  5470. spanElm.href = link.href;
  5471. spanElm.warlc_error = link.warlc_error;
  5472. switch (link.className){
  5473. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5474. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5475. case "unava_link": //reserved
  5476. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5477. default:
  5478. }
  5479. }
  5480. link.parentNode.replaceChild(spanElm, link);
  5481. }
  5482.  
  5483. //Assigns result status to the <a> element object and calls delinkifying eventually
  5484. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5485. function displayTheCheckedLink(link, resultStatus)
  5486. {
  5487. link.className = resultStatus;
  5488. link.href = Ref_anonymize_service + link.href;
  5489. if (Display_tooltip_info)
  5490. {
  5491. switch (resultStatus){
  5492. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5493. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5494. case "unava_link": //reserved
  5495. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5496. default:
  5497. }
  5498. }
  5499. if (doNotLinkify)
  5500. {
  5501. delinkifyLink(link);
  5502. }
  5503. cLinksProcessed++;
  5504.  
  5505. if (resultStatus == "alive_link")
  5506. {
  5507. cLinksAlive++;
  5508. return;
  5509. }
  5510.  
  5511. if (resultStatus == "adead_link")
  5512. {
  5513. cLinksDead++;
  5514. return;
  5515. }
  5516.  
  5517. if (resultStatus == "unava_link")
  5518. {
  5519. cLinksUnava++;
  5520. }
  5521. if (resultStatus == "prem_link")
  5522. {
  5523. cLinksprem++;
  5524. return;
  5525. }
  5526. }
  5527.  
  5528.  
  5529. function initFileHosts()
  5530. {
  5531.  
  5532. function addObsoleteHost(linkRegex, xpathEx)
  5533. {
  5534. var host = new Array(2);
  5535. host[0] = linkRegex;
  5536. host[1] = xpathEx;
  5537. http_file_hosts_obsolete.push(host);
  5538. }
  5539.  
  5540. //obsolete file hosts init start
  5541. if (Obsolete_file_hosts)
  5542. {
  5543. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5544. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5545. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5546. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5547. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5548. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5549. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5550. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5551. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5552. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5553. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5554. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5555. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5556. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5557. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5558. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5559. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5560. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5561. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5562. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5563. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5564. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5565. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5566. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5567. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5568. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5569. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5570. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5571. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5572. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5573. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5574. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5575. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5576. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5577. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5578. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5579. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5580. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5581. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5582. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5583. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5584. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5585. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5586. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5587. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5588. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5589. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5590. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5591. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5592. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5593. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5594. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5595. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5596. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5597. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5598. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5599. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5600. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5601. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5602. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5603. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5604. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5605. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5606. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5607. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5608. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5609. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5610. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5611. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5612. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5613. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5614. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5615. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5616. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5617. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5618. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5619. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5620. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5621. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5622. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5623. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5624. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5625. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5626. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5627. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5628. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5629. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5630. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5631. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5632. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5633. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5634. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5635. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5636. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5637. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5638. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5639. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5640. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5641. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5642. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5643. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5644. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5645. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5646. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5647. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5648. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5649. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5650. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5651. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5652. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5653. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5654. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5655. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5656. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5657. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5658. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5659. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5660. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5661. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5662. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5663. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5664. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5665. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5666. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5667. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5668. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5669. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5670. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5671. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5672. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5673. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5674. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5675. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5676. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5677. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5678. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5679. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5680. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5681. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5682. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5683. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5684. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5685. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5686. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5687. addObsoleteHost("mega(upload|video|rotic|porn)\\.com\/(?:|..\/)\\?[d|v|f]=\\w{8}","//a[contains(@href,'megaupload.com') or contains(@href,'megavideo.com') or contains(@href,'megaporn.com') or contains(@href,'megarotic.com')]");
  5688. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5689. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5690. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5691. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5692. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5693. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5694. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5695. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5696. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5697. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5698. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5699. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5700. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5701. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5702. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5703. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5704. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5705. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5706. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5707. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5708. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5709. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5710. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5711. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5712. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5713. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5714. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5715. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5716. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5717. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5718. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5719. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5720. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5721. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5722. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5723. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5724. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5725. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5726. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5727. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5728. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5729. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5730. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5731. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5732. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5733. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5734. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5735. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5736. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5737. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5738. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5739. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5740. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5741. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5742. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5743. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5744. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5745. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5746. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5747. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5748. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5749. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5750. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5751. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5752. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5753. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5754. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5755. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5756. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5757. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5758. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5759. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5760. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5761. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5762. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5763. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5764. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5765. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5766. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5767. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5768. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5769. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5770. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5771. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5772. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5773. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5774. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5775. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5776. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5777. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5778. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5779. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5780. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5781. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5782. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5783. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5784. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5785. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5786. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5787. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5788. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5789. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5790. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5791. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5792. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5793. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5794. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5795. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5796. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5797. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5798. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5799. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5800. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5801. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5802. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5803. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5804. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5805. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5806. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5807. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5808. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5809. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5810. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5811. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5812. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5813. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5814. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5815. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5816. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5817. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5818. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5819. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5820. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5821. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5822. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5823. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5824. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5825. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5826. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5827. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5828. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5829. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5830. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5831. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5832. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5833. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5834. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5835. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5836. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5837. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5838. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5839. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5840. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5841. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5842. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5843. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5844. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5845. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5846. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5847. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5848. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5849. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5850. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5851. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5852. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5853. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5854. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5855. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5856. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5857. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5858. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5859. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5860. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5861. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5862. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5863. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5864. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5865. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5866. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5867. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5868. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5869. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5870. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5871. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5872. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5873. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5874. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5875. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5876. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5877. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5878. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5879. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5880. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5881. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5882. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5883. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5884. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5885. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5886. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5887. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5888. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5889. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5890. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5891. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5892. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5893. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5894. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5895. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5896. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5897. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5898. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5899. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5900. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5901. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5902. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5903. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5904. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5905. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5906. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5907. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5908. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5909. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5910. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5911. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5912. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5913. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5914. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5915. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5916. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5917. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5918. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5919. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5920. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5921. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5922. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5923. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5924. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5925. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5926. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5927. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5928. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5929. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5930. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5931. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5932. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5933. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5934. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5935. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5936. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5937. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5938. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5939. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5940. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5941. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5942. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5943. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5944. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5945. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5946. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5947. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5948. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5949. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5950. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5951. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5952. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5953. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5954. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5955. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5956. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5957. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5958. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5959. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5960. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5961. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5962. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5963. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5964. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5965. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5966. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5967. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5968. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5969. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5970. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5971. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5972. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5973. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5974. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5975. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5976. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5977. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5978. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5979. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5980. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5981. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5982. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5983. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5984. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5985. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5986. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5987. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5988. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5989. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5990. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5991. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5992. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5993. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5994. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5995. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5996. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5997. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5998. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5999. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6000. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6001. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6002. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6003. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6004. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6005. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6006. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6007. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6008. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6009. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6010. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6011. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6012. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6013. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6014. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6015. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6016. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6017. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6018. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6019. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6020. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6021. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6022. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6023. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6024. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6025. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6026. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6027. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6028. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6029. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6030. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6031. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6032. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6033. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6034. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6035. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6036. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6037. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6038. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6039. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6040. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6041. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6042. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6043. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6044. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6045. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6046. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6047. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6048. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6049. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6050. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6051. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6052. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6053. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6054. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6055. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6056. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6057. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6058. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6059. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6060. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6061. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6062. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6063. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6064. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6065. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6066. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6067. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6068. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6069. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6070. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6071. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6072. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6073. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6074. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6075. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6076. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6077. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6078. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6079. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6080. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6081. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6082. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6083. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6084. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6085. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6086. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6087. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6088. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6089. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6090. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6091.  
  6092. // obsolete start start2
  6093. }
  6094. //obsolete file hosts init end
  6095. //Add Host Example
  6096. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6097. {
  6098. addFileHost(
  6099. "datafile\.com\/\\w+",
  6100. 'var captchaPanel|<link href="/css/files_download.css"',
  6101. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6102. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6103. '<style type="text/css">',
  6104. "//a[contains(@href,'datafile.com')]",
  6105. true);
  6106. } */
  6107.  
  6108. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6109. {
  6110. var host = new Array(7);
  6111. host[0] = linkRegex;
  6112. host[1] = isAliveRegex;
  6113. host[2] = isDeadRegex;
  6114. host[3] = isUnavaRegex;
  6115. host[6] = ispremRegex;
  6116. host[4] = xpathEx;
  6117. tryLoop ? host[5] = true : host[5] = false;
  6118. http_file_hosts.push(host);
  6119. }
  6120. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6121. {
  6122. addFileHost(
  6123. "megafileupload\.com\/..\/file\/",
  6124. 'downloadbtn',
  6125. 'is not found',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'megafileupload.com')]");
  6129. }
  6130. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6131. {
  6132. addFileHost(
  6133. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6134. 'download\\.gif"',
  6135. 'p_point">',
  6136. 'optional--',
  6137. 'optional2--',
  6138. "//a[contains(@href,'demo.ovh.eu')]");
  6139. }*/
  6140. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6141. {
  6142. addFileHost(
  6143. "safelinking\\.net\/p\/\\w+",
  6144. 'color:green;"',
  6145. 'color:(?:red|orange);"',
  6146. 'color:(?:grey|brown);"',
  6147. 'optional2--',
  6148. "//a[contains(@href,'safelinking.net/p/')]",
  6149. true);
  6150. }
  6151. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6152. {
  6153. addFileHost(
  6154. "fastshare\\.cz\/\\d+\/\\w*",
  6155. 'dwntable">|speed-low',
  6156. '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',
  6157. 'optional--',
  6158. 'optional2--',
  6159. "//a[contains(@href,'fastshare.cz')]");
  6160. }
  6161. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6162. {
  6163. addFileHost(
  6164. "[fF]ast[sS]hare\\.org\/download",
  6165. 'Download ">',
  6166. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6167. 'optional--',
  6168. 'optional2--',
  6169. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6170. }
  6171. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6172. {
  6173. addFileHost(
  6174. "rapidgator\\.net\/file\/\\w+",
  6175. '/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',
  6176. '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',
  6177. 'optional--',
  6178. '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',
  6179. "//a[contains(@href,'rapidgator.net/file')]",
  6180. true
  6181. );
  6182. }
  6183. if (GM_getValue("Check_rg_dot_to_links", false))
  6184. {
  6185. addFileHost(
  6186. "rg\.to\/\\w+",
  6187. '/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',
  6188. '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',
  6189. 'optional--',
  6190. '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',
  6191. "//a[contains(@href,'rg.to')]");
  6192. }
  6193. if (GM_getValue("Check_relink_dot_us_links", false))
  6194. {
  6195. addFileHost(
  6196. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6197. 'online_detail\\.png" alt="Status',
  6198. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6199. 'unknown_detail\\.png" alt="Status',
  6200. 'optional2--',
  6201. "//a[contains(@href,'relink.us/')]"
  6202. );
  6203. }
  6204. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6205. {
  6206. addFileHost(
  6207. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6208. 'div id="dl"',
  6209. 'Sie haben den Link falsch',
  6210. 'optional--',
  6211. 'optional2--',
  6212. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6213. );
  6214. }
  6215. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6216. {
  6217. addFileHost(
  6218. "flyfiles\\.net\/\\w+",
  6219. 'download_button"|"Download file"',
  6220. 'File not found!|Файл не найден',
  6221. 'optional--',
  6222. 'optional2--',
  6223. "//a[contains(@href,'flyfiles.net/')]"
  6224. );
  6225. }
  6226. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6227. {
  6228. addFileHost(
  6229. "wikiupload\\.com\/\\w+",
  6230. 'download-button">',
  6231. 'Sorry, File not found',
  6232. 'optional--',
  6233. 'optional2--',
  6234. "//a[contains(@href,'wikiupload.com/')]"
  6235. );
  6236. }
  6237. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6238. {
  6239. addFileHost(
  6240. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6241. 'file\\.php">|Pobierz Plik',
  6242. 'Podany plik nie zosta',
  6243. 'optional--',
  6244. 'optional2--',
  6245. "//a[contains(@href,'hostuje.net/file')]"
  6246. );
  6247. }
  6248. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6249. {
  6250. addFileHost(
  6251. "gettyfile\\.ru\/\\d+",
  6252. 'download\\.gif border',
  6253. '<center><font size="3">',
  6254. 'optional--',
  6255. 'optional2--',
  6256. "//a[contains(@href,'gettyfile.ru/')]"
  6257. );
  6258. }
  6259. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6260. {
  6261. addFileHost(
  6262. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6263. 'download\\-file">',
  6264. 'col-1">\\s*<h1>',
  6265. 'optional--',
  6266. 'optional2--',
  6267. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6268. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6269. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6270. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6271. );
  6272. }
  6273. if (GM_getValue("Check_data_dot_hu_links", false))
  6274. {
  6275. addFileHost(
  6276. "data\\.hu",
  6277. 'download_box_button|Lassú letöltés',
  6278. 'missing\\.php|Az adott fájl nem létezik',
  6279. 'optional--',
  6280. 'optional2--',
  6281. "//a[contains(@href,'data.hu')]",
  6282. true
  6283. );
  6284. }
  6285. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6286. {
  6287. addFileHost(
  6288. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6289. 'premiumBtn"',
  6290. 'errorMessage"',
  6291. 'optional--',
  6292. 'optional2--',
  6293. "//a[contains(@href,'indowebster.com/download')]"
  6294. );
  6295. }
  6296. if (GM_getValue("Check_superload_dot_cz_links", false))
  6297. {
  6298. addFileHost(
  6299. "superload\\.cz\/dl\/\\w+",
  6300. 'icon-download">',
  6301. 'soubor nebyl nalezen',
  6302. 'optional--',
  6303. 'optional2--',
  6304. "//a[contains(@href,'superload.cz/dl')]"
  6305. );
  6306. }
  6307. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6308. {
  6309. addFileHost(
  6310. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6311. 'op" value="download',
  6312. 'class="err">|width:500px;text-align:left;">',
  6313. 'optional--',
  6314. 'optional2--',
  6315. "//a[contains(@href,'hulkfile.')]"
  6316. );
  6317. }
  6318. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6319. {
  6320. addFileHost(
  6321. "easybytez\\.com\/\\w+",
  6322. 'op" value="download',
  6323. 'stop_error\\.gif',
  6324. 'optional--',
  6325. 'optional2--',
  6326. "//a[contains(@href,'easybytez.com/')]"
  6327. );
  6328. }
  6329. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6330. {
  6331. addFileHost(
  6332. "filestore\\.com\\.ua\/\\?d=\\w+",
  6333. 'tdrow1>',
  6334. 'class=warn',
  6335. 'optional--',
  6336. 'optional2--',
  6337. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6338. );
  6339. }
  6340. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6341. {
  6342. addFileHost(
  6343. "openfile\\.ru\/(?:video\/|)\\d+",
  6344. 'videobox_left">',
  6345. 'blog_title">|not found on this server',
  6346. 'optional--',
  6347. 'optional2--',
  6348. "//a[contains(@href,'openfile.ru/')]"
  6349. );
  6350. }*/
  6351. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6352. {
  6353. addFileHost(
  6354. "extmatrix\\.com\/files\/\\w+",
  6355. 'div class="success"',
  6356. 'div class="error"',
  6357. 'optional--',
  6358. 'optional2--',
  6359. "//a[contains(@href,'extmatrix.com/files')]"
  6360. );
  6361. }
  6362. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6363. {
  6364. addFileHost(
  6365. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6366. 'content_lnkDownload',
  6367. 'error\\.aspx\\?',
  6368. 'optional--',
  6369. 'optional2--',
  6370. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6371. );
  6372. }
  6373. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6374. {
  6375. addFileHost(
  6376. "yourfilestore\\.com\/download\/\\d+\/",
  6377. 'download_data">',
  6378. 'may have been deleted|<h1>Sorry!<\/h1>',
  6379. 'optional--',
  6380. 'optional2--',
  6381. "//a[contains(@href,'yourfilestore.com/download')]"
  6382. );
  6383. }
  6384. if (GM_getValue("Check_filebig_dot_net_links", false))
  6385. {
  6386. addFileHost(
  6387. "filebig\\.net\/files\/\\w+",
  6388. 'downloadFile">',
  6389. '<p>File not found<\/p>',
  6390. 'optional--',
  6391. 'optional2--',
  6392. "//a[contains(@href,'filebig.net/files')]"
  6393. );
  6394. }
  6395. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6396. {
  6397. addFileHost(
  6398. "files\\.filefront\\.com\/\/;\\d+;;",
  6399. 'downloadLink">',
  6400. 'File not found, you',
  6401. 'optional--',
  6402. 'optional2--',
  6403. "//a[contains(@href,'files.filefront.com')]"
  6404. );
  6405.  
  6406. addFileHost(
  6407. "gamefront\\.com\/files\/\\d+",
  6408. 'downloadLink">',
  6409. 'File not found, you',
  6410. 'optional--',
  6411. 'optional2--',
  6412. "//a[contains(@href,'gamefront.com/files')]"
  6413. );
  6414. }
  6415. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6416. {
  6417. addFileHost(
  6418. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6419. 'dnlLnk"',
  6420. 'already been deleted',
  6421. 'optional--',
  6422. 'optional2--',
  6423. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6424. );
  6425. }
  6426. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6427. {
  6428. addFileHost(
  6429. "hellupload\\.com\/\\w+",
  6430. '<h3>Download File<br',
  6431. 'id="podstrona">|AVOID_IE_BUG',
  6432. 'optional--',
  6433. 'optional2--',
  6434. "//a[contains(@href,'hellupload.com/')]"
  6435. );
  6436. }
  6437. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6438. {
  6439. addFileHost(
  6440. "free\\-uploading\\.com\/\\w+",
  6441. 'op" value="download',
  6442. 'class="err">|width:500px;text-align:left;">',
  6443. 'optional--',
  6444. 'optional2--',
  6445. "//a[contains(@href,'free-uploading.com/')]"
  6446. );
  6447. }
  6448. if (GM_getValue("Check_fileape_dot_com_links", false))
  6449. {
  6450. addFileHost(
  6451. "fileape\\.com\/download\\-",
  6452. 'button_dl\\.png',
  6453. 'does not exist\\.',
  6454. 'optional--',
  6455. 'optional2--',
  6456. "//a[contains(@href,'fileape.com/')]"
  6457. );
  6458. }
  6459. if (GM_getValue("Check_uppit_dot_com_links", false))
  6460. {
  6461. addFileHost(
  6462. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6463. 'op" value="download',
  6464. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6465. 'optional--',
  6466. 'optional2--',
  6467. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6468. true
  6469. );
  6470. }
  6471. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6472. {
  6473. addFileHost(
  6474. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6475. 'op" value="download',
  6476. '>File Not Found<',
  6477. 'optional--',
  6478. 'optional2--',
  6479. "//a[contains(@href,'nosupload.com')]",
  6480. true
  6481. );
  6482. }
  6483. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6484. {
  6485. addFileHost(
  6486. "filesin\\.com\/\\w+\/download\\.html",
  6487. 'download_area">',
  6488. 'error_note">',
  6489. 'optional--',
  6490. 'optional2--',
  6491. "//a[contains(@href,'filesin.com/')]",
  6492. true
  6493. );
  6494. }*/
  6495. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6496. {
  6497. addFileHost(
  6498. "nowdownload\\.ch\/dl\/\\w+",
  6499. 'alert-success"',
  6500. 'This file does not exist!',
  6501. 'The file is being transfered',
  6502. 'optional2--',
  6503. "//a[contains(@href,'nowdownload.ch/dl')]"
  6504. );
  6505. }*/
  6506. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6507. {
  6508. addFileHost(
  6509. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6510. 'Dbutton_big"',
  6511. 'download\\-error\\.php',
  6512. 'optional--',
  6513. 'optional2--',
  6514. "//a[contains(@href,'axifile.com/')]"
  6515. );
  6516. }*/
  6517. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6518. {
  6519. addFileHost(
  6520. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6521. 'col-1">\\s*<s',
  6522. 'col-1">\\s*<h',
  6523. 'optional--',
  6524. 'optional2--',
  6525. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6526. );
  6527. }
  6528. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6529. {
  6530. addFileHost(
  6531. "turbobit\\.(?:net|pl)",
  6532. 'id="download-gate-info|id="file-list',
  6533. 'afterWait()|no files in this folder',
  6534. 'optional--',
  6535. 'optional2--',
  6536. "//a[contains(@href,'turbobit.net')]"
  6537. );
  6538. }
  6539. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6540. {
  6541. addFileHost(
  6542. "hitfile\\.net\/download\/folder\/\\d+",
  6543. 'content">\\s*<s',
  6544. 'content">\\s*<h',
  6545. 'optional--',
  6546. 'optional2--',
  6547. "//a[contains(@href,'hitfile.net/download/folder')]"
  6548. );
  6549. }
  6550. if (GM_getValue("Check_movshare_dot_net_links", false))
  6551. {
  6552. addFileHost(
  6553. "movshare\\.net\\/video\\/\\w+",
  6554. 'optional--"',
  6555. 'no longer exists',
  6556. 'optional--',
  6557. 'optional2--',
  6558. "//a[contains(@href,'movshare.net/video')]"
  6559. );
  6560. }
  6561. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6562. {
  6563. addFileHost(
  6564. "mafiastorage\\.com\/\\w+",
  6565. 'op" value="download',
  6566. 'class="err">|style="width:500px;text-align:left;"',
  6567. 'optional--',
  6568. 'optional2--',
  6569. "//a[contains(@href,'mafiastorage.com/')]"
  6570. );
  6571. }
  6572. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6573. {
  6574. addFileHost(
  6575. "uploadingit\\.com\/file\/\\w+",
  6576. 'downloadTitle">',
  6577. 'deleteContent">',
  6578. 'optional--',
  6579. 'optional2--',
  6580. "//a[contains(@href,'uploadingit.com/file')]"
  6581. );
  6582. }*/
  6583. if (GM_getValue("Check_rghost_dot_net_links", false))
  6584. {
  6585. addFileHost(
  6586. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6587. 'download_link|btn large download',
  6588. 'file is restricted|File is deleted|503 Service Unavailable',
  6589. 'optional--',
  6590. 'optional2--',
  6591. "//a[contains(@href,'rghost.')]"
  6592. );
  6593. }
  6594. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6595. {
  6596. addFileHost(
  6597. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6598. '">Staženo:\\s*<\/span>',
  6599. 'Soubor, který hledáte nenalezen',
  6600. 'optional--',
  6601. 'optional2--',
  6602. "//a[contains(@href,'xdisk.cz/')]"
  6603. );
  6604. }
  6605. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6606. {
  6607. addFileHost(
  6608. "2downloadz\.com\/\\w+",
  6609. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6610. 'color="#006DCC|File error',
  6611. 'optional--',
  6612. 'optional2--',
  6613. "//a[contains(@href,'2downloadz.com')]");
  6614. }
  6615. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6616. {
  6617. addFileHost(
  6618. "mightyupload\.com\/\\w+",
  6619. 'background:#ccc;text-align|CONTENT="Download File"',
  6620. 'style="background:#eee|var rr =|File Not Found',
  6621. 'error-code">1010',
  6622. 'optional2--',
  6623. "//a[contains(@href,'mightyupload.com')]");
  6624. }
  6625. if (GM_getValue("Check_anysend_dot_com_links", false))
  6626. {
  6627. addFileHost(
  6628. "anysend\.com\/\\w+",
  6629. 'var openCalled=false;|content="noindex"',
  6630. '_trackPageview',
  6631. 'optional--',
  6632. 'optional2--',
  6633. "//a[contains(@href,'anysend.com')]");
  6634. }
  6635. if (GM_getValue("Check_datafile_dot_com_links", false))
  6636. {
  6637. addFileHost(
  6638. "datafile\.com\/\\w+",
  6639. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6640. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6641. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6642. '; 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">
  6643. "//a[contains(@href,'datafile.com')]",
  6644. true);
  6645. }
  6646. if (GM_getValue("Check_upstore_dot_net_links", false))
  6647. {
  6648. addFileHost(
  6649. "upstore\.net\/\\w+",
  6650. 'name="free"',
  6651. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6652. 'optional--',
  6653. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6654. "//a[contains(@href,'upstore.net')]");
  6655. }
  6656. if (GM_getValue("Check_upsto_dot_re_links", false))
  6657. {
  6658. addFileHost(
  6659. "upsto\.re\/\\w+",
  6660. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6661. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6662. 'optional--',
  6663. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6664. "//a[contains(@href,'upsto.re')]");
  6665. }
  6666. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6667. {
  6668. addFileHost(
  6669. "speedy\.sh\/\\w+",
  6670. 'bgcolor=#eeeeee|class="addthis',
  6671. 'File not found|downloadfilenamenotfound>',
  6672. 'optional--',
  6673. 'optional2--',
  6674. "//a[contains(@href,'speedy.sh')]");
  6675. }
  6676. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6677. {
  6678. addFileHost(
  6679. "kingfiles\.net\/\\w+",
  6680. 'method_free|images/loading_small.gif"',
  6681. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'kingfiles.net')]");
  6685. }
  6686. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6687. {
  6688. addFileHost(
  6689. "secureupload\\.eu\/\\w+",
  6690. 'Downloading',
  6691. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6692. 'optional--',
  6693. 'optional2--',
  6694. "//a[contains(@href,'secureupload.eu')]"
  6695. );
  6696. } */
  6697. if (GM_getValue("Check_ge_dot_tt_links", false))
  6698. {
  6699. addFileHost(
  6700. "ge\.tt\/\\w+",
  6701. 'downloads pic',
  6702. 'is NOT the same as',
  6703. 'optional--',
  6704. 'optional2--',
  6705. "//a[contains(@href,'ge.tt')]");
  6706. }
  6707. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6708. {
  6709. addFileHost(
  6710. "filefactory\\.com\/file\/\\w+",
  6711. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6712. '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">',
  6713. 'Server Maintenance|temporarily overloaded',
  6714. 'Premium Account Required',
  6715. "//a[contains(@href,'filefactory.com/file')]");
  6716. } */
  6717. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6718. {
  6719. addFileHost(
  6720. "filesflash\.net\/\\w+",
  6721. 'align:right">Filename:',
  6722. 'class="msg">',
  6723. 'optional--',
  6724. 'optional2--',
  6725. "//a[contains(@href,'filesflash.net')]");
  6726. }
  6727. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6728. {
  6729. addFileHost(
  6730. "rapidgator\\.net\/folder\/\\w+",
  6731. 'href="/folder/',
  6732. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6733. 'optional--',
  6734. 'optional2--',
  6735. "//a[contains(@href,'rapidgator.net/folder')]",
  6736. true
  6737. );
  6738. }
  6739. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6740. {
  6741. addFileHost(
  6742. "salefiles\.com\/\\w+",
  6743. 'name="method_free',
  6744. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'salefiles.com')]");
  6748. }
  6749. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6750. {
  6751. addFileHost(
  6752. "datoid\.cz\/\\w+",
  6753. 'btn-download|class="icon-download-large"',
  6754. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6755. 'optional--',
  6756. 'optional2--',
  6757. "//a[contains(@href,'datoid.cz')]");
  6758. }
  6759. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6760. {
  6761. addFileHost(
  6762. "stiahni\.si\/\\w+",
  6763. 'report_icon.png"|slow-download-button',
  6764. 'none.png|deleted|<h2>Error 500</h2>',
  6765. 'optional--',
  6766. 'optional2--',
  6767. "//a[contains(@href,'stiahni.si')]");
  6768. }
  6769. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6770. {
  6771. addFileHost(
  6772. "cloudstor\.es\/\\w+",
  6773. '"btn_download"',
  6774. '404: Page Not Found',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'cloudstor.es')]");
  6778. }
  6779. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6780. {
  6781. addFileHost(
  6782. "streamfile\.com\/\\w+",
  6783. 'class="btn',
  6784. 'class="green-btn',
  6785. 'optional--',
  6786. 'optional2--',
  6787. "//a[contains(@href,'streamfile.com')]");
  6788. }
  6789. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6790. {
  6791. addFileHost(
  6792. "eyesfile\.ca\/\\w+",
  6793. 'value="Get Link',
  6794. 'var rr =',
  6795. 'optional--',
  6796. 'optional2--',
  6797. "//a[contains(@href,'eyesfile.ca')]");
  6798. }
  6799. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. "filemoney\.com\/\\w+",
  6803. 'og:title',
  6804. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6805. 'error-code">1010',
  6806. 'optional2--',
  6807. "//a[contains(@href,'filemoney.com')]");
  6808. }
  6809. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. "uploadboy\.com\/\\w+",
  6813. 'width="740">|method_free',
  6814. 'var rr =|background:#ffffff|not be found|file was removed',
  6815. 'optional--',
  6816. 'optional2--',
  6817. "//a[contains(@href,'uploadboy.com')]");
  6818. }
  6819. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6820. {
  6821. addFileHost(
  6822. "uploadboy\.com\/\\w+",
  6823. 'width="740">|method_free',
  6824. 'var rr =|background:#ffffff|not be found|file was removed',
  6825. 'optional--',
  6826. 'optional2--',
  6827. "//a[contains(@href,'uploadboy.me')]");
  6828. }
  6829. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6830. {
  6831. addFileHost(
  6832. "speedshare\.eu\/\\w+",
  6833. 'favicon.png|color:#3d87c0|cross.png"',
  6834. 'var rr =|File Not Found|style="background:#eee',
  6835. 'optional--',
  6836. 'optional2--',
  6837. "//a[contains(@href,'speedshare.eu')]");
  6838. }
  6839. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6840. {
  6841. addFileHost(
  6842. "unlimitzone\.com\/\\w+",
  6843. 'name="method_free',
  6844. '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',
  6845. 'optional--',
  6846. 'optional2--',
  6847. "//a[contains(@href,'unlimitzone.com')]");
  6848. }
  6849. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6850. {
  6851. addFileHost(
  6852. "rioupload\.com\/\\w+",
  6853. 'sell.jpg',
  6854. 'var rr =',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'rioupload.com')]");
  6858. }
  6859. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6860. {
  6861. addFileHost(
  6862. "jumbofiles\.org\/\\w+",
  6863. 'H71C5.png|class="downloadtitle">',
  6864. 'var swfu|ViewSourceBIN.png',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'jumbofiles.org')]");
  6868. }
  6869. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6870. {
  6871. addFileHost(
  6872. "fshare\\.vn\/file\/\\w+",
  6873. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6874. 'không tồn tại|class="color_red m_t_50"',
  6875. 'optional--',
  6876. 'optional2--',
  6877. "//a[contains(@href,'fshare.vn/file')]",
  6878. true
  6879. );
  6880. }
  6881. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6882. {
  6883. addFileHost(
  6884. "spaceforfiles\.com\/\\w+",
  6885. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6886. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6890. }
  6891. if (GM_getValue("Check_google_dot_com_links", false))
  6892. {
  6893. addFileHost(
  6894. "google\\.com\/file\/\\w+",
  6895. 'content="!">|color:#2d2d2d',
  6896. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6897. 'optional--',
  6898. 'optional2--',
  6899. "//a[contains(@href,'google.com/file')]",
  6900. true
  6901. );
  6902. }
  6903. if (GM_getValue("Check_google_dot_com_links", false))
  6904. {
  6905. addFileHost(
  6906. "docs.google.com\/\\w+",
  6907. 'content="!">|color:#2d2d2d',
  6908. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6909. 'optional--',
  6910. 'optional2--',
  6911. "//a[contains(@href,'docs.google.com')]",
  6912. true
  6913. );
  6914. }
  6915. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6916. {
  6917. addFileHost(
  6918. "drive.google.com\/\\w+",
  6919. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6920. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'drive.google.com')]",
  6924. true
  6925. );
  6926. }
  6927. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "up.media1fire\.com\/\\w+",
  6931. 'class="addthis_|value="download',
  6932. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6933. 'optional--',
  6934. 'optional2--',
  6935. "//a[contains(@href,'up.media1fire.com')]");
  6936. }
  6937. if (GM_getValue("Check_depfile_dot_com_links", false))
  6938. {
  6939. addFileHost(
  6940. "depfile\.com\/\\w+",
  6941. 'logo_0.png|downloads.gif"|verifycode',
  6942. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6943. 'optional--',
  6944. 'available only for Premium users',
  6945. "//a[contains(@href,'depfile.com')]");
  6946. }
  6947. if (GM_getValue("Check_go4up_dot_com_links", false))
  6948. {
  6949. addFileHost(
  6950. "go4up\.com\/\\w+",
  6951. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6952. '<title>GO4UP|dmca',
  6953. 'optional--',
  6954. 'optional2--',
  6955. "//a[contains(@href,'go4up.com')]");
  6956. }
  6957. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6958. {
  6959. addFileHost(
  6960. "redbunker\.net\/\\w+",
  6961. 'name="method_free"',
  6962. 'color="red">Unknow / Bilinmiyor<',
  6963. 'optional--',
  6964. '2.3 GB',
  6965. "//a[contains(@href,'redbunker.net')]");
  6966. }
  6967. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6968. {
  6969. addFileHost(
  6970. "divxpress\.com\/\\w+",
  6971. 'btn_download|logo.png"',
  6972. 'AVOID_IE_BUG|var rr =',
  6973. 'optional--',
  6974. 'optional2--',
  6975. "//a[contains(@href,'divxpress.com')]");
  6976. }
  6977. if (GM_getValue("Check_anafile_dot_com_links", false))
  6978. {
  6979. addFileHost(
  6980. "anafile\.com\/\\w+",
  6981. 'width="881" valign="top|color="#800080"|name="go"',
  6982. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'anafile.com')]");
  6986. }
  6987. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6988. {
  6989. addFileHost(
  6990. "uploadable\\.ch\/file\/\\w+",
  6991. 'captcha.js"|payment.js"|class="btn_download"',
  6992. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6993. 'optional--',
  6994. 'optional2--',
  6995. "//a[contains(@href,'uploadable.ch/file')]",
  6996. true
  6997. );
  6998. }
  6999. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7000. {
  7001. addFileHost(
  7002. "bigfile\\.to\/file\/\\w+",
  7003. 'captcha.js"|payment.js"|class="btn_download"',
  7004. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7005. 'optional--',
  7006. 'optional2--',
  7007. "//a[contains(@href,'bigfile.to/file')]",
  7008. true
  7009. );
  7010. }
  7011. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7012. {
  7013. addFileHost(
  7014. "arabloads\.net\/\\w+",
  7015. 'name="method_free"|name="method_premium"',
  7016. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7017. 'optional--',
  7018. 'optional2--',
  7019. "//a[contains(@href,'arabloads.net')]");
  7020. }
  7021. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7022. {
  7023. addFileHost(
  7024. "sharerepo\.com\/\\w+",
  7025. 'name="method_free"',
  7026. 'var public_on=|The file you were looking for could not be found',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'sharerepo.com')]");
  7030. }
  7031. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7032. {
  7033. addFileHost(
  7034. "sfshare\.se\/\\w+",
  7035. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7036. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'sfshare.se')]");
  7040. }
  7041. if (GM_getValue("Check_files_dot_fm_links", false))
  7042. {
  7043. addFileHost(
  7044. "files\.fm\/\\w+",
  7045. 'dl.png"|background-color: transparent',
  7046. 'margin: 40px 40px|background: none;',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'files.fm')]");
  7050. }
  7051. if (GM_getValue("Check_koofile_dot_com_links", false))
  7052. {
  7053. addFileHost(
  7054. "koofile\.com\/\\w+",
  7055. 'value="download1">|name="method_free"',
  7056. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'koofile.com')]");
  7060. }
  7061. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7062. {
  7063. addFileHost(
  7064. "vidxden\\.com\/\\w+",
  7065. 'Continue to Video"',
  7066. 'No such file',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'vidxden.com')]"
  7070. );
  7071. }*/
  7072. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7073. {
  7074. addFileHost(
  7075. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7076. 'Details zur Datei|Details page',
  7077. 'Jetzt hochladen|upload now',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7081. );
  7082. }
  7083. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7084. {
  7085. addFileHost(
  7086. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7087. 'downloadbtn"',
  7088. 'DL_FileNotFound',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7092. );
  7093. }
  7094. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7095. {
  7096. addFileHost(
  7097. "fileflyer\.com\/view\/\\w+",
  7098. '(?:dwl|locked)btn"',
  7099. 'error.gif"|link">Removed|removedlink">',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'fileflyer.com')]"
  7103. );
  7104. }
  7105. if (GM_getValue("Check_filestore_dot_to_links", false))
  7106. {
  7107. addFileHost(
  7108. "filestore\.to\/\\?d=\\w+",
  7109. '"downloading"',
  7110. 'Datei wurde nicht gefunden',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'filestore.to')]"
  7114. );
  7115. }
  7116. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7117. {
  7118. addFileHost(
  7119. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7120. 'fz24">Download|class="pl15">',
  7121. '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',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_datei_dot_to_links", false))
  7128. {
  7129. addFileHost(
  7130. "datei\\.to\/\\??\\w+",
  7131. 'icon_downloaden\\.png|>Download starten<',
  7132. 'Datei wurde nicht gefunden|icon_deleted.png',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'datei.to')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7139. {
  7140. addFileHost(
  7141. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7142. '<body class="body" id="body">|value="Slow Download"',
  7143. '<body class="body" >',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7150. {
  7151. addFileHost(
  7152. "unibytes\\.com\/[\\w\.]+",
  7153. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7154. 'File not found|Файл не найден|',
  7155. 'optional--',
  7156. 'optional2--',
  7157. "//a[contains(@href,'unibytes.com')]"
  7158. );
  7159. }
  7160. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7161. {
  7162. addFileHost(
  7163. "www\\.hellshare\\.com\/\\d+",
  7164. 'tab\\-details"',
  7165. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7166. 'optional--',
  7167. 'optional2--',
  7168. "//a[contains(@href,'www.hellshare.com')]"
  7169. );
  7170. }
  7171. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7172. {
  7173. addFileHost(
  7174. "www\\.download.cz.hellshare\\.com\/\\w+",
  7175. 'tab\\-details"',
  7176. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7177. 'optional--',
  7178. 'optional2--',
  7179. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7183. {
  7184. addFileHost(
  7185. "filefactory\\.com",
  7186. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7187. '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',
  7188. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7189. 'Premium Account Required',
  7190. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_load_dot_to_links", false))
  7194. {
  7195. addFileHost(
  7196. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7197. '"download_table_left">Size',
  7198. 'Can\'t find file',
  7199. 'optional--',
  7200. 'optional2--',
  7201. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_divshare_dot_com_links", false))
  7205. {
  7206. addFileHost(
  7207. "divshare\\.com\/download\/",
  7208. 'download_new\.png',
  7209. 'have been removed',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'divshare.com')]"
  7213. );
  7214. }
  7215. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7216. {
  7217. addFileHost(
  7218. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7219. 'download=true"',
  7220. '<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>',
  7221. 'optional--',
  7222. 'optional2--',
  7223. "//a[contains(@href,'euroshare.eu/file')]"
  7224. );
  7225. }
  7226. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7227. {
  7228. addFileHost(
  7229. 'files\\.mail\\.ru/(?:\\w*)',
  7230. 'fileList',
  7231. 'errorMessage',
  7232. 'optional--',
  7233. 'optional2--',
  7234. "//a[contains(@href,'files.mail.ru')]"
  7235. );
  7236. }
  7237. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7238. {
  7239. addFileHost(
  7240. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7241. 'Filesize',
  7242. 'Invalid|deleted|Could not download file',
  7243. 'slots|scheduled maintenance',
  7244. 'optional2--',
  7245. "//a[contains(@href,'megashares.com/')]"
  7246. );
  7247. } */
  7248. if (GM_getValue("Check_narod_dot_ru_links", false))
  7249. {
  7250. addFileHost(
  7251. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7252. 'b-submit|action="resource.download"',
  7253. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7254. 'Внутренняя ошибка сервиса',
  7255. 'optional2--',
  7256. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7257. );
  7258. }
  7259. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7260. {
  7261. addFileHost(
  7262. "rayfile\\.com\/",
  7263. 'FILEtitleTXT',
  7264. 'blueRow',
  7265. 'optional--',
  7266. 'optional2--',
  7267. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7268. );
  7269. }
  7270. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7271. {
  7272. addFileHost(
  7273. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7274. 'button_green_body"',
  7275. 'error">',
  7276. 'optional--',
  7277. 'optional2--',
  7278. "//a[contains(@href,'filesmonster.com/download')]"
  7279. );
  7280. }
  7281. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7282. {
  7283. addFileHost(
  7284. 'usaupload\\.net\/d\/(?:\w*)',
  7285. '<strong>File size:</strong>',
  7286. 'is not available',
  7287. 'optional--',
  7288. 'optional2--',
  7289. "//a[contains(@href,'usaupload.net/d/')]"
  7290. );
  7291. }
  7292. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7293. {
  7294. addFileHost(
  7295. 'sendspace\\.com\/file\/\\w+',
  7296. 'file_description',
  7297. 'msg error"',
  7298. 'optional--',
  7299. 'optional2--',
  7300. "//a[contains(@href,'sendspace.com/file')]"
  7301. );
  7302. }
  7303. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7304. {
  7305. addFileHost(
  7306. 'sendspace\\.pl\/file\/\\w+',
  7307. 'download_file"',
  7308. 'Podany plik nie',
  7309. 'optional--',
  7310. 'optional2--',
  7311. "//a[contains(@href,'sendspace.pl/file')]"
  7312. );
  7313. }
  7314. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7315. {
  7316. addFileHost(
  7317. 'uploading\\.com\/(?:files\/)?\\w+',
  7318. 'free_method">',
  7319. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7320. 'optional--',
  7321. 'optional2--',
  7322. "//a[contains(@href,'uploading.com')]"
  7323. );
  7324. } */
  7325. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7326. {
  7327. addFileHost(
  7328. "gigasize\.com\/\\w+",
  7329. 'fileId"|class="estimate">',
  7330. 'error">',
  7331. 'optional--',
  7332. 'optional2--',
  7333. "//a[contains(@href,'gigasize.com/get')]"
  7334. );
  7335. }
  7336. if (GM_getValue("Check_good_dot_com_links", false))
  7337. {
  7338. addFileHost(
  7339. 'good\\.net\/(?:_|dl)',
  7340. 'Free Download',
  7341. 'Not Found',
  7342. 'Forbidden',
  7343. 'optional2--',
  7344. "//a[contains(@href,'good.net')]"
  7345. );
  7346. }
  7347. if (GM_getValue("Check_2shared_dot_com_links", false))
  7348. {
  7349. addFileHost(
  7350. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7351. 'File size',
  7352. 'File not found|is not valid|/images/important.gif',
  7353. 'optional--',
  7354. 'optional2--',
  7355. // "//a[contains(@href,'2shared.com')]"
  7356. "//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/')]"
  7357. );
  7358. }
  7359. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7360. {
  7361. addFileHost(
  7362. 'turboupload\\.com\/\\w*',
  7363. 'You have requested',
  7364. 'File Not Found',
  7365. 'optional--',
  7366. 'optional2--',
  7367. "//a[contains(@href,'turboupload.com')]"
  7368. );
  7369. }
  7370. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7371. {
  7372. addFileHost(
  7373. 'gigapeta\\.com\/dl\/',
  7374. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7375. '404|page_error',
  7376. 'optional--',
  7377. 'optional2--',
  7378. "//a[contains(@href,'gigapeta.com/dl')]"
  7379. );
  7380. }
  7381. if (GM_getValue("Check_veehd_dot_com_links", false))
  7382. {
  7383. addFileHost(
  7384. 'veehd\.com\/video\/.*?',
  7385. 'No sound|Download video',
  7386. 'Featured Videos',
  7387. 'optional--',
  7388. 'optional2--',
  7389. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7390. );
  7391. }
  7392. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7393. {
  7394. addFileHost(
  7395. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7396. 'fast_download_form">|submit_sms_download',
  7397. '<p style="text-align:center">',
  7398. 'optional--',
  7399. 'optional2--',
  7400. "//a[contains(@href,'vip-file.com/download')]"
  7401. );
  7402. }
  7403. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7404. {
  7405. addFileHost(
  7406. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7407. 'download\\-pnl ',
  7408. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7409. 'optional--',
  7410. 'optional2--',
  7411. "//a[contains(@href,'letitbit.net/download')]"
  7412. );
  7413. }*/
  7414. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7415. {
  7416. addFileHost(
  7417. 'ifolder\.ru\/\\d+',
  7418. 'file-info',
  7419. 'ui-state-error',
  7420. 'optional--',
  7421. 'optional2--',
  7422. "//a[contains(@href,'ifolder.ru')]"
  7423. );
  7424. }
  7425. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7426. {
  7427. addFileHost(
  7428. 'fileswap\\.com\/dl\/\\w+',
  7429. 'bttnDownloadLink"',
  7430. 'rounded_block_error"',
  7431. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7432. 'optional2--',
  7433. "//a[contains(@href,'fileswap.com/dl')]"
  7434. );
  7435. }*/
  7436. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7437. {
  7438. addFileHost(
  7439. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7440. 'var __error = 0|id="recaptchaPanel">',
  7441. 'FILES__DOESNT_EXIST|removed or did not exist',
  7442. 'optional--',
  7443. 'optional2--',
  7444. "//a[contains(@href,'filecloud.io/')]"
  7445. );
  7446. addFileHost(
  7447. 'ifile\\.it\/\\w+',
  7448. 'var __error = 0',
  7449. 'FILES__DOESNT_EXIST',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'ifile.it/')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7456. {
  7457. addFileHost(
  7458. 'solidfiles\\.com\/\\w+',
  7459. 'id="download"|content="Download',
  7460. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7461. 'optional--',
  7462. 'optional2--',
  7463. "//a[contains(@href,'solidfiles.com/')]"
  7464. );
  7465. }
  7466. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7467. {
  7468. addFileHost(
  7469. "(?:.\\.|)shareflare\\.net",
  7470. 'download-pnl|<div class="premium-block">',
  7471. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7472. 'optional--',
  7473. 'optional2--',
  7474. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7475. );
  7476. }
  7477. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7478. {
  7479. addFileHost(
  7480. "u18116681.shareflare\\.net",
  7481. 'download-pnl|<div class="premium-block">',
  7482. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7483. 'optional--',
  7484. 'optional2--',
  7485. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7486. );
  7487. }
  7488. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7489. {
  7490. addFileHost(
  7491. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7492. 'file\\-list-orderby|section-filedetail">',
  7493. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7494. 'optional--',
  7495. 'optional2--',
  7496. "//a[contains(@href,'hellspy.')]"
  7497. );
  7498. }
  7499. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7500. {
  7501. addFileHost(
  7502. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7503. '<body onload="">',
  7504. 'neexistuje|not exist',
  7505. 'optional--',
  7506. 'optional2--',
  7507. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7508. );
  7509. }
  7510. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7511. {
  7512. addFileHost(
  7513. "stahovanizasms\\.cz\/\\w+",
  7514. 'download\\.png>|font-size:11px><tr>',
  7515. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7516. 'optional--',
  7517. 'optional2--',
  7518. "//a[contains(@href,'stahovanizasms.cz')]"
  7519. );
  7520. }
  7521. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7522. {
  7523. addFileHost(
  7524. "share-links\\.biz\/\\w*",
  7525. 'online\\.gif',
  7526. '(?:offline|parts)\\.gif',
  7527. 'optional--',
  7528. 'optional2--',
  7529. "//a[contains(@href,'share-links.biz')]"
  7530. );
  7531. }
  7532. if (GM_getValue("Check_4shared_dot_com_links", false))
  7533. {
  7534. addFileHost(
  7535. "4shared\\.com\/.+\/",
  7536. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7537. 'class="warn\"|big red"|GetDataBack',
  7538. 'Service Unavailable',
  7539. 'optional2--',
  7540. "//a[contains(@href,'4shared.com')]"
  7541. );
  7542. }
  7543. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7544. {
  7545. addFileHost(
  7546. "(?:www\\d+\.|)zippyshare\.com\/",
  7547. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7548. 'not exist|Status 404',
  7549. 'optional--',
  7550. 'optional2--',
  7551. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7552. );
  7553. }
  7554. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7555. {
  7556. addFileHost(
  7557. "mediafire\.com\/",
  7558. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7559. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7560. 'set to private',
  7561. 'optional2--',
  7562. "//a[contains(@href,'mediafire.com')]"
  7563. );
  7564. }
  7565. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7566. {
  7567. addFileHost(
  7568. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7569. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7570. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7571. 'optional--',
  7572. 'GB</small>',
  7573. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7574. );
  7575. }
  7576. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7577. {
  7578. addFileHost(
  7579. "ulozisko\.sk\/",
  7580. 'Detaily',
  7581. 'neexistuje',
  7582. 'optional--',
  7583. 'optional2--',
  7584. "//a[contains(@href,'ulozisko.sk')]"
  7585. );
  7586. }
  7587. if (GM_getValue("Check_box_dot_com_links", false))
  7588. {
  7589. addFileHost(
  7590. "box\.com\/\\w+",
  7591. 'download-file-btn|id="download_button|preview-download',
  7592. 'BIyMin.png| <div class="error_message|link has been removed',
  7593. 'optional--',
  7594. 'optional2--',
  7595. "//a[contains(@href,'app.box.com')]");
  7596. }
  7597. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7598. {
  7599. addFileHost(
  7600. "uptobox\\.com\/\\w+",
  7601. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7602. '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|لا يوجد أي ملف',
  7603. 'Maintenance',
  7604. 'optional2--',
  7605. "//a[contains(@href,'uptobox.com')]",
  7606. true
  7607. );
  7608. }
  7609. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7610. {
  7611. addFileHost(
  7612. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7613. 'FILE DOWNLOAD<',
  7614. 'File Does Not Exist',
  7615. 'optional--',
  7616. 'optional2--',
  7617. "//a[contains(@href,'sharecash.org/download.php')]"
  7618. );
  7619. }
  7620. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7621. {
  7622. addFileHost(
  7623. "1fichier\\.com\/dir\/\\w+",
  7624. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7625. 'Shared Folder Not Found',
  7626. 'optional--',
  7627. 'optional2--',
  7628. "//a[contains(@href,'1fichier.com/dir')]"
  7629. );
  7630. }
  7631. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7632. {
  7633. addFileHost(
  7634. "depositfiles\\.com\/folders\/\\w+",
  7635. '<div class="progressContainer">',
  7636. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7637. 'optional--',
  7638. 'optional2--',
  7639. "//a[contains(@href,'depositfiles.com/folders')]"
  7640. );
  7641. }
  7642. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7643. {
  7644. addFileHost(
  7645. "rapidfileshare\\.net/\\w+",
  7646. '<div id="upload-header-bg">',
  7647. '<div style="width:500px;text-align:left;">',
  7648. 'optional--',
  7649. 'optional2--',
  7650. "//a[contains(@href,'rapidfileshare.net/')]"
  7651. );
  7652. }
  7653. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7654. {
  7655. addFileHost(
  7656. "stiahnito\\.sk/",
  7657. '<span class="filesize right">',
  7658. '<ol class="list-purp-2">',
  7659. 'optional--',
  7660. 'optional2--',
  7661. "//a[contains(@href,'stiahnito.sk/')]"
  7662. );
  7663. }
  7664. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7665. {
  7666. addFileHost(
  7667. "rusfolder\\.(?:com|net)",
  7668. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7669. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7670. 'optional--',
  7671. 'optional2--',
  7672. "//a[contains(@href,'rusfolder')]"
  7673. );
  7674. }
  7675. if (GM_getValue("Check_catshare_dot_net_links", false))
  7676. {
  7677. addFileHost(
  7678. "catshare\\.net/\\w+",
  7679. '"icon-share',
  7680. 'alert alert-error',
  7681. 'optional--',
  7682. 'optional2--',
  7683. "//a[contains(@href,'catshare.net/')]"
  7684. );
  7685. }
  7686. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7687. {
  7688. addFileHost(
  7689. "anonfiles\\.com/\\w+",
  7690. '"download_button"',
  7691. '<legend><b>404</b>',
  7692. 'optional--',
  7693. 'optional2--',
  7694. "//a[contains(@href,'anonfiles.com')]"
  7695. );
  7696. }*/
  7697. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7698. {
  7699. addFileHost(
  7700. "mixturecloud\\.com/media/\\w+",
  7701. '"btn icon i_globe gray share_150',
  7702. '"s_cross_close"></span> 404:',
  7703. 'optional--',
  7704. 'optional2--',
  7705. "//a[contains(@href,'mixturecloud.com/media/')]"
  7706. );
  7707. }
  7708. if (GM_getValue("Check_akafile_dot_com_links", false))
  7709. {
  7710. addFileHost(
  7711. "akafile\\.com\/\\w+",
  7712. 'download1',
  7713. 'File Not Found',
  7714. 'optional--',
  7715. 'optional2--',
  7716. "//a[contains(@href,'akafile.com/')]"
  7717. );
  7718. }
  7719. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7720. {
  7721. addFileHost(
  7722. "creafile\\.net\/\\w+",
  7723. 'downloadblock',
  7724. 'errtitle',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'creafile.net/')]"
  7728. );
  7729. }*/
  7730. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7731. {
  7732. addFileHost(
  7733. "hugefiles\\.net\/\\w+",
  7734. 'download1|class="btn-create-download" value="Create Download Link">',
  7735. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7736. 'optional--',
  7737. 'optional2--',
  7738. "//a[contains(@href,'hugefiles.net/')]"
  7739. );
  7740. }*/
  7741. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7742. {
  7743. addFileHost(
  7744. "sendmyway\\.com\/\\w+",
  7745. 'id="btn_download"',
  7746. '500px;text-align:left;"|<center><h3>',
  7747. 'optional--',
  7748. 'optional2--',
  7749. "//a[contains(@href,'sendmyway.com/')]"
  7750. );
  7751. }
  7752. if (GM_getValue("Check_upload_dot_ee_links", false))
  7753. {
  7754. addFileHost(
  7755. "upload\\.ee\/\\w+",
  7756. 'onmouseout="document.dllink.src',
  7757. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7758. 'optional--',
  7759. 'optional2--',
  7760. "//a[contains(@href,'upload.ee/')]"
  7761. );
  7762. }
  7763. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7764. {
  7765. addFileHost(
  7766. "shareplace\\.org\/\\?\\w+",
  7767. 'Download-Link',
  7768. 'Your requested file is not found|Select file to send',
  7769. 'optional--',
  7770. 'optional2--',
  7771. "//a[contains(@href,'shareplace.org/?')]"
  7772. );
  7773. }
  7774. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7775. {
  7776. addFileHost(
  7777. "uploadc\\.com\/\\w+",
  7778. 'id="prebut"',
  7779. 'File Not Found|This file has been removed due',
  7780. 'optional--',
  7781. 'optional2--',
  7782. "//a[contains(@href,'uploadc.com/')]"
  7783. );
  7784. }
  7785. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7786. {
  7787. addFileHost(
  7788. "uploadc\\.ch\/\\w+",
  7789. 'id="prebut"',
  7790. 'File Not Found|This file has been removed due',
  7791. 'optional--',
  7792. 'optional2--',
  7793. "//a[contains(@href,'uploadc.ch/')]"
  7794. );
  7795. }
  7796. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7797. {
  7798. addFileHost(
  7799. "remixshare\\.com\/\\w+",
  7800. 'id="dl2"',
  7801. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7802. 'optional--',
  7803. 'optional2--',
  7804. "//a[contains(@href,'remixshare.com/')]"
  7805. );
  7806. }*/
  7807. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7808. {
  7809. addFileHost(
  7810. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7811. 'Last Download :',
  7812. 'img src="\\/404.jpg"',
  7813. 'optional--',
  7814. 'optional2--',
  7815. "//a[contains(@href,'exoshare.com/download.php')]"
  7816. );
  7817. }
  7818. if (GM_getValue("Check_borncash_dot_org_links", false))
  7819. {
  7820. addFileHost(
  7821. "borncash\\.org\/download\/\\?a=\\w+",
  7822. 'class="knop_1"',
  7823. '\/error\/er00',
  7824. 'optional--',
  7825. 'optional2--',
  7826. "//a[contains(@href,'borncash.org/download/')]"
  7827. );
  7828. }
  7829. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7830. {
  7831. addFileHost(
  7832. "vidplay\.net\/\\w+",
  7833. 'solvemedia puzzle widget',
  7834. 'File not found|AVOID_IE_BUG',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'vidplay.net')]");
  7838. }*/
  7839. if (GM_getValue("Check_filedais_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "filedais\.com\/\\w+",
  7843. 'class="btn btn-info"|name="method_free"',
  7844. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'filedais.com')]");
  7848. }
  7849. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7850. {
  7851. addFileHost(
  7852. "up.4share\.vn\/\\w+",
  7853. '<font size="2" face="Verdana">',
  7854. 'font: 13px Tahoma; color: Brown',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'up.4share.vn')]");
  7858. }
  7859. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7860. {
  7861. addFileHost(
  7862. "share.vnn\.vn\/\\w+",
  7863. '"index,follow"|<div class="main" id="download-box">',
  7864. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'share.vnn.vn')]");
  7868. }
  7869. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7870. {
  7871. addFileHost(
  7872. "upfile\.vn\/\\w+",
  7873. 'download-timer',
  7874. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'upfile.vn')]");
  7878. }
  7879. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7880. {
  7881. addFileHost(
  7882. "aisfile\.com\/\\w+",
  7883. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7884. '<div style="width:500px;text-align:left;">|File Not Found',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'aisfile.com')]");
  7888. }
  7889. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7890. {
  7891. addFileHost(
  7892. "usersfiles\.com\/\\w+",
  7893. 'class="btn btn-success|id="btn_download" class="btn"',
  7894. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'usersfiles.com')]");
  7898. }
  7899. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "pan.baidu\.com\/\\w+",
  7903. 'target="_blank" title=|share-personal-info',
  7904. 'share_notfound.png|background:#f9f9f9',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'pan.baidu.com')]");
  7908. }
  7909. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7910. {
  7911. addFileHost(
  7912. "yunpan\.cn\/\\w+",
  7913. 'class="icon icon-download',
  7914. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'yunpan.cn')]");
  7918. }
  7919. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7920. {
  7921. addFileHost(
  7922. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7923. 'getElementById("downbild")|style.display',
  7924. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'file-upload.net')]");
  7928. }
  7929. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7930. {
  7931. addFileHost(
  7932. "gulfup\.com\/",
  7933. '<!-- Downlod template -->|download.gif',
  7934. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'gulfup.com')]");
  7938. }*/
  7939. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7940. {
  7941. addFileHost(
  7942. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7943. 'dldtable">',
  7944. 'does not exist\\.',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'datafilehost.com')]");
  7948. }
  7949. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7950. {
  7951. addFileHost(
  7952. "dropbox\.com\/s\/\\w+",
  7953. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7954. '>Nothing Here<|>Error (404)<',
  7955. 'title>Dropbox - 509|Error (403)|Error: 429',
  7956. 'optional2--',
  7957. "//a[contains(@href,'dropbox.com')]");
  7958. }
  7959. if (GM_getValue("Check_box_dot_net_links", false))
  7960. {
  7961. addFileHost(
  7962. "box\.net\/\\w+",
  7963. 'download-file-btn|id="download_button',
  7964. 'BIyMin.png| <div class="error_message',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'box.net')]");
  7968. }
  7969. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7970. {
  7971. addFileHost(
  7972. "filedropper\.com\/\\w+",
  7973. 'background:#ddd;|width:985px; ',
  7974. 'background-color:#FFFFFF;|margin-left: -400px;',
  7975. 'optional--',
  7976. 'optional2--',
  7977. "//a[contains(@href,'filedropper.com')]");
  7978. }
  7979. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7980. {
  7981. addFileHost(
  7982. "tropicshare\\.com\/files\/\\d+",
  7983. 'MB</span>|GB</span>|KB</span>',
  7984. '>FNF<|size: </span>',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'tropicshare.com')]");
  7988. }
  7989. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7990. {
  7991. addFileHost(
  7992. "worldbytez\.com",
  7993. '<div class="download_type">|method_free',
  7994. '<div style="width:500px;text-align:left;">',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'worldbytez.com')]",
  7998. true);
  7999. }
  8000. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8001. {
  8002. addFileHost(
  8003. "freefilehosting\.net\/\\w+",
  8004. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8005. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8006. 'optional--',
  8007. 'optional2--',
  8008. "//a[contains(@href,'freefilehosting.net')]");
  8009. }
  8010. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8011. {
  8012. addFileHost(
  8013. "ziddu\.com\/\\w+",
  8014. 'downloads.ziddu.com|downloadfilelinkicon',
  8015. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8016. 'optional--',
  8017. 'optional2--',
  8018. "//a[contains(@href,'ziddu.com')]");
  8019. }
  8020. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8021. {
  8022. addFileHost(
  8023. "exclusiveloader\.com\/\\w+",
  8024. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8025. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8026. 'optional--',
  8027. 'optional2--',
  8028. "//a[contains(@href,'exclusiveloader.com')]");
  8029. }
  8030. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8031. {
  8032. addFileHost(
  8033. "sharerapid\.cz\/\\w+",
  8034. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8035. 'error_div">|404 - Not Found',
  8036. 'optional--',
  8037. 'optional2--',
  8038. "//a[contains(@href,'sharerapid.cz')]");
  8039. }
  8040. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8041. {
  8042. addFileHost(
  8043. "sdilej\.cz\/\\w+",
  8044. 'class="page-download"',
  8045. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8046. 'optional--',
  8047. 'optional2--',
  8048. "//a[contains(@href,'sdilej.cz')]");
  8049. }
  8050. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8051. {
  8052. addFileHost(
  8053. "lafiles\.com\/\\w+",
  8054. '<div id="pay_modes">',
  8055. '<b class="err"></b>',
  8056. 'optional--',
  8057. 'optional2--',
  8058. "//a[contains(@href,'lafiles.com')]");
  8059. }
  8060. if (GM_getValue("Check_acefile_dot_net_links", false))
  8061. {
  8062. addFileHost(
  8063. "acefile\.net\/\\w+",
  8064. 'align=right nowrap><b>',
  8065. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8066. 'optional--',
  8067. 'optional2--',
  8068. "//a[contains(@href,'acefile.net')]");
  8069. }
  8070. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8071. {
  8072. addFileHost(
  8073. "megarapid\.cz\/\\w+",
  8074. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8075. 'error_div">|404 - Not Found',
  8076. 'optional--',
  8077. 'optional2--',
  8078. "//a[contains(@href,'megarapid.cz')]");
  8079. }
  8080. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8081. {
  8082. addFileHost(
  8083. "yadi\.sk\/\\w+",
  8084. 'nb-button _nb-small-button',
  8085. 'error code|Nothing found',
  8086. 'optional--',
  8087. 'optional2--',
  8088. "//a[contains(@href,'yadi.sk')]");
  8089. }
  8090. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8091. {
  8092. addFileHost(
  8093. "hitfile\.net\/\\w+",
  8094. 'class="download-file',
  8095. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8096. 'optional--',
  8097. 'optional2--',
  8098. "//a[contains(@href,'hitfile.net')]");
  8099. }
  8100. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8101. {
  8102. addFileHost(
  8103. "up.top4top\.net\/\\w+",
  8104. 'start Downlod template',
  8105. 'start err template',
  8106. 'optional--',
  8107. 'optional2--',
  8108. "//a[contains(@href,'up.top4top.net')]");
  8109. }
  8110. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8111. {
  8112. addFileHost(
  8113. "filejoker\.net",
  8114. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8115. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8116. 'optional--',
  8117. 'id="download" class="premium-only">',
  8118. "//a[contains(@href,'filejoker.net')]");
  8119. }
  8120. if (GM_getValue("Check_free_dot_fr_links", false))
  8121. {
  8122. addFileHost(
  8123. "(?:dl.\\.|)free\\.fr",
  8124. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8125. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8126. 'optional--',
  8127. 'optional2--',
  8128. "//a[contains(@href,'dl.free.fr')]");
  8129. }
  8130. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8131. {
  8132. addFileHost(
  8133. "gboxes\.com\/\\w+",
  8134. 'You have requested|color="red">http://www.gboxes.com',
  8135. 'File Not Found|<div style="width:500px;text-align:left;">',
  8136. 'optional--',
  8137. 'optional2--',
  8138. "//a[contains(@href,'gboxes.com')]");
  8139. }
  8140. if (GM_getValue("Check_led_dot_wf_links", false))
  8141. {
  8142. addFileHost(
  8143. "led\.wf\/\\w+",
  8144. 'logo_0.png|downloads.gif"|verifycode',
  8145. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8146. 'optional--',
  8147. 'available only for Premium users',
  8148. "//a[contains(@href,'led.wf')]");
  8149. }
  8150. if (GM_getValue("Check_lan_dot_wf_links", false))
  8151. {
  8152. addFileHost(
  8153. "lan\.wf\/\\w+",
  8154. 'logo_0.png|downloads.gif"|verifycode',
  8155. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8156. 'optional--',
  8157. 'available only for Premium users',
  8158. "//a[contains(@href,'lan.wf')]");
  8159. }
  8160. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8161. {
  8162. addFileHost(
  8163. "adlink\.wf\/\\w+",
  8164. 'logo_0.png|downloads.gif"|verifycode',
  8165. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8166. 'optional--',
  8167. 'available only for Premium users',
  8168. "//a[contains(@href,'adlink.wf')]");
  8169. }
  8170. if (GM_getValue("Check_click_dot_tf_links", false))
  8171. {
  8172. addFileHost(
  8173. "click\.tf\/\\w+",
  8174. 'logo_0.png|downloads.gif"|verifycode',
  8175. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8176. 'optional--',
  8177. 'available only for Premium users',
  8178. "//a[contains(@href,'click.tf')]");
  8179. }
  8180. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8181. {
  8182. addFileHost(
  8183. "ssh\.tf\/\\w+",
  8184. 'logo_0.png|downloads.gif"|verifycode',
  8185. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8186. 'optional--',
  8187. 'available only for Premium users',
  8188. "//a[contains(@href,'ssh.tf')]");
  8189. }
  8190. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8191. {
  8192. addFileHost(
  8193. "ssh\.yt\/\\w+",
  8194. 'logo_0.png|downloads.gif"|verifycode',
  8195. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8196. 'optional--',
  8197. 'available only for Premium users',
  8198. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8199. }
  8200. if (GM_getValue("Check_yep_dot_pm_links", false))
  8201. {
  8202. addFileHost(
  8203. "yep\.pm\/\\w+",
  8204. 'logo_0.png|downloads.gif"|verifycode',
  8205. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8206. 'optional--',
  8207. 'available only for Premium users',
  8208. "//a[contains(@href,'yep.pm')]");
  8209. }
  8210. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8211. {
  8212. addFileHost(
  8213. "kyc\.pm\/\\w+",
  8214. 'logo_0.png|downloads.gif"|verifycode',
  8215. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8216. 'optional--',
  8217. 'available only for Premium users',
  8218. "//a[contains(@href,'kyc.pm')]");
  8219. }
  8220. if (GM_getValue("Check_brupload_dot_net_links", false))
  8221. {
  8222. addFileHost(
  8223. "brupload\.net\/\\w+",
  8224. 'Download Gratuito',
  8225. '<div style="width:500px;text-align:left;">',
  8226. 'optional--',
  8227. 'optional2--',
  8228. "//a[contains(@href,'brupload.net')]");
  8229. }
  8230. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8231. {
  8232. addFileHost(
  8233. "cloudzilla\.to\/\\w+",
  8234. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8235. 'File not found|/imgs/broken.png',
  8236. 'optional--',
  8237. 'optional2--',
  8238. "//a[contains(@href,'cloudzilla.to')]");
  8239. } */
  8240. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8241. {
  8242. addFileHost(
  8243. "clicknupload\.com\/\\w+",
  8244. 'name="method_free',
  8245. 'File Not Found',
  8246. 'optional--',
  8247. 'optional2--',
  8248. "//a[contains(@href,'clicknupload.com')]");
  8249. }
  8250. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8251. {
  8252. addFileHost(
  8253. "clicknupload\.me\/\\w+",
  8254. 'name="method_free',
  8255. 'File Not Found',
  8256. 'optional--',
  8257. 'optional2--',
  8258. "//a[contains(@href,'clicknupload.me')]");
  8259. }
  8260. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8261. {
  8262. addFileHost(
  8263. "clicknupload\.link\/\\w+",
  8264. 'name="method_free',
  8265. 'File Not Found',
  8266. 'optional--',
  8267. 'optional2--',
  8268. "//a[contains(@href,'clicknupload.link')]");
  8269. }
  8270. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8271. {
  8272. addFileHost(
  8273. "ex-load\.com\/\\w+",
  8274. 'name="method_free|<p>Download File:</p>',
  8275. 'Folder Not Found|File Not Found|Error 404',
  8276. 'optional--',
  8277. 'class="downprem wow bounceInLeft',
  8278. "//a[contains(@href,'ex-load.com')]");
  8279. }
  8280. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8281. {
  8282. addFileHost(
  8283. "hexupload\.com\/\\w+",
  8284. 'button" value="Free|type="submit" value=""',
  8285. 'File Not Found|<div style="width:500px;text-align:left;">',
  8286. 'optional--',
  8287. 'optional2--',
  8288. "//a[contains(@href,'hexupload.com')]");
  8289. }*/
  8290. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8291. {
  8292. addFileHost(
  8293. "wizupload\.com\/\\w+",
  8294. 'btn_download|class="downloadbtn"',
  8295. '>File Not Found<',
  8296. 'optional--',
  8297. 'optional2--',
  8298. "//a[contains(@href,'wizupload.com')]");
  8299. }
  8300. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8301. {
  8302. addFileHost(
  8303. "inclouddrive\.com\/\\w+",
  8304. 'initfreedownload',
  8305. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8306. 'optional--',
  8307. 'optional2--',
  8308. "//a[contains(@href,'inclouddrive.com')]");
  8309. }
  8310. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8311. {
  8312. addFileHost(
  8313. "radicalshare\.com\/\\w+",
  8314. 'value="download1|name="method_free"',
  8315. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8316. 'optional--',
  8317. 'optional2--',
  8318. "//a[contains(@href,'radicalshare.com')]");
  8319. }*/
  8320. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8321. {
  8322. addFileHost(
  8323. "sharemods\.com\/\\w+",
  8324. 'name="method_free"',
  8325. 'File Not Found<',
  8326. 'optional--',
  8327. 'optional2--',
  8328. "//a[contains(@href,'sharemods.com')]");
  8329. }
  8330. if (GM_getValue("Check_hostr_dot_co_links", false))
  8331. {
  8332. addFileHost(
  8333. "hostr\.co\/\\w+",
  8334. 'method="get"',
  8335. 'File not found<|error-page',
  8336. 'optional--',
  8337. 'optional2--',
  8338. "//a[contains(@href,'hostr.co')]");
  8339. }
  8340. if (GM_getValue("Check_filepi_dot_com_links", false))
  8341. {
  8342. addFileHost(
  8343. "filepi\.com\/\\w+",
  8344. 'id="button_start">',
  8345. 'File not found',
  8346. 'optional--',
  8347. 'optional2--',
  8348. "//a[contains(@href,'filepi.com')]");
  8349. }
  8350. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8351. {
  8352. addFileHost(
  8353. "tikfile\.com\/\\w+",
  8354. 'btn_download',
  8355. 'File Not Found|file was removed|Reason for deletion',
  8356. 'optional--',
  8357. 'optional2--',
  8358. "//a[contains(@href,'tikfile.com')]");
  8359. }
  8360. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8361. {
  8362. addFileHost(
  8363. "cloudsix\.me\/\\w+",
  8364. 'name="method_free"',
  8365. 'File Not Found|width:500px;text-align:left;">',
  8366. 'optional--',
  8367. 'optional2--',
  8368. "//a[contains(@href,'cloudsix.me')]");
  8369. }
  8370. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8371. {
  8372. addFileHost(
  8373. "neodrive\.co\/\\w+",
  8374. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8375. 'File not found|/imgs/broken.png',
  8376. 'optional--',
  8377. 'optional2--',
  8378. "//a[contains(@href,'neodrive.co')]");
  8379. } */
  8380. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8381. {
  8382. addFileHost(
  8383. "chayfile\.com\/\\w+",
  8384. 'name="method_free"',
  8385. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8386. 'optional--',
  8387. 'optional2--',
  8388. "//a[contains(@href,'chayfile.com')]");
  8389. }
  8390. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8391. {
  8392. addFileHost(
  8393. "xfileload\.com\/\\w+",
  8394. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8395. '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..|הקובץ שחיפשת לא נמצא.',
  8396. 'optional--',
  8397. 'optional2--',
  8398. "//a[contains(@href,'xfileload.com')]");
  8399. }*/
  8400. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8401. {
  8402. addFileHost(
  8403. "rockfile\.eu\/\\w+",
  8404. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8405. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8406. 'optional--',
  8407. 'optional2--',
  8408. "//a[contains(@href,'rockfile.eu')]",
  8409. true);
  8410. }
  8411. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8412. {
  8413. addFileHost(
  8414. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8415. 'i/icon/dll.png"|>Start download<br',
  8416. 'no longer available<|i/ino.png"',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8420. }
  8421. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8422. {
  8423. addFileHost(
  8424. "ozofiles\.com\/\\w+",
  8425. 'button" value="Free|name="method_free',
  8426. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8427. 'optional--',
  8428. 'optional2--',
  8429. "//a[contains(@href,'ozofiles.com')]");
  8430. }
  8431. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8432. {
  8433. addFileHost(
  8434. "userscloud\.com\/\\w+",
  8435. 'btn_download|class="label label-success">',
  8436. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'userscloud.com')]");
  8440. }
  8441. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8442. {
  8443. addFileHost(
  8444. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8445. 'class="button download',
  8446. 'internal server error',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8450. }
  8451. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8452. {
  8453. addFileHost(
  8454. "kb.simple-aja\.info\/\\w+",
  8455. 'class="button download',
  8456. 'internal server error|<p>404</p>',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'kb.simple')]");
  8460. }
  8461. if (GM_getValue("Check_faststore_dot_org_links", false))
  8462. {
  8463. addFileHost(
  8464. "faststore\.org\/\\w+",
  8465. 'name="method_free',
  8466. 'File Not Found',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'faststore.org')]");
  8470. }
  8471. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "prefiles\.com\/\\w+",
  8475. 'id="method_free',
  8476. 'File not Found',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'prefiles.com')]");
  8480. }
  8481. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8482. {
  8483. addFileHost(
  8484. "doraupload\.com\/\\w+",
  8485. 'btn_download|name="method_free',
  8486. 'class="error-code|Could Not Be Found',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'doraupload.com')]");
  8490. }
  8491. if (GM_getValue("Check_openload_dot_io_links", false))
  8492. {
  8493. addFileHost(
  8494. "openload\.io\/\\w+",
  8495. 'btn btn-primary|class="count">|secondsleftouter',
  8496. 'class="jumbotron">|We are sorry',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'openload.io')]");
  8500. }
  8501. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8502. {
  8503. addFileHost(
  8504. "zxcfiles\.com\/\\w+",
  8505. 'class="downloadbtn',
  8506. 'File Not Found',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'zxcfiles.com')]");
  8510. }
  8511. if (GM_getValue("Check_up07_dot_net_links", false))
  8512. {
  8513. addFileHost(
  8514. "up07\.net\/\\w+",
  8515. 'name="method_free',
  8516. 'File Not Found',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'up07.net')]");
  8520. }
  8521. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8522. {
  8523. addFileHost(
  8524. "fileupload\.pw\/\\w+",
  8525. 'value="Free"',
  8526. 'File Not Found',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'fileupload.pw')]");
  8530. }
  8531. if (GM_getValue("Check_4upld_dot_com_links", false))
  8532. {
  8533. addFileHost(
  8534. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8535. 'alt="Download Now"|content="Download file">|btn-free-element',
  8536. '<title>Error|content="error|File not found',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8540. }
  8541. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8542. {
  8543. addFileHost(
  8544. "(?:.swoopshare)\\.com\/\\w+",
  8545. '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',
  8546. '<input type="file" name="f"',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'swoopshare.com')]"
  8550. );
  8551. }
  8552. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8553. {
  8554. addFileHost(
  8555. "cloudshares\.net\/\\w+",
  8556. '"method_free|"Low Speed Download|submit" name="go',
  8557. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8558. 'optional--',
  8559. 'optional2--',
  8560. "//a[contains(@href,'cloudshares.net')]"
  8561. );
  8562. }
  8563. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8564. {
  8565. addFileHost(
  8566. "allmyvideos\.net\/\\w+",
  8567. 'Continue to Video',
  8568. 'File Not Found|class="err">Removed for',
  8569. 'optional--',
  8570. 'optional2--',
  8571. "//a[contains(@href,'allmyvideos.net')]"
  8572. );
  8573. } */
  8574. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8575. {
  8576. addFileHost(
  8577. "vodlocker\.com\/\\w+",
  8578. 'Proceed to video',
  8579. 'Not Found',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'vodlocker.com')]"
  8583. );
  8584. }
  8585. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8586. {
  8587. addFileHost(
  8588. "vidbull\.com\/\\w+",
  8589. 'Verifying Video Request',
  8590. 'File Not Found',
  8591. 'optional--',
  8592. 'optional2--',
  8593. "//a[contains(@href,'vidbull.com')]");
  8594. }
  8595. if (GM_getValue("Check_novamov_dot_com_links", false))
  8596. {
  8597. addFileHost(
  8598. "novamov\.com\/\\w+",
  8599. 'For version detection',
  8600. 'file no longer exists',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'novamov.com')]"
  8604. );
  8605. }
  8606. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8607. {
  8608. addFileHost(
  8609. "filehoot\.com\/\\w+",
  8610. 'Continue to watch',
  8611. 'File Not Found',
  8612. 'optional--',
  8613. 'optional2--',
  8614. "//a[contains(@href,'filehoot.com')]"
  8615. );
  8616. }
  8617. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8618. {
  8619. addFileHost(
  8620. "stagevu\.com\/\\w+",
  8621. 'Video Info',
  8622. 'No video with the provided',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'stagevu.com')]"
  8626. );
  8627. }
  8628. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8629. {
  8630. addFileHost(
  8631. "cloudtime\.to\/\\w+",
  8632. 'Download the video',
  8633. 'no longer exists',
  8634. 'optional--',
  8635. 'optional2--',
  8636. "//a[contains(@href,'cloudtime.to')]"
  8637. );
  8638. }
  8639. if (GM_getValue("Check_streamin_dot_to_links", false))
  8640. {
  8641. addFileHost(
  8642. "streamin\.to\/\\w+",
  8643. 'id="btn_download',
  8644. 'Not Found|Copyright Infringement|File Deleted',
  8645. 'optional--',
  8646. 'optional2--',
  8647. "//a[contains(@href,'streamin.to')]"
  8648. );
  8649. }
  8650. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8651. {
  8652. addFileHost(
  8653. "videoweed\.es\/\\w+",
  8654. 'version detection',
  8655. 'no longer exists',
  8656. 'optional--',
  8657. 'optional2--',
  8658. "//a[contains(@href,'videoweed.es')]"
  8659. );
  8660. }
  8661. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8662. {
  8663. addFileHost(
  8664. "nowvideo\.sx\/\\w+",
  8665. 'Download this video|value="submit">Continue',
  8666. 'no longer exists',
  8667. 'optional--',
  8668. 'optional2--',
  8669. "//a[contains(@href,'nowvideo.sx')]"
  8670. );
  8671. }
  8672. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8673. {
  8674. addFileHost(
  8675. "thevideo\.me\/\\w+",
  8676. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8677. 'File Not Found',
  8678. 'optional--',
  8679. 'optional2--',
  8680. "//a[contains(@href,'thevideo.me')]"
  8681. );
  8682. }
  8683. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8684. {
  8685. addFileHost(
  8686. "gorillavid\.in\/\\w+",
  8687. 'Wait 5 seconds',
  8688. 'File Not Found',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'gorillavid.in')]"
  8692. );
  8693. }
  8694. if (GM_getValue("Check_thefile_dot_me_links", false))
  8695. {
  8696. addFileHost(
  8697. "thefile\.me\/\\w+",
  8698. 'Choose free or',
  8699. '',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'thefile.me')]"
  8703. );
  8704. }
  8705. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8706. {
  8707. addFileHost(
  8708. "vidzi\.tv\/\\w+",
  8709. 'video-embed-modal row',
  8710. 'File Not Found|file was deleted',
  8711. 'optional--',
  8712. 'optional2--',
  8713. "//a[contains(@href,'vidzi.tv')]"
  8714. );
  8715. }
  8716. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8717. {
  8718. addFileHost(
  8719. "filenuke\.com\/\\w+",
  8720. 'Download File',
  8721. 'Earn with us',
  8722. 'optional--',
  8723. 'optional2--',
  8724. "//a[contains(@href,'filenuke.com')]"
  8725. );
  8726. }
  8727. if (GM_getValue("Check_vidto_dot_me_links", false))
  8728. {
  8729. addFileHost(
  8730. "vidto\.me\/\\w+",
  8731. 'Proceed to video',
  8732. 'Not Found',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'vidto.me')]"
  8736. );
  8737. }
  8738. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8739. {
  8740. addFileHost(
  8741. "vidspot\.net\/\\w+",
  8742. 'Duration|method_free',
  8743. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'vidspot.net')]"
  8747. );
  8748. } */
  8749. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8750. {
  8751. addFileHost(
  8752. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8753. 'Download File',
  8754. 'File Not Found',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8758. );
  8759. }
  8760. if (GM_getValue("Check_movpod_dot_in_links", false))
  8761. {
  8762. addFileHost(
  8763. "movpod\.in\/\\w+",
  8764. 'Continue',
  8765. 'File Not Found',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'movpod.in')]"
  8769. );
  8770. }
  8771. if (GM_getValue("Check_down4files_dot_com_links", false))
  8772. {
  8773. addFileHost(
  8774. "down4files\.com\/\\w+",
  8775. 'down_table.png',
  8776. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'down4files.com')]"
  8780. );
  8781. }
  8782. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8783. {
  8784. addFileHost(
  8785. "storefiles\.co\/\\w+",
  8786. 'btn_download',
  8787. 'No such file|>Error<|mqmaintitle">',
  8788. 'optional--',
  8789. 'optional2--',
  8790. "//a[contains(@href,'storefiles.co')]"
  8791. );
  8792. }*/
  8793. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8794. {
  8795. addFileHost(
  8796. "filehost\.pw\/\\w+",
  8797. 'name="method_free',
  8798. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8799. 'optional--',
  8800. 'optional2--',
  8801. "//a[contains(@href,'filehost.pw')]"
  8802. );
  8803. }
  8804. if (GM_getValue("Check_uplea_dot_com_links", false))
  8805. {
  8806. addFileHost(
  8807. "uplea\.com\/\\w+",
  8808. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8809. 'expired link|ou est invalide',
  8810. 'optional--',
  8811. 'optional2--',
  8812. "//a[contains(@href,'uplea.com/dl')]",
  8813. true);
  8814. }
  8815. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8816. {
  8817. addFileHost(
  8818. "toutbox\.fr\/\\w+",
  8819. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8820. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8821. 'Serviço temporariamente indisponível',
  8822. 'optional2--',
  8823. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8824. );
  8825. }*/
  8826. if (GM_getValue("Check_openload_dot_co_links", false))
  8827. {
  8828. addFileHost(
  8829. "openload\.co\/\\w+",
  8830. 'id="downloadTimer">|button dlbutton',
  8831. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8832. 'optional--',
  8833. 'optional2--',
  8834. "//a[contains(@href,'openload.co')]"
  8835. );
  8836. }
  8837. if (GM_getValue("Check_oload_dot_tv_links", false))
  8838. {
  8839. addFileHost(
  8840. "oload\.tv\/\\w+",
  8841. 'id="downloadTimer">|button dlbutton',
  8842. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8843. 'optional--',
  8844. 'optional2--',
  8845. "//a[contains(@href,'oload.tv')]"
  8846. );
  8847. }
  8848. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8849. {
  8850. addFileHost(
  8851. "lolabits\.es\/\\w+",
  8852. 'Descargar:',
  8853. '<title>Archivos de usuario',
  8854. 'Service Unavailable',
  8855. 'optional2--',
  8856. "//a[contains(@href,'lolabits.es')]"
  8857. );
  8858. }*/
  8859. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8860. {
  8861. addFileHost(
  8862. "alfafile\.net\/\\w+",
  8863. 'id="slow_download_btn',
  8864. 'class="error-box">',
  8865. 'optional--',
  8866. 'optional2--',
  8867. "//a[contains(@href,'alfafile.net')]"
  8868. );
  8869. }
  8870. if (GM_getValue("Check_multiup_dot_org_links", false))
  8871. {
  8872. addFileHost(
  8873. "multiup\\.(?:org|eu)\/\\w+",
  8874. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8875. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8876. 'optional--',
  8877. 'optional2--',
  8878. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8879. );
  8880. }
  8881. if (GM_getValue("Check_file_dot_al_links", false))
  8882. {
  8883. addFileHost(
  8884. "file\\.al",
  8885. 'method_free',
  8886. 'style="width:500px;text-align:left;">',
  8887. 'optional--',
  8888. 'optional2--',
  8889. "//a[contains(@href,'file.al')]"
  8890. );
  8891. }
  8892. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8893. {
  8894. addFileHost(
  8895. "devilshare\.net\/\\w+",
  8896. '<div class="large-12" id="download">',
  8897. '(Link: 0 Invalid)|File Not Found',
  8898. 'optional--',
  8899. 'optional2--',
  8900. "//a[contains(@href,'devilshare.net')]"
  8901. );
  8902. }
  8903. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8904. {
  8905. addFileHost(
  8906. "dailyuploads\.net\/\\w+",
  8907. 'id="downloadBtnClickOrignal',
  8908. '<div style="width:500px;text-align:left;">',
  8909. 'optional--',
  8910. 'optional2--',
  8911. "//a[contains(@href,'dailyuploads.net')]"
  8912. );
  8913. }
  8914. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8915. {
  8916. addFileHost(
  8917. "datoteke\.com\/\\w+",
  8918. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8919. '&nbsp;File has been removed',
  8920. 'optional--',
  8921. '<title>Error - Datoteke',
  8922. "//a[contains(@href,'datoteke.com')]"
  8923. );
  8924. }
  8925. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8926. {
  8927. addFileHost(
  8928. "sharehost\.eu\/\\w+",
  8929. '/?v=download_free&',
  8930. 'Errors occured|Wystąpiły błędy',
  8931. 'optional--',
  8932. 'optional2--',
  8933. "//a[contains(@href,'sharehost.eu')]"
  8934. );
  8935. }
  8936. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8937. {
  8938. addFileHost(
  8939. "pornfile\.cz",
  8940. 'Stáhnout soubor|Stáhnout pomalu',
  8941. 'Soubor byl smazán|Stránka nenalezena',
  8942. 'optional--',
  8943. 'optional2--',
  8944. "//a[contains(@href,'pornfile.cz')]"
  8945. );
  8946. }
  8947. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8948. {
  8949. addFileHost(
  8950. "pornoid\.cz\/\\w+",
  8951. 'class="btn btn-large btn-download',
  8952. 'Soubor byl smazán',
  8953. 'optional--',
  8954. 'optional2--',
  8955. "//a[contains(@href,'pornoid.cz')]"
  8956. );
  8957. }
  8958. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8959. {
  8960. addFileHost(
  8961. "file-share\.top\/\\w+",
  8962. 'btn-success btn-lg download',
  8963. 'Stránka neexistuje|404 Not Found',
  8964. 'optional--',
  8965. 'optional2--',
  8966. "//a[contains(@href,'file-share.top')]"
  8967. );
  8968. }
  8969. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8970. {
  8971. addFileHost(
  8972. "bitster\.cz\/",
  8973. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8974. 'section" content=""',
  8975. 'optional--',
  8976. 'optional2--',
  8977. "//a[contains(@href,'bitster.cz')]"
  8978. );
  8979. }
  8980. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8981. {
  8982. addFileHost(
  8983. "rapidu\.net\/\\w+",
  8984. 'onclick="downloadFreeFile',
  8985. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8986. 'optional--',
  8987. 'optional2--',
  8988. "//a[contains(@href,'rapidu.net')]"
  8989. );
  8990. }
  8991. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8992. {
  8993. addFileHost(
  8994. "dinoshare\.cz\/\\w+",
  8995. 'class="download-button"',
  8996. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8997. 'optional--',
  8998. 'optional2--',
  8999. "//a[contains(@href,'dinoshare.cz')]"
  9000. );
  9001. }
  9002. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9003. {
  9004. addFileHost(
  9005. "bytewhale\.com\/\\w+",
  9006. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9007. 'var rawest = "0 MB|Copyrights Claim</div>',
  9008. 'optional--',
  9009. 'This file is available for premium members only',
  9010. "//a[contains(@href,'bytewhale.com')]"
  9011. );
  9012. }
  9013. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9014. {
  9015. addFileHost(
  9016. "rapidrar\.com\/\\w+",
  9017. 'value="Free Download',
  9018. '<div style="width:500px;text-align:left;">',
  9019. 'optional--',
  9020. 'optional--',
  9021. "//a[contains(@href,'rapidrar.com')]"
  9022. );
  9023. }
  9024. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9025. {
  9026. addFileHost(
  9027. "filesupload\.org\/\\w+",
  9028. '<a href="/download-or-watch/',
  9029. 'File not found',
  9030. 'optional--',
  9031. 'optional--',
  9032. "//a[contains(@href,'filesupload.org')]"
  9033. );
  9034. }
  9035. if (GM_getValue("Check_filecad_dot_com_links", false))
  9036. {
  9037. addFileHost(
  9038. "filecad\.com\/\\w+",
  9039. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9040. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9041. 'optional--',
  9042. 'optional--',
  9043. "//a[contains(@href,'filecad.com')]"
  9044. );
  9045. }
  9046. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9047. {
  9048. addFileHost(
  9049. "file.up09\.com\/\\w+",
  9050. 'name="method_free',
  9051. 'style="width:500px;text-align:left;">',
  9052. 'optional--',
  9053. 'optional--',
  9054. "//a[contains(@href,'file.up09.com')]"
  9055. );
  9056. }
  9057. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9058. {
  9059. addFileHost(
  9060. "lunaticfiles\.com\/\\w+",
  9061. 'name="method_free"',
  9062. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9063. 'optional--',
  9064. 'optional--',
  9065. "//a[contains(@href,'lunaticfiles.com')]"
  9066. );
  9067. }
  9068. if (GM_getValue("Check_upload_dot_af_links", false))
  9069. {
  9070. addFileHost(
  9071. "upload\.af\/\\w+",
  9072. 'id="method_free"',
  9073. '<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|ファイルが見つかりません',
  9074. 'optional--',
  9075. 'optional--',
  9076. "//a[contains(@href,'upload.af')]"
  9077. );
  9078. }
  9079. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9080. {
  9081. addFileHost(
  9082. "filedwon\.info\/\\w+",
  9083. 'name="method_free"',
  9084. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9085. 'optional--',
  9086. 'optional--',
  9087. "//a[contains(@href,'filedwon.info')]"
  9088. );
  9089. }
  9090. if (GM_getValue("Check_uplod_dot_it_links", false))
  9091. {
  9092. addFileHost(
  9093. "uplod\.it\/\\w+",
  9094. 'value="download2">|name="method_free',
  9095. '<Title>Download </Title>',
  9096. 'optional--',
  9097. 'optional--',
  9098. "//a[contains(@href,'uplod.it')]"
  9099. );
  9100. }
  9101. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9102. {
  9103. addFileHost(
  9104. "abelhas\.pt\/\\w+",
  9105. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9106. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9107. 'optional--',
  9108. 'optional--',
  9109. "//a[contains(@href,'abelhas.pt')]"
  9110. );
  9111. } */
  9112. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9113. {
  9114. addFileHost(
  9115. "disk.yandex\.com\/\\w+",
  9116. 'nb-button _nb-small-button',
  9117. 'error code|Nothing found',
  9118. 'optional--',
  9119. 'optional2--',
  9120. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9121. }
  9122. if (GM_getValue("Check_filespace_dot_com_links", false))
  9123. {
  9124. addFileHost(
  9125. "filespace\.com\/\\w+",
  9126. '"method_free',
  9127. '<div style="text-align:left;"><ul>|>File not found.<',
  9128. 'optional1--',
  9129. 'optional2--',
  9130. "//a[contains(@href,'filespace.com')]");
  9131. }
  9132. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9133. {
  9134. addFileHost(
  9135. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9136. 'name="downloadFile|id="downloadFile|value="Wait',
  9137. '<title>File not found</title>|>Error:<',
  9138. 'optional1--',
  9139. 'optional2--',
  9140. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9141. }
  9142. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9143. {
  9144. addFileHost(
  9145. "ncrypt\.in\/\\w+",
  9146. 'Sicherheitsabfrage:|Securitycheck:',
  9147. 'does not exist|existiert nicht',
  9148. 'optional1--',
  9149. 'optional2--',
  9150. "//a[contains(@href,'ncrypt.in')]");
  9151. }
  9152. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9153. {
  9154. addFileHost(
  9155. "jeodrive\.com\/\\w+",
  9156. 'btn-lg regular',
  9157. 'Not found',
  9158. 'optional1--',
  9159. 'optional2--',
  9160. "//a[contains(@href,'jeodrive.com')]");
  9161. }
  9162. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9163. {
  9164. addFileHost(
  9165. "myfiles\.onl\/\\w+",
  9166. 'value="Free"',
  9167. '<div style="width:500px;text-align:left;">',
  9168. 'optional1--',
  9169. 'optional2--',
  9170. "//a[contains(@href,'myfiles.onl')]");
  9171. }
  9172. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9173. {
  9174. addFileHost(
  9175. "uploadserv\.com\/\\w+",
  9176. 'color="red">http://uploadserv.com/',
  9177. 'content="Download File ">|<title>Download </title>',
  9178. 'optional1--',
  9179. 'optional2--',
  9180. "//a[contains(@href,'uploadserv.com')]");
  9181. }
  9182. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9183. {
  9184. addFileHost(
  9185. "keepshare\.net\/\\w+",
  9186. 'method_free',
  9187. '<div style="width:500px;text-align:left;">',
  9188. 'optional1--',
  9189. 'optional2--',
  9190. "//a[contains(@href,'keepshare.net')]");
  9191. }
  9192. if (GM_getValue("Check_oload_dot_net_links", false))
  9193. {
  9194. addFileHost(
  9195. "oload\.net\/\\w+",
  9196. '<font color="red">http://oload.net',
  9197. 'class="page-ttl">',
  9198. 'optional1--',
  9199. 'optional2--',
  9200. "//a[contains(@href,'oload.net')]");
  9201. }
  9202. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9203. {
  9204. addFileHost(
  9205. "filescdn\.com\/\\w+",
  9206. 'btn_download',
  9207. 'icon-warning text-danger|no longer available',
  9208. 'optional1--',
  9209. 'optional2--',
  9210. "//a[contains(@href,'filescdn.com')]");
  9211. }
  9212. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9213. {
  9214. addFileHost(
  9215. "bankupload\.com\/\\w+",
  9216. 'id="btn_download"|1.0 GB',
  9217. '<div style="width:500px;text-align:left;">',
  9218. 'optional1--',
  9219. ' GB',
  9220. "//a[contains(@href,'bankupload.com')]");
  9221. }
  9222. if (GM_getValue("Check_katfile_dot_com_links", false))
  9223. {
  9224. addFileHost(
  9225. "katfile\.com\/\\w+",
  9226. 'KB| MB|1.0 GB|id="method_free',
  9227. 'images/file_not_found.png"',
  9228. 'optional1--',
  9229. ' GB',
  9230. "//a[contains(@href,'katfile.com')]");
  9231. }
  9232. if (GM_getValue("Check_filesin_dot_space_links", false))
  9233. {
  9234. addFileHost(
  9235. "filesin\.space\/\\w+",
  9236. 'id="btn_download"',
  9237. 'class="err">',
  9238. 'optional1--',
  9239. 'optional2',
  9240. "//a[contains(@href,'filesin.space')]");
  9241. }
  9242. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9243. {
  9244. addFileHost(
  9245. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9246. 'download.php',
  9247. 'notfound|upload\\-suborov\\.php"',
  9248. 'optional--',
  9249. 'optional2--',
  9250. "//a[contains(@href,'upnito.sk')]"
  9251. );
  9252. }
  9253. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9254. {
  9255. addFileHost(
  9256. "alltu\.eu\/\\w+",
  9257. 'download-timer',
  9258. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9259. 'optional1--',
  9260. 'optional2',
  9261. "//a[contains(@href,'alltu.eu')]");
  9262. }
  9263. if (GM_getValue("Check_novafile_dot_com_links", false))
  9264. {
  9265. addFileHost(
  9266. "novafile\.com\/\\w+",
  9267. 'id="regular-download',
  9268. 'id="file-not-found',
  9269. 'optional1--',
  9270. 'id="premium-only',
  9271. "//a[contains(@href,'novafile.com')]");
  9272. }
  9273. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9274. {
  9275. addFileHost(
  9276. "uploadgig\.com",
  9277. 'btn-default',
  9278. 'File not found',
  9279. 'optional1--',
  9280. 'optional2',
  9281. "//a[contains(@href,'uploadgig.com')]");
  9282. }
  9283. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9284. {
  9285. addFileHost(
  9286. "mexashare\.com\/\\w+",
  9287. 'method_free',
  9288. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9289. 'optional1--',
  9290. 'optional2',
  9291. "//a[contains(@href,'mexashare.com')]");
  9292. }
  9293. if (GM_getValue("Check_daofile_dot_com_links", false))
  9294. {
  9295. addFileHost(
  9296. "daofile\.com\/\\w+",
  9297. 'class="captcha_code',
  9298. 'style="width:500px;text-align:left;">',
  9299. 'optional1--',
  9300. 'optional2',
  9301. "//a[contains(@href,'daofile.com')]");
  9302. }
  9303. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9304. {
  9305. addFileHost(
  9306. "imagenetz\.de\/\\w+",
  9307. 'id="download',
  9308. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9309. 'optional1--',
  9310. 'optional2',
  9311. "//a[contains(@href,'imagenetz.de')]");
  9312. }
  9313. if (GM_getValue("Check_uloz_dot_to_links", false))
  9314. {
  9315. addFileHost(
  9316. "uloz\.to",
  9317. 'limitedDownloadButton|Stáhnout pomalu',
  9318. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9319. 'optional1--',
  9320. 'optional2',
  9321. "//a[contains(@href,'uloz.to')]");
  9322. }
  9323. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9324. {
  9325. addFileHost(
  9326. "ulozto.net",
  9327. 'limitedDownloadButton|Stáhnout pomalu',
  9328. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9329. 'optional1--',
  9330. 'optional2',
  9331. "//a[contains(@href,'ulozto.net')]");
  9332. }
  9333. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9334. {
  9335. addFileHost(
  9336. "ulozto\.sk",
  9337. 'limitedDownloadButton|Stáhnout pomalu',
  9338. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9339. 'optional1--',
  9340. 'optional2',
  9341. "//a[contains(@href,'ulozto.sk')]");
  9342. }
  9343. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9344. {
  9345. addFileHost(
  9346. "ulozto\.cz",
  9347. 'limitedDownloadButton|Stáhnout pomalu',
  9348. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9349. 'optional1--',
  9350. 'optional2',
  9351. "//a[contains(@href,'ulozto.cz')]");
  9352. }
  9353. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9354. {
  9355. addFileHost(
  9356. "subyshare\.com\/\\w+",
  9357. 'id="method_free',
  9358. 'file was removed|class="err">|1s">404',
  9359. 'optional1--',
  9360. 'optional2',
  9361. "//a[contains(@href,'subyshare.com')]",
  9362. true);
  9363. }
  9364. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9365. {
  9366. addFileHost(
  9367. "fileshareup\.com\/\\w+",
  9368. 'download-timer|btn-free-element|content="Download file',
  9369. 'content="Error"|content="error|heading-1">Error<',
  9370. 'optional1--',
  9371. 'optional2',
  9372. "//a[contains(@href,'fileshareup.com')]");
  9373. }
  9374. if (GM_getValue("Check_mystore_dot_to_links", false))
  9375. {
  9376. addFileHost(
  9377. "mystore\.to\/\\w+",
  9378. 'Download File',
  9379. 'file not found',
  9380. 'optional1--',
  9381. 'optional2',
  9382. "//a[contains(@href,'mystore.to/dl')]");
  9383. }
  9384. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9385. {
  9386. addFileHost(
  9387. "usercloud\.net\/\\w+",
  9388. 'content="download|var seconds = 60|type="password',
  9389. 'content="error|report_file.html">',
  9390. 'optional1--',
  9391. 'optional2',
  9392. "//a[contains(@href,'usercloud.net')]");
  9393. }
  9394. if (GM_getValue("Check_workupload_dot_com_links", false))
  9395. {
  9396. addFileHost(
  9397. "workupload\.com\/\\w+",
  9398. 'content="Download|id="download"',
  9399. 'File not found|img/not-found.jpg|Error message',
  9400. 'optional1--',
  9401. 'optional2',
  9402. "//a[contains(@href,'workupload.com')]");
  9403. }
  9404. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9405. {
  9406. addFileHost(
  9407. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9408. 'class="download">',
  9409. 'class="error center',
  9410. 'optional1--',
  9411. 'optional2',
  9412. "//a[contains(@href,'storageserver.co.uk')]");
  9413. }
  9414. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9415. {
  9416. addFileHost(
  9417. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9418. '"kind": "file"',
  9419. '"error": "not_exists"',
  9420. 'optional1--',
  9421. 'optional2',
  9422. "//a[contains(@href,'cloud.mail.ru')]");
  9423. }
  9424. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9425. {
  9426. addFileHost(
  9427. "bdupload\.info\/\\w+",
  9428. 'class="downloadbtn">|id="downloadbtn"',
  9429. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9430. 'optional1--',
  9431. 'optional2',
  9432. "//a[contains(@href,'bdupload.info')]");
  9433. }
  9434. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9435. {
  9436. addFileHost(
  9437. "wayupload\.com\/\\w+",
  9438. 'class="nopay-btn gray"',
  9439. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9440. 'optional1--',
  9441. 'optional2',
  9442. "//a[contains(@href,'wayupload.com')]");
  9443. }
  9444. if (GM_getValue("Check_exbit_dot_net_links", false))
  9445. {
  9446. addFileHost(
  9447. "exbit\.net\/\\w+",
  9448. 'class="nopay-btn|href="/download/free/',
  9449. 'File not found',
  9450. 'optional1--',
  9451. 'optional2',
  9452. "//a[contains(@href,'exbit.net')]");
  9453. }
  9454. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9455. {
  9456. addFileHost(
  9457. "uploadocean\.com\/\\w+",
  9458. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9459. 'deleted.png"',
  9460. 'optional1--',
  9461. 'optional2',
  9462. "//a[contains(@href,'uploadocean.com')]");
  9463. }
  9464. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9465. {
  9466. addFileHost(
  9467. "fileflares\.com\/\\w+",
  9468. 'id="downloadbtn"',
  9469. '<div style="width:500px;text-align:left;">',
  9470. 'optional1--',
  9471. 'optional2',
  9472. "//a[contains(@href,'fileflares.com')]");
  9473. }
  9474. if (GM_getValue("Check_erafile_dot_com_links", false))
  9475. {
  9476. addFileHost(
  9477. "erafile\.com\/\\w+",
  9478. 'id="method_free',
  9479. '<div style="width:500px;text-align:left;">',
  9480. 'optional1--',
  9481. 'optional2',
  9482. "//a[contains(@href,'erafile.com')]");
  9483. }
  9484. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9485. {
  9486. addFileHost(
  9487. "suprafiles\.net\/\\w+",
  9488. 'name="method_free"',
  9489. 'File Not Found|style="width:1000px; text-align: left;">',
  9490. 'optional1--',
  9491. 'optional2',
  9492. "//a[contains(@href,'suprafiles.net')]");
  9493. }
  9494. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9495. {
  9496. addFileHost(
  9497. "upfiles\.net\/\\w+",
  9498. 'id="recaptcha2"|snail.png"',
  9499. 'Ten plik został usunięty.|style="margin-top:50px',
  9500. 'optional1--',
  9501. 'optional2',
  9502. "//a[contains(@href,'upfiles.net/f/')]");
  9503. }
  9504. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9505. {
  9506. addFileHost(
  9507. "dailyfiles\.net\/\\w+",
  9508. 'onclick="dwn',
  9509. '<title>Error',
  9510. 'optional1--',
  9511. 'optional2',
  9512. "//a[contains(@href,'dailyfiles.net')]");
  9513. }
  9514. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9515. {
  9516. addFileHost(
  9517. "littlebyte\.net\/\\w+",
  9518. '>Free download<|>Скачать медленно<',
  9519. 'images/dmca.png">',
  9520. 'optional1--',
  9521. 'optional2',
  9522. "//a[contains(@href,'littlebyte.net')]");
  9523. }
  9524. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9525. {
  9526. addFileHost(
  9527. "black\\-label\\.pro\/\\w+",
  9528. 'slow_download_button.png"|td><td title="',
  9529. 'STILL NEED CODE FOR DEAD LINKS',
  9530. 'optional1--',
  9531. 'optional2',
  9532. "//a[contains(@href,'black-label.pro')]");
  9533. } */
  9534. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9535. {
  9536. addFileHost(
  9537. "temp\\-share\\.com\/\\w+",
  9538. 'publickey',
  9539. 'STILL NEED CODE FOR DEAD LINKS',
  9540. 'optional1--',
  9541. 'optional2',
  9542. "//a[contains(@href,'temp-share.com')]");
  9543. }
  9544. if (GM_getValue("Check_filesha_dot_com_links", false))
  9545. {
  9546. addFileHost(
  9547. "filesha\.com\/\\w+",
  9548. '>Download Free<',
  9549. 'STILL NEED CODE FOR DEAD LINKS',
  9550. 'optional1--',
  9551. 'optional2',
  9552. "//a[contains(@href,'filesha.com')]");
  9553. }
  9554. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9555. {
  9556. addFileHost(
  9557. "ausfile\.com\/\\w+",
  9558. 'class="slow-download',
  9559. 'File Not Found',
  9560. 'optional1--',
  9561. 'optional2',
  9562. "//a[contains(@href,'ausfile.com')]");
  9563. }
  9564. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9565. {
  9566. addFileHost(
  9567. "upfile\.mobi\/\\w+",
  9568. 'class="download_button"',
  9569. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9570. 'optional1--',
  9571. 'optional2',
  9572. "//a[contains(@href,'upfile.mobi')]");
  9573. }
  9574. if (GM_getValue("Check_share_dot_az_links", false))
  9575. {
  9576. addFileHost(
  9577. "share\.az\/\\w+",
  9578. 'id="btn_download"',
  9579. 'File Not Found|We are sorry',
  9580. 'optional1--',
  9581. 'optional2',
  9582. "//a[contains(@href,'share.az')]");
  9583. }
  9584. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9585. {
  9586. addFileHost(
  9587. "partage-facile\.com",
  9588. 'class="title"><strong>',
  9589. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9590. 'optional--',
  9591. 'optional2--',
  9592. "//a[contains(@href,'partage-facile.com')]");
  9593. }
  9594. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9595. {
  9596. addFileHost(
  9597. "uploadify\.net\/\\w+",
  9598. 'loading_small.gif"',
  9599. '<title>Error -',
  9600. 'optional1--',
  9601. 'optional2',
  9602. "//a[contains(@href,'uploadify.net')]");
  9603. }
  9604. if (GM_getValue("Check_uploads_dot_to_links", false))
  9605. {
  9606. addFileHost(
  9607. "uploads\.to\/\\w+",
  9608. 'class="g-recaptcha',
  9609. 'File Not Found',
  9610. 'optional1--',
  9611. 'optional2',
  9612. "//a[contains(@href,'uploads.to')]");
  9613. }
  9614.  
  9615. }
  9616. //start here
  9617.  
  9618. //hosts with direct download, so they must be requested for headers only
  9619. function initFileHostsHeadersOnly()
  9620. {
  9621. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9622. {
  9623. var host = new Array(5);
  9624. host[0] = linkRegex;
  9625. host[1] = isAliveRegex;
  9626. host[2] = isDeadRegex;
  9627. host[4] = ispremRegex;
  9628. host[3] = xpathEx;
  9629. http_file_hosts_headers_only.push(host);
  9630. }
  9631. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9632. {
  9633. addFileHostHeadersOnly(
  9634. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9635. 'Connection: Keep-Alive',
  9636. 'Content-Length: 3857',
  9637. 'optional2',
  9638. "//a[contains(@href,'uloziste.com')]"
  9639. )
  9640. }
  9641. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9642. {
  9643. addFileHostHeadersOnly(
  9644. "filescdn\.com\/\\w+",
  9645. 'Connection: keep-alive',
  9646. 'Company</Title>',
  9647. 'optional2',
  9648. "//a[contains(@href,'filescdn.com')]"
  9649. )
  9650. } */
  9651. if (GM_getValue("Check_adrive_dot_com_links", false))
  9652. {
  9653. addFileHostHeadersOnly(
  9654. "adrive\\.com\/public\/\\w+",
  9655. 'Connection: keep-alive',
  9656. 'orig_ref=deleted',
  9657. 'optional2',
  9658. "//a[contains(@href,'adrive.com')]"
  9659. )
  9660. }
  9661. }
  9662.  
  9663. //CustomRules
  9664. //functions add...Host copied here
  9665. function addObsoleteHost(linkRegex, xpathEx)
  9666. {
  9667. var host = new Array(2);
  9668. host[0] = linkRegex;
  9669. host[1] = xpathEx;
  9670. http_file_hosts_obsolete.push(host);
  9671. }
  9672. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9673. {
  9674. var host = new Array(7);
  9675. host[0] = linkRegex;
  9676. host[1] = isAliveRegex;
  9677. host[2] = isDeadRegex;
  9678. host[3] = isUnavaRegex;
  9679. host[4] = xpathEx;
  9680. tryLoop ? host[5] = true : host[5] = false;
  9681. host[6] = ispremRegex;
  9682. http_file_hosts.push(host);
  9683. }
  9684. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9685. {
  9686. var host = new Array(5);
  9687. host[0] = linkRegex;
  9688. host[1] = isAliveRegex;
  9689. host[2] = isDeadRegex;
  9690. host[3] = xpathEx;
  9691. host[4] = ispremRegex;
  9692. http_file_hosts_headers_only.push(host);
  9693. }
  9694. //takes a fully built rules array and adds the rules to WARLC
  9695. function applyCustomRules(customRules)
  9696. {
  9697. if (!customRules) return;
  9698. var rules, r, i;
  9699. rules = customRules.rules;
  9700. for (i = 0 ; i < rules.length ; i++)
  9701. {
  9702. r = rules[i];
  9703. if (r.enabled)
  9704. {
  9705. switch (r.type)
  9706. {
  9707. case 'single':
  9708. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9709. break;
  9710. case 'headers':
  9711. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9712. break;
  9713. case 'obsolete':
  9714. addObsoleteHost(r.urlregex, r.xpath)
  9715. break;
  9716. }
  9717. }
  9718. }
  9719. }
  9720.  
  9721.  
  9722. function initFileHostsCustom()
  9723. {
  9724. if (Custom_rules && Custom_rules_text)
  9725. {
  9726. var msg = '';
  9727. if (newVersion)
  9728. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9729. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9730. msg = '60 or more days have passed since this notification.\n\n';
  9731. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9732. {
  9733. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9734. msg +=
  9735. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9736. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9737. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9738. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9739. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9740. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9741. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9742. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9743. setTimeout(function(){alert(msg)},0);
  9744. }
  9745. var customRules = parseCustomRules(Custom_rules_text);
  9746. if (customRules.warning || customRules.error)
  9747. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9748. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9749. JSON.stringify(customRules.info, null, ' '));
  9750. applyCustomRules(customRules);
  9751. }
  9752. }
  9753. //end of CustomRules processing
  9754.  
  9755.  
  9756.  
  9757. } //end of function start
  9758.  
  9759.  
  9760.  
  9761. function initClipBoardTools()
  9762. {
  9763. unsafeWindow.copyToClipboard = function(text)
  9764. {
  9765. try
  9766. {
  9767. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9768.  
  9769. var str = Components.classes["@mozilla.org/supports-string;1"].
  9770. createInstance(Components.interfaces.nsISupportsString);
  9771. if (!str) return false;
  9772.  
  9773. str.data = text;
  9774.  
  9775. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9776. createInstance(Components.interfaces.nsITransferable);
  9777. if (!trans) return false;
  9778.  
  9779. trans.addDataFlavor("text/unicode");
  9780. trans.setTransferData("text/unicode", str, text.length * 2);
  9781.  
  9782. var clipid = Components.interfaces.nsIClipboard;
  9783. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9784. if (!clip) return false;
  9785.  
  9786. clip.setData(trans, null, clipid.kGlobalClipboard);
  9787. } catch (e) {
  9788. GM_log("Error copyToClipboard : " + e);
  9789. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9790. }
  9791. }
  9792. }
  9793.  
  9794.  
  9795.  
  9796. //CustomRules
  9797.  
  9798. function escapeRegex(str)
  9799. {
  9800. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9801. }
  9802.  
  9803.  
  9804. //called internally from parseCustomRules.
  9805. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9806. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9807. function makeCustomRule(rule)
  9808. {
  9809. function makeMatchRegex(arrmatch)
  9810. {
  9811. return escapeRegex(arrmatch.join('\n'))
  9812. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9813. .replace(/\n/g,'|'); //join together
  9814. }
  9815. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9816. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9817. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9818. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9819. if (rule.baseurl)
  9820. {
  9821. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9822. for (i = 0 ; i < len ; i++)
  9823. {
  9824. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9825. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9826. {
  9827. 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'])
  9828. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9829. }
  9830. else //baseurl in the form: example.com/xxx
  9831. {
  9832. xpath.push(m[0]);
  9833. urlregex.push(escapeRegex(m[0]) + '.');
  9834. }
  9835. }
  9836. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9837. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9838. }
  9839. return rule;
  9840. } //function makeCustomRule
  9841.  
  9842.  
  9843. /*
  9844. Takes a string containing custom link checking rules.
  9845. Returns an object with fields:
  9846. info - contains notes, warnings and errors found during parsing
  9847. rules - the array of custom rules
  9848. note, warning, error - number of each of them found during parsing
  9849. Format of the input string:
  9850. One command per line. Command format: @keyword parameter
  9851. Keywords:
  9852. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9853. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9854. These keywords can be multiple (any of them will work):
  9855. @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...)
  9856. @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+
  9857. @alivelink, @deadlink - example links
  9858. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9859. Lines starting with // and empty lines are ignored.
  9860. Invalid parameters generate errors and those lines are skipped.
  9861. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9862. Example:
  9863. @customrule filehost
  9864. @baseurl filehost.com/download/
  9865. @baseurl filehost2. com net /d?=
  9866. @alivematch id="download">
  9867. @deadmatch File not found
  9868. @deadmatch File deleted
  9869. */
  9870. function parseCustomRules(rulesStr)
  9871. {
  9872. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9873. function addInfo(type, msg, ln){
  9874. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9875. customRules[type]++;
  9876. }
  9877. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9878. if (!lines) return null;
  9879. lines.push('@#customrule _'); //to save the last rule
  9880. var m, linecount = lines.length;
  9881. var keyword, param, constr, rule, err;
  9882. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9883. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9884. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9885. var constraints = {
  9886. 'baseurl': {
  9887. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9888. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9889. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9890. 'alivematch': {
  9891. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9892. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9893. 'deadmatch': {
  9894. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9895. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9896. 'unavamatch': {
  9897. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9898. 'alivelink': {
  9899. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9900. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9901. 'deadlink': {
  9902. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9903. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9904. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9905. };
  9906. for (linenum = 0 ; linenum < linecount ; linenum++)
  9907. {
  9908. //capturing groups: 1 23 4 5 6
  9909. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9910. if (m)
  9911. {
  9912. if (m[1] || !m[2])
  9913. continue; // ignore empty lines and lines starting with //
  9914. keyword = (m[4] || m[2]).toLowerCase();
  9915. param = m[6];
  9916. if (keyword == 'customrule')
  9917. {
  9918. //save the current rule if all required fields are provided
  9919. if (rule)
  9920. {
  9921. err = false;
  9922. $.each(constraints, function(kw, constraint){
  9923. var l, constr = constraint[rule.type];
  9924. if (constr)
  9925. {
  9926. l = rule[kw] ? rule[kw].length : 0;
  9927. if (l < constr.min || l > constr.max)
  9928. {
  9929. 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);
  9930. err = true;
  9931. }
  9932. }
  9933. });
  9934. if (!err)
  9935. customRules.rules.push(makeCustomRule(rule));
  9936. }
  9937. //start a new rule
  9938. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9939. {
  9940. rule = {
  9941. 'enabled': !m[3],
  9942. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9943. 'name': param
  9944. };
  9945. }
  9946. else
  9947. {
  9948. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9949. rule = null;
  9950. }
  9951. }
  9952. else //good line format, but keyword other than customrule
  9953. {
  9954. if (!rule)
  9955. {
  9956. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9957. continue;
  9958. }
  9959. if (constraints[keyword])
  9960. {
  9961. constr = constraints[keyword][rule.type];
  9962. if (constr)
  9963. {
  9964. if (constr.paramRE && !constr.paramRE.test(param))
  9965. {
  9966. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9967. continue;
  9968. }
  9969. }
  9970. else
  9971. {
  9972. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9973. continue;
  9974. }
  9975. }
  9976. //line OK, save
  9977. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9978. }
  9979. } //if (m)
  9980. else
  9981. addInfo('warning', 'Unknown line format. Line skipped.');
  9982. } //for loop
  9983. return customRules;
  9984. } //function parseCustomRules
  9985.  
  9986.  
  9987. /* ********************UPDATES********************
  9988.  
  9989. April 13, 2017
  9990. Version 1.3.7.6
  9991. added neodrive.co to obsolete hosts
  9992.  
  9993. April 07, 2017
  9994. Version 1.3.7.5
  9995. added french code for rg premium links
  9996.  
  9997. April 05, 2017
  9998. Version 1.3.7.4
  9999. added oload.tv
  10000.  
  10001. March 30, 2017
  10002. Version 1.3.7.3
  10003. added uploads.to
  10004.  
  10005. March 20, 2017
  10006. Version 1.3.7.2
  10007. added black-label.pro to obsolete hosts
  10008.  
  10009. March 13, 2017
  10010. Version 1.3.7.1
  10011. fixed filescdn.com
  10012.  
  10013. February 27, 2017
  10014. Version 1.3.7.0
  10015. fixed openload.co
  10016.  
  10017. February 26, 2017
  10018. Version 1.3.6.9
  10019. fixed drive.google.com
  10020. fixed uptobox.com (by dodoxp)
  10021.  
  10022. February 25, 2017
  10023. Version 1.3.6.8
  10024. added uploading.com to obsolete hosts
  10025.  
  10026. February 24, 2017
  10027. Version 1.3.6.7
  10028. cloudzilla.to added to obsolete hosts
  10029.  
  10030. February 23, 2017
  10031. Version 1.3.6.6
  10032. uploadify.net
  10033.  
  10034. February 22, 2017
  10035. Version 1.3.6.5
  10036. fixed katfile.com
  10037.  
  10038. February 12, 2017
  10039. Version 1.3.6.3
  10040. added junocloud.me to obsolete hosts
  10041.  
  10042. January 12, 2017
  10043. Version 1.3.6.2
  10044. added share.az & upfile.mobi
  10045.  
  10046. January 07, 2017
  10047. Version 1.3.6.1
  10048. added ausfile.com
  10049.  
  10050. January 05, 2017
  10051. Version 1.3.6.0
  10052. removed uploadable.ch from obsolete hosts
  10053.  
  10054. January 04, 2017e
  10055.  
  10056. December 31, 2016
  10057. Version 1.3.5.8
  10058. disabled on pizzaonline.dominos
  10059.  
  10060. December 31, 2016
  10061. Version 1.3.5.7
  10062. added uploadable.ch to obsolete hosts
  10063.  
  10064. December 30, 2016
  10065. Version 1.3.5.6
  10066. restored kingfiles.net
  10067.  
  10068. December 14, 2016
  10069. Version 1.3.5.5
  10070. fixed some 1fichier links not checking (yurii)
  10071.  
  10072. December 01, 2016
  10073. Version 1.3.5.4
  10074. added temp-share.com & filesha.com
  10075.  
  10076. November 30, 2016
  10077. Version 1.3.5.3
  10078. fixed mexashare.com not detecting some dead links
  10079.  
  10080. November 29, 2016
  10081. Version 1.3.5.2
  10082. added black-label.pro (live links only)
  10083.  
  10084. November 27, 2016
  10085. Version 1.3.5.1
  10086. made changes to filefactory
  10087.  
  10088. November 23, 2016
  10089. Version 1.3.5.0
  10090. added megashares.com to obsolete hosts
  10091. fixed letitbit not showing as obsolete
  10092. added littlebyte.net
  10093.  
  10094. November 22, 2016
  10095. Version 1.3.4.9
  10096. added code for live links to rapidgator
  10097. added dailyfiles.net
  10098. added upfiles.net
  10099. added multiup.eu
  10100.  
  10101. November 17, 2016
  10102. Version 1.3.4.8
  10103. fixed filefactory, again
  10104.  
  10105. November 17, 2016
  10106. Version 1.3.4.7
  10107. fixed filefactory folders
  10108.  
  10109. November 15, 2016
  10110. Version 1.3.4.6
  10111. fixed filefactory
  10112.  
  10113. November 14, 2016
  10114. Version 1.3.4.5
  10115. fixed rapidgator
  10116. fixed filefactory folders
  10117.  
  10118.  
  10119. November 13, 2016
  10120. Version 1.3.4.4
  10121. fixed problem with drive.google.com
  10122. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10123.  
  10124. November 06, 2016
  10125. Version 1.3.4.3
  10126. added to obsolete hosts (by love buzz)
  10127. 4up.me
  10128. a nonfiles.com
  10129. axifile.com
  10130. creafile.net
  10131. demo.ovh.eu
  10132. filesin.com
  10133. file swap.com
  10134. gulfup.com
  10135. hexupload.com
  10136. hugefiles.net
  10137. jumbofiles.com
  10138. kingfiles.net
  10139. letitbit.net
  10140. lolabits.es
  10141. nowdownload.ch
  10142. openfile.ru
  10143. radicalshare.com
  10144. remixshare.com
  10145. storefiles.co
  10146. toutbox.fr
  10147. uploadbaz.com
  10148. uploadingit.com
  10149. verzend.be
  10150. vidplay.net
  10151. vidxden.com
  10152. xfileload.com
  10153.  
  10154. November 04, 2016
  10155. Version 1.3.4.2
  10156. added french code for rapidgator premium links
  10157. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10158.  
  10159. November 03, 2016
  10160. Version 1.3.4.1
  10161. added Portuguese code for rapidgator premium links
  10162. added suprafiles.net
  10163.  
  10164. November 02, 2016
  10165. Version 1.3.4.0
  10166. fixed depositfiles not detecting depositfiles.com/de links
  10167.  
  10168. October 27, 2016
  10169. Version 1.3.3.9
  10170. fixed uploaded.net not detecting some dead links
  10171.  
  10172. October 24, 2016
  10173. Version 1.3.3.8
  10174. added more french code for upload.af dead links
  10175.  
  10176. October 23, 2016
  10177. Version 1.3.3.7
  10178. added french for upload.af dead links
  10179.  
  10180. October 17, 2016
  10181. Version 1.3.3.6
  10182. fixed error (by Yurii)
  10183.  
  10184. October 17, 2016
  10185. Version 1.3.3.5
  10186. fixed file.al (by Yurii)
  10187.  
  10188. October 16, 2016
  10189. Version 1.3.3.4
  10190. test
  10191.  
  10192. October 11, 2016
  10193. Version 1.3.3.3
  10194. fixed subyshare.com not detecting some dead links
  10195. fixed mexashare.com
  10196. fixed pornfile.cz
  10197.  
  10198. October 10, 2016
  10199. Version 1.3.3.2
  10200. added fileflares.com
  10201. added erafile.com
  10202. added loop to subyshare.com & rockfile.eu
  10203.  
  10204. September 26, 2016
  10205. Version 1.3.3.1
  10206. added uploadocean.com
  10207.  
  10208. September 25, 2016
  10209. Version 1.3.3.0
  10210. added exbit.net
  10211.  
  10212. September 25, 2016
  10213. Version 1.3.2.9
  10214. fixed uptobox
  10215. fixed google (by kubbbie)
  10216.  
  10217. September 23, 2016
  10218. Version 1.3.2.8
  10219. added danish to rapidgator
  10220.  
  10221. September 22, 2016
  10222. Version 1.3.2.7
  10223. added wayupload.com
  10224.  
  10225. September 18, 2016
  10226. Version 1.3.2.6
  10227. added Portuguese language to rapidgator
  10228.  
  10229. September 15, 2016
  10230. Version 1.3.2.5
  10231. added languages to rapidgator
  10232. french
  10233. german
  10234. spanish
  10235. Italian
  10236. russian
  10237. polish
  10238. dutch
  10239. czech
  10240. chinese
  10241. japanese
  10242.  
  10243. September 14, 2016
  10244. Version 1.3.2.4
  10245. fixed spaceforfiles.com
  10246.  
  10247. September 09, 2016
  10248. Version 1.3.2.3
  10249. added bdupload.info
  10250. added german & deutsch language to workupload.com
  10251.  
  10252. September 08, 2016
  10253. Version 1.3.2.2
  10254. added...
  10255. storageserver.co.uk
  10256. cloud.mail.ru
  10257. fixed depositfiles
  10258.  
  10259. September 08, 2016
  10260. Version 1.3.2.1
  10261. added workupload.com
  10262.  
  10263. September 04, 2016
  10264. Version 1.3.2.0
  10265. made changes to euroshare.eu
  10266.  
  10267. September 03, 2016
  10268. Version 1.3.1.9
  10269. added usercloud.net
  10270. made changes to euroshare.eu
  10271.  
  10272. August 31, 2016
  10273. Version 1.3.1.8
  10274. fixed uptobox.com
  10275.  
  10276. August 30, 2016
  10277. Version 1.3.1.7
  10278. made changes to euroshare.eu
  10279.  
  10280. August 29, 2016
  10281. Version 1.3.1.6
  10282. made changes to data.hu
  10283.  
  10284. August 29, 2016
  10285. Version 1.3.1.5
  10286. fixed euroshare.eu not detecting dead links
  10287.  
  10288. August 23, 2016
  10289. Version 1.3.1.4
  10290. added ulozto.sk
  10291. added ulozto.cz
  10292.  
  10293. August 19, 2016
  10294. Version 1.3.1.3
  10295. fixed euroshare.eu
  10296. fixed 2share.com
  10297.  
  10298. August 17, 2016
  10299. Version 1.3.1.2
  10300. added french code for 1fichier
  10301.  
  10302. August 16, 2016
  10303. Version 1.3.1.1
  10304. fix for 1fichier folder links, by yurii
  10305.  
  10306. August 15, 2016
  10307. Version 1.3.1.0
  10308. another fix for 1fichier
  10309. added mystore.to
  10310.  
  10311. August 12, 2016
  10312. Version 1.3.0.9
  10313. fixed 1fichier
  10314.  
  10315. August 01, 2016
  10316. Version 1.3.0.8
  10317. fixed tezfiles.com not detecting some premium links
  10318.  
  10319. July 24, 2016
  10320. Version 1.3.0.7
  10321. added fileshareup.com
  10322.  
  10323. July 17, 2016
  10324. Version 1.3.0.6
  10325. added subyshare.com
  10326.  
  10327. july 10, 2016
  10328. Version 1.3.0.5
  10329. fixed ulozto.net
  10330.  
  10331. july 07, 2016
  10332. Version 1.3.0.4
  10333. fixed uloz.to
  10334.  
  10335. july 07, 2016
  10336. Version 1.3.0.3
  10337. added imagenetz.de
  10338.  
  10339. June 23, 2016
  10340. Version 1.3.0.2
  10341. excluded nexcess.net
  10342.  
  10343. June 20, 2016
  10344. Version 1.3.0.1
  10345. added daofile.com
  10346.  
  10347. June 16, 2016
  10348. Version 1.3.0.0
  10349. added mexashare.com
  10350.  
  10351. June 16, 2016
  10352. Version 1.2.9.9
  10353. added novafile.com
  10354. added uploadgig.com
  10355.  
  10356. June 15, 2016
  10357. Version 1.2.9.8
  10358. fixed upload.af
  10359.  
  10360. June 10, 2016
  10361. Version 1.2.9.7
  10362. added alltu.eu
  10363.  
  10364. June 09, 2016
  10365. Version 1.2.9.6
  10366. added code for french language to rapidgator.net & rg.to
  10367.  
  10368. June 04, 2016
  10369. Version 1.2.9.5
  10370. added upnito.sk
  10371.  
  10372. May 31, 2016
  10373. Version 1.2.9.4
  10374. fixed mega.co (by yurii)
  10375.  
  10376. May 31, 2016
  10377. Version 1.2.9.3
  10378. code cleanup
  10379.  
  10380. May 27, 2016
  10381. Version 1.2.9.2
  10382. added filesin.space
  10383.  
  10384. May 27, 2016
  10385. Version 1.2.9.1
  10386. added
  10387. filescdn.com
  10388. bankupload.com
  10389. katfile.com
  10390.  
  10391. May 18, 2016
  10392. Version 1.2.9.0
  10393. added warped.co to obsolete hosts
  10394.  
  10395. May 17, 2016
  10396. Version 1.2.8.9
  10397. fixed mega.nz
  10398.  
  10399. May 16, 2016
  10400. Version 1.2.8.8
  10401. added to obsolete hosts
  10402. fileband.com
  10403. filecloud.cc
  10404. filesmelt.com
  10405. goldbytez.com
  10406. hulkshare.com
  10407. idup.in
  10408. loudupload.net
  10409. muchshare.net
  10410. myupload.dk
  10411. nekaka.com
  10412. netkups.com
  10413. plunder.com
  10414. uploads.xxx
  10415. uploadspace.pl
  10416. xkeepfile.com
  10417.  
  10418. May 16, 2016
  10419. Version 1.2.8.7
  10420. added upnito.sk to obsolete hosts
  10421.  
  10422. May 15, 2016
  10423. Version 1.2.8.6
  10424. fixed uploading.site
  10425.  
  10426. May 15, 2016
  10427. Version 1.2.8.5
  10428. added oload.net
  10429.  
  10430. May 14, 2016
  10431. Version 1.2.8.4
  10432. added uploading.site
  10433.  
  10434. May 13, 2016
  10435. Version 1.2.8.3
  10436. added uploadc.ch
  10437. fixed vidspot.net
  10438.  
  10439. May 13, 2016
  10440. Version 1.2.8.2
  10441. added keepshare.net
  10442.  
  10443. May 11, 2016
  10444. Version 1.2.8.1
  10445. added uploadserv.com
  10446.  
  10447. May 09, 2016
  10448. Version 1.2.8.0
  10449. fixed upstore.net & upsto.re
  10450. added 24uploading.com to obsolete hosts
  10451.  
  10452. May 06, 2016
  10453. Version 1.2.7.9
  10454. added storagon.com to obsolete hosts
  10455. fixed worldbytez.com
  10456.  
  10457. May 02, 2016
  10458. Version 1.2.7.8
  10459. added myfiles.onl
  10460.  
  10461. april 28, 2016
  10462. Version 1.2.7.7
  10463. fixed bytewhale.com
  10464.  
  10465. april 27, 2016
  10466. Version 1.2.7.6
  10467. fixed rapidgator not detecting some premium links.
  10468.  
  10469. april 27, 2016
  10470. Version 1.2.7.5
  10471. added jeodrive.com
  10472.  
  10473. april 26, 2016
  10474. Version 1.2.7.4
  10475. added sanshare.com to obsolete hosts
  10476.  
  10477. april 26, 2016
  10478. Version 1.2.7.3
  10479. fixed vidspot.net
  10480.  
  10481. april 26, 2016
  10482. Version 1.2.7.2
  10483. added upx.nz
  10484.  
  10485. april 25, 2016
  10486. Version 1.2.7.1
  10487. added rapidfilehost.com to obsolete hosts
  10488. fixed bitster.cz
  10489.  
  10490. april 12, 2016
  10491. Version 1.2.7.0
  10492. fixed rapidgator not detecting some premium links.
  10493.  
  10494. april 11, 2016
  10495. Version 1.2.6.9
  10496. changed code for ncrypt.in
  10497.  
  10498. april 07, 2016
  10499. Version 1.2.6.8
  10500. added fileinz.com to obsolete hosts.
  10501.  
  10502. april 06, 2016
  10503. Version 1.2.6.7
  10504. added sharingmaster.com to obsolete hosts.
  10505.  
  10506. april 05, 2016
  10507. Version 1.2.6.6
  10508. added 4upfiles.com & elffiles.com to obsolete hosts
  10509.  
  10510. april 03, 2016
  10511. Version 1.2.6.5
  10512. updates to configuration page
  10513.  
  10514. March 31, 2016
  10515. Version 1.2.6.4
  10516. added code for tampermonkey 4.0 compatibility
  10517.  
  10518. March 31, 2016
  10519. Version 1.2.6.3
  10520. fixed uloz.to
  10521. fixed copy dead links to clipboard feature
  10522. added copy live links to clipboard feature.
  10523.  
  10524. March 24, 2016
  10525. Version 1.2.6.2
  10526. changed made to nitroflare. (yurri)
  10527.  
  10528. March 20, 2016
  10529. Version 1.2.6.1
  10530. fixed rapidgator
  10531. fixed dfiles
  10532. fixed dl.free.fr
  10533. fixed nitroflare.com (Fixed by Yurii)
  10534.  
  10535. March 15, 2016
  10536. Version 1.2.6.0
  10537. fixed rapidgator.net
  10538. fixed uploaded.net
  10539.  
  10540. March 13, 2016
  10541. Version 1.2.5.9
  10542. added
  10543. uploads.ws
  10544. upl.me
  10545. clicknupload.link
  10546. added fileover.net to obsolete hosts
  10547. fixed kingfiles.net
  10548.  
  10549. March 09, 2016
  10550. Version 1.2.5.8
  10551. added kingfiles.net to obsolete hosts
  10552. fixed 4upld.com/expressleech.com
  10553.  
  10554. March 08, 2016
  10555. Version 1.2.5.7
  10556. fixed solidfiles.com
  10557.  
  10558. March 01, 2016
  10559. Version 1.2.5.6
  10560. added filespace.com
  10561. fixed depositfiles (by yurii)
  10562.  
  10563. February 29, 2016
  10564. Version 1.2.5.5
  10565. made change to keep2share
  10566.  
  10567. February 28, 2016
  10568. Version 1.2.5.4
  10569. removed down4files.com from obsolete hosts.
  10570.  
  10571. February 26, 2016
  10572. Version 1.2.5.3
  10573. fixed userscloud.com
  10574.  
  10575. February 24, 2016
  10576. Version 1.2.5.2
  10577. added yandex.com
  10578. fixed datafile.com
  10579.  
  10580. February 22, 2016
  10581. Version 1.2.5.1
  10582. added bigfile.to
  10583.  
  10584. February 20, 2016
  10585. Version 1.2.5.0
  10586. added abelhas.pt
  10587.  
  10588. February 18, 2016
  10589. Version 1.2.4.9
  10590. made change to uptobox
  10591.  
  10592. February 17, 2016
  10593. Version 1.2.4.8
  10594. fixed yadi.sk
  10595.  
  10596. February 16, 2016
  10597. Version 1.2.4.7
  10598. fixed datafile.com
  10599. fixed filecad.com
  10600. added filecore.co & filestorm.to to obsolete hosts
  10601. added upload.af, filedwon.in & uplod.it
  10602.  
  10603. February 15, 2016
  10604. Version 1.2.4.6
  10605. fixed kumpulbagi.id
  10606. added sangfile.com to obsolete hosts
  10607.  
  10608. February 14, 2016
  10609. Version 1.2.4.5
  10610. fixed yandex.ru
  10611.  
  10612. February 13, 2016
  10613. Version 1.2.4.4
  10614. added lunaticfiles.com.
  10615.  
  10616. February 09, 2016
  10617. Version 1.2.4.3
  10618. added file.up09.com.
  10619.  
  10620. February 09, 2016
  10621. Version 1.2.4.2
  10622. tezfiles.com premium links now detected.
  10623.  
  10624. February 09, 2016
  10625. Version 1.2.4.1
  10626. added seenupload.com to obsolete hosts
  10627. fixed 180upload.com to show obsolete
  10628.  
  10629. February 08, 2016
  10630. Version 1.2.4.0
  10631. added tusfiles.com
  10632. added filesupload.org
  10633. added gigasize.com
  10634. added filecad.com
  10635. fixed filecloud.io
  10636. added uploadnet.co to obsolete hosts
  10637.  
  10638. February 07,2016
  10639. Vession 1.2.3.9
  10640. fixed depositfiles.com folders
  10641. fixed turbobit.net folders
  10642.  
  10643. February 06, 2016
  10644. Version 1.2.3.8
  10645. fixed 1fichier false dead links
  10646.  
  10647. February 04, 2106
  10648. Version 1.2.3.7
  10649. added geupload and lenfile to obsolete hosts
  10650. fixed kyc.pm/depfile
  10651.  
  10652. February 03, 2016
  10653. Version 1.2.3.6
  10654. fixed some nitroflare.com dead links not being detected
  10655.  
  10656. February 01, 2016
  10657. Version 1.2.3.5
  10658. script moved to new site
  10659.  
  10660. January 20, 2016
  10661. Version 1.2.3.3
  10662. fixed some rapidgator premium link not being detected
  10663.  
  10664. January 17, 2016
  10665. Version 1.2.3.2
  10666. added bytewhale.com
  10667. added rapidrar.com
  10668.  
  10669. Version 1.2.3.1
  10670. added 180upload.com to obsolete hosts
  10671. fixed hellspy.com
  10672. added dinoshare.cz,
  10673.  
  10674. January 13, 2016
  10675. Version 1.2.3.0
  10676. added rapidu.net
  10677. added uploadboy.me
  10678. fixed euroshare.eu
  10679.  
  10680. January 12, 2016
  10681. Version 1.2.2.9
  10682. added kb.simple-aja.info
  10683.  
  10684. January 10, 2016
  10685. Version 1.2.2.8
  10686. made changes to fastshare.cz
  10687.  
  10688. January 10, 2016
  10689. Version 1.2.2.7
  10690. fixed uptobox.com
  10691.  
  10692. January 09, 2016
  10693. Version 1.2.2.6
  10694. datoteke.com now detects premium links
  10695. fixed turbobit.net
  10696. fixed uptobox.com
  10697. added pornfile.cz
  10698. added pornoid.cz
  10699. added file-share.top
  10700. added bitster.cz
  10701.  
  10702. January 05, 2016
  10703. Version 1.2.2.5
  10704. fixed salefiles.com
  10705. fixed ozofile.com
  10706.  
  10707. January 04, 2016
  10708. Version 1.2.2.4
  10709. added sharehost.eu
  10710.  
  10711. December 30, 2015
  10712. Version 1.2.2.3
  10713. added tezfiles.com
  10714.  
  10715. December 28, 2015
  10716. Version 1.2.2.2
  10717. fixed some k2s & fboom dead link not getting detected
  10718. fixed some k2s premium links not getting detected.
  10719. fixed ssh.yt not detecting some dead links
  10720. fixed ncrypt.in dead links showing yellow
  10721.  
  10722. December 20, 2015
  10723. Version 1.2.2.0
  10724. added datoteke.com
  10725.  
  10726. December 19, 2015
  10727. Version 1.2.1.9
  10728. added secured.in & linksave.in to obsolete hosts
  10729.  
  10730. December 17, 2015
  10731. Version 1.2.1.8
  10732. added german for dead links to secureupload.eu.
  10733.  
  10734. December 17, 2015
  10735. Version 1.2.1.7
  10736. added french for dead links to secureupload.eu.
  10737. fixed problem with tooltip display.
  10738.  
  10739. December 13, 2015
  10740. Version 1.2.1.6
  10741. added netload.me & fileparadox.in to obsolete hosts
  10742.  
  10743. December 09, 2015
  10744. Version 1.2.1.5
  10745. added rapidsonic.com & fileparadox.com to obsolete hosts
  10746.  
  10747. December 04, 2015
  10748. Version 1.2.1.4
  10749. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10750.  
  10751. December 03, 2015
  10752. Version 1.2.1.3
  10753. added dailyuploads.net
  10754.  
  10755. December 02, 2015
  10756. Version 1.2.1.2
  10757. fixed hitfile.net
  10758. fixed kingfiles.net
  10759.  
  10760. November 30, 2015
  10761. Version 1.2.1.1
  10762. added filepost.com to obsolete hosts
  10763. added devilshare.net
  10764.  
  10765. November 28, 2015
  10766. Version 1.2.1.0
  10767. fixed datafile.com not detecting some premium links.
  10768.  
  10769. November 25, 2015
  10770. Version 1.2.0.9
  10771. fixed filejoker.net
  10772. fixed toutbox.fr
  10773. fixed nowvideo.sx
  10774.  
  10775. November 24, 2015
  10776. Version 1.2.0.8
  10777. fixed openload.io
  10778.  
  10779. November 20, 2015
  10780. Version 1.2.0.7
  10781. //added file.al
  10782. //fixed nitroflare.com false live links
  10783. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10784.  
  10785. November 17, 2015
  10786. Version 1.2.0.6
  10787. added clicknupload.me
  10788.  
  10789. November 09, 2015
  10790. Version 1.2.0.5
  10791. fixed some depfile premium links not being detected
  10792.  
  10793. November 08, 2015
  10794. Version 1.2.0.4
  10795. fixed some rapidgator premium links not being detected
  10796. fixed doraupload.com
  10797.  
  10798. November 08, 2015
  10799. Version 1.2.0.3
  10800. fixed uploaded false premium
  10801.  
  10802. November 07, 2015
  10803. Version 1.2.0.2
  10804. fixed redbunker.net
  10805.  
  10806. November 05, 2015
  10807. Version 1.2.0.1
  10808. fixed app.box.com
  10809. added multiup.org (does not detect all dead links)
  10810.  
  10811. November 01, 2015
  10812. Version 1.2.0.0
  10813. added more languages to rockfile and 1fichier
  10814.  
  10815. November 01, 2015
  10816. Version 1.1.9.9
  10817. fixed rockfile.eu
  10818. changed 1fichier code (Thanks yurri)
  10819. added to obsolete hosts... (Thanks Love Buzz)
  10820. burnupload.com
  10821. cramit.in
  10822. cramitin.net
  10823. down4files.com
  10824. edoc.com
  10825. jumbofile.net
  10826. krotix.net
  10827. migahost.com
  10828. movreel.com
  10829. netload.in
  10830. newfileland.com
  10831. quickshare.cz
  10832.  
  10833. October 30, 2015
  10834. Version 1.1.9.8
  10835. added alfafile.net
  10836.  
  10837. October 26, 2015
  10838. Version 1.1.9.7
  10839. changed datafile.com and uplea.com
  10840. added lolabits.es
  10841.  
  10842. October 26, 2015
  10843. Version 1.1.9.6
  10844. added toutbox.fr
  10845.  
  10846. October 25, 2015
  10847. Version 1.1.9.5
  10848. fixed counter error
  10849.  
  10850. October 25, 2015
  10851. Version 1.1.9.4
  10852. changed uptobox.com code
  10853.  
  10854. October 21, 2015
  10855. Version 1.1.9.3
  10856. fixed uptobox.com
  10857.  
  10858. October 20, 2015
  10859. Version 1.1.9.2
  10860. bug fixes and new method of detecting premium links.
  10861.  
  10862. October 15, 2015
  10863. Version 1.1.9.1
  10864. fixed hugefiles.net false premium
  10865. changed uptobox.com code
  10866.  
  10867. October 06, 2015
  10868. Version 1.1.9.0
  10869. fixed filefactory
  10870. fixed rockfile false premium
  10871. keep2share & fileboom now detect premium links (fixed by yurii)
  10872.  
  10873. October 01, 2015
  10874. Version 1.1.8.9
  10875. fixed free.fr false premium
  10876. fixed thevideo.me false premium
  10877.  
  10878. September 28, 2015
  10879. Version 1.1.8.8
  10880. added uplea.com and openload.co
  10881.  
  10882. September 27, 2015
  10883. Version 1.1.8.7
  10884. fixed fileparadox.in false premium
  10885. added kingfiles.net to obsolete hosts
  10886. removed inafile.com from obsolete hosts
  10887.  
  10888. September 22, 2015
  10889. Version 1.1.8.6
  10890. fixed nitroflare false premium
  10891.  
  10892. September 22, 2015
  10893. Version 1.1.8.5
  10894. fixed userscloud.com false premium
  10895. fixed usersfiles.com false premium
  10896. changed arabloads.com to arabloads.net
  10897. changed nowdownloads.eu to nowdownloads.ch
  10898.  
  10899. September 21, 2015
  10900. Version 1.1.8.3
  10901. added ryushare.com to obsolete hosts.
  10902.  
  10903. September 20, 2015
  10904. Version 1.1.8.2
  10905. fixed nitroflare not showing premium links
  10906. added down4files.com,storfiles.co,filehost.pw
  10907.  
  10908. September 16, 2015
  10909. Version 1.1.8.1
  10910. added crisshare.com to obsolete hosts
  10911. fixed filemoney.com false premium
  10912. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10913.  
  10914. September 14, 2015
  10915. Version 1.1.8.0
  10916. added to obsolete hosts...
  10917. sharebeast.com
  10918. tufiles.ru
  10919.  
  10920. September 12, 2015
  10921. Version 1.1.7.9
  10922. fixed rghost.net false premium
  10923. fixed unlimitzone.com false premium
  10924. fixed turbobit.net false live link
  10925.  
  10926. September 11, 2015
  10927. Version 1.1.7.8
  10928. Fixed filefactory.com false premium.
  10929.  
  10930. September 07, 2015
  10931. Version 1.1.7.7
  10932. fixed "depositfiles.com/en/files" links not checking
  10933.  
  10934. September 06, 2015
  10935. Version 1.1.7.6
  10936. added French code for 1fichier
  10937.  
  10938. August 29, 2015
  10939. Version 1.1.7.5
  10940. fixed depositfiles
  10941. fixed mega.co.nz/mega.nz
  10942. (fixed by yurii)
  10943.  
  10944. August 23, 2015
  10945. Version 1.1.7.4
  10946. Fixed uploadrocket (by yurii)
  10947.  
  10948. August 20, 2015
  10949. Version 1.1.7.3
  10950. fixed depfile.com false premium
  10951. fixed 1fichier false premium
  10952. fixed rapidgator false premium
  10953.  
  10954. August 08, 2015
  10955. Version 1.1.7.1
  10956. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10957.  
  10958. August 07, 2015
  10959. Version 1.1.7.0
  10960. fixed...
  10961. streamin.to
  10962. thefile.me
  10963. vidzi.tv
  10964. added...
  10965. filenuke.com
  10966. vidto.me
  10967. vidspot.net
  10968. sharesix.com
  10969. sharesix.net
  10970. movpod.in,
  10971.  
  10972. August 07, 2015
  10973. Version 1.1.6.9 added...
  10974. thefile.me
  10975. vidzi.tv
  10976. videoweed.es
  10977. vodlocker.com
  10978. nowvideo.sx
  10979. cloudtime.to
  10980. thevideo.me
  10981. vidbull.com
  10982. allmyvideos.net
  10983. novamov.com
  10984. filehoot.com
  10985. stagevu.com
  10986. gorillavid.in
  10987. streamin.to
  10988.  
  10989. August 02, 2015
  10990. Version 1.1.6.8
  10991. added cloudshares.net
  10992.  
  10993. August 01, 2015
  10994. Version 1.1.6.7
  10995. fixed depfile redirectors false premium
  10996.  
  10997. July 31, 2015
  10998. Version 1.1.6.6
  10999. fixed depfile.com false premium
  11000. */