W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @include http://*
  15. // @include https://*
  16. // @include file:///*
  17. // @grant GM_setValue
  18. // @grant GM_getValue
  19. // @grant GM_xmlhttpRequest
  20. // @grant GM_log
  21. // @grant GM_addStyle
  22. // @grant GM_registerMenuCommand
  23. // @grant GM_getResourceText
  24. // @grant GM_info
  25. // @grant GM_setClipboard
  26. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  27. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  28. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  29. // @homepage http://usa.x10host.com/mybb
  30. // @namespace war premium
  31. // @noframes
  32. // @version 1.3.7.9
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.7.9 April 26, 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. "crazyshare.cc",
  51. "uploadocean.com",
  52. "drive.google.com",
  53. "suprafiles.net",
  54. "fileflares.com",
  55. "erafile.com",
  56. "mystore.to",
  57. "littlebyte.net",
  58. "exbit.net",
  59. "bdupload.info",
  60. "workupload.com",
  61. "wayupload.com",
  62. "cloud.mail.ru",
  63. "fileshareup.com",
  64. "usercloud.net",
  65. "daofile.com",
  66. "subyshare.com",
  67. "mexashare.com",
  68. "uploadgig.com",
  69. "upload.af",
  70. "alltu.eu",
  71. "filesin.space",
  72. "imagenetz.de",
  73. "katfile.com",
  74. "bankupload.com",
  75. "keepshare.net",
  76. "filescdn.com",
  77. "myfiles.onl",
  78. "uploadserv.com",
  79. "uploading.site",
  80. "filedwon.info",
  81. "jeodrive.com",
  82. "ncrypt.in",
  83. "yandex.com",
  84. "down4files.com",
  85. 'filespace.com',
  86. "uplod.it",
  87. "rapidu.net",
  88. "uploads.ws|upl.me",
  89. "file.up09.com",
  90. "lunaticfiles.com",
  91. "filecad.com",
  92. "filesupload.org",
  93. "bytewhale.com",
  94. "rapidrar.com",
  95. "download.cz.hellshare.com",
  96. "pornfile.cz",
  97. "dinoshare.cz",
  98. "kb.simple-aja.info",
  99. "bitster.cz",
  100. "file-share.top",
  101. "pornoid.cz",
  102. "dailyuploads.net",
  103. "sharehost.eu",
  104. "tezfiles.com",
  105. "devilshare.net",
  106. "alfafile.net",
  107. "openload.co",
  108. "multiup.org",
  109. "uplea.com",
  110. "filenuke.com",
  111. "file.al|1f.al",
  112. "vidto.me",
  113. "filehost.pw",
  114. "turbobit.ru",
  115. "sharesix.com|sharesix.net",
  116. "movpod.in",
  117. "thefile.me",
  118. "datoteke.com",
  119. "vidzi.tv",
  120. "videoweed.es",
  121. "vodlocker.com",
  122. "nowvideo.sx",
  123. "cloudtime.to",
  124. "thevideo.me",
  125. "vidbull.com",
  126. "novamov.com",
  127. "filehoot.com",
  128. "stagevu.com",
  129. "gorillavid.in",
  130. "streamin.to",
  131. "4upld.com|expressleech.com",
  132. "cloudshares.net",
  133. "swoopshare.com",
  134. "2shared.com",
  135. "fileupload.pw",
  136. "zxcfiles.com",
  137. "up07.net",
  138. "4shared.com",
  139. "adrive.com",
  140. "aisfile.com",
  141. "bezvadata.cz",
  142. "usersfiles.com",
  143. "pan.baidu.com",
  144. "datei.to",
  145. "daten-hoster.de|filehosting.org|xtraupload.de",
  146. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  147. "divshare.com",
  148. "easy-share.com|crocko.com",
  149. "easybytez.com",
  150. "edisk.cz",
  151. "euroshare.eu",
  152. "file-upload.net",
  153. "yadi.sk",
  154. "wizupload.com",
  155. "fastshare.cz",
  156. "filefactory.com",
  157. "share.vnn.vn",
  158. "yunpan.cn",
  159. "tropicshare.com",
  160. "inclouddrive.com",
  161. "fileflyer.com",
  162. "filerio.com|filekeen.com",
  163. "up.4share.vn",
  164. "upfile.vn",
  165. "datafilehost.com",
  166. "worldbytez.com",
  167. "files.mail.ru",
  168. "filesflash.com",
  169. "box.com",
  170. "uptobox.com",
  171. "box.net",
  172. "sdilej.cz",
  173. "ex-load.com",
  174. "filesmonster.com",
  175. "filestore.to",
  176. "hulkload.com",
  177. "filedropper.com",
  178. "free-uploading.com",
  179. "gamefront.com|filefront.com",
  180. "gettyfile.ru",
  181. "gigapeta.com",
  182. "gigasize.com",
  183. "hellshare.com",
  184. "hellspy.com",
  185. "hitfile.net",
  186. "hostuje.net",
  187. "freefilehosting.net",
  188. "free.fr",
  189. "hyperfileshare.com",
  190. "filecloud.io|ifile.it",
  191. "ifolder.ru",
  192. "uploadrocket.net",
  193. "lafiles.com",
  194. "leteckaposta.cz|sharegadget.com",
  195. "load.to",
  196. "mediafire.com",
  197. "megafileupload.com",
  198. "movshare.net",
  199. "narod.ru|narod.yandex.ru",
  200. "fboom.me|fileboom.me",
  201. "partage-facile.com",
  202. "sharerapid.cz",
  203. "exclusiveloader.com",
  204. "acefile.net",
  205. "queenshare.com",
  206. "rapidgator.net",
  207. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  208. "oboom.com",
  209. "filepi.com",
  210. "rarefile.net",
  211. "rayfile.com",
  212. "rghost.net",
  213. "sendmyway.com",
  214. "clicknupload.com",
  215. "clicknupload.me",
  216. "clicknupload.link",
  217. "uploadable.ch",
  218. "sharemods.com",
  219. "hostr.co",
  220. "sendspace.com",
  221. "sharecash.org",
  222. "share-links.biz",
  223. "share-online.biz|egoshare.com",
  224. "megarapid.cz",
  225. "shareflare.net",
  226. "solidfiles.com",
  227. "led.wf",
  228. "lan.wf",
  229. "adlink.wf",
  230. "click.tf",
  231. "kyc.pm",
  232. "ssh.tf",
  233. "ssh.yt",
  234. "yep.pm",
  235. "stahovanizasms.cz",
  236. "turbobit.net",
  237. "tikfile.com",
  238. "cloudsix.me",
  239. "turboupload.com",
  240. "uloz.to",
  241. "ulozto.net",
  242. "ulozto.sk",
  243. "ulozto.cz",
  244. "ulozisko.sk",
  245. "uloziste.com",
  246. "unibytes.com",
  247. "upload-il.net|przeslij.net",
  248. "uploaded.to|uploaded.net|ul.to",
  249. "chayfile.com",
  250. "rockfile.eu",
  251. "usaupload.net",
  252. "veehd.com",
  253. "videobb.com",
  254. "vip-file.com",
  255. "webshare.cz",
  256. "xdisk.cz",
  257. "yunfile.com|filemarkets.com",
  258. "ziddu.com",
  259. "zippyshare.com",
  260. "rodfile.com",
  261. "wikiupload.com",
  262. "uploadstube.de",
  263. "faststore.org",
  264. "flyfiles.net",
  265. "prefiles.com",
  266. "hackerbox.org",
  267. "amonshare.com",
  268. "data.hu",
  269. "brupload.net",
  270. "kingfiles.net",
  271. "userscloud.com",
  272. "kumpulbagi.com|kumpulbagi.id",
  273. "uppit.com|up.ht|upx.nz",
  274. "downloadani.me",
  275. "filesabc.com",
  276. "extmatrix.com",
  277. "sendfiles.nl",
  278. "yourfilestore.com",
  279. "filebig.net",
  280. "file4safe.com",
  281. "tusfiles.net|tusfiles.com",
  282. "filemac.com",
  283. "ozofiles.com",
  284. "nosupload.com",
  285. "gboxes.com",
  286. "myvdrive.com|fileserving.com",
  287. "novafile.com",
  288. "longfiles.com",
  289. "bitupload.com",
  290. "indowebster.com",
  291. "superload.cz",
  292. "mafiastorage.com",
  293. "hellupload.com",
  294. "stiahni.si",
  295. "sendspace.pl",
  296. "fastshare.org",
  297. "filejoker.net",
  298. "filestore.com.ua",
  299. "rapidfileshare.net",
  300. "stiahnito.sk",
  301. "rusfolder.com",
  302. "catshare.net",
  303. "mixturecloud.com",
  304. "filedais.com",
  305. // "imdb.com",
  306. "nitroflare.com",
  307. "akafile.com",
  308. "up.top4top.net",
  309. "upload.ee",
  310. "shareplace.org",
  311. "uploadc.com",
  312. "uploadc.ch",
  313. "exoshare.com",
  314. "borncash.org",
  315. "2downloadz.com",
  316. "mightyupload.com",
  317. "anysend.com",
  318. "datafile.com",
  319. "upstore.net",
  320. "upsto.re",
  321. "speedy.sh",
  322. "ge.tt",
  323. "filesflash.net",
  324. "salefiles.com",
  325. "datoid.cz",
  326. "cloudstor.es",
  327. "streamfile.com",
  328. "eyesfile.ca",
  329. "filemoney.com",
  330. "uploadboy.com",
  331. "uploadboy.me",
  332. "speedshare.eu",
  333. "google.com|google.be",
  334. "unlimitzone.com",
  335. "rioupload.com",
  336. "rg.to",
  337. "jumbofiles.org",
  338. "fshare.vn",
  339. "spaceforfiles.com",
  340. "up.media1fire.com",
  341. "depfile.com",
  342. "go4up.com",
  343. "dropbox.com",
  344. "redbunker.net",
  345. "divxpress.com",
  346. "mega.nz|mega.co.nz",
  347. "storageserver.co.uk",
  348. "anafile.com",
  349. "bigfile.to",
  350. "arabloads.net",
  351. "sharerepo.com",
  352. "sfshare.se",
  353. "files.fm",
  354. "koofile.com",
  355. "doraupload.com",
  356. "openload.io",
  357. "upnito.sk",
  358. "oload.net",
  359. ];
  360.  
  361. try
  362. {
  363. //iframes excluded
  364. if (window.top != window.self)
  365. {
  366. return;
  367. }
  368. //allHostNames sites excluded
  369. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  370. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  371. ")"))
  372. {
  373. return;
  374. }
  375. }
  376. catch (e)
  377. {
  378. return;
  379. }
  380.  
  381. //separate alternative domains with "|" char (first name is considered being main)
  382. var allContainerNames = [
  383. "adf.ly",
  384. "linkcrypt.ws",
  385. "linksafe.me",
  386. // "linksave.in",
  387. "linkto.net",
  388. "madlink.sk",
  389. "multiload.cz",
  390. "mirrorcreator.com",
  391. // "ncrypt.in",
  392. "redi.re",
  393. "relink.us",
  394. "safelinking.net",
  395. "theloo.katt.it",
  396. "bit.ly",
  397.  
  398. ];
  399.  
  400. //separate alternative domains with "|" char (first name is considered being main)
  401. var allObsoleteNames = [
  402. "black-label.pro",
  403. "4up.me",
  404. "anonfiles.com",
  405. "axifile.com",
  406. "creafile.net",
  407. "cloudzilla.to",
  408. "neodrive.co",
  409. "demo.ovh.eu",
  410. "filesin.com",
  411. "fileswap.com",
  412. "junocloud.me",
  413. "gulfup.com",
  414. "hexupload.com",
  415. "secureupload.eu",
  416. "hugefiles.net",
  417. "jumbofiles.com",
  418. "letitbit.net",
  419. "lolabits.es",
  420. "nowdownload.ch",
  421. "openfile.ru",
  422. "radicalshare.com",
  423. "remixshare.com",
  424. "storefiles.co",
  425. "toutbox.fr",
  426. "uploadbaz.com",
  427. "uploadingit.com",
  428. "uploading.com",
  429. "verzend.be",
  430. "vidplay.net",
  431. "vidxden.com",
  432. "xfileload.com",
  433. "warped.co",
  434. "xkeepfile.com",
  435. "abelhas.pt",
  436. "uploadspace.pl",
  437. "allmyvideos.net",
  438. "uploads.xxx",
  439. "netkups.com",
  440. "nekaka.com",
  441. "vidspot.net",
  442. "myupload.dk",
  443. "muchshare.net",
  444. "loudupload.net",
  445. "idup.in",
  446. "hulkshare.com",
  447. "goldbytez.com",
  448. "filesmelt.com",
  449. "fileband.com",
  450. "uloz.cz",
  451. "secured.in",
  452. "rapidfilehost.com",
  453. "fileover.net",
  454. "fileinz.com",
  455. "linksave.in",
  456. "seenupload.com",
  457. "sangfile.com",
  458. "filepost.com|fp.io",
  459. "sharingmaster.com ",
  460. "24uploading.com",
  461. "storagon.com",
  462. "sanshare.com",
  463. "filestorm.to",
  464. "uploadnet.co",
  465. "180upload.com",
  466. "rapidsonic.com",
  467. "fileparadox.com",
  468. "4upfiles.com",
  469. "geupload.com",
  470. "lenfile.com",
  471. "fileparadox.in",
  472. "uploadhero.co",
  473. "uploadhero.com",
  474. "newfileland.com",
  475. "quickshare.cz",
  476. "elffiles.com",
  477. "netload.in",
  478. "netload.me",
  479. "movreel.com",
  480. "migahost.com",
  481. "krotix.net",
  482. "jumbofile.net",
  483. "edoc.com",
  484. "cramit.in|cramitin.net",
  485. "freakshare.com",
  486. "burnupload.com|burnupload.ihiphop.com",
  487. "freakshare.net",
  488. "daj.to",
  489. "bl.st",
  490. "2drive.net",
  491. "ryushare.com",
  492. "crisshare.com",
  493. "tufiles.ru",
  494. "uncapped-downloads.com",
  495. "sockshare.com",
  496. "ddlstorage.com",
  497. "dataport.cz",
  498. "dizzcloud.com",
  499. "sharebeast.com",
  500. "stahovadlo.cz",
  501. "shared.com",
  502. "storage.to",
  503. "putlocker.com",
  504. "lumfile.com",
  505. "lumfile.se",
  506. "lumfile.eu",
  507. "firedrive.com",
  508. "fileshare.in.ua",
  509. "filecore.co.nz",
  510. "filecore.co",
  511. "iskladka.cz",
  512. "file-rack.com",
  513. "fast-load.net",
  514. "subory.sk",
  515. "bigandfree.com",
  516. "fileop.com",
  517. "mujsoubor.cz",
  518. "sendfile.to",
  519. "superfastfile.com",
  520. "quickyshare.com",
  521. "duckload.com",
  522. "uploadstore.net",
  523. "meinupload.com",
  524. "dualshare.com",
  525. "2xupload.to|2xupload.de",
  526. "oxedion.com",
  527. "uploadline.com",
  528. "dll.bz",
  529. "movieshare.in",
  530. "milledrive.com",
  531. "quickupload.net",
  532. "safelink.in",
  533. "metadivx.com",
  534. "divxlink.com",
  535. "uploadrack.com",
  536. "teradepot.com",
  537. "dataup.to",
  538. "upit.to",
  539. "driveway.com",
  540. "eatlime.com",
  541. "a2zuploads.com",
  542. "friendlyfiles.net",
  543. "flyfile.us",
  544. "speedyshare.com",
  545. "uploadspace.eu",
  546. "keepfile.com",
  547. "piggyshare.com",
  548. "uplly.com",
  549. "filecrown.com",
  550. "6giga.com",
  551. "uploadjockey.com",
  552. "bluehost.to",
  553. "filegu.ru",
  554. "filebase.to",
  555. "up-file.com",
  556. "xvideos.com",
  557. "ufox.com",
  558. "filebling.com",
  559. "loaded.it",
  560. "uploadcell.com",
  561. "uploadshare.cz",
  562. "mangoshare.com",
  563. "filestab.com",
  564. "crazyupload.com",
  565. "gaiafile.com",
  566. "sharejunky.com",
  567. "fileho.com",
  568. "bigandfree.com",
  569. "bigfile.in",
  570. "bigshare.eu",
  571. "dahosting.org",
  572. "digisofts.net",
  573. "file4save.com",
  574. "filechip.com",
  575. "filescloud.com",
  576. "saveqube.com",
  577. "turboshare.de",
  578. "z-upload.com",
  579. "youshare.com",
  580. "jiffyupload.com",
  581. "gigeshare.com",
  582. "datenklo.net",
  583. "upload.dj",
  584. "loadfiles.in",
  585. "upit.to",
  586. "dsfileshare.com",
  587. "sharesimple.net",
  588. "4files.net",
  589. "wooupload.com",
  590. "odsiebie.com",
  591. "filenavi.com",
  592. "3oof.com",
  593. "meshwaar.com",
  594. "maxupload.com",
  595. "share.cx",
  596. "atserver.eu",
  597. "hotfiles.ws",
  598. "esnips.com",
  599. "tuxfile.com",
  600. "file2upload.net",
  601. "filebling.com",
  602. "turboshare.com",
  603. "rarhost.com",
  604. "isharehd.com",
  605. "i741.com",
  606. "dataup.de",
  607. "fofly.com",
  608. "shareonall.com",
  609. "sexuploader.com",
  610. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  611. "uploadhyper.com",
  612. "filespawn.com",
  613. "caizzii.com",
  614. "volnyweb.cz",
  615. "usershare.net",
  616. "filescash.net",
  617. "metahyper.com",
  618. "combozip.com",
  619. "x7.to",
  620. "uploadbox.com",
  621. "enterupload.com|flyupload.com",
  622. "filepoint.de",
  623. "mystream.to",
  624. "x-fs.com",
  625. "shareator.com",
  626. "srapid.eu",
  627. "sosame.cz",
  628. "filesdump.com",
  629. "2-klicks.de",
  630. "uploking.com",
  631. "silofiles.com",
  632. "upfile.in",
  633. "filehook.com",
  634. "uploadking.com",
  635. "uploadhere.com",
  636. "kewlshare.com",
  637. "rapidable.com",
  638. "uploadwaste.com",
  639. "filemup.com",
  640. "filesonic.com|sharingmatrix.com",
  641. "fileserve.com",
  642. "wupload.com",
  643. "skipfile.com",
  644. "smartuploader.com",
  645. "dualshare.com",
  646. "storeandserve.com",
  647. "mountfile.com",
  648. "transitfiles.com",
  649. "uploadstation.com",
  650. "filejungle.com",
  651. "shareshared.com",
  652. "quickyshare.com",
  653. "save.am",
  654. "petandrive.com",
  655. "file2box.com",
  656. "flyshare.cz",
  657. "yabadaba.ru",
  658. "cloudcache.cc",
  659. "yourfilehost.com",
  660. "jakfile.com",
  661. "kickload.com",
  662. "pyramidfiles.com",
  663. "refile.net",
  664. "zshare.net",
  665. "ddlani.me|ddlanime.com",
  666. "ftp2share.com",
  667. "fooget.com",
  668. "rapidhide.com",
  669. "gotupload.com",
  670. "mooload.com",
  671. "zupload.com",
  672. "mytempdir.com",
  673. "onionshare.com",
  674. "stahnu.to",
  675. "oron.com",
  676. "badongo.com",
  677. "filereactor.com",
  678. "filegaze.com",
  679. "4bytez.com",
  680. "1hostclick.com",
  681. "anonstream.com",
  682. "batshare.com",
  683. "bitroad.net",
  684. "brontofile.com",
  685. "cloudnxt.net",
  686. "cloudnator.com|shragle.com",
  687. "filesfrog.net",
  688. "coolshare.cz",
  689. "dotavi.com",
  690. "ezyfile.net",
  691. "file-bit.net",
  692. "filecosy.com",
  693. "fileduct.com|fileduct.net",
  694. "filefat.com",
  695. "filelaser.com",
  696. "filemashine.com",
  697. "fileserver.cc",
  698. "filetechnology.com",
  699. "fireuploads.net",
  700. "gigfiles.net",
  701. "holderfile.com",
  702. "ihostia.com",
  703. "k2files.com",
  704. "mojofile.com",
  705. "ovfile.com",
  706. "qshare.com",
  707. "shafiles.me",
  708. "sharefilehost.com",
  709. "shareupload.com",
  710. "stahuj.to",
  711. "ugotfile.com",
  712. "uploadboost.com",
  713. "fileom.com",
  714. "vidhog.com",
  715. "xfileshare.eu",
  716. "bzlink.us",
  717. "bulletupload.com",
  718. "bloggerarticles.com",
  719. "mojedata.sk",
  720. "sharpfile.com",
  721. "upgrand.com",
  722. "nasdilej.cz",
  723. "mediatack.cz",
  724. "share-it.to",
  725. "primeupload.com",
  726. "filebeer.info",
  727. "baberepublic",
  728. "xtu.me",
  729. "sharebase.de",
  730. "luckyshare.net",
  731. "filerobo.com",
  732. "filevelocity.com",
  733. "filezpro.com",
  734. "file4sharing.com",
  735. "cing.be",
  736. "ufile.eu",
  737. "pigsonic.com",
  738. "fileupped.com",
  739. "sharerun.com",
  740. "filesaur.com",
  741. "rapidslnare.com",
  742. "bestsharing.com",
  743. "savefiles.net",
  744. "file2share.biz",
  745. "filecache.de",
  746. "monsteruploads.eu",
  747. "b9bb.com",
  748. "aiotool.net",
  749. "jamber.info",
  750. "megaftp.com",
  751. "desiupload.net",
  752. "file27.com",
  753. "yastorage.com",
  754. "filehost.ws",
  755. "copyload.com",
  756. "venusfile.com",
  757. "aieshare.com",
  758. "terafile.co",
  759. "terafile.com",
  760. "fileza.net",
  761. "filerose.com",
  762. "squillion.com",
  763. "fileprohost.com",
  764. "bitbonus.com",
  765. "warserver.cz",
  766. "uload.to",
  767. "sharedbit.net",
  768. "megaload.it",
  769. "filewinds.com",
  770. "uploadcore.com",
  771. "syfiles.com",
  772. "eyesfile.com",
  773. "hotfile.com",
  774. "superupl.com",
  775. "oteupload.com",
  776. "henchfile.com",
  777. "filegag.com",
  778. "HenchFile.com",
  779. "filedefend.com",
  780. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  781. "megabitshare.com",
  782. "cloudzer.com",
  783. "asfile.com",
  784. "cloudzer.net",
  785. "clz.to",
  786. "extabit.com",
  787. "247upload.com",
  788. "2download.de",
  789. "4fastfile.com",
  790. "asixfiles.com",
  791. "berofile.com",
  792. "bigupload.com",
  793. "cepzo.com",
  794. "clouds.to",
  795. "cobrashare.sk",
  796. "coraldrive.net",
  797. "cyberlocker.ch",
  798. "czshare.com",
  799. "darkport.org",
  800. "dark-uploads.com",
  801. "davvas.com",
  802. "enigmashare.com",
  803. "erofly.cz",
  804. "fastsonic.net",
  805. "filebox.com",
  806. "filecity.net",
  807. "filedap.com",
  808. "filedino.com",
  809. "filedownloads.org",
  810. "filefolks.com",
  811. "fileking.co",
  812. "filemates.com",
  813. "files.to",
  814. "files2k.eu",
  815. "filesector.cc",
  816. "bitshare.com",
  817. "filesega.com",
  818. "filesend.net",
  819. "filestay.com",
  820. "filestrum.com",
  821. "fileuplo.de",
  822. "fileupup.com",
  823. "forunesia.com",
  824. "freeuploads.fr",
  825. "uploa.dk",
  826. "getthebit.com",
  827. "getzilla.net",
  828. "goldfile.eu",
  829. "good.com",
  830. "grupload.com",
  831. "hellfile.com",
  832. "hipfile.com",
  833. "hitfile.com",
  834. "hulkfile.eu|duckfile.net",
  835. "i-filez.com",
  836. "ifile.ws",
  837. "kupload.org",
  838. "packupload.com",
  839. "lemuploads.com",
  840. "limelinx.com",
  841. "maxshare.pl",
  842. "megarelease.org",
  843. "megashares.com",
  844. "megashare.com",
  845. "minus.com",
  846. "mlfat4arab.com",
  847. "multishare.cz",
  848. "nirafile.com",
  849. "ok2upload.com",
  850. "peejeshare.com",
  851. "premiuns.org",
  852. "przeklej.net",
  853. "qkup.net",
  854. "rapidupload.sk",
  855. "rockdizfile.com",
  856. "rocketfile.net",
  857. "share-now.net",
  858. "share76.com",
  859. "sharebees.com",
  860. "sharefiles.co",
  861. "slingfile.com",
  862. "sms4file.com",
  863. "space4file.com",
  864. "tigershare.net",
  865. "toucansharing.com",
  866. "ubuntuone.com",
  867. "unextfiles.com",
  868. "upaj.pl",
  869. "upfile.biz",
  870. "uploadbin.net",
  871. "uploadic.com",
  872. "uploadinc.com",
  873. "uploading4u.eu",
  874. "uploadjet.net",
  875. "uploadorb.com",
  876. "upthe.net",
  877. "uptorch.com",
  878. "vidbox.yt",
  879. "videozer.com",
  880. "vreer.com",
  881. "wallobit.com",
  882. "zooupload.com",
  883. "privatefiles.com",
  884. "xerver.co",
  885. "BillionUploads.com",
  886. "rapidshare.com",
  887. "rapidshare.ru",
  888. "4savefile.com",
  889. "bayfiles.com",
  890. "bayfiles.net",
  891. "dodane.pl",
  892. "dotsemper.com",
  893. "egofiles.com",
  894. "epicshare.net",
  895. "fiberupload.net",
  896. "filemonkey.in",
  897. "filemonster.net",
  898. "filepom.com",
  899. "filesbb.com",
  900. "filevice.com",
  901. "gigaup.fr",
  902. "isavelink.com",
  903. "loombo.com",
  904. "megafiles.se",
  905. "migupload.com",
  906. "mydisc.net",
  907. "nitrobits.com",
  908. "potload.com",
  909. "redload.net",
  910. "shareprofi.com",
  911. "sharesuper.info",
  912. "sinhro.net",
  913. "speedfile.cz",
  914. "speedshare.org",
  915. "storage.novoro.net",
  916. "swankshare.com",
  917. "swatupload.com",
  918. "upafile.com",
  919. "uploadmachine.com",
  920. "uploadsat.com",
  921. "upshared.com",
  922. "usefile.com",
  923. "yourfiles.to",
  924. "zomgupload.com",
  925. "ultramegabit.com",
  926. "uploadto.us",
  927. "inafile.com",
  928. "megairon.net",
  929.  
  930. ];
  931. ///////////////////////////////////////////////////////////////////////////////////////
  932. var firstRun = GM_getValue("First_run", true);
  933.  
  934. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  935. //////////////////////////////////////////////////////////////////////////////////////
  936. try
  937. {
  938. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  939. var last_known_version = GM_getValue("last_known_version", "");
  940. if (!last_known_version)
  941. {
  942. last_known_version = thisVersion;
  943. GM_setValue("last_known_version", last_known_version);
  944. }
  945. //var newVersion = !(thisVersion == last_known_version);
  946. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  947. GM_setValue("last_known_version", thisVersion);
  948. }
  949. catch (err)
  950. {
  951. var newVersion = false;
  952. }
  953.  
  954. var now = (new Date()).getTime();
  955. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  956. if (!last_custom_rules_nag)
  957. {
  958. last_custom_rules_nag = now;
  959. GM_setValue('last_custom_rules_nag', ''+now);
  960. }
  961.  
  962.  
  963. allHostNames.sort();
  964. allContainerNames.sort();
  965. allObsoleteNames.sort();
  966.  
  967. var RAND_STRING = "8QyvpOSsRG3QWq";
  968. var DEBUG_MODE = false;
  969.  
  970. var TOOLTIP_MAXWIDTH = 600; //in pixels
  971. var TOOLTIP_THUMBWIDTH = 200;
  972. var containers_processed = false;
  973.  
  974. //settings for keyboard functions start
  975. var CHECK_ALL_LINKS_KEY = "A";
  976. var CONFIGURATION_KEY = "C";
  977. var copy_to_dead_key = "D";
  978. var copy_to_live_key = "L";
  979. var toggle_autocheck_key = "W";
  980. var toggle_Enable_Anonymizer_key = "Z";
  981. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  982. var first_key_keycodename = 'CTRL';
  983. var second_key_keycode = '18';
  984. var second_key_keycodename = 'ALT';
  985. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  986. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  987. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  988. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  989. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  990. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  991. //settings for keyboard functions end
  992.  
  993. //global settings start
  994. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  995. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  996. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  997. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  998. var Show_progress_stats, Display_tooltip_info, Icon_set;
  999. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1000. var Progress_box_refresh_rate;
  1001. var Obsolete_file_hosts;
  1002. var Custom_rules, Custom_rules_text;
  1003. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1004.  
  1005. var messageBox = document.createElement('b'); // top-left message box
  1006.  
  1007. var cLinksTotal = 0;
  1008. var cLinksDead = 0;
  1009. var cLinksAlive = 0;
  1010. var cLinksUnava = 0;
  1011. var cLinksprem = 0;
  1012. var cLinksProcessed = 0;
  1013.  
  1014. var intervalId; //for updateProgress()
  1015.  
  1016. //icon resources
  1017. 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/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzb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hASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1024. 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=';
  1025. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAA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juFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1030. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1031.  
  1032. //global settings end
  1033. if (window.opera && !window.console)
  1034. {
  1035. window.console = {};
  1036.  
  1037. function fn()
  1038. {
  1039. opera.postError(arguments);
  1040. };
  1041. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1042. {
  1043. window.console[name] = fn;
  1044. });
  1045. }
  1046.  
  1047. //displays colored text in message box
  1048. function sendMessage(text, color)
  1049. {
  1050. var msgDiv = document.createElement('div');
  1051. msgDiv.style.color = color;
  1052. msgDiv.innerHTML = text;
  1053. messageBox.appendChild(msgDiv);
  1054. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1055. }
  1056.  
  1057. function linkify(totalourls)
  1058. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1059. var ikkeTilladteTags;
  1060. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1061. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1062. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1063. allLinksRegex = new RegExp(allLinksRegex, "g");
  1064. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1065.  
  1066. if (Do_not_linkify_DL_links)
  1067. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1068. else
  1069. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1070.  
  1071. var regex = new RegExp(regexy);
  1072. var textNode, muligtLink;
  1073.  
  1074. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1075. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1076.  
  1077. var i = textNodes.snapshotLength;
  1078. while (i--)
  1079. {
  1080. textNode = textNodes.snapshotItem(i);
  1081.  
  1082. muligtLink = textNode.nodeValue; //all links on page
  1083.  
  1084. var myArray = null;
  1085. var span = null;
  1086. var lastLastIndex = 0;
  1087. allLinksRegex.lastIndex = 0;
  1088. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1089. {
  1090. if (textNode.parentNode.className == "adead_link") continue;
  1091. var censoredLink = muligtLink;
  1092. var span = document.createElement('span');
  1093. span.className = "adead_link";
  1094. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1095. $(span).html(censoredLink);
  1096. span.addEventListener("mouseover", displayTooltipError, false);
  1097. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1098. textNode.parentNode.replaceChild(span, textNode);
  1099. continue;
  1100. alert(censoredLink);
  1101. }
  1102. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1103. {
  1104. if (!regex.test(myArray[0])) //this link is not recognized
  1105. {
  1106.  
  1107. continue;
  1108. }
  1109. if (!span)
  1110. span = document.createElement('span');
  1111.  
  1112. var link = myArray[0];
  1113. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1114.  
  1115. var $a = $("<a>" + link + "</a>")
  1116. if (!link.match(/https?:\/\//))
  1117. {
  1118. link = 'http://' + link;
  1119. }
  1120.  
  1121. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1122. .addClass("processing_link")
  1123. .appendTo(span);
  1124. lastLastIndex = allLinksRegex.lastIndex;
  1125. }
  1126. if (span)
  1127. {
  1128. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1129. textNode.parentNode.replaceChild(span, textNode);
  1130. }
  1131. }
  1132. }
  1133.  
  1134. function add_WARLC_style()
  1135. {
  1136. if (!(document.getElementsByTagName('WARLC')[0]))
  1137. {
  1138. var meta_not_to_add_more_style = document.createElement("WARLC");
  1139. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1140. meta_not_to_add_more_style.setAttribute('name', 'description');
  1141. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1142. alive_link_png = "";
  1143. adead_link_png = "";
  1144. unava_link_png = "";
  1145. prem_link_png = "";
  1146. switch(Icon_set)
  1147. {
  1148. //no icons
  1149. case 0: break;
  1150. // cat paws
  1151. case 1: alive_link_png = PAW_ICON_GREEN;
  1152. adead_link_png = PAW_ICON_RED;
  1153. unava_link_png = PAW_ICON_YELLOW;
  1154. prem_link_png = PAW_ICON_PINK;
  1155. break;
  1156. // classic RSLC look
  1157. case 2: alive_link_png = RSLC_ICON_GREEN;
  1158. adead_link_png = RSLC_ICON_RED;
  1159. unava_link_png = RSLC_ICON_YELLOW;
  1160. prem_link_png = RSLC_ICON_PINK;
  1161. break;
  1162. // New Icons
  1163. case 3: alive_link_png = NEW_ICON_GREEN;
  1164. adead_link_png = NEW_ICON_RED;
  1165. unava_link_png = NEW_ICON_YELLOW;
  1166. prem_link_png = NEW_ICON_PINK;
  1167. break;
  1168. // cat paws
  1169. default:alive_link_png = PAW_ICON_GREEN;
  1170. adead_link_png = PAW_ICON_RED;
  1171. unava_link_png = PAW_ICON_YELLOW;
  1172. prem_link_png = PAW_ICON_PINK;
  1173. break;
  1174. }
  1175. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1176. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1177.  
  1178. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1179.  
  1180. if (Color_DL_links)
  1181. {
  1182. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1183. live_color_css = 'color:' + Live_links_color + ' !important;';
  1184. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1185. container_color_css = 'color:' + Container_links_color + ' !important;';
  1186. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1187. }
  1188. else
  1189. {
  1190. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1191. }
  1192.  
  1193. if (Show_black_background_in_DL_links)
  1194. {
  1195. black_background_css = 'background-color: black !important;';
  1196. }
  1197. else
  1198. {
  1199. black_background_css = '';
  1200. }
  1201.  
  1202. if (Show_line_through_in_dead_links)
  1203. {
  1204. line_through_css = 'text-decoration: line-through !important;';
  1205. }
  1206. else
  1207. {
  1208. line_through_css = '';
  1209. }
  1210.  
  1211. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1212. 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 + "}");
  1213. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1214. GM_addStyle(".processing_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_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1216. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1217. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1218. }
  1219. }
  1220.  
  1221. var warlcTooltip = null;
  1222. var mouseoverLink = null; //link href with mouse cursor over it
  1223.  
  1224. var lastX = 0;
  1225. var lastY = 0;
  1226.  
  1227. $(document).ready(initTooltip);
  1228. //inits tooltip
  1229. function initTooltip()
  1230. { warlcTooltip = document.createElement("div");
  1231. 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;");
  1232. warlcTooltip.style.visibility = "hidden";
  1233. document.body.appendChild(warlcTooltip);
  1234. }
  1235.  
  1236. //"mousemove" event handler for all links
  1237. function moveTooltip(event)
  1238. {
  1239. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1240. { //no need to reflow if the cursor moved just a little
  1241. return;
  1242. }
  1243. else
  1244. {
  1245. lastX = event.clientX;
  1246. lastY = event.clientY;
  1247. }
  1248.  
  1249. posX = event.clientX + window.pageXOffset + 10;
  1250. posY = event.clientY + window.pageYOffset;
  1251. var ttHeight = warlcTooltip.offsetHeight;
  1252. var ttFreeSpace = window.innerHeight - event.clientY;
  1253. if (ttHeight > ttFreeSpace)
  1254. { //prevents tooltip from getting out of the window
  1255. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1256. }
  1257. else
  1258. {
  1259. posY += 7;
  1260. }
  1261. warlcTooltip.style.top = posY + "px";
  1262. warlcTooltip.style.left = posX + "px";
  1263. }
  1264.  
  1265. //"mouseout" event handler for all links
  1266. function hideTooltip(){
  1267. warlcTooltip.style.visibility = "hidden";
  1268. mouseoverLink = null;
  1269. }
  1270.  
  1271.  
  1272. //"mouseover" event handler for dead links
  1273. //displays tooltip error message on dead links
  1274. function displayTooltipError()
  1275. {
  1276. mouseoverLink = this.href;
  1277. this.addEventListener("mouseout", hideTooltip);
  1278. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1279. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1280. warlcTooltip.style.minWidth = 0;
  1281. warlcTooltip.style.visibility = "visible";
  1282. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1283. {
  1284. warlcTooltip.innerHTML = this.warlc_error;
  1285. }
  1286. else
  1287. {
  1288. loadErrorInfo(this);
  1289. }
  1290. function loadErrorInfo(link)
  1291. {
  1292. var href = link.href;
  1293. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1294. GM_xmlhttpRequest({
  1295. method: 'GET',
  1296. url: href.replace(Ref_anonymize_service, ""),
  1297. headers: {
  1298. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1299. 'Accept': 'text/xml',
  1300. 'Referer': ""
  1301. },
  1302. onload: function(result) {
  1303. var res = result.responseText;
  1304. //TODO: errorRegexs -
  1305. var errorRegexs = [ //generic error messages follow
  1306. /(empty directory)/i,
  1307. /(soubor nebyl nalezen)/i,
  1308. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1309. //server specific error messages follow
  1310. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1311. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1312. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1313. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1314. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1315. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1316. /class="red">(.+?)<(?:span|br)>/, //czshare
  1317. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1318. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1319. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1320. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1321. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1322. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1323. /(File has been removed due to Copyright Claim)/, //filerio
  1324. ];
  1325. var errorIdx = errorRegexs.length;
  1326. var error = "Cause of error: <b>unknown</b>";
  1327. var errorCandidate = "";
  1328. while(errorIdx--)
  1329. {
  1330. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1331. if (errorCandidate != null)
  1332. {
  1333. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1334. break;
  1335. }
  1336. }
  1337. //link attributes
  1338. link.warlc_error = error;
  1339. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1340. {
  1341. warlcTooltip.innerHTML = error;
  1342. }
  1343. }
  1344. });
  1345. }
  1346. }
  1347.  
  1348. //"mouseover" event handler for alive links
  1349. //displays tooltip info (file size, file name,...) on alive links
  1350. function displayTooltipInfo()
  1351. {
  1352. mouseoverLink = this.href;
  1353. //exclude direct download filehostings
  1354. 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)/))
  1355. {
  1356. return;
  1357. }
  1358. this.addEventListener("mouseout", hideTooltip);
  1359. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1360. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1361. warlcTooltip.style.minWidth = 0;
  1362. warlcTooltip.style.visibility = "visible";
  1363. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1364. {
  1365. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1366. }
  1367. else
  1368. {
  1369. loadInfo(this);
  1370. }
  1371. function loadInfo(link)
  1372. {
  1373. var href = link.href;
  1374. GM_xmlhttpRequest({
  1375. method: 'GET',
  1376. url: href.replace(Ref_anonymize_service, ""),
  1377. headers: {
  1378. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1379. 'Accept': 'text/xml',
  1380. 'Referer': ""
  1381. },
  1382. onload: function(result) {
  1383. var res = result.responseText;
  1384. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1385. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1386. /fl" title="(.+?)">/, //edisk
  1387. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1388. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1389. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1390. /title="download (.+?)">/, //sendspace
  1391. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1392. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1393. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1394. /d0FileName = "(.+?)";/, //letitbit
  1395. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1396. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1397. /fname" value="(.+?)">/, //syfiles, grupload,
  1398. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1399. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1400. /Complete name : (.+?)<br \/>/, //bezvadata
  1401. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1402. ];
  1403. var nameIdx = nameRegexs.length;
  1404. // [sizeRegexs]
  1405. // / \ \?
  1406. // prefix (size) postfix
  1407. // / \
  1408. // val quant
  1409. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1410. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1411. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1412. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1413. var postSizeRegex = '(?:\\))?';
  1414. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1415. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1416. ];
  1417. var sizeIdx = sizeRegexs.length;
  1418. //
  1419. //
  1420. var tooltip = "File Name: <b>";
  1421. var fileName = "unknown";
  1422. var nameCandidate = "";
  1423. while(nameIdx--)
  1424. {
  1425. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1426. if (nameCandidate != null)
  1427. {
  1428. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1429. break;
  1430. }
  1431. }
  1432. tooltip += fileName + "</b><br>File Size: <b>";
  1433. var fileSize = "unknown";
  1434. var sizeCandidate = "";
  1435. while(sizeIdx--)
  1436. {
  1437. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1438. if (sizeCandidate != null)
  1439. {
  1440. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1441. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1442. {
  1443. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1444. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1445. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1446. }
  1447. break;
  1448. }
  1449. }
  1450. tooltip += fileSize + "</b>";
  1451. // PROTOTYPE
  1452. // video thumbnails
  1453. if (href.match('hellshare'))
  1454. {
  1455. var thumbs;
  1456. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1457. if (thumbs)
  1458. {
  1459. tooltip += '<br>';
  1460. var j = Math.min(thumbs.length, 9);
  1461. for (var i = 0; i < j; i++)
  1462. {
  1463. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1464. }
  1465. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1466. }
  1467. }
  1468. if (href.match('czshare'))
  1469. {
  1470. var thumbs;
  1471. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1472. if (thumbs)
  1473. {
  1474. var thumbsServer = thumbs[1];
  1475. var thumbsId = thumbs[2];
  1476. tooltip += '<br>';
  1477. for (var i = 1; i < 9; i++)
  1478. {
  1479. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1480. }
  1481. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1482. }
  1483. }
  1484. if (href.match('bezvadata'))
  1485. {
  1486. var thumbs;
  1487. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1488. if (thumbs)
  1489. {
  1490. tooltip += '<br>';
  1491. var j = Math.min(thumbs.length, 9);
  1492. for (var i = 0; i < j; i++)
  1493. {
  1494. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1495. }
  1496. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1497. }
  1498. }
  1499. link.warlc_tooltipcache = tooltip;
  1500. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1501. {
  1502. warlcTooltip.innerHTML = tooltip;
  1503. }
  1504. }
  1505. });
  1506. }
  1507. }
  1508.  
  1509. function setVariables()
  1510. {
  1511. if (firstRun)
  1512. {
  1513. GM_log('First run, applying default settings...');
  1514. GM_setValue("Icon_set",1);
  1515. GM_setValue("Display_tooltip_info",true);
  1516. GM_setValue("Show_black_background_in_DL_links",false);
  1517. GM_setValue("Show_line_through_in_dead_links",false);
  1518. GM_setValue("Display_full_links_in_link_containers",false);
  1519. GM_setValue("Allow_spaces_in_DL_links",false);
  1520. GM_setValue("Autocheck",true);
  1521. GM_setValue("Enable_Anonymizer",false);
  1522. GM_setValue("Do_not_linkify_DL_links",false);
  1523. GM_setValue("Show_progress_stats",true);
  1524. GM_setValue("Keyboard_functions",true);
  1525. GM_setValue("Obsolete_file_hosts",false);
  1526. GM_setValue("Color_DL_links",true);
  1527. GM_setValue("Live_links_color","Green");
  1528. GM_setValue("Dead_links_color","#FF3300");
  1529. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1530. GM_setValue("Container_links_color","DarkKhaki");
  1531. GM_setValue("Premium_links_color","DeepPink");
  1532. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1533. GM_setValue("Custom_rules",false);
  1534. GM_setValue("Custom_rules_text","");
  1535. GM_setValue("Processbox_Pos_Y", 0);
  1536. GM_setValue("Processbox_Pos_X", 88);
  1537. GM_setValue("Progressbox_Scaling", 100);
  1538. GM_setValue("First_run", false);
  1539. }
  1540. //hidden settings
  1541. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1542. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1543. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1544. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1545. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1546. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1547. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1548. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1549. //hidden settings end
  1550.  
  1551. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1552. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1553. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1554. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1555. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1556. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1557. Autocheck = GM_getValue("Autocheck", true);
  1558. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1559. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1560. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1561. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1562. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1563. Color_DL_links = GM_getValue("Color_DL_links", true);
  1564. Live_links_color = GM_getValue("Live_links_color", "Green");
  1565. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1566. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1567. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1568. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1569. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1570. Custom_rules = GM_getValue("Custom_rules", false);
  1571. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1572. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1573. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1574. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1575. }
  1576.  
  1577.  
  1578. // Delinkifies the links
  1579. // params:
  1580. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1581. // e.g. 'uloz.to/xs68skxl8')
  1582. function delinkifySnapshot(snapshot)
  1583. {
  1584. var n = snapshot.snapshotLength;
  1585.  
  1586. while (n--)
  1587. {
  1588. thisLink = snapshot.snapshotItem(n);
  1589.  
  1590. var spanElm = document.createElement("span");
  1591. spanElm.className = thisLink.className;
  1592. spanElm.innerHTML = thisLink.innerHTML;
  1593.  
  1594. if (Display_tooltip_info)
  1595. {
  1596. spanElm.href = thisLink.href;
  1597. switch (thisLink.className){
  1598. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1599. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1600. case "unava_link": //reserved
  1601. default:
  1602. }
  1603. }
  1604. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1605. }
  1606. }
  1607.  
  1608. function processContainers()
  1609. {
  1610. var redirectorTypes = { "HTTP_302": 0,
  1611. "INNER_LINK": 1,
  1612. "THELOO_KATT_IT": 2,
  1613. "CING_BE": 3,
  1614. "ADF_LY": 4};
  1615. var cMultiloadTotal = 0;
  1616. var cMultiloadProcessed = 0;
  1617.  
  1618. var cMirrorcreatorComTotal = 0;
  1619. var cMirrorcreatorComProcessed = 0;
  1620.  
  1621. var hostRestrictionRegex = "";
  1622. var multiloadComRestriction = "";
  1623. var multiloadComRestrictionRegex;
  1624.  
  1625. //
  1626. //HANDLING REDIRECTORS START
  1627. //
  1628.  
  1629. var redirectors = new Array();
  1630. initRedirectors();
  1631.  
  1632. var redirectorsCount = redirectors.length;
  1633.  
  1634. if (redirectorsCount > 0)
  1635. {
  1636. var allRedirectorsRegex = "";
  1637.  
  1638. //linkify redirector links
  1639. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1640. {
  1641. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1642. }
  1643. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1644. linkify(allRedirectorsRegex);
  1645. //
  1646. //process redirector links
  1647. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1648. {
  1649. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1650. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1651.  
  1652. cLinksTotal += redirectors[redirIdx].cTotal;
  1653. var linkIdx = redirectors[redirIdx].cTotal;
  1654.  
  1655. while(linkIdx--)
  1656. {
  1657. switch(redirectors[redirIdx].type)
  1658. {
  1659. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1661. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1662. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1663. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1664. default:
  1665. }
  1666. }
  1667. }
  1668. //
  1669. }
  1670.  
  1671. //HTTP_302
  1672. function processRedirectorLink(link, redirectorId)
  1673. {
  1674. link.className = 'container_link';
  1675.  
  1676. GM_xmlhttpRequest({
  1677. method: 'HEAD',
  1678. url: link.href,
  1679. headers: {
  1680. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1681. 'Accept': 'text/xml',
  1682. 'Referer': ""
  1683. },
  1684. onload: function(result) {
  1685. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1686. {
  1687. processRedirectorLink(link, redirectorId);
  1688. }
  1689. else
  1690. {
  1691. redirectors[redirectorId].cProcessed++;
  1692. link.href = result.finalUrl;
  1693. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1694. checkLinks('container_link');
  1695. }
  1696. },
  1697. onerror: function(result) { //probably caused by unresponsive filehosting
  1698. redirectors[redirectorId].cProcessed++;
  1699. link.className = 'unava_link';
  1700. cLinksProcessed++;
  1701. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1702. checkLinks('container_link');
  1703. }
  1704. });
  1705. }
  1706. //INNER_LINK
  1707. function processRedirectorLinkEx(link, redirectorId)
  1708. {
  1709. link.className = 'container_link';
  1710. GM_xmlhttpRequest({
  1711. method: 'GET',
  1712. url: link.href,
  1713. headers: {
  1714. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1715. 'Accept': 'text/xml',
  1716. 'Referer': ""
  1717. },
  1718. onload: function(result) {
  1719. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1720. redirectors[redirectorId].cProcessed++;
  1721. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1722. checkLinks('container_link');
  1723. }
  1724. });
  1725. }
  1726. //theloo.katt.it (wrapped safelinking.net)
  1727. function processThelooKattItLink(link, redirectorId)
  1728. {
  1729. link.className = 'container_link';
  1730. GM_xmlhttpRequest({
  1731. method: 'GET',
  1732. url: link.href,
  1733. headers: {
  1734. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1735. 'Accept': 'text/xml',
  1736. 'Referer': ""
  1737. },
  1738. onload: function(result) {
  1739. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1740. redirectors[redirectorId].cProcessed++;
  1741. //the inner links are safelinking.net links, so lets proceed with it
  1742. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1743. {
  1744. processRedirectorLink(link, 0);
  1745. }
  1746. }
  1747. });
  1748. }
  1749. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1750. function processAdfLyLink(link, redirectorId)
  1751. {
  1752. link.className = 'container_link';
  1753. GM_xmlhttpRequest({
  1754. method: 'GET',
  1755. url: link.href,
  1756. headers: {
  1757. 'User-agent': 'Mozilla/4.0',
  1758. 'Accept': 'text/xml',
  1759. 'Referer': ""
  1760. },
  1761. onload: function(result) {
  1762. if (result.finalUrl.match('/locked/'))
  1763. {
  1764. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1765. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1766. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1767. }
  1768. else
  1769. {
  1770. // GM_log('Processing... ' + link.href);
  1771. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1772. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1773. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1774. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1775. //confirm advert
  1776. GM_xmlhttpRequest(
  1777. {
  1778. method: 'POST',
  1779. url: 'http://adf.ly/l.php',
  1780. headers: {
  1781. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1782. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1783. 'Referer': link.href
  1784. },
  1785. data: users + '&lt=' + logToken,
  1786. onload: function(result) {
  1787. //retrieve final url from .../go/... link
  1788. GM_xmlhttpRequest({
  1789. method: 'GET',
  1790. url: directLink,
  1791. headers: {
  1792. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1793. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1794. 'Referer': link.href
  1795. },
  1796. onload: function(result) {
  1797. link.href = result.finalUrl;
  1798. redirectors[redirectorId].cProcessed++;
  1799. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1800. checkLinks('container_link');
  1801. }
  1802. });
  1803. }
  1804. });
  1805. }
  1806. }
  1807. });
  1808. function proceedOK()
  1809. {
  1810. }
  1811. }
  1812. //MULTILOAD.CZ START
  1813. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1814. {
  1815. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1816. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1817.  
  1818. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1819.  
  1820. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1821. hostRestrictionRegex += 'hellshare|';
  1822. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1823. hostRestrictionRegex += 'downloadhellshare|';
  1824. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1825. hostRestrictionRegex += 'share-rapid\\.com|';
  1826. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1827. hostRestrictionRegex += 'quickshare\\.cz|';
  1828. if (GM_getValue("Check_czshare_dot_com_links", false))
  1829. hostRestrictionRegex += 'czshare\\.com|';
  1830. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1831. hostRestrictionRegex += 'hellspy|';
  1832. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1833. hostRestrictionRegex += 'multishare\\.cz|';
  1834.  
  1835. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1836.  
  1837. linkify(mlRegex);
  1838.  
  1839. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1840. var mlCount = mlSnapshot.snapshotLength;
  1841.  
  1842. if (mlCount > 0)
  1843. {
  1844. cMultiloadTotal += mlCount;
  1845.  
  1846. mlIdx = mlCount - 1;
  1847. do
  1848. {
  1849. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1850. }
  1851. while(mlIdx--)
  1852. }
  1853. }
  1854. //MULTILOAD.CZ END
  1855.  
  1856.  
  1857.  
  1858. function processMultiloadLink(mlLink)
  1859. {
  1860. GM_xmlhttpRequest({
  1861. method: 'GET',
  1862. url: mlLink.href,
  1863. headers: {
  1864. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1865. 'Accept': 'text/xml',
  1866. 'Referer': ""
  1867. },
  1868. onload: function(result) {
  1869. var res = result.responseText;
  1870.  
  1871. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1872. 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;
  1873. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1874. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1875.  
  1876. var blocks; // blocks of links
  1877. var blockIdx;
  1878.  
  1879. mlLink.className = '';
  1880.  
  1881. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1882. {
  1883. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1884. return;
  1885. }
  1886.  
  1887. blocks = res.match(innerBlockRegex);
  1888.  
  1889. if (blocks == null) //no links found, cancel further processing
  1890. {
  1891. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1892. cMultiloadProcessed++;
  1893. if (cMultiloadTotal <= cMultiloadProcessed)
  1894. {
  1895. startBulkCheck('container_link');
  1896. start('container_link');
  1897. }
  1898. return;
  1899. }
  1900.  
  1901. blockIdx = blocks.length;
  1902.  
  1903. if (Display_full_links_in_link_containers)
  1904. {
  1905. var ulElm = document.createElement('ul');
  1906. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1907.  
  1908. while(blockIdx--)
  1909. {
  1910. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1911. {
  1912. continue;
  1913. }
  1914.  
  1915. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1916.  
  1917. var linkIdx = innerLinks.length;
  1918. while (linkIdx--)
  1919. {
  1920. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1921.  
  1922. var liElm = document.createElement('li');
  1923.  
  1924. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1925. {
  1926. liElm.appendChild(document.createTextNode(innerLink));
  1927. }
  1928. else
  1929. {
  1930. var aElm = document.createElement('a');
  1931. aElm.innerHTML = innerLink;
  1932. aElm.href = innerLink;
  1933. aElm.className = 'container_link';
  1934.  
  1935. liElm.appendChild(aElm);
  1936. }
  1937.  
  1938. ulElm.appendChild(liElm);
  1939. cLinksTotal++;
  1940. }
  1941. }
  1942.  
  1943. mlLink.parentNode.appendChild(ulElm);
  1944. }
  1945. else //compact view
  1946. {
  1947. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1948.  
  1949. while(blockIdx--)
  1950. {
  1951. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1952. {
  1953. continue;
  1954. }
  1955.  
  1956. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1957.  
  1958. var linkIdx = innerLinks.length;
  1959. while (linkIdx--)
  1960. {
  1961. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1962.  
  1963. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1964. {
  1965. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1966. }
  1967. else
  1968. {
  1969. var aElm = document.createElement('a');
  1970.  
  1971. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1972.  
  1973. //abbreviate host name
  1974. switch(hostName + ""){
  1975.  
  1976. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1977. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1978. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1979. case 'multishare': aElm.innerHTML = 'MS'; break;
  1980. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1981. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1982. case 'czshare': aElm.innerHTML = 'CS'; break;
  1983. default: aElm.innerHTML = 'xx';
  1984.  
  1985. }
  1986.  
  1987. aElm.href = innerLink;
  1988. aElm.className = 'container_link';
  1989.  
  1990. mlLink.parentNode.appendChild(aElm);
  1991. cLinksTotal++;
  1992. }
  1993. }
  1994.  
  1995. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1996.  
  1997. }
  1998. }
  1999.  
  2000. cMultiloadProcessed++;
  2001. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2002. {
  2003. if (Do_not_linkify_DL_links)
  2004. {
  2005. delinkifySnapshot(mlSnapshot);
  2006. }
  2007. startBulkCheck('container_link');
  2008. start('container_link');
  2009. }
  2010. }
  2011. });
  2012. }
  2013.  
  2014.  
  2015. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2016. {
  2017. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2018. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2019. var mcShortHostNames =
  2020. '?? 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';
  2021. // 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
  2022. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2023. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2024. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2025. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2026.  
  2027. linkify(mcRegex);
  2028.  
  2029. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2030. var mcCount = mcSnapshot.snapshotLength;
  2031.  
  2032. cMirrorcreatorComTotal = mcCount;
  2033.  
  2034. if (mcCount > 0)
  2035. {
  2036. mcShortHostNames = mcShortHostNames.split(' ');
  2037. mcIdx = mcCount;
  2038. while(mcIdx--)
  2039. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2040. }
  2041.  
  2042. }
  2043. //MIRRORCREATOR.CZ END
  2044.  
  2045.  
  2046. //mirrorcreator.com checking works like this:
  2047. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2048. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2049. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2050. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2051. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2052. function processMirrorcreatorLink(mcLink)
  2053. {
  2054. var mcURL = mcLink.href.match(mcRegex);
  2055. if(!mcURL || !mcURL[1]) return;
  2056. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2057. GM_xmlhttpRequest({
  2058. method: 'GET',
  2059. url: mcURL,
  2060. headers: {
  2061. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2062. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2063. 'Referer': ""
  2064. },
  2065. onload: function(mcLinkResult) {
  2066. var mcLinkRes = mcLinkResult.responseText;
  2067.  
  2068. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2069. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2070.  
  2071. var mcRedirectors;
  2072. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2073. var m = mcLinkRes.match(mcLinkBlockRegex);
  2074. if (m)
  2075. mcHostsFound = m.length;
  2076. else
  2077. { //no files inside container
  2078. processMirrorcreatorFoundHosts(mcLink, []);
  2079. return;
  2080. }
  2081.  
  2082. var mcRedirectorURL, idx, timedOut = false;
  2083.  
  2084. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2085. GM_xmlhttpRequest({
  2086. method: 'GET',
  2087. url: mcRedirectorURL,
  2088. headers: {
  2089. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2090. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2091. 'Referer': ""
  2092. },
  2093. onload: function(mcHostResult) {
  2094. if (timedOut) return; //too late, the list is already displayed
  2095. var mcHostRes = mcHostResult.responseText;
  2096. var mcHost = mcHostRes.match(mcHostRegex);
  2097. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2098. if (mcHost && idx!=-1)
  2099. {
  2100. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2101. mcHostsRetrieved++;
  2102. mcHostsToProcess++;
  2103. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2104. {
  2105. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2106. mcHostsToProcess = 0;
  2107. }
  2108. }
  2109. } //end of onload: function
  2110. }); //end of GM_xmlhttpRequest call
  2111. };//end of var gmxhrFunc
  2112.  
  2113. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2114. { //load individual redirector pages
  2115. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2116. mcHostURLs.push(mcRedirectorURL);
  2117. mcRedirectorIDs.push(mcRedirectors[2]);
  2118. gmxhrFunc(mcRedirectorURL);
  2119. } //end of while block
  2120.  
  2121. setTimeout(function(){ //in case the last page fails to load and call the function
  2122. timedOut = true;
  2123. if (mcHostsToProcess)
  2124. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2125. }, 60000);
  2126.  
  2127. } //end of onload function
  2128. }); //end of GM_xmlhttpRequest call
  2129. } //end of function processMirrorcreatorLink
  2130.  
  2131.  
  2132. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2133. {
  2134. var aEl, liEl, docFrag;
  2135. var hostName, mcRedirectorID, trimFilename = false;
  2136. var i = mcHostURLs.length;
  2137. if (i == 0)
  2138. {
  2139. trimFilename = true;
  2140. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2141. }
  2142. else
  2143. {
  2144. if (Display_full_links_in_link_containers)
  2145. { //full view
  2146. var wrapperEl = document.createElement('span');
  2147. wrapperEl.style.display = 'block';
  2148. var ulistEl = document.createElement('ul');
  2149. ulistEl.className = 'container_list';
  2150. while (i--)
  2151. {
  2152. liEl = document.createElement('li');
  2153. aEl = document.createElement('a');
  2154. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2155. aEl.href = mcHostURLs[i];
  2156. aEl.className = 'container_link';
  2157. liEl.appendChild(aEl);
  2158. ulistEl.appendChild(liEl);
  2159. }
  2160. wrapperEl.appendChild(ulistEl);
  2161. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2162. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2163. }
  2164. else
  2165. { //compact view
  2166. trimFilename = true;
  2167. docFrag = document.createDocumentFragment();
  2168. docFrag.appendChild(document.createTextNode(' |'));
  2169. while (i--)
  2170. {
  2171. mcRedirectorID = mcRedirectorIDs[i];
  2172. hostName = mcHostURLs[i];
  2173. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2174. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2175. else
  2176. hostName = mcShortHostNames[mcRedirectorID];
  2177. aEl = document.createElement('a');
  2178. aEl.href = mcHostURLs[i];
  2179. aEl.className = 'container_link';
  2180. aEl.appendChild(document.createTextNode(hostName));
  2181. docFrag.appendChild(aEl);
  2182. docFrag.appendChild(document.createTextNode('|'));
  2183. }
  2184. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2185. } //end of else block
  2186. } //end of else block
  2187. mcLink.className = '';
  2188. if (trimFilename)
  2189. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2190. cMirrorcreatorComProcessed++;
  2191. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2192. {
  2193. if (Do_not_linkify_DL_links)
  2194. delinkifySnapshot(mcSnapshot);
  2195. startBulkCheck('container_link');
  2196. start('container_link');
  2197. }
  2198. } //end of function processMirrorcreatorFoundHosts
  2199.  
  2200. containers_processed = true;
  2201.  
  2202.  
  2203. function initRedirectors()
  2204. {
  2205. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2206. {
  2207. var redirector = new Object();
  2208. redirector.linkRegex = linkRegex;
  2209. redirector.xpath = xpathEx; //xpath expression
  2210. redirector.cProcessed = 0; //processed links count
  2211. redirector.cTotal = 0; //total links count
  2212. redirector.type = redirType; //redirectorTypes enum
  2213. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2214. redirectors.push(redirector);
  2215. }
  2216. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2217. {
  2218. addRedirector(
  2219. 'safelinking\\.net\/d\/\\w+',
  2220. "//a[contains(@href,'safelinking.net/d/')]",
  2221. redirectorTypes.HTTP_302,
  2222. null);
  2223. }
  2224. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2225. {
  2226. addRedirector(
  2227. 'linksafe\\.me\/d\/\\w+',
  2228. "//a[contains(@href,'linksafe.me/d/')]",
  2229. redirectorTypes.HTTP_302,
  2230. null);
  2231. }
  2232. if (GM_getValue("Check_linkto_dot_net_links", false))
  2233. {
  2234. addRedirector(
  2235. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2236. "//a[contains(@href,'linkto.net/?')]",
  2237. redirectorTypes.INNER_LINK,
  2238. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2239. }
  2240. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2241. {
  2242. addRedirector(
  2243. '(?:the)?loo\\.katt\\.it\/\\w+',
  2244. "//a[contains(@href,'loo.katt.it/')]",
  2245. redirectorTypes.THELOO_KATT_IT,
  2246. /Proceed to URL - <a href="(.+?)">/);
  2247. }
  2248. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2249. {
  2250. addRedirector(
  2251. 'madlink\\.sk\/\\w+',
  2252. "//a[contains(@href,'madlink.sk/')]",
  2253. redirectorTypes.INNER_LINK,
  2254. /name="url" value="(.+?)\s*"\/>/);
  2255. }
  2256. if (GM_getValue("Check_adf_dot_ly_links", false))
  2257. {
  2258. addRedirector(
  2259. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2260. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2261. redirectorTypes.ADF_LY,
  2262. null);
  2263. }
  2264. if (GM_getValue("Check_redi_dot_re_links", false))
  2265. {
  2266. addRedirector(
  2267. 'redi\\.re\/\\w+',
  2268. "//a[contains(@href,'redi.re/')]",
  2269. redirectorTypes.HTTP_302,
  2270. null);
  2271. }
  2272. if (GM_getValue("Check_bit_dot_ly_links", false))
  2273. {
  2274. addRedirector(
  2275. 'bit\\.ly\/\\w+',
  2276. "//a[contains(@href,'bit.ly/')]",
  2277. redirectorTypes.HTTP_302,
  2278. null);
  2279. }
  2280. }
  2281.  
  2282. }
  2283.  
  2284. var bulkHosts = new Array();
  2285. var bulkHostNames = new Array();
  2286. function initBulkCheck()
  2287. {
  2288. /////////////////////////////
  2289. // Inits filehost object
  2290. /////////////////////////////
  2291. // params :
  2292. // hostName -- [string] host name (multiple domains separated with coma)
  2293. // linkRegex -- [string] link regex
  2294. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2295. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2296. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2297. // corrReplWhat -- [regex] link correction regex (replace)
  2298. // corrReplWith -- [string]
  2299. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2300. //
  2301. // apiUrl -- [string] web linkchecker or API URL
  2302. // postData -- [string] POSTDATA of xmlhttprequest
  2303. // resLinkRegex -- [regex]
  2304. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2305. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2306. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2307. // func -- [function] bulkcheck handler, genBulkCheck if null
  2308. //
  2309. //////////////////////////////
  2310. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2311. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2312. {
  2313. var fileHost = new Object();
  2314.  
  2315. fileHost.linkRegex = linkRegex;
  2316. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2317. fileHost.xpath = xpath;
  2318. fileHost.cFound = 0; //found links counter
  2319. fileHost.links = new Array(); //found links
  2320. if (blockSize == null)
  2321. {
  2322. fileHost.blockSize = 50;
  2323. }
  2324. else
  2325. {
  2326. fileHost.blockSize = blockSize;
  2327. }
  2328. fileHost.corrMatch = corrMatch;
  2329. fileHost.corrReplWhat = corrReplWhat;
  2330. fileHost.corrReplWith = corrReplWith;
  2331. if (splitSeparator == null)
  2332. {
  2333. fileHost.splitSeparator = "\r\n";
  2334. }
  2335. else
  2336. {
  2337. fileHost.splitSeparator = splitSeparator;
  2338. }
  2339. fileHost.apiUrl = apiUrl;
  2340. fileHost.postData = postData;
  2341. fileHost.resLinkRegex = resLinkRegex;
  2342. fileHost.resLiveRegex = resLiveRegex;
  2343. fileHost.resDeadRegex = resDeadRegex;
  2344. fileHost.resUnavaRegex = resUnavaRegex;
  2345. if (func == null)
  2346. {
  2347. fileHost.func = genBulkCheck;
  2348. }
  2349. else
  2350. {
  2351. fileHost.func = func;
  2352. }
  2353. bulkHosts.push(fileHost);
  2354. var names = hostName.split(',');
  2355. var i = names.length;
  2356. while(i--)
  2357. {
  2358. bulkHostNames[names[i]] = fileHost;
  2359. }
  2360. }
  2361. var genType1 = [
  2362. "rodfile.com", "downloadani.me", //"migahost.com",
  2363. "rarefile.net",
  2364. "filesabc.com",
  2365. // "verzend.be",
  2366. // "movreel.com",
  2367. "file4safe.com", "filemac.com",
  2368. "longfiles.com",
  2369. "bitupload.com", //"4up.me",
  2370. //"uploadbaz.com"
  2371. ];
  2372. var genType2 = [ "queenshare.com",
  2373. "hulkload.com",
  2374. "amonshare.com", //"edoc.com",
  2375. ];
  2376. //xfilesharing 1.0
  2377. function addGenericType1()
  2378. {
  2379. var i = genType1.length;
  2380. while(i--)
  2381. {
  2382. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2383. {
  2384. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2385. addHost(
  2386. genType1[i].match(/[\w-]+/)[0], //hostname
  2387. regexSafe + "\/\\w+", //linkregex
  2388. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2389. null, //blocksize
  2390. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2391. null, //corrreplwhat
  2392. null, //corrreplwith
  2393. null, //separator
  2394. "http://" + genType1[i] + "/checkfiles.html", //api url
  2395. "op=checkfiles&process=Check+URLs&list=", //postdata
  2396. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2397. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2398. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2399. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2400. null //function delegate
  2401. )
  2402. }
  2403. }
  2404. }
  2405. //xfilesharing 2.0
  2406. function addGenericType2()
  2407. {
  2408. var i = genType2.length;
  2409. while(i--)
  2410. {
  2411. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2412. {
  2413. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2414. addHost(
  2415. genType2[i].match(/[\w-]+/)[0], //hostname
  2416. regexSafe + "\/\\w+", //linkregex
  2417. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2418. null, //blocksize
  2419. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2420. null, //corrreplwhat
  2421. null, //corrreplwith
  2422. null, //separator
  2423. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2424. "op=checkfiles&process=Check+URLs&list=", //postdata
  2425. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2426. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2427. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2428. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2429. null //function delegate
  2430. )
  2431. }
  2432. }
  2433. }
  2434. // TEMPLATE
  2435. // if (GM_getValue("Check__dot_com_links", false))
  2436. // {
  2437. // addHost(
  2438. // "", //hostname
  2439. // "", //linkregex
  2440. // "//a[contains(@href,'.com/')]", //xpath
  2441. // null, //blocksize
  2442. // null, //corrmatch
  2443. // null, //corrreplwhat
  2444. // null, //corrreplwith
  2445. // null, //separator
  2446. // "", //api url
  2447. // "", //postdata
  2448. // /()/, //linkregex
  2449. // //liveregex
  2450. // //deadregex
  2451. // //unavaregex
  2452. // null //function delegate
  2453. // )
  2454. // }
  2455. addGenericType1();
  2456. addGenericType2();
  2457.  
  2458. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2459. {
  2460. addHost(
  2461. "myvdrive,fileserving", //hostname
  2462. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2463. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2464. null, //blocksize
  2465. null, //corrmatch
  2466. null, //corrreplwhat
  2467. null, //corrreplwith
  2468. null, //separator
  2469. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2470. "links=", //postdata
  2471. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2472. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2473. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2474. null, //unavaregex
  2475. null //function delegate
  2476. )
  2477. }
  2478. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2479. {
  2480. addHost(
  2481. "hackerbox", //hostname
  2482. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2483. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2484. null, //blocksize
  2485. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2486. null, //corrreplwhat
  2487. null, //corrreplwith
  2488. null, //separator
  2489. "http://host.hackerbox.org/checkfiles.html", //api url
  2490. "op=checkfiles&process=Check+URLs&list=", //postdata
  2491. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2492. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2493. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2494. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2495. null //function delegate
  2496. )
  2497. }
  2498. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2499. {
  2500. addHost(
  2501. "hellshare", //hostname
  2502. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2503. "//a[contains(@href,'hellshare.')]", //xpath
  2504. 48, //blocksize
  2505. null, //corrmatch
  2506. null, //corrreplwhat
  2507. null, //corrreplwith
  2508. null, //separator
  2509. null, //api url
  2510. null, //postdata
  2511. null, //linkregex
  2512. null, //liveregex
  2513. null, //deadregex
  2514. null, //unavaregex
  2515. hellshareBulkCheck //function delegate
  2516. )
  2517. }
  2518. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2519. {
  2520. addHost(
  2521. "uploadrocket", //hostname
  2522. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2523. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2524. null, //blocksize
  2525. null, //corrmatch
  2526. null, //corrreplwhat
  2527. null, //corrreplwith
  2528. "\n", //separator
  2529. 'http://uploadrocket.net/?op=checkfiles',
  2530. 'op=checkfiles&process=Check+URLs&list=',
  2531. /uploadrocket.net\/(\w+)/,
  2532. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2533. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2534. null,
  2535. null //function delegate
  2536. )
  2537. }
  2538. if (GM_getValue("Check_uploading_dot_site_links", false))
  2539. {
  2540. addHost(
  2541. "uploading", //hostname
  2542. "(?:uploading\\.site)\/\\w+", //linkregex
  2543. "//a[contains(@href,'uploading.site/')]", //xpath
  2544. null, //blocksize
  2545. null, //corrmatch
  2546. null, //corrreplwhat
  2547. null, //corrreplwith
  2548. "\n", //separator
  2549. 'http://uploading.site/?op=checkfiles',
  2550. 'op=checkfiles&process=Check+URLs&list=',
  2551. /uploading.site\/(\w+)/,
  2552. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2553. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2554. null,
  2555. null //function delegate
  2556. )
  2557. }
  2558. if (GM_getValue("Check_1f_dot_al_links", false))
  2559. {
  2560. addHost(
  2561. "1f",
  2562. "(?:1f\\.al)\/d\/\\w+",
  2563. "//a[contains(@href,'1f.al/d/')]",
  2564. 100000, //blocksize
  2565. null, //corrmatch
  2566. null, //corrreplwhat
  2567. null, //corrreplwith
  2568. null, //separator
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. _1falBulkCheck //function delegate
  2576. )
  2577. }
  2578. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2579. {
  2580. addHost(
  2581. "k2s,keep2s,keep2share",
  2582. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2583. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2584. 100000, //blocksize
  2585. null, //corrmatch
  2586. null, //corrreplwhat
  2587. null, //corrreplwith
  2588. null, //separator
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. null,
  2595. k2sBulkCheck //function delegate
  2596. )
  2597. }
  2598. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2599. {
  2600. addHost(
  2601. "tezfiles",
  2602. "(?:tezfiles\\.com)\/\\w+",
  2603. "//a[contains(@href,'tezfiles.com')]",
  2604. 100000, //blocksize
  2605. null, //corrmatch
  2606. null, //corrreplwhat
  2607. null, //corrreplwith
  2608. null, //separator
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. null,
  2614. null,
  2615. k2sBulkCheck //function delegate
  2616. )
  2617. }
  2618. if (GM_getValue("Check_fboom_dot_me_links", false))
  2619. {
  2620. addHost(
  2621. "fboom,fileboom",
  2622. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2623. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2624. 100000, //blocksize
  2625. null, //corrmatch
  2626. null, //corrreplwhat
  2627. null, //corrreplwith
  2628. null, //separator
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. null,
  2634. null,
  2635. fboomBulkCheck //function delegate
  2636. )
  2637. }
  2638. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2639. {
  2640. addHost(
  2641. "1fichier,dl4free",
  2642. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2643. "//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/?')]",
  2644. 100000, //blocksize
  2645. null, //corrmatch
  2646. null, //corrreplwhat
  2647. null, //corrreplwith
  2648. null, //separator
  2649. null,
  2650. null,
  2651. null,
  2652. null,
  2653. null,
  2654. null,
  2655. dl4free_1fichier_BulkCheck //function delegate
  2656. )
  2657. }
  2658. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2659. {
  2660. addHost(
  2661. "nitroflare",
  2662. "nitroflare\\.com\/\\w+",
  2663. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2664. 100000, //blocksize
  2665. null, //corrmatch
  2666. null, //corrreplwhat
  2667. null, //corrreplwith
  2668. null, //separator
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. null,
  2675. nitroflareBulkCheck //function delegate
  2676. )
  2677. }
  2678. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2679. {
  2680. addHost(
  2681. "depositfiles,dfiles",
  2682. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2683. "//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/')]",
  2684. 100000, //blocksize
  2685. null, //corrmatch
  2686. null, //corrreplwhat
  2687. null, //corrreplwith
  2688. null, //separator
  2689. null,
  2690. null,
  2691. null,
  2692. null,
  2693. null,
  2694. null,
  2695. depositfilesBulkCheck //function delegate
  2696. )
  2697. }
  2698. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2699. {
  2700. addHost(
  2701. "filesflash", //hostname
  2702. "filesflash\\.com\/\\w+", //linkregex
  2703. "//a[contains(@href,'filesflash.com')]", //xpath
  2704. null, //blocksize
  2705. null, //corrmatch
  2706. /http:\/\//, //corrreplwhat
  2707. '', //corrreplwith
  2708. null, //separator
  2709. 'http://filesflash.com/checklinks.php',
  2710. 'submit=Go&links=',
  2711. /filesflash\.com\/(\w+)/,
  2712. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2713. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2714. null,
  2715. null //function delegate
  2716. )
  2717. }
  2718. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2719. {
  2720. addHost(
  2721. "jumbofiles", //hostname
  2722. "jumbofiles\\.com\/\\w+", //linkregex
  2723. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2724. null, //blocksize
  2725. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2726. null, //corrreplwhat
  2727. null, //corrreplwith
  2728. null, //separator
  2729. "http://jumbofiles.com/checkfiles.html", //api url
  2730. "op=checkfiles&process=Check+URLs&list=", //postdata
  2731. /(jumbofiles\.com\/\w+)/, //linkregex
  2732. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2733. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2734. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2735. null //function delegate
  2736. )
  2737. }*/
  2738. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2739. {
  2740. addHost(
  2741. "edisk", //hostname
  2742. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2743. "//a[contains(@href,'edisk.')]", //xpath
  2744. null, //blocksize
  2745. null, //corrmatch
  2746. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2747. 'edisk.cz/stahni', //corrreplwith
  2748. null, //separator
  2749. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2750. 'submitBtn=Zkontrolovat&checkFiles=',
  2751. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2752. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2753. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2754. null,
  2755. null //function delegate
  2756. )
  2757. }
  2758. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2759. {
  2760. GM_xmlhttpRequest( //age check skip
  2761. {
  2762. method: 'POST',
  2763. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2764. headers: {
  2765. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2766. 'Content-type': 'application/x-www-form-urlencoded',
  2767. 'Referer': ""
  2768. }
  2769. });
  2770. addHost(
  2771. "bezvadata", //hostname
  2772. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2773. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2774. null, //blocksize
  2775. null, //corrmatch
  2776. null, //corrreplwhat
  2777. null, //corrreplwith
  2778. null, //separator
  2779. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2780. 'zkontrolovat=Zkontrolovat&odkazy=',
  2781. /(bezvadata\.cz\/stahnout\/\d+)/,
  2782. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2783. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2784. null,
  2785. null //function delegate
  2786. )
  2787. }
  2788. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2789. {
  2790. addHost(
  2791. "linkcrypt", //hostname
  2792. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2793. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2794. 100000, //blocksize
  2795. null, //corrmatch
  2796. null, //corrreplwhat
  2797. null, //corrreplwith
  2798. null, //separator
  2799. null,
  2800. null,
  2801. null,
  2802. null,
  2803. null,
  2804. null,
  2805. linkcryptBulkCheck //function delegate
  2806. )
  2807. }
  2808. if (GM_getValue("Check_videobb_dot_com_links", false))
  2809. {
  2810. addHost(
  2811. "videobb", //hostname
  2812. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2813. "//a[contains(@href,'videobb.com')]", //xpath
  2814. null, //blocksize
  2815. null, //corrmatch
  2816. /watch_video\.php\?v=/, //corrreplwhat
  2817. 'video/', //corrreplwith
  2818. null, //separator
  2819. 'http://www.videobb.com/link_checker.php',
  2820. 'links=',
  2821. /videobb\.com\/video\/(\w+)/,
  2822. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2823. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2824. null,
  2825. null //function delegate
  2826. )
  2827. }
  2828. if (GM_getValue("Check_filerio_dot_com_links", false))
  2829. {
  2830. addHost(
  2831. "filekeen,filerio", //hostname
  2832. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2833. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2834. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2835. null, //blocksize
  2836. null, //corrmatch
  2837. null, //corrreplwhat
  2838. null, //corrreplwith
  2839. null, //separator
  2840. 'http://filerio.in/checkfiles.html',
  2841. 'op=checkfiles&process=Check+URLs&list=',
  2842. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2843. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2844. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2845. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2846. null //function delegate
  2847. )
  2848. }
  2849. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2850. {
  2851. addHost(
  2852. "share-online,egoshare", //hostname
  2853. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2854. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2855. null, //blocksize
  2856. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2857. null, //corrreplwhat
  2858. null, //corrreplwith
  2859. "\n", //separator
  2860. 'http://api.share-online.biz/linkcheck.php',
  2861. 'links=',
  2862. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2863. /\w+;OK/g,
  2864. /\w+;(?:NOTFOUND|DELETED)/g,
  2865. null,
  2866. null //function delegate
  2867. )
  2868. }
  2869. if (GM_getValue("Check_oboom_dot_com_links", false))
  2870. {
  2871. addHost(
  2872. "oboom", //hostname
  2873. "oboom\\.com\/#?\\w{8}", //linkregex
  2874. "//a[contains(@href,'oboom.com/')]", //xpath
  2875. null, //blocksize
  2876. /oboom\.com\/#?(\w{8})/, //corrmatch
  2877. null, //corrreplwhat
  2878. null, //corrreplwith
  2879. null, //separator
  2880. null,
  2881. null,
  2882. null,
  2883. null, //liveregex
  2884. null, //deadregex
  2885. null,
  2886. oboomBulk //function delegate
  2887. )
  2888. }
  2889. if (GM_getValue("Check_mega_dot_nz_links", false))
  2890. {
  2891. addHost(
  2892. "mega",
  2893. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2894. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2895. 100000, //blocksize
  2896. null, //corrmatch
  2897. null, //corrreplwhat
  2898. null, //corrreplwith
  2899. null, //separator
  2900. null,
  2901. null,
  2902. null,
  2903. null,
  2904. null,
  2905. null,
  2906. megaBulkCheck //function delegate
  2907. )
  2908. }
  2909.  
  2910. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2911.  
  2912. if (GM_getValue("Check_extabit_dot_com_links", false))
  2913. {
  2914. addHost(
  2915. "extabit", //hostname
  2916. "extabit\\.com\/file\/\\w+", //linkregex
  2917. "//a[contains(@href,'extabit.com')]", //xpath
  2918. null, //blocksize
  2919. null, //corrmatch
  2920. null, //corrreplwhat
  2921. null, //corrreplwith
  2922. "\n", //separator
  2923. "http://extabit.com/linkchecker.jsp", //api url
  2924. "url=", //postdata
  2925. /extabit\.com\/(file\/\w+)/, //linkregex
  2926. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2927. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2928. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2929. extabitBulkCheck //function delegate
  2930. )
  2931. }
  2932. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2933. {
  2934. addHost(
  2935. "junocloud", //hostname
  2936. "junocloud\\.me\/\\w+", //linkregex
  2937. "//a[contains(@href,'junocloud.me')]", //xpath
  2938. null, //blocksize
  2939. null, //corrmatch
  2940. null, //corrreplwhat
  2941. null, //corrreplwith
  2942. "\n", //separator
  2943. "http://junocloud.me/checkfiles.html", //api url
  2944. "op=checkfiles&process=Check+URLs&list=", //postdata
  2945. /(junocloud\.me\/\w+)/, //linkregex
  2946. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2947. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2948. null, //unavaregex
  2949. null //function delegate
  2950. )
  2951. } */
  2952. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2953. {
  2954. addHost(
  2955. "webshare", //hostname
  2956. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2957. "//a[contains(@href,'webshare.cz')]", //xpath
  2958. 100000, //blocksize
  2959. null, //corrmatch
  2960. null, //corrreplwhat
  2961. null, //corrreplwith
  2962. null, //separator
  2963. null, //api url
  2964. null, //postdata
  2965. null, //linkregex
  2966. null, //liveregex
  2967. null, //deadregex
  2968. null, //unavaregex
  2969. webshareBulkCheck //function delegate
  2970. )
  2971. }
  2972. /////////////////////////////
  2973. // Common function delegate to send links to get checked by host linkchecker
  2974. /////////////////////////////
  2975. // If you define a new delegate, you may use following properties
  2976. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2977. // this.apiUrl [string] API or web linkchecker URL
  2978. // this.postData [string] POSTDATA for POST request
  2979. // this.resLiveRegex [regex] matches live substrings in the request response
  2980. // this.resDeadRegex [regex] matches dead substrings in the request response
  2981. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2982. //
  2983. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2984. //
  2985. // See the code below for standard bulkcheck handling reference.
  2986. //////////////////////////////
  2987. function genBulkCheck()
  2988. {
  2989. var blockIdx = this.links.length;
  2990. while (blockIdx--)
  2991. {
  2992. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2993. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2994. }
  2995. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2996. {
  2997. GM_xmlhttpRequest(
  2998. {
  2999. method: 'POST',
  3000. url: api,
  3001. headers: {
  3002. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3003. 'Content-type': 'application/x-www-form-urlencoded',
  3004. 'Referer': api,
  3005. 'X-Requested-With': 'XMLHttpRequest'
  3006. },
  3007. data: postData + encodeURIComponent(links),
  3008. onload: function (result)
  3009. {
  3010. var res = result.responseText;
  3011. // GM_log(res);
  3012. var i;
  3013.  
  3014. var livelinks = res.match(liveRegex);
  3015. var deadlinks = res.match(deadRegex);
  3016. // GM_log(livelinks);
  3017. // GM_log(deadlinks);
  3018. if (livelinks != null)
  3019. {
  3020. i = livelinks.length - 1;
  3021. do
  3022. {
  3023. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3024. }
  3025. while (i--);
  3026. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3027. }
  3028.  
  3029. if (deadlinks != null)
  3030. {
  3031. i = deadlinks.length - 1;
  3032. do
  3033. {
  3034. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3035. }
  3036. while (i--);
  3037. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3038. }
  3039.  
  3040. if (unavaRegex != null)
  3041. {
  3042. var unavalinks = res.match(unavaRegex);
  3043. if (unavalinks)
  3044. {
  3045. i = unavalinks.length - 1;
  3046. do
  3047. {
  3048. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3049. }
  3050. while (i--);
  3051. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3052. }
  3053. }
  3054. }
  3055. });
  3056. }
  3057. }
  3058. //specialized bulkchecking handlers follow
  3059. function webshareBulkCheck()
  3060. {
  3061. var arr = this.links[0].split("\r\n");
  3062. var i = arr.length;
  3063. while(i--)
  3064. {
  3065. postRequest(arr[i]);
  3066. }
  3067. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3068. function postRequest(wsLink)
  3069. {
  3070. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3071. GM_xmlhttpRequest(
  3072. {
  3073. method: 'POST',
  3074. url: "http://webshare.cz/api/file_info/",
  3075. headers: {
  3076. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3077. 'Content-type': 'application/x-www-form-urlencoded',
  3078. 'Referer': "",
  3079. },
  3080. data: "wst=&ident=" + id,
  3081. onload: function (result)
  3082. {
  3083. var res = result.responseText;
  3084. if (res.match(/<name>.+?<\/name>/))
  3085. {
  3086. DisplayTheCheckedLinks([id], 'alive_link');
  3087. }
  3088. else
  3089. {
  3090. DisplayTheCheckedLinks([id], 'adead_link');
  3091. }
  3092. }
  3093. });
  3094. }
  3095. }
  3096. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3097. //extabit also doesn't like requests in fast succession, so some delays are added.
  3098. function extabitBulkCheck()
  3099. {
  3100. var timeoutDelay = 0;
  3101. var blockIdx = this.links.length;
  3102. while (blockIdx--)
  3103. {
  3104. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3105. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3106. }
  3107. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3108. {
  3109. GM_xmlhttpRequest(
  3110. {
  3111. method: 'POST',
  3112. url: api,
  3113. headers: {
  3114. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3115. 'Content-type': 'application/x-www-form-urlencoded',
  3116. 'Referer': api,
  3117. 'X-Requested-With': 'XMLHttpRequest'
  3118. },
  3119. data: postData + encodeURIComponent(links),
  3120. onload: function (result)
  3121. {
  3122. var res = result.responseText;
  3123. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3124. {
  3125. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3126. {
  3127. //GM_log(tryID + ': ' + link);
  3128. GM_xmlhttpRequest(
  3129. {
  3130. method: 'GET',
  3131. url: link,
  3132. 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': ""},
  3133. onload: function(result2)
  3134. {
  3135. var res2 = result2.responseText;
  3136. var res2Status = result.status;
  3137. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3138. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3139. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3140. {
  3141. if (tryID < 7)
  3142. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3143. else
  3144. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3145. }
  3146. }
  3147. });
  3148. }
  3149. //split the hrefs and check them one by one
  3150. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3151. links = links.split('\n');
  3152. var i = links.length;
  3153. while (i--)
  3154. {
  3155. if (links[i])
  3156. {
  3157. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3158. timeoutDelay += 500;
  3159. }
  3160. }
  3161. return;
  3162. }
  3163. var i;
  3164.  
  3165. var livelinks = res.match(liveRegex);
  3166. var deadlinks = res.match(deadRegex);
  3167. if (livelinks != null)
  3168. {
  3169. i = livelinks.length - 1;
  3170. do
  3171. {
  3172. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3173. }
  3174. while (i--);
  3175. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3176. }
  3177.  
  3178. if (deadlinks != null)
  3179. {
  3180. i = deadlinks.length - 1;
  3181. do
  3182. {
  3183. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3184. }
  3185. while (i--);
  3186. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3187. }
  3188.  
  3189. if (unavaRegex != null)
  3190. {
  3191. var unavalinks = res.match(unavaRegex);
  3192. if (unavalinks)
  3193. {
  3194. i = unavalinks.length - 1;
  3195. do
  3196. {
  3197. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3198. }
  3199. while (i--);
  3200. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3201. }
  3202. }
  3203. }
  3204. });
  3205. }
  3206. }
  3207. function _1falBulkCheck()
  3208. {
  3209. var arr = this.links[0].split("\r\n");
  3210. var i = arr.length;
  3211. c=0;
  3212. arrIDs=[];
  3213. while(i--)
  3214. {
  3215. id = arr[i].match(/\/d\/(\w+)/)[1];
  3216.  
  3217. _1falalreadyexist=false;
  3218. for (j=0;j<arrIDs.length;j++)
  3219. {
  3220. if (arrIDs[j]==id)
  3221. {
  3222. _1falalreadyexist=g
  3223. break;
  3224. }
  3225. }
  3226. if (_1falalreadyexist) continue;
  3227. arrIDs.push(id);
  3228. c++;
  3229. setTimeout(_1falRequest,c*500,arr[i]);
  3230. }
  3231. }
  3232. function _1falRequest(_1falLink)
  3233. {
  3234. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3235. GM_xmlhttpRequest(
  3236. {
  3237. method: 'GET',
  3238. url: _1falLink,
  3239. headers: {
  3240. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3241. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3242. 'Referer': 'http://www.planetsuzy.org/'
  3243. },
  3244. onload: function (result)
  3245. {
  3246. var res = result.responseText;
  3247. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3248. if (FAarr!=null)
  3249. {
  3250. FALink=FAarr[1];
  3251. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3252. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3253. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3254. GM_xmlhttpRequest(
  3255. {
  3256. method: 'POST',
  3257. url: FALink,
  3258. headers: {
  3259. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3260. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3261. 'Content-Type': 'application/x-www-form-urlencoded',
  3262. 'Referer': _1falLink
  3263. },
  3264. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3265. onload: function (_2ndresult)
  3266. {
  3267. var newres = _2ndresult.responseText;
  3268. FAalivelink=new RegExp("method_free");
  3269. if (FAalivelink.test(newres))
  3270. {
  3271. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3272. return;
  3273. }
  3274. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3275. if (FAdeadlink.test(newres))
  3276. {
  3277. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3278. return;
  3279. }
  3280. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3281. return;
  3282. }
  3283. });
  3284. return;
  3285. }
  3286. else
  3287. {
  3288. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3289. return;
  3290. }
  3291. },
  3292. onerror: function ()
  3293. {
  3294. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3295. return;
  3296. }
  3297. });
  3298. }
  3299. function k2sBulkCheck()
  3300. {
  3301. var arr = this.links[0].split("\r\n");
  3302. var i = arr.length;
  3303. c=0;
  3304. arrIDs=[];
  3305. while(i--)
  3306. {
  3307. id = arr[i].match(/\/file\/(\w+)/)[1];
  3308. if (id=='info')
  3309. {
  3310. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3311. continue;
  3312. }
  3313. k2salreadyexist=false;
  3314. for (j=0;j<arrIDs.length;j++)
  3315. {
  3316. if (arrIDs[j]==id)
  3317. {
  3318. k2salreadyexist=g
  3319. break;
  3320. }
  3321. }
  3322. if (k2salreadyexist) continue;
  3323. arrIDs.push(id);
  3324. c++;
  3325. setTimeout(k2sRequest,c*500,arr[i]);
  3326. }
  3327. }
  3328. function k2sRequest(K2SLink)
  3329. {
  3330. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3331. GM_xmlhttpRequest(
  3332. {
  3333. method: 'GET',
  3334. url: K2SLink,
  3335. headers: {
  3336. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3337. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3338. 'Referer': ''
  3339. },
  3340. onload: function (result)
  3341. {
  3342. var res = result.responseText;
  3343. K2Dom='k2s.cc';
  3344. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3345. K2SLink2='http://'+K2Dom+'/file/'+id;
  3346.  
  3347. 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'))
  3348. {
  3349. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3350. return;
  3351. }
  3352. if (res.match('method="post">Displaying'))
  3353. {
  3354. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3355. return;
  3356. }
  3357. if (res.match('Premium only|only for premium members'))
  3358. {
  3359. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3360. return;
  3361. }
  3362. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3363. {
  3364. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3365. slID=slow_id.exec(res)[1];
  3366. GM_xmlhttpRequest(
  3367. {
  3368. method: 'POST',
  3369. url: K2SLink2,
  3370. headers: {
  3371. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3372. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3373. 'Content-Type': 'application/x-www-form-urlencoded',
  3374. 'Referer': K2SLink
  3375. },
  3376. data: 'slow_id='+slID+'&yt0=',
  3377. onload: function (result)
  3378. {
  3379. var newres = result.responseText;
  3380. newoversizedtest=new RegExp("Free user can't download large files.");
  3381. if (newoversizedtest.test(newres))
  3382. {
  3383. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3384. return;
  3385. }
  3386. else
  3387. {
  3388. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3389. return;
  3390. }
  3391. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3392. return;
  3393. }
  3394. });
  3395. /////////////////////end additional check for oversized links
  3396. return;
  3397. }
  3398. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3399. return;
  3400. },
  3401. onerror: function ()
  3402. {
  3403. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3404. return;
  3405. }
  3406. });
  3407. }
  3408. function fboomBulkCheck()
  3409. {
  3410. var arr = this.links[0].split("\r\n");
  3411. var i = arr.length;
  3412. c=0;
  3413. arrIDs=[];
  3414. while(i--)
  3415. {
  3416. id = arr[i].match(/\/file\/(\w+)/)[1];
  3417. if (id=='info')
  3418. {
  3419. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3420. continue;
  3421. }
  3422. fbalreadyexist=false;
  3423. for (j=0;j<arrIDs.length;j++)
  3424. {
  3425. if (arrIDs[j]==id)
  3426. {
  3427. fbalreadyexist=true;
  3428. break;
  3429. }
  3430. }
  3431. if (fbalreadyexist) continue;
  3432. arrIDs.push(id);
  3433. c++;
  3434. setTimeout(fboomRequest,c*500,arr[i]);
  3435. }
  3436. }
  3437. function fboomRequest(FBoomLink)
  3438. {
  3439. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3440. FBoomLink2='http://fboom.me/file/'+id;
  3441. GM_xmlhttpRequest(
  3442. {
  3443. method: 'GET',
  3444. url: FBoomLink,
  3445. headers: {
  3446. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3447. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3448. 'Referer': ''
  3449. },
  3450. onload: function (result)
  3451. {
  3452. var res = result.responseText;
  3453. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3454. {
  3455. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3456. return;
  3457. }
  3458. if (res.match('method="post">Displaying'))
  3459. {
  3460. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3461. return;
  3462. }
  3463. if (res.match('only for premium members'))
  3464. {
  3465. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3466. return;
  3467. }
  3468. if (res.match('id="download-free" href="#"'))
  3469. {
  3470. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3471. slID=slow_id.exec(res)[1];
  3472. GM_xmlhttpRequest(
  3473. {
  3474. method: 'POST',
  3475. url: FBoomLink2,
  3476. headers: {
  3477. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3478. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3479. 'Content-Type': 'application/x-www-form-urlencoded',
  3480. 'Referer': FBoomLink
  3481. },
  3482. data: 'slow_id='+slID,
  3483. onload: function (result)
  3484. {
  3485. var newres = result.responseText;
  3486. newoversizedtest=new RegExp("Downloading is not possible");
  3487. if (newoversizedtest.test(newres))
  3488. {
  3489. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3490. return;
  3491. }
  3492. else
  3493. {
  3494. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3495. return;
  3496. }
  3497. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3498. return;
  3499. }
  3500. });
  3501. /////////////////////end additional check for oversized links
  3502. return;
  3503. }
  3504. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3505. return;
  3506. },
  3507. onerror: function ()
  3508. {
  3509. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3510. return;
  3511. }
  3512. });
  3513. }
  3514. function dl4free_1fichier_BulkCheck()
  3515. {
  3516. var arr = this.links[0].split("\r\n");
  3517. var i = arr.length;
  3518. while(i--)
  3519. {
  3520. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3521. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3522. gethead_dl4free_1fichier(arr[i]);
  3523. }
  3524. }
  3525. function gethead_dl4free_1fichier(link)
  3526. {
  3527. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3528. GM_xmlhttpRequest(
  3529. {
  3530. method: 'HEAD',
  3531. url: link,
  3532. headers: {
  3533. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3534. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3535. 'Referer': ''
  3536. },
  3537. onload: function (result)
  3538. {
  3539. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3540. {
  3541. DisplayTheCheckedLinks([id], 'alive_link');
  3542. return;
  3543. }
  3544. else
  3545. {
  3546. getlink_dl4free_1fichier(link);
  3547. }
  3548. return;
  3549. },
  3550. onerror: function ()
  3551. {
  3552. DisplayTheCheckedLinks([id], 'unava_link');
  3553. }
  3554. });
  3555. }
  3556. function getlink_dl4free_1fichier(link)
  3557. {
  3558. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3559. GM_xmlhttpRequest(
  3560. {
  3561. method: 'GET',
  3562. url: link,
  3563. headers: {
  3564. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3565. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3566. 'Referer': ''
  3567. },
  3568. onload: function (result)
  3569. {
  3570. var res = result.responseText;
  3571. 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');
  3572. if (deadRegex.test(res))
  3573. {
  3574. DisplayTheCheckedLinks([id], 'adead_link');
  3575. return;
  3576. }
  3577. premiumRegex=new RegExp('only for premium users');
  3578. if (premiumRegex.test(res))
  3579. {
  3580. DisplayTheCheckedLinks([id], 'prem_link');
  3581. return;
  3582. }
  3583. 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="');
  3584. if (liveRegex.test(res))
  3585. {
  3586. DisplayTheCheckedLinks([id], 'alive_link');
  3587. return;
  3588. }
  3589. DisplayTheCheckedLinks([id], 'unava_link');
  3590. },
  3591. onerror: function ()
  3592. {
  3593. DisplayTheCheckedLinks([id], 'unava_link');
  3594. }
  3595. });
  3596. }
  3597. function nitroflareBulkCheck()
  3598. {
  3599. var arr = this.links[0].split("\r\n");
  3600. var i = arr.length;
  3601. while(i--)
  3602. {
  3603. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3604. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3605. NitroFlareRequest(arr[i]);
  3606. }
  3607. }
  3608. function NitroFlareRequest(NFLink)
  3609. {
  3610. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3611. GM_xmlhttpRequest(
  3612. {
  3613. method: "GET",
  3614. url: NFLink,
  3615. headers: {
  3616. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3617. 'Content-Type': 'application/x-www-form-urlencoded',
  3618. 'Referer': ""
  3619. },
  3620. onload: function (result)
  3621. {
  3622. var res = result.responseText;
  3623. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3624. {
  3625. DisplayTheCheckedLinks([NFID], 'adead_link');
  3626. return;
  3627. }
  3628. if (res.match('Report this file<\/a>'))
  3629. {
  3630. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3631. sizearr=measureRegex.exec(res);
  3632. if (sizearr[2]=='GB')
  3633. {
  3634. if (parseFloat(sizearr[1])>1)
  3635. {
  3636. DisplayTheCheckedLinks([NFID], 'prem_link');
  3637. }
  3638. else
  3639. {
  3640. DisplayTheCheckedLinks([NFID], 'alive_link');
  3641. }
  3642. }
  3643. else
  3644. {
  3645. DisplayTheCheckedLinks([NFID], 'alive_link');
  3646. }
  3647. return;
  3648. }
  3649. DisplayTheCheckedLinks([NFID], 'unava_link');
  3650. }
  3651. });
  3652. }
  3653. function depositfilesBulkCheck()
  3654. {
  3655. var arr = this.links[0].split("\r\n");
  3656. var i = arr.length;
  3657. var seqno = Math.floor(Math.random()*1000000000);
  3658. while(i--)
  3659. {
  3660. DFpostRequest(arr[i]);
  3661. }
  3662. }
  3663. function DFpostRequest(DFLink)
  3664. {
  3665. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3666. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3667. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3668. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3670. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3671. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3672. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3673. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3674. GM_xmlhttpRequest(
  3675. {
  3676. method: "GET",
  3677. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3678. headers: {
  3679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3680. 'Content-Type': 'application/x-www-form-urlencoded',
  3681. 'Referer': ""
  3682. },
  3683. onload: function (result)
  3684. {
  3685. var res = result.responseText;
  3686. if (res.match('(?:no_file|file_ban)'))
  3687. {
  3688. DisplayTheCheckedLinks([id], 'adead_link');
  3689. return;
  3690. }
  3691. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3692. {
  3693. DisplayTheCheckedLinks([id], 'alive_link');
  3694. return;
  3695. }
  3696. DisplayTheCheckedLinks([id], 'unava_link');
  3697. }
  3698. });
  3699. }
  3700.  
  3701. function megaBulkCheck()
  3702. {
  3703. var arr = this.links[0].split("\r\n");
  3704. var i = arr.length;
  3705. var seqno = Math.floor(Math.random()*1000000000);
  3706. while(i--)
  3707. {
  3708. postRequest(arr[i]);
  3709. }
  3710. function postRequest(megaLink)
  3711. {
  3712. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3713. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3714. if (id=='F')
  3715. {
  3716. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3717. DisplayTheCheckedLinks([id], 'unava_link');
  3718. }
  3719. else
  3720. GM_xmlhttpRequest(
  3721. {
  3722. method: "POST",
  3723. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3724. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3725. headers: {
  3726. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3727. 'Content-Type': 'application/xml',
  3728. 'Referer': "https://mega.co.nz/"
  3729. },
  3730. onload: function (result)
  3731. {
  3732. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3733. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3734. {
  3735.  
  3736. DisplayTheCheckedLinks([id], 'adead_link');
  3737. }
  3738. if (res.at)
  3739. {
  3740. DisplayTheCheckedLinks([id], 'alive_link');
  3741. }
  3742. if (res.e == "ETEMPUNAVAIL")
  3743. {
  3744. DisplayTheCheckedLinks([id], 'unava_link');
  3745. }
  3746. }
  3747. });
  3748. }
  3749.  
  3750. }
  3751.  
  3752. function oboomBulk() {
  3753. var a = [], b = [], c = [];
  3754. var array = this.links;
  3755.  
  3756. GM_xmlhttpRequest({
  3757. method: 'GET',
  3758. url: 'https://www.oboom.com/1/guestsession',
  3759. headers: {
  3760. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3761. 'Content-type': 'application/x-www-form-urlencoded',
  3762. 'Referer': 'https://www.oboom.com',
  3763. 'X-Requested-With': 'XMLHttpRequest'
  3764. },
  3765. onload: function(result) {
  3766. var blockIdx = array.length;
  3767. var token = JSON.parse(result.responseText)[1];
  3768. while (blockIdx--) {
  3769. startCheck(array[blockIdx].split('\r\n'), token);
  3770. }
  3771. }
  3772. });
  3773.  
  3774. function startCheck(links, token) {
  3775. GM_xmlhttpRequest({
  3776. method: 'POST',
  3777. url: "https://api.oboom.com/1/info",
  3778. headers: {
  3779. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3780. 'Content-type': 'application/x-www-form-urlencoded',
  3781. 'Referer': 'https://www.oboom.com/',
  3782. 'X-Requested-With': 'XMLHttpRequest'
  3783. },
  3784. data: "token=" + token + "&items=" + links.join(","),
  3785. onload: function(result) {
  3786. var res = JSON.parse(result.responseText)[1];
  3787. var i = res.length, s;
  3788.  
  3789. while (i--) {
  3790. s = res[i].state;
  3791. if (s == 'online') a.push(res[i].id);
  3792. 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);
  3793. else c.push(res[i].id);
  3794. }
  3795.  
  3796. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3797. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3798. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3799. }
  3800. });
  3801. }
  3802. }
  3803. function linkcryptBulkCheck()
  3804. {
  3805. var arr = this.links[0].split("\r\n");
  3806. var i = arr.length;
  3807. while(i--)
  3808. {
  3809. postRequest(arr[i]);
  3810. }
  3811. function postRequest(lcLink)
  3812. {
  3813. GM_xmlhttpRequest(
  3814. {
  3815. method: "GET",
  3816. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3817. headers: {
  3818. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3819. 'Accept': 'text/xml',
  3820. 'Referer': ""
  3821. },
  3822. onload: function (result)
  3823. {
  3824. var res = result.responseText;
  3825. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3826. {
  3827. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3828. return;
  3829. }
  3830. if (res.match(/folderStatus>1/)) //Online status
  3831. {
  3832. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3833. }
  3834. else
  3835. {
  3836. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3837. }
  3838. }
  3839. });
  3840. }
  3841. }
  3842.  
  3843. /* function megashareBulkCheck()
  3844. {
  3845. var arr = this.links[0].split("\r\n");
  3846. var i = arr.length;
  3847. while(i--)
  3848. {
  3849. postRequest(arr[i]);
  3850. }
  3851. function postRequest(msLink)
  3852. {
  3853. GM_xmlhttpRequest(
  3854. {
  3855. method: "GET",
  3856. url: msLink,
  3857. headers: {
  3858. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3859. 'Content-Type': 'application/x-www-form-urlencoded',
  3860. 'Referer': ""
  3861. },
  3862. onload: function (result)
  3863. {
  3864. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3865. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3866. if ((prZVal == null) || (btn3Name == null))
  3867. {
  3868. return;
  3869. }
  3870. GM_xmlhttpRequest(
  3871. {
  3872. method: "POST",
  3873. url: msLink,
  3874. headers: {
  3875. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3876. 'Content-Type': 'application/x-www-form-urlencoded',
  3877. 'Referer': ""
  3878. },
  3879. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3880. onload: function (result)
  3881. {
  3882. var res = result.responseText;
  3883. if (res.match(/<div id="err">/))
  3884. {
  3885. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3886. }
  3887. else
  3888. {
  3889. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3890. }
  3891. }
  3892. });
  3893. }
  3894. });
  3895. }
  3896. } */
  3897. function hellshareBulkCheck()
  3898. {
  3899. var links = this.links;
  3900. GM_xmlhttpRequest(
  3901. {
  3902. method: "GET",
  3903. url: 'http://www.hellshare.com',
  3904. headers: {
  3905. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3906. 'Accept': 'text/xml',
  3907. 'Referer': ""
  3908. },
  3909. onload: function (result)
  3910. {
  3911. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3912.  
  3913. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3914. if (domain == 'sk')
  3915. loc = 'check=Skontrolova%C5%A5&links=';
  3916. if (domain == 'com')
  3917. loc = 'check=Check+availability&links=';
  3918. if (domain == 'hu')
  3919. loc = 'check=Kontrol%C3%A1lj&links=';
  3920. if (domain == 'pl')
  3921. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3922.  
  3923. genBulkCheck.call({ links: links,
  3924. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3925. postData: loc,
  3926. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3927. 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,
  3928. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3929. resUnavaRegex: null
  3930. });
  3931. }
  3932. });
  3933. }
  3934. /**
  3935. * Displays check result
  3936. * @param {Array} Array of links or link fragments.
  3937. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3938. */
  3939. function DisplayTheCheckedLinks(links, resultStatus)
  3940. {
  3941. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3942. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3943. if (Do_not_linkify_DL_links)
  3944. { //TODO into separate jQuery function
  3945. $links.replaceWith(function(){
  3946. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3947. });
  3948. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3949. }
  3950. $links.removeClass().addClass(resultStatus);
  3951. $links.each(function() {
  3952. this.href = Ref_anonymize_service + $(this).attr("href");
  3953. });
  3954. switch(resultStatus)
  3955. {
  3956. case "alive_link": cLinksAlive += $links.length;
  3957. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3958. break;
  3959. case "adead_link": cLinksDead += $links.length;
  3960. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3961. break;
  3962. case "prem_link": cLinksprem += $links.length;
  3963. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3964. break;
  3965. case "unava_link": cLinksUnava += $links.length; break;
  3966. default:
  3967. }
  3968. cLinksProcessed += $links.length;
  3969. }
  3970. }
  3971. // starts bulkchecking
  3972. //
  3973. // params
  3974. // filterId [string] restricts link detection with passed id attribute
  3975. function startBulkCheck(filterId)
  3976. {
  3977. var cHosts = bulkHosts.length;
  3978. if (cHosts == 0) //no filehostings selected
  3979. return;
  3980. // STEP 1 linkify the links
  3981. var linkifyRegex = '';
  3982. var hostIdx = cHosts;
  3983. while(hostIdx--)
  3984. {
  3985. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3986. }
  3987. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3988. linkify(linkifyRegex);
  3989. //
  3990. //STEP 2 detect link objects
  3991. var xpathAll = '';
  3992. var hostIdx = cHosts;
  3993. while(hostIdx--)
  3994. {
  3995. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3996. }
  3997. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3998. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3999. if (filterId != null) //insert id restriction in the xpath
  4000. {
  4001. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4002. }
  4003. else
  4004. {
  4005. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4006. }
  4007. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4008. if (filterId == null)
  4009. {
  4010. cLinksTotal += links.snapshotLength;
  4011. }
  4012. //
  4013. //STEP 3 bind links with hostings
  4014. var linkIdx = links.snapshotLength;
  4015. var href = null;
  4016. if (linkIdx == 0) // no links found
  4017. return;
  4018. var name;
  4019. while (linkIdx--)
  4020. {
  4021. href = links.snapshotItem(linkIdx).href;
  4022. try // DO NOT REMOVE, filters crap that went through xpath detection
  4023. {
  4024. name = gimmeHostName(href);
  4025. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4026. bulkHostNames[name].links.push(href);
  4027. }
  4028. catch(e)
  4029. {
  4030.  
  4031. }
  4032. }
  4033. //
  4034. //STEP 4 process the links for each filehosting
  4035. var hostIdx = cHosts;
  4036. var host;
  4037. var m,n;
  4038. var arr;
  4039. while (hostIdx--)
  4040. {
  4041. host = bulkHosts[hostIdx];
  4042. arr = host.links;
  4043. if (arr.length == 0) //no links for this hosting, skip
  4044. {
  4045. continue;
  4046. }
  4047. //links match corrections
  4048. if (host.corrMatch != null)
  4049. {
  4050. var idx = arr.length;
  4051. while (idx--)
  4052. {
  4053. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4054. }
  4055. }
  4056. //links replace corrections
  4057. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4058. {
  4059. var idx = arr.length;
  4060. while (idx--)
  4061. {
  4062. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4063. }
  4064. }
  4065. m = arr.length;
  4066. n = host.blockSize;
  4067. if (m > n)
  4068. {
  4069. //insert block separators (RAND_STRING) into the array
  4070. for(var i = n; i < m; i += n + 1)
  4071. {
  4072. arr.splice(i, 0, RAND_STRING);
  4073. }
  4074. }
  4075.  
  4076. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4077. apiUrl: host.apiUrl,
  4078. postData: host.postData,
  4079. resLinkRegex: host.resLinkRegex,
  4080. resLiveRegex: host.resLiveRegex,
  4081. resDeadRegex: host.resDeadRegex,
  4082. resUnavaRegex: host.resUnavaRegex
  4083. });
  4084. //clean up
  4085. arr.length = 0;
  4086. }
  4087. //
  4088.  
  4089. function gimmeHostName(link)
  4090. {
  4091. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4092. }
  4093. }
  4094. function checkLinks(filterId)
  4095. {
  4096. startBulkCheck(filterId);
  4097. start(filterId);
  4098. }
  4099.  
  4100. /**
  4101. * Initialises progress box including event binding and CSS
  4102. */
  4103. function initProgressBox()
  4104. {
  4105. if ($("#warlc-progressbox").length > 0)
  4106. return;
  4107. //progressbox css change size and color of progress box
  4108. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4109. "; opacity:" + (Progress_box_opacity / 100) +
  4110. "; bottom:" + Processbox_Pos_Y +
  4111. "%; left:" + Processbox_Pos_X +
  4112. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4113. \
  4114. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4115. \
  4116. .warlc-progressitem {}\
  4117. \
  4118. .alive {color:#00FF7F; " + Live_links_color +
  4119. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4120. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4121. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4122. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4123. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4124. //
  4125. if (Progressbox_Scaling != 100) {
  4126. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4127. 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
  4128. });
  4129. }
  4130. 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
  4131.  
  4132. GM_addStyle(progressboxCss);
  4133. $('body').append(' <div id="warlc-progressbox">\
  4134. <div class="warlc-progressbar"></div>\
  4135. <span class="warlc-progressitem alive"></span> - \
  4136. <span class="warlc-progressitem dead"></span> - \
  4137. <span class="warlc-progressitem unava"></span> - \
  4138. <span class="warlc-progressitem prem"></span> - \
  4139. <span class="warlc-progressitem processing"></span>\
  4140. </div>');
  4141. $('#warlc-progressbox').hide().click(function(){
  4142. clearInterval(intervalId);
  4143. $(this).hide();
  4144. return false;
  4145. });
  4146. $(".warlc-progressbar").progressbar({complete: function(){
  4147. $(this).fadeOut();
  4148. clearInterval(intervalId); //stop refreshing the stats
  4149. }
  4150. })
  4151. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4152. }
  4153. /**
  4154. * Updates progress data in progress box
  4155. */
  4156. function updateProgress()
  4157. {
  4158. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4159. if (cLinksTotal) // some links were detected on page
  4160. {
  4161. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4162. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4163. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4164. if ((cLinksTotal - cLinksProcessed) == 0)
  4165. {
  4166. $progressItems.first().text(cLinksAlive)
  4167. .next().text(cLinksDead)
  4168. .next().text(cLinksUnava)
  4169. .next().text(cLinksprem)
  4170. .next().remove();
  4171. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4172. $('#warlc-progressbox div:first-child').remove();
  4173. }
  4174. else
  4175. {
  4176. $progressItems.first().text(cLinksAlive)
  4177. .next().text(cLinksDead)
  4178. .next().text(cLinksUnava)
  4179. .next().text(cLinksprem)
  4180. .next().text(cLinksTotal - cLinksProcessed);
  4181. }
  4182. }
  4183. }
  4184.  
  4185. function check_all_links()
  4186. {
  4187. add_WARLC_style();
  4188.  
  4189. if (Show_progress_stats)
  4190. {
  4191. initProgressBox();
  4192. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4193. }
  4194.  
  4195. startBulkCheck(null);
  4196. start(null);
  4197.  
  4198. if (!containers_processed)
  4199. {
  4200. processContainers();
  4201. }
  4202. }
  4203.  
  4204. //Copies all found dead links to clipboard - right now for Scriptish only
  4205. function copy_dead_to_clipboard()
  4206. {
  4207. initClipBoardTools();
  4208.  
  4209. var deadlinksxpath = "//.[@class='adead_link']";
  4210.  
  4211. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4212. var foundlinkstext = '';
  4213.  
  4214. var foundlinkIdx = foundlinks.snapshotLength;
  4215.  
  4216. while(foundlinkIdx--)
  4217. {
  4218. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4219. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4220. }
  4221.  
  4222. GM_setClipboard(foundlinkstext);
  4223. }
  4224. //Copies all found live links to clipboard
  4225. function copy_live_to_clipboard()
  4226. {
  4227. initClipBoardTools();
  4228.  
  4229. var livelinksxpath = "//.[@class='alive_link']";
  4230.  
  4231. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4232. var foundlinks2text = '';
  4233.  
  4234. var foundlink2Idx = foundlinks2.snapshotLength;
  4235.  
  4236. while(foundlink2Idx--)
  4237. {
  4238. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4239. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4240. }
  4241.  
  4242. GM_setClipboard(foundlinks2text);
  4243. }
  4244.  
  4245. function toggle_autocheck()
  4246. {
  4247. var currentState = GM_getValue("Autocheck", false);
  4248. GM_setValue("Autocheck", !currentState);
  4249.  
  4250. if (currentState == true)
  4251. {
  4252. sendMessage('Autocheck disabled', 'red');
  4253. }
  4254. else
  4255. {
  4256. sendMessage('Autocheck enabled', 'SpringGreen');
  4257. }
  4258. }
  4259. function toggle_Enable_Anonymizer()
  4260. {
  4261. var currentState = GM_getValue("Enable_Anonymizer", false);
  4262. GM_setValue("Enable_Anonymizer", !currentState);
  4263.  
  4264. if (currentState == true)
  4265. {
  4266. GM_setValue("Ref_anonymize_service", "");
  4267. sendMessage('Anonymizer Disabled', 'red');
  4268. }
  4269. else
  4270. {
  4271. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4272. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4273. }
  4274. }
  4275.  
  4276. function KeyDownHandler(event)
  4277. {
  4278. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4279. if (event.ctrlKey && event.altKey)
  4280. {
  4281. switch(kcode)
  4282. {
  4283. case 65 : check_all_links(); break;
  4284. case 67 : configuration(); break;
  4285. case 68 : copy_dead_to_clipboard(); break;
  4286. case 76 : copy_live_to_clipboard(); break;
  4287. case 87 : toggle_autocheck(); break;
  4288. case 90 : toggle_Enable_Anonymizer(); break;
  4289. }
  4290. }
  4291. }
  4292.  
  4293. //
  4294. //
  4295. // SCRIPT EXECUTION START POINT
  4296. //
  4297. //
  4298. // Safari specific GM_getResourceText override
  4299. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4300. {
  4301. GM_getResourceText = function(res) {
  4302. var $cssText = GM_getValue("jquery_css", "");
  4303. if ($cssText == "")
  4304. {
  4305. GM_xmlhttpRequest(
  4306. {
  4307. method: 'GET',
  4308. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4309. onload: function (result)
  4310. {
  4311. GM_setValue("jquery_css", result.responseText);
  4312. window.location.reload();
  4313. }
  4314. });
  4315. }
  4316. else
  4317. {
  4318. return $cssText;
  4319. }
  4320. }
  4321. }
  4322. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4323. GM_addStyle(jQueryUICSS);
  4324. //init the stuff
  4325. setVariables();
  4326. initBulkCheck();
  4327. //init info boxes
  4328. messageBox.style.position = 'fixed';
  4329. messageBox.style.top = '20px';
  4330. messageBox.style.left = '10px';
  4331. messageBox.style.opacity = '0.85';
  4332. messageBox.style.background = 'DimGray';
  4333. messageBox.style.fontSize = '36px';
  4334. document.body.appendChild(messageBox);
  4335.  
  4336. //register GM menu commands & keyboard shortcut event handler
  4337. if (Keyboard_functions)
  4338. {
  4339. $(document).keydown(KeyDownHandler);
  4340. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4341. 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);
  4342. }
  4343. else
  4344. {
  4345. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4346. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4347. }
  4348.  
  4349. //start linkchecking
  4350. if (Autocheck)
  4351. {
  4352. $(document).ready(check_all_links);
  4353. }
  4354.  
  4355. //
  4356. //
  4357. // SCRIPT EXECUTION END POINT
  4358. //
  4359. //
  4360.  
  4361. //shows configuration box
  4362. function configuration()
  4363. {
  4364.  
  4365. //prevent multiple creating of config window
  4366. if ($("#hideshow").length)
  4367. {
  4368. $("#hideshow").show();
  4369. return;
  4370. }
  4371.  
  4372. var configcss = '\
  4373. .popup_block .popup fieldset{\
  4374. padding: 1%;\
  4375. border-style: solid;\
  4376. border-width: 1px;\
  4377. border-color: gray;\
  4378. margin-bottom: 1px;\
  4379. }\
  4380. #h3hideshowtitle{\
  4381. font-size: 2em;\
  4382. }\
  4383. #h3hideshow{\
  4384. font-size: 1.5em;\
  4385. }\
  4386. #imghideshow {\
  4387. border: none;\
  4388. }\
  4389. #plusimage{\
  4390. display:inline;\
  4391. }\
  4392. #hideshow {\
  4393. position: fixed;\
  4394. width: 100%;\
  4395. height: 100%;\
  4396. top: 0;\
  4397. left: 0;\
  4398. font-size:12px;\
  4399. z-index:2147483645;\
  4400. text-align:left;\
  4401. }\
  4402. #fade {\
  4403. background: #000;\
  4404. position: fixed;\
  4405. width: 100%;\
  4406. height: 100%;\
  4407. opacity: .80;\
  4408. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4409. left: 0;\
  4410. z-index: 10;\
  4411. }\
  4412. .popup_block {\
  4413. font-family:verdana;\
  4414. color:black;\
  4415. background: #ddd;\
  4416. padding: 10px 20px;\
  4417. border: 2px solid DarkOrange;\
  4418. float: left;\
  4419. width: 700px;\
  4420. position: absolute;\
  4421. top: 7%;\
  4422. left: 50%;\
  4423. bottom: 7%;\
  4424. margin: 0 0 0 -350px;\
  4425. -moz-border-radius:10px;\
  4426. z-index: 100;\
  4427. \
  4428. }\
  4429. .popup_block .popup {\
  4430. float: left;\
  4431. width: 100%;\
  4432. background: #fff;\
  4433. margin: 10px 0;\
  4434. padding: 0px 0 0px;\
  4435. border-left: 1px solid #bbb;\
  4436. border-top: 1px solid #bbb;\
  4437. border-right: 1px solid #bbb;\
  4438. }\
  4439. #h3hideshow{\
  4440. margin: 1px 0 0px;\
  4441. padding: 1px 10px;\
  4442. border-bottom: 1px solid #bbb;\
  4443. font-size: 1.5em;\
  4444. font-weight: normal;\
  4445. cursor:pointer;\
  4446. background:#DDDDDD none repeat scroll 0 0;\
  4447. }\
  4448. #h3hideshow:hover{\
  4449. background:#C0BEBE none repeat scroll 0 0;\
  4450. }\
  4451. #h3hideshowtitle{\
  4452. margin: 2px 0 0px;\
  4453. padding: 7px 10px;\
  4454. border-bottom: 1px solid #bbb;\
  4455. font-size: 1.5em;\
  4456. font-weight: normal;\
  4457. }\
  4458. .popup_block .popup a {\
  4459. color:DarkSkyBlue;\
  4460. text-decoration:none;\
  4461. }\
  4462. .popup p {\
  4463. padding: 1px 10px;\
  4464. margin: 0px 0;\
  4465. -x-system-font:none;\
  4466. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4467. font-size:10pt;\
  4468. font-size-adjust:none;\
  4469. font-stretch:normal;\
  4470. font-style:normal;\
  4471. font-variant:normal;\
  4472. font-weight:normal;\
  4473. line-height:normal;\
  4474. }\
  4475. #sites {\
  4476. padding: 1px 10px;\
  4477. margin: 0px 0;display:inline-block;width:16em;\
  4478. }\
  4479. #dev_ver {\
  4480. color: #00FF00;\
  4481. background: Black;\
  4482. text-align: right;\
  4483. }\
  4484. #sites_suspended {\
  4485. padding: 1px 10px;\
  4486. margin: 0px 0;display:inline-block;width:16em;\
  4487. text-decoration: line-through;\
  4488. }\
  4489. .popup img.cntrl {\
  4490. position: absolute;\
  4491. right: -15px;\
  4492. top: -15px;\
  4493. }\
  4494. #bulk {\
  4495. font-size:8pt;\
  4496. color:orange;\
  4497. padding: 1px 10px;\
  4498. margin: 0px 0;\
  4499. display:inline-block;\
  4500. width:100px;\
  4501. }\
  4502. #note {\
  4503. font-size:7pt;\
  4504. color:gray;\
  4505. padding: 1px 10px;\
  4506. margin: 0px 0;display:inline-block;\
  4507. min-width:100px;\
  4508. }\
  4509. #rednote {\
  4510. font-size:7pt;\
  4511. color:red;\
  4512. padding: 1px 10px;\
  4513. margin: 0px 0;display:inline-block;\
  4514. }\
  4515. #configinfo {\
  4516. font-size:8pt;\
  4517. color:gray;\
  4518. padding: 1px 10px;\
  4519. margin: 0px 0;display:inline-block;width:60em;\
  4520. }\
  4521. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4522. color:black;\
  4523. border-style: solid;\
  4524. border-width: 1px;\
  4525. border-color: gray;\
  4526. }\
  4527. #h3hideshowcontent {\
  4528. min-height:220px;\
  4529. max-height:220px;\
  4530. overflow:auto;\
  4531. display: none;\
  4532. padding: 10px 10px;\
  4533. }\
  4534. #specinfo{\
  4535. font-size:14px;\
  4536. }\
  4537. .warlc-ui-tab {\
  4538. height:300px;\
  4539. overflow:auto;\
  4540. }\
  4541. #warlcsitelist2, #warlcsitelist1 {\
  4542. height:220px;\
  4543. border-top: 1px solid #ddd;\
  4544. padding-top: 5px;\
  4545. overflow:auto;\
  4546. }\
  4547. input:hover+label {\
  4548. background:#F1F77C;\
  4549. font-size:110%;\
  4550. }\
  4551. ';
  4552.  
  4553. GM_addStyle(configcss);
  4554.  
  4555. var customRulesRefHTML =
  4556. '\
  4557. <br>\
  4558. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4559. <b>@keyword</b> <i>parameter</i>\
  4560. <br><br>\
  4561. 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. \
  4562. <br><br>\
  4563. 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.\
  4564. 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.\
  4565. 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.\
  4566. 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,\
  4567. but all commands until the next valid @customrule are ignored.<br><br>\
  4568. Available forms and types:\
  4569. <ul>\
  4570. <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.\
  4571. <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.\
  4572. <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.\
  4573. <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.\
  4574. </ul>\
  4575. Other available commands:<br>\
  4576. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4577. <ul>\
  4578. <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.\
  4579. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4580. <ul>examples:<br>\
  4581. <li>good: <i>filehost.com/download/</i><br>\
  4582. <li>good: <i>download.filehost.net/?d=</i><br>\
  4583. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4584. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4585. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4586. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4587. <li>bad: <i>filehost.com</i> - no slash<br>\
  4588. </ul>\
  4589. \
  4590. <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.\
  4591. 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 \
  4592. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4593. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4594. 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.)\
  4595. Two spaces again match any whitespace.\
  4596. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4597. Two spaces again match any whitespace.\
  4598. <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. \
  4599. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4600. </ul>\
  4601. \
  4602. ';
  4603.  
  4604. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4605. var configurationinnerHTML =
  4606. '<div id="fade"></div>\
  4607. <div class="popup_block">\
  4608. <div class="popup">\
  4609. <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/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sI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qFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+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>\
  4611. <div id="warlc-conf-tabs">\
  4612. <ul>\
  4613. <li><a href="#tabs-1">Filehostings</a></li>\
  4614. <li><a href="#tabs-2">Containers</a></li>\
  4615. <li><a href="#tabs-5">Custom rules</a></li>\
  4616. <li><a href="#tabs-3">Settings</a></li>\
  4617. <li><a href="#tabs-4">About</a></li>\
  4618. </ul>\
  4619. <div id="tabs-1" class="warlc-ui-tab">\
  4620. <div class="warlc-ui-buttonset">\
  4621. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4622. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4623. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4624. </div><br>\
  4625. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4626. <div id="warlcsitelist1"><span>Empty</span></div>\
  4627. </div>\
  4628. <div id="tabs-2" class="warlc-ui-tab">\
  4629. <div class="warlc-ui-buttonset">\
  4630. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4631. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4632. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4633. </div><br>\
  4634. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4635. <div id="warlcsitelist2"><span>Empty</span></div>\
  4636. </div>\
  4637. <div id="tabs-5" class="warlc-ui-tab">\
  4638. <div class="warlcsettings">\
  4639. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4640. <br>\
  4641. <div>Edit custom rules: \
  4642. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4643. <div id="customRulesReference" style="display:none;">'
  4644. + customRulesRefHTML + '\
  4645. </div>\
  4646. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4647. </div>\
  4648. </div>\
  4649. </div>\
  4650. <div id="tabs-3" class="warlc-ui-tab">\
  4651. <div class="warlcsettings">\
  4652. <fieldset>\
  4653. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4654. <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>\
  4655. </fieldset>\
  4656. <fieldset>\
  4657. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4658. <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>\
  4659. <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>\
  4660. <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>\
  4661. <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>\
  4662. <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>\
  4663. <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>\
  4664. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4665. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4666. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4667. <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>\
  4668. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4669. <fieldset>\
  4670. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4671. <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>\
  4672. <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>\
  4673. <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>\
  4674. </fieldset>\
  4675. </fieldset>\
  4676. <fieldset>\
  4677. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4678. </fieldset>\
  4679. <fieldset>\
  4680. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4681. </fieldset>\
  4682. <fieldset>\
  4683. <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>\
  4684. </fieldset>\
  4685. <fieldset>\
  4686. <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>\
  4687. </fieldset>\
  4688. <fieldset>\
  4689. <legend>Progress box settings</legend>\
  4690. <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>\
  4691. <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>\
  4692. <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>\
  4693. </fieldset>\
  4694. </div>\
  4695. </div>\
  4696. <div id="tabs-4" class="warlc-ui-tab">\
  4697. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4698. <br />\
  4699. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4700. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4701. <br />\
  4702. <p><b>Currently supported:</b><br>\
  4703. Filehostings: ' + allHostNames.length + '<br />\
  4704. Containers: ' + allContainerNames.length + '<br />\
  4705. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4706. <br />\
  4707. <p><b>Based on:</b><br>\
  4708. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4709. <br />\
  4710. <p><b>Uses:</b></p>\
  4711. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4712. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4713. <br />\
  4714. <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>\
  4715. </div>\
  4716. </div>\
  4717. </div>\
  4718. </div>';
  4719. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4720. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4721. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4722. var elmHostList = document.getElementById("warlcsitelist1");
  4723. var elmContainerList = document.getElementById("warlcsitelist2");
  4724. buildSettings();
  4725. buildSitelist("", allHostNames, elmHostList);
  4726. buildSitelist("", allContainerNames, elmContainerList);
  4727. if (DEBUG_MODE)
  4728. {
  4729. //log all sites availability status
  4730. diagSites();
  4731. }
  4732. //handler for checkbox state change
  4733. function changeConfiguration(e)
  4734. {
  4735. var element = e.target;
  4736.  
  4737. if (element.type == 'checkbox')
  4738. {
  4739. if (element.checked == 1)
  4740. {
  4741. GM_setValue(element.id, true);
  4742. }
  4743. else
  4744. {
  4745. GM_setValue(element.id, false);
  4746. }
  4747.  
  4748. }
  4749. setVariables();
  4750. }
  4751.  
  4752. //Selects all filehosting checkboxes
  4753. function selectAll()
  4754. {
  4755. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4756. .each(function(index, element){GM_setValue(this.id, true)});
  4757. }
  4758.  
  4759. //Deselects all filehosting checkboxes
  4760. function selectNone()
  4761. {
  4762. $(":checkbox:visible:checked").prop("checked",false)
  4763. .each(function(index, element){GM_setValue(this.id, false)});
  4764. }
  4765. //Sets Processbox position setting
  4766. function changeProgBox(event) {
  4767. var setting;
  4768. switch(event.data.set) {
  4769. case "X": setting = "Processbox_Pos_X"; break;
  4770. case "Y": setting = "Processbox_Pos_Y"; break;
  4771. case "Scale": setting = "Progressbox_Scaling"; break;
  4772. }
  4773. var $setting = $("#" + setting);
  4774. var newSet = $setting.val().replace("%", "");
  4775. GM_setValue(setting, newSet);
  4776. }
  4777. //Sets value of Processbox position
  4778. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4779. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4780. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4781.  
  4782. //Inverts filehosting checkboxes selection
  4783. function selectInvert()
  4784. {
  4785. var $checked = $(":checkbox:visible:checked");
  4786. var $unchecked = $(":checkbox:visible:not(:checked)");
  4787. $unchecked.prop("checked",true)
  4788. .each(function(index, element){GM_setValue(this.id, true)});
  4789. $checked.prop("checked",false)
  4790. .each(function(index, element){GM_setValue(this.id, false)});
  4791. }
  4792. //toggles anonymizer on off
  4793. function Enable_Anonymizer()
  4794. {
  4795. var $checked = $(":checkbox:visible:checked");
  4796. var $unchecked = $(":checkbox:visible:not(:checked)");
  4797. $unchecked.prop("checked",true)
  4798. .each(function(index, element){GM_setValue(this.id, true)});
  4799. $checked.prop("checked",false)
  4800. .each(function(index, element){GM_setValue(this.id, false)});
  4801. }
  4802.  
  4803. function changeRefAnonymizer(){
  4804. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4805. }
  4806.  
  4807. //Sets live links color
  4808. function changeColorLive()
  4809. {
  4810. var inColorLive = document.getElementById("inputColorLive");
  4811. inColorLive.style.background = inColorLive.value;
  4812. GM_setValue("Live_links_color", inColorLive.value);
  4813. }
  4814.  
  4815. //Sets dead links color
  4816. function changeColorDead()
  4817. {
  4818. var inColorDead = document.getElementById("inputColorDead");
  4819. inColorDead.style.background = inColorDead.value;
  4820. GM_setValue("Dead_links_color", inColorDead.value);
  4821. }
  4822.  
  4823. //Sets temp. unavailable links color
  4824. function changeColorTemp()
  4825. {
  4826. var inColorTemp = document.getElementById("inputColorTemp");
  4827. inColorTemp.style.background = inColorTemp.value;
  4828. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4829. }
  4830.  
  4831. //Sets temp. unavailable links color
  4832. function changeColorCont()
  4833. {
  4834. var inColorCont = document.getElementById("inputColorCont");
  4835. inColorCont.style.background = inColorCont.value;
  4836. GM_setValue("Container_links_color", inColorCont.value);
  4837. }
  4838. //Sets premium. links color
  4839. function changeColorprem()
  4840. {
  4841. var inColorprem = document.getElementById("inputColorprem");
  4842. inColorprem.style.background = inColorprem.value;
  4843. GM_setValue("Premium_links_color", inColorprem.value);
  4844. }
  4845.  
  4846. //Diagnose sites for availability
  4847. function diagSites()
  4848. {
  4849. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4850.  
  4851. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4852. {
  4853. if (boxes[i].type == "checkbox")
  4854. {
  4855. checkAvailability(boxes[i]);
  4856. }
  4857. }
  4858.  
  4859. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4860.  
  4861. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4862. {
  4863. if (boxes[i].type == "checkbox")
  4864. {
  4865. checkAvailability(boxes[i]);
  4866. }
  4867. }
  4868.  
  4869. function checkAvailability(cbElm)
  4870. {
  4871. var cb = cbElm;
  4872. GM_xmlhttpRequest(
  4873. {
  4874. method: 'HEAD',
  4875. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4876. headers: {
  4877. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4878. 'Accept': 'text/xml',
  4879. 'Referer': ""
  4880. },
  4881. onload: function (result)
  4882. {
  4883. if (result.status != 200)
  4884. {
  4885. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4886. }
  4887. },
  4888. onerror: function (result)
  4889. {
  4890. if (result.status != 200)
  4891. {
  4892. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4893. //Sets Progress_box position setting
  4894. function changeProgBox(event) {
  4895. var setting;
  4896. switch(event.data.set) {
  4897. case "X": setting = "Progress_box_Pos_X"; break;
  4898. case "Y": setting = "Progress_box_Pos_Y"; break;
  4899. case "Scale": setting = "Progress_box_Scaling"; break;
  4900. }
  4901.  
  4902. var $setting = $("#" + setting);
  4903. var newSet = $setting.val().replace("%", "");
  4904. lsSetVal("general", setting, newSet);
  4905. }
  4906.  
  4907. //Sets value of Progress_box position
  4908. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4909. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4910. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4911. }
  4912. }
  4913. });
  4914. }
  4915. }
  4916. function buildSettings()
  4917. {
  4918. $(".warlcsettings :checkbox").each(function(){
  4919. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4920. .click(function(e){
  4921. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4922. setVariables();
  4923. });
  4924. })
  4925. }
  4926. //Dynamic build of host list
  4927. //param search [string] searches for hostnames matching search substring
  4928. //param siteNames [array] array of site names
  4929. //param targetNode [DOM Node] where the list should be built
  4930. // first child node is replaced
  4931. function buildSitelist(search, siteNames, targetNode)
  4932. {
  4933. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4934. var $targetNode = $(targetNode).empty();
  4935. var searchedSite = "";
  4936. $.each(siteNames, function(i, site){
  4937. if (searchedSite = site.match(searchRegex))
  4938. {
  4939. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4940. //ensuring backward compatibility with the rest of code, to be refactored later
  4941. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4942. //
  4943. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4944. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4945. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4946. );
  4947. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4948. .change(changeConfiguration);
  4949. $targetNode.append('<br />');
  4950. }
  4951. });
  4952. $targetNode.append("<hr>");
  4953. //obsolete hosts checkbox
  4954. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4955. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4956. .change(changeConfiguration);
  4957. $targetNode.append('<br />');
  4958. var foundName = "";
  4959. $.each(allObsoleteNames, function(i, site){
  4960. if (foundName = allObsoleteNames[i].match(searchRegex))
  4961. {
  4962. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4963. }
  4964. })
  4965. }
  4966. var hostSearchBox = document.getElementById("hostSearchBox");
  4967. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4968. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4969. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4970. $(".warlc-ui-select-all").click(selectAll).button();
  4971. $(".warlc-ui-select-none").click(selectNone).button();
  4972. $(".warlc-ui-select-invert").click(selectInvert).button();
  4973. $(".warlc-ui-buttonset").buttonset();
  4974. var inColorLive = document.getElementById("inputColorLive");
  4975. inColorLive.addEventListener('keyup', changeColorLive, false);
  4976.  
  4977. var inColorDead = document.getElementById("inputColorDead");
  4978. inColorDead.addEventListener('keyup', changeColorDead, false);
  4979.  
  4980. var inColorTemp = document.getElementById("inputColorTemp");
  4981. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4982.  
  4983. var inColorCont = document.getElementById("inputColorCont");
  4984. inColorCont.addEventListener('keyup', changeColorCont, false);
  4985. var inColorprem = document.getElementById("inputColorprem");
  4986. inColorprem.addEventListener('keyup', changeColorprem, false);
  4987. $("#refAnonymizer").change(changeRefAnonymizer);
  4988. //buttons and edit boxes init end
  4989.  
  4990. //icon sets radio buttons
  4991. var radioButtons = document.getElementsByName("warlciconset");
  4992. radioButtons[Icon_set].checked = "checked";
  4993.  
  4994. radioButtons[0].addEventListener("change", updateIconSet);
  4995. radioButtons[1].addEventListener("change", updateIconSet);
  4996. radioButtons[2].addEventListener("change", updateIconSet);
  4997. radioButtons[3].addEventListener("change", updateIconSet);
  4998. function updateIconSet()
  4999. {
  5000. GM_setValue("Icon_set", this.value * 1);
  5001. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5002. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5003. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5004. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5005. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5006.  
  5007. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5008. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5009.  
  5010. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5011. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5012. }
  5013. //
  5014. $('#showCustomRulesReference').click(function(e){
  5015. e.preventDefault();
  5016. $('#customRulesReference').toggle();
  5017. });
  5018. $('#Custom_rules_text')
  5019. .val(Custom_rules_text)
  5020. .change(saveCustomRules);
  5021. function saveCustomRules(e)
  5022. {
  5023. var cr = parseCustomRules(this.value);
  5024. if (cr.info.length)
  5025. 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, ' '));
  5026. GM_setValue('Custom_rules_text', this.value);
  5027. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5028. }
  5029. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5030. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5031. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5032. }
  5033.  
  5034. //begin standard link checking algorithm
  5035. function start(filterId)
  5036. {
  5037. var doNotLinkify = Do_not_linkify_DL_links;
  5038.  
  5039. // USER SELECTED FILE HOSTS INITIALIZATION START
  5040. var http_file_hosts = new Array(); //standard hostings
  5041. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5042. var http_file_hosts_obsolete = new Array(); //dead hostings
  5043. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5044.  
  5045. initFileHosts();
  5046. initFileHostsHeadersOnly();
  5047. initFileHostsCustom(); //CustomRules
  5048. // USER SELECTED FILE HOSTS INITIALIZATION END
  5049.  
  5050. // LINKIFICATION START
  5051. var totalxpath = '';
  5052. var totalxpathcoded = '';
  5053. var totalxpathobsolete = '';
  5054. var totalxpathheadersonly = '';
  5055. var totalourls = '';
  5056.  
  5057. var filehostLen = http_file_hosts.length;
  5058. var filehostCodedLen = http_file_hosts_coded.length;
  5059. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5060. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5061.  
  5062. var filehostIdx = filehostLen;
  5063. var filehostCodedIdx = filehostCodedLen;
  5064. var filehostObsoleteIdx = filehostObsoleteLen;
  5065. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5066.  
  5067. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5068. return;
  5069.  
  5070. while (filehostIdx--)
  5071. {
  5072. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5073. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5074. }
  5075.  
  5076. while (filehostCodedIdx--)
  5077. {
  5078. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5079. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5080. }
  5081.  
  5082. while (filehostObsoleteIdx--)
  5083. {
  5084. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5085. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5086. }
  5087.  
  5088. while (filehostHeadersOnlyIdx--)
  5089. {
  5090. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5091. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5092. }
  5093.  
  5094. totalourls = totalourls.replace(/\|$/g, "");
  5095. //TODO: further refactoring needed
  5096. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5097. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5098. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5099. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5100. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5101. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5102. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5103. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5104. if (filterId != null) //insert id restriction in the xpath
  5105. {
  5106. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5107. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5108. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5109. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5110. }
  5111. else
  5112. {
  5113. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5114. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5115. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5116. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5117. }
  5118. linkify(totalourls);
  5119. //LINKIFICATION END
  5120. //ENCRYPTED LINKS PROCESSING START
  5121. if (http_file_hosts_coded.length > 0)
  5122. {
  5123. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5124.  
  5125. // decrypt coded links (redirects, link protectors etc.)
  5126. if (linksCoded.snapshotLength > 0)
  5127. {
  5128. var link;
  5129. var reallinkreg;
  5130. var reallinkcorrection;
  5131.  
  5132. if (filterId == null)
  5133. {
  5134. cLinksTotal += linksCoded.snapshotLength;
  5135. }
  5136.  
  5137. var y = linksCoded.snapshotLength - 1;
  5138. do
  5139. {
  5140. // linksCoded.snapshotItem(y).id = 'processing_link';
  5141. link = linksCoded.snapshotItem(y);
  5142. filehostIdx = filehostCodedLen;
  5143. while (filehostIdx--)
  5144. {
  5145. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5146. {
  5147. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5148. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5149. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5150.  
  5151. decurl(link, reallinkreg, reallinkcorrection);
  5152. break;
  5153. }
  5154. }
  5155. }
  5156. while (y--);
  5157. }
  5158. }
  5159. //ENCRYPTED LINKS PROCESSING END
  5160.  
  5161. //STANDARD LINKCHECKING START
  5162. if (http_file_hosts.length > 0)
  5163. {
  5164. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5165.  
  5166. if (filterId == null)
  5167. {
  5168. cLinksTotal += lianks.snapshotLength;
  5169. }
  5170.  
  5171. if (lianks.snapshotLength > 0)
  5172. {
  5173. var link;
  5174.  
  5175. var URL = "";
  5176. var name = "";
  5177. var isAliveRegex = "";
  5178. var isDeadRegex = "";
  5179. var isUnavaRegex = "";
  5180. var ispremRegex = "";
  5181. var tryLoop = false;
  5182.  
  5183. var y = lianks.snapshotLength;
  5184.  
  5185. while (y--)
  5186. {
  5187. link = lianks.snapshotItem(y);
  5188.  
  5189. filehostIdx = filehostLen;
  5190. while (filehostIdx--)
  5191. {
  5192. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5193. {
  5194. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5195. isAliveRegex = http_file_hosts[filehostIdx][1];
  5196. isDeadRegex = http_file_hosts[filehostIdx][2];
  5197. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5198. ispremRegex = http_file_hosts[filehostIdx][6];
  5199. tryLoop = http_file_hosts[filehostIdx][5];
  5200.  
  5201. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5202.  
  5203. break;
  5204. }
  5205. }
  5206. }
  5207. }
  5208. }
  5209. //STANDARD LINKCHECKING END
  5210. //OBSOLETE FILE HOSTS PROCESSING START
  5211. if (filehostObsoleteLen > 0)
  5212. {
  5213. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5214.  
  5215. var obsoleteLink;
  5216.  
  5217. //check links
  5218. if (obsoletelinks.snapshotLength > 0)
  5219. {
  5220. var y = obsoletelinks.snapshotLength;
  5221.  
  5222. if (filterId == null)
  5223. {
  5224. cLinksTotal += y;
  5225. }
  5226.  
  5227. while (y--)
  5228. {
  5229. obsoleteLink = obsoletelinks.snapshotItem(y);
  5230.  
  5231. if (Display_tooltip_info)
  5232. {
  5233. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5234. }
  5235. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5236. }
  5237. }
  5238. }
  5239. //OBSOLETE FILE HOSTS PROCESSING END
  5240.  
  5241. //DIRECT LINKCHECKING START
  5242. if (http_file_hosts_headers_only.length > 0)
  5243. {
  5244. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5245.  
  5246. //check links
  5247. if (links.snapshotLength > 0)
  5248. {
  5249. var link;
  5250. var isAliveRegex;
  5251. var isDeadRegex;
  5252. var ispremRegex;
  5253.  
  5254. var y = links.snapshotLength;
  5255.  
  5256.  
  5257. if (filterId == null)
  5258. {
  5259. cLinksTotal += y;
  5260. }
  5261.  
  5262. while (y--)
  5263. {
  5264. // links.snapshotItem(y).id = 'processing_link';
  5265. link = links.snapshotItem(y);
  5266. filehostIdx = filehostHeadersOnlyLen;
  5267. while (filehostIdx--)
  5268. {
  5269. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5270. {
  5271. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5272. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5273. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5274. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5275.  
  5276. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5277.  
  5278. break;
  5279. }
  5280. }
  5281. }
  5282.  
  5283. }
  5284. }
  5285. //DIRECT LINKCHECKING END
  5286.  
  5287.  
  5288. //finds the real url on the page, replaces link.href with it and calls geturl
  5289. function decurl(link, reallinkreg, reallinkcorrection)
  5290. {
  5291.  
  5292. GM_xmlhttpRequest(
  5293. {
  5294. method: 'GET',
  5295. url: link.href,
  5296. headers: {
  5297. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5298. 'Accept': 'text/xml',
  5299. 'Referer': ""
  5300. },
  5301. onload: function (result)
  5302. {
  5303. // cLinksProcessed++;
  5304.  
  5305. var reallink = result.responseText.match(reallinkreg)[0];
  5306. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5307.  
  5308. link.href = reallink;
  5309.  
  5310. var i = http_file_hosts.length - 1;
  5311. do
  5312. {
  5313. if ((reallink.match(http_file_hosts[i][0])))
  5314. {
  5315. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5316. var isAliveRegex = http_file_hosts[i][1];
  5317. var isDeadRegex = http_file_hosts[i][2];
  5318. var isUnavaRegex = http_file_hosts[i][3];
  5319. var ispremRegex = http_file_hosts[i][4];
  5320.  
  5321. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5322.  
  5323. break;
  5324. }
  5325. }
  5326. while (i--);
  5327. }
  5328. });
  5329. }
  5330.  
  5331. function randUA()
  5332. {
  5333. //TODO
  5334. }
  5335. //Processes link
  5336. //
  5337. // [string] link link URL
  5338. // [string] isAliveRegex alive link regex
  5339. // [string] isDeadRegex dead link regex
  5340. // [string] isUnavaRegex unavailable link regex
  5341. // [string] ispremRegex premium link regex
  5342. // [boolean] tryLoop repeats request until succeeded
  5343. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5344. {
  5345. GM_xmlhttpRequest(
  5346. {
  5347. method: 'GET',
  5348. url: link.href,
  5349. headers: {
  5350. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5351. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5352. 'Referer': ""
  5353. },
  5354. onload: function (result)
  5355. {
  5356. var res = result.responseText;
  5357. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5358. {
  5359. displayTheCheckedLink(link, 'alive_link');
  5360. return;
  5361. }
  5362.  
  5363. if (res.match(isAliveRegex))
  5364. {
  5365. displayTheCheckedLink(link, 'alive_link');
  5366. return;
  5367. }
  5368.  
  5369. if (res.match(isDeadRegex))
  5370. {
  5371. displayTheCheckedLink(link, 'adead_link');
  5372. return;
  5373. }
  5374.  
  5375. if (isUnavaRegex && res.match(isUnavaRegex))
  5376. {
  5377. displayTheCheckedLink(link, 'unava_link');
  5378. return;
  5379. }
  5380. if (res.match(ispremRegex))
  5381. {
  5382. displayTheCheckedLink(link, 'prem_link');
  5383. return;
  5384. }
  5385.  
  5386. var resStatus = result.status;
  5387.  
  5388. if (resStatus == 404)
  5389. {
  5390. displayTheCheckedLink(link, 'adead_link');
  5391. }
  5392. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5393. {
  5394. if (tryLoop)
  5395. {
  5396. //wait 1-5 seconds and repeat the request
  5397. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5398. }
  5399. else
  5400. {
  5401. displayTheCheckedLink(link, 'unava_link');
  5402. }
  5403.  
  5404. return;
  5405. }
  5406. },
  5407. onerror: function ()
  5408. {
  5409. displayTheCheckedLink(link, 'unava_link');
  5410. }
  5411. });
  5412. }
  5413.  
  5414. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5415. {
  5416. GM_xmlhttpRequest(
  5417. {
  5418. method: 'HEAD',
  5419. url: link.href,
  5420. headers: {
  5421. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5422. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5423. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5424. 'Referer': ""
  5425. },
  5426. onload: function (result)
  5427. {
  5428. var resStatus = result.status;
  5429. var resHeaders = "";
  5430. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5431. {
  5432. displayTheCheckedLink(link, 'adead_link');
  5433. return;
  5434. }
  5435.  
  5436. resHeaders = result.responseHeaders;
  5437.  
  5438. if (resHeaders.match(isDeadRegex))
  5439. {
  5440. displayTheCheckedLink(link, 'adead_link');
  5441. return;
  5442. }
  5443.  
  5444. if (resHeaders.match(isAliveRegex))
  5445. {
  5446. displayTheCheckedLink(link, 'alive_link');
  5447. return;
  5448. }
  5449. if (resHeaders.match(ispremRegex))
  5450. {
  5451. displayTheCheckedLink(link, 'prem_link');
  5452. return;
  5453. }
  5454. },
  5455. onerror: function ()
  5456. {
  5457. displayTheCheckedLink(link, 'unava_link');
  5458. }
  5459. });
  5460. }
  5461.  
  5462. //Delinkfifies the <a> element object
  5463. function delinkifyLink(link)
  5464. {
  5465. var spanElm = document.createElement("span");
  5466. spanElm.className = link.className;
  5467. spanElm.innerHTML = link.innerHTML;
  5468.  
  5469. if (Display_tooltip_info)
  5470. {
  5471. spanElm.href = link.href;
  5472. spanElm.warlc_error = link.warlc_error;
  5473. switch (link.className){
  5474. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5475. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5476. case "unava_link": //reserved
  5477. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5478. default:
  5479. }
  5480. }
  5481. link.parentNode.replaceChild(spanElm, link);
  5482. }
  5483.  
  5484. //Assigns result status to the <a> element object and calls delinkifying eventually
  5485. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5486. function displayTheCheckedLink(link, resultStatus)
  5487. {
  5488. link.className = resultStatus;
  5489. link.href = Ref_anonymize_service + link.href;
  5490. if (Display_tooltip_info)
  5491. {
  5492. switch (resultStatus){
  5493. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5494. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5495. case "unava_link": //reserved
  5496. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5497. default:
  5498. }
  5499. }
  5500. if (doNotLinkify)
  5501. {
  5502. delinkifyLink(link);
  5503. }
  5504. cLinksProcessed++;
  5505.  
  5506. if (resultStatus == "alive_link")
  5507. {
  5508. cLinksAlive++;
  5509. return;
  5510. }
  5511.  
  5512. if (resultStatus == "adead_link")
  5513. {
  5514. cLinksDead++;
  5515. return;
  5516. }
  5517.  
  5518. if (resultStatus == "unava_link")
  5519. {
  5520. cLinksUnava++;
  5521. }
  5522. if (resultStatus == "prem_link")
  5523. {
  5524. cLinksprem++;
  5525. return;
  5526. }
  5527. }
  5528.  
  5529.  
  5530. function initFileHosts()
  5531. {
  5532.  
  5533. function addObsoleteHost(linkRegex, xpathEx)
  5534. {
  5535. var host = new Array(2);
  5536. host[0] = linkRegex;
  5537. host[1] = xpathEx;
  5538. http_file_hosts_obsolete.push(host);
  5539. }
  5540.  
  5541. //obsolete file hosts init start
  5542. if (Obsolete_file_hosts)
  5543. {
  5544. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5545. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5546. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5547. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5548. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5549. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5550. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5551. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5552. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5553. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5554. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5555. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5556. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5557. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5558. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5559. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5560. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5561. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5562. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5563. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5564. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5565. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5566. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5567. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5568. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5569. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5570. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5571. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5572. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5573. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5574. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5575. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5576. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5577. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5578. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5579. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5580. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5581. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5582. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5583. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5584. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5585. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5586. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5587. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5588. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5589. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5590. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5591. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5592. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5593. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5594. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5595. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5596. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5597. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5598. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5599. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5600. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5601. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5602. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5603. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5604. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5605. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5606. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5607. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5608. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5609. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5610. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5611. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5612. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5613. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5614. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5615. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5616. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5617. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5618. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5619. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5620. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5621. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5622. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5623. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5624. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5625. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5626. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5627. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5628. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5629. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5630. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5631. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5632. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5633. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5634. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5635. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5636. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5637. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5638. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5639. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5640. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5641. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5642. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5643. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5644. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5645. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5646. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5647. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5648. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5649. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5650. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5651. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5652. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5653. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5654. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5655. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5656. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5657. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5658. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5659. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5660. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5661. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5662. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5663. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5664. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5665. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5666. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5667. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5668. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5669. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5670. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5671. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5672. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5673. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5674. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5675. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5676. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5677. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5678. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5679. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5680. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5681. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5682. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5683. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5684. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5685. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5686. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5687. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5688. 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')]");
  5689. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5690. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5691. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5692. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5693. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5694. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5695. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5696. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5697. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5698. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5699. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5700. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5701. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5702. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5703. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5704. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5705. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5706. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5707. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5708. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5709. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5710. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5711. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5712. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5713. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5714. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5715. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5716. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5717. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5718. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5719. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5720. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5721. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5722. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5723. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5724. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5725. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5726. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5727. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5728. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5729. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5730. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5731. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5732. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5733. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5734. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5735. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5736. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5737. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5738. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5739. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5740. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5741. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5742. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5743. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5744. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5745. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5746. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5747. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5748. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5749. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5750. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5751. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5752. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5753. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5754. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5755. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5756. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5757. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5758. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5759. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5760. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5761. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5762. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5763. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5764. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5765. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5766. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5767. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5768. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5769. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5770. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5771. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5772. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5773. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5774. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5775. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5776. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5777. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5778. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5779. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5780. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5781. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5782. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5783. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5784. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5785. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5786. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5787. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5788. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5789. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5790. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5791. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5792. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5793. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5794. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5795. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5796. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5797. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5798. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5799. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5800. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5801. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5802. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5803. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5804. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5805. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5806. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5807. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5808. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5809. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5810. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5811. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5812. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5813. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5814. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5815. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5816. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5817. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5818. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5819. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5820. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5821. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5822. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5823. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5824. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5825. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5826. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5827. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5828. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5829. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5830. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5831. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5832. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5833. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5834. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5835. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5836. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5837. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5838. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5839. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5840. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5841. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5842. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5843. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5844. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5845. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5846. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5847. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5848. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5849. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5850. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5851. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5852. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5853. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5854. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5855. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5856. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5857. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5858. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5859. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5860. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5861. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5862. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5863. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5864. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5865. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5866. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5867. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5868. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5869. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5870. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5871. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5872. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5873. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5874. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5875. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5876. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5877. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5878. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5879. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5880. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5881. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5882. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5883. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5884. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5885. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5886. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5887. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5888. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5889. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5890. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5891. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5892. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5893. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5894. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5895. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5896. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5897. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5898. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5899. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5900. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5901. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5902. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5903. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5904. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5905. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5906. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5907. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5908. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5909. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5910. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5911. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5912. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5913. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5914. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5915. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5916. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5917. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5918. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5919. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5920. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5921. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5922. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5923. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5924. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5925. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5926. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5927. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5928. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5929. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5930. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5931. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5932. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5933. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5934. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5935. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5936. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5937. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5938. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5939. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5940. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5941. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5942. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5943. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5944. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5945. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5946. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5947. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5948. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5949. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5950. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5951. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5952. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5953. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5954. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5955. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5956. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5957. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5958. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5959. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5960. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5961. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5962. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5963. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5964. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5965. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5966. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5967. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5968. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5969. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5970. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5971. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5972. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5973. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5974. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5975. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5976. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5977. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5978. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5979. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5980. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5981. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5982. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5983. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5984. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5985. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5986. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5987. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5988. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5989. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5990. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5991. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5992. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5993. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5994. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5995. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5996. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5997. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5998. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5999. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6000. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6001. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6002. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6003. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6004. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6005. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6006. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6007. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6008. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6009. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6010. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6011. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6012. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6013. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6014. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6015. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6016. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6017. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6018. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6019. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6020. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6021. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6022. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6023. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6024. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6025. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6026. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6027. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6028. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6029. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6030. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6031. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6032. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6033. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6034. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6035. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6036. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6037. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6038. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6039. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6040. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6041. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6042. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6043. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6044. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6045. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6046. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6047. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6048. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6049. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6050. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6051. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6052. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6053. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6054. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6055. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6056. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6057. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6058. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6059. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6060. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6061. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6062. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6063. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6064. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6065. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6066. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6067. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6068. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6069. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6070. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6071. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6072. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6073. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6074. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6075. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6076. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6077. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6078. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6079. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6080. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6081. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6082. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6083. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6084. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6085. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6086. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6087. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6088. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6089. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6090. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6091. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6092.  
  6093. // obsolete start start2
  6094. }
  6095. //obsolete file hosts init end
  6096. //Add Host Example
  6097. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6098. {
  6099. addFileHost(
  6100. "datafile\.com\/\\w+",
  6101. 'var captchaPanel|<link href="/css/files_download.css"',
  6102. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6103. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6104. '<style type="text/css">',
  6105. "//a[contains(@href,'datafile.com')]",
  6106. true);
  6107. } */
  6108.  
  6109. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6110. {
  6111. var host = new Array(7);
  6112. host[0] = linkRegex;
  6113. host[1] = isAliveRegex;
  6114. host[2] = isDeadRegex;
  6115. host[3] = isUnavaRegex;
  6116. host[6] = ispremRegex;
  6117. host[4] = xpathEx;
  6118. tryLoop ? host[5] = true : host[5] = false;
  6119. http_file_hosts.push(host);
  6120. }
  6121. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6122. {
  6123. addFileHost(
  6124. "megafileupload\.com\/..\/file\/",
  6125. 'downloadbtn',
  6126. 'is not found',
  6127. 'optional--',
  6128. 'optional2--',
  6129. "//a[contains(@href,'megafileupload.com')]");
  6130. }
  6131. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6132. {
  6133. addFileHost(
  6134. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6135. 'download\\.gif"',
  6136. 'p_point">',
  6137. 'optional--',
  6138. 'optional2--',
  6139. "//a[contains(@href,'demo.ovh.eu')]");
  6140. }*/
  6141. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6142. {
  6143. addFileHost(
  6144. "safelinking\\.net\/p\/\\w+",
  6145. 'color:green;"',
  6146. 'color:(?:red|orange);"',
  6147. 'color:(?:grey|brown);"',
  6148. 'optional2--',
  6149. "//a[contains(@href,'safelinking.net/p/')]",
  6150. true);
  6151. }
  6152. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6153. {
  6154. addFileHost(
  6155. "fastshare\\.cz\/\\d+\/\\w*",
  6156. 'dwntable">|speed-low',
  6157. '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',
  6158. 'optional--',
  6159. 'optional2--',
  6160. "//a[contains(@href,'fastshare.cz')]");
  6161. }
  6162. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6163. {
  6164. addFileHost(
  6165. "[fF]ast[sS]hare\\.org\/download",
  6166. 'Download ">',
  6167. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6168. 'optional--',
  6169. 'optional2--',
  6170. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6171. }
  6172. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6173. {
  6174. addFileHost(
  6175. "rapidgator\\.net\/file\/\\w+",
  6176. '/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',
  6177. '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',
  6178. 'optional--',
  6179. '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',
  6180. "//a[contains(@href,'rapidgator.net/file')]",
  6181. true
  6182. );
  6183. }
  6184. if (GM_getValue("Check_rg_dot_to_links", false))
  6185. {
  6186. addFileHost(
  6187. "rg\.to\/\\w+",
  6188. '/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',
  6189. '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',
  6190. 'optional--',
  6191. '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',
  6192. "//a[contains(@href,'rg.to')]");
  6193. }
  6194. if (GM_getValue("Check_relink_dot_us_links", false))
  6195. {
  6196. addFileHost(
  6197. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6198. 'online_detail\\.png" alt="Status',
  6199. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6200. 'unknown_detail\\.png" alt="Status',
  6201. 'optional2--',
  6202. "//a[contains(@href,'relink.us/')]"
  6203. );
  6204. }
  6205. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6206. {
  6207. addFileHost(
  6208. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6209. 'div id="dl"',
  6210. 'Sie haben den Link falsch',
  6211. 'optional--',
  6212. 'optional2--',
  6213. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6214. );
  6215. }
  6216. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6217. {
  6218. addFileHost(
  6219. "flyfiles\\.net\/\\w+",
  6220. 'download_button"|"Download file"',
  6221. 'File not found!|Файл не найден',
  6222. 'optional--',
  6223. 'optional2--',
  6224. "//a[contains(@href,'flyfiles.net/')]"
  6225. );
  6226. }
  6227. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6228. {
  6229. addFileHost(
  6230. "wikiupload\\.com\/\\w+",
  6231. 'download-button">',
  6232. 'Sorry, File not found',
  6233. 'optional--',
  6234. 'optional2--',
  6235. "//a[contains(@href,'wikiupload.com/')]"
  6236. );
  6237. }
  6238. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6239. {
  6240. addFileHost(
  6241. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6242. 'file\\.php">|Pobierz Plik',
  6243. 'Podany plik nie zosta',
  6244. 'optional--',
  6245. 'optional2--',
  6246. "//a[contains(@href,'hostuje.net/file')]"
  6247. );
  6248. }
  6249. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6250. {
  6251. addFileHost(
  6252. "gettyfile\\.ru\/\\d+",
  6253. 'download\\.gif border',
  6254. '<center><font size="3">',
  6255. 'optional--',
  6256. 'optional2--',
  6257. "//a[contains(@href,'gettyfile.ru/')]"
  6258. );
  6259. }
  6260. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6261. {
  6262. addFileHost(
  6263. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6264. 'download\\-file">',
  6265. 'col-1">\\s*<h1>',
  6266. 'optional--',
  6267. 'optional2--',
  6268. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6269. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6270. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6271. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6272. );
  6273. }
  6274. if (GM_getValue("Check_data_dot_hu_links", false))
  6275. {
  6276. addFileHost(
  6277. "data\\.hu",
  6278. 'download_box_button|Lassú letöltés',
  6279. 'missing\\.php|Az adott fájl nem létezik',
  6280. 'optional--',
  6281. 'optional2--',
  6282. "//a[contains(@href,'data.hu')]",
  6283. true
  6284. );
  6285. }
  6286. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6287. {
  6288. addFileHost(
  6289. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6290. 'premiumBtn"',
  6291. 'errorMessage"',
  6292. 'optional--',
  6293. 'optional2--',
  6294. "//a[contains(@href,'indowebster.com/download')]"
  6295. );
  6296. }
  6297. if (GM_getValue("Check_superload_dot_cz_links", false))
  6298. {
  6299. addFileHost(
  6300. "superload\\.cz\/dl\/\\w+",
  6301. 'icon-download">',
  6302. 'soubor nebyl nalezen',
  6303. 'optional--',
  6304. 'optional2--',
  6305. "//a[contains(@href,'superload.cz/dl')]"
  6306. );
  6307. }
  6308. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6309. {
  6310. addFileHost(
  6311. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6312. 'op" value="download',
  6313. 'class="err">|width:500px;text-align:left;">',
  6314. 'optional--',
  6315. 'optional2--',
  6316. "//a[contains(@href,'hulkfile.')]"
  6317. );
  6318. }
  6319. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6320. {
  6321. addFileHost(
  6322. "easybytez\\.com\/\\w+",
  6323. 'op" value="download',
  6324. 'stop_error\\.gif',
  6325. 'optional--',
  6326. 'optional2--',
  6327. "//a[contains(@href,'easybytez.com/')]"
  6328. );
  6329. }
  6330. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6331. {
  6332. addFileHost(
  6333. "filestore\\.com\\.ua\/\\?d=\\w+",
  6334. 'tdrow1>',
  6335. 'class=warn',
  6336. 'optional--',
  6337. 'optional2--',
  6338. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6339. );
  6340. }
  6341. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6342. {
  6343. addFileHost(
  6344. "openfile\\.ru\/(?:video\/|)\\d+",
  6345. 'videobox_left">',
  6346. 'blog_title">|not found on this server',
  6347. 'optional--',
  6348. 'optional2--',
  6349. "//a[contains(@href,'openfile.ru/')]"
  6350. );
  6351. }*/
  6352. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6353. {
  6354. addFileHost(
  6355. "extmatrix\\.com\/files\/\\w+",
  6356. 'div class="success"',
  6357. 'div class="error"',
  6358. 'optional--',
  6359. 'optional2--',
  6360. "//a[contains(@href,'extmatrix.com/files')]"
  6361. );
  6362. }
  6363. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6364. {
  6365. addFileHost(
  6366. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6367. 'content_lnkDownload',
  6368. 'error\\.aspx\\?',
  6369. 'optional--',
  6370. 'optional2--',
  6371. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6372. );
  6373. }
  6374. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6375. {
  6376. addFileHost(
  6377. "yourfilestore\\.com\/download\/\\d+\/",
  6378. 'download_data">',
  6379. 'may have been deleted|<h1>Sorry!<\/h1>',
  6380. 'optional--',
  6381. 'optional2--',
  6382. "//a[contains(@href,'yourfilestore.com/download')]"
  6383. );
  6384. }
  6385. if (GM_getValue("Check_filebig_dot_net_links", false))
  6386. {
  6387. addFileHost(
  6388. "filebig\\.net\/files\/\\w+",
  6389. 'downloadFile">',
  6390. '<p>File not found<\/p>',
  6391. 'optional--',
  6392. 'optional2--',
  6393. "//a[contains(@href,'filebig.net/files')]"
  6394. );
  6395. }
  6396. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6397. {
  6398. addFileHost(
  6399. "files\\.filefront\\.com\/\/;\\d+;;",
  6400. 'downloadLink">',
  6401. 'File not found, you',
  6402. 'optional--',
  6403. 'optional2--',
  6404. "//a[contains(@href,'files.filefront.com')]"
  6405. );
  6406.  
  6407. addFileHost(
  6408. "gamefront\\.com\/files\/\\d+",
  6409. 'downloadLink">',
  6410. 'File not found, you',
  6411. 'optional--',
  6412. 'optional2--',
  6413. "//a[contains(@href,'gamefront.com/files')]"
  6414. );
  6415. }
  6416. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6417. {
  6418. addFileHost(
  6419. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6420. 'dnlLnk"',
  6421. 'already been deleted',
  6422. 'optional--',
  6423. 'optional2--',
  6424. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6425. );
  6426. }
  6427. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6428. {
  6429. addFileHost(
  6430. "hellupload\\.com\/\\w+",
  6431. '<h3>Download File<br',
  6432. 'id="podstrona">|AVOID_IE_BUG',
  6433. 'optional--',
  6434. 'optional2--',
  6435. "//a[contains(@href,'hellupload.com/')]"
  6436. );
  6437. }
  6438. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6439. {
  6440. addFileHost(
  6441. "free\\-uploading\\.com\/\\w+",
  6442. 'op" value="download',
  6443. 'class="err">|width:500px;text-align:left;">',
  6444. 'optional--',
  6445. 'optional2--',
  6446. "//a[contains(@href,'free-uploading.com/')]"
  6447. );
  6448. }
  6449. if (GM_getValue("Check_fileape_dot_com_links", false))
  6450. {
  6451. addFileHost(
  6452. "fileape\\.com\/download\\-",
  6453. 'button_dl\\.png',
  6454. 'does not exist\\.',
  6455. 'optional--',
  6456. 'optional2--',
  6457. "//a[contains(@href,'fileape.com/')]"
  6458. );
  6459. }
  6460. if (GM_getValue("Check_uppit_dot_com_links", false))
  6461. {
  6462. addFileHost(
  6463. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6464. 'op" value="download',
  6465. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6466. 'optional--',
  6467. 'optional2--',
  6468. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6469. true
  6470. );
  6471. }
  6472. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6473. {
  6474. addFileHost(
  6475. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6476. 'op" value="download',
  6477. '>File Not Found<',
  6478. 'optional--',
  6479. 'optional2--',
  6480. "//a[contains(@href,'nosupload.com')]",
  6481. true
  6482. );
  6483. }
  6484. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6485. {
  6486. addFileHost(
  6487. "filesin\\.com\/\\w+\/download\\.html",
  6488. 'download_area">',
  6489. 'error_note">',
  6490. 'optional--',
  6491. 'optional2--',
  6492. "//a[contains(@href,'filesin.com/')]",
  6493. true
  6494. );
  6495. }*/
  6496. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6497. {
  6498. addFileHost(
  6499. "nowdownload\\.ch\/dl\/\\w+",
  6500. 'alert-success"',
  6501. 'This file does not exist!',
  6502. 'The file is being transfered',
  6503. 'optional2--',
  6504. "//a[contains(@href,'nowdownload.ch/dl')]"
  6505. );
  6506. }*/
  6507. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6508. {
  6509. addFileHost(
  6510. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6511. 'Dbutton_big"',
  6512. 'download\\-error\\.php',
  6513. 'optional--',
  6514. 'optional2--',
  6515. "//a[contains(@href,'axifile.com/')]"
  6516. );
  6517. }*/
  6518. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6519. {
  6520. addFileHost(
  6521. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6522. 'col-1">\\s*<s',
  6523. 'col-1">\\s*<h',
  6524. 'optional--',
  6525. 'optional2--',
  6526. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6527. );
  6528. }
  6529. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6530. {
  6531. addFileHost(
  6532. "turbobit\\.(?:net|pl)",
  6533. 'id="download-gate-info|id="file-list',
  6534. 'afterWait()|no files in this folder',
  6535. 'optional--',
  6536. 'optional2--',
  6537. "//a[contains(@href,'turbobit.net')]"
  6538. );
  6539. }
  6540. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6541. {
  6542. addFileHost(
  6543. "hitfile\\.net\/download\/folder\/\\d+",
  6544. 'content">\\s*<s',
  6545. 'content">\\s*<h',
  6546. 'optional--',
  6547. 'optional2--',
  6548. "//a[contains(@href,'hitfile.net/download/folder')]"
  6549. );
  6550. }
  6551. if (GM_getValue("Check_movshare_dot_net_links", false))
  6552. {
  6553. addFileHost(
  6554. "movshare\\.net\\/video\\/\\w+",
  6555. 'optional--"',
  6556. 'no longer exists',
  6557. 'optional--',
  6558. 'optional2--',
  6559. "//a[contains(@href,'movshare.net/video')]"
  6560. );
  6561. }
  6562. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6563. {
  6564. addFileHost(
  6565. "mafiastorage\\.com\/\\w+",
  6566. 'op" value="download',
  6567. 'class="err">|style="width:500px;text-align:left;"',
  6568. 'optional--',
  6569. 'optional2--',
  6570. "//a[contains(@href,'mafiastorage.com/')]"
  6571. );
  6572. }
  6573. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6574. {
  6575. addFileHost(
  6576. "uploadingit\\.com\/file\/\\w+",
  6577. 'downloadTitle">',
  6578. 'deleteContent">',
  6579. 'optional--',
  6580. 'optional2--',
  6581. "//a[contains(@href,'uploadingit.com/file')]"
  6582. );
  6583. }*/
  6584. if (GM_getValue("Check_rghost_dot_net_links", false))
  6585. {
  6586. addFileHost(
  6587. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6588. 'download_link|btn large download',
  6589. 'file is restricted|File is deleted|503 Service Unavailable',
  6590. 'optional--',
  6591. 'optional2--',
  6592. "//a[contains(@href,'rghost.')]"
  6593. );
  6594. }
  6595. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6596. {
  6597. addFileHost(
  6598. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6599. '">Staženo:\\s*<\/span>',
  6600. 'Soubor, který hledáte nenalezen',
  6601. 'optional--',
  6602. 'optional2--',
  6603. "//a[contains(@href,'xdisk.cz/')]"
  6604. );
  6605. }
  6606. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6607. {
  6608. addFileHost(
  6609. "2downloadz\.com\/\\w+",
  6610. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6611. 'color="#006DCC|File error',
  6612. 'optional--',
  6613. 'optional2--',
  6614. "//a[contains(@href,'2downloadz.com')]");
  6615. }
  6616. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6617. {
  6618. addFileHost(
  6619. "mightyupload\.com\/\\w+",
  6620. 'background:#ccc;text-align|CONTENT="Download File"',
  6621. 'style="background:#eee|var rr =|File Not Found',
  6622. 'error-code">1010',
  6623. 'optional2--',
  6624. "//a[contains(@href,'mightyupload.com')]");
  6625. }
  6626. if (GM_getValue("Check_anysend_dot_com_links", false))
  6627. {
  6628. addFileHost(
  6629. "anysend\.com\/\\w+",
  6630. 'var openCalled=false;|content="noindex"',
  6631. '_trackPageview',
  6632. 'optional--',
  6633. 'optional2--',
  6634. "//a[contains(@href,'anysend.com')]");
  6635. }
  6636. if (GM_getValue("Check_datafile_dot_com_links", false))
  6637. {
  6638. addFileHost(
  6639. "datafile\.com\/\\w+",
  6640. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6641. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6642. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6643. '; 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">
  6644. "//a[contains(@href,'datafile.com')]",
  6645. true);
  6646. }
  6647. if (GM_getValue("Check_upstore_dot_net_links", false))
  6648. {
  6649. addFileHost(
  6650. "upstore\.net\/\\w+",
  6651. 'name="free"',
  6652. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6653. 'optional--',
  6654. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6655. "//a[contains(@href,'upstore.net')]");
  6656. }
  6657. if (GM_getValue("Check_upsto_dot_re_links", false))
  6658. {
  6659. addFileHost(
  6660. "upsto\.re\/\\w+",
  6661. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6662. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6663. 'optional--',
  6664. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6665. "//a[contains(@href,'upsto.re')]");
  6666. }
  6667. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6668. {
  6669. addFileHost(
  6670. "speedy\.sh\/\\w+",
  6671. 'bgcolor=#eeeeee|class="addthis',
  6672. 'File not found|downloadfilenamenotfound>',
  6673. 'optional--',
  6674. 'optional2--',
  6675. "//a[contains(@href,'speedy.sh')]");
  6676. }
  6677. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6678. {
  6679. addFileHost(
  6680. "kingfiles\.net\/\\w+",
  6681. 'method_free|images/loading_small.gif"',
  6682. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6683. 'optional--',
  6684. 'optional2--',
  6685. "//a[contains(@href,'kingfiles.net')]");
  6686. }
  6687. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6688. {
  6689. addFileHost(
  6690. "secureupload\\.eu\/\\w+",
  6691. 'Downloading',
  6692. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6693. 'optional--',
  6694. 'optional2--',
  6695. "//a[contains(@href,'secureupload.eu')]"
  6696. );
  6697. } */
  6698. if (GM_getValue("Check_ge_dot_tt_links", false))
  6699. {
  6700. addFileHost(
  6701. "ge\.tt\/\\w+",
  6702. 'downloads pic',
  6703. 'is NOT the same as',
  6704. 'optional--',
  6705. 'optional2--',
  6706. "//a[contains(@href,'ge.tt')]");
  6707. }
  6708. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6709. {
  6710. addFileHost(
  6711. "filefactory\\.com\/file\/\\w+",
  6712. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6713. '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">',
  6714. 'Server Maintenance|temporarily overloaded',
  6715. 'Premium Account Required',
  6716. "//a[contains(@href,'filefactory.com/file')]");
  6717. } */
  6718. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6719. {
  6720. addFileHost(
  6721. "filesflash\.net\/\\w+",
  6722. 'align:right">Filename:',
  6723. 'class="msg">',
  6724. 'optional--',
  6725. 'optional2--',
  6726. "//a[contains(@href,'filesflash.net')]");
  6727. }
  6728. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6729. {
  6730. addFileHost(
  6731. "rapidgator\\.net\/folder\/\\w+",
  6732. 'href="/folder/',
  6733. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6734. 'optional--',
  6735. 'optional2--',
  6736. "//a[contains(@href,'rapidgator.net/folder')]",
  6737. true
  6738. );
  6739. }
  6740. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6741. {
  6742. addFileHost(
  6743. "salefiles\.com\/\\w+",
  6744. 'name="method_free',
  6745. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6746. 'optional--',
  6747. 'optional2--',
  6748. "//a[contains(@href,'salefiles.com')]");
  6749. }
  6750. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6751. {
  6752. addFileHost(
  6753. "datoid\.cz\/\\w+",
  6754. 'btn-download|class="icon-download-large"',
  6755. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6756. 'optional--',
  6757. 'optional2--',
  6758. "//a[contains(@href,'datoid.cz')]");
  6759. }
  6760. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6761. {
  6762. addFileHost(
  6763. "stiahni\.si\/\\w+",
  6764. 'report_icon.png"|slow-download-button',
  6765. 'none.png|deleted|<h2>Error 500</h2>',
  6766. 'optional--',
  6767. 'optional2--',
  6768. "//a[contains(@href,'stiahni.si')]");
  6769. }
  6770. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6771. {
  6772. addFileHost(
  6773. "cloudstor\.es\/\\w+",
  6774. '"btn_download"',
  6775. '404: Page Not Found',
  6776. 'optional--',
  6777. 'optional2--',
  6778. "//a[contains(@href,'cloudstor.es')]");
  6779. }
  6780. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6781. {
  6782. addFileHost(
  6783. "streamfile\.com\/\\w+",
  6784. 'class="btn',
  6785. 'class="green-btn',
  6786. 'optional--',
  6787. 'optional2--',
  6788. "//a[contains(@href,'streamfile.com')]");
  6789. }
  6790. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6791. {
  6792. addFileHost(
  6793. "eyesfile\.ca\/\\w+",
  6794. 'value="Get Link',
  6795. 'var rr =',
  6796. 'optional--',
  6797. 'optional2--',
  6798. "//a[contains(@href,'eyesfile.ca')]");
  6799. }
  6800. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6801. {
  6802. addFileHost(
  6803. "filemoney\.com\/\\w+",
  6804. 'og:title',
  6805. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6806. 'error-code">1010',
  6807. 'optional2--',
  6808. "//a[contains(@href,'filemoney.com')]");
  6809. }
  6810. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6811. {
  6812. addFileHost(
  6813. "uploadboy\.com\/\\w+",
  6814. 'width="740">|method_free',
  6815. 'var rr =|background:#ffffff|not be found|file was removed',
  6816. 'optional--',
  6817. 'optional2--',
  6818. "//a[contains(@href,'uploadboy.com')]");
  6819. }
  6820. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6821. {
  6822. addFileHost(
  6823. "uploadboy\.com\/\\w+",
  6824. 'width="740">|method_free',
  6825. 'var rr =|background:#ffffff|not be found|file was removed',
  6826. 'optional--',
  6827. 'optional2--',
  6828. "//a[contains(@href,'uploadboy.me')]");
  6829. }
  6830. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6831. {
  6832. addFileHost(
  6833. "speedshare\.eu\/\\w+",
  6834. 'favicon.png|color:#3d87c0|cross.png"',
  6835. 'var rr =|File Not Found|style="background:#eee',
  6836. 'optional--',
  6837. 'optional2--',
  6838. "//a[contains(@href,'speedshare.eu')]");
  6839. }
  6840. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6841. {
  6842. addFileHost(
  6843. "unlimitzone\.com\/\\w+",
  6844. 'name="method_free',
  6845. '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',
  6846. 'optional--',
  6847. 'optional2--',
  6848. "//a[contains(@href,'unlimitzone.com')]");
  6849. }
  6850. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6851. {
  6852. addFileHost(
  6853. "rioupload\.com\/\\w+",
  6854. 'sell.jpg',
  6855. 'var rr =',
  6856. 'optional--',
  6857. 'optional2--',
  6858. "//a[contains(@href,'rioupload.com')]");
  6859. }
  6860. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6861. {
  6862. addFileHost(
  6863. "jumbofiles\.org\/\\w+",
  6864. 'H71C5.png|class="downloadtitle">',
  6865. 'var swfu|ViewSourceBIN.png',
  6866. 'optional--',
  6867. 'optional2--',
  6868. "//a[contains(@href,'jumbofiles.org')]");
  6869. }
  6870. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6871. {
  6872. addFileHost(
  6873. "fshare\\.vn\/file\/\\w+",
  6874. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6875. 'không tồn tại|class="color_red m_t_50"',
  6876. 'optional--',
  6877. 'optional2--',
  6878. "//a[contains(@href,'fshare.vn/file')]",
  6879. true
  6880. );
  6881. }
  6882. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6883. {
  6884. addFileHost(
  6885. "spaceforfiles\.com\/\\w+",
  6886. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6887. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6888. 'optional--',
  6889. 'optional2--',
  6890. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6891. }
  6892. if (GM_getValue("Check_google_dot_com_links", false))
  6893. {
  6894. addFileHost(
  6895. "google\\.com\/file\/\\w+",
  6896. 'content="!">|color:#2d2d2d',
  6897. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6898. 'optional--',
  6899. 'optional2--',
  6900. "//a[contains(@href,'google.com/file')]",
  6901. true
  6902. );
  6903. }
  6904. if (GM_getValue("Check_google_dot_com_links", false))
  6905. {
  6906. addFileHost(
  6907. "docs.google.com\/\\w+",
  6908. 'content="!">|color:#2d2d2d',
  6909. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6910. 'optional--',
  6911. 'optional2--',
  6912. "//a[contains(@href,'docs.google.com')]",
  6913. true
  6914. );
  6915. }
  6916. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6917. {
  6918. addFileHost(
  6919. "drive.google.com\/\\w+",
  6920. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6921. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6922. 'optional--',
  6923. 'optional2--',
  6924. "//a[contains(@href,'drive.google.com')]",
  6925. true
  6926. );
  6927. }
  6928. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6929. {
  6930. addFileHost(
  6931. "up.media1fire\.com\/\\w+",
  6932. 'class="addthis_|value="download',
  6933. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6934. 'optional--',
  6935. 'optional2--',
  6936. "//a[contains(@href,'up.media1fire.com')]");
  6937. }
  6938. if (GM_getValue("Check_depfile_dot_com_links", false))
  6939. {
  6940. addFileHost(
  6941. "depfile\.com\/\\w+",
  6942. 'logo_0.png|downloads.gif"|verifycode',
  6943. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6944. 'optional--',
  6945. 'available only for Premium users',
  6946. "//a[contains(@href,'depfile.com')]");
  6947. }
  6948. if (GM_getValue("Check_go4up_dot_com_links", false))
  6949. {
  6950. addFileHost(
  6951. "go4up\.com\/\\w+",
  6952. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6953. '<title>GO4UP|dmca',
  6954. 'optional--',
  6955. 'optional2--',
  6956. "//a[contains(@href,'go4up.com')]");
  6957. }
  6958. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6959. {
  6960. addFileHost(
  6961. "redbunker\.net\/\\w+",
  6962. 'name="method_free"',
  6963. 'color="red">Unknow / Bilinmiyor<',
  6964. 'optional--',
  6965. '2.3 GB',
  6966. "//a[contains(@href,'redbunker.net')]");
  6967. }
  6968. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6969. {
  6970. addFileHost(
  6971. "divxpress\.com\/\\w+",
  6972. 'btn_download|logo.png"',
  6973. 'AVOID_IE_BUG|var rr =',
  6974. 'optional--',
  6975. 'optional2--',
  6976. "//a[contains(@href,'divxpress.com')]");
  6977. }
  6978. if (GM_getValue("Check_anafile_dot_com_links", false))
  6979. {
  6980. addFileHost(
  6981. "anafile\.com\/\\w+",
  6982. 'width="881" valign="top|color="#800080"|name="go"',
  6983. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6984. 'optional--',
  6985. 'optional2--',
  6986. "//a[contains(@href,'anafile.com')]");
  6987. }
  6988. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6989. {
  6990. addFileHost(
  6991. "uploadable\\.ch\/file\/\\w+",
  6992. 'captcha.js"|payment.js"|class="btn_download"',
  6993. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6994. 'optional--',
  6995. 'optional2--',
  6996. "//a[contains(@href,'uploadable.ch/file')]",
  6997. true
  6998. );
  6999. }
  7000. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7001. {
  7002. addFileHost(
  7003. "bigfile\\.to\/file\/\\w+",
  7004. 'captcha.js"|payment.js"|class="btn_download"',
  7005. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7006. 'optional--',
  7007. 'optional2--',
  7008. "//a[contains(@href,'bigfile.to/file')]",
  7009. true
  7010. );
  7011. }
  7012. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7013. {
  7014. addFileHost(
  7015. "arabloads\.net\/\\w+",
  7016. 'name="method_free"|name="method_premium"',
  7017. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7018. 'optional--',
  7019. 'optional2--',
  7020. "//a[contains(@href,'arabloads.net')]");
  7021. }
  7022. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7023. {
  7024. addFileHost(
  7025. "sharerepo\.com\/\\w+",
  7026. 'name="method_free"',
  7027. 'var public_on=|The file you were looking for could not be found',
  7028. 'optional--',
  7029. 'optional2--',
  7030. "//a[contains(@href,'sharerepo.com')]");
  7031. }
  7032. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7033. {
  7034. addFileHost(
  7035. "sfshare\.se\/\\w+",
  7036. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7037. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7038. 'optional--',
  7039. 'optional2--',
  7040. "//a[contains(@href,'sfshare.se')]");
  7041. }
  7042. if (GM_getValue("Check_files_dot_fm_links", false))
  7043. {
  7044. addFileHost(
  7045. "files\.fm\/\\w+",
  7046. 'dl.png"|background-color: transparent',
  7047. 'margin: 40px 40px|background: none;',
  7048. 'optional--',
  7049. 'optional2--',
  7050. "//a[contains(@href,'files.fm')]");
  7051. }
  7052. if (GM_getValue("Check_koofile_dot_com_links", false))
  7053. {
  7054. addFileHost(
  7055. "koofile\.com\/\\w+",
  7056. 'value="download1">|name="method_free"',
  7057. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7058. 'optional--',
  7059. 'optional2--',
  7060. "//a[contains(@href,'koofile.com')]");
  7061. }
  7062. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7063. {
  7064. addFileHost(
  7065. "vidxden\\.com\/\\w+",
  7066. 'Continue to Video"',
  7067. 'No such file',
  7068. 'optional--',
  7069. 'optional2--',
  7070. "//a[contains(@href,'vidxden.com')]"
  7071. );
  7072. }*/
  7073. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7074. {
  7075. addFileHost(
  7076. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7077. 'Details zur Datei|Details page',
  7078. 'Jetzt hochladen|upload now',
  7079. 'optional--',
  7080. 'optional2--',
  7081. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7082. );
  7083. }
  7084. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7085. {
  7086. addFileHost(
  7087. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7088. 'downloadbtn"',
  7089. 'DL_FileNotFound',
  7090. 'optional--',
  7091. 'optional2--',
  7092. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7093. );
  7094. }
  7095. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7096. {
  7097. addFileHost(
  7098. "fileflyer\.com\/view\/\\w+",
  7099. '(?:dwl|locked)btn"',
  7100. 'error.gif"|link">Removed|removedlink">',
  7101. 'optional--',
  7102. 'optional2--',
  7103. "//a[contains(@href,'fileflyer.com')]"
  7104. );
  7105. }
  7106. if (GM_getValue("Check_filestore_dot_to_links", false))
  7107. {
  7108. addFileHost(
  7109. "filestore\.to\/\\?d=\\w+",
  7110. '"downloading"',
  7111. 'Datei wurde nicht gefunden',
  7112. 'optional--',
  7113. 'optional2--',
  7114. "//a[contains(@href,'filestore.to')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7118. {
  7119. addFileHost(
  7120. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7121. 'fz24">Download|class="pl15">',
  7122. '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',
  7123. 'optional--',
  7124. 'optional2--',
  7125. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7126. );
  7127. }
  7128. if (GM_getValue("Check_datei_dot_to_links", false))
  7129. {
  7130. addFileHost(
  7131. "datei\\.to\/\\??\\w+",
  7132. 'icon_downloaden\\.png|>Download starten<',
  7133. 'Datei wurde nicht gefunden|icon_deleted.png',
  7134. 'optional--',
  7135. 'optional2--',
  7136. "//a[contains(@href,'datei.to')]"
  7137. );
  7138. }
  7139. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7140. {
  7141. addFileHost(
  7142. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7143. '<body class="body" id="body">|value="Slow Download"',
  7144. '<body class="body" >',
  7145. 'optional--',
  7146. 'optional2--',
  7147. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7148. );
  7149. }
  7150. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7151. {
  7152. addFileHost(
  7153. "unibytes\\.com\/[\\w\.]+",
  7154. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7155. 'File not found|Файл не найден|',
  7156. 'optional--',
  7157. 'optional2--',
  7158. "//a[contains(@href,'unibytes.com')]"
  7159. );
  7160. }
  7161. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7162. {
  7163. addFileHost(
  7164. "www\\.hellshare\\.com\/\\d+",
  7165. 'tab\\-details"',
  7166. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7167. 'optional--',
  7168. 'optional2--',
  7169. "//a[contains(@href,'www.hellshare.com')]"
  7170. );
  7171. }
  7172. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7173. {
  7174. addFileHost(
  7175. "www\\.download.cz.hellshare\\.com\/\\w+",
  7176. 'tab\\-details"',
  7177. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7178. 'optional--',
  7179. 'optional2--',
  7180. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7181. );
  7182. }
  7183. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7184. {
  7185. addFileHost(
  7186. "filefactory\\.com",
  7187. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7188. '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',
  7189. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7190. 'Premium Account Required',
  7191. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7192. );
  7193. }
  7194. if (GM_getValue("Check_load_dot_to_links", false))
  7195. {
  7196. addFileHost(
  7197. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7198. '"download_table_left">Size',
  7199. 'Can\'t find file',
  7200. 'optional--',
  7201. 'optional2--',
  7202. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7203. );
  7204. }
  7205. if (GM_getValue("Check_divshare_dot_com_links", false))
  7206. {
  7207. addFileHost(
  7208. "divshare\\.com\/download\/",
  7209. 'download_new\.png',
  7210. 'have been removed',
  7211. 'optional--',
  7212. 'optional2--',
  7213. "//a[contains(@href,'divshare.com')]"
  7214. );
  7215. }
  7216. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7217. {
  7218. addFileHost(
  7219. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7220. 'download=true"',
  7221. '<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>',
  7222. 'optional--',
  7223. 'optional2--',
  7224. "//a[contains(@href,'euroshare.eu/file')]"
  7225. );
  7226. }
  7227. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7228. {
  7229. addFileHost(
  7230. 'files\\.mail\\.ru/(?:\\w*)',
  7231. 'fileList',
  7232. 'errorMessage',
  7233. 'optional--',
  7234. 'optional2--',
  7235. "//a[contains(@href,'files.mail.ru')]"
  7236. );
  7237. }
  7238. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7239. {
  7240. addFileHost(
  7241. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7242. 'Filesize',
  7243. 'Invalid|deleted|Could not download file',
  7244. 'slots|scheduled maintenance',
  7245. 'optional2--',
  7246. "//a[contains(@href,'megashares.com/')]"
  7247. );
  7248. } */
  7249. if (GM_getValue("Check_narod_dot_ru_links", false))
  7250. {
  7251. addFileHost(
  7252. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7253. 'b-submit|action="resource.download"',
  7254. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7255. 'Внутренняя ошибка сервиса',
  7256. 'optional2--',
  7257. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7258. );
  7259. }
  7260. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7261. {
  7262. addFileHost(
  7263. "rayfile\\.com\/",
  7264. 'FILEtitleTXT',
  7265. 'blueRow',
  7266. 'optional--',
  7267. 'optional2--',
  7268. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7269. );
  7270. }
  7271. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7272. {
  7273. addFileHost(
  7274. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7275. 'button_green_body"',
  7276. 'error">',
  7277. 'optional--',
  7278. 'optional2--',
  7279. "//a[contains(@href,'filesmonster.com/download')]"
  7280. );
  7281. }
  7282. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7283. {
  7284. addFileHost(
  7285. 'usaupload\\.net\/d\/(?:\w*)',
  7286. '<strong>File size:</strong>',
  7287. 'is not available',
  7288. 'optional--',
  7289. 'optional2--',
  7290. "//a[contains(@href,'usaupload.net/d/')]"
  7291. );
  7292. }
  7293. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7294. {
  7295. addFileHost(
  7296. 'sendspace\\.com\/file\/\\w+',
  7297. 'file_description',
  7298. 'msg error"',
  7299. 'optional--',
  7300. 'optional2--',
  7301. "//a[contains(@href,'sendspace.com/file')]"
  7302. );
  7303. }
  7304. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7305. {
  7306. addFileHost(
  7307. 'sendspace\\.pl\/file\/\\w+',
  7308. 'download_file"',
  7309. 'Podany plik nie',
  7310. 'optional--',
  7311. 'optional2--',
  7312. "//a[contains(@href,'sendspace.pl/file')]"
  7313. );
  7314. }
  7315. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7316. {
  7317. addFileHost(
  7318. 'uploading\\.com\/(?:files\/)?\\w+',
  7319. 'free_method">',
  7320. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7321. 'optional--',
  7322. 'optional2--',
  7323. "//a[contains(@href,'uploading.com')]"
  7324. );
  7325. } */
  7326. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7327. {
  7328. addFileHost(
  7329. "gigasize\.com\/\\w+",
  7330. 'fileId"|class="estimate">',
  7331. 'error">',
  7332. 'optional--',
  7333. 'optional2--',
  7334. "//a[contains(@href,'gigasize.com/get')]"
  7335. );
  7336. }
  7337. if (GM_getValue("Check_good_dot_com_links", false))
  7338. {
  7339. addFileHost(
  7340. 'good\\.net\/(?:_|dl)',
  7341. 'Free Download',
  7342. 'Not Found',
  7343. 'Forbidden',
  7344. 'optional2--',
  7345. "//a[contains(@href,'good.net')]"
  7346. );
  7347. }
  7348. if (GM_getValue("Check_2shared_dot_com_links", false))
  7349. {
  7350. addFileHost(
  7351. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7352. 'File size',
  7353. 'File not found|is not valid|/images/important.gif',
  7354. 'optional--',
  7355. 'optional2--',
  7356. // "//a[contains(@href,'2shared.com')]"
  7357. "//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/')]"
  7358. );
  7359. }
  7360. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7361. {
  7362. addFileHost(
  7363. 'turboupload\\.com\/\\w*',
  7364. 'You have requested',
  7365. 'File Not Found',
  7366. 'optional--',
  7367. 'optional2--',
  7368. "//a[contains(@href,'turboupload.com')]"
  7369. );
  7370. }
  7371. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7372. {
  7373. addFileHost(
  7374. 'gigapeta\\.com\/dl\/',
  7375. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7376. '404|page_error',
  7377. 'optional--',
  7378. 'optional2--',
  7379. "//a[contains(@href,'gigapeta.com/dl')]"
  7380. );
  7381. }
  7382. if (GM_getValue("Check_veehd_dot_com_links", false))
  7383. {
  7384. addFileHost(
  7385. 'veehd\.com\/video\/.*?',
  7386. 'No sound|Download video',
  7387. 'Featured Videos',
  7388. 'optional--',
  7389. 'optional2--',
  7390. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7391. );
  7392. }
  7393. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7394. {
  7395. addFileHost(
  7396. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7397. 'fast_download_form">|submit_sms_download',
  7398. '<p style="text-align:center">',
  7399. 'optional--',
  7400. 'optional2--',
  7401. "//a[contains(@href,'vip-file.com/download')]"
  7402. );
  7403. }
  7404. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7405. {
  7406. addFileHost(
  7407. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7408. 'download\\-pnl ',
  7409. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7410. 'optional--',
  7411. 'optional2--',
  7412. "//a[contains(@href,'letitbit.net/download')]"
  7413. );
  7414. }*/
  7415. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7416. {
  7417. addFileHost(
  7418. 'ifolder\.ru\/\\d+',
  7419. 'file-info',
  7420. 'ui-state-error',
  7421. 'optional--',
  7422. 'optional2--',
  7423. "//a[contains(@href,'ifolder.ru')]"
  7424. );
  7425. }
  7426. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7427. {
  7428. addFileHost(
  7429. 'fileswap\\.com\/dl\/\\w+',
  7430. 'bttnDownloadLink"',
  7431. 'rounded_block_error"',
  7432. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7433. 'optional2--',
  7434. "//a[contains(@href,'fileswap.com/dl')]"
  7435. );
  7436. }*/
  7437. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7438. {
  7439. addFileHost(
  7440. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7441. 'var __error = 0|id="recaptchaPanel">',
  7442. 'FILES__DOESNT_EXIST|removed or did not exist',
  7443. 'optional--',
  7444. 'optional2--',
  7445. "//a[contains(@href,'filecloud.io/')]"
  7446. );
  7447. addFileHost(
  7448. 'ifile\\.it\/\\w+',
  7449. 'var __error = 0',
  7450. 'FILES__DOESNT_EXIST',
  7451. 'optional--',
  7452. 'optional2--',
  7453. "//a[contains(@href,'ifile.it/')]"
  7454. );
  7455. }
  7456. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7457. {
  7458. addFileHost(
  7459. 'solidfiles\\.com\/\\w+',
  7460. 'id="download"|content="Download',
  7461. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7462. 'optional--',
  7463. 'optional2--',
  7464. "//a[contains(@href,'solidfiles.com/')]"
  7465. );
  7466. }
  7467. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7468. {
  7469. addFileHost(
  7470. "(?:.\\.|)shareflare\\.net",
  7471. 'download-pnl|<div class="premium-block">',
  7472. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7473. 'optional--',
  7474. 'optional2--',
  7475. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7476. );
  7477. }
  7478. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7479. {
  7480. addFileHost(
  7481. "u18116681.shareflare\\.net",
  7482. 'download-pnl|<div class="premium-block">',
  7483. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7484. 'optional--',
  7485. 'optional2--',
  7486. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7487. );
  7488. }
  7489. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7490. {
  7491. addFileHost(
  7492. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7493. 'file\\-list-orderby|section-filedetail">',
  7494. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7495. 'optional--',
  7496. 'optional2--',
  7497. "//a[contains(@href,'hellspy.')]"
  7498. );
  7499. }
  7500. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7501. {
  7502. addFileHost(
  7503. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7504. '<body onload="">',
  7505. 'neexistuje|not exist',
  7506. 'optional--',
  7507. 'optional2--',
  7508. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7509. );
  7510. }
  7511. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7512. {
  7513. addFileHost(
  7514. "stahovanizasms\\.cz\/\\w+",
  7515. 'download\\.png>|font-size:11px><tr>',
  7516. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7517. 'optional--',
  7518. 'optional2--',
  7519. "//a[contains(@href,'stahovanizasms.cz')]"
  7520. );
  7521. }
  7522. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7523. {
  7524. addFileHost(
  7525. "share-links\\.biz\/\\w*",
  7526. 'online\\.gif',
  7527. '(?:offline|parts)\\.gif',
  7528. 'optional--',
  7529. 'optional2--',
  7530. "//a[contains(@href,'share-links.biz')]"
  7531. );
  7532. }
  7533. if (GM_getValue("Check_4shared_dot_com_links", false))
  7534. {
  7535. addFileHost(
  7536. "4shared\\.com\/.+\/",
  7537. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7538. 'class="warn\"|big red"|GetDataBack',
  7539. 'Service Unavailable',
  7540. 'optional2--',
  7541. "//a[contains(@href,'4shared.com')]"
  7542. );
  7543. }
  7544. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7545. {
  7546. addFileHost(
  7547. "(?:www\\d+\.|)zippyshare\.com\/",
  7548. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7549. 'not exist|Status 404',
  7550. 'optional--',
  7551. 'optional2--',
  7552. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7553. );
  7554. }
  7555. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7556. {
  7557. addFileHost(
  7558. "mediafire\.com\/",
  7559. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7560. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7561. 'set to private',
  7562. 'optional2--',
  7563. "//a[contains(@href,'mediafire.com')]"
  7564. );
  7565. }
  7566. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7567. {
  7568. addFileHost(
  7569. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7570. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7571. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7572. 'optional--',
  7573. 'GB</small>',
  7574. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7575. );
  7576. }
  7577. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7578. {
  7579. addFileHost(
  7580. "ulozisko\.sk\/",
  7581. 'Detaily',
  7582. 'neexistuje',
  7583. 'optional--',
  7584. 'optional2--',
  7585. "//a[contains(@href,'ulozisko.sk')]"
  7586. );
  7587. }
  7588. if (GM_getValue("Check_box_dot_com_links", false))
  7589. {
  7590. addFileHost(
  7591. "box\.com\/\\w+",
  7592. 'download-file-btn|id="download_button|preview-download',
  7593. 'BIyMin.png| <div class="error_message|link has been removed',
  7594. 'optional--',
  7595. 'optional2--',
  7596. "//a[contains(@href,'app.box.com')]");
  7597. }
  7598. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7599. {
  7600. addFileHost(
  7601. "uptobox\\.com\/\\w+",
  7602. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7603. '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|لا يوجد أي ملف',
  7604. 'Maintenance',
  7605. 'optional2--',
  7606. "//a[contains(@href,'uptobox.com')]",
  7607. true
  7608. );
  7609. }
  7610. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7611. {
  7612. addFileHost(
  7613. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7614. 'FILE DOWNLOAD<',
  7615. 'File Does Not Exist',
  7616. 'optional--',
  7617. 'optional2--',
  7618. "//a[contains(@href,'sharecash.org/download.php')]"
  7619. );
  7620. }
  7621. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7622. {
  7623. addFileHost(
  7624. "1fichier\\.com\/dir\/\\w+",
  7625. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7626. 'Shared Folder Not Found',
  7627. 'optional--',
  7628. 'optional2--',
  7629. "//a[contains(@href,'1fichier.com/dir')]"
  7630. );
  7631. }
  7632. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7633. {
  7634. addFileHost(
  7635. "depositfiles\\.com\/folders\/\\w+",
  7636. '<div class="progressContainer">',
  7637. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7638. 'optional--',
  7639. 'optional2--',
  7640. "//a[contains(@href,'depositfiles.com/folders')]"
  7641. );
  7642. }
  7643. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7644. {
  7645. addFileHost(
  7646. "rapidfileshare\\.net/\\w+",
  7647. '<div id="upload-header-bg">',
  7648. '<div style="width:500px;text-align:left;">',
  7649. 'optional--',
  7650. 'optional2--',
  7651. "//a[contains(@href,'rapidfileshare.net/')]"
  7652. );
  7653. }
  7654. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7655. {
  7656. addFileHost(
  7657. "stiahnito\\.sk/",
  7658. '<span class="filesize right">',
  7659. '<ol class="list-purp-2">',
  7660. 'optional--',
  7661. 'optional2--',
  7662. "//a[contains(@href,'stiahnito.sk/')]"
  7663. );
  7664. }
  7665. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7666. {
  7667. addFileHost(
  7668. "rusfolder\\.(?:com|net)",
  7669. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7670. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7671. 'optional--',
  7672. 'optional2--',
  7673. "//a[contains(@href,'rusfolder')]"
  7674. );
  7675. }
  7676. if (GM_getValue("Check_catshare_dot_net_links", false))
  7677. {
  7678. addFileHost(
  7679. "catshare\\.net/\\w+",
  7680. '"icon-share',
  7681. 'alert alert-error',
  7682. 'optional--',
  7683. 'optional2--',
  7684. "//a[contains(@href,'catshare.net/')]"
  7685. );
  7686. }
  7687. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7688. {
  7689. addFileHost(
  7690. "anonfiles\\.com/\\w+",
  7691. '"download_button"',
  7692. '<legend><b>404</b>',
  7693. 'optional--',
  7694. 'optional2--',
  7695. "//a[contains(@href,'anonfiles.com')]"
  7696. );
  7697. }*/
  7698. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7699. {
  7700. addFileHost(
  7701. "mixturecloud\\.com/media/\\w+",
  7702. '"btn icon i_globe gray share_150',
  7703. '"s_cross_close"></span> 404:',
  7704. 'optional--',
  7705. 'optional2--',
  7706. "//a[contains(@href,'mixturecloud.com/media/')]"
  7707. );
  7708. }
  7709. if (GM_getValue("Check_akafile_dot_com_links", false))
  7710. {
  7711. addFileHost(
  7712. "akafile\\.com\/\\w+",
  7713. 'download1',
  7714. 'File Not Found',
  7715. 'optional--',
  7716. 'optional2--',
  7717. "//a[contains(@href,'akafile.com/')]"
  7718. );
  7719. }
  7720. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7721. {
  7722. addFileHost(
  7723. "creafile\\.net\/\\w+",
  7724. 'downloadblock',
  7725. 'errtitle',
  7726. 'optional--',
  7727. 'optional2--',
  7728. "//a[contains(@href,'creafile.net/')]"
  7729. );
  7730. }*/
  7731. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7732. {
  7733. addFileHost(
  7734. "hugefiles\\.net\/\\w+",
  7735. 'download1|class="btn-create-download" value="Create Download Link">',
  7736. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7737. 'optional--',
  7738. 'optional2--',
  7739. "//a[contains(@href,'hugefiles.net/')]"
  7740. );
  7741. }*/
  7742. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7743. {
  7744. addFileHost(
  7745. "sendmyway\\.com\/\\w+",
  7746. 'id="btn_download"',
  7747. '500px;text-align:left;"|<center><h3>',
  7748. 'optional--',
  7749. 'optional2--',
  7750. "//a[contains(@href,'sendmyway.com/')]"
  7751. );
  7752. }
  7753. if (GM_getValue("Check_upload_dot_ee_links", false))
  7754. {
  7755. addFileHost(
  7756. "upload\\.ee\/\\w+",
  7757. 'onmouseout="document.dllink.src',
  7758. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7759. 'optional--',
  7760. 'optional2--',
  7761. "//a[contains(@href,'upload.ee/')]"
  7762. );
  7763. }
  7764. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7765. {
  7766. addFileHost(
  7767. "shareplace\\.org\/\\?\\w+",
  7768. 'Download-Link',
  7769. 'Your requested file is not found|Select file to send',
  7770. 'optional--',
  7771. 'optional2--',
  7772. "//a[contains(@href,'shareplace.org/?')]"
  7773. );
  7774. }
  7775. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7776. {
  7777. addFileHost(
  7778. "uploadc\\.com\/\\w+",
  7779. 'id="prebut"',
  7780. 'File Not Found|This file has been removed due',
  7781. 'optional--',
  7782. 'optional2--',
  7783. "//a[contains(@href,'uploadc.com/')]"
  7784. );
  7785. }
  7786. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7787. {
  7788. addFileHost(
  7789. "uploadc\\.ch\/\\w+",
  7790. 'id="prebut"',
  7791. 'File Not Found|This file has been removed due',
  7792. 'optional--',
  7793. 'optional2--',
  7794. "//a[contains(@href,'uploadc.ch/')]"
  7795. );
  7796. }
  7797. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7798. {
  7799. addFileHost(
  7800. "remixshare\\.com\/\\w+",
  7801. 'id="dl2"',
  7802. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7803. 'optional--',
  7804. 'optional2--',
  7805. "//a[contains(@href,'remixshare.com/')]"
  7806. );
  7807. }*/
  7808. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7809. {
  7810. addFileHost(
  7811. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7812. 'Last Download :',
  7813. 'img src="\\/404.jpg"',
  7814. 'optional--',
  7815. 'optional2--',
  7816. "//a[contains(@href,'exoshare.com/download.php')]"
  7817. );
  7818. }
  7819. if (GM_getValue("Check_borncash_dot_org_links", false))
  7820. {
  7821. addFileHost(
  7822. "borncash\\.org\/download\/\\?a=\\w+",
  7823. 'class="knop_1"',
  7824. '\/error\/er00',
  7825. 'optional--',
  7826. 'optional2--',
  7827. "//a[contains(@href,'borncash.org/download/')]"
  7828. );
  7829. }
  7830. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7831. {
  7832. addFileHost(
  7833. "vidplay\.net\/\\w+",
  7834. 'solvemedia puzzle widget',
  7835. 'File not found|AVOID_IE_BUG',
  7836. 'optional--',
  7837. 'optional2--',
  7838. "//a[contains(@href,'vidplay.net')]");
  7839. }*/
  7840. if (GM_getValue("Check_filedais_dot_com_links", false))
  7841. {
  7842. addFileHost(
  7843. "filedais\.com\/\\w+",
  7844. 'class="btn btn-info"|name="method_free"',
  7845. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7846. 'optional--',
  7847. 'optional2--',
  7848. "//a[contains(@href,'filedais.com')]");
  7849. }
  7850. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7851. {
  7852. addFileHost(
  7853. "up.4share\.vn\/\\w+",
  7854. '<font size="2" face="Verdana">',
  7855. 'font: 13px Tahoma; color: Brown',
  7856. 'optional--',
  7857. 'optional2--',
  7858. "//a[contains(@href,'up.4share.vn')]");
  7859. }
  7860. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7861. {
  7862. addFileHost(
  7863. "share.vnn\.vn\/\\w+",
  7864. '"index,follow"|<div class="main" id="download-box">',
  7865. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7866. 'optional--',
  7867. 'optional2--',
  7868. "//a[contains(@href,'share.vnn.vn')]");
  7869. }
  7870. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7871. {
  7872. addFileHost(
  7873. "upfile\.vn\/\\w+",
  7874. 'download-timer',
  7875. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7876. 'optional--',
  7877. 'optional2--',
  7878. "//a[contains(@href,'upfile.vn')]");
  7879. }
  7880. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7881. {
  7882. addFileHost(
  7883. "aisfile\.com\/\\w+",
  7884. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7885. '<div style="width:500px;text-align:left;">|File Not Found',
  7886. 'optional--',
  7887. 'optional2--',
  7888. "//a[contains(@href,'aisfile.com')]");
  7889. }
  7890. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7891. {
  7892. addFileHost(
  7893. "usersfiles\.com\/\\w+",
  7894. 'class="btn btn-success|id="btn_download" class="btn"',
  7895. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7896. 'optional--',
  7897. 'optional2--',
  7898. "//a[contains(@href,'usersfiles.com')]");
  7899. }
  7900. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7901. {
  7902. addFileHost(
  7903. "pan.baidu\.com\/\\w+",
  7904. 'target="_blank" title=|share-personal-info',
  7905. 'share_notfound.png|background:#f9f9f9',
  7906. 'optional--',
  7907. 'optional2--',
  7908. "//a[contains(@href,'pan.baidu.com')]");
  7909. }
  7910. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7911. {
  7912. addFileHost(
  7913. "yunpan\.cn\/\\w+",
  7914. 'class="icon icon-download',
  7915. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7916. 'optional--',
  7917. 'optional2--',
  7918. "//a[contains(@href,'yunpan.cn')]");
  7919. }
  7920. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7921. {
  7922. addFileHost(
  7923. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7924. 'getElementById("downbild")|style.display',
  7925. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7926. 'optional--',
  7927. 'optional2--',
  7928. "//a[contains(@href,'file-upload.net')]");
  7929. }
  7930. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7931. {
  7932. addFileHost(
  7933. "gulfup\.com\/",
  7934. '<!-- Downlod template -->|download.gif',
  7935. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7936. 'optional--',
  7937. 'optional2--',
  7938. "//a[contains(@href,'gulfup.com')]");
  7939. }*/
  7940. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7941. {
  7942. addFileHost(
  7943. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7944. 'dldtable">',
  7945. 'does not exist\\.',
  7946. 'optional--',
  7947. 'optional2--',
  7948. "//a[contains(@href,'datafilehost.com')]");
  7949. }
  7950. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7951. {
  7952. addFileHost(
  7953. "dropbox\.com\/s\/\\w+",
  7954. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7955. '>Nothing Here<|>Error (404)<',
  7956. 'title>Dropbox - 509|Error (403)|Error: 429',
  7957. 'optional2--',
  7958. "//a[contains(@href,'dropbox.com')]");
  7959. }
  7960. if (GM_getValue("Check_box_dot_net_links", false))
  7961. {
  7962. addFileHost(
  7963. "box\.net\/\\w+",
  7964. 'download-file-btn|id="download_button',
  7965. 'BIyMin.png| <div class="error_message',
  7966. 'optional--',
  7967. 'optional2--',
  7968. "//a[contains(@href,'box.net')]");
  7969. }
  7970. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7971. {
  7972. addFileHost(
  7973. "filedropper\.com\/\\w+",
  7974. 'background:#ddd;|width:985px; ',
  7975. 'background-color:#FFFFFF;|margin-left: -400px;',
  7976. 'optional--',
  7977. 'optional2--',
  7978. "//a[contains(@href,'filedropper.com')]");
  7979. }
  7980. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7981. {
  7982. addFileHost(
  7983. "tropicshare\\.com\/files\/\\d+",
  7984. 'MB</span>|GB</span>|KB</span>',
  7985. '>FNF<|size: </span>',
  7986. 'optional--',
  7987. 'optional2--',
  7988. "//a[contains(@href,'tropicshare.com')]");
  7989. }
  7990. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7991. {
  7992. addFileHost(
  7993. "worldbytez\.com",
  7994. '<div class="download_type">|method_free',
  7995. '<div style="width:500px;text-align:left;">',
  7996. 'optional--',
  7997. 'optional2--',
  7998. "//a[contains(@href,'worldbytez.com')]",
  7999. true);
  8000. }
  8001. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8002. {
  8003. addFileHost(
  8004. "freefilehosting\.net\/\\w+",
  8005. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8006. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'freefilehosting.net')]");
  8010. }
  8011. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8012. {
  8013. addFileHost(
  8014. "ziddu\.com\/\\w+",
  8015. 'downloads.ziddu.com|downloadfilelinkicon',
  8016. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8017. 'optional--',
  8018. 'optional2--',
  8019. "//a[contains(@href,'ziddu.com')]");
  8020. }
  8021. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8022. {
  8023. addFileHost(
  8024. "exclusiveloader\.com\/\\w+",
  8025. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8026. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8027. 'optional--',
  8028. 'optional2--',
  8029. "//a[contains(@href,'exclusiveloader.com')]");
  8030. }
  8031. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8032. {
  8033. addFileHost(
  8034. "sharerapid\.cz\/\\w+",
  8035. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8036. 'error_div">|404 - Not Found',
  8037. 'optional--',
  8038. 'optional2--',
  8039. "//a[contains(@href,'sharerapid.cz')]");
  8040. }
  8041. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8042. {
  8043. addFileHost(
  8044. "sdilej\.cz\/\\w+",
  8045. 'class="page-download"',
  8046. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8047. 'optional--',
  8048. 'optional2--',
  8049. "//a[contains(@href,'sdilej.cz')]");
  8050. }
  8051. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8052. {
  8053. addFileHost(
  8054. "lafiles\.com\/\\w+",
  8055. '<div id="pay_modes">',
  8056. '<b class="err"></b>',
  8057. 'optional--',
  8058. 'optional2--',
  8059. "//a[contains(@href,'lafiles.com')]");
  8060. }
  8061. if (GM_getValue("Check_acefile_dot_net_links", false))
  8062. {
  8063. addFileHost(
  8064. "acefile\.net\/\\w+",
  8065. 'align=right nowrap><b>',
  8066. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8067. 'optional--',
  8068. 'optional2--',
  8069. "//a[contains(@href,'acefile.net')]");
  8070. }
  8071. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8072. {
  8073. addFileHost(
  8074. "megarapid\.cz\/\\w+",
  8075. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8076. 'error_div">|404 - Not Found',
  8077. 'optional--',
  8078. 'optional2--',
  8079. "//a[contains(@href,'megarapid.cz')]");
  8080. }
  8081. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8082. {
  8083. addFileHost(
  8084. "yadi\.sk\/\\w+",
  8085. 'nb-button _nb-small-button',
  8086. 'error code|Nothing found',
  8087. 'optional--',
  8088. 'optional2--',
  8089. "//a[contains(@href,'yadi.sk')]");
  8090. }
  8091. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8092. {
  8093. addFileHost(
  8094. "hitfile\.net\/\\w+",
  8095. 'class="download-file',
  8096. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8097. 'optional--',
  8098. 'optional2--',
  8099. "//a[contains(@href,'hitfile.net')]");
  8100. }
  8101. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8102. {
  8103. addFileHost(
  8104. "up.top4top\.net\/\\w+",
  8105. 'start Downlod template',
  8106. 'start err template',
  8107. 'optional--',
  8108. 'optional2--',
  8109. "//a[contains(@href,'up.top4top.net')]");
  8110. }
  8111. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8112. {
  8113. addFileHost(
  8114. "filejoker\.net",
  8115. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8116. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8117. 'optional--',
  8118. 'id="download" class="premium-only">',
  8119. "//a[contains(@href,'filejoker.net')]");
  8120. }
  8121. if (GM_getValue("Check_free_dot_fr_links", false))
  8122. {
  8123. addFileHost(
  8124. "(?:dl.\\.|)free\\.fr",
  8125. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8126. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8127. 'optional--',
  8128. 'optional2--',
  8129. "//a[contains(@href,'dl.free.fr')]");
  8130. }
  8131. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8132. {
  8133. addFileHost(
  8134. "gboxes\.com\/\\w+",
  8135. 'You have requested|color="red">http://www.gboxes.com',
  8136. 'File Not Found|<div style="width:500px;text-align:left;">',
  8137. 'optional--',
  8138. 'optional2--',
  8139. "//a[contains(@href,'gboxes.com')]");
  8140. }
  8141. if (GM_getValue("Check_led_dot_wf_links", false))
  8142. {
  8143. addFileHost(
  8144. "led\.wf\/\\w+",
  8145. 'logo_0.png|downloads.gif"|verifycode',
  8146. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8147. 'optional--',
  8148. 'available only for Premium users',
  8149. "//a[contains(@href,'led.wf')]");
  8150. }
  8151. if (GM_getValue("Check_lan_dot_wf_links", false))
  8152. {
  8153. addFileHost(
  8154. "lan\.wf\/\\w+",
  8155. 'logo_0.png|downloads.gif"|verifycode',
  8156. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8157. 'optional--',
  8158. 'available only for Premium users',
  8159. "//a[contains(@href,'lan.wf')]");
  8160. }
  8161. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8162. {
  8163. addFileHost(
  8164. "adlink\.wf\/\\w+",
  8165. 'logo_0.png|downloads.gif"|verifycode',
  8166. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8167. 'optional--',
  8168. 'available only for Premium users',
  8169. "//a[contains(@href,'adlink.wf')]");
  8170. }
  8171. if (GM_getValue("Check_click_dot_tf_links", false))
  8172. {
  8173. addFileHost(
  8174. "click\.tf\/\\w+",
  8175. 'logo_0.png|downloads.gif"|verifycode',
  8176. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8177. 'optional--',
  8178. 'available only for Premium users',
  8179. "//a[contains(@href,'click.tf')]");
  8180. }
  8181. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8182. {
  8183. addFileHost(
  8184. "ssh\.tf\/\\w+",
  8185. 'logo_0.png|downloads.gif"|verifycode',
  8186. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8187. 'optional--',
  8188. 'available only for Premium users',
  8189. "//a[contains(@href,'ssh.tf')]");
  8190. }
  8191. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8192. {
  8193. addFileHost(
  8194. "ssh\.yt\/\\w+",
  8195. 'logo_0.png|downloads.gif"|verifycode',
  8196. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8197. 'optional--',
  8198. 'available only for Premium users',
  8199. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8200. }
  8201. if (GM_getValue("Check_yep_dot_pm_links", false))
  8202. {
  8203. addFileHost(
  8204. "yep\.pm\/\\w+",
  8205. 'logo_0.png|downloads.gif"|verifycode',
  8206. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8207. 'optional--',
  8208. 'available only for Premium users',
  8209. "//a[contains(@href,'yep.pm')]");
  8210. }
  8211. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8212. {
  8213. addFileHost(
  8214. "kyc\.pm\/\\w+",
  8215. 'logo_0.png|downloads.gif"|verifycode',
  8216. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8217. 'optional--',
  8218. 'available only for Premium users',
  8219. "//a[contains(@href,'kyc.pm')]");
  8220. }
  8221. if (GM_getValue("Check_brupload_dot_net_links", false))
  8222. {
  8223. addFileHost(
  8224. "brupload\.net\/\\w+",
  8225. 'Download Gratuito',
  8226. '<div style="width:500px;text-align:left;">',
  8227. 'optional--',
  8228. 'optional2--',
  8229. "//a[contains(@href,'brupload.net')]");
  8230. }
  8231. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8232. {
  8233. addFileHost(
  8234. "cloudzilla\.to\/\\w+",
  8235. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8236. 'File not found|/imgs/broken.png',
  8237. 'optional--',
  8238. 'optional2--',
  8239. "//a[contains(@href,'cloudzilla.to')]");
  8240. } */
  8241. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8242. {
  8243. addFileHost(
  8244. "clicknupload\.com\/\\w+",
  8245. 'name="method_free',
  8246. 'File Not Found',
  8247. 'optional--',
  8248. 'optional2--',
  8249. "//a[contains(@href,'clicknupload.com')]");
  8250. }
  8251. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8252. {
  8253. addFileHost(
  8254. "clicknupload\.me\/\\w+",
  8255. 'name="method_free',
  8256. 'File Not Found',
  8257. 'optional--',
  8258. 'optional2--',
  8259. "//a[contains(@href,'clicknupload.me')]");
  8260. }
  8261. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8262. {
  8263. addFileHost(
  8264. "clicknupload\.link\/\\w+",
  8265. 'name="method_free',
  8266. 'File Not Found',
  8267. 'optional--',
  8268. 'optional2--',
  8269. "//a[contains(@href,'clicknupload.link')]");
  8270. }
  8271. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8272. {
  8273. addFileHost(
  8274. "ex-load\.com\/\\w+",
  8275. 'name="method_free|<p>Download File:</p>',
  8276. 'Folder Not Found|File Not Found|Error 404',
  8277. 'optional--',
  8278. 'class="downprem wow bounceInLeft',
  8279. "//a[contains(@href,'ex-load.com')]");
  8280. }
  8281. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8282. {
  8283. addFileHost(
  8284. "hexupload\.com\/\\w+",
  8285. 'button" value="Free|type="submit" value=""',
  8286. 'File Not Found|<div style="width:500px;text-align:left;">',
  8287. 'optional--',
  8288. 'optional2--',
  8289. "//a[contains(@href,'hexupload.com')]");
  8290. }*/
  8291. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8292. {
  8293. addFileHost(
  8294. "wizupload\.com\/\\w+",
  8295. 'btn_download|class="downloadbtn"',
  8296. '>File Not Found<',
  8297. 'optional--',
  8298. 'optional2--',
  8299. "//a[contains(@href,'wizupload.com')]");
  8300. }
  8301. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8302. {
  8303. addFileHost(
  8304. "inclouddrive\.com\/\\w+",
  8305. 'initfreedownload',
  8306. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8307. 'optional--',
  8308. 'optional2--',
  8309. "//a[contains(@href,'inclouddrive.com')]");
  8310. }
  8311. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8312. {
  8313. addFileHost(
  8314. "radicalshare\.com\/\\w+",
  8315. 'value="download1|name="method_free"',
  8316. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8317. 'optional--',
  8318. 'optional2--',
  8319. "//a[contains(@href,'radicalshare.com')]");
  8320. }*/
  8321. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8322. {
  8323. addFileHost(
  8324. "sharemods\.com\/\\w+",
  8325. 'name="method_free"',
  8326. 'File Not Found<',
  8327. 'optional--',
  8328. 'optional2--',
  8329. "//a[contains(@href,'sharemods.com')]");
  8330. }
  8331. if (GM_getValue("Check_hostr_dot_co_links", false))
  8332. {
  8333. addFileHost(
  8334. "hostr\.co\/\\w+",
  8335. 'method="get"',
  8336. 'File not found<|error-page',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'hostr.co')]");
  8340. }
  8341. if (GM_getValue("Check_filepi_dot_com_links", false))
  8342. {
  8343. addFileHost(
  8344. "filepi\.com\/\\w+",
  8345. 'id="button_start">',
  8346. 'File not found',
  8347. 'optional--',
  8348. 'optional2--',
  8349. "//a[contains(@href,'filepi.com')]");
  8350. }
  8351. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8352. {
  8353. addFileHost(
  8354. "tikfile\.com\/\\w+",
  8355. 'btn_download',
  8356. 'File Not Found|file was removed|Reason for deletion',
  8357. 'optional--',
  8358. 'optional2--',
  8359. "//a[contains(@href,'tikfile.com')]");
  8360. }
  8361. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8362. {
  8363. addFileHost(
  8364. "cloudsix\.me\/\\w+",
  8365. 'name="method_free"',
  8366. 'File Not Found|width:500px;text-align:left;">',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'cloudsix.me')]");
  8370. }
  8371. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8372. {
  8373. addFileHost(
  8374. "neodrive\.co\/\\w+",
  8375. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8376. 'File not found|/imgs/broken.png',
  8377. 'optional--',
  8378. 'optional2--',
  8379. "//a[contains(@href,'neodrive.co')]");
  8380. } */
  8381. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8382. {
  8383. addFileHost(
  8384. "chayfile\.com\/\\w+",
  8385. 'name="method_free"',
  8386. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8387. 'optional--',
  8388. 'optional2--',
  8389. "//a[contains(@href,'chayfile.com')]");
  8390. }
  8391. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8392. {
  8393. addFileHost(
  8394. "xfileload\.com\/\\w+",
  8395. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8396. '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..|הקובץ שחיפשת לא נמצא.',
  8397. 'optional--',
  8398. 'optional2--',
  8399. "//a[contains(@href,'xfileload.com')]");
  8400. }*/
  8401. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8402. {
  8403. addFileHost(
  8404. "rockfile\.eu\/\\w+",
  8405. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8406. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8407. 'optional--',
  8408. 'optional2--',
  8409. "//a[contains(@href,'rockfile.eu')]",
  8410. true);
  8411. }
  8412. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8413. {
  8414. addFileHost(
  8415. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8416. 'i/icon/dll.png"|>Start download<br',
  8417. 'no longer available<|i/ino.png"',
  8418. 'optional--',
  8419. 'optional2--',
  8420. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8421. }
  8422. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8423. {
  8424. addFileHost(
  8425. "ozofiles\.com\/\\w+",
  8426. 'button" value="Free|name="method_free',
  8427. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8428. 'optional--',
  8429. 'optional2--',
  8430. "//a[contains(@href,'ozofiles.com')]");
  8431. }
  8432. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8433. {
  8434. addFileHost(
  8435. "userscloud\.com\/\\w+",
  8436. 'btn_download|class="label label-success">',
  8437. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8438. 'optional--',
  8439. 'optional2--',
  8440. "//a[contains(@href,'userscloud.com')]");
  8441. }
  8442. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8443. {
  8444. addFileHost(
  8445. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8446. 'class="button download',
  8447. 'internal server error',
  8448. 'optional--',
  8449. 'optional2--',
  8450. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8451. }
  8452. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8453. {
  8454. addFileHost(
  8455. "kb.simple-aja\.info\/\\w+",
  8456. 'class="button download',
  8457. 'internal server error|<p>404</p>',
  8458. 'optional--',
  8459. 'optional2--',
  8460. "//a[contains(@href,'kb.simple')]");
  8461. }
  8462. if (GM_getValue("Check_faststore_dot_org_links", false))
  8463. {
  8464. addFileHost(
  8465. "faststore\.org\/\\w+",
  8466. 'name="method_free',
  8467. 'File Not Found',
  8468. 'optional--',
  8469. 'optional2--',
  8470. "//a[contains(@href,'faststore.org')]");
  8471. }
  8472. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8473. {
  8474. addFileHost(
  8475. "prefiles\.com\/\\w+",
  8476. 'id="method_free',
  8477. 'File not Found',
  8478. 'optional--',
  8479. 'optional2--',
  8480. "//a[contains(@href,'prefiles.com')]");
  8481. }
  8482. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8483. {
  8484. addFileHost(
  8485. "doraupload\.com\/\\w+",
  8486. 'btn_download|name="method_free',
  8487. 'class="error-code|Could Not Be Found',
  8488. 'optional--',
  8489. 'optional2--',
  8490. "//a[contains(@href,'doraupload.com')]");
  8491. }
  8492. if (GM_getValue("Check_openload_dot_io_links", false))
  8493. {
  8494. addFileHost(
  8495. "openload\.io\/\\w+",
  8496. 'btn btn-primary|class="count">|secondsleftouter',
  8497. 'class="jumbotron">|We are sorry',
  8498. 'optional--',
  8499. 'optional2--',
  8500. "//a[contains(@href,'openload.io')]");
  8501. }
  8502. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8503. {
  8504. addFileHost(
  8505. "zxcfiles\.com\/\\w+",
  8506. 'class="downloadbtn',
  8507. 'File Not Found',
  8508. 'optional--',
  8509. 'optional2--',
  8510. "//a[contains(@href,'zxcfiles.com')]");
  8511. }
  8512. if (GM_getValue("Check_up07_dot_net_links", false))
  8513. {
  8514. addFileHost(
  8515. "up07\.net\/\\w+",
  8516. 'name="method_free',
  8517. 'File Not Found',
  8518. 'optional--',
  8519. 'optional2--',
  8520. "//a[contains(@href,'up07.net')]");
  8521. }
  8522. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8523. {
  8524. addFileHost(
  8525. "fileupload\.pw\/\\w+",
  8526. 'value="Free"',
  8527. 'File Not Found',
  8528. 'optional--',
  8529. 'optional2--',
  8530. "//a[contains(@href,'fileupload.pw')]");
  8531. }
  8532. if (GM_getValue("Check_4upld_dot_com_links", false))
  8533. {
  8534. addFileHost(
  8535. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8536. 'alt="Download Now"|content="Download file">|btn-free-element',
  8537. '<title>Error|content="error|File not found',
  8538. 'optional--',
  8539. 'optional2--',
  8540. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8541. }
  8542. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8543. {
  8544. addFileHost(
  8545. "(?:.swoopshare)\\.com\/\\w+",
  8546. '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',
  8547. '<input type="file" name="f"',
  8548. 'optional--',
  8549. 'optional2--',
  8550. "//a[contains(@href,'swoopshare.com')]"
  8551. );
  8552. }
  8553. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8554. {
  8555. addFileHost(
  8556. "cloudshares\.net\/\\w+",
  8557. '"method_free|"Low Speed Download|submit" name="go',
  8558. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8559. 'optional--',
  8560. 'optional2--',
  8561. "//a[contains(@href,'cloudshares.net')]"
  8562. );
  8563. }
  8564. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8565. {
  8566. addFileHost(
  8567. "allmyvideos\.net\/\\w+",
  8568. 'Continue to Video',
  8569. 'File Not Found|class="err">Removed for',
  8570. 'optional--',
  8571. 'optional2--',
  8572. "//a[contains(@href,'allmyvideos.net')]"
  8573. );
  8574. } */
  8575. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8576. {
  8577. addFileHost(
  8578. "vodlocker\.com\/\\w+",
  8579. 'Proceed to video',
  8580. 'Not Found',
  8581. 'optional--',
  8582. 'optional2--',
  8583. "//a[contains(@href,'vodlocker.com')]"
  8584. );
  8585. }
  8586. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8587. {
  8588. addFileHost(
  8589. "vidbull\.com\/\\w+",
  8590. 'Verifying Video Request',
  8591. 'File Not Found',
  8592. 'optional--',
  8593. 'optional2--',
  8594. "//a[contains(@href,'vidbull.com')]");
  8595. }
  8596. if (GM_getValue("Check_novamov_dot_com_links", false))
  8597. {
  8598. addFileHost(
  8599. "novamov\.com\/\\w+",
  8600. 'For version detection',
  8601. 'file no longer exists',
  8602. 'optional--',
  8603. 'optional2--',
  8604. "//a[contains(@href,'novamov.com')]"
  8605. );
  8606. }
  8607. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8608. {
  8609. addFileHost(
  8610. "filehoot\.com\/\\w+",
  8611. 'Continue to watch',
  8612. 'File Not Found',
  8613. 'optional--',
  8614. 'optional2--',
  8615. "//a[contains(@href,'filehoot.com')]"
  8616. );
  8617. }
  8618. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8619. {
  8620. addFileHost(
  8621. "stagevu\.com\/\\w+",
  8622. 'Video Info',
  8623. 'No video with the provided',
  8624. 'optional--',
  8625. 'optional2--',
  8626. "//a[contains(@href,'stagevu.com')]"
  8627. );
  8628. }
  8629. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8630. {
  8631. addFileHost(
  8632. "cloudtime\.to\/\\w+",
  8633. 'Download the video',
  8634. 'no longer exists',
  8635. 'optional--',
  8636. 'optional2--',
  8637. "//a[contains(@href,'cloudtime.to')]"
  8638. );
  8639. }
  8640. if (GM_getValue("Check_streamin_dot_to_links", false))
  8641. {
  8642. addFileHost(
  8643. "streamin\.to\/\\w+",
  8644. 'id="btn_download',
  8645. 'Not Found|Copyright Infringement|File Deleted',
  8646. 'optional--',
  8647. 'optional2--',
  8648. "//a[contains(@href,'streamin.to')]"
  8649. );
  8650. }
  8651. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8652. {
  8653. addFileHost(
  8654. "videoweed\.es\/\\w+",
  8655. 'version detection',
  8656. 'no longer exists',
  8657. 'optional--',
  8658. 'optional2--',
  8659. "//a[contains(@href,'videoweed.es')]"
  8660. );
  8661. }
  8662. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8663. {
  8664. addFileHost(
  8665. "nowvideo\.sx\/\\w+",
  8666. 'Download this video|value="submit">Continue',
  8667. 'no longer exists',
  8668. 'optional--',
  8669. 'optional2--',
  8670. "//a[contains(@href,'nowvideo.sx')]"
  8671. );
  8672. }
  8673. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8674. {
  8675. addFileHost(
  8676. "thevideo\.me\/\\w+",
  8677. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8678. 'File Not Found',
  8679. 'optional--',
  8680. 'optional2--',
  8681. "//a[contains(@href,'thevideo.me')]"
  8682. );
  8683. }
  8684. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8685. {
  8686. addFileHost(
  8687. "gorillavid\.in\/\\w+",
  8688. 'Wait 5 seconds',
  8689. 'File Not Found',
  8690. 'optional--',
  8691. 'optional2--',
  8692. "//a[contains(@href,'gorillavid.in')]"
  8693. );
  8694. }
  8695. if (GM_getValue("Check_thefile_dot_me_links", false))
  8696. {
  8697. addFileHost(
  8698. "thefile\.me\/\\w+",
  8699. 'Choose free or',
  8700. '',
  8701. 'optional--',
  8702. 'optional2--',
  8703. "//a[contains(@href,'thefile.me')]"
  8704. );
  8705. }
  8706. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8707. {
  8708. addFileHost(
  8709. "vidzi\.tv\/\\w+",
  8710. 'video-embed-modal row',
  8711. 'File Not Found|file was deleted',
  8712. 'optional--',
  8713. 'optional2--',
  8714. "//a[contains(@href,'vidzi.tv')]"
  8715. );
  8716. }
  8717. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8718. {
  8719. addFileHost(
  8720. "filenuke\.com\/\\w+",
  8721. 'Download File',
  8722. 'Earn with us',
  8723. 'optional--',
  8724. 'optional2--',
  8725. "//a[contains(@href,'filenuke.com')]"
  8726. );
  8727. }
  8728. if (GM_getValue("Check_vidto_dot_me_links", false))
  8729. {
  8730. addFileHost(
  8731. "vidto\.me\/\\w+",
  8732. 'Proceed to video',
  8733. 'Not Found',
  8734. 'optional--',
  8735. 'optional2--',
  8736. "//a[contains(@href,'vidto.me')]"
  8737. );
  8738. }
  8739. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8740. {
  8741. addFileHost(
  8742. "vidspot\.net\/\\w+",
  8743. 'Duration|method_free',
  8744. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8745. 'optional--',
  8746. 'optional2--',
  8747. "//a[contains(@href,'vidspot.net')]"
  8748. );
  8749. } */
  8750. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8751. {
  8752. addFileHost(
  8753. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8754. 'Download File',
  8755. 'File Not Found',
  8756. 'optional--',
  8757. 'optional2--',
  8758. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8759. );
  8760. }
  8761. if (GM_getValue("Check_movpod_dot_in_links", false))
  8762. {
  8763. addFileHost(
  8764. "movpod\.in\/\\w+",
  8765. 'Continue',
  8766. 'File Not Found',
  8767. 'optional--',
  8768. 'optional2--',
  8769. "//a[contains(@href,'movpod.in')]"
  8770. );
  8771. }
  8772. if (GM_getValue("Check_down4files_dot_com_links", false))
  8773. {
  8774. addFileHost(
  8775. "down4files\.com\/\\w+",
  8776. 'down_table.png',
  8777. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8778. 'optional--',
  8779. 'optional2--',
  8780. "//a[contains(@href,'down4files.com')]"
  8781. );
  8782. }
  8783. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8784. {
  8785. addFileHost(
  8786. "storefiles\.co\/\\w+",
  8787. 'btn_download',
  8788. 'No such file|>Error<|mqmaintitle">',
  8789. 'optional--',
  8790. 'optional2--',
  8791. "//a[contains(@href,'storefiles.co')]"
  8792. );
  8793. }*/
  8794. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8795. {
  8796. addFileHost(
  8797. "filehost\.pw\/\\w+",
  8798. 'name="method_free',
  8799. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8800. 'optional--',
  8801. 'optional2--',
  8802. "//a[contains(@href,'filehost.pw')]"
  8803. );
  8804. }
  8805. if (GM_getValue("Check_uplea_dot_com_links", false))
  8806. {
  8807. addFileHost(
  8808. "uplea\.com\/\\w+",
  8809. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8810. 'expired link|ou est invalide',
  8811. 'optional--',
  8812. 'optional2--',
  8813. "//a[contains(@href,'uplea.com/dl')]",
  8814. true);
  8815. }
  8816. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8817. {
  8818. addFileHost(
  8819. "toutbox\.fr\/\\w+",
  8820. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8821. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8822. 'Serviço temporariamente indisponível',
  8823. 'optional2--',
  8824. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8825. );
  8826. }*/
  8827. if (GM_getValue("Check_openload_dot_co_links", false))
  8828. {
  8829. addFileHost(
  8830. "openload\.co\/\\w+",
  8831. 'id="downloadTimer">|button dlbutton',
  8832. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8833. 'optional--',
  8834. 'optional2--',
  8835. "//a[contains(@href,'openload.co')]"
  8836. );
  8837. }
  8838. if (GM_getValue("Check_oload_dot_tv_links", false))
  8839. {
  8840. addFileHost(
  8841. "oload\.tv\/\\w+",
  8842. 'id="downloadTimer">|button dlbutton',
  8843. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8844. 'optional--',
  8845. 'optional2--',
  8846. "//a[contains(@href,'oload.tv')]"
  8847. );
  8848. }
  8849. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8850. {
  8851. addFileHost(
  8852. "lolabits\.es\/\\w+",
  8853. 'Descargar:',
  8854. '<title>Archivos de usuario',
  8855. 'Service Unavailable',
  8856. 'optional2--',
  8857. "//a[contains(@href,'lolabits.es')]"
  8858. );
  8859. }*/
  8860. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8861. {
  8862. addFileHost(
  8863. "alfafile\.net\/\\w+",
  8864. 'id="slow_download_btn',
  8865. 'class="error-box">',
  8866. 'optional--',
  8867. 'optional2--',
  8868. "//a[contains(@href,'alfafile.net')]"
  8869. );
  8870. }
  8871. if (GM_getValue("Check_multiup_dot_org_links", false))
  8872. {
  8873. addFileHost(
  8874. "multiup\\.(?:org|eu)\/\\w+",
  8875. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8876. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8877. 'optional--',
  8878. 'optional2--',
  8879. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8880. );
  8881. }
  8882. if (GM_getValue("Check_file_dot_al_links", false))
  8883. {
  8884. addFileHost(
  8885. "file\\.al|1f.al",
  8886. 'method_free',
  8887. 'style="width:500px;text-align:left;">|invalid license_key',
  8888. 'optional--',
  8889. 'optional2--',
  8890. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8891. );
  8892. }
  8893. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8894. {
  8895. addFileHost(
  8896. "devilshare\.net\/\\w+",
  8897. '<div class="large-12" id="download">',
  8898. '(Link: 0 Invalid)|File Not Found',
  8899. 'optional--',
  8900. 'optional2--',
  8901. "//a[contains(@href,'devilshare.net')]"
  8902. );
  8903. }
  8904. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8905. {
  8906. addFileHost(
  8907. "dailyuploads\.net\/\\w+",
  8908. 'id="downloadBtnClickOrignal',
  8909. '<div style="width:500px;text-align:left;">',
  8910. 'optional--',
  8911. 'optional2--',
  8912. "//a[contains(@href,'dailyuploads.net')]"
  8913. );
  8914. }
  8915. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8916. {
  8917. addFileHost(
  8918. "datoteke\.com\/\\w+",
  8919. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8920. '&nbsp;File has been removed',
  8921. 'optional--',
  8922. '<title>Error - Datoteke',
  8923. "//a[contains(@href,'datoteke.com')]"
  8924. );
  8925. }
  8926. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8927. {
  8928. addFileHost(
  8929. "sharehost\.eu\/\\w+",
  8930. '/?v=download_free&',
  8931. 'Errors occured|Wystąpiły błędy',
  8932. 'optional--',
  8933. 'optional2--',
  8934. "//a[contains(@href,'sharehost.eu')]"
  8935. );
  8936. }
  8937. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8938. {
  8939. addFileHost(
  8940. "pornfile\.cz",
  8941. 'Stáhnout soubor|Stáhnout pomalu',
  8942. 'Soubor byl smazán|Stránka nenalezena',
  8943. 'optional--',
  8944. 'optional2--',
  8945. "//a[contains(@href,'pornfile.cz')]"
  8946. );
  8947. }
  8948. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8949. {
  8950. addFileHost(
  8951. "pornoid\.cz\/\\w+",
  8952. 'class="btn btn-large btn-download',
  8953. 'Soubor byl smazán',
  8954. 'optional--',
  8955. 'optional2--',
  8956. "//a[contains(@href,'pornoid.cz')]"
  8957. );
  8958. }
  8959. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8960. {
  8961. addFileHost(
  8962. "file-share\.top\/\\w+",
  8963. 'btn-success btn-lg download',
  8964. 'Stránka neexistuje|404 Not Found',
  8965. 'optional--',
  8966. 'optional2--',
  8967. "//a[contains(@href,'file-share.top')]"
  8968. );
  8969. }
  8970. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8971. {
  8972. addFileHost(
  8973. "bitster\.cz\/",
  8974. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8975. 'section" content=""',
  8976. 'optional--',
  8977. 'optional2--',
  8978. "//a[contains(@href,'bitster.cz')]"
  8979. );
  8980. }
  8981. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8982. {
  8983. addFileHost(
  8984. "rapidu\.net\/\\w+",
  8985. 'onclick="downloadFreeFile',
  8986. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8987. 'optional--',
  8988. 'optional2--',
  8989. "//a[contains(@href,'rapidu.net')]"
  8990. );
  8991. }
  8992. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8993. {
  8994. addFileHost(
  8995. "dinoshare\.cz\/\\w+",
  8996. 'class="download-button"',
  8997. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8998. 'optional--',
  8999. 'optional2--',
  9000. "//a[contains(@href,'dinoshare.cz')]"
  9001. );
  9002. }
  9003. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9004. {
  9005. addFileHost(
  9006. "bytewhale\.com\/\\w+",
  9007. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9008. 'var rawest = "0 MB|Copyrights Claim</div>',
  9009. 'optional--',
  9010. 'This file is available for premium members only',
  9011. "//a[contains(@href,'bytewhale.com')]"
  9012. );
  9013. }
  9014. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9015. {
  9016. addFileHost(
  9017. "rapidrar\.com\/\\w+",
  9018. 'value="Free Download',
  9019. '<div style="width:500px;text-align:left;">',
  9020. 'optional--',
  9021. 'optional--',
  9022. "//a[contains(@href,'rapidrar.com')]"
  9023. );
  9024. }
  9025. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9026. {
  9027. addFileHost(
  9028. "filesupload\.org\/\\w+",
  9029. '<a href="/download-or-watch/',
  9030. 'File not found',
  9031. 'optional--',
  9032. 'optional--',
  9033. "//a[contains(@href,'filesupload.org')]"
  9034. );
  9035. }
  9036. if (GM_getValue("Check_filecad_dot_com_links", false))
  9037. {
  9038. addFileHost(
  9039. "filecad\.com\/\\w+",
  9040. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9041. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9042. 'optional--',
  9043. 'optional--',
  9044. "//a[contains(@href,'filecad.com')]"
  9045. );
  9046. }
  9047. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9048. {
  9049. addFileHost(
  9050. "file.up09\.com\/\\w+",
  9051. 'name="method_free',
  9052. 'style="width:500px;text-align:left;">',
  9053. 'optional--',
  9054. 'optional--',
  9055. "//a[contains(@href,'file.up09.com')]"
  9056. );
  9057. }
  9058. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9059. {
  9060. addFileHost(
  9061. "lunaticfiles\.com\/\\w+",
  9062. 'name="method_free"',
  9063. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9064. 'optional--',
  9065. 'optional--',
  9066. "//a[contains(@href,'lunaticfiles.com')]"
  9067. );
  9068. }
  9069. if (GM_getValue("Check_upload_dot_af_links", false))
  9070. {
  9071. addFileHost(
  9072. "upload\.af\/\\w+",
  9073. 'id="method_free"',
  9074. '<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|ファイルが見つかりません',
  9075. 'optional--',
  9076. 'optional--',
  9077. "//a[contains(@href,'upload.af')]"
  9078. );
  9079. }
  9080. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9081. {
  9082. addFileHost(
  9083. "filedwon\.info\/\\w+",
  9084. 'name="method_free"',
  9085. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9086. 'optional--',
  9087. 'optional--',
  9088. "//a[contains(@href,'filedwon.info')]"
  9089. );
  9090. }
  9091. if (GM_getValue("Check_uplod_dot_it_links", false))
  9092. {
  9093. addFileHost(
  9094. "uplod\.it\/\\w+",
  9095. 'value="download2">|name="method_free',
  9096. '<Title>Download </Title>',
  9097. 'optional--',
  9098. 'optional--',
  9099. "//a[contains(@href,'uplod.it')]"
  9100. );
  9101. }
  9102. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9103. {
  9104. addFileHost(
  9105. "abelhas\.pt\/\\w+",
  9106. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9107. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9108. 'optional--',
  9109. 'optional--',
  9110. "//a[contains(@href,'abelhas.pt')]"
  9111. );
  9112. } */
  9113. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9114. {
  9115. addFileHost(
  9116. "disk.yandex\.com\/\\w+",
  9117. 'nb-button _nb-small-button',
  9118. 'error code|Nothing found',
  9119. 'optional--',
  9120. 'optional2--',
  9121. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9122. }
  9123. if (GM_getValue("Check_filespace_dot_com_links", false))
  9124. {
  9125. addFileHost(
  9126. "filespace\.com\/\\w+",
  9127. '"method_free',
  9128. '<div style="text-align:left;"><ul>|>File not found.<',
  9129. 'optional1--',
  9130. 'optional2--',
  9131. "//a[contains(@href,'filespace.com')]");
  9132. }
  9133. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9134. {
  9135. addFileHost(
  9136. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9137. 'name="downloadFile|id="downloadFile|value="Wait',
  9138. '<title>File not found</title>|>Error:<',
  9139. 'optional1--',
  9140. 'optional2--',
  9141. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9142. }
  9143. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9144. {
  9145. addFileHost(
  9146. "ncrypt\.in\/\\w+",
  9147. 'Sicherheitsabfrage:|Securitycheck:',
  9148. 'does not exist|existiert nicht',
  9149. 'optional1--',
  9150. 'optional2--',
  9151. "//a[contains(@href,'ncrypt.in')]");
  9152. }
  9153. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9154. {
  9155. addFileHost(
  9156. "jeodrive\.com\/\\w+",
  9157. 'btn-lg regular',
  9158. 'Not found',
  9159. 'optional1--',
  9160. 'optional2--',
  9161. "//a[contains(@href,'jeodrive.com')]");
  9162. }
  9163. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9164. {
  9165. addFileHost(
  9166. "myfiles\.onl\/\\w+",
  9167. 'value="Free"',
  9168. '<div style="width:500px;text-align:left;">',
  9169. 'optional1--',
  9170. 'optional2--',
  9171. "//a[contains(@href,'myfiles.onl')]");
  9172. }
  9173. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9174. {
  9175. addFileHost(
  9176. "uploadserv\.com\/\\w+",
  9177. 'color="red">http://uploadserv.com/',
  9178. 'content="Download File ">|<title>Download </title>',
  9179. 'optional1--',
  9180. 'optional2--',
  9181. "//a[contains(@href,'uploadserv.com')]");
  9182. }
  9183. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9184. {
  9185. addFileHost(
  9186. "keepshare\.net\/\\w+",
  9187. 'method_free',
  9188. '<div style="width:500px;text-align:left;">',
  9189. 'optional1--',
  9190. 'optional2--',
  9191. "//a[contains(@href,'keepshare.net')]");
  9192. }
  9193. if (GM_getValue("Check_oload_dot_net_links", false))
  9194. {
  9195. addFileHost(
  9196. "oload\.net\/\\w+",
  9197. '<font color="red">http://oload.net',
  9198. 'class="page-ttl">',
  9199. 'optional1--',
  9200. 'optional2--',
  9201. "//a[contains(@href,'oload.net')]");
  9202. }
  9203. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9204. {
  9205. addFileHost(
  9206. "filescdn\.com\/\\w+",
  9207. 'btn_download',
  9208. 'icon-warning text-danger|no longer available',
  9209. 'optional1--',
  9210. 'optional2--',
  9211. "//a[contains(@href,'filescdn.com')]");
  9212. }
  9213. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9214. {
  9215. addFileHost(
  9216. "bankupload\.com\/\\w+",
  9217. 'id="btn_download"|1.0 GB',
  9218. '<div style="width:500px;text-align:left;">',
  9219. 'optional1--',
  9220. ' GB',
  9221. "//a[contains(@href,'bankupload.com')]");
  9222. }
  9223. if (GM_getValue("Check_katfile_dot_com_links", false))
  9224. {
  9225. addFileHost(
  9226. "katfile\.com\/\\w+",
  9227. 'KB| MB|1.0 GB|id="method_free',
  9228. 'images/file_not_found.png"',
  9229. 'optional1--',
  9230. ' GB',
  9231. "//a[contains(@href,'katfile.com')]");
  9232. }
  9233. if (GM_getValue("Check_filesin_dot_space_links", false))
  9234. {
  9235. addFileHost(
  9236. "filesin\.space\/\\w+",
  9237. 'id="btn_download"',
  9238. 'class="err">',
  9239. 'optional1--',
  9240. 'optional2',
  9241. "//a[contains(@href,'filesin.space')]");
  9242. }
  9243. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9244. {
  9245. addFileHost(
  9246. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9247. 'download.php',
  9248. 'notfound|upload\\-suborov\\.php"',
  9249. 'optional--',
  9250. 'optional2--',
  9251. "//a[contains(@href,'upnito.sk')]"
  9252. );
  9253. }
  9254. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9255. {
  9256. addFileHost(
  9257. "alltu\.eu\/\\w+",
  9258. 'download-timer',
  9259. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9260. 'optional1--',
  9261. 'optional2',
  9262. "//a[contains(@href,'alltu.eu')]");
  9263. }
  9264. if (GM_getValue("Check_novafile_dot_com_links", false))
  9265. {
  9266. addFileHost(
  9267. "novafile\.com\/\\w+",
  9268. 'id="regular-download',
  9269. 'id="file-not-found',
  9270. 'optional1--',
  9271. 'id="premium-only',
  9272. "//a[contains(@href,'novafile.com')]");
  9273. }
  9274. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9275. {
  9276. addFileHost(
  9277. "uploadgig\.com",
  9278. 'id="countdownContainer',
  9279. 'File not found',
  9280. 'optional1--',
  9281. 'optional2',
  9282. "//a[contains(@href,'uploadgig.com')]");
  9283. }
  9284. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9285. {
  9286. addFileHost(
  9287. "mexashare\.com\/\\w+",
  9288. 'method_free',
  9289. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9290. 'optional1--',
  9291. 'optional2',
  9292. "//a[contains(@href,'mexashare.com')]");
  9293. }
  9294. if (GM_getValue("Check_daofile_dot_com_links", false))
  9295. {
  9296. addFileHost(
  9297. "daofile\.com\/\\w+",
  9298. 'class="captcha_code',
  9299. 'style="width:500px;text-align:left;">',
  9300. 'optional1--',
  9301. 'optional2',
  9302. "//a[contains(@href,'daofile.com')]");
  9303. }
  9304. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9305. {
  9306. addFileHost(
  9307. "imagenetz\.de\/\\w+",
  9308. 'id="download',
  9309. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9310. 'optional1--',
  9311. 'optional2',
  9312. "//a[contains(@href,'imagenetz.de')]");
  9313. }
  9314. if (GM_getValue("Check_uloz_dot_to_links", false))
  9315. {
  9316. addFileHost(
  9317. "uloz\.to",
  9318. 'limitedDownloadButton|Stáhnout pomalu',
  9319. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9320. 'optional1--',
  9321. 'optional2',
  9322. "//a[contains(@href,'uloz.to')]");
  9323. }
  9324. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9325. {
  9326. addFileHost(
  9327. "ulozto.net",
  9328. 'limitedDownloadButton|Stáhnout pomalu',
  9329. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9330. 'optional1--',
  9331. 'optional2',
  9332. "//a[contains(@href,'ulozto.net')]");
  9333. }
  9334. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9335. {
  9336. addFileHost(
  9337. "ulozto\.sk",
  9338. 'limitedDownloadButton|Stáhnout pomalu',
  9339. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9340. 'optional1--',
  9341. 'optional2',
  9342. "//a[contains(@href,'ulozto.sk')]");
  9343. }
  9344. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9345. {
  9346. addFileHost(
  9347. "ulozto\.cz",
  9348. 'limitedDownloadButton|Stáhnout pomalu',
  9349. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9350. 'optional1--',
  9351. 'optional2',
  9352. "//a[contains(@href,'ulozto.cz')]");
  9353. }
  9354. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9355. {
  9356. addFileHost(
  9357. "subyshare\.com\/\\w+",
  9358. 'id="method_free',
  9359. 'file was removed|class="err">|1s">404',
  9360. 'optional1--',
  9361. 'optional2',
  9362. "//a[contains(@href,'subyshare.com')]",
  9363. true);
  9364. }
  9365. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9366. {
  9367. addFileHost(
  9368. "fileshareup\.com\/\\w+",
  9369. 'download-timer|btn-free-element|content="Download file',
  9370. 'content="Error"|content="error|heading-1">Error<',
  9371. 'optional1--',
  9372. 'optional2',
  9373. "//a[contains(@href,'fileshareup.com')]");
  9374. }
  9375. if (GM_getValue("Check_mystore_dot_to_links", false))
  9376. {
  9377. addFileHost(
  9378. "mystore\.to\/\\w+",
  9379. 'Download File',
  9380. 'file not found',
  9381. 'optional1--',
  9382. 'optional2',
  9383. "//a[contains(@href,'mystore.to/dl')]");
  9384. }
  9385. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9386. {
  9387. addFileHost(
  9388. "usercloud\.net\/\\w+",
  9389. 'content="download|var seconds = 60|type="password',
  9390. 'content="error|report_file.html">',
  9391. 'optional1--',
  9392. 'optional2',
  9393. "//a[contains(@href,'usercloud.net')]");
  9394. }
  9395. if (GM_getValue("Check_workupload_dot_com_links", false))
  9396. {
  9397. addFileHost(
  9398. "workupload\.com\/\\w+",
  9399. 'content="Download|id="download"',
  9400. 'File not found|img/not-found.jpg|Error message',
  9401. 'optional1--',
  9402. 'optional2',
  9403. "//a[contains(@href,'workupload.com')]");
  9404. }
  9405. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9406. {
  9407. addFileHost(
  9408. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9409. 'class="download">',
  9410. 'class="error center',
  9411. 'optional1--',
  9412. 'optional2',
  9413. "//a[contains(@href,'storageserver.co.uk')]");
  9414. }
  9415. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9416. {
  9417. addFileHost(
  9418. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9419. '"kind": "file"',
  9420. '"error": "not_exists"',
  9421. 'optional1--',
  9422. 'optional2',
  9423. "//a[contains(@href,'cloud.mail.ru')]");
  9424. }
  9425. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9426. {
  9427. addFileHost(
  9428. "bdupload\.info\/\\w+",
  9429. 'class="downloadbtn">|id="downloadbtn"',
  9430. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9431. 'optional1--',
  9432. 'optional2',
  9433. "//a[contains(@href,'bdupload.info')]");
  9434. }
  9435. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9436. {
  9437. addFileHost(
  9438. "wayupload\.com\/\\w+",
  9439. 'class="nopay-btn gray"',
  9440. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9441. 'optional1--',
  9442. 'optional2',
  9443. "//a[contains(@href,'wayupload.com')]");
  9444. }
  9445. if (GM_getValue("Check_exbit_dot_net_links", false))
  9446. {
  9447. addFileHost(
  9448. "exbit\.net\/\\w+",
  9449. 'class="nopay-btn|href="/download/free/',
  9450. 'File not found',
  9451. 'optional1--',
  9452. 'optional2',
  9453. "//a[contains(@href,'exbit.net')]");
  9454. }
  9455. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9456. {
  9457. addFileHost(
  9458. "uploadocean\.com\/\\w+",
  9459. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9460. 'deleted.png"',
  9461. 'optional1--',
  9462. 'optional2',
  9463. "//a[contains(@href,'uploadocean.com')]");
  9464. }
  9465. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9466. {
  9467. addFileHost(
  9468. "fileflares\.com\/\\w+",
  9469. 'id="downloadbtn"',
  9470. '<div style="width:500px;text-align:left;">',
  9471. 'optional1--',
  9472. 'optional2',
  9473. "//a[contains(@href,'fileflares.com')]");
  9474. }
  9475. if (GM_getValue("Check_erafile_dot_com_links", false))
  9476. {
  9477. addFileHost(
  9478. "erafile\.com\/\\w+",
  9479. 'id="method_free',
  9480. '<div style="width:500px;text-align:left;">',
  9481. 'optional1--',
  9482. 'optional2',
  9483. "//a[contains(@href,'erafile.com')]");
  9484. }
  9485. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9486. {
  9487. addFileHost(
  9488. "suprafiles\.net\/\\w+",
  9489. 'name="method_free"',
  9490. 'File Not Found|style="width:1000px; text-align: left;">',
  9491. 'optional1--',
  9492. 'optional2',
  9493. "//a[contains(@href,'suprafiles.net')]");
  9494. }
  9495. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9496. {
  9497. addFileHost(
  9498. "upfiles\.net\/\\w+",
  9499. 'id="recaptcha2"|snail.png"',
  9500. 'Ten plik został usunięty.|style="margin-top:50px',
  9501. 'optional1--',
  9502. 'optional2',
  9503. "//a[contains(@href,'upfiles.net/f/')]");
  9504. }
  9505. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9506. {
  9507. addFileHost(
  9508. "dailyfiles\.net\/\\w+",
  9509. 'onclick="dwn',
  9510. '<title>Error',
  9511. 'optional1--',
  9512. 'optional2',
  9513. "//a[contains(@href,'dailyfiles.net')]");
  9514. }
  9515. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9516. {
  9517. addFileHost(
  9518. "littlebyte\.net\/\\w+",
  9519. '>Free download<|>Скачать медленно<',
  9520. 'images/dmca.png">',
  9521. 'optional1--',
  9522. 'optional2',
  9523. "//a[contains(@href,'littlebyte.net')]");
  9524. }
  9525. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9526. {
  9527. addFileHost(
  9528. "black\\-label\\.pro\/\\w+",
  9529. 'slow_download_button.png"|td><td title="',
  9530. 'STILL NEED CODE FOR DEAD LINKS',
  9531. 'optional1--',
  9532. 'optional2',
  9533. "//a[contains(@href,'black-label.pro')]");
  9534. } */
  9535. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9536. {
  9537. addFileHost(
  9538. "temp\\-share\\.com\/\\w+",
  9539. 'publickey',
  9540. 'STILL NEED CODE FOR DEAD LINKS',
  9541. 'optional1--',
  9542. 'optional2',
  9543. "//a[contains(@href,'temp-share.com')]");
  9544. }
  9545. if (GM_getValue("Check_filesha_dot_com_links", false))
  9546. {
  9547. addFileHost(
  9548. "filesha\.com\/\\w+",
  9549. '>Download Free<',
  9550. 'STILL NEED CODE FOR DEAD LINKS',
  9551. 'optional1--',
  9552. 'optional2',
  9553. "//a[contains(@href,'filesha.com')]");
  9554. }
  9555. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9556. {
  9557. addFileHost(
  9558. "ausfile\.com\/\\w+",
  9559. 'class="slow-download',
  9560. 'File Not Found',
  9561. 'optional1--',
  9562. 'optional2',
  9563. "//a[contains(@href,'ausfile.com')]");
  9564. }
  9565. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9566. {
  9567. addFileHost(
  9568. "upfile\.mobi\/\\w+",
  9569. 'class="download_button"',
  9570. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9571. 'optional1--',
  9572. 'optional2',
  9573. "//a[contains(@href,'upfile.mobi')]");
  9574. }
  9575. if (GM_getValue("Check_share_dot_az_links", false))
  9576. {
  9577. addFileHost(
  9578. "share\.az\/\\w+",
  9579. 'id="btn_download"',
  9580. 'File Not Found|We are sorry',
  9581. 'optional1--',
  9582. 'optional2',
  9583. "//a[contains(@href,'share.az')]");
  9584. }
  9585. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9586. {
  9587. addFileHost(
  9588. "partage-facile\.com",
  9589. 'class="title"><strong>',
  9590. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9591. 'optional--',
  9592. 'optional2--',
  9593. "//a[contains(@href,'partage-facile.com')]");
  9594. }
  9595. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9596. {
  9597. addFileHost(
  9598. "uploadify\.net\/\\w+",
  9599. 'loading_small.gif"',
  9600. '<title>Error -',
  9601. 'optional1--',
  9602. 'optional2',
  9603. "//a[contains(@href,'uploadify.net')]");
  9604. }
  9605. if (GM_getValue("Check_uploads_dot_to_links", false))
  9606. {
  9607. addFileHost(
  9608. "uploads\.to\/\\w+",
  9609. 'class="g-recaptcha',
  9610. 'File Not Found',
  9611. 'optional1--',
  9612. 'optional2',
  9613. "//a[contains(@href,'uploads.to')]");
  9614. }
  9615. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9616. {
  9617. addFileHost(
  9618. "crazyshare\.cc\/\\w+",
  9619. 'slow_download_button.png',
  9620. 'File Not Found',
  9621. 'optional1--',
  9622. 'optional2',
  9623. "//a[contains(@href,'crazyshare.cc')]");
  9624. }
  9625.  
  9626. }
  9627. //start here
  9628.  
  9629. //hosts with direct download, so they must be requested for headers only
  9630. function initFileHostsHeadersOnly()
  9631. {
  9632. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9633. {
  9634. var host = new Array(5);
  9635. host[0] = linkRegex;
  9636. host[1] = isAliveRegex;
  9637. host[2] = isDeadRegex;
  9638. host[4] = ispremRegex;
  9639. host[3] = xpathEx;
  9640. http_file_hosts_headers_only.push(host);
  9641. }
  9642. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9643. {
  9644. addFileHostHeadersOnly(
  9645. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9646. 'Connection: Keep-Alive',
  9647. 'Content-Length: 3857',
  9648. 'optional2',
  9649. "//a[contains(@href,'uloziste.com')]"
  9650. )
  9651. }
  9652. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9653. {
  9654. addFileHostHeadersOnly(
  9655. "filescdn\.com\/\\w+",
  9656. 'Connection: keep-alive',
  9657. 'Company</Title>',
  9658. 'optional2',
  9659. "//a[contains(@href,'filescdn.com')]"
  9660. )
  9661. } */
  9662. if (GM_getValue("Check_adrive_dot_com_links", false))
  9663. {
  9664. addFileHostHeadersOnly(
  9665. "adrive\\.com\/public\/\\w+",
  9666. 'Connection: keep-alive',
  9667. 'orig_ref=deleted',
  9668. 'optional2',
  9669. "//a[contains(@href,'adrive.com')]"
  9670. )
  9671. }
  9672. }
  9673.  
  9674. //CustomRules
  9675. //functions add...Host copied here
  9676. function addObsoleteHost(linkRegex, xpathEx)
  9677. {
  9678. var host = new Array(2);
  9679. host[0] = linkRegex;
  9680. host[1] = xpathEx;
  9681. http_file_hosts_obsolete.push(host);
  9682. }
  9683. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9684. {
  9685. var host = new Array(7);
  9686. host[0] = linkRegex;
  9687. host[1] = isAliveRegex;
  9688. host[2] = isDeadRegex;
  9689. host[3] = isUnavaRegex;
  9690. host[4] = xpathEx;
  9691. tryLoop ? host[5] = true : host[5] = false;
  9692. host[6] = ispremRegex;
  9693. http_file_hosts.push(host);
  9694. }
  9695. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9696. {
  9697. var host = new Array(5);
  9698. host[0] = linkRegex;
  9699. host[1] = isAliveRegex;
  9700. host[2] = isDeadRegex;
  9701. host[3] = xpathEx;
  9702. host[4] = ispremRegex;
  9703. http_file_hosts_headers_only.push(host);
  9704. }
  9705. //takes a fully built rules array and adds the rules to WARLC
  9706. function applyCustomRules(customRules)
  9707. {
  9708. if (!customRules) return;
  9709. var rules, r, i;
  9710. rules = customRules.rules;
  9711. for (i = 0 ; i < rules.length ; i++)
  9712. {
  9713. r = rules[i];
  9714. if (r.enabled)
  9715. {
  9716. switch (r.type)
  9717. {
  9718. case 'single':
  9719. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9720. break;
  9721. case 'headers':
  9722. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9723. break;
  9724. case 'obsolete':
  9725. addObsoleteHost(r.urlregex, r.xpath)
  9726. break;
  9727. }
  9728. }
  9729. }
  9730. }
  9731.  
  9732.  
  9733. function initFileHostsCustom()
  9734. {
  9735. if (Custom_rules && Custom_rules_text)
  9736. {
  9737. var msg = '';
  9738. if (newVersion)
  9739. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9740. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9741. msg = '60 or more days have passed since this notification.\n\n';
  9742. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9743. {
  9744. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9745. msg +=
  9746. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9747. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9748. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9749. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9750. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9751. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9752. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9753. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9754. setTimeout(function(){alert(msg)},0);
  9755. }
  9756. var customRules = parseCustomRules(Custom_rules_text);
  9757. if (customRules.warning || customRules.error)
  9758. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9759. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9760. JSON.stringify(customRules.info, null, ' '));
  9761. applyCustomRules(customRules);
  9762. }
  9763. }
  9764. //end of CustomRules processing
  9765.  
  9766.  
  9767.  
  9768. } //end of function start
  9769.  
  9770.  
  9771.  
  9772. function initClipBoardTools()
  9773. {
  9774. unsafeWindow.copyToClipboard = function(text)
  9775. {
  9776. try
  9777. {
  9778. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9779.  
  9780. var str = Components.classes["@mozilla.org/supports-string;1"].
  9781. createInstance(Components.interfaces.nsISupportsString);
  9782. if (!str) return false;
  9783.  
  9784. str.data = text;
  9785.  
  9786. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9787. createInstance(Components.interfaces.nsITransferable);
  9788. if (!trans) return false;
  9789.  
  9790. trans.addDataFlavor("text/unicode");
  9791. trans.setTransferData("text/unicode", str, text.length * 2);
  9792.  
  9793. var clipid = Components.interfaces.nsIClipboard;
  9794. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9795. if (!clip) return false;
  9796.  
  9797. clip.setData(trans, null, clipid.kGlobalClipboard);
  9798. } catch (e) {
  9799. GM_log("Error copyToClipboard : " + e);
  9800. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9801. }
  9802. }
  9803. }
  9804.  
  9805.  
  9806.  
  9807. //CustomRules
  9808.  
  9809. function escapeRegex(str)
  9810. {
  9811. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9812. }
  9813.  
  9814.  
  9815. //called internally from parseCustomRules.
  9816. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9817. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9818. function makeCustomRule(rule)
  9819. {
  9820. function makeMatchRegex(arrmatch)
  9821. {
  9822. return escapeRegex(arrmatch.join('\n'))
  9823. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9824. .replace(/\n/g,'|'); //join together
  9825. }
  9826. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9827. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9828. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9829. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9830. if (rule.baseurl)
  9831. {
  9832. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9833. for (i = 0 ; i < len ; i++)
  9834. {
  9835. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9836. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9837. {
  9838. 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'])
  9839. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9840. }
  9841. else //baseurl in the form: example.com/xxx
  9842. {
  9843. xpath.push(m[0]);
  9844. urlregex.push(escapeRegex(m[0]) + '.');
  9845. }
  9846. }
  9847. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9848. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9849. }
  9850. return rule;
  9851. } //function makeCustomRule
  9852.  
  9853.  
  9854. /*
  9855. Takes a string containing custom link checking rules.
  9856. Returns an object with fields:
  9857. info - contains notes, warnings and errors found during parsing
  9858. rules - the array of custom rules
  9859. note, warning, error - number of each of them found during parsing
  9860. Format of the input string:
  9861. One command per line. Command format: @keyword parameter
  9862. Keywords:
  9863. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9864. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9865. These keywords can be multiple (any of them will work):
  9866. @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...)
  9867. @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+
  9868. @alivelink, @deadlink - example links
  9869. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9870. Lines starting with // and empty lines are ignored.
  9871. Invalid parameters generate errors and those lines are skipped.
  9872. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9873. Example:
  9874. @customrule filehost
  9875. @baseurl filehost.com/download/
  9876. @baseurl filehost2. com net /d?=
  9877. @alivematch id="download">
  9878. @deadmatch File not found
  9879. @deadmatch File deleted
  9880. */
  9881. function parseCustomRules(rulesStr)
  9882. {
  9883. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9884. function addInfo(type, msg, ln){
  9885. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9886. customRules[type]++;
  9887. }
  9888. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9889. if (!lines) return null;
  9890. lines.push('@#customrule _'); //to save the last rule
  9891. var m, linecount = lines.length;
  9892. var keyword, param, constr, rule, err;
  9893. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9894. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9895. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9896. var constraints = {
  9897. 'baseurl': {
  9898. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9899. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9900. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9901. 'alivematch': {
  9902. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9903. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9904. 'deadmatch': {
  9905. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9906. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9907. 'unavamatch': {
  9908. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9909. 'alivelink': {
  9910. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9911. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9912. 'deadlink': {
  9913. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9914. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9915. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9916. };
  9917. for (linenum = 0 ; linenum < linecount ; linenum++)
  9918. {
  9919. //capturing groups: 1 23 4 5 6
  9920. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9921. if (m)
  9922. {
  9923. if (m[1] || !m[2])
  9924. continue; // ignore empty lines and lines starting with //
  9925. keyword = (m[4] || m[2]).toLowerCase();
  9926. param = m[6];
  9927. if (keyword == 'customrule')
  9928. {
  9929. //save the current rule if all required fields are provided
  9930. if (rule)
  9931. {
  9932. err = false;
  9933. $.each(constraints, function(kw, constraint){
  9934. var l, constr = constraint[rule.type];
  9935. if (constr)
  9936. {
  9937. l = rule[kw] ? rule[kw].length : 0;
  9938. if (l < constr.min || l > constr.max)
  9939. {
  9940. 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);
  9941. err = true;
  9942. }
  9943. }
  9944. });
  9945. if (!err)
  9946. customRules.rules.push(makeCustomRule(rule));
  9947. }
  9948. //start a new rule
  9949. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9950. {
  9951. rule = {
  9952. 'enabled': !m[3],
  9953. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9954. 'name': param
  9955. };
  9956. }
  9957. else
  9958. {
  9959. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9960. rule = null;
  9961. }
  9962. }
  9963. else //good line format, but keyword other than customrule
  9964. {
  9965. if (!rule)
  9966. {
  9967. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9968. continue;
  9969. }
  9970. if (constraints[keyword])
  9971. {
  9972. constr = constraints[keyword][rule.type];
  9973. if (constr)
  9974. {
  9975. if (constr.paramRE && !constr.paramRE.test(param))
  9976. {
  9977. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9978. continue;
  9979. }
  9980. }
  9981. else
  9982. {
  9983. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9984. continue;
  9985. }
  9986. }
  9987. //line OK, save
  9988. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9989. }
  9990. } //if (m)
  9991. else
  9992. addInfo('warning', 'Unknown line format. Line skipped.');
  9993. } //for loop
  9994. return customRules;
  9995. } //function parseCustomRules
  9996.  
  9997.  
  9998. /* ********************UPDATES********************
  9999.  
  10000. April 26, 2017
  10001. Version 1.3.7.9
  10002. fixed 1f.al
  10003.  
  10004. April 16, 2017
  10005. Version 1.3.7.8
  10006. added crazyshare.cc
  10007.  
  10008. April 16, 2017
  10009. Version 1.3.7.7
  10010. fixed uploadgig.com
  10011.  
  10012. April 13, 2017
  10013. Version 1.3.7.6
  10014. added neodrive.co to obsolete hosts
  10015.  
  10016. April 07, 2017
  10017. Version 1.3.7.5
  10018. added french code for rg premium links
  10019.  
  10020. April 05, 2017
  10021. Version 1.3.7.4
  10022. added oload.tv
  10023.  
  10024. March 30, 2017
  10025. Version 1.3.7.3
  10026. added uploads.to
  10027.  
  10028. March 20, 2017
  10029. Version 1.3.7.2
  10030. added black-label.pro to obsolete hosts
  10031.  
  10032. March 13, 2017
  10033. Version 1.3.7.1
  10034. fixed filescdn.com
  10035.  
  10036. February 27, 2017
  10037. Version 1.3.7.0
  10038. fixed openload.co
  10039.  
  10040. February 26, 2017
  10041. Version 1.3.6.9
  10042. fixed drive.google.com
  10043. fixed uptobox.com (by dodoxp)
  10044.  
  10045. February 25, 2017
  10046. Version 1.3.6.8
  10047. added uploading.com to obsolete hosts
  10048.  
  10049. February 24, 2017
  10050. Version 1.3.6.7
  10051. cloudzilla.to added to obsolete hosts
  10052.  
  10053. February 23, 2017
  10054. Version 1.3.6.6
  10055. uploadify.net
  10056.  
  10057. February 22, 2017
  10058. Version 1.3.6.5
  10059. fixed katfile.com
  10060.  
  10061. February 12, 2017
  10062. Version 1.3.6.3
  10063. added junocloud.me to obsolete hosts
  10064.  
  10065. January 12, 2017
  10066. Version 1.3.6.2
  10067. added share.az & upfile.mobi
  10068.  
  10069. January 07, 2017
  10070. Version 1.3.6.1
  10071. added ausfile.com
  10072.  
  10073. January 05, 2017
  10074. Version 1.3.6.0
  10075. removed uploadable.ch from obsolete hosts
  10076.  
  10077. January 04, 2017e
  10078.  
  10079. December 31, 2016
  10080. Version 1.3.5.8
  10081. disabled on pizzaonline.dominos
  10082.  
  10083. December 31, 2016
  10084. Version 1.3.5.7
  10085. added uploadable.ch to obsolete hosts
  10086.  
  10087. December 30, 2016
  10088. Version 1.3.5.6
  10089. restored kingfiles.net
  10090.  
  10091. December 14, 2016
  10092. Version 1.3.5.5
  10093. fixed some 1fichier links not checking (yurii)
  10094.  
  10095. December 01, 2016
  10096. Version 1.3.5.4
  10097. added temp-share.com & filesha.com
  10098.  
  10099. November 30, 2016
  10100. Version 1.3.5.3
  10101. fixed mexashare.com not detecting some dead links
  10102.  
  10103. November 29, 2016
  10104. Version 1.3.5.2
  10105. added black-label.pro (live links only)
  10106.  
  10107. November 27, 2016
  10108. Version 1.3.5.1
  10109. made changes to filefactory
  10110.  
  10111. November 23, 2016
  10112. Version 1.3.5.0
  10113. added megashares.com to obsolete hosts
  10114. fixed letitbit not showing as obsolete
  10115. added littlebyte.net
  10116.  
  10117. November 22, 2016
  10118. Version 1.3.4.9
  10119. added code for live links to rapidgator
  10120. added dailyfiles.net
  10121. added upfiles.net
  10122. added multiup.eu
  10123.  
  10124. November 17, 2016
  10125. Version 1.3.4.8
  10126. fixed filefactory, again
  10127.  
  10128. November 17, 2016
  10129. Version 1.3.4.7
  10130. fixed filefactory folders
  10131.  
  10132. November 15, 2016
  10133. Version 1.3.4.6
  10134. fixed filefactory
  10135.  
  10136. November 14, 2016
  10137. Version 1.3.4.5
  10138. fixed rapidgator
  10139. fixed filefactory folders
  10140.  
  10141.  
  10142. November 13, 2016
  10143. Version 1.3.4.4
  10144. fixed problem with drive.google.com
  10145. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10146.  
  10147. November 06, 2016
  10148. Version 1.3.4.3
  10149. added to obsolete hosts (by love buzz)
  10150. 4up.me
  10151. a nonfiles.com
  10152. axifile.com
  10153. creafile.net
  10154. demo.ovh.eu
  10155. filesin.com
  10156. file swap.com
  10157. gulfup.com
  10158. hexupload.com
  10159. hugefiles.net
  10160. jumbofiles.com
  10161. kingfiles.net
  10162. letitbit.net
  10163. lolabits.es
  10164. nowdownload.ch
  10165. openfile.ru
  10166. radicalshare.com
  10167. remixshare.com
  10168. storefiles.co
  10169. toutbox.fr
  10170. uploadbaz.com
  10171. uploadingit.com
  10172. verzend.be
  10173. vidplay.net
  10174. vidxden.com
  10175. xfileload.com
  10176.  
  10177. November 04, 2016
  10178. Version 1.3.4.2
  10179. added french code for rapidgator premium links
  10180. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10181.  
  10182. November 03, 2016
  10183. Version 1.3.4.1
  10184. added Portuguese code for rapidgator premium links
  10185. added suprafiles.net
  10186.  
  10187. November 02, 2016
  10188. Version 1.3.4.0
  10189. fixed depositfiles not detecting depositfiles.com/de links
  10190.  
  10191. October 27, 2016
  10192. Version 1.3.3.9
  10193. fixed uploaded.net not detecting some dead links
  10194.  
  10195. October 24, 2016
  10196. Version 1.3.3.8
  10197. added more french code for upload.af dead links
  10198.  
  10199. October 23, 2016
  10200. Version 1.3.3.7
  10201. added french for upload.af dead links
  10202.  
  10203. October 17, 2016
  10204. Version 1.3.3.6
  10205. fixed error (by Yurii)
  10206.  
  10207. October 17, 2016
  10208. Version 1.3.3.5
  10209. fixed file.al (by Yurii)
  10210.  
  10211. October 16, 2016
  10212. Version 1.3.3.4
  10213. test
  10214.  
  10215. October 11, 2016
  10216. Version 1.3.3.3
  10217. fixed subyshare.com not detecting some dead links
  10218. fixed mexashare.com
  10219. fixed pornfile.cz
  10220.  
  10221. October 10, 2016
  10222. Version 1.3.3.2
  10223. added fileflares.com
  10224. added erafile.com
  10225. added loop to subyshare.com & rockfile.eu
  10226.  
  10227. September 26, 2016
  10228. Version 1.3.3.1
  10229. added uploadocean.com
  10230.  
  10231. September 25, 2016
  10232. Version 1.3.3.0
  10233. added exbit.net
  10234.  
  10235. September 25, 2016
  10236. Version 1.3.2.9
  10237. fixed uptobox
  10238. fixed google (by kubbbie)
  10239.  
  10240. September 23, 2016
  10241. Version 1.3.2.8
  10242. added danish to rapidgator
  10243.  
  10244. September 22, 2016
  10245. Version 1.3.2.7
  10246. added wayupload.com
  10247.  
  10248. September 18, 2016
  10249. Version 1.3.2.6
  10250. added Portuguese language to rapidgator
  10251.  
  10252. September 15, 2016
  10253. Version 1.3.2.5
  10254. added languages to rapidgator
  10255. french
  10256. german
  10257. spanish
  10258. Italian
  10259. russian
  10260. polish
  10261. dutch
  10262. czech
  10263. chinese
  10264. japanese
  10265.  
  10266. September 14, 2016
  10267. Version 1.3.2.4
  10268. fixed spaceforfiles.com
  10269.  
  10270. September 09, 2016
  10271. Version 1.3.2.3
  10272. added bdupload.info
  10273. added german & deutsch language to workupload.com
  10274.  
  10275. September 08, 2016
  10276. Version 1.3.2.2
  10277. added...
  10278. storageserver.co.uk
  10279. cloud.mail.ru
  10280. fixed depositfiles
  10281.  
  10282. September 08, 2016
  10283. Version 1.3.2.1
  10284. added workupload.com
  10285.  
  10286. September 04, 2016
  10287. Version 1.3.2.0
  10288. made changes to euroshare.eu
  10289.  
  10290. September 03, 2016
  10291. Version 1.3.1.9
  10292. added usercloud.net
  10293. made changes to euroshare.eu
  10294.  
  10295. August 31, 2016
  10296. Version 1.3.1.8
  10297. fixed uptobox.com
  10298.  
  10299. August 30, 2016
  10300. Version 1.3.1.7
  10301. made changes to euroshare.eu
  10302.  
  10303. August 29, 2016
  10304. Version 1.3.1.6
  10305. made changes to data.hu
  10306.  
  10307. August 29, 2016
  10308. Version 1.3.1.5
  10309. fixed euroshare.eu not detecting dead links
  10310.  
  10311. August 23, 2016
  10312. Version 1.3.1.4
  10313. added ulozto.sk
  10314. added ulozto.cz
  10315.  
  10316. August 19, 2016
  10317. Version 1.3.1.3
  10318. fixed euroshare.eu
  10319. fixed 2share.com
  10320.  
  10321. August 17, 2016
  10322. Version 1.3.1.2
  10323. added french code for 1fichier
  10324.  
  10325. August 16, 2016
  10326. Version 1.3.1.1
  10327. fix for 1fichier folder links, by yurii
  10328.  
  10329. August 15, 2016
  10330. Version 1.3.1.0
  10331. another fix for 1fichier
  10332. added mystore.to
  10333.  
  10334. August 12, 2016
  10335. Version 1.3.0.9
  10336. fixed 1fichier
  10337.  
  10338. August 01, 2016
  10339. Version 1.3.0.8
  10340. fixed tezfiles.com not detecting some premium links
  10341.  
  10342. July 24, 2016
  10343. Version 1.3.0.7
  10344. added fileshareup.com
  10345.  
  10346. July 17, 2016
  10347. Version 1.3.0.6
  10348. added subyshare.com
  10349.  
  10350. july 10, 2016
  10351. Version 1.3.0.5
  10352. fixed ulozto.net
  10353.  
  10354. july 07, 2016
  10355. Version 1.3.0.4
  10356. fixed uloz.to
  10357.  
  10358. july 07, 2016
  10359. Version 1.3.0.3
  10360. added imagenetz.de
  10361.  
  10362. June 23, 2016
  10363. Version 1.3.0.2
  10364. excluded nexcess.net
  10365.  
  10366. June 20, 2016
  10367. Version 1.3.0.1
  10368. added daofile.com
  10369.  
  10370. June 16, 2016
  10371. Version 1.3.0.0
  10372. added mexashare.com
  10373.  
  10374. June 16, 2016
  10375. Version 1.2.9.9
  10376. added novafile.com
  10377. added uploadgig.com
  10378.  
  10379. June 15, 2016
  10380. Version 1.2.9.8
  10381. fixed upload.af
  10382.  
  10383. June 10, 2016
  10384. Version 1.2.9.7
  10385. added alltu.eu
  10386.  
  10387. June 09, 2016
  10388. Version 1.2.9.6
  10389. added code for french language to rapidgator.net & rg.to
  10390.  
  10391. June 04, 2016
  10392. Version 1.2.9.5
  10393. added upnito.sk
  10394.  
  10395. May 31, 2016
  10396. Version 1.2.9.4
  10397. fixed mega.co (by yurii)
  10398.  
  10399. May 31, 2016
  10400. Version 1.2.9.3
  10401. code cleanup
  10402.  
  10403. May 27, 2016
  10404. Version 1.2.9.2
  10405. added filesin.space
  10406.  
  10407. May 27, 2016
  10408. Version 1.2.9.1
  10409. added
  10410. filescdn.com
  10411. bankupload.com
  10412. katfile.com
  10413.  
  10414. May 18, 2016
  10415. Version 1.2.9.0
  10416. added warped.co to obsolete hosts
  10417.  
  10418. May 17, 2016
  10419. Version 1.2.8.9
  10420. fixed mega.nz
  10421.  
  10422. May 16, 2016
  10423. Version 1.2.8.8
  10424. added to obsolete hosts
  10425. fileband.com
  10426. filecloud.cc
  10427. filesmelt.com
  10428. goldbytez.com
  10429. hulkshare.com
  10430. idup.in
  10431. loudupload.net
  10432. muchshare.net
  10433. myupload.dk
  10434. nekaka.com
  10435. netkups.com
  10436. plunder.com
  10437. uploads.xxx
  10438. uploadspace.pl
  10439. xkeepfile.com
  10440.  
  10441. May 16, 2016
  10442. Version 1.2.8.7
  10443. added upnito.sk to obsolete hosts
  10444.  
  10445. May 15, 2016
  10446. Version 1.2.8.6
  10447. fixed uploading.site
  10448.  
  10449. May 15, 2016
  10450. Version 1.2.8.5
  10451. added oload.net
  10452.  
  10453. May 14, 2016
  10454. Version 1.2.8.4
  10455. added uploading.site
  10456.  
  10457. May 13, 2016
  10458. Version 1.2.8.3
  10459. added uploadc.ch
  10460. fixed vidspot.net
  10461.  
  10462. May 13, 2016
  10463. Version 1.2.8.2
  10464. added keepshare.net
  10465.  
  10466. May 11, 2016
  10467. Version 1.2.8.1
  10468. added uploadserv.com
  10469.  
  10470. May 09, 2016
  10471. Version 1.2.8.0
  10472. fixed upstore.net & upsto.re
  10473. added 24uploading.com to obsolete hosts
  10474.  
  10475. May 06, 2016
  10476. Version 1.2.7.9
  10477. added storagon.com to obsolete hosts
  10478. fixed worldbytez.com
  10479.  
  10480. May 02, 2016
  10481. Version 1.2.7.8
  10482. added myfiles.onl
  10483.  
  10484. april 28, 2016
  10485. Version 1.2.7.7
  10486. fixed bytewhale.com
  10487.  
  10488. april 27, 2016
  10489. Version 1.2.7.6
  10490. fixed rapidgator not detecting some premium links.
  10491.  
  10492. april 27, 2016
  10493. Version 1.2.7.5
  10494. added jeodrive.com
  10495.  
  10496. april 26, 2016
  10497. Version 1.2.7.4
  10498. added sanshare.com to obsolete hosts
  10499.  
  10500. april 26, 2016
  10501. Version 1.2.7.3
  10502. fixed vidspot.net
  10503.  
  10504. april 26, 2016
  10505. Version 1.2.7.2
  10506. added upx.nz
  10507.  
  10508. april 25, 2016
  10509. Version 1.2.7.1
  10510. added rapidfilehost.com to obsolete hosts
  10511. fixed bitster.cz
  10512.  
  10513. april 12, 2016
  10514. Version 1.2.7.0
  10515. fixed rapidgator not detecting some premium links.
  10516.  
  10517. april 11, 2016
  10518. Version 1.2.6.9
  10519. changed code for ncrypt.in
  10520.  
  10521. april 07, 2016
  10522. Version 1.2.6.8
  10523. added fileinz.com to obsolete hosts.
  10524.  
  10525. april 06, 2016
  10526. Version 1.2.6.7
  10527. added sharingmaster.com to obsolete hosts.
  10528.  
  10529. april 05, 2016
  10530. Version 1.2.6.6
  10531. added 4upfiles.com & elffiles.com to obsolete hosts
  10532.  
  10533. april 03, 2016
  10534. Version 1.2.6.5
  10535. updates to configuration page
  10536.  
  10537. March 31, 2016
  10538. Version 1.2.6.4
  10539. added code for tampermonkey 4.0 compatibility
  10540.  
  10541. March 31, 2016
  10542. Version 1.2.6.3
  10543. fixed uloz.to
  10544. fixed copy dead links to clipboard feature
  10545. added copy live links to clipboard feature.
  10546.  
  10547. March 24, 2016
  10548. Version 1.2.6.2
  10549. changed made to nitroflare. (yurri)
  10550.  
  10551. March 20, 2016
  10552. Version 1.2.6.1
  10553. fixed rapidgator
  10554. fixed dfiles
  10555. fixed dl.free.fr
  10556. fixed nitroflare.com (Fixed by Yurii)
  10557.  
  10558. March 15, 2016
  10559. Version 1.2.6.0
  10560. fixed rapidgator.net
  10561. fixed uploaded.net
  10562.  
  10563. March 13, 2016
  10564. Version 1.2.5.9
  10565. added
  10566. uploads.ws
  10567. upl.me
  10568. clicknupload.link
  10569. added fileover.net to obsolete hosts
  10570. fixed kingfiles.net
  10571.  
  10572. March 09, 2016
  10573. Version 1.2.5.8
  10574. added kingfiles.net to obsolete hosts
  10575. fixed 4upld.com/expressleech.com
  10576.  
  10577. March 08, 2016
  10578. Version 1.2.5.7
  10579. fixed solidfiles.com
  10580.  
  10581. March 01, 2016
  10582. Version 1.2.5.6
  10583. added filespace.com
  10584. fixed depositfiles (by yurii)
  10585.  
  10586. February 29, 2016
  10587. Version 1.2.5.5
  10588. made change to keep2share
  10589.  
  10590. February 28, 2016
  10591. Version 1.2.5.4
  10592. removed down4files.com from obsolete hosts.
  10593.  
  10594. February 26, 2016
  10595. Version 1.2.5.3
  10596. fixed userscloud.com
  10597.  
  10598. February 24, 2016
  10599. Version 1.2.5.2
  10600. added yandex.com
  10601. fixed datafile.com
  10602.  
  10603. February 22, 2016
  10604. Version 1.2.5.1
  10605. added bigfile.to
  10606.  
  10607. February 20, 2016
  10608. Version 1.2.5.0
  10609. added abelhas.pt
  10610.  
  10611. February 18, 2016
  10612. Version 1.2.4.9
  10613. made change to uptobox
  10614.  
  10615. February 17, 2016
  10616. Version 1.2.4.8
  10617. fixed yadi.sk
  10618.  
  10619. February 16, 2016
  10620. Version 1.2.4.7
  10621. fixed datafile.com
  10622. fixed filecad.com
  10623. added filecore.co & filestorm.to to obsolete hosts
  10624. added upload.af, filedwon.in & uplod.it
  10625.  
  10626. February 15, 2016
  10627. Version 1.2.4.6
  10628. fixed kumpulbagi.id
  10629. added sangfile.com to obsolete hosts
  10630.  
  10631. February 14, 2016
  10632. Version 1.2.4.5
  10633. fixed yandex.ru
  10634.  
  10635. February 13, 2016
  10636. Version 1.2.4.4
  10637. added lunaticfiles.com.
  10638.  
  10639. February 09, 2016
  10640. Version 1.2.4.3
  10641. added file.up09.com.
  10642.  
  10643. February 09, 2016
  10644. Version 1.2.4.2
  10645. tezfiles.com premium links now detected.
  10646.  
  10647. February 09, 2016
  10648. Version 1.2.4.1
  10649. added seenupload.com to obsolete hosts
  10650. fixed 180upload.com to show obsolete
  10651.  
  10652. February 08, 2016
  10653. Version 1.2.4.0
  10654. added tusfiles.com
  10655. added filesupload.org
  10656. added gigasize.com
  10657. added filecad.com
  10658. fixed filecloud.io
  10659. added uploadnet.co to obsolete hosts
  10660.  
  10661. February 07,2016
  10662. Vession 1.2.3.9
  10663. fixed depositfiles.com folders
  10664. fixed turbobit.net folders
  10665.  
  10666. February 06, 2016
  10667. Version 1.2.3.8
  10668. fixed 1fichier false dead links
  10669.  
  10670. February 04, 2106
  10671. Version 1.2.3.7
  10672. added geupload and lenfile to obsolete hosts
  10673. fixed kyc.pm/depfile
  10674.  
  10675. February 03, 2016
  10676. Version 1.2.3.6
  10677. fixed some nitroflare.com dead links not being detected
  10678.  
  10679. February 01, 2016
  10680. Version 1.2.3.5
  10681. script moved to new site
  10682.  
  10683. January 20, 2016
  10684. Version 1.2.3.3
  10685. fixed some rapidgator premium link not being detected
  10686.  
  10687. January 17, 2016
  10688. Version 1.2.3.2
  10689. added bytewhale.com
  10690. added rapidrar.com
  10691.  
  10692. Version 1.2.3.1
  10693. added 180upload.com to obsolete hosts
  10694. fixed hellspy.com
  10695. added dinoshare.cz,
  10696.  
  10697. January 13, 2016
  10698. Version 1.2.3.0
  10699. added rapidu.net
  10700. added uploadboy.me
  10701. fixed euroshare.eu
  10702.  
  10703. January 12, 2016
  10704. Version 1.2.2.9
  10705. added kb.simple-aja.info
  10706.  
  10707. January 10, 2016
  10708. Version 1.2.2.8
  10709. made changes to fastshare.cz
  10710.  
  10711. January 10, 2016
  10712. Version 1.2.2.7
  10713. fixed uptobox.com
  10714.  
  10715. January 09, 2016
  10716. Version 1.2.2.6
  10717. datoteke.com now detects premium links
  10718. fixed turbobit.net
  10719. fixed uptobox.com
  10720. added pornfile.cz
  10721. added pornoid.cz
  10722. added file-share.top
  10723. added bitster.cz
  10724.  
  10725. January 05, 2016
  10726. Version 1.2.2.5
  10727. fixed salefiles.com
  10728. fixed ozofile.com
  10729.  
  10730. January 04, 2016
  10731. Version 1.2.2.4
  10732. added sharehost.eu
  10733.  
  10734. December 30, 2015
  10735. Version 1.2.2.3
  10736. added tezfiles.com
  10737.  
  10738. December 28, 2015
  10739. Version 1.2.2.2
  10740. fixed some k2s & fboom dead link not getting detected
  10741. fixed some k2s premium links not getting detected.
  10742. fixed ssh.yt not detecting some dead links
  10743. fixed ncrypt.in dead links showing yellow
  10744.  
  10745. December 20, 2015
  10746. Version 1.2.2.0
  10747. added datoteke.com
  10748.  
  10749. December 19, 2015
  10750. Version 1.2.1.9
  10751. added secured.in & linksave.in to obsolete hosts
  10752.  
  10753. December 17, 2015
  10754. Version 1.2.1.8
  10755. added german for dead links to secureupload.eu.
  10756.  
  10757. December 17, 2015
  10758. Version 1.2.1.7
  10759. added french for dead links to secureupload.eu.
  10760. fixed problem with tooltip display.
  10761.  
  10762. December 13, 2015
  10763. Version 1.2.1.6
  10764. added netload.me & fileparadox.in to obsolete hosts
  10765.  
  10766. December 09, 2015
  10767. Version 1.2.1.5
  10768. added rapidsonic.com & fileparadox.com to obsolete hosts
  10769.  
  10770. December 04, 2015
  10771. Version 1.2.1.4
  10772. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10773.  
  10774. December 03, 2015
  10775. Version 1.2.1.3
  10776. added dailyuploads.net
  10777.  
  10778. December 02, 2015
  10779. Version 1.2.1.2
  10780. fixed hitfile.net
  10781. fixed kingfiles.net
  10782.  
  10783. November 30, 2015
  10784. Version 1.2.1.1
  10785. added filepost.com to obsolete hosts
  10786. added devilshare.net
  10787.  
  10788. November 28, 2015
  10789. Version 1.2.1.0
  10790. fixed datafile.com not detecting some premium links.
  10791.  
  10792. November 25, 2015
  10793. Version 1.2.0.9
  10794. fixed filejoker.net
  10795. fixed toutbox.fr
  10796. fixed nowvideo.sx
  10797.  
  10798. November 24, 2015
  10799. Version 1.2.0.8
  10800. fixed openload.io
  10801.  
  10802. November 20, 2015
  10803. Version 1.2.0.7
  10804. //added file.al
  10805. //fixed nitroflare.com false live links
  10806. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10807.  
  10808. November 17, 2015
  10809. Version 1.2.0.6
  10810. added clicknupload.me
  10811.  
  10812. November 09, 2015
  10813. Version 1.2.0.5
  10814. fixed some depfile premium links not being detected
  10815.  
  10816. November 08, 2015
  10817. Version 1.2.0.4
  10818. fixed some rapidgator premium links not being detected
  10819. fixed doraupload.com
  10820.  
  10821. November 08, 2015
  10822. Version 1.2.0.3
  10823. fixed uploaded false premium
  10824.  
  10825. November 07, 2015
  10826. Version 1.2.0.2
  10827. fixed redbunker.net
  10828.  
  10829. November 05, 2015
  10830. Version 1.2.0.1
  10831. fixed app.box.com
  10832. added multiup.org (does not detect all dead links)
  10833.  
  10834. November 01, 2015
  10835. Version 1.2.0.0
  10836. added more languages to rockfile and 1fichier
  10837.  
  10838. November 01, 2015
  10839. Version 1.1.9.9
  10840. fixed rockfile.eu
  10841. changed 1fichier code (Thanks yurri)
  10842. added to obsolete hosts... (Thanks Love Buzz)
  10843. burnupload.com
  10844. cramit.in
  10845. cramitin.net
  10846. down4files.com
  10847. edoc.com
  10848. jumbofile.net
  10849. krotix.net
  10850. migahost.com
  10851. movreel.com
  10852. netload.in
  10853. newfileland.com
  10854. quickshare.cz
  10855.  
  10856. October 30, 2015
  10857. Version 1.1.9.8
  10858. added alfafile.net
  10859.  
  10860. October 26, 2015
  10861. Version 1.1.9.7
  10862. changed datafile.com and uplea.com
  10863. added lolabits.es
  10864.  
  10865. October 26, 2015
  10866. Version 1.1.9.6
  10867. added toutbox.fr
  10868.  
  10869. October 25, 2015
  10870. Version 1.1.9.5
  10871. fixed counter error
  10872.  
  10873. October 25, 2015
  10874. Version 1.1.9.4
  10875. changed uptobox.com code
  10876.  
  10877. October 21, 2015
  10878. Version 1.1.9.3
  10879. fixed uptobox.com
  10880.  
  10881. October 20, 2015
  10882. Version 1.1.9.2
  10883. bug fixes and new method of detecting premium links.
  10884.  
  10885. October 15, 2015
  10886. Version 1.1.9.1
  10887. fixed hugefiles.net false premium
  10888. changed uptobox.com code
  10889.  
  10890. October 06, 2015
  10891. Version 1.1.9.0
  10892. fixed filefactory
  10893. fixed rockfile false premium
  10894. keep2share & fileboom now detect premium links (fixed by yurii)
  10895.  
  10896. October 01, 2015
  10897. Version 1.1.8.9
  10898. fixed free.fr false premium
  10899. fixed thevideo.me false premium
  10900.  
  10901. September 28, 2015
  10902. Version 1.1.8.8
  10903. added uplea.com and openload.co
  10904.  
  10905. September 27, 2015
  10906. Version 1.1.8.7
  10907. fixed fileparadox.in false premium
  10908. added kingfiles.net to obsolete hosts
  10909. removed inafile.com from obsolete hosts
  10910.  
  10911. September 22, 2015
  10912. Version 1.1.8.6
  10913. fixed nitroflare false premium
  10914.  
  10915. September 22, 2015
  10916. Version 1.1.8.5
  10917. fixed userscloud.com false premium
  10918. fixed usersfiles.com false premium
  10919. changed arabloads.com to arabloads.net
  10920. changed nowdownloads.eu to nowdownloads.ch
  10921.  
  10922. September 21, 2015
  10923. Version 1.1.8.3
  10924. added ryushare.com to obsolete hosts.
  10925.  
  10926. September 20, 2015
  10927. Version 1.1.8.2
  10928. fixed nitroflare not showing premium links
  10929. added down4files.com,storfiles.co,filehost.pw
  10930.  
  10931. September 16, 2015
  10932. Version 1.1.8.1
  10933. added crisshare.com to obsolete hosts
  10934. fixed filemoney.com false premium
  10935. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10936.  
  10937. September 14, 2015
  10938. Version 1.1.8.0
  10939. added to obsolete hosts...
  10940. sharebeast.com
  10941. tufiles.ru
  10942.  
  10943. September 12, 2015
  10944. Version 1.1.7.9
  10945. fixed rghost.net false premium
  10946. fixed unlimitzone.com false premium
  10947. fixed turbobit.net false live link
  10948.  
  10949. September 11, 2015
  10950. Version 1.1.7.8
  10951. Fixed filefactory.com false premium.
  10952.  
  10953. September 07, 2015
  10954. Version 1.1.7.7
  10955. fixed "depositfiles.com/en/files" links not checking
  10956.  
  10957. September 06, 2015
  10958. Version 1.1.7.6
  10959. added French code for 1fichier
  10960.  
  10961. August 29, 2015
  10962. Version 1.1.7.5
  10963. fixed depositfiles
  10964. fixed mega.co.nz/mega.nz
  10965. (fixed by yurii)
  10966.  
  10967. August 23, 2015
  10968. Version 1.1.7.4
  10969. Fixed uploadrocket (by yurii)
  10970.  
  10971. August 20, 2015
  10972. Version 1.1.7.3
  10973. fixed depfile.com false premium
  10974. fixed 1fichier false premium
  10975. fixed rapidgator false premium
  10976.  
  10977. August 08, 2015
  10978. Version 1.1.7.1
  10979. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10980.  
  10981. August 07, 2015
  10982. Version 1.1.7.0
  10983. fixed...
  10984. streamin.to
  10985. thefile.me
  10986. vidzi.tv
  10987. added...
  10988. filenuke.com
  10989. vidto.me
  10990. vidspot.net
  10991. sharesix.com
  10992. sharesix.net
  10993. movpod.in,
  10994.  
  10995. August 07, 2015
  10996. Version 1.1.6.9 added...
  10997. thefile.me
  10998. vidzi.tv
  10999. videoweed.es
  11000. vodlocker.com
  11001. nowvideo.sx
  11002. cloudtime.to
  11003. thevideo.me
  11004. vidbull.com
  11005. allmyvideos.net
  11006. novamov.com
  11007. filehoot.com
  11008. stagevu.com
  11009. gorillavid.in
  11010. streamin.to
  11011.  
  11012. August 02, 2015
  11013. Version 1.1.6.8
  11014. added cloudshares.net
  11015.  
  11016. August 01, 2015
  11017. Version 1.1.6.7
  11018. fixed depfile redirectors false premium
  11019.  
  11020. July 31, 2015
  11021. Version 1.1.6.6
  11022. fixed depfile.com false premium
  11023. */