W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-01-07 提交的版本,查看 最新版本

  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.6.1
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.6.1 January 07, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "black-label.pro",
  41. "temp-share.com",
  42. "ausfile.com",
  43. "filesha.com",
  44. "upfiles.net",
  45. "dailyfiles.net",
  46. "uploadocean.com",
  47. "drive.google.com",
  48. "suprafiles.net",
  49. "fileflares.com",
  50. "erafile.com",
  51. "mystore.to",
  52. "littlebyte.net",
  53. "exbit.net",
  54. "bdupload.info",
  55. "workupload.com",
  56. "wayupload.com",
  57. "cloud.mail.ru",
  58. "fileshareup.com",
  59. "usercloud.net",
  60. "daofile.com",
  61. "subyshare.com",
  62. "mexashare.com",
  63. "uploadgig.com",
  64. "upload.af",
  65. "alltu.eu",
  66. "filesin.space",
  67. "imagenetz.de",
  68. "katfile.com",
  69. "bankupload.com",
  70. "keepshare.net",
  71. "filescdn.com",
  72. "myfiles.onl",
  73. "uploadserv.com",
  74. "uploading.site",
  75. "filedwon.info",
  76. "jeodrive.com",
  77. "ncrypt.in",
  78. "yandex.com",
  79. "down4files.com",
  80. 'filespace.com',
  81. "uplod.it",
  82. "rapidu.net",
  83. "uploads.ws|upl.me",
  84. "file.up09.com",
  85. "lunaticfiles.com",
  86. "filecad.com",
  87. "filesupload.org",
  88. "bytewhale.com",
  89. "rapidrar.com",
  90. "download.cz.hellshare.com",
  91. "pornfile.cz",
  92. "dinoshare.cz",
  93. "kb.simple-aja.info",
  94. "bitster.cz",
  95. "file-share.top",
  96. "pornoid.cz",
  97. "dailyuploads.net",
  98. "sharehost.eu",
  99. "tezfiles.com",
  100. "devilshare.net",
  101. "alfafile.net",
  102. "openload.co",
  103. "multiup.org",
  104. "uplea.com",
  105. "filenuke.com",
  106. "file.al|1f.al",
  107. "vidto.me",
  108. "filehost.pw",
  109. "turbobit.ru",
  110. "sharesix.com|sharesix.net",
  111. "movpod.in",
  112. "thefile.me",
  113. "datoteke.com",
  114. "vidzi.tv",
  115. "videoweed.es",
  116. "vodlocker.com",
  117. "nowvideo.sx",
  118. "cloudtime.to",
  119. "thevideo.me",
  120. "vidbull.com",
  121. "novamov.com",
  122. "filehoot.com",
  123. "stagevu.com",
  124. "gorillavid.in",
  125. "streamin.to",
  126. "4upld.com|expressleech.com",
  127. "cloudshares.net",
  128. "swoopshare.com",
  129. "2shared.com",
  130. "fileupload.pw",
  131. "zxcfiles.com",
  132. "up07.net",
  133. "4shared.com",
  134. "adrive.com",
  135. "aisfile.com",
  136. "bezvadata.cz",
  137. "usersfiles.com",
  138. "pan.baidu.com",
  139. "datei.to",
  140. "daten-hoster.de|filehosting.org|xtraupload.de",
  141. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  142. "divshare.com",
  143. "easy-share.com|crocko.com",
  144. "easybytez.com",
  145. "edisk.cz",
  146. "euroshare.eu",
  147. "file-upload.net",
  148. "yadi.sk",
  149. "wizupload.com",
  150. "fastshare.cz",
  151. "filefactory.com",
  152. "share.vnn.vn",
  153. "yunpan.cn",
  154. "tropicshare.com",
  155. "cloudzilla.to",
  156. "inclouddrive.com",
  157. "fileflyer.com",
  158. "filerio.com|filekeen.com",
  159. "up.4share.vn",
  160. "upfile.vn",
  161. "datafilehost.com",
  162. "worldbytez.com",
  163. "files.mail.ru",
  164. "filesflash.com",
  165. "box.com",
  166. "uptobox.com",
  167. "box.net",
  168. "sdilej.cz",
  169. "ex-load.com",
  170. "filesmonster.com",
  171. "filestore.to",
  172. "hulkload.com",
  173. "filedropper.com",
  174. "free-uploading.com",
  175. "gamefront.com|filefront.com",
  176. "gettyfile.ru",
  177. "gigapeta.com",
  178. "gigasize.com",
  179. "hellshare.com",
  180. "hellspy.com",
  181. "hitfile.net",
  182. "hostuje.net",
  183. "freefilehosting.net",
  184. "free.fr",
  185. "hyperfileshare.com",
  186. "filecloud.io|ifile.it",
  187. "ifolder.ru",
  188. "uploadrocket.net",
  189. "lafiles.com",
  190. "leteckaposta.cz|sharegadget.com",
  191. "load.to",
  192. "mediafire.com",
  193. "megafileupload.com",
  194. "movshare.net",
  195. "narod.ru|narod.yandex.ru",
  196. "fboom.me|fileboom.me",
  197. "partage-facile.com",
  198. "sharerapid.cz",
  199. "exclusiveloader.com",
  200. "acefile.net",
  201. "queenshare.com",
  202. "rapidgator.net",
  203. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  204. "oboom.com",
  205. "filepi.com",
  206. "neodrive.co",
  207. "rarefile.net",
  208. "rayfile.com",
  209. "rghost.net",
  210. "sendmyway.com",
  211. "clicknupload.com",
  212. "clicknupload.me",
  213. "clicknupload.link",
  214. "uploadable.ch",
  215. "sharemods.com",
  216. "hostr.co",
  217. "sendspace.com",
  218. "sharecash.org",
  219. "share-links.biz",
  220. "share-online.biz|egoshare.com",
  221. "megarapid.cz",
  222. "shareflare.net",
  223. "solidfiles.com",
  224. "led.wf",
  225. "lan.wf",
  226. "adlink.wf",
  227. "click.tf",
  228. "kyc.pm",
  229. "ssh.tf",
  230. "ssh.yt",
  231. "yep.pm",
  232. "stahovanizasms.cz",
  233. "turbobit.net",
  234. "tikfile.com",
  235. "cloudsix.me",
  236. "turboupload.com",
  237. "uloz.to",
  238. "ulozto.net",
  239. "ulozto.sk",
  240. "ulozto.cz",
  241. "ulozisko.sk",
  242. "uloziste.com",
  243. "unibytes.com",
  244. "upload-il.net|przeslij.net",
  245. "uploaded.to|uploaded.net|ul.to",
  246. "uploading.com",
  247. "chayfile.com",
  248. "rockfile.eu",
  249. "usaupload.net",
  250. "veehd.com",
  251. "videobb.com",
  252. "vip-file.com",
  253. "webshare.cz",
  254. "xdisk.cz",
  255. "yunfile.com|filemarkets.com",
  256. "ziddu.com",
  257. "zippyshare.com",
  258. "rodfile.com",
  259. "wikiupload.com",
  260. "uploadstube.de",
  261. "faststore.org",
  262. "flyfiles.net",
  263. "prefiles.com",
  264. "hackerbox.org",
  265. "amonshare.com",
  266. "data.hu",
  267. "brupload.net",
  268. "kingfiles.net",
  269. "userscloud.com",
  270. "kumpulbagi.com|kumpulbagi.id",
  271. "uppit.com|up.ht|upx.nz",
  272. "downloadani.me",
  273. "filesabc.com",
  274. "extmatrix.com",
  275. "sendfiles.nl",
  276. "yourfilestore.com",
  277. "filebig.net",
  278. "file4safe.com",
  279. "tusfiles.net|tusfiles.com",
  280. "filemac.com",
  281. "ozofiles.com",
  282. "nosupload.com",
  283. "gboxes.com",
  284. "myvdrive.com|fileserving.com",
  285. "novafile.com",
  286. "longfiles.com",
  287. "bitupload.com",
  288. "indowebster.com",
  289. "superload.cz",
  290. "mafiastorage.com",
  291. "hellupload.com",
  292. "stiahni.si",
  293. "sendspace.pl",
  294. "fastshare.org",
  295. "filejoker.net",
  296. "filestore.com.ua",
  297. "rapidfileshare.net",
  298. "stiahnito.sk",
  299. "rusfolder.com",
  300. "catshare.net",
  301. "mixturecloud.com",
  302. "filedais.com",
  303. // "imdb.com",
  304. "nitroflare.com",
  305. "akafile.com",
  306. "up.top4top.net",
  307. "upload.ee",
  308. "shareplace.org",
  309. "uploadc.com",
  310. "uploadc.ch",
  311. "exoshare.com",
  312. "borncash.org",
  313. "junocloud.me",
  314. "2downloadz.com",
  315. "mightyupload.com",
  316. "anysend.com",
  317. "datafile.com",
  318. "upstore.net",
  319. "upsto.re",
  320. "speedy.sh",
  321. "ge.tt",
  322. "filesflash.net",
  323. "salefiles.com",
  324. "datoid.cz",
  325. "cloudstor.es",
  326. "streamfile.com",
  327. "eyesfile.ca",
  328. "filemoney.com",
  329. "uploadboy.com",
  330. "uploadboy.me",
  331. "speedshare.eu",
  332. "google.com|google.be",
  333. "unlimitzone.com",
  334. "rioupload.com",
  335. "rg.to",
  336. "jumbofiles.org",
  337. "fshare.vn",
  338. "spaceforfiles.com",
  339. "up.media1fire.com",
  340. "depfile.com",
  341. "go4up.com",
  342. "dropbox.com",
  343. "redbunker.net",
  344. "divxpress.com",
  345. "mega.nz|mega.co.nz",
  346. "storageserver.co.uk",
  347. "anafile.com",
  348. "bigfile.to",
  349. "arabloads.net",
  350. "sharerepo.com",
  351. "sfshare.se",
  352. "files.fm",
  353. "koofile.com",
  354. "doraupload.com",
  355. "openload.io",
  356. "upnito.sk",
  357. "oload.net",
  358. ];
  359.  
  360. try
  361. {
  362. //iframes excluded
  363. if (window.top != window.self)
  364. {
  365. return;
  366. }
  367. //allHostNames sites excluded
  368. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  369. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  370. ")"))
  371. {
  372. return;
  373. }
  374. }
  375. catch (e)
  376. {
  377. return;
  378. }
  379.  
  380. //separate alternative domains with "|" char (first name is considered being main)
  381. var allContainerNames = [
  382. "adf.ly",
  383. "linkcrypt.ws",
  384. "linksafe.me",
  385. // "linksave.in",
  386. "linkto.net",
  387. "madlink.sk",
  388. "multiload.cz",
  389. "mirrorcreator.com",
  390. // "ncrypt.in",
  391. "redi.re",
  392. "relink.us",
  393. "safelinking.net",
  394. "theloo.katt.it",
  395. "bit.ly",
  396.  
  397. ];
  398.  
  399. //separate alternative domains with "|" char (first name is considered being main)
  400. var allObsoleteNames = [
  401. "4up.me",
  402. "anonfiles.com",
  403. "axifile.com",
  404. "creafile.net",
  405. "demo.ovh.eu",
  406. "filesin.com",
  407. "fileswap.com",
  408. "gulfup.com",
  409. "hexupload.com",
  410. "secureupload.eu",
  411. "hugefiles.net",
  412. "jumbofiles.com",
  413. "letitbit.net",
  414. "lolabits.es",
  415. "nowdownload.ch",
  416. "openfile.ru",
  417. "radicalshare.com",
  418. "remixshare.com",
  419. "storefiles.co",
  420. "toutbox.fr",
  421. "uploadbaz.com",
  422. "uploadingit.com",
  423. "verzend.be",
  424. "vidplay.net",
  425. "vidxden.com",
  426. "xfileload.com",
  427. "warped.co",
  428. "xkeepfile.com",
  429. "abelhas.pt",
  430. "uploadspace.pl",
  431. "allmyvideos.net",
  432. "uploads.xxx",
  433. "netkups.com",
  434. "nekaka.com",
  435. "vidspot.net",
  436. "myupload.dk",
  437. "muchshare.net",
  438. "loudupload.net",
  439. "idup.in",
  440. "hulkshare.com",
  441. "goldbytez.com",
  442. "filesmelt.com",
  443. "fileband.com",
  444. "uloz.cz",
  445. "secured.in",
  446. "rapidfilehost.com",
  447. "fileover.net",
  448. "fileinz.com",
  449. "linksave.in",
  450. "seenupload.com",
  451. "sangfile.com",
  452. "filepost.com|fp.io",
  453. "sharingmaster.com ",
  454. "24uploading.com",
  455. "storagon.com",
  456. "sanshare.com",
  457. "filestorm.to",
  458. "uploadnet.co",
  459. "180upload.com",
  460. "rapidsonic.com",
  461. "fileparadox.com",
  462. "4upfiles.com",
  463. "geupload.com",
  464. "lenfile.com",
  465. "fileparadox.in",
  466. "uploadhero.co",
  467. "uploadhero.com",
  468. "newfileland.com",
  469. "quickshare.cz",
  470. "elffiles.com",
  471. "netload.in",
  472. "netload.me",
  473. "movreel.com",
  474. "migahost.com",
  475. "krotix.net",
  476. "jumbofile.net",
  477. "edoc.com",
  478. "cramit.in|cramitin.net",
  479. "freakshare.com",
  480. "burnupload.com|burnupload.ihiphop.com",
  481. "freakshare.net",
  482. "daj.to",
  483. "bl.st",
  484. "2drive.net",
  485. "ryushare.com",
  486. "crisshare.com",
  487. "tufiles.ru",
  488. "uncapped-downloads.com",
  489. "sockshare.com",
  490. "ddlstorage.com",
  491. "dataport.cz",
  492. "dizzcloud.com",
  493. "sharebeast.com",
  494. "stahovadlo.cz",
  495. "shared.com",
  496. "storage.to",
  497. "putlocker.com",
  498. "lumfile.com",
  499. "lumfile.se",
  500. "lumfile.eu",
  501. "firedrive.com",
  502. "fileshare.in.ua",
  503. "filecore.co.nz",
  504. "filecore.co",
  505. "iskladka.cz",
  506. "file-rack.com",
  507. "fast-load.net",
  508. "subory.sk",
  509. "bigandfree.com",
  510. "fileop.com",
  511. "mujsoubor.cz",
  512. "sendfile.to",
  513. "superfastfile.com",
  514. "quickyshare.com",
  515. "duckload.com",
  516. "uploadstore.net",
  517. "meinupload.com",
  518. "dualshare.com",
  519. "2xupload.to|2xupload.de",
  520. "oxedion.com",
  521. "uploadline.com",
  522. "dll.bz",
  523. "movieshare.in",
  524. "milledrive.com",
  525. "quickupload.net",
  526. "safelink.in",
  527. "metadivx.com",
  528. "divxlink.com",
  529. "uploadrack.com",
  530. "teradepot.com",
  531. "dataup.to",
  532. "upit.to",
  533. "driveway.com",
  534. "eatlime.com",
  535. "a2zuploads.com",
  536. "friendlyfiles.net",
  537. "flyfile.us",
  538. "speedyshare.com",
  539. "uploadspace.eu",
  540. "keepfile.com",
  541. "piggyshare.com",
  542. "uplly.com",
  543. "filecrown.com",
  544. "6giga.com",
  545. "uploadjockey.com",
  546. "bluehost.to",
  547. "filegu.ru",
  548. "filebase.to",
  549. "up-file.com",
  550. "xvideos.com",
  551. "ufox.com",
  552. "filebling.com",
  553. "loaded.it",
  554. "uploadcell.com",
  555. "uploadshare.cz",
  556. "mangoshare.com",
  557. "filestab.com",
  558. "crazyupload.com",
  559. "gaiafile.com",
  560. "sharejunky.com",
  561. "fileho.com",
  562. "bigandfree.com",
  563. "bigfile.in",
  564. "bigshare.eu",
  565. "dahosting.org",
  566. "digisofts.net",
  567. "file4save.com",
  568. "filechip.com",
  569. "filescloud.com",
  570. "saveqube.com",
  571. "turboshare.de",
  572. "z-upload.com",
  573. "youshare.com",
  574. "jiffyupload.com",
  575. "gigeshare.com",
  576. "datenklo.net",
  577. "upload.dj",
  578. "loadfiles.in",
  579. "upit.to",
  580. "dsfileshare.com",
  581. "sharesimple.net",
  582. "4files.net",
  583. "wooupload.com",
  584. "odsiebie.com",
  585. "filenavi.com",
  586. "3oof.com",
  587. "meshwaar.com",
  588. "maxupload.com",
  589. "share.cx",
  590. "atserver.eu",
  591. "hotfiles.ws",
  592. "esnips.com",
  593. "tuxfile.com",
  594. "file2upload.net",
  595. "filebling.com",
  596. "turboshare.com",
  597. "rarhost.com",
  598. "isharehd.com",
  599. "i741.com",
  600. "dataup.de",
  601. "fofly.com",
  602. "shareonall.com",
  603. "sexuploader.com",
  604. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  605. "uploadhyper.com",
  606. "filespawn.com",
  607. "caizzii.com",
  608. "volnyweb.cz",
  609. "usershare.net",
  610. "filescash.net",
  611. "metahyper.com",
  612. "combozip.com",
  613. "x7.to",
  614. "uploadbox.com",
  615. "enterupload.com|flyupload.com",
  616. "filepoint.de",
  617. "mystream.to",
  618. "x-fs.com",
  619. "shareator.com",
  620. "srapid.eu",
  621. "sosame.cz",
  622. "filesdump.com",
  623. "2-klicks.de",
  624. "uploking.com",
  625. "silofiles.com",
  626. "upfile.in",
  627. "filehook.com",
  628. "uploadking.com",
  629. "uploadhere.com",
  630. "kewlshare.com",
  631. "rapidable.com",
  632. "uploadwaste.com",
  633. "filemup.com",
  634. "filesonic.com|sharingmatrix.com",
  635. "fileserve.com",
  636. "wupload.com",
  637. "skipfile.com",
  638. "smartuploader.com",
  639. "dualshare.com",
  640. "storeandserve.com",
  641. "mountfile.com",
  642. "transitfiles.com",
  643. "uploadstation.com",
  644. "filejungle.com",
  645. "shareshared.com",
  646. "quickyshare.com",
  647. "save.am",
  648. "petandrive.com",
  649. "file2box.com",
  650. "flyshare.cz",
  651. "yabadaba.ru",
  652. "cloudcache.cc",
  653. "yourfilehost.com",
  654. "jakfile.com",
  655. "kickload.com",
  656. "pyramidfiles.com",
  657. "refile.net",
  658. "zshare.net",
  659. "ddlani.me|ddlanime.com",
  660. "ftp2share.com",
  661. "fooget.com",
  662. "rapidhide.com",
  663. "gotupload.com",
  664. "mooload.com",
  665. "zupload.com",
  666. "mytempdir.com",
  667. "onionshare.com",
  668. "stahnu.to",
  669. "oron.com",
  670. "badongo.com",
  671. "filereactor.com",
  672. "filegaze.com",
  673. "4bytez.com",
  674. "1hostclick.com",
  675. "anonstream.com",
  676. "batshare.com",
  677. "bitroad.net",
  678. "brontofile.com",
  679. "cloudnxt.net",
  680. "cloudnator.com|shragle.com",
  681. "filesfrog.net",
  682. "coolshare.cz",
  683. "dotavi.com",
  684. "ezyfile.net",
  685. "file-bit.net",
  686. "filecosy.com",
  687. "fileduct.com|fileduct.net",
  688. "filefat.com",
  689. "filelaser.com",
  690. "filemashine.com",
  691. "fileserver.cc",
  692. "filetechnology.com",
  693. "fireuploads.net",
  694. "gigfiles.net",
  695. "holderfile.com",
  696. "ihostia.com",
  697. "k2files.com",
  698. "mojofile.com",
  699. "ovfile.com",
  700. "qshare.com",
  701. "shafiles.me",
  702. "sharefilehost.com",
  703. "shareupload.com",
  704. "stahuj.to",
  705. "ugotfile.com",
  706. "uploadboost.com",
  707. "fileom.com",
  708. "vidhog.com",
  709. "xfileshare.eu",
  710. "bzlink.us",
  711. "bulletupload.com",
  712. "bloggerarticles.com",
  713. "mojedata.sk",
  714. "sharpfile.com",
  715. "upgrand.com",
  716. "nasdilej.cz",
  717. "mediatack.cz",
  718. "share-it.to",
  719. "primeupload.com",
  720. "filebeer.info",
  721. "baberepublic",
  722. "xtu.me",
  723. "sharebase.de",
  724. "luckyshare.net",
  725. "filerobo.com",
  726. "filevelocity.com",
  727. "filezpro.com",
  728. "file4sharing.com",
  729. "cing.be",
  730. "ufile.eu",
  731. "pigsonic.com",
  732. "fileupped.com",
  733. "sharerun.com",
  734. "filesaur.com",
  735. "rapidslnare.com",
  736. "bestsharing.com",
  737. "savefiles.net",
  738. "file2share.biz",
  739. "filecache.de",
  740. "monsteruploads.eu",
  741. "b9bb.com",
  742. "aiotool.net",
  743. "jamber.info",
  744. "megaftp.com",
  745. "desiupload.net",
  746. "file27.com",
  747. "yastorage.com",
  748. "filehost.ws",
  749. "copyload.com",
  750. "venusfile.com",
  751. "aieshare.com",
  752. "terafile.co",
  753. "terafile.com",
  754. "fileza.net",
  755. "filerose.com",
  756. "squillion.com",
  757. "fileprohost.com",
  758. "bitbonus.com",
  759. "warserver.cz",
  760. "uload.to",
  761. "sharedbit.net",
  762. "megaload.it",
  763. "filewinds.com",
  764. "uploadcore.com",
  765. "syfiles.com",
  766. "eyesfile.com",
  767. "hotfile.com",
  768. "superupl.com",
  769. "oteupload.com",
  770. "henchfile.com",
  771. "filegag.com",
  772. "HenchFile.com",
  773. "filedefend.com",
  774. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  775. "megabitshare.com",
  776. "cloudzer.com",
  777. "asfile.com",
  778. "cloudzer.net",
  779. "clz.to",
  780. "extabit.com",
  781. "247upload.com",
  782. "2download.de",
  783. "4fastfile.com",
  784. "asixfiles.com",
  785. "berofile.com",
  786. "bigupload.com",
  787. "cepzo.com",
  788. "clouds.to",
  789. "cobrashare.sk",
  790. "coraldrive.net",
  791. "cyberlocker.ch",
  792. "czshare.com",
  793. "darkport.org",
  794. "dark-uploads.com",
  795. "davvas.com",
  796. "enigmashare.com",
  797. "erofly.cz",
  798. "fastsonic.net",
  799. "filebox.com",
  800. "filecity.net",
  801. "filedap.com",
  802. "filedino.com",
  803. "filedownloads.org",
  804. "filefolks.com",
  805. "fileking.co",
  806. "filemates.com",
  807. "files.to",
  808. "files2k.eu",
  809. "filesector.cc",
  810. "bitshare.com",
  811. "filesega.com",
  812. "filesend.net",
  813. "filestay.com",
  814. "filestrum.com",
  815. "fileuplo.de",
  816. "fileupup.com",
  817. "forunesia.com",
  818. "freeuploads.fr",
  819. "uploa.dk",
  820. "getthebit.com",
  821. "getzilla.net",
  822. "goldfile.eu",
  823. "good.com",
  824. "grupload.com",
  825. "hellfile.com",
  826. "hipfile.com",
  827. "hitfile.com",
  828. "hulkfile.eu|duckfile.net",
  829. "i-filez.com",
  830. "ifile.ws",
  831. "kupload.org",
  832. "packupload.com",
  833. "lemuploads.com",
  834. "limelinx.com",
  835. "maxshare.pl",
  836. "megarelease.org",
  837. "megashares.com",
  838. "megashare.com",
  839. "minus.com",
  840. "mlfat4arab.com",
  841. "multishare.cz",
  842. "nirafile.com",
  843. "ok2upload.com",
  844. "peejeshare.com",
  845. "premiuns.org",
  846. "przeklej.net",
  847. "qkup.net",
  848. "rapidupload.sk",
  849. "rockdizfile.com",
  850. "rocketfile.net",
  851. "share-now.net",
  852. "share76.com",
  853. "sharebees.com",
  854. "sharefiles.co",
  855. "slingfile.com",
  856. "sms4file.com",
  857. "space4file.com",
  858. "tigershare.net",
  859. "toucansharing.com",
  860. "ubuntuone.com",
  861. "unextfiles.com",
  862. "upaj.pl",
  863. "upfile.biz",
  864. "uploadbin.net",
  865. "uploadic.com",
  866. "uploadinc.com",
  867. "uploading4u.eu",
  868. "uploadjet.net",
  869. "uploadorb.com",
  870. "upthe.net",
  871. "uptorch.com",
  872. "vidbox.yt",
  873. "videozer.com",
  874. "vreer.com",
  875. "wallobit.com",
  876. "zooupload.com",
  877. "privatefiles.com",
  878. "xerver.co",
  879. "BillionUploads.com",
  880. "rapidshare.com",
  881. "rapidshare.ru",
  882. "4savefile.com",
  883. "bayfiles.com",
  884. "bayfiles.net",
  885. "dodane.pl",
  886. "dotsemper.com",
  887. "egofiles.com",
  888. "epicshare.net",
  889. "fiberupload.net",
  890. "filemonkey.in",
  891. "filemonster.net",
  892. "filepom.com",
  893. "filesbb.com",
  894. "filevice.com",
  895. "gigaup.fr",
  896. "isavelink.com",
  897. "loombo.com",
  898. "megafiles.se",
  899. "migupload.com",
  900. "mydisc.net",
  901. "nitrobits.com",
  902. "potload.com",
  903. "redload.net",
  904. "shareprofi.com",
  905. "sharesuper.info",
  906. "sinhro.net",
  907. "speedfile.cz",
  908. "speedshare.org",
  909. "storage.novoro.net",
  910. "swankshare.com",
  911. "swatupload.com",
  912. "upafile.com",
  913. "uploadmachine.com",
  914. "uploadsat.com",
  915. "upshared.com",
  916. "usefile.com",
  917. "yourfiles.to",
  918. "zomgupload.com",
  919. "ultramegabit.com",
  920. "uploadto.us",
  921. "inafile.com",
  922. "megairon.net",
  923.  
  924. ];
  925. ///////////////////////////////////////////////////////////////////////////////////////
  926. var firstRun = GM_getValue("First_run", true);
  927.  
  928. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  929. //////////////////////////////////////////////////////////////////////////////////////
  930. try
  931. {
  932. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  933. var last_known_version = GM_getValue("last_known_version", "");
  934. if (!last_known_version)
  935. {
  936. last_known_version = thisVersion;
  937. GM_setValue("last_known_version", last_known_version);
  938. }
  939. //var newVersion = !(thisVersion == last_known_version);
  940. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  941. GM_setValue("last_known_version", thisVersion);
  942. }
  943. catch (err)
  944. {
  945. var newVersion = false;
  946. }
  947.  
  948. var now = (new Date()).getTime();
  949. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  950. if (!last_custom_rules_nag)
  951. {
  952. last_custom_rules_nag = now;
  953. GM_setValue('last_custom_rules_nag', ''+now);
  954. }
  955.  
  956.  
  957. allHostNames.sort();
  958. allContainerNames.sort();
  959. allObsoleteNames.sort();
  960.  
  961. var RAND_STRING = "8QyvpOSsRG3QWq";
  962. var DEBUG_MODE = false;
  963.  
  964. var TOOLTIP_MAXWIDTH = 600; //in pixels
  965. var TOOLTIP_THUMBWIDTH = 200;
  966. var containers_processed = false;
  967.  
  968. //settings for keyboard functions start
  969. var CHECK_ALL_LINKS_KEY = "A";
  970. var CONFIGURATION_KEY = "C";
  971. var copy_to_dead_key = "D";
  972. var copy_to_live_key = "L";
  973. var toggle_autocheck_key = "W";
  974. var toggle_Enable_Anonymizer_key = "Z";
  975. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  976. var first_key_keycodename = 'CTRL';
  977. var second_key_keycode = '18';
  978. var second_key_keycodename = 'ALT';
  979. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  980. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  981. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  982. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  983. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  984. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  985. //settings for keyboard functions end
  986.  
  987. //global settings start
  988. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  989. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  990. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  991. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  992. var Show_progress_stats, Display_tooltip_info, Icon_set;
  993. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  994. var Progress_box_refresh_rate;
  995. var Obsolete_file_hosts;
  996. var Custom_rules, Custom_rules_text;
  997. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  998.  
  999. var messageBox = document.createElement('b'); // top-left message box
  1000.  
  1001. var cLinksTotal = 0;
  1002. var cLinksDead = 0;
  1003. var cLinksAlive = 0;
  1004. var cLinksUnava = 0;
  1005. var cLinksprem = 0;
  1006. var cLinksProcessed = 0;
  1007.  
  1008. var intervalId; //for updateProgress()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1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1018. 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=';
  1019. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAl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RNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1024. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1025.  
  1026. //global settings end
  1027. if (window.opera && !window.console)
  1028. {
  1029. window.console = {};
  1030.  
  1031. function fn()
  1032. {
  1033. opera.postError(arguments);
  1034. };
  1035. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1036. {
  1037. window.console[name] = fn;
  1038. });
  1039. }
  1040.  
  1041. //displays colored text in message box
  1042. function sendMessage(text, color)
  1043. {
  1044. var msgDiv = document.createElement('div');
  1045. msgDiv.style.color = color;
  1046. msgDiv.innerHTML = text;
  1047. messageBox.appendChild(msgDiv);
  1048. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1049. }
  1050.  
  1051. function linkify(totalourls)
  1052. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1053. var ikkeTilladteTags;
  1054. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1055. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1056. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1057. allLinksRegex = new RegExp(allLinksRegex, "g");
  1058. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1059.  
  1060. if (Do_not_linkify_DL_links)
  1061. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1062. else
  1063. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1064.  
  1065. var regex = new RegExp(regexy);
  1066. var textNode, muligtLink;
  1067.  
  1068. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1069. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1070.  
  1071. var i = textNodes.snapshotLength;
  1072. while (i--)
  1073. {
  1074. textNode = textNodes.snapshotItem(i);
  1075.  
  1076. muligtLink = textNode.nodeValue; //all links on page
  1077.  
  1078. var myArray = null;
  1079. var span = null;
  1080. var lastLastIndex = 0;
  1081. allLinksRegex.lastIndex = 0;
  1082. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1083. {
  1084. if (textNode.parentNode.className == "adead_link") continue;
  1085. var censoredLink = muligtLink;
  1086. var span = document.createElement('span');
  1087. span.className = "adead_link";
  1088. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1089. $(span).html(censoredLink);
  1090. span.addEventListener("mouseover", displayTooltipError, false);
  1091. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1092. textNode.parentNode.replaceChild(span, textNode);
  1093. continue;
  1094. alert(censoredLink);
  1095. }
  1096. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1097. {
  1098. if (!regex.test(myArray[0])) //this link is not recognized
  1099. {
  1100.  
  1101. continue;
  1102. }
  1103. if (!span)
  1104. span = document.createElement('span');
  1105.  
  1106. var link = myArray[0];
  1107. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1108.  
  1109. var $a = $("<a>" + link + "</a>")
  1110. if (!link.match(/https?:\/\//))
  1111. {
  1112. link = 'http://' + link;
  1113. }
  1114.  
  1115. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1116. .addClass("processing_link")
  1117. .appendTo(span);
  1118. lastLastIndex = allLinksRegex.lastIndex;
  1119. }
  1120. if (span)
  1121. {
  1122. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1123. textNode.parentNode.replaceChild(span, textNode);
  1124. }
  1125. }
  1126. }
  1127.  
  1128. function add_WARLC_style()
  1129. {
  1130. if (!(document.getElementsByTagName('WARLC')[0]))
  1131. {
  1132. var meta_not_to_add_more_style = document.createElement("WARLC");
  1133. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1134. meta_not_to_add_more_style.setAttribute('name', 'description');
  1135. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1136. alive_link_png = "";
  1137. adead_link_png = "";
  1138. unava_link_png = "";
  1139. prem_link_png = "";
  1140. switch(Icon_set)
  1141. {
  1142. //no icons
  1143. case 0: break;
  1144. // cat paws
  1145. case 1: alive_link_png = PAW_ICON_GREEN;
  1146. adead_link_png = PAW_ICON_RED;
  1147. unava_link_png = PAW_ICON_YELLOW;
  1148. prem_link_png = PAW_ICON_PINK;
  1149. break;
  1150. // classic RSLC look
  1151. case 2: alive_link_png = RSLC_ICON_GREEN;
  1152. adead_link_png = RSLC_ICON_RED;
  1153. unava_link_png = RSLC_ICON_YELLOW;
  1154. prem_link_png = RSLC_ICON_PINK;
  1155. break;
  1156. // New Icons
  1157. case 3: alive_link_png = NEW_ICON_GREEN;
  1158. adead_link_png = NEW_ICON_RED;
  1159. unava_link_png = NEW_ICON_YELLOW;
  1160. prem_link_png = NEW_ICON_PINK;
  1161. break;
  1162. // cat paws
  1163. default:alive_link_png = PAW_ICON_GREEN;
  1164. adead_link_png = PAW_ICON_RED;
  1165. unava_link_png = PAW_ICON_YELLOW;
  1166. prem_link_png = PAW_ICON_PINK;
  1167. break;
  1168. }
  1169. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1170. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1171.  
  1172. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1173.  
  1174. if (Color_DL_links)
  1175. {
  1176. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1177. live_color_css = 'color:' + Live_links_color + ' !important;';
  1178. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1179. container_color_css = 'color:' + Container_links_color + ' !important;';
  1180. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1181. }
  1182. else
  1183. {
  1184. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1185. }
  1186.  
  1187. if (Show_black_background_in_DL_links)
  1188. {
  1189. black_background_css = 'background-color: black !important;';
  1190. }
  1191. else
  1192. {
  1193. black_background_css = '';
  1194. }
  1195.  
  1196. if (Show_line_through_in_dead_links)
  1197. {
  1198. line_through_css = 'text-decoration: line-through !important;';
  1199. }
  1200. else
  1201. {
  1202. line_through_css = '';
  1203. }
  1204.  
  1205. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1206. 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 + "}");
  1207. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1208. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1209. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1210. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1211. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1212. }
  1213. }
  1214.  
  1215. var warlcTooltip = null;
  1216. var mouseoverLink = null; //link href with mouse cursor over it
  1217.  
  1218. var lastX = 0;
  1219. var lastY = 0;
  1220.  
  1221. $(document).ready(initTooltip);
  1222. //inits tooltip
  1223. function initTooltip()
  1224. { warlcTooltip = document.createElement("div");
  1225. 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;");
  1226. warlcTooltip.style.visibility = "hidden";
  1227. document.body.appendChild(warlcTooltip);
  1228. }
  1229.  
  1230. //"mousemove" event handler for all links
  1231. function moveTooltip(event)
  1232. {
  1233. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1234. { //no need to reflow if the cursor moved just a little
  1235. return;
  1236. }
  1237. else
  1238. {
  1239. lastX = event.clientX;
  1240. lastY = event.clientY;
  1241. }
  1242.  
  1243. posX = event.clientX + window.pageXOffset + 10;
  1244. posY = event.clientY + window.pageYOffset;
  1245. var ttHeight = warlcTooltip.offsetHeight;
  1246. var ttFreeSpace = window.innerHeight - event.clientY;
  1247. if (ttHeight > ttFreeSpace)
  1248. { //prevents tooltip from getting out of the window
  1249. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1250. }
  1251. else
  1252. {
  1253. posY += 7;
  1254. }
  1255. warlcTooltip.style.top = posY + "px";
  1256. warlcTooltip.style.left = posX + "px";
  1257. }
  1258.  
  1259. //"mouseout" event handler for all links
  1260. function hideTooltip(){
  1261. warlcTooltip.style.visibility = "hidden";
  1262. mouseoverLink = null;
  1263. }
  1264.  
  1265.  
  1266. //"mouseover" event handler for dead links
  1267. //displays tooltip error message on dead links
  1268. function displayTooltipError()
  1269. {
  1270. mouseoverLink = this.href;
  1271. this.addEventListener("mouseout", hideTooltip);
  1272. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1273. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1274. warlcTooltip.style.minWidth = 0;
  1275. warlcTooltip.style.visibility = "visible";
  1276. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1277. {
  1278. warlcTooltip.innerHTML = this.warlc_error;
  1279. }
  1280. else
  1281. {
  1282. loadErrorInfo(this);
  1283. }
  1284. function loadErrorInfo(link)
  1285. {
  1286. var href = link.href;
  1287. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1288. GM_xmlhttpRequest({
  1289. method: 'GET',
  1290. url: href.replace(Ref_anonymize_service, ""),
  1291. headers: {
  1292. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1293. 'Accept': 'text/xml',
  1294. 'Referer': ""
  1295. },
  1296. onload: function(result) {
  1297. var res = result.responseText;
  1298. //TODO: errorRegexs -
  1299. var errorRegexs = [ //generic error messages follow
  1300. /(empty directory)/i,
  1301. /(soubor nebyl nalezen)/i,
  1302. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1303. //server specific error messages follow
  1304. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1305. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1306. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1307. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1308. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1309. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1310. /class="red">(.+?)<(?:span|br)>/, //czshare
  1311. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1312. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1313. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1314. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1315. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1316. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1317. /(File has been removed due to Copyright Claim)/, //filerio
  1318. ];
  1319. var errorIdx = errorRegexs.length;
  1320. var error = "Cause of error: <b>unknown</b>";
  1321. var errorCandidate = "";
  1322. while(errorIdx--)
  1323. {
  1324. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1325. if (errorCandidate != null)
  1326. {
  1327. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1328. break;
  1329. }
  1330. }
  1331. //link attributes
  1332. link.warlc_error = error;
  1333. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1334. {
  1335. warlcTooltip.innerHTML = error;
  1336. }
  1337. }
  1338. });
  1339. }
  1340. }
  1341.  
  1342. //"mouseover" event handler for alive links
  1343. //displays tooltip info (file size, file name,...) on alive links
  1344. function displayTooltipInfo()
  1345. {
  1346. mouseoverLink = this.href;
  1347. //exclude direct download filehostings
  1348. 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)/))
  1349. {
  1350. return;
  1351. }
  1352. this.addEventListener("mouseout", hideTooltip);
  1353. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1354. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1355. warlcTooltip.style.minWidth = 0;
  1356. warlcTooltip.style.visibility = "visible";
  1357. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1358. {
  1359. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1360. }
  1361. else
  1362. {
  1363. loadInfo(this);
  1364. }
  1365. function loadInfo(link)
  1366. {
  1367. var href = link.href;
  1368. GM_xmlhttpRequest({
  1369. method: 'GET',
  1370. url: href.replace(Ref_anonymize_service, ""),
  1371. headers: {
  1372. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1373. 'Accept': 'text/xml',
  1374. 'Referer': ""
  1375. },
  1376. onload: function(result) {
  1377. var res = result.responseText;
  1378. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1379. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1380. /fl" title="(.+?)">/, //edisk
  1381. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1382. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1383. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1384. /title="download (.+?)">/, //sendspace
  1385. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1386. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1387. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1388. /d0FileName = "(.+?)";/, //letitbit
  1389. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1390. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1391. /fname" value="(.+?)">/, //syfiles, grupload,
  1392. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1393. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1394. /Complete name : (.+?)<br \/>/, //bezvadata
  1395. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1396. ];
  1397. var nameIdx = nameRegexs.length;
  1398. // [sizeRegexs]
  1399. // / \ \?
  1400. // prefix (size) postfix
  1401. // / \
  1402. // val quant
  1403. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1404. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1405. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1406. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1407. var postSizeRegex = '(?:\\))?';
  1408. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1409. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1410. ];
  1411. var sizeIdx = sizeRegexs.length;
  1412. //
  1413. //
  1414. var tooltip = "File Name: <b>";
  1415. var fileName = "unknown";
  1416. var nameCandidate = "";
  1417. while(nameIdx--)
  1418. {
  1419. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1420. if (nameCandidate != null)
  1421. {
  1422. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1423. break;
  1424. }
  1425. }
  1426. tooltip += fileName + "</b><br>File Size: <b>";
  1427. var fileSize = "unknown";
  1428. var sizeCandidate = "";
  1429. while(sizeIdx--)
  1430. {
  1431. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1432. if (sizeCandidate != null)
  1433. {
  1434. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1435. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1436. {
  1437. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1438. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1439. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1440. }
  1441. break;
  1442. }
  1443. }
  1444. tooltip += fileSize + "</b>";
  1445. // PROTOTYPE
  1446. // video thumbnails
  1447. if (href.match('hellshare'))
  1448. {
  1449. var thumbs;
  1450. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1451. if (thumbs)
  1452. {
  1453. tooltip += '<br>';
  1454. var j = Math.min(thumbs.length, 9);
  1455. for (var i = 0; i < j; i++)
  1456. {
  1457. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1458. }
  1459. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1460. }
  1461. }
  1462. if (href.match('czshare'))
  1463. {
  1464. var thumbs;
  1465. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1466. if (thumbs)
  1467. {
  1468. var thumbsServer = thumbs[1];
  1469. var thumbsId = thumbs[2];
  1470. tooltip += '<br>';
  1471. for (var i = 1; i < 9; i++)
  1472. {
  1473. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1474. }
  1475. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1476. }
  1477. }
  1478. if (href.match('bezvadata'))
  1479. {
  1480. var thumbs;
  1481. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1482. if (thumbs)
  1483. {
  1484. tooltip += '<br>';
  1485. var j = Math.min(thumbs.length, 9);
  1486. for (var i = 0; i < j; i++)
  1487. {
  1488. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1489. }
  1490. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1491. }
  1492. }
  1493. link.warlc_tooltipcache = tooltip;
  1494. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1495. {
  1496. warlcTooltip.innerHTML = tooltip;
  1497. }
  1498. }
  1499. });
  1500. }
  1501. }
  1502.  
  1503. function setVariables()
  1504. {
  1505. if (firstRun)
  1506. {
  1507. GM_log('First run, applying default settings...');
  1508. GM_setValue("Icon_set",1);
  1509. GM_setValue("Display_tooltip_info",true);
  1510. GM_setValue("Show_black_background_in_DL_links",false);
  1511. GM_setValue("Show_line_through_in_dead_links",false);
  1512. GM_setValue("Display_full_links_in_link_containers",false);
  1513. GM_setValue("Allow_spaces_in_DL_links",false);
  1514. GM_setValue("Autocheck",true);
  1515. GM_setValue("Enable_Anonymizer",false);
  1516. GM_setValue("Do_not_linkify_DL_links",false);
  1517. GM_setValue("Show_progress_stats",true);
  1518. GM_setValue("Keyboard_functions",true);
  1519. GM_setValue("Obsolete_file_hosts",false);
  1520. GM_setValue("Color_DL_links",true);
  1521. GM_setValue("Live_links_color","Green");
  1522. GM_setValue("Dead_links_color","#FF3300");
  1523. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1524. GM_setValue("Container_links_color","DarkKhaki");
  1525. GM_setValue("Premium_links_color","DeepPink");
  1526. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1527. GM_setValue("Custom_rules",false);
  1528. GM_setValue("Custom_rules_text","");
  1529. GM_setValue("Processbox_Pos_Y", 0);
  1530. GM_setValue("Processbox_Pos_X", 88);
  1531. GM_setValue("Progressbox_Scaling", 100);
  1532. GM_setValue("First_run", false);
  1533. }
  1534. //hidden settings
  1535. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1536. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1537. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1538. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1539. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1540. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1541. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1542. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1543. //hidden settings end
  1544.  
  1545. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1546. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1547. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1548. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1549. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1550. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1551. Autocheck = GM_getValue("Autocheck", true);
  1552. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1553. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1554. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1555. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1556. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1557. Color_DL_links = GM_getValue("Color_DL_links", true);
  1558. Live_links_color = GM_getValue("Live_links_color", "Green");
  1559. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1560. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1561. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1562. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1563. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1564. Custom_rules = GM_getValue("Custom_rules", false);
  1565. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1566. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1567. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1568. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1569. }
  1570.  
  1571.  
  1572. // Delinkifies the links
  1573. // params:
  1574. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1575. // e.g. 'uloz.to/xs68skxl8')
  1576. function delinkifySnapshot(snapshot)
  1577. {
  1578. var n = snapshot.snapshotLength;
  1579.  
  1580. while (n--)
  1581. {
  1582. thisLink = snapshot.snapshotItem(n);
  1583.  
  1584. var spanElm = document.createElement("span");
  1585. spanElm.className = thisLink.className;
  1586. spanElm.innerHTML = thisLink.innerHTML;
  1587.  
  1588. if (Display_tooltip_info)
  1589. {
  1590. spanElm.href = thisLink.href;
  1591. switch (thisLink.className){
  1592. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1593. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1594. case "unava_link": //reserved
  1595. default:
  1596. }
  1597. }
  1598. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1599. }
  1600. }
  1601.  
  1602. function processContainers()
  1603. {
  1604. var redirectorTypes = { "HTTP_302": 0,
  1605. "INNER_LINK": 1,
  1606. "THELOO_KATT_IT": 2,
  1607. "CING_BE": 3,
  1608. "ADF_LY": 4};
  1609. var cMultiloadTotal = 0;
  1610. var cMultiloadProcessed = 0;
  1611.  
  1612. var cMirrorcreatorComTotal = 0;
  1613. var cMirrorcreatorComProcessed = 0;
  1614.  
  1615. var hostRestrictionRegex = "";
  1616. var multiloadComRestriction = "";
  1617. var multiloadComRestrictionRegex;
  1618.  
  1619. //
  1620. //HANDLING REDIRECTORS START
  1621. //
  1622.  
  1623. var redirectors = new Array();
  1624. initRedirectors();
  1625.  
  1626. var redirectorsCount = redirectors.length;
  1627.  
  1628. if (redirectorsCount > 0)
  1629. {
  1630. var allRedirectorsRegex = "";
  1631.  
  1632. //linkify redirector links
  1633. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1634. {
  1635. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1636. }
  1637. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1638. linkify(allRedirectorsRegex);
  1639. //
  1640. //process redirector links
  1641. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1642. {
  1643. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1644. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1645.  
  1646. cLinksTotal += redirectors[redirIdx].cTotal;
  1647. var linkIdx = redirectors[redirIdx].cTotal;
  1648.  
  1649. while(linkIdx--)
  1650. {
  1651. switch(redirectors[redirIdx].type)
  1652. {
  1653. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1654. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1655. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1656. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1657. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1658. default:
  1659. }
  1660. }
  1661. }
  1662. //
  1663. }
  1664.  
  1665. //HTTP_302
  1666. function processRedirectorLink(link, redirectorId)
  1667. {
  1668. link.className = 'container_link';
  1669.  
  1670. GM_xmlhttpRequest({
  1671. method: 'HEAD',
  1672. url: link.href,
  1673. headers: {
  1674. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1675. 'Accept': 'text/xml',
  1676. 'Referer': ""
  1677. },
  1678. onload: function(result) {
  1679. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1680. {
  1681. processRedirectorLink(link, redirectorId);
  1682. }
  1683. else
  1684. {
  1685. redirectors[redirectorId].cProcessed++;
  1686. link.href = result.finalUrl;
  1687. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1688. checkLinks('container_link');
  1689. }
  1690. },
  1691. onerror: function(result) { //probably caused by unresponsive filehosting
  1692. redirectors[redirectorId].cProcessed++;
  1693. link.className = 'unava_link';
  1694. cLinksProcessed++;
  1695. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1696. checkLinks('container_link');
  1697. }
  1698. });
  1699. }
  1700. //INNER_LINK
  1701. function processRedirectorLinkEx(link, redirectorId)
  1702. {
  1703. link.className = 'container_link';
  1704. GM_xmlhttpRequest({
  1705. method: 'GET',
  1706. url: link.href,
  1707. headers: {
  1708. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1709. 'Accept': 'text/xml',
  1710. 'Referer': ""
  1711. },
  1712. onload: function(result) {
  1713. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1714. redirectors[redirectorId].cProcessed++;
  1715. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1716. checkLinks('container_link');
  1717. }
  1718. });
  1719. }
  1720. //theloo.katt.it (wrapped safelinking.net)
  1721. function processThelooKattItLink(link, redirectorId)
  1722. {
  1723. link.className = 'container_link';
  1724. GM_xmlhttpRequest({
  1725. method: 'GET',
  1726. url: link.href,
  1727. headers: {
  1728. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1729. 'Accept': 'text/xml',
  1730. 'Referer': ""
  1731. },
  1732. onload: function(result) {
  1733. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1734. redirectors[redirectorId].cProcessed++;
  1735. //the inner links are safelinking.net links, so lets proceed with it
  1736. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1737. {
  1738. processRedirectorLink(link, 0);
  1739. }
  1740. }
  1741. });
  1742. }
  1743. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1744. function processAdfLyLink(link, redirectorId)
  1745. {
  1746. link.className = 'container_link';
  1747. GM_xmlhttpRequest({
  1748. method: 'GET',
  1749. url: link.href,
  1750. headers: {
  1751. 'User-agent': 'Mozilla/4.0',
  1752. 'Accept': 'text/xml',
  1753. 'Referer': ""
  1754. },
  1755. onload: function(result) {
  1756. if (result.finalUrl.match('/locked/'))
  1757. {
  1758. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1759. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1760. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1761. }
  1762. else
  1763. {
  1764. // GM_log('Processing... ' + link.href);
  1765. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1766. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1767. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1768. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1769. //confirm advert
  1770. GM_xmlhttpRequest(
  1771. {
  1772. method: 'POST',
  1773. url: 'http://adf.ly/l.php',
  1774. headers: {
  1775. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1776. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1777. 'Referer': link.href
  1778. },
  1779. data: users + '&lt=' + logToken,
  1780. onload: function(result) {
  1781. //retrieve final url from .../go/... link
  1782. GM_xmlhttpRequest({
  1783. method: 'GET',
  1784. url: directLink,
  1785. headers: {
  1786. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1787. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1788. 'Referer': link.href
  1789. },
  1790. onload: function(result) {
  1791. link.href = result.finalUrl;
  1792. redirectors[redirectorId].cProcessed++;
  1793. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1794. checkLinks('container_link');
  1795. }
  1796. });
  1797. }
  1798. });
  1799. }
  1800. }
  1801. });
  1802. function proceedOK()
  1803. {
  1804. }
  1805. }
  1806. //MULTILOAD.CZ START
  1807. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1808. {
  1809. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1810. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1811.  
  1812. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1813.  
  1814. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1815. hostRestrictionRegex += 'hellshare|';
  1816. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1817. hostRestrictionRegex += 'downloadhellshare|';
  1818. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1819. hostRestrictionRegex += 'share-rapid\\.com|';
  1820. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1821. hostRestrictionRegex += 'quickshare\\.cz|';
  1822. if (GM_getValue("Check_czshare_dot_com_links", false))
  1823. hostRestrictionRegex += 'czshare\\.com|';
  1824. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1825. hostRestrictionRegex += 'hellspy|';
  1826. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1827. hostRestrictionRegex += 'multishare\\.cz|';
  1828.  
  1829. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1830.  
  1831. linkify(mlRegex);
  1832.  
  1833. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1834. var mlCount = mlSnapshot.snapshotLength;
  1835.  
  1836. if (mlCount > 0)
  1837. {
  1838. cMultiloadTotal += mlCount;
  1839.  
  1840. mlIdx = mlCount - 1;
  1841. do
  1842. {
  1843. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1844. }
  1845. while(mlIdx--)
  1846. }
  1847. }
  1848. //MULTILOAD.CZ END
  1849.  
  1850.  
  1851.  
  1852. function processMultiloadLink(mlLink)
  1853. {
  1854. GM_xmlhttpRequest({
  1855. method: 'GET',
  1856. url: mlLink.href,
  1857. headers: {
  1858. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1859. 'Accept': 'text/xml',
  1860. 'Referer': ""
  1861. },
  1862. onload: function(result) {
  1863. var res = result.responseText;
  1864.  
  1865. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1866. 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;
  1867. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1868. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1869.  
  1870. var blocks; // blocks of links
  1871. var blockIdx;
  1872.  
  1873. mlLink.className = '';
  1874.  
  1875. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1876. {
  1877. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1878. return;
  1879. }
  1880.  
  1881. blocks = res.match(innerBlockRegex);
  1882.  
  1883. if (blocks == null) //no links found, cancel further processing
  1884. {
  1885. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1886. cMultiloadProcessed++;
  1887. if (cMultiloadTotal <= cMultiloadProcessed)
  1888. {
  1889. startBulkCheck('container_link');
  1890. start('container_link');
  1891. }
  1892. return;
  1893. }
  1894.  
  1895. blockIdx = blocks.length;
  1896.  
  1897. if (Display_full_links_in_link_containers)
  1898. {
  1899. var ulElm = document.createElement('ul');
  1900. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1901.  
  1902. while(blockIdx--)
  1903. {
  1904. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1905. {
  1906. continue;
  1907. }
  1908.  
  1909. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1910.  
  1911. var linkIdx = innerLinks.length;
  1912. while (linkIdx--)
  1913. {
  1914. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1915.  
  1916. var liElm = document.createElement('li');
  1917.  
  1918. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1919. {
  1920. liElm.appendChild(document.createTextNode(innerLink));
  1921. }
  1922. else
  1923. {
  1924. var aElm = document.createElement('a');
  1925. aElm.innerHTML = innerLink;
  1926. aElm.href = innerLink;
  1927. aElm.className = 'container_link';
  1928.  
  1929. liElm.appendChild(aElm);
  1930. }
  1931.  
  1932. ulElm.appendChild(liElm);
  1933. cLinksTotal++;
  1934. }
  1935. }
  1936.  
  1937. mlLink.parentNode.appendChild(ulElm);
  1938. }
  1939. else //compact view
  1940. {
  1941. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1942.  
  1943. while(blockIdx--)
  1944. {
  1945. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1946. {
  1947. continue;
  1948. }
  1949.  
  1950. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1951.  
  1952. var linkIdx = innerLinks.length;
  1953. while (linkIdx--)
  1954. {
  1955. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1956.  
  1957. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1958. {
  1959. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1960. }
  1961. else
  1962. {
  1963. var aElm = document.createElement('a');
  1964.  
  1965. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1966.  
  1967. //abbreviate host name
  1968. switch(hostName + ""){
  1969.  
  1970. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1971. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1972. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1973. case 'multishare': aElm.innerHTML = 'MS'; break;
  1974. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1975. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1976. case 'czshare': aElm.innerHTML = 'CS'; break;
  1977. default: aElm.innerHTML = 'xx';
  1978.  
  1979. }
  1980.  
  1981. aElm.href = innerLink;
  1982. aElm.className = 'container_link';
  1983.  
  1984. mlLink.parentNode.appendChild(aElm);
  1985. cLinksTotal++;
  1986. }
  1987. }
  1988.  
  1989. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1990.  
  1991. }
  1992. }
  1993.  
  1994. cMultiloadProcessed++;
  1995. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1996. {
  1997. if (Do_not_linkify_DL_links)
  1998. {
  1999. delinkifySnapshot(mlSnapshot);
  2000. }
  2001. startBulkCheck('container_link');
  2002. start('container_link');
  2003. }
  2004. }
  2005. });
  2006. }
  2007.  
  2008.  
  2009. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2010. {
  2011. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2012. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2013. var mcShortHostNames =
  2014. '?? 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';
  2015. // 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
  2016. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2017. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2018. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2019. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2020.  
  2021. linkify(mcRegex);
  2022.  
  2023. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2024. var mcCount = mcSnapshot.snapshotLength;
  2025.  
  2026. cMirrorcreatorComTotal = mcCount;
  2027.  
  2028. if (mcCount > 0)
  2029. {
  2030. mcShortHostNames = mcShortHostNames.split(' ');
  2031. mcIdx = mcCount;
  2032. while(mcIdx--)
  2033. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2034. }
  2035.  
  2036. }
  2037. //MIRRORCREATOR.CZ END
  2038.  
  2039.  
  2040. //mirrorcreator.com checking works like this:
  2041. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2042. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2043. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2044. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2045. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2046. function processMirrorcreatorLink(mcLink)
  2047. {
  2048. var mcURL = mcLink.href.match(mcRegex);
  2049. if(!mcURL || !mcURL[1]) return;
  2050. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2051. GM_xmlhttpRequest({
  2052. method: 'GET',
  2053. url: mcURL,
  2054. headers: {
  2055. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2056. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2057. 'Referer': ""
  2058. },
  2059. onload: function(mcLinkResult) {
  2060. var mcLinkRes = mcLinkResult.responseText;
  2061.  
  2062. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2063. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2064.  
  2065. var mcRedirectors;
  2066. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2067. var m = mcLinkRes.match(mcLinkBlockRegex);
  2068. if (m)
  2069. mcHostsFound = m.length;
  2070. else
  2071. { //no files inside container
  2072. processMirrorcreatorFoundHosts(mcLink, []);
  2073. return;
  2074. }
  2075.  
  2076. var mcRedirectorURL, idx, timedOut = false;
  2077.  
  2078. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2079. GM_xmlhttpRequest({
  2080. method: 'GET',
  2081. url: mcRedirectorURL,
  2082. headers: {
  2083. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2084. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2085. 'Referer': ""
  2086. },
  2087. onload: function(mcHostResult) {
  2088. if (timedOut) return; //too late, the list is already displayed
  2089. var mcHostRes = mcHostResult.responseText;
  2090. var mcHost = mcHostRes.match(mcHostRegex);
  2091. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2092. if (mcHost && idx!=-1)
  2093. {
  2094. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2095. mcHostsRetrieved++;
  2096. mcHostsToProcess++;
  2097. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2098. {
  2099. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2100. mcHostsToProcess = 0;
  2101. }
  2102. }
  2103. } //end of onload: function
  2104. }); //end of GM_xmlhttpRequest call
  2105. };//end of var gmxhrFunc
  2106.  
  2107. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2108. { //load individual redirector pages
  2109. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2110. mcHostURLs.push(mcRedirectorURL);
  2111. mcRedirectorIDs.push(mcRedirectors[2]);
  2112. gmxhrFunc(mcRedirectorURL);
  2113. } //end of while block
  2114.  
  2115. setTimeout(function(){ //in case the last page fails to load and call the function
  2116. timedOut = true;
  2117. if (mcHostsToProcess)
  2118. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2119. }, 60000);
  2120.  
  2121. } //end of onload function
  2122. }); //end of GM_xmlhttpRequest call
  2123. } //end of function processMirrorcreatorLink
  2124.  
  2125.  
  2126. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2127. {
  2128. var aEl, liEl, docFrag;
  2129. var hostName, mcRedirectorID, trimFilename = false;
  2130. var i = mcHostURLs.length;
  2131. if (i == 0)
  2132. {
  2133. trimFilename = true;
  2134. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2135. }
  2136. else
  2137. {
  2138. if (Display_full_links_in_link_containers)
  2139. { //full view
  2140. var wrapperEl = document.createElement('span');
  2141. wrapperEl.style.display = 'block';
  2142. var ulistEl = document.createElement('ul');
  2143. ulistEl.className = 'container_list';
  2144. while (i--)
  2145. {
  2146. liEl = document.createElement('li');
  2147. aEl = document.createElement('a');
  2148. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2149. aEl.href = mcHostURLs[i];
  2150. aEl.className = 'container_link';
  2151. liEl.appendChild(aEl);
  2152. ulistEl.appendChild(liEl);
  2153. }
  2154. wrapperEl.appendChild(ulistEl);
  2155. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2156. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2157. }
  2158. else
  2159. { //compact view
  2160. trimFilename = true;
  2161. docFrag = document.createDocumentFragment();
  2162. docFrag.appendChild(document.createTextNode(' |'));
  2163. while (i--)
  2164. {
  2165. mcRedirectorID = mcRedirectorIDs[i];
  2166. hostName = mcHostURLs[i];
  2167. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2168. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2169. else
  2170. hostName = mcShortHostNames[mcRedirectorID];
  2171. aEl = document.createElement('a');
  2172. aEl.href = mcHostURLs[i];
  2173. aEl.className = 'container_link';
  2174. aEl.appendChild(document.createTextNode(hostName));
  2175. docFrag.appendChild(aEl);
  2176. docFrag.appendChild(document.createTextNode('|'));
  2177. }
  2178. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2179. } //end of else block
  2180. } //end of else block
  2181. mcLink.className = '';
  2182. if (trimFilename)
  2183. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2184. cMirrorcreatorComProcessed++;
  2185. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2186. {
  2187. if (Do_not_linkify_DL_links)
  2188. delinkifySnapshot(mcSnapshot);
  2189. startBulkCheck('container_link');
  2190. start('container_link');
  2191. }
  2192. } //end of function processMirrorcreatorFoundHosts
  2193.  
  2194. containers_processed = true;
  2195.  
  2196.  
  2197. function initRedirectors()
  2198. {
  2199. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2200. {
  2201. var redirector = new Object();
  2202. redirector.linkRegex = linkRegex;
  2203. redirector.xpath = xpathEx; //xpath expression
  2204. redirector.cProcessed = 0; //processed links count
  2205. redirector.cTotal = 0; //total links count
  2206. redirector.type = redirType; //redirectorTypes enum
  2207. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2208. redirectors.push(redirector);
  2209. }
  2210. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2211. {
  2212. addRedirector(
  2213. 'safelinking\\.net\/d\/\\w+',
  2214. "//a[contains(@href,'safelinking.net/d/')]",
  2215. redirectorTypes.HTTP_302,
  2216. null);
  2217. }
  2218. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2219. {
  2220. addRedirector(
  2221. 'linksafe\\.me\/d\/\\w+',
  2222. "//a[contains(@href,'linksafe.me/d/')]",
  2223. redirectorTypes.HTTP_302,
  2224. null);
  2225. }
  2226. if (GM_getValue("Check_linkto_dot_net_links", false))
  2227. {
  2228. addRedirector(
  2229. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2230. "//a[contains(@href,'linkto.net/?')]",
  2231. redirectorTypes.INNER_LINK,
  2232. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2233. }
  2234. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2235. {
  2236. addRedirector(
  2237. '(?:the)?loo\\.katt\\.it\/\\w+',
  2238. "//a[contains(@href,'loo.katt.it/')]",
  2239. redirectorTypes.THELOO_KATT_IT,
  2240. /Proceed to URL - <a href="(.+?)">/);
  2241. }
  2242. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2243. {
  2244. addRedirector(
  2245. 'madlink\\.sk\/\\w+',
  2246. "//a[contains(@href,'madlink.sk/')]",
  2247. redirectorTypes.INNER_LINK,
  2248. /name="url" value="(.+?)\s*"\/>/);
  2249. }
  2250. if (GM_getValue("Check_adf_dot_ly_links", false))
  2251. {
  2252. addRedirector(
  2253. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2254. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2255. redirectorTypes.ADF_LY,
  2256. null);
  2257. }
  2258. if (GM_getValue("Check_redi_dot_re_links", false))
  2259. {
  2260. addRedirector(
  2261. 'redi\\.re\/\\w+',
  2262. "//a[contains(@href,'redi.re/')]",
  2263. redirectorTypes.HTTP_302,
  2264. null);
  2265. }
  2266. if (GM_getValue("Check_bit_dot_ly_links", false))
  2267. {
  2268. addRedirector(
  2269. 'bit\\.ly\/\\w+',
  2270. "//a[contains(@href,'bit.ly/')]",
  2271. redirectorTypes.HTTP_302,
  2272. null);
  2273. }
  2274. }
  2275.  
  2276. }
  2277.  
  2278. var bulkHosts = new Array();
  2279. var bulkHostNames = new Array();
  2280. function initBulkCheck()
  2281. {
  2282. /////////////////////////////
  2283. // Inits filehost object
  2284. /////////////////////////////
  2285. // params :
  2286. // hostName -- [string] host name (multiple domains separated with coma)
  2287. // linkRegex -- [string] link regex
  2288. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2289. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2290. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2291. // corrReplWhat -- [regex] link correction regex (replace)
  2292. // corrReplWith -- [string]
  2293. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2294. //
  2295. // apiUrl -- [string] web linkchecker or API URL
  2296. // postData -- [string] POSTDATA of xmlhttprequest
  2297. // resLinkRegex -- [regex]
  2298. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2299. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2300. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2301. // func -- [function] bulkcheck handler, genBulkCheck if null
  2302. //
  2303. //////////////////////////////
  2304. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2305. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2306. {
  2307. var fileHost = new Object();
  2308.  
  2309. fileHost.linkRegex = linkRegex;
  2310. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2311. fileHost.xpath = xpath;
  2312. fileHost.cFound = 0; //found links counter
  2313. fileHost.links = new Array(); //found links
  2314. if (blockSize == null)
  2315. {
  2316. fileHost.blockSize = 50;
  2317. }
  2318. else
  2319. {
  2320. fileHost.blockSize = blockSize;
  2321. }
  2322. fileHost.corrMatch = corrMatch;
  2323. fileHost.corrReplWhat = corrReplWhat;
  2324. fileHost.corrReplWith = corrReplWith;
  2325. if (splitSeparator == null)
  2326. {
  2327. fileHost.splitSeparator = "\r\n";
  2328. }
  2329. else
  2330. {
  2331. fileHost.splitSeparator = splitSeparator;
  2332. }
  2333. fileHost.apiUrl = apiUrl;
  2334. fileHost.postData = postData;
  2335. fileHost.resLinkRegex = resLinkRegex;
  2336. fileHost.resLiveRegex = resLiveRegex;
  2337. fileHost.resDeadRegex = resDeadRegex;
  2338. fileHost.resUnavaRegex = resUnavaRegex;
  2339. if (func == null)
  2340. {
  2341. fileHost.func = genBulkCheck;
  2342. }
  2343. else
  2344. {
  2345. fileHost.func = func;
  2346. }
  2347. bulkHosts.push(fileHost);
  2348. var names = hostName.split(',');
  2349. var i = names.length;
  2350. while(i--)
  2351. {
  2352. bulkHostNames[names[i]] = fileHost;
  2353. }
  2354. }
  2355. var genType1 = [
  2356. "rodfile.com", "downloadani.me", //"migahost.com",
  2357. "rarefile.net",
  2358. "filesabc.com",
  2359. // "verzend.be",
  2360. // "movreel.com",
  2361. "file4safe.com", "filemac.com",
  2362. "longfiles.com",
  2363. "bitupload.com", //"4up.me",
  2364. //"uploadbaz.com"
  2365. ];
  2366. var genType2 = [ "queenshare.com",
  2367. "hulkload.com",
  2368. "amonshare.com", //"edoc.com",
  2369. ];
  2370. //xfilesharing 1.0
  2371. function addGenericType1()
  2372. {
  2373. var i = genType1.length;
  2374. while(i--)
  2375. {
  2376. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2377. {
  2378. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2379. addHost(
  2380. genType1[i].match(/[\w-]+/)[0], //hostname
  2381. regexSafe + "\/\\w+", //linkregex
  2382. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2383. null, //blocksize
  2384. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2385. null, //corrreplwhat
  2386. null, //corrreplwith
  2387. null, //separator
  2388. "http://" + genType1[i] + "/checkfiles.html", //api url
  2389. "op=checkfiles&process=Check+URLs&list=", //postdata
  2390. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2391. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2392. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2393. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2394. null //function delegate
  2395. )
  2396. }
  2397. }
  2398. }
  2399. //xfilesharing 2.0
  2400. function addGenericType2()
  2401. {
  2402. var i = genType2.length;
  2403. while(i--)
  2404. {
  2405. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2406. {
  2407. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2408. addHost(
  2409. genType2[i].match(/[\w-]+/)[0], //hostname
  2410. regexSafe + "\/\\w+", //linkregex
  2411. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2412. null, //blocksize
  2413. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2414. null, //corrreplwhat
  2415. null, //corrreplwith
  2416. null, //separator
  2417. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2418. "op=checkfiles&process=Check+URLs&list=", //postdata
  2419. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2420. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2421. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2422. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2423. null //function delegate
  2424. )
  2425. }
  2426. }
  2427. }
  2428. // TEMPLATE
  2429. // if (GM_getValue("Check__dot_com_links", false))
  2430. // {
  2431. // addHost(
  2432. // "", //hostname
  2433. // "", //linkregex
  2434. // "//a[contains(@href,'.com/')]", //xpath
  2435. // null, //blocksize
  2436. // null, //corrmatch
  2437. // null, //corrreplwhat
  2438. // null, //corrreplwith
  2439. // null, //separator
  2440. // "", //api url
  2441. // "", //postdata
  2442. // /()/, //linkregex
  2443. // //liveregex
  2444. // //deadregex
  2445. // //unavaregex
  2446. // null //function delegate
  2447. // )
  2448. // }
  2449. addGenericType1();
  2450. addGenericType2();
  2451.  
  2452. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2453. {
  2454. addHost(
  2455. "myvdrive,fileserving", //hostname
  2456. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2457. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2458. null, //blocksize
  2459. null, //corrmatch
  2460. null, //corrreplwhat
  2461. null, //corrreplwith
  2462. null, //separator
  2463. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2464. "links=", //postdata
  2465. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2466. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2467. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2468. null, //unavaregex
  2469. null //function delegate
  2470. )
  2471. }
  2472. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2473. {
  2474. addHost(
  2475. "hackerbox", //hostname
  2476. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2477. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2478. null, //blocksize
  2479. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2480. null, //corrreplwhat
  2481. null, //corrreplwith
  2482. null, //separator
  2483. "http://host.hackerbox.org/checkfiles.html", //api url
  2484. "op=checkfiles&process=Check+URLs&list=", //postdata
  2485. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2486. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2487. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2488. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2489. null //function delegate
  2490. )
  2491. }
  2492. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2493. {
  2494. addHost(
  2495. "hellshare", //hostname
  2496. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2497. "//a[contains(@href,'hellshare.')]", //xpath
  2498. 48, //blocksize
  2499. null, //corrmatch
  2500. null, //corrreplwhat
  2501. null, //corrreplwith
  2502. null, //separator
  2503. null, //api url
  2504. null, //postdata
  2505. null, //linkregex
  2506. null, //liveregex
  2507. null, //deadregex
  2508. null, //unavaregex
  2509. hellshareBulkCheck //function delegate
  2510. )
  2511. }
  2512. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2513. {
  2514. addHost(
  2515. "uploadrocket", //hostname
  2516. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2517. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2518. null, //blocksize
  2519. null, //corrmatch
  2520. null, //corrreplwhat
  2521. null, //corrreplwith
  2522. "\n", //separator
  2523. 'http://uploadrocket.net/?op=checkfiles',
  2524. 'op=checkfiles&process=Check+URLs&list=',
  2525. /uploadrocket.net\/(\w+)/,
  2526. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2527. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2528. null,
  2529. null //function delegate
  2530. )
  2531. }
  2532. if (GM_getValue("Check_uploading_dot_site_links", false))
  2533. {
  2534. addHost(
  2535. "uploading", //hostname
  2536. "(?:uploading\\.site)\/\\w+", //linkregex
  2537. "//a[contains(@href,'uploading.site/')]", //xpath
  2538. null, //blocksize
  2539. null, //corrmatch
  2540. null, //corrreplwhat
  2541. null, //corrreplwith
  2542. "\n", //separator
  2543. 'http://uploading.site/?op=checkfiles',
  2544. 'op=checkfiles&process=Check+URLs&list=',
  2545. /uploading.site\/(\w+)/,
  2546. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2547. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2548. null,
  2549. null //function delegate
  2550. )
  2551. }
  2552. if (GM_getValue("Check_1f_dot_al_links", false))
  2553. {
  2554. addHost(
  2555. "1f",
  2556. "(?:1f\\.al)\/d\/\\w+",
  2557. "//a[contains(@href,'1f.al/d/')]",
  2558. 100000, //blocksize
  2559. null, //corrmatch
  2560. null, //corrreplwhat
  2561. null, //corrreplwith
  2562. null, //separator
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. null,
  2568. null,
  2569. _1falBulkCheck //function delegate
  2570. )
  2571. }
  2572. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2573. {
  2574. addHost(
  2575. "k2s,keep2s,keep2share",
  2576. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2577. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2578. 100000, //blocksize
  2579. null, //corrmatch
  2580. null, //corrreplwhat
  2581. null, //corrreplwith
  2582. null, //separator
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. null,
  2588. null,
  2589. k2sBulkCheck //function delegate
  2590. )
  2591. }
  2592. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2593. {
  2594. addHost(
  2595. "tezfiles",
  2596. "(?:tezfiles\\.com)\/\\w+",
  2597. "//a[contains(@href,'tezfiles.com')]",
  2598. 100000, //blocksize
  2599. null, //corrmatch
  2600. null, //corrreplwhat
  2601. null, //corrreplwith
  2602. null, //separator
  2603. null,
  2604. null,
  2605. null,
  2606. null,
  2607. null,
  2608. null,
  2609. k2sBulkCheck //function delegate
  2610. )
  2611. }
  2612. if (GM_getValue("Check_fboom_dot_me_links", false))
  2613. {
  2614. addHost(
  2615. "fboom,fileboom",
  2616. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2617. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2618. 100000, //blocksize
  2619. null, //corrmatch
  2620. null, //corrreplwhat
  2621. null, //corrreplwith
  2622. null, //separator
  2623. null,
  2624. null,
  2625. null,
  2626. null,
  2627. null,
  2628. null,
  2629. fboomBulkCheck //function delegate
  2630. )
  2631. }
  2632. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2633. {
  2634. addHost(
  2635. "1fichier,dl4free",
  2636. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2637. "//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/?')]",
  2638. 100000, //blocksize
  2639. null, //corrmatch
  2640. null, //corrreplwhat
  2641. null, //corrreplwith
  2642. null, //separator
  2643. null,
  2644. null,
  2645. null,
  2646. null,
  2647. null,
  2648. null,
  2649. dl4free_1fichier_BulkCheck //function delegate
  2650. )
  2651. }
  2652. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2653. {
  2654. addHost(
  2655. "nitroflare",
  2656. "nitroflare\\.com\/\\w+",
  2657. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2658. 100000, //blocksize
  2659. null, //corrmatch
  2660. null, //corrreplwhat
  2661. null, //corrreplwith
  2662. null, //separator
  2663. null,
  2664. null,
  2665. null,
  2666. null,
  2667. null,
  2668. null,
  2669. nitroflareBulkCheck //function delegate
  2670. )
  2671. }
  2672. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2673. {
  2674. addHost(
  2675. "depositfiles,dfiles",
  2676. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2677. "//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/')]",
  2678. 100000, //blocksize
  2679. null, //corrmatch
  2680. null, //corrreplwhat
  2681. null, //corrreplwith
  2682. null, //separator
  2683. null,
  2684. null,
  2685. null,
  2686. null,
  2687. null,
  2688. null,
  2689. depositfilesBulkCheck //function delegate
  2690. )
  2691. }
  2692. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2693. {
  2694. addHost(
  2695. "filesflash", //hostname
  2696. "filesflash\\.com\/\\w+", //linkregex
  2697. "//a[contains(@href,'filesflash.com')]", //xpath
  2698. null, //blocksize
  2699. null, //corrmatch
  2700. /http:\/\//, //corrreplwhat
  2701. '', //corrreplwith
  2702. null, //separator
  2703. 'http://filesflash.com/checklinks.php',
  2704. 'submit=Go&links=',
  2705. /filesflash\.com\/(\w+)/,
  2706. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2707. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2708. null,
  2709. null //function delegate
  2710. )
  2711. }
  2712. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2713. {
  2714. addHost(
  2715. "jumbofiles", //hostname
  2716. "jumbofiles\\.com\/\\w+", //linkregex
  2717. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2718. null, //blocksize
  2719. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2720. null, //corrreplwhat
  2721. null, //corrreplwith
  2722. null, //separator
  2723. "http://jumbofiles.com/checkfiles.html", //api url
  2724. "op=checkfiles&process=Check+URLs&list=", //postdata
  2725. /(jumbofiles\.com\/\w+)/, //linkregex
  2726. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2727. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2728. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2729. null //function delegate
  2730. )
  2731. }*/
  2732. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2733. {
  2734. addHost(
  2735. "edisk", //hostname
  2736. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2737. "//a[contains(@href,'edisk.')]", //xpath
  2738. null, //blocksize
  2739. null, //corrmatch
  2740. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2741. 'edisk.cz/stahni', //corrreplwith
  2742. null, //separator
  2743. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2744. 'submitBtn=Zkontrolovat&checkFiles=',
  2745. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2746. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2747. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2748. null,
  2749. null //function delegate
  2750. )
  2751. }
  2752. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2753. {
  2754. GM_xmlhttpRequest( //age check skip
  2755. {
  2756. method: 'POST',
  2757. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2758. headers: {
  2759. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2760. 'Content-type': 'application/x-www-form-urlencoded',
  2761. 'Referer': ""
  2762. }
  2763. });
  2764. addHost(
  2765. "bezvadata", //hostname
  2766. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2767. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2768. null, //blocksize
  2769. null, //corrmatch
  2770. null, //corrreplwhat
  2771. null, //corrreplwith
  2772. null, //separator
  2773. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2774. 'zkontrolovat=Zkontrolovat&odkazy=',
  2775. /(bezvadata\.cz\/stahnout\/\d+)/,
  2776. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2777. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2778. null,
  2779. null //function delegate
  2780. )
  2781. }
  2782. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2783. {
  2784. addHost(
  2785. "linkcrypt", //hostname
  2786. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2787. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2788. 100000, //blocksize
  2789. null, //corrmatch
  2790. null, //corrreplwhat
  2791. null, //corrreplwith
  2792. null, //separator
  2793. null,
  2794. null,
  2795. null,
  2796. null,
  2797. null,
  2798. null,
  2799. linkcryptBulkCheck //function delegate
  2800. )
  2801. }
  2802. if (GM_getValue("Check_videobb_dot_com_links", false))
  2803. {
  2804. addHost(
  2805. "videobb", //hostname
  2806. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2807. "//a[contains(@href,'videobb.com')]", //xpath
  2808. null, //blocksize
  2809. null, //corrmatch
  2810. /watch_video\.php\?v=/, //corrreplwhat
  2811. 'video/', //corrreplwith
  2812. null, //separator
  2813. 'http://www.videobb.com/link_checker.php',
  2814. 'links=',
  2815. /videobb\.com\/video\/(\w+)/,
  2816. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2817. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2818. null,
  2819. null //function delegate
  2820. )
  2821. }
  2822. if (GM_getValue("Check_filerio_dot_com_links", false))
  2823. {
  2824. addHost(
  2825. "filekeen,filerio", //hostname
  2826. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2827. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2828. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2829. null, //blocksize
  2830. null, //corrmatch
  2831. null, //corrreplwhat
  2832. null, //corrreplwith
  2833. null, //separator
  2834. 'http://filerio.in/checkfiles.html',
  2835. 'op=checkfiles&process=Check+URLs&list=',
  2836. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2837. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2838. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2839. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2840. null //function delegate
  2841. )
  2842. }
  2843. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2844. {
  2845. addHost(
  2846. "share-online,egoshare", //hostname
  2847. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2848. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2849. null, //blocksize
  2850. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2851. null, //corrreplwhat
  2852. null, //corrreplwith
  2853. "\n", //separator
  2854. 'http://api.share-online.biz/linkcheck.php',
  2855. 'links=',
  2856. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2857. /\w+;OK/g,
  2858. /\w+;(?:NOTFOUND|DELETED)/g,
  2859. null,
  2860. null //function delegate
  2861. )
  2862. }
  2863. if (GM_getValue("Check_oboom_dot_com_links", false))
  2864. {
  2865. addHost(
  2866. "oboom", //hostname
  2867. "oboom\\.com\/#?\\w{8}", //linkregex
  2868. "//a[contains(@href,'oboom.com/')]", //xpath
  2869. null, //blocksize
  2870. /oboom\.com\/#?(\w{8})/, //corrmatch
  2871. null, //corrreplwhat
  2872. null, //corrreplwith
  2873. null, //separator
  2874. null,
  2875. null,
  2876. null,
  2877. null, //liveregex
  2878. null, //deadregex
  2879. null,
  2880. oboomBulk //function delegate
  2881. )
  2882. }
  2883. if (GM_getValue("Check_mega_dot_nz_links", false))
  2884. {
  2885. addHost(
  2886. "mega",
  2887. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2888. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2889. 100000, //blocksize
  2890. null, //corrmatch
  2891. null, //corrreplwhat
  2892. null, //corrreplwith
  2893. null, //separator
  2894. null,
  2895. null,
  2896. null,
  2897. null,
  2898. null,
  2899. null,
  2900. megaBulkCheck //function delegate
  2901. )
  2902. }
  2903.  
  2904. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2905.  
  2906. if (GM_getValue("Check_extabit_dot_com_links", false))
  2907. {
  2908. addHost(
  2909. "extabit", //hostname
  2910. "extabit\\.com\/file\/\\w+", //linkregex
  2911. "//a[contains(@href,'extabit.com')]", //xpath
  2912. null, //blocksize
  2913. null, //corrmatch
  2914. null, //corrreplwhat
  2915. null, //corrreplwith
  2916. "\n", //separator
  2917. "http://extabit.com/linkchecker.jsp", //api url
  2918. "url=", //postdata
  2919. /extabit\.com\/(file\/\w+)/, //linkregex
  2920. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2921. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2922. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2923. extabitBulkCheck //function delegate
  2924. )
  2925. }
  2926. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2927. {
  2928. addHost(
  2929. "junocloud", //hostname
  2930. "junocloud\\.me\/\\w+", //linkregex
  2931. "//a[contains(@href,'junocloud.me')]", //xpath
  2932. null, //blocksize
  2933. null, //corrmatch
  2934. null, //corrreplwhat
  2935. null, //corrreplwith
  2936. "\n", //separator
  2937. "http://junocloud.me/checkfiles.html", //api url
  2938. "op=checkfiles&process=Check+URLs&list=", //postdata
  2939. /(junocloud\.me\/\w+)/, //linkregex
  2940. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2941. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2942. null, //unavaregex
  2943. null //function delegate
  2944. )
  2945. }
  2946. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2947. {
  2948. addHost(
  2949. "webshare", //hostname
  2950. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2951. "//a[contains(@href,'webshare.cz')]", //xpath
  2952. 100000, //blocksize
  2953. null, //corrmatch
  2954. null, //corrreplwhat
  2955. null, //corrreplwith
  2956. null, //separator
  2957. null, //api url
  2958. null, //postdata
  2959. null, //linkregex
  2960. null, //liveregex
  2961. null, //deadregex
  2962. null, //unavaregex
  2963. webshareBulkCheck //function delegate
  2964. )
  2965. }
  2966. /////////////////////////////
  2967. // Common function delegate to send links to get checked by host linkchecker
  2968. /////////////////////////////
  2969. // If you define a new delegate, you may use following properties
  2970. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2971. // this.apiUrl [string] API or web linkchecker URL
  2972. // this.postData [string] POSTDATA for POST request
  2973. // this.resLiveRegex [regex] matches live substrings in the request response
  2974. // this.resDeadRegex [regex] matches dead substrings in the request response
  2975. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2976. //
  2977. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2978. //
  2979. // See the code below for standard bulkcheck handling reference.
  2980. //////////////////////////////
  2981. function genBulkCheck()
  2982. {
  2983. var blockIdx = this.links.length;
  2984. while (blockIdx--)
  2985. {
  2986. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2987. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2988. }
  2989. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2990. {
  2991. GM_xmlhttpRequest(
  2992. {
  2993. method: 'POST',
  2994. url: api,
  2995. headers: {
  2996. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2997. 'Content-type': 'application/x-www-form-urlencoded',
  2998. 'Referer': api,
  2999. 'X-Requested-With': 'XMLHttpRequest'
  3000. },
  3001. data: postData + encodeURIComponent(links),
  3002. onload: function (result)
  3003. {
  3004. var res = result.responseText;
  3005. // GM_log(res);
  3006. var i;
  3007.  
  3008. var livelinks = res.match(liveRegex);
  3009. var deadlinks = res.match(deadRegex);
  3010. // GM_log(livelinks);
  3011. // GM_log(deadlinks);
  3012. if (livelinks != null)
  3013. {
  3014. i = livelinks.length - 1;
  3015. do
  3016. {
  3017. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3018. }
  3019. while (i--);
  3020. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3021. }
  3022.  
  3023. if (deadlinks != null)
  3024. {
  3025. i = deadlinks.length - 1;
  3026. do
  3027. {
  3028. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3029. }
  3030. while (i--);
  3031. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3032. }
  3033.  
  3034. if (unavaRegex != null)
  3035. {
  3036. var unavalinks = res.match(unavaRegex);
  3037. if (unavalinks)
  3038. {
  3039. i = unavalinks.length - 1;
  3040. do
  3041. {
  3042. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3043. }
  3044. while (i--);
  3045. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3046. }
  3047. }
  3048. }
  3049. });
  3050. }
  3051. }
  3052. //specialized bulkchecking handlers follow
  3053. function webshareBulkCheck()
  3054. {
  3055. var arr = this.links[0].split("\r\n");
  3056. var i = arr.length;
  3057. while(i--)
  3058. {
  3059. postRequest(arr[i]);
  3060. }
  3061. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3062. function postRequest(wsLink)
  3063. {
  3064. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3065. GM_xmlhttpRequest(
  3066. {
  3067. method: 'POST',
  3068. url: "http://webshare.cz/api/file_info/",
  3069. headers: {
  3070. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3071. 'Content-type': 'application/x-www-form-urlencoded',
  3072. 'Referer': "",
  3073. },
  3074. data: "wst=&ident=" + id,
  3075. onload: function (result)
  3076. {
  3077. var res = result.responseText;
  3078. if (res.match(/<name>.+?<\/name>/))
  3079. {
  3080. DisplayTheCheckedLinks([id], 'alive_link');
  3081. }
  3082. else
  3083. {
  3084. DisplayTheCheckedLinks([id], 'adead_link');
  3085. }
  3086. }
  3087. });
  3088. }
  3089. }
  3090. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3091. //extabit also doesn't like requests in fast succession, so some delays are added.
  3092. function extabitBulkCheck()
  3093. {
  3094. var timeoutDelay = 0;
  3095. var blockIdx = this.links.length;
  3096. while (blockIdx--)
  3097. {
  3098. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3099. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3100. }
  3101. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3102. {
  3103. GM_xmlhttpRequest(
  3104. {
  3105. method: 'POST',
  3106. url: api,
  3107. headers: {
  3108. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3109. 'Content-type': 'application/x-www-form-urlencoded',
  3110. 'Referer': api,
  3111. 'X-Requested-With': 'XMLHttpRequest'
  3112. },
  3113. data: postData + encodeURIComponent(links),
  3114. onload: function (result)
  3115. {
  3116. var res = result.responseText;
  3117. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3118. {
  3119. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3120. {
  3121. //GM_log(tryID + ': ' + link);
  3122. GM_xmlhttpRequest(
  3123. {
  3124. method: 'GET',
  3125. url: link,
  3126. 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': ""},
  3127. onload: function(result2)
  3128. {
  3129. var res2 = result2.responseText;
  3130. var res2Status = result.status;
  3131. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3132. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3133. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3134. {
  3135. if (tryID < 7)
  3136. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3137. else
  3138. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3139. }
  3140. }
  3141. });
  3142. }
  3143. //split the hrefs and check them one by one
  3144. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3145. links = links.split('\n');
  3146. var i = links.length;
  3147. while (i--)
  3148. {
  3149. if (links[i])
  3150. {
  3151. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3152. timeoutDelay += 500;
  3153. }
  3154. }
  3155. return;
  3156. }
  3157. var i;
  3158.  
  3159. var livelinks = res.match(liveRegex);
  3160. var deadlinks = res.match(deadRegex);
  3161. if (livelinks != null)
  3162. {
  3163. i = livelinks.length - 1;
  3164. do
  3165. {
  3166. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3167. }
  3168. while (i--);
  3169. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3170. }
  3171.  
  3172. if (deadlinks != null)
  3173. {
  3174. i = deadlinks.length - 1;
  3175. do
  3176. {
  3177. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3178. }
  3179. while (i--);
  3180. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3181. }
  3182.  
  3183. if (unavaRegex != null)
  3184. {
  3185. var unavalinks = res.match(unavaRegex);
  3186. if (unavalinks)
  3187. {
  3188. i = unavalinks.length - 1;
  3189. do
  3190. {
  3191. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3192. }
  3193. while (i--);
  3194. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3195. }
  3196. }
  3197. }
  3198. });
  3199. }
  3200. }
  3201. function _1falBulkCheck()
  3202. {
  3203. var arr = this.links[0].split("\r\n");
  3204. var i = arr.length;
  3205. c=0;
  3206. arrIDs=[];
  3207. while(i--)
  3208. {
  3209. id = arr[i].match(/\/d\/(\w+)/)[1];
  3210.  
  3211. _1falalreadyexist=false;
  3212. for (j=0;j<arrIDs.length;j++)
  3213. {
  3214. if (arrIDs[j]==id)
  3215. {
  3216. _1falalreadyexist=g
  3217. break;
  3218. }
  3219. }
  3220. if (_1falalreadyexist) continue;
  3221. arrIDs.push(id);
  3222. c++;
  3223. setTimeout(_1falRequest,c*500,arr[i]);
  3224. }
  3225. }
  3226. function _1falRequest(_1falLink)
  3227. {
  3228. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3229. GM_xmlhttpRequest(
  3230. {
  3231. method: 'GET',
  3232. url: _1falLink,
  3233. headers: {
  3234. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3235. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3236. 'Referer': 'http://www.planetsuzy.org/'
  3237. },
  3238. onload: function (result)
  3239. {
  3240. var res = result.responseText;
  3241. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3242. if (FAarr!=null)
  3243. {
  3244. FALink=FAarr[1];
  3245. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3246. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3247. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3248. GM_xmlhttpRequest(
  3249. {
  3250. method: 'POST',
  3251. url: FALink,
  3252. headers: {
  3253. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3254. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3255. 'Content-Type': 'application/x-www-form-urlencoded',
  3256. 'Referer': _1falLink
  3257. },
  3258. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3259. onload: function (_2ndresult)
  3260. {
  3261. var newres = _2ndresult.responseText;
  3262. FAalivelink=new RegExp("method_free");
  3263. if (FAalivelink.test(newres))
  3264. {
  3265. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3266. return;
  3267. }
  3268. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3269. if (FAdeadlink.test(newres))
  3270. {
  3271. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3272. return;
  3273. }
  3274. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3275. return;
  3276. }
  3277. });
  3278. return;
  3279. }
  3280. else
  3281. {
  3282. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3283. return;
  3284. }
  3285. },
  3286. onerror: function ()
  3287. {
  3288. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3289. return;
  3290. }
  3291. });
  3292. }
  3293. function k2sBulkCheck()
  3294. {
  3295. var arr = this.links[0].split("\r\n");
  3296. var i = arr.length;
  3297. c=0;
  3298. arrIDs=[];
  3299. while(i--)
  3300. {
  3301. id = arr[i].match(/\/file\/(\w+)/)[1];
  3302. if (id=='info')
  3303. {
  3304. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3305. continue;
  3306. }
  3307. k2salreadyexist=false;
  3308. for (j=0;j<arrIDs.length;j++)
  3309. {
  3310. if (arrIDs[j]==id)
  3311. {
  3312. k2salreadyexist=g
  3313. break;
  3314. }
  3315. }
  3316. if (k2salreadyexist) continue;
  3317. arrIDs.push(id);
  3318. c++;
  3319. setTimeout(k2sRequest,c*500,arr[i]);
  3320. }
  3321. }
  3322. function k2sRequest(K2SLink)
  3323. {
  3324. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3325. GM_xmlhttpRequest(
  3326. {
  3327. method: 'GET',
  3328. url: K2SLink,
  3329. headers: {
  3330. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3331. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3332. 'Referer': ''
  3333. },
  3334. onload: function (result)
  3335. {
  3336. var res = result.responseText;
  3337. K2Dom='k2s.cc';
  3338. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3339. K2SLink2='http://'+K2Dom+'/file/'+id;
  3340.  
  3341. 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'))
  3342. {
  3343. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3344. return;
  3345. }
  3346. if (res.match('method="post">Displaying'))
  3347. {
  3348. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3349. return;
  3350. }
  3351. if (res.match('Premium only|only for premium members'))
  3352. {
  3353. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3354. return;
  3355. }
  3356. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3357. {
  3358. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3359. slID=slow_id.exec(res)[1];
  3360. GM_xmlhttpRequest(
  3361. {
  3362. method: 'POST',
  3363. url: K2SLink2,
  3364. headers: {
  3365. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3366. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3367. 'Content-Type': 'application/x-www-form-urlencoded',
  3368. 'Referer': K2SLink
  3369. },
  3370. data: 'slow_id='+slID+'&yt0=',
  3371. onload: function (result)
  3372. {
  3373. var newres = result.responseText;
  3374. newoversizedtest=new RegExp("Free user can't download large files.");
  3375. if (newoversizedtest.test(newres))
  3376. {
  3377. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3378. return;
  3379. }
  3380. else
  3381. {
  3382. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3383. return;
  3384. }
  3385. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3386. return;
  3387. }
  3388. });
  3389. /////////////////////end additional check for oversized links
  3390. return;
  3391. }
  3392. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3393. return;
  3394. },
  3395. onerror: function ()
  3396. {
  3397. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3398. return;
  3399. }
  3400. });
  3401. }
  3402. function fboomBulkCheck()
  3403. {
  3404. var arr = this.links[0].split("\r\n");
  3405. var i = arr.length;
  3406. c=0;
  3407. arrIDs=[];
  3408. while(i--)
  3409. {
  3410. id = arr[i].match(/\/file\/(\w+)/)[1];
  3411. if (id=='info')
  3412. {
  3413. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3414. continue;
  3415. }
  3416. fbalreadyexist=false;
  3417. for (j=0;j<arrIDs.length;j++)
  3418. {
  3419. if (arrIDs[j]==id)
  3420. {
  3421. fbalreadyexist=true;
  3422. break;
  3423. }
  3424. }
  3425. if (fbalreadyexist) continue;
  3426. arrIDs.push(id);
  3427. c++;
  3428. setTimeout(fboomRequest,c*500,arr[i]);
  3429. }
  3430. }
  3431. function fboomRequest(FBoomLink)
  3432. {
  3433. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3434. FBoomLink2='http://fboom.me/file/'+id;
  3435. GM_xmlhttpRequest(
  3436. {
  3437. method: 'GET',
  3438. url: FBoomLink,
  3439. headers: {
  3440. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3441. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3442. 'Referer': ''
  3443. },
  3444. onload: function (result)
  3445. {
  3446. var res = result.responseText;
  3447. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3448. {
  3449. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3450. return;
  3451. }
  3452. if (res.match('method="post">Displaying'))
  3453. {
  3454. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3455. return;
  3456. }
  3457. if (res.match('only for premium members'))
  3458. {
  3459. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3460. return;
  3461. }
  3462. if (res.match('id="download-free" href="#"'))
  3463. {
  3464. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3465. slID=slow_id.exec(res)[1];
  3466. GM_xmlhttpRequest(
  3467. {
  3468. method: 'POST',
  3469. url: FBoomLink2,
  3470. headers: {
  3471. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3472. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3473. 'Content-Type': 'application/x-www-form-urlencoded',
  3474. 'Referer': FBoomLink
  3475. },
  3476. data: 'slow_id='+slID,
  3477. onload: function (result)
  3478. {
  3479. var newres = result.responseText;
  3480. newoversizedtest=new RegExp("Downloading is not possible");
  3481. if (newoversizedtest.test(newres))
  3482. {
  3483. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3484. return;
  3485. }
  3486. else
  3487. {
  3488. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3489. return;
  3490. }
  3491. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3492. return;
  3493. }
  3494. });
  3495. /////////////////////end additional check for oversized links
  3496. return;
  3497. }
  3498. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3499. return;
  3500. },
  3501. onerror: function ()
  3502. {
  3503. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3504. return;
  3505. }
  3506. });
  3507. }
  3508. function dl4free_1fichier_BulkCheck()
  3509. {
  3510. var arr = this.links[0].split("\r\n");
  3511. var i = arr.length;
  3512. while(i--)
  3513. {
  3514. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3515. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3516. gethead_dl4free_1fichier(arr[i]);
  3517. }
  3518. }
  3519. function gethead_dl4free_1fichier(link)
  3520. {
  3521. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3522. GM_xmlhttpRequest(
  3523. {
  3524. method: 'HEAD',
  3525. url: link,
  3526. headers: {
  3527. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3528. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3529. 'Referer': ''
  3530. },
  3531. onload: function (result)
  3532. {
  3533. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3534. {
  3535. DisplayTheCheckedLinks([id], 'alive_link');
  3536. return;
  3537. }
  3538. else
  3539. {
  3540. getlink_dl4free_1fichier(link);
  3541. }
  3542. return;
  3543. },
  3544. onerror: function ()
  3545. {
  3546. DisplayTheCheckedLinks([id], 'unava_link');
  3547. }
  3548. });
  3549. }
  3550. function getlink_dl4free_1fichier(link)
  3551. {
  3552. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3553. GM_xmlhttpRequest(
  3554. {
  3555. method: 'GET',
  3556. url: link,
  3557. headers: {
  3558. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3559. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3560. 'Referer': ''
  3561. },
  3562. onload: function (result)
  3563. {
  3564. var res = result.responseText;
  3565. 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');
  3566. if (deadRegex.test(res))
  3567. {
  3568. DisplayTheCheckedLinks([id], 'adead_link');
  3569. return;
  3570. }
  3571. premiumRegex=new RegExp('only for premium users');
  3572. if (premiumRegex.test(res))
  3573. {
  3574. DisplayTheCheckedLinks([id], 'prem_link');
  3575. return;
  3576. }
  3577. 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="');
  3578. if (liveRegex.test(res))
  3579. {
  3580. DisplayTheCheckedLinks([id], 'alive_link');
  3581. return;
  3582. }
  3583. DisplayTheCheckedLinks([id], 'unava_link');
  3584. },
  3585. onerror: function ()
  3586. {
  3587. DisplayTheCheckedLinks([id], 'unava_link');
  3588. }
  3589. });
  3590. }
  3591. function nitroflareBulkCheck()
  3592. {
  3593. var arr = this.links[0].split("\r\n");
  3594. var i = arr.length;
  3595. while(i--)
  3596. {
  3597. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3598. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3599. NitroFlareRequest(arr[i]);
  3600. }
  3601. }
  3602. function NitroFlareRequest(NFLink)
  3603. {
  3604. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3605. GM_xmlhttpRequest(
  3606. {
  3607. method: "GET",
  3608. url: NFLink,
  3609. headers: {
  3610. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3611. 'Content-Type': 'application/x-www-form-urlencoded',
  3612. 'Referer': ""
  3613. },
  3614. onload: function (result)
  3615. {
  3616. var res = result.responseText;
  3617. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3618. {
  3619. DisplayTheCheckedLinks([NFID], 'adead_link');
  3620. return;
  3621. }
  3622. if (res.match('Report this file<\/a>'))
  3623. {
  3624. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3625. sizearr=measureRegex.exec(res);
  3626. if (sizearr[2]=='GB')
  3627. {
  3628. if (parseFloat(sizearr[1])>1)
  3629. {
  3630. DisplayTheCheckedLinks([NFID], 'prem_link');
  3631. }
  3632. else
  3633. {
  3634. DisplayTheCheckedLinks([NFID], 'alive_link');
  3635. }
  3636. }
  3637. else
  3638. {
  3639. DisplayTheCheckedLinks([NFID], 'alive_link');
  3640. }
  3641. return;
  3642. }
  3643. DisplayTheCheckedLinks([NFID], 'unava_link');
  3644. }
  3645. });
  3646. }
  3647. function depositfilesBulkCheck()
  3648. {
  3649. var arr = this.links[0].split("\r\n");
  3650. var i = arr.length;
  3651. var seqno = Math.floor(Math.random()*1000000000);
  3652. while(i--)
  3653. {
  3654. DFpostRequest(arr[i]);
  3655. }
  3656. }
  3657. function DFpostRequest(DFLink)
  3658. {
  3659. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3660. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3661. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3662. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3663. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3664. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3665. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3666. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3667. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3668. GM_xmlhttpRequest(
  3669. {
  3670. method: "GET",
  3671. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3672. headers: {
  3673. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3674. 'Content-Type': 'application/x-www-form-urlencoded',
  3675. 'Referer': ""
  3676. },
  3677. onload: function (result)
  3678. {
  3679. var res = result.responseText;
  3680. if (res.match('(?:no_file|file_ban)'))
  3681. {
  3682. DisplayTheCheckedLinks([id], 'adead_link');
  3683. return;
  3684. }
  3685. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3686. {
  3687. DisplayTheCheckedLinks([id], 'alive_link');
  3688. return;
  3689. }
  3690. DisplayTheCheckedLinks([id], 'unava_link');
  3691. }
  3692. });
  3693. }
  3694.  
  3695. function megaBulkCheck()
  3696. {
  3697. var arr = this.links[0].split("\r\n");
  3698. var i = arr.length;
  3699. var seqno = Math.floor(Math.random()*1000000000);
  3700. while(i--)
  3701. {
  3702. postRequest(arr[i]);
  3703. }
  3704. function postRequest(megaLink)
  3705. {
  3706. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3707. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3708. if (id=='F')
  3709. {
  3710. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3711. DisplayTheCheckedLinks([id], 'unava_link');
  3712. }
  3713. else
  3714. GM_xmlhttpRequest(
  3715. {
  3716. method: "POST",
  3717. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3718. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3719. headers: {
  3720. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3721. 'Content-Type': 'application/xml',
  3722. 'Referer': "https://mega.co.nz/"
  3723. },
  3724. onload: function (result)
  3725. {
  3726. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3727. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3728. {
  3729.  
  3730. DisplayTheCheckedLinks([id], 'adead_link');
  3731. }
  3732. if (res.at)
  3733. {
  3734. DisplayTheCheckedLinks([id], 'alive_link');
  3735. }
  3736. if (res.e == "ETEMPUNAVAIL")
  3737. {
  3738. DisplayTheCheckedLinks([id], 'unava_link');
  3739. }
  3740. }
  3741. });
  3742. }
  3743.  
  3744. }
  3745.  
  3746. function oboomBulk() {
  3747. var a = [], b = [], c = [];
  3748. var array = this.links;
  3749.  
  3750. GM_xmlhttpRequest({
  3751. method: 'GET',
  3752. url: 'https://www.oboom.com/1/guestsession',
  3753. headers: {
  3754. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3755. 'Content-type': 'application/x-www-form-urlencoded',
  3756. 'Referer': 'https://www.oboom.com',
  3757. 'X-Requested-With': 'XMLHttpRequest'
  3758. },
  3759. onload: function(result) {
  3760. var blockIdx = array.length;
  3761. var token = JSON.parse(result.responseText)[1];
  3762. while (blockIdx--) {
  3763. startCheck(array[blockIdx].split('\r\n'), token);
  3764. }
  3765. }
  3766. });
  3767.  
  3768. function startCheck(links, token) {
  3769. GM_xmlhttpRequest({
  3770. method: 'POST',
  3771. url: "https://api.oboom.com/1/info",
  3772. headers: {
  3773. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3774. 'Content-type': 'application/x-www-form-urlencoded',
  3775. 'Referer': 'https://www.oboom.com/',
  3776. 'X-Requested-With': 'XMLHttpRequest'
  3777. },
  3778. data: "token=" + token + "&items=" + links.join(","),
  3779. onload: function(result) {
  3780. var res = JSON.parse(result.responseText)[1];
  3781. var i = res.length, s;
  3782.  
  3783. while (i--) {
  3784. s = res[i].state;
  3785. if (s == 'online') a.push(res[i].id);
  3786. 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);
  3787. else c.push(res[i].id);
  3788. }
  3789.  
  3790. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3791. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3792. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3793. }
  3794. });
  3795. }
  3796. }
  3797. function linkcryptBulkCheck()
  3798. {
  3799. var arr = this.links[0].split("\r\n");
  3800. var i = arr.length;
  3801. while(i--)
  3802. {
  3803. postRequest(arr[i]);
  3804. }
  3805. function postRequest(lcLink)
  3806. {
  3807. GM_xmlhttpRequest(
  3808. {
  3809. method: "GET",
  3810. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3811. headers: {
  3812. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3813. 'Accept': 'text/xml',
  3814. 'Referer': ""
  3815. },
  3816. onload: function (result)
  3817. {
  3818. var res = result.responseText;
  3819. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3820. {
  3821. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3822. return;
  3823. }
  3824. if (res.match(/folderStatus>1/)) //Online status
  3825. {
  3826. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3827. }
  3828. else
  3829. {
  3830. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3831. }
  3832. }
  3833. });
  3834. }
  3835. }
  3836.  
  3837. /* function megashareBulkCheck()
  3838. {
  3839. var arr = this.links[0].split("\r\n");
  3840. var i = arr.length;
  3841. while(i--)
  3842. {
  3843. postRequest(arr[i]);
  3844. }
  3845. function postRequest(msLink)
  3846. {
  3847. GM_xmlhttpRequest(
  3848. {
  3849. method: "GET",
  3850. url: msLink,
  3851. headers: {
  3852. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3853. 'Content-Type': 'application/x-www-form-urlencoded',
  3854. 'Referer': ""
  3855. },
  3856. onload: function (result)
  3857. {
  3858. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3859. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3860. if ((prZVal == null) || (btn3Name == null))
  3861. {
  3862. return;
  3863. }
  3864. GM_xmlhttpRequest(
  3865. {
  3866. method: "POST",
  3867. url: msLink,
  3868. headers: {
  3869. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3870. 'Content-Type': 'application/x-www-form-urlencoded',
  3871. 'Referer': ""
  3872. },
  3873. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3874. onload: function (result)
  3875. {
  3876. var res = result.responseText;
  3877. if (res.match(/<div id="err">/))
  3878. {
  3879. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3880. }
  3881. else
  3882. {
  3883. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3884. }
  3885. }
  3886. });
  3887. }
  3888. });
  3889. }
  3890. } */
  3891. function hellshareBulkCheck()
  3892. {
  3893. var links = this.links;
  3894. GM_xmlhttpRequest(
  3895. {
  3896. method: "GET",
  3897. url: 'http://www.hellshare.com',
  3898. headers: {
  3899. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3900. 'Accept': 'text/xml',
  3901. 'Referer': ""
  3902. },
  3903. onload: function (result)
  3904. {
  3905. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3906.  
  3907. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3908. if (domain == 'sk')
  3909. loc = 'check=Skontrolova%C5%A5&links=';
  3910. if (domain == 'com')
  3911. loc = 'check=Check+availability&links=';
  3912. if (domain == 'hu')
  3913. loc = 'check=Kontrol%C3%A1lj&links=';
  3914. if (domain == 'pl')
  3915. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3916.  
  3917. genBulkCheck.call({ links: links,
  3918. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3919. postData: loc,
  3920. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3921. 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,
  3922. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3923. resUnavaRegex: null
  3924. });
  3925. }
  3926. });
  3927. }
  3928. /**
  3929. * Displays check result
  3930. * @param {Array} Array of links or link fragments.
  3931. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3932. */
  3933. function DisplayTheCheckedLinks(links, resultStatus)
  3934. {
  3935. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3936. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3937. if (Do_not_linkify_DL_links)
  3938. { //TODO into separate jQuery function
  3939. $links.replaceWith(function(){
  3940. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3941. });
  3942. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3943. }
  3944. $links.removeClass().addClass(resultStatus);
  3945. $links.each(function() {
  3946. this.href = Ref_anonymize_service + $(this).attr("href");
  3947. });
  3948. switch(resultStatus)
  3949. {
  3950. case "alive_link": cLinksAlive += $links.length;
  3951. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3952. break;
  3953. case "adead_link": cLinksDead += $links.length;
  3954. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3955. break;
  3956. case "prem_link": cLinksprem += $links.length;
  3957. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3958. break;
  3959. case "unava_link": cLinksUnava += $links.length; break;
  3960. default:
  3961. }
  3962. cLinksProcessed += $links.length;
  3963. }
  3964. }
  3965. // starts bulkchecking
  3966. //
  3967. // params
  3968. // filterId [string] restricts link detection with passed id attribute
  3969. function startBulkCheck(filterId)
  3970. {
  3971. var cHosts = bulkHosts.length;
  3972. if (cHosts == 0) //no filehostings selected
  3973. return;
  3974. // STEP 1 linkify the links
  3975. var linkifyRegex = '';
  3976. var hostIdx = cHosts;
  3977. while(hostIdx--)
  3978. {
  3979. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3980. }
  3981. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3982. linkify(linkifyRegex);
  3983. //
  3984. //STEP 2 detect link objects
  3985. var xpathAll = '';
  3986. var hostIdx = cHosts;
  3987. while(hostIdx--)
  3988. {
  3989. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3990. }
  3991. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3992. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3993. if (filterId != null) //insert id restriction in the xpath
  3994. {
  3995. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3996. }
  3997. else
  3998. {
  3999. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4000. }
  4001. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4002. if (filterId == null)
  4003. {
  4004. cLinksTotal += links.snapshotLength;
  4005. }
  4006. //
  4007. //STEP 3 bind links with hostings
  4008. var linkIdx = links.snapshotLength;
  4009. var href = null;
  4010. if (linkIdx == 0) // no links found
  4011. return;
  4012. var name;
  4013. while (linkIdx--)
  4014. {
  4015. href = links.snapshotItem(linkIdx).href;
  4016. try // DO NOT REMOVE, filters crap that went through xpath detection
  4017. {
  4018. name = gimmeHostName(href);
  4019. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4020. bulkHostNames[name].links.push(href);
  4021. }
  4022. catch(e)
  4023. {
  4024.  
  4025. }
  4026. }
  4027. //
  4028. //STEP 4 process the links for each filehosting
  4029. var hostIdx = cHosts;
  4030. var host;
  4031. var m,n;
  4032. var arr;
  4033. while (hostIdx--)
  4034. {
  4035. host = bulkHosts[hostIdx];
  4036. arr = host.links;
  4037. if (arr.length == 0) //no links for this hosting, skip
  4038. {
  4039. continue;
  4040. }
  4041. //links match corrections
  4042. if (host.corrMatch != null)
  4043. {
  4044. var idx = arr.length;
  4045. while (idx--)
  4046. {
  4047. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4048. }
  4049. }
  4050. //links replace corrections
  4051. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4052. {
  4053. var idx = arr.length;
  4054. while (idx--)
  4055. {
  4056. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4057. }
  4058. }
  4059. m = arr.length;
  4060. n = host.blockSize;
  4061. if (m > n)
  4062. {
  4063. //insert block separators (RAND_STRING) into the array
  4064. for(var i = n; i < m; i += n + 1)
  4065. {
  4066. arr.splice(i, 0, RAND_STRING);
  4067. }
  4068. }
  4069.  
  4070. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4071. apiUrl: host.apiUrl,
  4072. postData: host.postData,
  4073. resLinkRegex: host.resLinkRegex,
  4074. resLiveRegex: host.resLiveRegex,
  4075. resDeadRegex: host.resDeadRegex,
  4076. resUnavaRegex: host.resUnavaRegex
  4077. });
  4078. //clean up
  4079. arr.length = 0;
  4080. }
  4081. //
  4082.  
  4083. function gimmeHostName(link)
  4084. {
  4085. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4086. }
  4087. }
  4088. function checkLinks(filterId)
  4089. {
  4090. startBulkCheck(filterId);
  4091. start(filterId);
  4092. }
  4093.  
  4094. /**
  4095. * Initialises progress box including event binding and CSS
  4096. */
  4097. function initProgressBox()
  4098. {
  4099. if ($("#warlc-progressbox").length > 0)
  4100. return;
  4101. //progressbox css change size and color of progress box
  4102. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4103. "; opacity:" + (Progress_box_opacity / 100) +
  4104. "; bottom:" + Processbox_Pos_Y +
  4105. "%; left:" + Processbox_Pos_X +
  4106. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4107. \
  4108. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4109. \
  4110. .warlc-progressitem {}\
  4111. \
  4112. .alive {color:#00FF7F; " + Live_links_color +
  4113. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4114. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4115. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4116. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4117. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4118. //
  4119. if (Progressbox_Scaling != 100) {
  4120. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4121. 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
  4122. });
  4123. }
  4124. 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
  4125.  
  4126. GM_addStyle(progressboxCss);
  4127. $('body').append(' <div id="warlc-progressbox">\
  4128. <div class="warlc-progressbar"></div>\
  4129. <span class="warlc-progressitem alive"></span> - \
  4130. <span class="warlc-progressitem dead"></span> - \
  4131. <span class="warlc-progressitem unava"></span> - \
  4132. <span class="warlc-progressitem prem"></span> - \
  4133. <span class="warlc-progressitem processing"></span>\
  4134. </div>');
  4135. $('#warlc-progressbox').hide().click(function(){
  4136. clearInterval(intervalId);
  4137. $(this).hide();
  4138. return false;
  4139. });
  4140. $(".warlc-progressbar").progressbar({complete: function(){
  4141. $(this).fadeOut();
  4142. clearInterval(intervalId); //stop refreshing the stats
  4143. }
  4144. })
  4145. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4146. }
  4147. /**
  4148. * Updates progress data in progress box
  4149. */
  4150. function updateProgress()
  4151. {
  4152. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4153. if (cLinksTotal) // some links were detected on page
  4154. {
  4155. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4156. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4157. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4158. if ((cLinksTotal - cLinksProcessed) == 0)
  4159. {
  4160. $progressItems.first().text(cLinksAlive)
  4161. .next().text(cLinksDead)
  4162. .next().text(cLinksUnava)
  4163. .next().text(cLinksprem)
  4164. .next().remove();
  4165. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4166. $('#warlc-progressbox div:first-child').remove();
  4167. }
  4168. else
  4169. {
  4170. $progressItems.first().text(cLinksAlive)
  4171. .next().text(cLinksDead)
  4172. .next().text(cLinksUnava)
  4173. .next().text(cLinksprem)
  4174. .next().text(cLinksTotal - cLinksProcessed);
  4175. }
  4176. }
  4177. }
  4178.  
  4179. function check_all_links()
  4180. {
  4181. add_WARLC_style();
  4182.  
  4183. if (Show_progress_stats)
  4184. {
  4185. initProgressBox();
  4186. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4187. }
  4188.  
  4189. startBulkCheck(null);
  4190. start(null);
  4191.  
  4192. if (!containers_processed)
  4193. {
  4194. processContainers();
  4195. }
  4196. }
  4197.  
  4198. //Copies all found dead links to clipboard - right now for Scriptish only
  4199. function copy_dead_to_clipboard()
  4200. {
  4201. initClipBoardTools();
  4202.  
  4203. var deadlinksxpath = "//.[@class='adead_link']";
  4204.  
  4205. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4206. var foundlinkstext = '';
  4207.  
  4208. var foundlinkIdx = foundlinks.snapshotLength;
  4209.  
  4210. while(foundlinkIdx--)
  4211. {
  4212. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4213. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4214. }
  4215.  
  4216. GM_setClipboard(foundlinkstext);
  4217. }
  4218. //Copies all found live links to clipboard
  4219. function copy_live_to_clipboard()
  4220. {
  4221. initClipBoardTools();
  4222.  
  4223. var livelinksxpath = "//.[@class='alive_link']";
  4224.  
  4225. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4226. var foundlinks2text = '';
  4227.  
  4228. var foundlink2Idx = foundlinks2.snapshotLength;
  4229.  
  4230. while(foundlink2Idx--)
  4231. {
  4232. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4233. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4234. }
  4235.  
  4236. GM_setClipboard(foundlinks2text);
  4237. }
  4238.  
  4239. function toggle_autocheck()
  4240. {
  4241. var currentState = GM_getValue("Autocheck", false);
  4242. GM_setValue("Autocheck", !currentState);
  4243.  
  4244. if (currentState == true)
  4245. {
  4246. sendMessage('Autocheck disabled', 'red');
  4247. }
  4248. else
  4249. {
  4250. sendMessage('Autocheck enabled', 'SpringGreen');
  4251. }
  4252. }
  4253. function toggle_Enable_Anonymizer()
  4254. {
  4255. var currentState = GM_getValue("Enable_Anonymizer", false);
  4256. GM_setValue("Enable_Anonymizer", !currentState);
  4257.  
  4258. if (currentState == true)
  4259. {
  4260. GM_setValue("Ref_anonymize_service", "");
  4261. sendMessage('Anonymizer Disabled', 'red');
  4262. }
  4263. else
  4264. {
  4265. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4266. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4267. }
  4268. }
  4269.  
  4270. function KeyDownHandler(event)
  4271. {
  4272. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4273. if (event.ctrlKey && event.altKey)
  4274. {
  4275. switch(kcode)
  4276. {
  4277. case 65 : check_all_links(); break;
  4278. case 67 : configuration(); break;
  4279. case 68 : copy_dead_to_clipboard(); break;
  4280. case 76 : copy_live_to_clipboard(); break;
  4281. case 87 : toggle_autocheck(); break;
  4282. case 90 : toggle_Enable_Anonymizer(); break;
  4283. }
  4284. }
  4285. }
  4286.  
  4287. //
  4288. //
  4289. // SCRIPT EXECUTION START POINT
  4290. //
  4291. //
  4292. // Safari specific GM_getResourceText override
  4293. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4294. {
  4295. GM_getResourceText = function(res) {
  4296. var $cssText = GM_getValue("jquery_css", "");
  4297. if ($cssText == "")
  4298. {
  4299. GM_xmlhttpRequest(
  4300. {
  4301. method: 'GET',
  4302. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4303. onload: function (result)
  4304. {
  4305. GM_setValue("jquery_css", result.responseText);
  4306. window.location.reload();
  4307. }
  4308. });
  4309. }
  4310. else
  4311. {
  4312. return $cssText;
  4313. }
  4314. }
  4315. }
  4316. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4317. GM_addStyle(jQueryUICSS);
  4318. //init the stuff
  4319. setVariables();
  4320. initBulkCheck();
  4321. //init info boxes
  4322. messageBox.style.position = 'fixed';
  4323. messageBox.style.top = '20px';
  4324. messageBox.style.left = '10px';
  4325. messageBox.style.opacity = '0.85';
  4326. messageBox.style.background = 'DimGray';
  4327. messageBox.style.fontSize = '36px';
  4328. document.body.appendChild(messageBox);
  4329.  
  4330. //register GM menu commands & keyboard shortcut event handler
  4331. if (Keyboard_functions)
  4332. {
  4333. $(document).keydown(KeyDownHandler);
  4334. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4335. 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);
  4336. }
  4337. else
  4338. {
  4339. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4340. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4341. }
  4342.  
  4343. //start linkchecking
  4344. if (Autocheck)
  4345. {
  4346. $(document).ready(check_all_links);
  4347. }
  4348.  
  4349. //
  4350. //
  4351. // SCRIPT EXECUTION END POINT
  4352. //
  4353. //
  4354.  
  4355. //shows configuration box
  4356. function configuration()
  4357. {
  4358.  
  4359. //prevent multiple creating of config window
  4360. if ($("#hideshow").length)
  4361. {
  4362. $("#hideshow").show();
  4363. return;
  4364. }
  4365.  
  4366. var configcss = '\
  4367. .popup_block .popup fieldset{\
  4368. padding: 1%;\
  4369. border-style: solid;\
  4370. border-width: 1px;\
  4371. border-color: gray;\
  4372. margin-bottom: 1px;\
  4373. }\
  4374. #h3hideshowtitle{\
  4375. font-size: 2em;\
  4376. }\
  4377. #h3hideshow{\
  4378. font-size: 1.5em;\
  4379. }\
  4380. #imghideshow {\
  4381. border: none;\
  4382. }\
  4383. #plusimage{\
  4384. display:inline;\
  4385. }\
  4386. #hideshow {\
  4387. position: fixed;\
  4388. width: 100%;\
  4389. height: 100%;\
  4390. top: 0;\
  4391. left: 0;\
  4392. font-size:12px;\
  4393. z-index:2147483645;\
  4394. text-align:left;\
  4395. }\
  4396. #fade {\
  4397. background: #000;\
  4398. position: fixed;\
  4399. width: 100%;\
  4400. height: 100%;\
  4401. opacity: .80;\
  4402. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4403. left: 0;\
  4404. z-index: 10;\
  4405. }\
  4406. .popup_block {\
  4407. font-family:verdana;\
  4408. color:black;\
  4409. background: #ddd;\
  4410. padding: 10px 20px;\
  4411. border: 2px solid DarkOrange;\
  4412. float: left;\
  4413. width: 700px;\
  4414. position: absolute;\
  4415. top: 7%;\
  4416. left: 50%;\
  4417. bottom: 7%;\
  4418. margin: 0 0 0 -350px;\
  4419. -moz-border-radius:10px;\
  4420. z-index: 100;\
  4421. \
  4422. }\
  4423. .popup_block .popup {\
  4424. float: left;\
  4425. width: 100%;\
  4426. background: #fff;\
  4427. margin: 10px 0;\
  4428. padding: 0px 0 0px;\
  4429. border-left: 1px solid #bbb;\
  4430. border-top: 1px solid #bbb;\
  4431. border-right: 1px solid #bbb;\
  4432. }\
  4433. #h3hideshow{\
  4434. margin: 1px 0 0px;\
  4435. padding: 1px 10px;\
  4436. border-bottom: 1px solid #bbb;\
  4437. font-size: 1.5em;\
  4438. font-weight: normal;\
  4439. cursor:pointer;\
  4440. background:#DDDDDD none repeat scroll 0 0;\
  4441. }\
  4442. #h3hideshow:hover{\
  4443. background:#C0BEBE none repeat scroll 0 0;\
  4444. }\
  4445. #h3hideshowtitle{\
  4446. margin: 2px 0 0px;\
  4447. padding: 7px 10px;\
  4448. border-bottom: 1px solid #bbb;\
  4449. font-size: 1.5em;\
  4450. font-weight: normal;\
  4451. }\
  4452. .popup_block .popup a {\
  4453. color:DarkSkyBlue;\
  4454. text-decoration:none;\
  4455. }\
  4456. .popup p {\
  4457. padding: 1px 10px;\
  4458. margin: 0px 0;\
  4459. -x-system-font:none;\
  4460. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4461. font-size:10pt;\
  4462. font-size-adjust:none;\
  4463. font-stretch:normal;\
  4464. font-style:normal;\
  4465. font-variant:normal;\
  4466. font-weight:normal;\
  4467. line-height:normal;\
  4468. }\
  4469. #sites {\
  4470. padding: 1px 10px;\
  4471. margin: 0px 0;display:inline-block;width:16em;\
  4472. }\
  4473. #dev_ver {\
  4474. color: #00FF00;\
  4475. background: Black;\
  4476. text-align: right;\
  4477. }\
  4478. #sites_suspended {\
  4479. padding: 1px 10px;\
  4480. margin: 0px 0;display:inline-block;width:16em;\
  4481. text-decoration: line-through;\
  4482. }\
  4483. .popup img.cntrl {\
  4484. position: absolute;\
  4485. right: -15px;\
  4486. top: -15px;\
  4487. }\
  4488. #bulk {\
  4489. font-size:8pt;\
  4490. color:orange;\
  4491. padding: 1px 10px;\
  4492. margin: 0px 0;\
  4493. display:inline-block;\
  4494. width:100px;\
  4495. }\
  4496. #note {\
  4497. font-size:7pt;\
  4498. color:gray;\
  4499. padding: 1px 10px;\
  4500. margin: 0px 0;display:inline-block;\
  4501. min-width:100px;\
  4502. }\
  4503. #rednote {\
  4504. font-size:7pt;\
  4505. color:red;\
  4506. padding: 1px 10px;\
  4507. margin: 0px 0;display:inline-block;\
  4508. }\
  4509. #configinfo {\
  4510. font-size:8pt;\
  4511. color:gray;\
  4512. padding: 1px 10px;\
  4513. margin: 0px 0;display:inline-block;width:60em;\
  4514. }\
  4515. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4516. color:black;\
  4517. border-style: solid;\
  4518. border-width: 1px;\
  4519. border-color: gray;\
  4520. }\
  4521. #h3hideshowcontent {\
  4522. min-height:220px;\
  4523. max-height:220px;\
  4524. overflow:auto;\
  4525. display: none;\
  4526. padding: 10px 10px;\
  4527. }\
  4528. #specinfo{\
  4529. font-size:14px;\
  4530. }\
  4531. .warlc-ui-tab {\
  4532. height:300px;\
  4533. overflow:auto;\
  4534. }\
  4535. #warlcsitelist2, #warlcsitelist1 {\
  4536. height:220px;\
  4537. border-top: 1px solid #ddd;\
  4538. padding-top: 5px;\
  4539. overflow:auto;\
  4540. }\
  4541. input:hover+label {\
  4542. background:#F1F77C;\
  4543. font-size:110%;\
  4544. }\
  4545. ';
  4546.  
  4547. GM_addStyle(configcss);
  4548.  
  4549. var customRulesRefHTML =
  4550. '\
  4551. <br>\
  4552. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4553. <b>@keyword</b> <i>parameter</i>\
  4554. <br><br>\
  4555. 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. \
  4556. <br><br>\
  4557. 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.\
  4558. 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.\
  4559. 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.\
  4560. 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,\
  4561. but all commands until the next valid @customrule are ignored.<br><br>\
  4562. Available forms and types:\
  4563. <ul>\
  4564. <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.\
  4565. <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.\
  4566. <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.\
  4567. <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.\
  4568. </ul>\
  4569. Other available commands:<br>\
  4570. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4571. <ul>\
  4572. <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.\
  4573. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4574. <ul>examples:<br>\
  4575. <li>good: <i>filehost.com/download/</i><br>\
  4576. <li>good: <i>download.filehost.net/?d=</i><br>\
  4577. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4578. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4579. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4580. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4581. <li>bad: <i>filehost.com</i> - no slash<br>\
  4582. </ul>\
  4583. \
  4584. <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.\
  4585. 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 \
  4586. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4587. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4588. 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.)\
  4589. Two spaces again match any whitespace.\
  4590. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4591. Two spaces again match any whitespace.\
  4592. <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. \
  4593. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4594. </ul>\
  4595. \
  4596. ';
  4597.  
  4598. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4599. var configurationinnerHTML =
  4600. '<div id="fade"></div>\
  4601. <div class="popup_block">\
  4602. <div class="popup">\
  4603. <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/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5RK8ctlKq6ZpHFSKdBzCwSVjQRILAzh3508TPe29dbl6ZibiB/lrQeWBG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Oser1sdtP9kZeBTUBZPIY/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>\
  4605. <div id="warlc-conf-tabs">\
  4606. <ul>\
  4607. <li><a href="#tabs-1">Filehostings</a></li>\
  4608. <li><a href="#tabs-2">Containers</a></li>\
  4609. <li><a href="#tabs-5">Custom rules</a></li>\
  4610. <li><a href="#tabs-3">Settings</a></li>\
  4611. <li><a href="#tabs-4">About</a></li>\
  4612. </ul>\
  4613. <div id="tabs-1" class="warlc-ui-tab">\
  4614. <div class="warlc-ui-buttonset">\
  4615. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4616. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4617. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4618. </div><br>\
  4619. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4620. <div id="warlcsitelist1"><span>Empty</span></div>\
  4621. </div>\
  4622. <div id="tabs-2" class="warlc-ui-tab">\
  4623. <div class="warlc-ui-buttonset">\
  4624. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4625. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4626. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4627. </div><br>\
  4628. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4629. <div id="warlcsitelist2"><span>Empty</span></div>\
  4630. </div>\
  4631. <div id="tabs-5" class="warlc-ui-tab">\
  4632. <div class="warlcsettings">\
  4633. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4634. <br>\
  4635. <div>Edit custom rules: \
  4636. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4637. <div id="customRulesReference" style="display:none;">'
  4638. + customRulesRefHTML + '\
  4639. </div>\
  4640. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4641. </div>\
  4642. </div>\
  4643. </div>\
  4644. <div id="tabs-3" class="warlc-ui-tab">\
  4645. <div class="warlcsettings">\
  4646. <fieldset>\
  4647. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4648. <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>\
  4649. </fieldset>\
  4650. <fieldset>\
  4651. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4652. <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>\
  4653. <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>\
  4654. <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>\
  4655. <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>\
  4656. <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>\
  4657. <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>\
  4658. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4659. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4660. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4661. <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>\
  4662. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4663. <fieldset>\
  4664. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4665. <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>\
  4666. <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>\
  4667. <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>\
  4668. </fieldset>\
  4669. </fieldset>\
  4670. <fieldset>\
  4671. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4672. </fieldset>\
  4673. <fieldset>\
  4674. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4675. </fieldset>\
  4676. <fieldset>\
  4677. <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>\
  4678. </fieldset>\
  4679. <fieldset>\
  4680. <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>\
  4681. </fieldset>\
  4682. <fieldset>\
  4683. <legend>Progress box settings</legend>\
  4684. <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>\
  4685. <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>\
  4686. <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>\
  4687. </fieldset>\
  4688. </div>\
  4689. </div>\
  4690. <div id="tabs-4" class="warlc-ui-tab">\
  4691. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4692. <br />\
  4693. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4694. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4695. <br />\
  4696. <p><b>Currently supported:</b><br>\
  4697. Filehostings: ' + allHostNames.length + '<br />\
  4698. Containers: ' + allContainerNames.length + '<br />\
  4699. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4700. <br />\
  4701. <p><b>Based on:</b><br>\
  4702. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4703. <br />\
  4704. <p><b>Uses:</b></p>\
  4705. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4706. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4707. <br />\
  4708. <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>\
  4709. </div>\
  4710. </div>\
  4711. </div>\
  4712. </div>';
  4713. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4714. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4715. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4716. var elmHostList = document.getElementById("warlcsitelist1");
  4717. var elmContainerList = document.getElementById("warlcsitelist2");
  4718. buildSettings();
  4719. buildSitelist("", allHostNames, elmHostList);
  4720. buildSitelist("", allContainerNames, elmContainerList);
  4721. if (DEBUG_MODE)
  4722. {
  4723. //log all sites availability status
  4724. diagSites();
  4725. }
  4726. //handler for checkbox state change
  4727. function changeConfiguration(e)
  4728. {
  4729. var element = e.target;
  4730.  
  4731. if (element.type == 'checkbox')
  4732. {
  4733. if (element.checked == 1)
  4734. {
  4735. GM_setValue(element.id, true);
  4736. }
  4737. else
  4738. {
  4739. GM_setValue(element.id, false);
  4740. }
  4741.  
  4742. }
  4743. setVariables();
  4744. }
  4745.  
  4746. //Selects all filehosting checkboxes
  4747. function selectAll()
  4748. {
  4749. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4750. .each(function(index, element){GM_setValue(this.id, true)});
  4751. }
  4752.  
  4753. //Deselects all filehosting checkboxes
  4754. function selectNone()
  4755. {
  4756. $(":checkbox:visible:checked").prop("checked",false)
  4757. .each(function(index, element){GM_setValue(this.id, false)});
  4758. }
  4759. //Sets Processbox position setting
  4760. function changeProgBox(event) {
  4761. var setting;
  4762. switch(event.data.set) {
  4763. case "X": setting = "Processbox_Pos_X"; break;
  4764. case "Y": setting = "Processbox_Pos_Y"; break;
  4765. case "Scale": setting = "Progressbox_Scaling"; break;
  4766. }
  4767. var $setting = $("#" + setting);
  4768. var newSet = $setting.val().replace("%", "");
  4769. GM_setValue(setting, newSet);
  4770. }
  4771. //Sets value of Processbox position
  4772. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4773. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4774. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4775.  
  4776. //Inverts filehosting checkboxes selection
  4777. function selectInvert()
  4778. {
  4779. var $checked = $(":checkbox:visible:checked");
  4780. var $unchecked = $(":checkbox:visible:not(:checked)");
  4781. $unchecked.prop("checked",true)
  4782. .each(function(index, element){GM_setValue(this.id, true)});
  4783. $checked.prop("checked",false)
  4784. .each(function(index, element){GM_setValue(this.id, false)});
  4785. }
  4786. //toggles anonymizer on off
  4787. function Enable_Anonymizer()
  4788. {
  4789. var $checked = $(":checkbox:visible:checked");
  4790. var $unchecked = $(":checkbox:visible:not(:checked)");
  4791. $unchecked.prop("checked",true)
  4792. .each(function(index, element){GM_setValue(this.id, true)});
  4793. $checked.prop("checked",false)
  4794. .each(function(index, element){GM_setValue(this.id, false)});
  4795. }
  4796.  
  4797. function changeRefAnonymizer(){
  4798. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4799. }
  4800.  
  4801. //Sets live links color
  4802. function changeColorLive()
  4803. {
  4804. var inColorLive = document.getElementById("inputColorLive");
  4805. inColorLive.style.background = inColorLive.value;
  4806. GM_setValue("Live_links_color", inColorLive.value);
  4807. }
  4808.  
  4809. //Sets dead links color
  4810. function changeColorDead()
  4811. {
  4812. var inColorDead = document.getElementById("inputColorDead");
  4813. inColorDead.style.background = inColorDead.value;
  4814. GM_setValue("Dead_links_color", inColorDead.value);
  4815. }
  4816.  
  4817. //Sets temp. unavailable links color
  4818. function changeColorTemp()
  4819. {
  4820. var inColorTemp = document.getElementById("inputColorTemp");
  4821. inColorTemp.style.background = inColorTemp.value;
  4822. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4823. }
  4824.  
  4825. //Sets temp. unavailable links color
  4826. function changeColorCont()
  4827. {
  4828. var inColorCont = document.getElementById("inputColorCont");
  4829. inColorCont.style.background = inColorCont.value;
  4830. GM_setValue("Container_links_color", inColorCont.value);
  4831. }
  4832. //Sets premium. links color
  4833. function changeColorprem()
  4834. {
  4835. var inColorprem = document.getElementById("inputColorprem");
  4836. inColorprem.style.background = inColorprem.value;
  4837. GM_setValue("Premium_links_color", inColorprem.value);
  4838. }
  4839.  
  4840. //Diagnose sites for availability
  4841. function diagSites()
  4842. {
  4843. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4844.  
  4845. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4846. {
  4847. if (boxes[i].type == "checkbox")
  4848. {
  4849. checkAvailability(boxes[i]);
  4850. }
  4851. }
  4852.  
  4853. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4854.  
  4855. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4856. {
  4857. if (boxes[i].type == "checkbox")
  4858. {
  4859. checkAvailability(boxes[i]);
  4860. }
  4861. }
  4862.  
  4863. function checkAvailability(cbElm)
  4864. {
  4865. var cb = cbElm;
  4866. GM_xmlhttpRequest(
  4867. {
  4868. method: 'HEAD',
  4869. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4870. headers: {
  4871. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4872. 'Accept': 'text/xml',
  4873. 'Referer': ""
  4874. },
  4875. onload: function (result)
  4876. {
  4877. if (result.status != 200)
  4878. {
  4879. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4880. }
  4881. },
  4882. onerror: function (result)
  4883. {
  4884. if (result.status != 200)
  4885. {
  4886. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4887. //Sets Progress_box position setting
  4888. function changeProgBox(event) {
  4889. var setting;
  4890. switch(event.data.set) {
  4891. case "X": setting = "Progress_box_Pos_X"; break;
  4892. case "Y": setting = "Progress_box_Pos_Y"; break;
  4893. case "Scale": setting = "Progress_box_Scaling"; break;
  4894. }
  4895.  
  4896. var $setting = $("#" + setting);
  4897. var newSet = $setting.val().replace("%", "");
  4898. lsSetVal("general", setting, newSet);
  4899. }
  4900.  
  4901. //Sets value of Progress_box position
  4902. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4903. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4904. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4905. }
  4906. }
  4907. });
  4908. }
  4909. }
  4910. function buildSettings()
  4911. {
  4912. $(".warlcsettings :checkbox").each(function(){
  4913. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4914. .click(function(e){
  4915. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4916. setVariables();
  4917. });
  4918. })
  4919. }
  4920. //Dynamic build of host list
  4921. //param search [string] searches for hostnames matching search substring
  4922. //param siteNames [array] array of site names
  4923. //param targetNode [DOM Node] where the list should be built
  4924. // first child node is replaced
  4925. function buildSitelist(search, siteNames, targetNode)
  4926. {
  4927. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4928. var $targetNode = $(targetNode).empty();
  4929. var searchedSite = "";
  4930. $.each(siteNames, function(i, site){
  4931. if (searchedSite = site.match(searchRegex))
  4932. {
  4933. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4934. //ensuring backward compatibility with the rest of code, to be refactored later
  4935. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4936. //
  4937. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4938. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4939. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4940. );
  4941. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4942. .change(changeConfiguration);
  4943. $targetNode.append('<br />');
  4944. }
  4945. });
  4946. $targetNode.append("<hr>");
  4947. //obsolete hosts checkbox
  4948. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4949. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4950. .change(changeConfiguration);
  4951. $targetNode.append('<br />');
  4952. var foundName = "";
  4953. $.each(allObsoleteNames, function(i, site){
  4954. if (foundName = allObsoleteNames[i].match(searchRegex))
  4955. {
  4956. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4957. }
  4958. })
  4959. }
  4960. var hostSearchBox = document.getElementById("hostSearchBox");
  4961. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4962. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4963. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4964. $(".warlc-ui-select-all").click(selectAll).button();
  4965. $(".warlc-ui-select-none").click(selectNone).button();
  4966. $(".warlc-ui-select-invert").click(selectInvert).button();
  4967. $(".warlc-ui-buttonset").buttonset();
  4968. var inColorLive = document.getElementById("inputColorLive");
  4969. inColorLive.addEventListener('keyup', changeColorLive, false);
  4970.  
  4971. var inColorDead = document.getElementById("inputColorDead");
  4972. inColorDead.addEventListener('keyup', changeColorDead, false);
  4973.  
  4974. var inColorTemp = document.getElementById("inputColorTemp");
  4975. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4976.  
  4977. var inColorCont = document.getElementById("inputColorCont");
  4978. inColorCont.addEventListener('keyup', changeColorCont, false);
  4979. var inColorprem = document.getElementById("inputColorprem");
  4980. inColorprem.addEventListener('keyup', changeColorprem, false);
  4981. $("#refAnonymizer").change(changeRefAnonymizer);
  4982. //buttons and edit boxes init end
  4983.  
  4984. //icon sets radio buttons
  4985. var radioButtons = document.getElementsByName("warlciconset");
  4986. radioButtons[Icon_set].checked = "checked";
  4987.  
  4988. radioButtons[0].addEventListener("change", updateIconSet);
  4989. radioButtons[1].addEventListener("change", updateIconSet);
  4990. radioButtons[2].addEventListener("change", updateIconSet);
  4991. radioButtons[3].addEventListener("change", updateIconSet);
  4992. function updateIconSet()
  4993. {
  4994. GM_setValue("Icon_set", this.value * 1);
  4995. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  4996. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  4997. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  4998. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  4999. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5000.  
  5001. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5002. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5003.  
  5004. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5005. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5006. }
  5007. //
  5008. $('#showCustomRulesReference').click(function(e){
  5009. e.preventDefault();
  5010. $('#customRulesReference').toggle();
  5011. });
  5012. $('#Custom_rules_text')
  5013. .val(Custom_rules_text)
  5014. .change(saveCustomRules);
  5015. function saveCustomRules(e)
  5016. {
  5017. var cr = parseCustomRules(this.value);
  5018. if (cr.info.length)
  5019. 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, ' '));
  5020. GM_setValue('Custom_rules_text', this.value);
  5021. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5022. }
  5023. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5024. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5025. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5026. }
  5027.  
  5028. //begin standard link checking algorithm
  5029. function start(filterId)
  5030. {
  5031. var doNotLinkify = Do_not_linkify_DL_links;
  5032.  
  5033. // USER SELECTED FILE HOSTS INITIALIZATION START
  5034. var http_file_hosts = new Array(); //standard hostings
  5035. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5036. var http_file_hosts_obsolete = new Array(); //dead hostings
  5037. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5038.  
  5039. initFileHosts();
  5040. initFileHostsHeadersOnly();
  5041. initFileHostsCustom(); //CustomRules
  5042. // USER SELECTED FILE HOSTS INITIALIZATION END
  5043.  
  5044. // LINKIFICATION START
  5045. var totalxpath = '';
  5046. var totalxpathcoded = '';
  5047. var totalxpathobsolete = '';
  5048. var totalxpathheadersonly = '';
  5049. var totalourls = '';
  5050.  
  5051. var filehostLen = http_file_hosts.length;
  5052. var filehostCodedLen = http_file_hosts_coded.length;
  5053. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5054. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5055.  
  5056. var filehostIdx = filehostLen;
  5057. var filehostCodedIdx = filehostCodedLen;
  5058. var filehostObsoleteIdx = filehostObsoleteLen;
  5059. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5060.  
  5061. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5062. return;
  5063.  
  5064. while (filehostIdx--)
  5065. {
  5066. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5067. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5068. }
  5069.  
  5070. while (filehostCodedIdx--)
  5071. {
  5072. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5073. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5074. }
  5075.  
  5076. while (filehostObsoleteIdx--)
  5077. {
  5078. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5079. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5080. }
  5081.  
  5082. while (filehostHeadersOnlyIdx--)
  5083. {
  5084. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5085. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5086. }
  5087.  
  5088. totalourls = totalourls.replace(/\|$/g, "");
  5089. //TODO: further refactoring needed
  5090. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5091. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5092. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5093. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5094. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5095. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5096. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5097. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5098. if (filterId != null) //insert id restriction in the xpath
  5099. {
  5100. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5101. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5102. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5103. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5104. }
  5105. else
  5106. {
  5107. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5108. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5109. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5110. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5111. }
  5112. linkify(totalourls);
  5113. //LINKIFICATION END
  5114. //ENCRYPTED LINKS PROCESSING START
  5115. if (http_file_hosts_coded.length > 0)
  5116. {
  5117. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5118.  
  5119. // decrypt coded links (redirects, link protectors etc.)
  5120. if (linksCoded.snapshotLength > 0)
  5121. {
  5122. var link;
  5123. var reallinkreg;
  5124. var reallinkcorrection;
  5125.  
  5126. if (filterId == null)
  5127. {
  5128. cLinksTotal += linksCoded.snapshotLength;
  5129. }
  5130.  
  5131. var y = linksCoded.snapshotLength - 1;
  5132. do
  5133. {
  5134. // linksCoded.snapshotItem(y).id = 'processing_link';
  5135. link = linksCoded.snapshotItem(y);
  5136. filehostIdx = filehostCodedLen;
  5137. while (filehostIdx--)
  5138. {
  5139. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5140. {
  5141. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5142. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5143. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5144.  
  5145. decurl(link, reallinkreg, reallinkcorrection);
  5146. break;
  5147. }
  5148. }
  5149. }
  5150. while (y--);
  5151. }
  5152. }
  5153. //ENCRYPTED LINKS PROCESSING END
  5154.  
  5155. //STANDARD LINKCHECKING START
  5156. if (http_file_hosts.length > 0)
  5157. {
  5158. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5159.  
  5160. if (filterId == null)
  5161. {
  5162. cLinksTotal += lianks.snapshotLength;
  5163. }
  5164.  
  5165. if (lianks.snapshotLength > 0)
  5166. {
  5167. var link;
  5168.  
  5169. var URL = "";
  5170. var name = "";
  5171. var isAliveRegex = "";
  5172. var isDeadRegex = "";
  5173. var isUnavaRegex = "";
  5174. var ispremRegex = "";
  5175. var tryLoop = false;
  5176.  
  5177. var y = lianks.snapshotLength;
  5178.  
  5179. while (y--)
  5180. {
  5181. link = lianks.snapshotItem(y);
  5182.  
  5183. filehostIdx = filehostLen;
  5184. while (filehostIdx--)
  5185. {
  5186. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5187. {
  5188. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5189. isAliveRegex = http_file_hosts[filehostIdx][1];
  5190. isDeadRegex = http_file_hosts[filehostIdx][2];
  5191. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5192. ispremRegex = http_file_hosts[filehostIdx][6];
  5193. tryLoop = http_file_hosts[filehostIdx][5];
  5194.  
  5195. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5196.  
  5197. break;
  5198. }
  5199. }
  5200. }
  5201. }
  5202. }
  5203. //STANDARD LINKCHECKING END
  5204. //OBSOLETE FILE HOSTS PROCESSING START
  5205. if (filehostObsoleteLen > 0)
  5206. {
  5207. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5208.  
  5209. var obsoleteLink;
  5210.  
  5211. //check links
  5212. if (obsoletelinks.snapshotLength > 0)
  5213. {
  5214. var y = obsoletelinks.snapshotLength;
  5215.  
  5216. if (filterId == null)
  5217. {
  5218. cLinksTotal += y;
  5219. }
  5220.  
  5221. while (y--)
  5222. {
  5223. obsoleteLink = obsoletelinks.snapshotItem(y);
  5224.  
  5225. if (Display_tooltip_info)
  5226. {
  5227. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5228. }
  5229. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5230. }
  5231. }
  5232. }
  5233. //OBSOLETE FILE HOSTS PROCESSING END
  5234.  
  5235. //DIRECT LINKCHECKING START
  5236. if (http_file_hosts_headers_only.length > 0)
  5237. {
  5238. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5239.  
  5240. //check links
  5241. if (links.snapshotLength > 0)
  5242. {
  5243. var link;
  5244. var isAliveRegex;
  5245. var isDeadRegex;
  5246. var ispremRegex;
  5247.  
  5248. var y = links.snapshotLength;
  5249.  
  5250.  
  5251. if (filterId == null)
  5252. {
  5253. cLinksTotal += y;
  5254. }
  5255.  
  5256. while (y--)
  5257. {
  5258. // links.snapshotItem(y).id = 'processing_link';
  5259. link = links.snapshotItem(y);
  5260. filehostIdx = filehostHeadersOnlyLen;
  5261. while (filehostIdx--)
  5262. {
  5263. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5264. {
  5265. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5266. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5267. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5268. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5269.  
  5270. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5271.  
  5272. break;
  5273. }
  5274. }
  5275. }
  5276.  
  5277. }
  5278. }
  5279. //DIRECT LINKCHECKING END
  5280.  
  5281.  
  5282. //finds the real url on the page, replaces link.href with it and calls geturl
  5283. function decurl(link, reallinkreg, reallinkcorrection)
  5284. {
  5285.  
  5286. GM_xmlhttpRequest(
  5287. {
  5288. method: 'GET',
  5289. url: link.href,
  5290. headers: {
  5291. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5292. 'Accept': 'text/xml',
  5293. 'Referer': ""
  5294. },
  5295. onload: function (result)
  5296. {
  5297. // cLinksProcessed++;
  5298.  
  5299. var reallink = result.responseText.match(reallinkreg)[0];
  5300. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5301.  
  5302. link.href = reallink;
  5303.  
  5304. var i = http_file_hosts.length - 1;
  5305. do
  5306. {
  5307. if ((reallink.match(http_file_hosts[i][0])))
  5308. {
  5309. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5310. var isAliveRegex = http_file_hosts[i][1];
  5311. var isDeadRegex = http_file_hosts[i][2];
  5312. var isUnavaRegex = http_file_hosts[i][3];
  5313. var ispremRegex = http_file_hosts[i][4];
  5314.  
  5315. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5316.  
  5317. break;
  5318. }
  5319. }
  5320. while (i--);
  5321. }
  5322. });
  5323. }
  5324.  
  5325. function randUA()
  5326. {
  5327. //TODO
  5328. }
  5329. //Processes link
  5330. //
  5331. // [string] link link URL
  5332. // [string] isAliveRegex alive link regex
  5333. // [string] isDeadRegex dead link regex
  5334. // [string] isUnavaRegex unavailable link regex
  5335. // [string] ispremRegex premium link regex
  5336. // [boolean] tryLoop repeats request until succeeded
  5337. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5338. {
  5339. GM_xmlhttpRequest(
  5340. {
  5341. method: 'GET',
  5342. url: link.href,
  5343. headers: {
  5344. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5345. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5346. 'Referer': ""
  5347. },
  5348. onload: function (result)
  5349. {
  5350. var res = result.responseText;
  5351. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5352. {
  5353. displayTheCheckedLink(link, 'alive_link');
  5354. return;
  5355. }
  5356.  
  5357. if (res.match(isAliveRegex))
  5358. {
  5359. displayTheCheckedLink(link, 'alive_link');
  5360. return;
  5361. }
  5362.  
  5363. if (res.match(isDeadRegex))
  5364. {
  5365. displayTheCheckedLink(link, 'adead_link');
  5366. return;
  5367. }
  5368.  
  5369. if (isUnavaRegex && res.match(isUnavaRegex))
  5370. {
  5371. displayTheCheckedLink(link, 'unava_link');
  5372. return;
  5373. }
  5374. if (res.match(ispremRegex))
  5375. {
  5376. displayTheCheckedLink(link, 'prem_link');
  5377. return;
  5378. }
  5379.  
  5380. var resStatus = result.status;
  5381.  
  5382. if (resStatus == 404)
  5383. {
  5384. displayTheCheckedLink(link, 'adead_link');
  5385. }
  5386. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5387. {
  5388. if (tryLoop)
  5389. {
  5390. //wait 1-5 seconds and repeat the request
  5391. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5392. }
  5393. else
  5394. {
  5395. displayTheCheckedLink(link, 'unava_link');
  5396. }
  5397.  
  5398. return;
  5399. }
  5400. },
  5401. onerror: function ()
  5402. {
  5403. displayTheCheckedLink(link, 'unava_link');
  5404. }
  5405. });
  5406. }
  5407.  
  5408. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5409. {
  5410. GM_xmlhttpRequest(
  5411. {
  5412. method: 'HEAD',
  5413. url: link.href,
  5414. headers: {
  5415. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5416. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5417. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5418. 'Referer': ""
  5419. },
  5420. onload: function (result)
  5421. {
  5422. var resStatus = result.status;
  5423. var resHeaders = "";
  5424. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5425. {
  5426. displayTheCheckedLink(link, 'adead_link');
  5427. return;
  5428. }
  5429.  
  5430. resHeaders = result.responseHeaders;
  5431.  
  5432. if (resHeaders.match(isDeadRegex))
  5433. {
  5434. displayTheCheckedLink(link, 'adead_link');
  5435. return;
  5436. }
  5437.  
  5438. if (resHeaders.match(isAliveRegex))
  5439. {
  5440. displayTheCheckedLink(link, 'alive_link');
  5441. return;
  5442. }
  5443. if (resHeaders.match(ispremRegex))
  5444. {
  5445. displayTheCheckedLink(link, 'prem_link');
  5446. return;
  5447. }
  5448. },
  5449. onerror: function ()
  5450. {
  5451. displayTheCheckedLink(link, 'unava_link');
  5452. }
  5453. });
  5454. }
  5455.  
  5456. //Delinkfifies the <a> element object
  5457. function delinkifyLink(link)
  5458. {
  5459. var spanElm = document.createElement("span");
  5460. spanElm.className = link.className;
  5461. spanElm.innerHTML = link.innerHTML;
  5462.  
  5463. if (Display_tooltip_info)
  5464. {
  5465. spanElm.href = link.href;
  5466. spanElm.warlc_error = link.warlc_error;
  5467. switch (link.className){
  5468. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5469. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5470. case "unava_link": //reserved
  5471. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5472. default:
  5473. }
  5474. }
  5475. link.parentNode.replaceChild(spanElm, link);
  5476. }
  5477.  
  5478. //Assigns result status to the <a> element object and calls delinkifying eventually
  5479. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5480. function displayTheCheckedLink(link, resultStatus)
  5481. {
  5482. link.className = resultStatus;
  5483. link.href = Ref_anonymize_service + link.href;
  5484. if (Display_tooltip_info)
  5485. {
  5486. switch (resultStatus){
  5487. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5488. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5489. case "unava_link": //reserved
  5490. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5491. default:
  5492. }
  5493. }
  5494. if (doNotLinkify)
  5495. {
  5496. delinkifyLink(link);
  5497. }
  5498. cLinksProcessed++;
  5499.  
  5500. if (resultStatus == "alive_link")
  5501. {
  5502. cLinksAlive++;
  5503. return;
  5504. }
  5505.  
  5506. if (resultStatus == "adead_link")
  5507. {
  5508. cLinksDead++;
  5509. return;
  5510. }
  5511.  
  5512. if (resultStatus == "unava_link")
  5513. {
  5514. cLinksUnava++;
  5515. }
  5516. if (resultStatus == "prem_link")
  5517. {
  5518. cLinksprem++;
  5519. return;
  5520. }
  5521. }
  5522.  
  5523.  
  5524. function initFileHosts()
  5525. {
  5526.  
  5527. function addObsoleteHost(linkRegex, xpathEx)
  5528. {
  5529. var host = new Array(2);
  5530. host[0] = linkRegex;
  5531. host[1] = xpathEx;
  5532. http_file_hosts_obsolete.push(host);
  5533. }
  5534.  
  5535. //obsolete file hosts init start
  5536. if (Obsolete_file_hosts)
  5537. {
  5538. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5539. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5540. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5541. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5542. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5543. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5544. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5545. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5546. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5547. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5548. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5549. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5550. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5551. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5552. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5553. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5554. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5555. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5556. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5557. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5558. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5559. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5560. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5561. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5562. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5563. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5564. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5565. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5566. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5567. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5568. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5569. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5570. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5571. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5572. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5573. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5574. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5575. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5576. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5577. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5578. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5579. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5580. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5581. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5582. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5583. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5584. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5585. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5586. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5587. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5588. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5589. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5590. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5591. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5592. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5593. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5594. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5595. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5596. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5597. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5598. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5599. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5600. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5601. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5602. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5603. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5604. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5605. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5606. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5607. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5608. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5609. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5610. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5611. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5612. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5613. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5614. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5615. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5616. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5617. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5618. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5619. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5620. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5621. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5622. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5623. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5624. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5625. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5626. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5627. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5628. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5629. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5630. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5631. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5632. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5633. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5634. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5635. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5636. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5637. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5638. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5639. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5640. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5641. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5642. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5643. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5644. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5645. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5646. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5647. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5648. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5649. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5650. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5651. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5652. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5653. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5654. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5655. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5656. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5657. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5658. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5659. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5660. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5661. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5662. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5663. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5664. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5665. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5666. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5667. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5668. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5669. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5670. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5671. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5672. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5673. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5674. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5675. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5676. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5677. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5678. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5679. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5680. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5681. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5682. 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')]");
  5683. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5684. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5685. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5686. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5687. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5688. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5689. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5690. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5691. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5692. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5693. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5694. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5695. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5696. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5697. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5698. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5699. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5700. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5701. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5702. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5703. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5704. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5705. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5706. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5707. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5708. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5709. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5710. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5711. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5712. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5713. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5714. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5715. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5716. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5717. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5718. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5719. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5720. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5721. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5722. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5723. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5724. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5725. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5726. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5727. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5728. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5729. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5730. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5731. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5732. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5733. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5734. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5735. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5736. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5737. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5738. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5739. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5740. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5741. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5742. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5743. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5744. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5745. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5746. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5747. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5748. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5749. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5750. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5751. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5752. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5753. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5754. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5755. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5756. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5757. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5758. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5759. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5760. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5761. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5762. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5763. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5764. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5765. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5766. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5767. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5768. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5769. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5770. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5771. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5772. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5773. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5774. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5775. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5776. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5777. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5778. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5779. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5780. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5781. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5782. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5783. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5784. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5785. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5786. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5787. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5788. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5789. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5790. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5791. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5792. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5793. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5794. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5795. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5796. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5797. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5798. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5799. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5800. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5801. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5802. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5803. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5804. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5805. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5806. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5807. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5808. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5809. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5810. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5811. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5812. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5813. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5814. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5815. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5816. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5817. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5818. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5819. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5820. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5821. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5822. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5823. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5824. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5825. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5826. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5827. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5828. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5829. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5830. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5831. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5832. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5833. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5834. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5835. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5836. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5837. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5838. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5839. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5840. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5841. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5842. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5843. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5844. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5845. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5846. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5847. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5848. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5849. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5850. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5851. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5852. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5853. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5854. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5855. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5856. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5857. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5858. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5859. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5860. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5861. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5862. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5863. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5864. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5865. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5866. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5867. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5868. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5869. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5870. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5871. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5872. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5873. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5874. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5875. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5876. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5877. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5878. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5879. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5880. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5881. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5882. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5883. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5884. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5885. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5886. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5887. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5888. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5889. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5890. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5891. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5892. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5893. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5894. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5895. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5896. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5897. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5898. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5899. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5900. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5901. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5902. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5903. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5904. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5905. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5906. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5907. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5908. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5909. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5910. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5911. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5912. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5913. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5914. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5915. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5916. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5917. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5918. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5919. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5920. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5921. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5922. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5923. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5924. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5925. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5926. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5927. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5928. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5929. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5930. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5931. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5932. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5933. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5934. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5935. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5936. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5937. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5938. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5939. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5940. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5941. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5942. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5943. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5944. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5945. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5946. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5947. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5948. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5949. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5950. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5951. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5952. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5953. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5954. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5955. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5956. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5957. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5958. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5959. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5960. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5961. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5962. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5963. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5964. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5965. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5966. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5967. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5968. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5969. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5970. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5971. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5972. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5973. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5974. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5975. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5976. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5977. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5978. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5979. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5980. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5981. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5982. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5983. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5984. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5985. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5986. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5987. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5988. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5989. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5990. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5991. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5992. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5993. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5994. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5995. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5996. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5997. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5998. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5999. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6000. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6001. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6002. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6003. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6004. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6005. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6006. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6007. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6008. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6009. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6010. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6011. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6012. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6013. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6014. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6015. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6016. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6017. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6018. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6019. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6020. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6021. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6022. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6023. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6024. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6025. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6026. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6027. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6028. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6029. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6030. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6031. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6032. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6033. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6034. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6035. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6036. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6037. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6038. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6039. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6040. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6041. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6042. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6043. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6044. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6045. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6046. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6047. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6048. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6049. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6050. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6051. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6052. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6053. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6054. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6055. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6056. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6057. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6058. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6059. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6060. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6061. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6062. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6063. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6064. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6065. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6066. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6067. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6068. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6069. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6070. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6071. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6072. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6073. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6074. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6075. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6076. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6077. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6078. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6079. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6080. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6081.  
  6082. // obsolete start start2
  6083. }
  6084. //obsolete file hosts init end
  6085. //Add Host Example
  6086. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6087. {
  6088. addFileHost(
  6089. "datafile\.com\/\\w+",
  6090. 'var captchaPanel|<link href="/css/files_download.css"',
  6091. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6092. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6093. '<style type="text/css">',
  6094. "//a[contains(@href,'datafile.com')]",
  6095. true);
  6096. } */
  6097.  
  6098. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6099. {
  6100. var host = new Array(7);
  6101. host[0] = linkRegex;
  6102. host[1] = isAliveRegex;
  6103. host[2] = isDeadRegex;
  6104. host[3] = isUnavaRegex;
  6105. host[6] = ispremRegex;
  6106. host[4] = xpathEx;
  6107. tryLoop ? host[5] = true : host[5] = false;
  6108. http_file_hosts.push(host);
  6109. }
  6110. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6111. {
  6112. addFileHost(
  6113. "megafileupload\.com\/..\/file\/",
  6114. 'downloadbtn',
  6115. 'is not found',
  6116. 'optional--',
  6117. 'optional2--',
  6118. "//a[contains(@href,'megafileupload.com')]");
  6119. }
  6120. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6121. {
  6122. addFileHost(
  6123. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6124. 'download\\.gif"',
  6125. 'p_point">',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'demo.ovh.eu')]");
  6129. }*/
  6130. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6131. {
  6132. addFileHost(
  6133. "safelinking\\.net\/p\/\\w+",
  6134. 'color:green;"',
  6135. 'color:(?:red|orange);"',
  6136. 'color:(?:grey|brown);"',
  6137. 'optional2--',
  6138. "//a[contains(@href,'safelinking.net/p/')]",
  6139. true);
  6140. }
  6141. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6142. {
  6143. addFileHost(
  6144. "fastshare\\.cz\/\\d+\/\\w*",
  6145. 'dwntable">|speed-low',
  6146. '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',
  6147. 'optional--',
  6148. 'optional2--',
  6149. "//a[contains(@href,'fastshare.cz')]");
  6150. }
  6151. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6152. {
  6153. addFileHost(
  6154. "[fF]ast[sS]hare\\.org\/download",
  6155. 'Download ">',
  6156. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6157. 'optional--',
  6158. 'optional2--',
  6159. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6160. }
  6161. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6162. {
  6163. addFileHost(
  6164. "partage-facile\.com\/\\w+",
  6165. 'class="title"><strong>|colspan="2"',
  6166. 'Page introuvable|class="alert-message',
  6167. 'optional--',
  6168. 'optional2--',
  6169. "//a[contains(@href,'partage-facile.com')]");
  6170. }
  6171. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6172. {
  6173. addFileHost(
  6174. "rapidgator\\.net\/file\/\\w+",
  6175. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6176. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6177. 'optional--',
  6178. 'can be downloaded by premium only|la taille maximale des fichiers téléchargeables est de 1 GB|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito',
  6179. "//a[contains(@href,'rapidgator.net/file')]",
  6180. true
  6181. );
  6182. }
  6183. if (GM_getValue("Check_rg_dot_to_links", false))
  6184. {
  6185. addFileHost(
  6186. "rg\.to\/\\w+",
  6187. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6188. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6189. 'optional--',
  6190. 'can be downloaded by premium only|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6191. "//a[contains(@href,'rg.to')]");
  6192. }
  6193. if (GM_getValue("Check_relink_dot_us_links", false))
  6194. {
  6195. addFileHost(
  6196. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6197. 'online_detail\\.png" alt="Status',
  6198. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6199. 'unknown_detail\\.png" alt="Status',
  6200. 'optional2--',
  6201. "//a[contains(@href,'relink.us/')]"
  6202. );
  6203. }
  6204. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6205. {
  6206. addFileHost(
  6207. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6208. 'div id="dl"',
  6209. 'Sie haben den Link falsch',
  6210. 'optional--',
  6211. 'optional2--',
  6212. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6213. );
  6214. }
  6215. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6216. {
  6217. addFileHost(
  6218. "flyfiles\\.net\/\\w+",
  6219. 'download_button"|"Download file"',
  6220. 'File not found!|Файл не найден',
  6221. 'optional--',
  6222. 'optional2--',
  6223. "//a[contains(@href,'flyfiles.net/')]"
  6224. );
  6225. }
  6226. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6227. {
  6228. addFileHost(
  6229. "wikiupload\\.com\/\\w+",
  6230. 'download-button">',
  6231. 'Sorry, File not found',
  6232. 'optional--',
  6233. 'optional2--',
  6234. "//a[contains(@href,'wikiupload.com/')]"
  6235. );
  6236. }
  6237. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6238. {
  6239. addFileHost(
  6240. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6241. 'file\\.php">|Pobierz Plik',
  6242. 'Podany plik nie zosta',
  6243. 'optional--',
  6244. 'optional2--',
  6245. "//a[contains(@href,'hostuje.net/file')]"
  6246. );
  6247. }
  6248. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6249. {
  6250. addFileHost(
  6251. "gettyfile\\.ru\/\\d+",
  6252. 'download\\.gif border',
  6253. '<center><font size="3">',
  6254. 'optional--',
  6255. 'optional2--',
  6256. "//a[contains(@href,'gettyfile.ru/')]"
  6257. );
  6258. }
  6259. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6260. {
  6261. addFileHost(
  6262. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6263. 'download\\-file">',
  6264. 'col-1">\\s*<h1>',
  6265. 'optional--',
  6266. 'optional2--',
  6267. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6268. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6269. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6270. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6271. );
  6272. }
  6273. if (GM_getValue("Check_data_dot_hu_links", false))
  6274. {
  6275. addFileHost(
  6276. "data\\.hu",
  6277. 'download_box_button|Lassú letöltés',
  6278. 'missing\\.php|Az adott fájl nem létezik',
  6279. 'optional--',
  6280. 'optional2--',
  6281. "//a[contains(@href,'data.hu')]",
  6282. true
  6283. );
  6284. }
  6285. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6286. {
  6287. addFileHost(
  6288. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6289. 'premiumBtn"',
  6290. 'errorMessage"',
  6291. 'optional--',
  6292. 'optional2--',
  6293. "//a[contains(@href,'indowebster.com/download')]"
  6294. );
  6295. }
  6296. if (GM_getValue("Check_superload_dot_cz_links", false))
  6297. {
  6298. addFileHost(
  6299. "superload\\.cz\/dl\/\\w+",
  6300. 'icon-download">',
  6301. 'soubor nebyl nalezen',
  6302. 'optional--',
  6303. 'optional2--',
  6304. "//a[contains(@href,'superload.cz/dl')]"
  6305. );
  6306. }
  6307. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6308. {
  6309. addFileHost(
  6310. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6311. 'op" value="download',
  6312. 'class="err">|width:500px;text-align:left;">',
  6313. 'optional--',
  6314. 'optional2--',
  6315. "//a[contains(@href,'hulkfile.')]"
  6316. );
  6317. }
  6318. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6319. {
  6320. addFileHost(
  6321. "easybytez\\.com\/\\w+",
  6322. 'op" value="download',
  6323. 'stop_error\\.gif',
  6324. 'optional--',
  6325. 'optional2--',
  6326. "//a[contains(@href,'easybytez.com/')]"
  6327. );
  6328. }
  6329. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6330. {
  6331. addFileHost(
  6332. "filestore\\.com\\.ua\/\\?d=\\w+",
  6333. 'tdrow1>',
  6334. 'class=warn',
  6335. 'optional--',
  6336. 'optional2--',
  6337. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6338. );
  6339. }
  6340. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6341. {
  6342. addFileHost(
  6343. "openfile\\.ru\/(?:video\/|)\\d+",
  6344. 'videobox_left">',
  6345. 'blog_title">|not found on this server',
  6346. 'optional--',
  6347. 'optional2--',
  6348. "//a[contains(@href,'openfile.ru/')]"
  6349. );
  6350. }*/
  6351. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6352. {
  6353. addFileHost(
  6354. "extmatrix\\.com\/files\/\\w+",
  6355. 'div class="success"',
  6356. 'div class="error"',
  6357. 'optional--',
  6358. 'optional2--',
  6359. "//a[contains(@href,'extmatrix.com/files')]"
  6360. );
  6361. }
  6362. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6363. {
  6364. addFileHost(
  6365. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6366. 'content_lnkDownload',
  6367. 'error\\.aspx\\?',
  6368. 'optional--',
  6369. 'optional2--',
  6370. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6371. );
  6372. }
  6373. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6374. {
  6375. addFileHost(
  6376. "yourfilestore\\.com\/download\/\\d+\/",
  6377. 'download_data">',
  6378. 'may have been deleted|<h1>Sorry!<\/h1>',
  6379. 'optional--',
  6380. 'optional2--',
  6381. "//a[contains(@href,'yourfilestore.com/download')]"
  6382. );
  6383. }
  6384. if (GM_getValue("Check_filebig_dot_net_links", false))
  6385. {
  6386. addFileHost(
  6387. "filebig\\.net\/files\/\\w+",
  6388. 'downloadFile">',
  6389. '<p>File not found<\/p>',
  6390. 'optional--',
  6391. 'optional2--',
  6392. "//a[contains(@href,'filebig.net/files')]"
  6393. );
  6394. }
  6395. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6396. {
  6397. addFileHost(
  6398. "files\\.filefront\\.com\/\/;\\d+;;",
  6399. 'downloadLink">',
  6400. 'File not found, you',
  6401. 'optional--',
  6402. 'optional2--',
  6403. "//a[contains(@href,'files.filefront.com')]"
  6404. );
  6405.  
  6406. addFileHost(
  6407. "gamefront\\.com\/files\/\\d+",
  6408. 'downloadLink">',
  6409. 'File not found, you',
  6410. 'optional--',
  6411. 'optional2--',
  6412. "//a[contains(@href,'gamefront.com/files')]"
  6413. );
  6414. }
  6415. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6416. {
  6417. addFileHost(
  6418. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6419. 'dnlLnk"',
  6420. 'already been deleted',
  6421. 'optional--',
  6422. 'optional2--',
  6423. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6424. );
  6425. }
  6426. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6427. {
  6428. addFileHost(
  6429. "hellupload\\.com\/\\w+",
  6430. '<h3>Download File<br',
  6431. 'id="podstrona">|AVOID_IE_BUG',
  6432. 'optional--',
  6433. 'optional2--',
  6434. "//a[contains(@href,'hellupload.com/')]"
  6435. );
  6436. }
  6437. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6438. {
  6439. addFileHost(
  6440. "free\\-uploading\\.com\/\\w+",
  6441. 'op" value="download',
  6442. 'class="err">|width:500px;text-align:left;">',
  6443. 'optional--',
  6444. 'optional2--',
  6445. "//a[contains(@href,'free-uploading.com/')]"
  6446. );
  6447. }
  6448. if (GM_getValue("Check_fileape_dot_com_links", false))
  6449. {
  6450. addFileHost(
  6451. "fileape\\.com\/download\\-",
  6452. 'button_dl\\.png',
  6453. 'does not exist\\.',
  6454. 'optional--',
  6455. 'optional2--',
  6456. "//a[contains(@href,'fileape.com/')]"
  6457. );
  6458. }
  6459. if (GM_getValue("Check_uppit_dot_com_links", false))
  6460. {
  6461. addFileHost(
  6462. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6463. 'op" value="download',
  6464. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6465. 'optional--',
  6466. 'optional2--',
  6467. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6468. true
  6469. );
  6470. }
  6471. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6472. {
  6473. addFileHost(
  6474. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6475. 'op" value="download',
  6476. '>File Not Found<',
  6477. 'optional--',
  6478. 'optional2--',
  6479. "//a[contains(@href,'nosupload.com')]",
  6480. true
  6481. );
  6482. }
  6483. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6484. {
  6485. addFileHost(
  6486. "filesin\\.com\/\\w+\/download\\.html",
  6487. 'download_area">',
  6488. 'error_note">',
  6489. 'optional--',
  6490. 'optional2--',
  6491. "//a[contains(@href,'filesin.com/')]",
  6492. true
  6493. );
  6494. }*/
  6495. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6496. {
  6497. addFileHost(
  6498. "nowdownload\\.ch\/dl\/\\w+",
  6499. 'alert-success"',
  6500. 'This file does not exist!',
  6501. 'The file is being transfered',
  6502. 'optional2--',
  6503. "//a[contains(@href,'nowdownload.ch/dl')]"
  6504. );
  6505. }*/
  6506. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6507. {
  6508. addFileHost(
  6509. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6510. 'Dbutton_big"',
  6511. 'download\\-error\\.php',
  6512. 'optional--',
  6513. 'optional2--',
  6514. "//a[contains(@href,'axifile.com/')]"
  6515. );
  6516. }*/
  6517. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6518. {
  6519. addFileHost(
  6520. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6521. 'col-1">\\s*<s',
  6522. 'col-1">\\s*<h',
  6523. 'optional--',
  6524. 'optional2--',
  6525. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6526. );
  6527. }
  6528. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6529. {
  6530. addFileHost(
  6531. "turbobit\\.(?:net|pl)",
  6532. 'id="download-gate-info|id="file-list',
  6533. 'afterWait()|no files in this folder',
  6534. 'optional--',
  6535. 'optional2--',
  6536. "//a[contains(@href,'turbobit.net')]"
  6537. );
  6538. }
  6539. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6540. {
  6541. addFileHost(
  6542. "hitfile\\.net\/download\/folder\/\\d+",
  6543. 'content">\\s*<s',
  6544. 'content">\\s*<h',
  6545. 'optional--',
  6546. 'optional2--',
  6547. "//a[contains(@href,'hitfile.net/download/folder')]"
  6548. );
  6549. }
  6550. if (GM_getValue("Check_movshare_dot_net_links", false))
  6551. {
  6552. addFileHost(
  6553. "movshare\\.net\\/video\\/\\w+",
  6554. 'optional--"',
  6555. 'no longer exists',
  6556. 'optional--',
  6557. 'optional2--',
  6558. "//a[contains(@href,'movshare.net/video')]"
  6559. );
  6560. }
  6561. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6562. {
  6563. addFileHost(
  6564. "mafiastorage\\.com\/\\w+",
  6565. 'op" value="download',
  6566. 'class="err">|style="width:500px;text-align:left;"',
  6567. 'optional--',
  6568. 'optional2--',
  6569. "//a[contains(@href,'mafiastorage.com/')]"
  6570. );
  6571. }
  6572. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6573. {
  6574. addFileHost(
  6575. "uploadingit\\.com\/file\/\\w+",
  6576. 'downloadTitle">',
  6577. 'deleteContent">',
  6578. 'optional--',
  6579. 'optional2--',
  6580. "//a[contains(@href,'uploadingit.com/file')]"
  6581. );
  6582. }*/
  6583. if (GM_getValue("Check_rghost_dot_net_links", false))
  6584. {
  6585. addFileHost(
  6586. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6587. 'download_link|btn large download',
  6588. 'file is restricted|File is deleted|503 Service Unavailable',
  6589. 'optional--',
  6590. 'optional2--',
  6591. "//a[contains(@href,'rghost.')]"
  6592. );
  6593. }
  6594. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6595. {
  6596. addFileHost(
  6597. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6598. '">Staženo:\\s*<\/span>',
  6599. 'Soubor, který hledáte nenalezen',
  6600. 'optional--',
  6601. 'optional2--',
  6602. "//a[contains(@href,'xdisk.cz/')]"
  6603. );
  6604. }
  6605. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6606. {
  6607. addFileHost(
  6608. "2downloadz\.com\/\\w+",
  6609. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6610. 'color="#006DCC|File error',
  6611. 'optional--',
  6612. 'optional2--',
  6613. "//a[contains(@href,'2downloadz.com')]");
  6614. }
  6615. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6616. {
  6617. addFileHost(
  6618. "mightyupload\.com\/\\w+",
  6619. 'background:#ccc;text-align|CONTENT="Download File"',
  6620. 'style="background:#eee|var rr =|File Not Found',
  6621. 'error-code">1010',
  6622. 'optional2--',
  6623. "//a[contains(@href,'mightyupload.com')]");
  6624. }
  6625. if (GM_getValue("Check_anysend_dot_com_links", false))
  6626. {
  6627. addFileHost(
  6628. "anysend\.com\/\\w+",
  6629. 'var openCalled=false;|content="noindex"',
  6630. '_trackPageview',
  6631. 'optional--',
  6632. 'optional2--',
  6633. "//a[contains(@href,'anysend.com')]");
  6634. }
  6635. if (GM_getValue("Check_datafile_dot_com_links", false))
  6636. {
  6637. addFileHost(
  6638. "datafile\.com\/\\w+",
  6639. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6640. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6641. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6642. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6643. "//a[contains(@href,'datafile.com')]",
  6644. true);
  6645. }
  6646. if (GM_getValue("Check_upstore_dot_net_links", false))
  6647. {
  6648. addFileHost(
  6649. "upstore\.net\/\\w+",
  6650. 'name="free"',
  6651. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6652. 'optional--',
  6653. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6654. "//a[contains(@href,'upstore.net')]");
  6655. }
  6656. if (GM_getValue("Check_upsto_dot_re_links", false))
  6657. {
  6658. addFileHost(
  6659. "upsto\.re\/\\w+",
  6660. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6661. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6662. 'optional--',
  6663. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6664. "//a[contains(@href,'upsto.re')]");
  6665. }
  6666. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6667. {
  6668. addFileHost(
  6669. "speedy\.sh\/\\w+",
  6670. 'bgcolor=#eeeeee|class="addthis',
  6671. 'File not found|downloadfilenamenotfound>',
  6672. 'optional--',
  6673. 'optional2--',
  6674. "//a[contains(@href,'speedy.sh')]");
  6675. }
  6676. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6677. {
  6678. addFileHost(
  6679. "kingfiles\.net\/\\w+",
  6680. 'method_free|images/loading_small.gif"',
  6681. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'kingfiles.net')]");
  6685. }
  6686. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6687. {
  6688. addFileHost(
  6689. "secureupload\\.eu\/\\w+",
  6690. 'Downloading',
  6691. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6692. 'optional--',
  6693. 'optional2--',
  6694. "//a[contains(@href,'secureupload.eu')]"
  6695. );
  6696. } */
  6697. if (GM_getValue("Check_ge_dot_tt_links", false))
  6698. {
  6699. addFileHost(
  6700. "ge\.tt\/\\w+",
  6701. 'downloads pic',
  6702. 'is NOT the same as',
  6703. 'optional--',
  6704. 'optional2--',
  6705. "//a[contains(@href,'ge.tt')]");
  6706. }
  6707. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6708. {
  6709. addFileHost(
  6710. "filefactory\\.com\/file\/\\w+",
  6711. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6712. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder|class="alert alert-danger">',
  6713. 'Server Maintenance|temporarily overloaded',
  6714. 'Premium Account Required',
  6715. "//a[contains(@href,'filefactory.com/file')]");
  6716. } */
  6717. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6718. {
  6719. addFileHost(
  6720. "filesflash\.net\/\\w+",
  6721. 'align:right">Filename:',
  6722. 'class="msg">',
  6723. 'optional--',
  6724. 'optional2--',
  6725. "//a[contains(@href,'filesflash.net')]");
  6726. }
  6727. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6728. {
  6729. addFileHost(
  6730. "rapidgator\\.net\/folder\/\\w+",
  6731. 'href="/folder/',
  6732. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6733. 'optional--',
  6734. 'optional2--',
  6735. "//a[contains(@href,'rapidgator.net/folder')]",
  6736. true
  6737. );
  6738. }
  6739. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6740. {
  6741. addFileHost(
  6742. "salefiles\.com\/\\w+",
  6743. 'name="method_free',
  6744. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6745. 'optional--',
  6746. 'optional2--',
  6747. "//a[contains(@href,'salefiles.com')]");
  6748. }
  6749. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6750. {
  6751. addFileHost(
  6752. "datoid\.cz\/\\w+",
  6753. 'btn-download|class="icon-download-large"',
  6754. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6755. 'optional--',
  6756. 'optional2--',
  6757. "//a[contains(@href,'datoid.cz')]");
  6758. }
  6759. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6760. {
  6761. addFileHost(
  6762. "stiahni\.si\/\\w+",
  6763. 'report_icon.png"|slow-download-button',
  6764. 'none.png|deleted|<h2>Error 500</h2>',
  6765. 'optional--',
  6766. 'optional2--',
  6767. "//a[contains(@href,'stiahni.si')]");
  6768. }
  6769. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6770. {
  6771. addFileHost(
  6772. "cloudstor\.es\/\\w+",
  6773. '"btn_download"',
  6774. '404: Page Not Found',
  6775. 'optional--',
  6776. 'optional2--',
  6777. "//a[contains(@href,'cloudstor.es')]");
  6778. }
  6779. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6780. {
  6781. addFileHost(
  6782. "streamfile\.com\/\\w+",
  6783. 'class="btn',
  6784. 'class="green-btn',
  6785. 'optional--',
  6786. 'optional2--',
  6787. "//a[contains(@href,'streamfile.com')]");
  6788. }
  6789. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6790. {
  6791. addFileHost(
  6792. "eyesfile\.ca\/\\w+",
  6793. 'value="Get Link',
  6794. 'var rr =',
  6795. 'optional--',
  6796. 'optional2--',
  6797. "//a[contains(@href,'eyesfile.ca')]");
  6798. }
  6799. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. "filemoney\.com\/\\w+",
  6803. 'og:title',
  6804. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6805. 'error-code">1010',
  6806. 'optional2--',
  6807. "//a[contains(@href,'filemoney.com')]");
  6808. }
  6809. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. "uploadboy\.com\/\\w+",
  6813. 'width="740">|method_free',
  6814. 'var rr =|background:#ffffff|not be found|file was removed',
  6815. 'optional--',
  6816. 'optional2--',
  6817. "//a[contains(@href,'uploadboy.com')]");
  6818. }
  6819. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6820. {
  6821. addFileHost(
  6822. "uploadboy\.com\/\\w+",
  6823. 'width="740">|method_free',
  6824. 'var rr =|background:#ffffff|not be found|file was removed',
  6825. 'optional--',
  6826. 'optional2--',
  6827. "//a[contains(@href,'uploadboy.me')]");
  6828. }
  6829. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6830. {
  6831. addFileHost(
  6832. "speedshare\.eu\/\\w+",
  6833. 'favicon.png|color:#3d87c0|cross.png"',
  6834. 'var rr =|File Not Found|style="background:#eee',
  6835. 'optional--',
  6836. 'optional2--',
  6837. "//a[contains(@href,'speedshare.eu')]");
  6838. }
  6839. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6840. {
  6841. addFileHost(
  6842. "unlimitzone\.com\/\\w+",
  6843. 'name="method_free',
  6844. 'var rr =|File Not Found|removed by administrator|class="err">|Файл не найден|Datei nicht gefunden|fichier non trouve|Dosya bulunamadД±|Nie znaleziono pliku|ไม่พบไฟล์ที่ต้องการ|Nie znaleziono pliku|Archive no Encontrado|ファイルが見つかりません。|File nem talГЎlhatГі|File tidak ditemukan|Bestand niet gevonden',
  6845. 'optional--',
  6846. 'optional2--',
  6847. "//a[contains(@href,'unlimitzone.com')]");
  6848. }
  6849. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6850. {
  6851. addFileHost(
  6852. "rioupload\.com\/\\w+",
  6853. 'sell.jpg',
  6854. 'var rr =',
  6855. 'optional--',
  6856. 'optional2--',
  6857. "//a[contains(@href,'rioupload.com')]");
  6858. }
  6859. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6860. {
  6861. addFileHost(
  6862. "jumbofiles\.org\/\\w+",
  6863. 'H71C5.png|class="downloadtitle">',
  6864. 'var swfu|ViewSourceBIN.png',
  6865. 'optional--',
  6866. 'optional2--',
  6867. "//a[contains(@href,'jumbofiles.org')]");
  6868. }
  6869. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6870. {
  6871. addFileHost(
  6872. "fshare\\.vn\/file\/\\w+",
  6873. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6874. 'không tồn tại|class="color_red m_t_50"',
  6875. 'optional--',
  6876. 'optional2--',
  6877. "//a[contains(@href,'fshare.vn/file')]",
  6878. true
  6879. );
  6880. }
  6881. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6882. {
  6883. addFileHost(
  6884. "spaceforfiles\.com\/\\w+",
  6885. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6886. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6890. }
  6891. if (GM_getValue("Check_google_dot_com_links", false))
  6892. {
  6893. addFileHost(
  6894. "google\\.com\/file\/\\w+",
  6895. 'content="!">|color:#2d2d2d',
  6896. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6897. 'optional--',
  6898. 'optional2--',
  6899. "//a[contains(@href,'google.com/file')]",
  6900. true
  6901. );
  6902. }
  6903. if (GM_getValue("Check_google_dot_com_links", false))
  6904. {
  6905. addFileHost(
  6906. "docs.google.com\/\\w+",
  6907. 'content="!">|color:#2d2d2d',
  6908. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6909. 'optional--',
  6910. 'optional2--',
  6911. "//a[contains(@href,'docs.google.com')]",
  6912. true
  6913. );
  6914. }
  6915. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6916. {
  6917. addFileHost(
  6918. "drive.google.com\/\\w+",
  6919. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6920. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'drive.google.com')]",
  6924. true
  6925. );
  6926. }
  6927. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "up.media1fire\.com\/\\w+",
  6931. 'class="addthis_|value="download',
  6932. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6933. 'optional--',
  6934. 'optional2--',
  6935. "//a[contains(@href,'up.media1fire.com')]");
  6936. }
  6937. if (GM_getValue("Check_depfile_dot_com_links", false))
  6938. {
  6939. addFileHost(
  6940. "depfile\.com\/\\w+",
  6941. 'logo_0.png|downloads.gif"|verifycode',
  6942. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6943. 'optional--',
  6944. 'available only for Premium users',
  6945. "//a[contains(@href,'depfile.com')]");
  6946. }
  6947. if (GM_getValue("Check_go4up_dot_com_links", false))
  6948. {
  6949. addFileHost(
  6950. "go4up\.com\/\\w+",
  6951. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6952. '<title>GO4UP|dmca',
  6953. 'optional--',
  6954. 'optional2--',
  6955. "//a[contains(@href,'go4up.com')]");
  6956. }
  6957. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6958. {
  6959. addFileHost(
  6960. "redbunker\.net\/\\w+",
  6961. 'name="method_free"',
  6962. 'color="red">Unknow / Bilinmiyor<',
  6963. 'optional--',
  6964. '2.3 GB',
  6965. "//a[contains(@href,'redbunker.net')]");
  6966. }
  6967. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6968. {
  6969. addFileHost(
  6970. "divxpress\.com\/\\w+",
  6971. 'btn_download|logo.png"',
  6972. 'AVOID_IE_BUG|var rr =',
  6973. 'optional--',
  6974. 'optional2--',
  6975. "//a[contains(@href,'divxpress.com')]");
  6976. }
  6977. if (GM_getValue("Check_anafile_dot_com_links", false))
  6978. {
  6979. addFileHost(
  6980. "anafile\.com\/\\w+",
  6981. 'width="881" valign="top|color="#800080"|name="go"',
  6982. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'anafile.com')]");
  6986. }
  6987. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6988. {
  6989. addFileHost(
  6990. "uploadable\\.ch\/file\/\\w+",
  6991. 'captcha.js"|payment.js"|class="btn_download"',
  6992. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6993. 'optional--',
  6994. 'optional2--',
  6995. "//a[contains(@href,'uploadable.ch/file')]",
  6996. true
  6997. );
  6998. }
  6999. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7000. {
  7001. addFileHost(
  7002. "bigfile\\.to\/file\/\\w+",
  7003. 'captcha.js"|payment.js"|class="btn_download"',
  7004. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7005. 'optional--',
  7006. 'optional2--',
  7007. "//a[contains(@href,'bigfile.to/file')]",
  7008. true
  7009. );
  7010. }
  7011. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7012. {
  7013. addFileHost(
  7014. "arabloads\.net\/\\w+",
  7015. 'name="method_free"|name="method_premium"',
  7016. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7017. 'optional--',
  7018. 'optional2--',
  7019. "//a[contains(@href,'arabloads.net')]");
  7020. }
  7021. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7022. {
  7023. addFileHost(
  7024. "sharerepo\.com\/\\w+",
  7025. 'name="method_free"',
  7026. 'var public_on=|The file you were looking for could not be found',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'sharerepo.com')]");
  7030. }
  7031. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7032. {
  7033. addFileHost(
  7034. "sfshare\.se\/\\w+",
  7035. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7036. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7037. 'optional--',
  7038. 'optional2--',
  7039. "//a[contains(@href,'sfshare.se')]");
  7040. }
  7041. if (GM_getValue("Check_files_dot_fm_links", false))
  7042. {
  7043. addFileHost(
  7044. "files\.fm\/\\w+",
  7045. 'dl.png"|background-color: transparent',
  7046. 'margin: 40px 40px|background: none;',
  7047. 'optional--',
  7048. 'optional2--',
  7049. "//a[contains(@href,'files.fm')]");
  7050. }
  7051. if (GM_getValue("Check_koofile_dot_com_links", false))
  7052. {
  7053. addFileHost(
  7054. "koofile\.com\/\\w+",
  7055. 'value="download1">|name="method_free"',
  7056. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7057. 'optional--',
  7058. 'optional2--',
  7059. "//a[contains(@href,'koofile.com')]");
  7060. }
  7061. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7062. {
  7063. addFileHost(
  7064. "vidxden\\.com\/\\w+",
  7065. 'Continue to Video"',
  7066. 'No such file',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'vidxden.com')]"
  7070. );
  7071. }*/
  7072. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7073. {
  7074. addFileHost(
  7075. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7076. 'Details zur Datei|Details page',
  7077. 'Jetzt hochladen|upload now',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7081. );
  7082. }
  7083. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7084. {
  7085. addFileHost(
  7086. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7087. 'downloadbtn"',
  7088. 'DL_FileNotFound',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7092. );
  7093. }
  7094. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7095. {
  7096. addFileHost(
  7097. "fileflyer\.com\/view\/\\w+",
  7098. '(?:dwl|locked)btn"',
  7099. 'error.gif"|link">Removed|removedlink">',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'fileflyer.com')]"
  7103. );
  7104. }
  7105. if (GM_getValue("Check_filestore_dot_to_links", false))
  7106. {
  7107. addFileHost(
  7108. "filestore\.to\/\\?d=\\w+",
  7109. '"downloading"',
  7110. 'Datei wurde nicht gefunden',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'filestore.to')]"
  7114. );
  7115. }
  7116. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7117. {
  7118. addFileHost(
  7119. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7120. 'fz24">Download|class="pl15">',
  7121. 'msg-err"|the page you\'re looking for|1>400 Bad Request<|class="search_result">|Searching for file|Information is not available|name="keywords" content="">|<title>Crocko.com 404',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_datei_dot_to_links", false))
  7128. {
  7129. addFileHost(
  7130. "datei\\.to\/\\??\\w+",
  7131. 'icon_downloaden\\.png|>Download starten<',
  7132. 'Datei wurde nicht gefunden|icon_deleted.png',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'datei.to')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7139. {
  7140. addFileHost(
  7141. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7142. '<body class="body" id="body">|value="Slow Download"',
  7143. '<body class="body" >',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7150. {
  7151. addFileHost(
  7152. "unibytes\\.com\/[\\w\.]+",
  7153. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7154. 'File not found|Файл не найден|',
  7155. 'optional--',
  7156. 'optional2--',
  7157. "//a[contains(@href,'unibytes.com')]"
  7158. );
  7159. }
  7160. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7161. {
  7162. addFileHost(
  7163. "www\\.hellshare\\.com\/\\d+",
  7164. 'tab\\-details"',
  7165. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7166. 'optional--',
  7167. 'optional2--',
  7168. "//a[contains(@href,'www.hellshare.com')]"
  7169. );
  7170. }
  7171. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7172. {
  7173. addFileHost(
  7174. "www\\.download.cz.hellshare\\.com\/\\w+",
  7175. 'tab\\-details"',
  7176. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7177. 'optional--',
  7178. 'optional2--',
  7179. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7183. {
  7184. addFileHost(
  7185. "filefactory\\.com",
  7186. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7187. 'table class="items"|このフォルダ内にファイルはありません|This file may have been deleted|Unerwarteter Fehler|Ungültiger Download-Link|Link de Download Inválido|Pointer" class="red">|There are no files in this folder|Dieser Ordner enthält keine Dateien|Não há arquivos nesta pasta|File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder',
  7188. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7189. 'Premium Account Required',
  7190. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_load_dot_to_links", false))
  7194. {
  7195. addFileHost(
  7196. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7197. '"download_table_left">Size',
  7198. 'Can\'t find file',
  7199. 'optional--',
  7200. 'optional2--',
  7201. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_divshare_dot_com_links", false))
  7205. {
  7206. addFileHost(
  7207. "divshare\\.com\/download\/",
  7208. 'download_new\.png',
  7209. 'have been removed',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'divshare.com')]"
  7213. );
  7214. }
  7215. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7216. {
  7217. addFileHost(
  7218. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7219. 'download=true"',
  7220. '<div class="background margin-top vlevo" style="width: 600px;">|class="container">Error|File+has+been+removed|<title>Error - EuroShare.eu</title>|class="container">Chyba<|<title>chyba - EuroShare.eu</title>|<title>Fehler - EuroShare.eu</title>|<title>Hiba - EuroShare.eu</title>|<title>Błąd - EuroShare.eu</title>',
  7221. 'optional--',
  7222. 'optional2--',
  7223. "//a[contains(@href,'euroshare.eu/file')]"
  7224. );
  7225. }
  7226. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7227. {
  7228. addFileHost(
  7229. 'files\\.mail\\.ru/(?:\\w*)',
  7230. 'fileList',
  7231. 'errorMessage',
  7232. 'optional--',
  7233. 'optional2--',
  7234. "//a[contains(@href,'files.mail.ru')]"
  7235. );
  7236. }
  7237. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7238. {
  7239. addFileHost(
  7240. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7241. 'Filesize',
  7242. 'Invalid|deleted|Could not download file',
  7243. 'slots|scheduled maintenance',
  7244. 'optional2--',
  7245. "//a[contains(@href,'megashares.com/')]"
  7246. );
  7247. } */
  7248. if (GM_getValue("Check_narod_dot_ru_links", false))
  7249. {
  7250. addFileHost(
  7251. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7252. 'b-submit|action="resource.download"',
  7253. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7254. 'Внутренняя ошибка сервиса',
  7255. 'optional2--',
  7256. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7257. );
  7258. }
  7259. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7260. {
  7261. addFileHost(
  7262. "rayfile\\.com\/",
  7263. 'FILEtitleTXT',
  7264. 'blueRow',
  7265. 'optional--',
  7266. 'optional2--',
  7267. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7268. );
  7269. }
  7270. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7271. {
  7272. addFileHost(
  7273. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7274. 'button_green_body"',
  7275. 'error">',
  7276. 'optional--',
  7277. 'optional2--',
  7278. "//a[contains(@href,'filesmonster.com/download')]"
  7279. );
  7280. }
  7281. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7282. {
  7283. addFileHost(
  7284. 'usaupload\\.net\/d\/(?:\w*)',
  7285. '<strong>File size:</strong>',
  7286. 'is not available',
  7287. 'optional--',
  7288. 'optional2--',
  7289. "//a[contains(@href,'usaupload.net/d/')]"
  7290. );
  7291. }
  7292. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7293. {
  7294. addFileHost(
  7295. 'sendspace\\.com\/file\/\\w+',
  7296. 'file_description',
  7297. 'msg error"',
  7298. 'optional--',
  7299. 'optional2--',
  7300. "//a[contains(@href,'sendspace.com/file')]"
  7301. );
  7302. }
  7303. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7304. {
  7305. addFileHost(
  7306. 'sendspace\\.pl\/file\/\\w+',
  7307. 'download_file"',
  7308. 'Podany plik nie',
  7309. 'optional--',
  7310. 'optional2--',
  7311. "//a[contains(@href,'sendspace.pl/file')]"
  7312. );
  7313. }
  7314. if (GM_getValue("Check_uploading_dot_com_links", false))
  7315. {
  7316. addFileHost(
  7317. 'uploading\\.com\/(?:files\/)?\\w+',
  7318. 'free_method">',
  7319. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7320. 'optional--',
  7321. 'optional2--',
  7322. "//a[contains(@href,'uploading.com')]"
  7323. );
  7324. }
  7325. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7326. {
  7327. addFileHost(
  7328. "gigasize\.com\/\\w+",
  7329. 'fileId"|class="estimate">',
  7330. 'error">',
  7331. 'optional--',
  7332. 'optional2--',
  7333. "//a[contains(@href,'gigasize.com/get')]"
  7334. );
  7335. }
  7336. if (GM_getValue("Check_good_dot_com_links", false))
  7337. {
  7338. addFileHost(
  7339. 'good\\.net\/(?:_|dl)',
  7340. 'Free Download',
  7341. 'Not Found',
  7342. 'Forbidden',
  7343. 'optional2--',
  7344. "//a[contains(@href,'good.net')]"
  7345. );
  7346. }
  7347. if (GM_getValue("Check_2shared_dot_com_links", false))
  7348. {
  7349. addFileHost(
  7350. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7351. 'File size',
  7352. 'File not found|is not valid|/images/important.gif',
  7353. 'optional--',
  7354. 'optional2--',
  7355. // "//a[contains(@href,'2shared.com')]"
  7356. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/fadmin/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7357. );
  7358. }
  7359. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7360. {
  7361. addFileHost(
  7362. 'turboupload\\.com\/\\w*',
  7363. 'You have requested',
  7364. 'File Not Found',
  7365. 'optional--',
  7366. 'optional2--',
  7367. "//a[contains(@href,'turboupload.com')]"
  7368. );
  7369. }
  7370. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7371. {
  7372. addFileHost(
  7373. 'gigapeta\\.com\/dl\/',
  7374. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7375. '404|page_error',
  7376. 'optional--',
  7377. 'optional2--',
  7378. "//a[contains(@href,'gigapeta.com/dl')]"
  7379. );
  7380. }
  7381. if (GM_getValue("Check_veehd_dot_com_links", false))
  7382. {
  7383. addFileHost(
  7384. 'veehd\.com\/video\/.*?',
  7385. 'No sound|Download video',
  7386. 'Featured Videos',
  7387. 'optional--',
  7388. 'optional2--',
  7389. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7390. );
  7391. }
  7392. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7393. {
  7394. addFileHost(
  7395. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7396. 'fast_download_form">|submit_sms_download',
  7397. '<p style="text-align:center">',
  7398. 'optional--',
  7399. 'optional2--',
  7400. "//a[contains(@href,'vip-file.com/download')]"
  7401. );
  7402. }
  7403. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7404. {
  7405. addFileHost(
  7406. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7407. 'download\\-pnl ',
  7408. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7409. 'optional--',
  7410. 'optional2--',
  7411. "//a[contains(@href,'letitbit.net/download')]"
  7412. );
  7413. }*/
  7414. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7415. {
  7416. addFileHost(
  7417. 'ifolder\.ru\/\\d+',
  7418. 'file-info',
  7419. 'ui-state-error',
  7420. 'optional--',
  7421. 'optional2--',
  7422. "//a[contains(@href,'ifolder.ru')]"
  7423. );
  7424. }
  7425. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7426. {
  7427. addFileHost(
  7428. 'fileswap\\.com\/dl\/\\w+',
  7429. 'bttnDownloadLink"',
  7430. 'rounded_block_error"',
  7431. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7432. 'optional2--',
  7433. "//a[contains(@href,'fileswap.com/dl')]"
  7434. );
  7435. }*/
  7436. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7437. {
  7438. addFileHost(
  7439. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7440. 'var __error = 0|id="recaptchaPanel">',
  7441. 'FILES__DOESNT_EXIST|removed or did not exist',
  7442. 'optional--',
  7443. 'optional2--',
  7444. "//a[contains(@href,'filecloud.io/')]"
  7445. );
  7446. addFileHost(
  7447. 'ifile\\.it\/\\w+',
  7448. 'var __error = 0',
  7449. 'FILES__DOESNT_EXIST',
  7450. 'optional--',
  7451. 'optional2--',
  7452. "//a[contains(@href,'ifile.it/')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7456. {
  7457. addFileHost(
  7458. 'solidfiles\\.com\/\\w+',
  7459. 'id="download"|content="Download',
  7460. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7461. 'optional--',
  7462. 'optional2--',
  7463. "//a[contains(@href,'solidfiles.com/')]"
  7464. );
  7465. }
  7466. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7467. {
  7468. addFileHost(
  7469. "(?:.\\.|)shareflare\\.net",
  7470. 'download-pnl|<div class="premium-block">',
  7471. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7472. 'optional--',
  7473. 'optional2--',
  7474. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7475. );
  7476. }
  7477. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7478. {
  7479. addFileHost(
  7480. "u18116681.shareflare\\.net",
  7481. 'download-pnl|<div class="premium-block">',
  7482. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7483. 'optional--',
  7484. 'optional2--',
  7485. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7486. );
  7487. }
  7488. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7489. {
  7490. addFileHost(
  7491. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7492. 'file\\-list-orderby|section-filedetail">',
  7493. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7494. 'optional--',
  7495. 'optional2--',
  7496. "//a[contains(@href,'hellspy.')]"
  7497. );
  7498. }
  7499. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7500. {
  7501. addFileHost(
  7502. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7503. '<body onload="">',
  7504. 'neexistuje|not exist',
  7505. 'optional--',
  7506. 'optional2--',
  7507. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7508. );
  7509. }
  7510. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7511. {
  7512. addFileHost(
  7513. "stahovanizasms\\.cz\/\\w+",
  7514. 'download\\.png>|font-size:11px><tr>',
  7515. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7516. 'optional--',
  7517. 'optional2--',
  7518. "//a[contains(@href,'stahovanizasms.cz')]"
  7519. );
  7520. }
  7521. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7522. {
  7523. addFileHost(
  7524. "share-links\\.biz\/\\w*",
  7525. 'online\\.gif',
  7526. '(?:offline|parts)\\.gif',
  7527. 'optional--',
  7528. 'optional2--',
  7529. "//a[contains(@href,'share-links.biz')]"
  7530. );
  7531. }
  7532. if (GM_getValue("Check_4shared_dot_com_links", false))
  7533. {
  7534. addFileHost(
  7535. "4shared\\.com\/.+\/",
  7536. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7537. 'class="warn\"|big red"|GetDataBack',
  7538. 'Service Unavailable',
  7539. 'optional2--',
  7540. "//a[contains(@href,'4shared.com')]"
  7541. );
  7542. }
  7543. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7544. {
  7545. addFileHost(
  7546. "(?:www\\d+\.|)zippyshare\.com\/",
  7547. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7548. 'not exist|Status 404',
  7549. 'optional--',
  7550. 'optional2--',
  7551. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7552. );
  7553. }
  7554. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7555. {
  7556. addFileHost(
  7557. "mediafire\.com\/",
  7558. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7559. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7560. 'set to private',
  7561. 'optional2--',
  7562. "//a[contains(@href,'mediafire.com')]"
  7563. );
  7564. }
  7565. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7566. {
  7567. addFileHost(
  7568. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7569. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7570. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7571. 'optional--',
  7572. 'GB</small>',
  7573. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7574. );
  7575. }
  7576. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7577. {
  7578. addFileHost(
  7579. "ulozisko\.sk\/",
  7580. 'Detaily',
  7581. 'neexistuje',
  7582. 'optional--',
  7583. 'optional2--',
  7584. "//a[contains(@href,'ulozisko.sk')]"
  7585. );
  7586. }
  7587. if (GM_getValue("Check_box_dot_com_links", false))
  7588. {
  7589. addFileHost(
  7590. "box\.com\/\\w+",
  7591. 'download-file-btn|id="download_button|preview-download',
  7592. 'BIyMin.png| <div class="error_message|link has been removed',
  7593. 'optional--',
  7594. 'optional2--',
  7595. "//a[contains(@href,'app.box.com')]");
  7596. }
  7597. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7598. {
  7599. addFileHost(
  7600. "uptobox\\.com\/\\w+",
  7601. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7602. 'The file expired|<b>404 -|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7603. 'Maintenance',
  7604. 'optional2--',
  7605. "//a[contains(@href,'uptobox.com')]",
  7606. true
  7607. );
  7608. }
  7609. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7610. {
  7611. addFileHost(
  7612. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7613. 'FILE DOWNLOAD<',
  7614. 'File Does Not Exist',
  7615. 'optional--',
  7616. 'optional2--',
  7617. "//a[contains(@href,'sharecash.org/download.php')]"
  7618. );
  7619. }
  7620. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7621. {
  7622. addFileHost(
  7623. "1fichier\\.com\/dir\/\\w+",
  7624. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7625. 'Shared Folder Not Found',
  7626. 'optional--',
  7627. 'optional2--',
  7628. "//a[contains(@href,'1fichier.com/dir')]"
  7629. );
  7630. }
  7631. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7632. {
  7633. addFileHost(
  7634. "depositfiles\\.com\/folders\/\\w+",
  7635. '<div class="progressContainer">',
  7636. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7637. 'optional--',
  7638. 'optional2--',
  7639. "//a[contains(@href,'depositfiles.com/folders')]"
  7640. );
  7641. }
  7642. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7643. {
  7644. addFileHost(
  7645. "rapidfileshare\\.net/\\w+",
  7646. '<div id="upload-header-bg">',
  7647. '<div style="width:500px;text-align:left;">',
  7648. 'optional--',
  7649. 'optional2--',
  7650. "//a[contains(@href,'rapidfileshare.net/')]"
  7651. );
  7652. }
  7653. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7654. {
  7655. addFileHost(
  7656. "stiahnito\\.sk/",
  7657. '<span class="filesize right">',
  7658. '<ol class="list-purp-2">',
  7659. 'optional--',
  7660. 'optional2--',
  7661. "//a[contains(@href,'stiahnito.sk/')]"
  7662. );
  7663. }
  7664. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7665. {
  7666. addFileHost(
  7667. "rusfolder\\.(?:com|net)",
  7668. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7669. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7670. 'optional--',
  7671. 'optional2--',
  7672. "//a[contains(@href,'rusfolder')]"
  7673. );
  7674. }
  7675. if (GM_getValue("Check_catshare_dot_net_links", false))
  7676. {
  7677. addFileHost(
  7678. "catshare\\.net/\\w+",
  7679. '"icon-share',
  7680. 'alert alert-error',
  7681. 'optional--',
  7682. 'optional2--',
  7683. "//a[contains(@href,'catshare.net/')]"
  7684. );
  7685. }
  7686. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7687. {
  7688. addFileHost(
  7689. "anonfiles\\.com/\\w+",
  7690. '"download_button"',
  7691. '<legend><b>404</b>',
  7692. 'optional--',
  7693. 'optional2--',
  7694. "//a[contains(@href,'anonfiles.com')]"
  7695. );
  7696. }*/
  7697. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7698. {
  7699. addFileHost(
  7700. "mixturecloud\\.com/media/\\w+",
  7701. '"btn icon i_globe gray share_150',
  7702. '"s_cross_close"></span> 404:',
  7703. 'optional--',
  7704. 'optional2--',
  7705. "//a[contains(@href,'mixturecloud.com/media/')]"
  7706. );
  7707. }
  7708. if (GM_getValue("Check_akafile_dot_com_links", false))
  7709. {
  7710. addFileHost(
  7711. "akafile\\.com\/\\w+",
  7712. 'download1',
  7713. 'File Not Found',
  7714. 'optional--',
  7715. 'optional2--',
  7716. "//a[contains(@href,'akafile.com/')]"
  7717. );
  7718. }
  7719. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7720. {
  7721. addFileHost(
  7722. "creafile\\.net\/\\w+",
  7723. 'downloadblock',
  7724. 'errtitle',
  7725. 'optional--',
  7726. 'optional2--',
  7727. "//a[contains(@href,'creafile.net/')]"
  7728. );
  7729. }*/
  7730. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7731. {
  7732. addFileHost(
  7733. "hugefiles\\.net\/\\w+",
  7734. 'download1|class="btn-create-download" value="Create Download Link">',
  7735. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7736. 'optional--',
  7737. 'optional2--',
  7738. "//a[contains(@href,'hugefiles.net/')]"
  7739. );
  7740. }*/
  7741. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7742. {
  7743. addFileHost(
  7744. "sendmyway\\.com\/\\w+",
  7745. 'id="btn_download"',
  7746. '500px;text-align:left;"|<center><h3>',
  7747. 'optional--',
  7748. 'optional2--',
  7749. "//a[contains(@href,'sendmyway.com/')]"
  7750. );
  7751. }
  7752. if (GM_getValue("Check_upload_dot_ee_links", false))
  7753. {
  7754. addFileHost(
  7755. "upload\\.ee\/\\w+",
  7756. 'onmouseout="document.dllink.src',
  7757. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7758. 'optional--',
  7759. 'optional2--',
  7760. "//a[contains(@href,'upload.ee/')]"
  7761. );
  7762. }
  7763. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7764. {
  7765. addFileHost(
  7766. "shareplace\\.org\/\\?\\w+",
  7767. 'Download-Link',
  7768. 'Your requested file is not found|Select file to send',
  7769. 'optional--',
  7770. 'optional2--',
  7771. "//a[contains(@href,'shareplace.org/?')]"
  7772. );
  7773. }
  7774. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7775. {
  7776. addFileHost(
  7777. "uploadc\\.com\/\\w+",
  7778. 'id="prebut"',
  7779. 'File Not Found|This file has been removed due',
  7780. 'optional--',
  7781. 'optional2--',
  7782. "//a[contains(@href,'uploadc.com/')]"
  7783. );
  7784. }
  7785. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7786. {
  7787. addFileHost(
  7788. "uploadc\\.ch\/\\w+",
  7789. 'id="prebut"',
  7790. 'File Not Found|This file has been removed due',
  7791. 'optional--',
  7792. 'optional2--',
  7793. "//a[contains(@href,'uploadc.ch/')]"
  7794. );
  7795. }
  7796. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7797. {
  7798. addFileHost(
  7799. "remixshare\\.com\/\\w+",
  7800. 'id="dl2"',
  7801. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7802. 'optional--',
  7803. 'optional2--',
  7804. "//a[contains(@href,'remixshare.com/')]"
  7805. );
  7806. }*/
  7807. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7808. {
  7809. addFileHost(
  7810. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7811. 'Last Download :',
  7812. 'img src="\\/404.jpg"',
  7813. 'optional--',
  7814. 'optional2--',
  7815. "//a[contains(@href,'exoshare.com/download.php')]"
  7816. );
  7817. }
  7818. if (GM_getValue("Check_borncash_dot_org_links", false))
  7819. {
  7820. addFileHost(
  7821. "borncash\\.org\/download\/\\?a=\\w+",
  7822. 'class="knop_1"',
  7823. '\/error\/er00',
  7824. 'optional--',
  7825. 'optional2--',
  7826. "//a[contains(@href,'borncash.org/download/')]"
  7827. );
  7828. }
  7829. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7830. {
  7831. addFileHost(
  7832. "vidplay\.net\/\\w+",
  7833. 'solvemedia puzzle widget',
  7834. 'File not found|AVOID_IE_BUG',
  7835. 'optional--',
  7836. 'optional2--',
  7837. "//a[contains(@href,'vidplay.net')]");
  7838. }*/
  7839. if (GM_getValue("Check_filedais_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "filedais\.com\/\\w+",
  7843. 'class="btn btn-info"|name="method_free"',
  7844. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'filedais.com')]");
  7848. }
  7849. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7850. {
  7851. addFileHost(
  7852. "up.4share\.vn\/\\w+",
  7853. '<font size="2" face="Verdana">',
  7854. 'font: 13px Tahoma; color: Brown',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'up.4share.vn')]");
  7858. }
  7859. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7860. {
  7861. addFileHost(
  7862. "share.vnn\.vn\/\\w+",
  7863. '"index,follow"|<div class="main" id="download-box">',
  7864. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7865. 'optional--',
  7866. 'optional2--',
  7867. "//a[contains(@href,'share.vnn.vn')]");
  7868. }
  7869. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7870. {
  7871. addFileHost(
  7872. "upfile\.vn\/\\w+",
  7873. 'download-timer',
  7874. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7875. 'optional--',
  7876. 'optional2--',
  7877. "//a[contains(@href,'upfile.vn')]");
  7878. }
  7879. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7880. {
  7881. addFileHost(
  7882. "aisfile\.com\/\\w+",
  7883. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7884. '<div style="width:500px;text-align:left;">|File Not Found',
  7885. 'optional--',
  7886. 'optional2--',
  7887. "//a[contains(@href,'aisfile.com')]");
  7888. }
  7889. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7890. {
  7891. addFileHost(
  7892. "usersfiles\.com\/\\w+",
  7893. 'class="btn btn-success|id="btn_download" class="btn"',
  7894. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7895. 'optional--',
  7896. 'optional2--',
  7897. "//a[contains(@href,'usersfiles.com')]");
  7898. }
  7899. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7900. {
  7901. addFileHost(
  7902. "pan.baidu\.com\/\\w+",
  7903. 'target="_blank" title=|share-personal-info',
  7904. 'share_notfound.png|background:#f9f9f9',
  7905. 'optional--',
  7906. 'optional2--',
  7907. "//a[contains(@href,'pan.baidu.com')]");
  7908. }
  7909. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7910. {
  7911. addFileHost(
  7912. "yunpan\.cn\/\\w+",
  7913. 'class="icon icon-download',
  7914. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7915. 'optional--',
  7916. 'optional2--',
  7917. "//a[contains(@href,'yunpan.cn')]");
  7918. }
  7919. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7920. {
  7921. addFileHost(
  7922. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7923. 'getElementById("downbild")|style.display',
  7924. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7925. 'optional--',
  7926. 'optional2--',
  7927. "//a[contains(@href,'file-upload.net')]");
  7928. }
  7929. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7930. {
  7931. addFileHost(
  7932. "gulfup\.com\/",
  7933. '<!-- Downlod template -->|download.gif',
  7934. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7935. 'optional--',
  7936. 'optional2--',
  7937. "//a[contains(@href,'gulfup.com')]");
  7938. }*/
  7939. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7940. {
  7941. addFileHost(
  7942. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7943. 'dldtable">',
  7944. 'does not exist\\.',
  7945. 'optional--',
  7946. 'optional2--',
  7947. "//a[contains(@href,'datafilehost.com')]");
  7948. }
  7949. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7950. {
  7951. addFileHost(
  7952. "dropbox\.com\/s\/\\w+",
  7953. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7954. '>Nothing Here<|>Error (404)<',
  7955. 'title>Dropbox - 509|Error (403)|Error: 429',
  7956. 'optional2--',
  7957. "//a[contains(@href,'dropbox.com')]");
  7958. }
  7959. if (GM_getValue("Check_box_dot_net_links", false))
  7960. {
  7961. addFileHost(
  7962. "box\.net\/\\w+",
  7963. 'download-file-btn|id="download_button',
  7964. 'BIyMin.png| <div class="error_message',
  7965. 'optional--',
  7966. 'optional2--',
  7967. "//a[contains(@href,'box.net')]");
  7968. }
  7969. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7970. {
  7971. addFileHost(
  7972. "filedropper\.com\/\\w+",
  7973. 'background:#ddd;|width:985px; ',
  7974. 'background-color:#FFFFFF;|margin-left: -400px;',
  7975. 'optional--',
  7976. 'optional2--',
  7977. "//a[contains(@href,'filedropper.com')]");
  7978. }
  7979. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7980. {
  7981. addFileHost(
  7982. "tropicshare\\.com\/files\/\\d+",
  7983. 'MB</span>|GB</span>|KB</span>',
  7984. '>FNF<|size: </span>',
  7985. 'optional--',
  7986. 'optional2--',
  7987. "//a[contains(@href,'tropicshare.com')]");
  7988. }
  7989. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7990. {
  7991. addFileHost(
  7992. "worldbytez\.com",
  7993. '<div class="download_type">|method_free',
  7994. '<div style="width:500px;text-align:left;">',
  7995. 'optional--',
  7996. 'optional2--',
  7997. "//a[contains(@href,'worldbytez.com')]",
  7998. true);
  7999. }
  8000. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8001. {
  8002. addFileHost(
  8003. "freefilehosting\.net\/\\w+",
  8004. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8005. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8006. 'optional--',
  8007. 'optional2--',
  8008. "//a[contains(@href,'freefilehosting.net')]");
  8009. }
  8010. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8011. {
  8012. addFileHost(
  8013. "ziddu\.com\/\\w+",
  8014. 'downloads.ziddu.com|downloadfilelinkicon',
  8015. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8016. 'optional--',
  8017. 'optional2--',
  8018. "//a[contains(@href,'ziddu.com')]");
  8019. }
  8020. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8021. {
  8022. addFileHost(
  8023. "exclusiveloader\.com\/\\w+",
  8024. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8025. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8026. 'optional--',
  8027. 'optional2--',
  8028. "//a[contains(@href,'exclusiveloader.com')]");
  8029. }
  8030. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8031. {
  8032. addFileHost(
  8033. "sharerapid\.cz\/\\w+",
  8034. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8035. 'error_div">|404 - Not Found',
  8036. 'optional--',
  8037. 'optional2--',
  8038. "//a[contains(@href,'sharerapid.cz')]");
  8039. }
  8040. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8041. {
  8042. addFileHost(
  8043. "sdilej\.cz\/\\w+",
  8044. 'class="page-download"',
  8045. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8046. 'optional--',
  8047. 'optional2--',
  8048. "//a[contains(@href,'sdilej.cz')]");
  8049. }
  8050. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8051. {
  8052. addFileHost(
  8053. "lafiles\.com\/\\w+",
  8054. '<div id="pay_modes">',
  8055. '<b class="err"></b>',
  8056. 'optional--',
  8057. 'optional2--',
  8058. "//a[contains(@href,'lafiles.com')]");
  8059. }
  8060. if (GM_getValue("Check_acefile_dot_net_links", false))
  8061. {
  8062. addFileHost(
  8063. "acefile\.net\/\\w+",
  8064. 'align=right nowrap><b>',
  8065. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8066. 'optional--',
  8067. 'optional2--',
  8068. "//a[contains(@href,'acefile.net')]");
  8069. }
  8070. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8071. {
  8072. addFileHost(
  8073. "megarapid\.cz\/\\w+",
  8074. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8075. 'error_div">|404 - Not Found',
  8076. 'optional--',
  8077. 'optional2--',
  8078. "//a[contains(@href,'megarapid.cz')]");
  8079. }
  8080. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8081. {
  8082. addFileHost(
  8083. "yadi\.sk\/\\w+",
  8084. 'nb-button _nb-small-button',
  8085. 'error code|Nothing found',
  8086. 'optional--',
  8087. 'optional2--',
  8088. "//a[contains(@href,'yadi.sk')]");
  8089. }
  8090. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8091. {
  8092. addFileHost(
  8093. "hitfile\.net\/\\w+",
  8094. 'class="download-file',
  8095. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8096. 'optional--',
  8097. 'optional2--',
  8098. "//a[contains(@href,'hitfile.net')]");
  8099. }
  8100. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8101. {
  8102. addFileHost(
  8103. "up.top4top\.net\/\\w+",
  8104. 'start Downlod template',
  8105. 'start err template',
  8106. 'optional--',
  8107. 'optional2--',
  8108. "//a[contains(@href,'up.top4top.net')]");
  8109. }
  8110. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8111. {
  8112. addFileHost(
  8113. "filejoker\.net",
  8114. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8115. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8116. 'optional--',
  8117. 'id="download" class="premium-only">',
  8118. "//a[contains(@href,'filejoker.net')]");
  8119. }
  8120. if (GM_getValue("Check_free_dot_fr_links", false))
  8121. {
  8122. addFileHost(
  8123. "(?:dl.\\.|)free\\.fr",
  8124. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8125. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8126. 'optional--',
  8127. 'optional2--',
  8128. "//a[contains(@href,'dl.free.fr')]");
  8129. }
  8130. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8131. {
  8132. addFileHost(
  8133. "gboxes\.com\/\\w+",
  8134. 'You have requested|color="red">http://www.gboxes.com',
  8135. 'File Not Found|<div style="width:500px;text-align:left;">',
  8136. 'optional--',
  8137. 'optional2--',
  8138. "//a[contains(@href,'gboxes.com')]");
  8139. }
  8140. if (GM_getValue("Check_led_dot_wf_links", false))
  8141. {
  8142. addFileHost(
  8143. "led\.wf\/\\w+",
  8144. 'logo_0.png|downloads.gif"|verifycode',
  8145. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8146. 'optional--',
  8147. 'available only for Premium users',
  8148. "//a[contains(@href,'led.wf')]");
  8149. }
  8150. if (GM_getValue("Check_lan_dot_wf_links", false))
  8151. {
  8152. addFileHost(
  8153. "lan\.wf\/\\w+",
  8154. 'logo_0.png|downloads.gif"|verifycode',
  8155. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8156. 'optional--',
  8157. 'available only for Premium users',
  8158. "//a[contains(@href,'lan.wf')]");
  8159. }
  8160. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8161. {
  8162. addFileHost(
  8163. "adlink\.wf\/\\w+",
  8164. 'logo_0.png|downloads.gif"|verifycode',
  8165. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8166. 'optional--',
  8167. 'available only for Premium users',
  8168. "//a[contains(@href,'adlink.wf')]");
  8169. }
  8170. if (GM_getValue("Check_click_dot_tf_links", false))
  8171. {
  8172. addFileHost(
  8173. "click\.tf\/\\w+",
  8174. 'logo_0.png|downloads.gif"|verifycode',
  8175. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8176. 'optional--',
  8177. 'available only for Premium users',
  8178. "//a[contains(@href,'click.tf')]");
  8179. }
  8180. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8181. {
  8182. addFileHost(
  8183. "ssh\.tf\/\\w+",
  8184. 'logo_0.png|downloads.gif"|verifycode',
  8185. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8186. 'optional--',
  8187. 'available only for Premium users',
  8188. "//a[contains(@href,'ssh.tf')]");
  8189. }
  8190. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8191. {
  8192. addFileHost(
  8193. "ssh\.yt\/\\w+",
  8194. 'logo_0.png|downloads.gif"|verifycode',
  8195. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8196. 'optional--',
  8197. 'available only for Premium users',
  8198. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8199. }
  8200. if (GM_getValue("Check_yep_dot_pm_links", false))
  8201. {
  8202. addFileHost(
  8203. "yep\.pm\/\\w+",
  8204. 'logo_0.png|downloads.gif"|verifycode',
  8205. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8206. 'optional--',
  8207. 'available only for Premium users',
  8208. "//a[contains(@href,'yep.pm')]");
  8209. }
  8210. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8211. {
  8212. addFileHost(
  8213. "kyc\.pm\/\\w+",
  8214. 'logo_0.png|downloads.gif"|verifycode',
  8215. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8216. 'optional--',
  8217. 'available only for Premium users',
  8218. "//a[contains(@href,'kyc.pm')]");
  8219. }
  8220. if (GM_getValue("Check_brupload_dot_net_links", false))
  8221. {
  8222. addFileHost(
  8223. "brupload\.net\/\\w+",
  8224. 'Download Gratuito',
  8225. '<div style="width:500px;text-align:left;">',
  8226. 'optional--',
  8227. 'optional2--',
  8228. "//a[contains(@href,'brupload.net')]");
  8229. }
  8230. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8231. {
  8232. addFileHost(
  8233. "cloudzilla\.to\/\\w+",
  8234. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8235. 'File not found|/imgs/broken.png',
  8236. 'optional--',
  8237. 'optional2--',
  8238. "//a[contains(@href,'cloudzilla.to')]");
  8239. }
  8240. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8241. {
  8242. addFileHost(
  8243. "clicknupload\.com\/\\w+",
  8244. 'name="method_free',
  8245. 'File Not Found',
  8246. 'optional--',
  8247. 'optional2--',
  8248. "//a[contains(@href,'clicknupload.com')]");
  8249. }
  8250. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8251. {
  8252. addFileHost(
  8253. "clicknupload\.me\/\\w+",
  8254. 'name="method_free',
  8255. 'File Not Found',
  8256. 'optional--',
  8257. 'optional2--',
  8258. "//a[contains(@href,'clicknupload.me')]");
  8259. }
  8260. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8261. {
  8262. addFileHost(
  8263. "clicknupload\.link\/\\w+",
  8264. 'name="method_free',
  8265. 'File Not Found',
  8266. 'optional--',
  8267. 'optional2--',
  8268. "//a[contains(@href,'clicknupload.link')]");
  8269. }
  8270. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8271. {
  8272. addFileHost(
  8273. "ex-load\.com\/\\w+",
  8274. 'name="method_free|<p>Download File:</p>',
  8275. 'Folder Not Found|File Not Found|Error 404',
  8276. 'optional--',
  8277. 'class="downprem wow bounceInLeft',
  8278. "//a[contains(@href,'ex-load.com')]");
  8279. }
  8280. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8281. {
  8282. addFileHost(
  8283. "hexupload\.com\/\\w+",
  8284. 'button" value="Free|type="submit" value=""',
  8285. 'File Not Found|<div style="width:500px;text-align:left;">',
  8286. 'optional--',
  8287. 'optional2--',
  8288. "//a[contains(@href,'hexupload.com')]");
  8289. }*/
  8290. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8291. {
  8292. addFileHost(
  8293. "wizupload\.com\/\\w+",
  8294. 'btn_download|class="downloadbtn"',
  8295. '>File Not Found<',
  8296. 'optional--',
  8297. 'optional2--',
  8298. "//a[contains(@href,'wizupload.com')]");
  8299. }
  8300. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8301. {
  8302. addFileHost(
  8303. "inclouddrive\.com\/\\w+",
  8304. 'initfreedownload',
  8305. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8306. 'optional--',
  8307. 'optional2--',
  8308. "//a[contains(@href,'inclouddrive.com')]");
  8309. }
  8310. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8311. {
  8312. addFileHost(
  8313. "radicalshare\.com\/\\w+",
  8314. 'value="download1|name="method_free"',
  8315. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8316. 'optional--',
  8317. 'optional2--',
  8318. "//a[contains(@href,'radicalshare.com')]");
  8319. }*/
  8320. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8321. {
  8322. addFileHost(
  8323. "sharemods\.com\/\\w+",
  8324. 'name="method_free"',
  8325. 'File Not Found<',
  8326. 'optional--',
  8327. 'optional2--',
  8328. "//a[contains(@href,'sharemods.com')]");
  8329. }
  8330. if (GM_getValue("Check_hostr_dot_co_links", false))
  8331. {
  8332. addFileHost(
  8333. "hostr\.co\/\\w+",
  8334. 'method="get"',
  8335. 'File not found<|error-page',
  8336. 'optional--',
  8337. 'optional2--',
  8338. "//a[contains(@href,'hostr.co')]");
  8339. }
  8340. if (GM_getValue("Check_filepi_dot_com_links", false))
  8341. {
  8342. addFileHost(
  8343. "filepi\.com\/\\w+",
  8344. 'id="button_start">',
  8345. 'File not found',
  8346. 'optional--',
  8347. 'optional2--',
  8348. "//a[contains(@href,'filepi.com')]");
  8349. }
  8350. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8351. {
  8352. addFileHost(
  8353. "tikfile\.com\/\\w+",
  8354. 'btn_download',
  8355. 'File Not Found|file was removed|Reason for deletion',
  8356. 'optional--',
  8357. 'optional2--',
  8358. "//a[contains(@href,'tikfile.com')]");
  8359. }
  8360. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8361. {
  8362. addFileHost(
  8363. "cloudsix\.me\/\\w+",
  8364. 'name="method_free"',
  8365. 'File Not Found|width:500px;text-align:left;">',
  8366. 'optional--',
  8367. 'optional2--',
  8368. "//a[contains(@href,'cloudsix.me')]");
  8369. }
  8370. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8371. {
  8372. addFileHost(
  8373. "neodrive\.co\/\\w+",
  8374. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8375. 'File not found|/imgs/broken.png',
  8376. 'optional--',
  8377. 'optional2--',
  8378. "//a[contains(@href,'neodrive.co')]");
  8379. }
  8380. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8381. {
  8382. addFileHost(
  8383. "chayfile\.com\/\\w+",
  8384. 'name="method_free"',
  8385. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8386. 'optional--',
  8387. 'optional2--',
  8388. "//a[contains(@href,'chayfile.com')]");
  8389. }
  8390. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8391. {
  8392. addFileHost(
  8393. "xfileload\.com\/\\w+",
  8394. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8395. 'The file you were looking for could not be found, sorry for any inconvenience.|Die von Ihnen angeforderte Datei konnte nicht gefunden werden..|le fichier que vous recherchiez ne pourrait pas etre trouve, désole pour aucun derangement|لم يتم إيجاد الملف المطلوب , عذراً للإزعاج|Istenen dosya bulunamadД±..|Plik ktorego szukasz nie zostal odnaleziony na naszych serwerach, przepraszamy.|El archivo que usted buscaba no podrнa ser encontrado, arrepentido para ningъn inconveniente.|File yang sedang anda cari tidak dapat ditemukan, maaf untuk ketidaknyamanan anda saat ini.|De bestand waar u naar zocht is niet gevonden, excuses voor het ongemak..|הקובץ שחיפשת לא נמצא.',
  8396. 'optional--',
  8397. 'optional2--',
  8398. "//a[contains(@href,'xfileload.com')]");
  8399. }*/
  8400. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8401. {
  8402. addFileHost(
  8403. "rockfile\.eu\/\\w+",
  8404. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8405. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8406. 'optional--',
  8407. 'optional2--',
  8408. "//a[contains(@href,'rockfile.eu')]",
  8409. true);
  8410. }
  8411. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8412. {
  8413. addFileHost(
  8414. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8415. 'i/icon/dll.png"|>Start download<br',
  8416. 'no longer available<|i/ino.png"',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8420. }
  8421. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8422. {
  8423. addFileHost(
  8424. "ozofiles\.com\/\\w+",
  8425. 'button" value="Free|name="method_free',
  8426. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8427. 'optional--',
  8428. 'optional2--',
  8429. "//a[contains(@href,'ozofiles.com')]");
  8430. }
  8431. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8432. {
  8433. addFileHost(
  8434. "userscloud\.com\/\\w+",
  8435. 'btn_download|class="label label-success">',
  8436. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'userscloud.com')]");
  8440. }
  8441. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8442. {
  8443. addFileHost(
  8444. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8445. 'class="button download',
  8446. 'internal server error',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8450. }
  8451. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8452. {
  8453. addFileHost(
  8454. "kb.simple-aja\.info\/\\w+",
  8455. 'class="button download',
  8456. 'internal server error|<p>404</p>',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'kb.simple')]");
  8460. }
  8461. if (GM_getValue("Check_faststore_dot_org_links", false))
  8462. {
  8463. addFileHost(
  8464. "faststore\.org\/\\w+",
  8465. 'name="method_free',
  8466. 'File Not Found',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'faststore.org')]");
  8470. }
  8471. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "prefiles\.com\/\\w+",
  8475. 'id="method_free',
  8476. 'File not Found',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'prefiles.com')]");
  8480. }
  8481. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8482. {
  8483. addFileHost(
  8484. "doraupload\.com\/\\w+",
  8485. 'btn_download|name="method_free',
  8486. 'class="error-code|Could Not Be Found',
  8487. 'optional--',
  8488. 'optional2--',
  8489. "//a[contains(@href,'doraupload.com')]");
  8490. }
  8491. if (GM_getValue("Check_openload_dot_io_links", false))
  8492. {
  8493. addFileHost(
  8494. "openload\.io\/\\w+",
  8495. 'btn btn-primary|class="count">|secondsleftouter',
  8496. 'class="jumbotron">|We are sorry',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'openload.io')]");
  8500. }
  8501. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8502. {
  8503. addFileHost(
  8504. "zxcfiles\.com\/\\w+",
  8505. 'class="downloadbtn',
  8506. 'File Not Found',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'zxcfiles.com')]");
  8510. }
  8511. if (GM_getValue("Check_up07_dot_net_links", false))
  8512. {
  8513. addFileHost(
  8514. "up07\.net\/\\w+",
  8515. 'name="method_free',
  8516. 'File Not Found',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'up07.net')]");
  8520. }
  8521. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8522. {
  8523. addFileHost(
  8524. "fileupload\.pw\/\\w+",
  8525. 'value="Free"',
  8526. 'File Not Found',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'fileupload.pw')]");
  8530. }
  8531. if (GM_getValue("Check_4upld_dot_com_links", false))
  8532. {
  8533. addFileHost(
  8534. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8535. 'alt="Download Now"|content="Download file">|btn-free-element',
  8536. '<title>Error|content="error|File not found',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8540. }
  8541. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8542. {
  8543. addFileHost(
  8544. "(?:.swoopshare)\\.com\/\\w+",
  8545. 'Click below to start|Klicken Sie nachfolgend|Cliquez ci-après pour|Cliccate qui per iniziare|Klik hierna om het bestand|Haga ahora clic para iniciar la',
  8546. '<input type="file" name="f"',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'swoopshare.com')]"
  8550. );
  8551. }
  8552. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8553. {
  8554. addFileHost(
  8555. "cloudshares\.net\/\\w+",
  8556. '"method_free|"Low Speed Download|submit" name="go',
  8557. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8558. 'optional--',
  8559. 'optional2--',
  8560. "//a[contains(@href,'cloudshares.net')]"
  8561. );
  8562. }
  8563. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8564. {
  8565. addFileHost(
  8566. "allmyvideos\.net\/\\w+",
  8567. 'Continue to Video',
  8568. 'File Not Found|class="err">Removed for',
  8569. 'optional--',
  8570. 'optional2--',
  8571. "//a[contains(@href,'allmyvideos.net')]"
  8572. );
  8573. } */
  8574. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8575. {
  8576. addFileHost(
  8577. "vodlocker\.com\/\\w+",
  8578. 'Proceed to video',
  8579. 'Not Found',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'vodlocker.com')]"
  8583. );
  8584. }
  8585. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8586. {
  8587. addFileHost(
  8588. "vidbull\.com\/\\w+",
  8589. 'Verifying Video Request',
  8590. 'File Not Found',
  8591. 'optional--',
  8592. 'optional2--',
  8593. "//a[contains(@href,'vidbull.com')]");
  8594. }
  8595. if (GM_getValue("Check_novamov_dot_com_links", false))
  8596. {
  8597. addFileHost(
  8598. "novamov\.com\/\\w+",
  8599. 'For version detection',
  8600. 'file no longer exists',
  8601. 'optional--',
  8602. 'optional2--',
  8603. "//a[contains(@href,'novamov.com')]"
  8604. );
  8605. }
  8606. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8607. {
  8608. addFileHost(
  8609. "filehoot\.com\/\\w+",
  8610. 'Continue to watch',
  8611. 'File Not Found',
  8612. 'optional--',
  8613. 'optional2--',
  8614. "//a[contains(@href,'filehoot.com')]"
  8615. );
  8616. }
  8617. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8618. {
  8619. addFileHost(
  8620. "stagevu\.com\/\\w+",
  8621. 'Video Info',
  8622. 'No video with the provided',
  8623. 'optional--',
  8624. 'optional2--',
  8625. "//a[contains(@href,'stagevu.com')]"
  8626. );
  8627. }
  8628. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8629. {
  8630. addFileHost(
  8631. "cloudtime\.to\/\\w+",
  8632. 'Download the video',
  8633. 'no longer exists',
  8634. 'optional--',
  8635. 'optional2--',
  8636. "//a[contains(@href,'cloudtime.to')]"
  8637. );
  8638. }
  8639. if (GM_getValue("Check_streamin_dot_to_links", false))
  8640. {
  8641. addFileHost(
  8642. "streamin\.to\/\\w+",
  8643. 'id="btn_download',
  8644. 'Not Found|Copyright Infringement|File Deleted',
  8645. 'optional--',
  8646. 'optional2--',
  8647. "//a[contains(@href,'streamin.to')]"
  8648. );
  8649. }
  8650. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8651. {
  8652. addFileHost(
  8653. "videoweed\.es\/\\w+",
  8654. 'version detection',
  8655. 'no longer exists',
  8656. 'optional--',
  8657. 'optional2--',
  8658. "//a[contains(@href,'videoweed.es')]"
  8659. );
  8660. }
  8661. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8662. {
  8663. addFileHost(
  8664. "nowvideo\.sx\/\\w+",
  8665. 'Download this video|value="submit">Continue',
  8666. 'no longer exists',
  8667. 'optional--',
  8668. 'optional2--',
  8669. "//a[contains(@href,'nowvideo.sx')]"
  8670. );
  8671. }
  8672. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8673. {
  8674. addFileHost(
  8675. "thevideo\.me\/\\w+",
  8676. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8677. 'File Not Found',
  8678. 'optional--',
  8679. 'optional2--',
  8680. "//a[contains(@href,'thevideo.me')]"
  8681. );
  8682. }
  8683. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8684. {
  8685. addFileHost(
  8686. "gorillavid\.in\/\\w+",
  8687. 'Wait 5 seconds',
  8688. 'File Not Found',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'gorillavid.in')]"
  8692. );
  8693. }
  8694. if (GM_getValue("Check_thefile_dot_me_links", false))
  8695. {
  8696. addFileHost(
  8697. "thefile\.me\/\\w+",
  8698. 'Choose free or',
  8699. '',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'thefile.me')]"
  8703. );
  8704. }
  8705. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8706. {
  8707. addFileHost(
  8708. "vidzi\.tv\/\\w+",
  8709. 'video-embed-modal row',
  8710. 'File Not Found|file was deleted',
  8711. 'optional--',
  8712. 'optional2--',
  8713. "//a[contains(@href,'vidzi.tv')]"
  8714. );
  8715. }
  8716. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8717. {
  8718. addFileHost(
  8719. "filenuke\.com\/\\w+",
  8720. 'Download File',
  8721. 'Earn with us',
  8722. 'optional--',
  8723. 'optional2--',
  8724. "//a[contains(@href,'filenuke.com')]"
  8725. );
  8726. }
  8727. if (GM_getValue("Check_vidto_dot_me_links", false))
  8728. {
  8729. addFileHost(
  8730. "vidto\.me\/\\w+",
  8731. 'Proceed to video',
  8732. 'Not Found',
  8733. 'optional--',
  8734. 'optional2--',
  8735. "//a[contains(@href,'vidto.me')]"
  8736. );
  8737. }
  8738. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8739. {
  8740. addFileHost(
  8741. "vidspot\.net\/\\w+",
  8742. 'Duration|method_free',
  8743. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8744. 'optional--',
  8745. 'optional2--',
  8746. "//a[contains(@href,'vidspot.net')]"
  8747. );
  8748. } */
  8749. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8750. {
  8751. addFileHost(
  8752. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8753. 'Download File',
  8754. 'File Not Found',
  8755. 'optional--',
  8756. 'optional2--',
  8757. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8758. );
  8759. }
  8760. if (GM_getValue("Check_movpod_dot_in_links", false))
  8761. {
  8762. addFileHost(
  8763. "movpod\.in\/\\w+",
  8764. 'Continue',
  8765. 'File Not Found',
  8766. 'optional--',
  8767. 'optional2--',
  8768. "//a[contains(@href,'movpod.in')]"
  8769. );
  8770. }
  8771. if (GM_getValue("Check_down4files_dot_com_links", false))
  8772. {
  8773. addFileHost(
  8774. "down4files\.com\/\\w+",
  8775. 'down_table.png',
  8776. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8777. 'optional--',
  8778. 'optional2--',
  8779. "//a[contains(@href,'down4files.com')]"
  8780. );
  8781. }
  8782. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8783. {
  8784. addFileHost(
  8785. "storefiles\.co\/\\w+",
  8786. 'btn_download',
  8787. 'No such file|>Error<|mqmaintitle">',
  8788. 'optional--',
  8789. 'optional2--',
  8790. "//a[contains(@href,'storefiles.co')]"
  8791. );
  8792. }*/
  8793. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8794. {
  8795. addFileHost(
  8796. "filehost\.pw\/\\w+",
  8797. 'name="method_free',
  8798. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8799. 'optional--',
  8800. 'optional2--',
  8801. "//a[contains(@href,'filehost.pw')]"
  8802. );
  8803. }
  8804. if (GM_getValue("Check_uplea_dot_com_links", false))
  8805. {
  8806. addFileHost(
  8807. "uplea\.com\/\\w+",
  8808. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8809. 'expired link|ou est invalide',
  8810. 'optional--',
  8811. 'optional2--',
  8812. "//a[contains(@href,'uplea.com/dl')]",
  8813. true);
  8814. }
  8815. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8816. {
  8817. addFileHost(
  8818. "toutbox\.fr\/\\w+",
  8819. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8820. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8821. 'Serviço temporariamente indisponível',
  8822. 'optional2--',
  8823. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8824. );
  8825. }*/
  8826. if (GM_getValue("Check_openload_dot_co_links", false))
  8827. {
  8828. addFileHost(
  8829. "openload\.co\/\\w+",
  8830. 'id="downloadTimer">|button dlbutton',
  8831. 'jumbotron{color|got deleted|center !important',
  8832. 'optional--',
  8833. 'optional2--',
  8834. "//a[contains(@href,'openload.co')]"
  8835. );
  8836. }
  8837. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8838. {
  8839. addFileHost(
  8840. "lolabits\.es\/\\w+",
  8841. 'Descargar:',
  8842. '<title>Archivos de usuario',
  8843. 'Service Unavailable',
  8844. 'optional2--',
  8845. "//a[contains(@href,'lolabits.es')]"
  8846. );
  8847. }*/
  8848. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8849. {
  8850. addFileHost(
  8851. "alfafile\.net\/\\w+",
  8852. 'id="slow_download_btn',
  8853. 'class="error-box">',
  8854. 'optional--',
  8855. 'optional2--',
  8856. "//a[contains(@href,'alfafile.net')]"
  8857. );
  8858. }
  8859. if (GM_getValue("Check_multiup_dot_org_links", false))
  8860. {
  8861. addFileHost(
  8862. "multiup\\.(?:org|eu)\/\\w+",
  8863. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8864. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8865. 'optional--',
  8866. 'optional2--',
  8867. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8868. );
  8869. }
  8870. if (GM_getValue("Check_file_dot_al_links", false))
  8871. {
  8872. addFileHost(
  8873. "file\\.al",
  8874. 'method_free',
  8875. 'style="width:500px;text-align:left;">',
  8876. 'optional--',
  8877. 'optional2--',
  8878. "//a[contains(@href,'file.al')]"
  8879. );
  8880. }
  8881. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8882. {
  8883. addFileHost(
  8884. "devilshare\.net\/\\w+",
  8885. '<div class="large-12" id="download">',
  8886. '(Link: 0 Invalid)|File Not Found',
  8887. 'optional--',
  8888. 'optional2--',
  8889. "//a[contains(@href,'devilshare.net')]"
  8890. );
  8891. }
  8892. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8893. {
  8894. addFileHost(
  8895. "dailyuploads\.net\/\\w+",
  8896. 'id="downloadBtnClickOrignal',
  8897. '<div style="width:500px;text-align:left;">',
  8898. 'optional--',
  8899. 'optional2--',
  8900. "//a[contains(@href,'dailyuploads.net')]"
  8901. );
  8902. }
  8903. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8904. {
  8905. addFileHost(
  8906. "datoteke\.com\/\\w+",
  8907. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8908. '&nbsp;File has been removed',
  8909. 'optional--',
  8910. '<title>Error - Datoteke',
  8911. "//a[contains(@href,'datoteke.com')]"
  8912. );
  8913. }
  8914. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8915. {
  8916. addFileHost(
  8917. "sharehost\.eu\/\\w+",
  8918. '/?v=download_free&',
  8919. 'Errors occured|Wystąpiły błędy',
  8920. 'optional--',
  8921. 'optional2--',
  8922. "//a[contains(@href,'sharehost.eu')]"
  8923. );
  8924. }
  8925. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8926. {
  8927. addFileHost(
  8928. "pornfile\.cz",
  8929. 'Stáhnout soubor|Stáhnout pomalu',
  8930. 'Soubor byl smazán|Stránka nenalezena',
  8931. 'optional--',
  8932. 'optional2--',
  8933. "//a[contains(@href,'pornfile.cz')]"
  8934. );
  8935. }
  8936. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8937. {
  8938. addFileHost(
  8939. "pornoid\.cz\/\\w+",
  8940. 'class="btn btn-large btn-download',
  8941. 'Soubor byl smazán',
  8942. 'optional--',
  8943. 'optional2--',
  8944. "//a[contains(@href,'pornoid.cz')]"
  8945. );
  8946. }
  8947. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8948. {
  8949. addFileHost(
  8950. "file-share\.top\/\\w+",
  8951. 'btn-success btn-lg download',
  8952. 'Stránka neexistuje|404 Not Found',
  8953. 'optional--',
  8954. 'optional2--',
  8955. "//a[contains(@href,'file-share.top')]"
  8956. );
  8957. }
  8958. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8959. {
  8960. addFileHost(
  8961. "bitster\.cz\/",
  8962. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8963. 'section" content=""',
  8964. 'optional--',
  8965. 'optional2--',
  8966. "//a[contains(@href,'bitster.cz')]"
  8967. );
  8968. }
  8969. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8970. {
  8971. addFileHost(
  8972. "rapidu\.net\/\\w+",
  8973. 'onclick="downloadFreeFile',
  8974. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8975. 'optional--',
  8976. 'optional2--',
  8977. "//a[contains(@href,'rapidu.net')]"
  8978. );
  8979. }
  8980. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8981. {
  8982. addFileHost(
  8983. "dinoshare\.cz\/\\w+",
  8984. 'class="download-button"',
  8985. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8986. 'optional--',
  8987. 'optional2--',
  8988. "//a[contains(@href,'dinoshare.cz')]"
  8989. );
  8990. }
  8991. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8992. {
  8993. addFileHost(
  8994. "bytewhale\.com\/\\w+",
  8995. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8996. 'var rawest = "0 MB|Copyrights Claim</div>',
  8997. 'optional--',
  8998. 'This file is available for premium members only',
  8999. "//a[contains(@href,'bytewhale.com')]"
  9000. );
  9001. }
  9002. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9003. {
  9004. addFileHost(
  9005. "rapidrar\.com\/\\w+",
  9006. 'value="Free Download',
  9007. '<div style="width:500px;text-align:left;">',
  9008. 'optional--',
  9009. 'optional--',
  9010. "//a[contains(@href,'rapidrar.com')]"
  9011. );
  9012. }
  9013. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9014. {
  9015. addFileHost(
  9016. "filesupload\.org\/\\w+",
  9017. '<a href="/download-or-watch/',
  9018. 'File not found',
  9019. 'optional--',
  9020. 'optional--',
  9021. "//a[contains(@href,'filesupload.org')]"
  9022. );
  9023. }
  9024. if (GM_getValue("Check_filecad_dot_com_links", false))
  9025. {
  9026. addFileHost(
  9027. "filecad\.com\/\\w+",
  9028. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9029. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9030. 'optional--',
  9031. 'optional--',
  9032. "//a[contains(@href,'filecad.com')]"
  9033. );
  9034. }
  9035. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9036. {
  9037. addFileHost(
  9038. "file.up09\.com\/\\w+",
  9039. 'name="method_free',
  9040. 'style="width:500px;text-align:left;">',
  9041. 'optional--',
  9042. 'optional--',
  9043. "//a[contains(@href,'file.up09.com')]"
  9044. );
  9045. }
  9046. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9047. {
  9048. addFileHost(
  9049. "lunaticfiles\.com\/\\w+",
  9050. 'name="method_free"',
  9051. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9052. 'optional--',
  9053. 'optional--',
  9054. "//a[contains(@href,'lunaticfiles.com')]"
  9055. );
  9056. }
  9057. if (GM_getValue("Check_upload_dot_af_links", false))
  9058. {
  9059. addFileHost(
  9060. "upload\.af\/\\w+",
  9061. 'id="method_free"',
  9062. '<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|ファイルが見つかりません',
  9063. 'optional--',
  9064. 'optional--',
  9065. "//a[contains(@href,'upload.af')]"
  9066. );
  9067. }
  9068. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9069. {
  9070. addFileHost(
  9071. "filedwon\.info\/\\w+",
  9072. 'name="method_free"',
  9073. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9074. 'optional--',
  9075. 'optional--',
  9076. "//a[contains(@href,'filedwon.info')]"
  9077. );
  9078. }
  9079. if (GM_getValue("Check_uplod_dot_it_links", false))
  9080. {
  9081. addFileHost(
  9082. "uplod\.it\/\\w+",
  9083. 'value="download2">|name="method_free',
  9084. '<Title>Download </Title>',
  9085. 'optional--',
  9086. 'optional--',
  9087. "//a[contains(@href,'uplod.it')]"
  9088. );
  9089. }
  9090. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9091. {
  9092. addFileHost(
  9093. "abelhas\.pt\/\\w+",
  9094. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9095. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9096. 'optional--',
  9097. 'optional--',
  9098. "//a[contains(@href,'abelhas.pt')]"
  9099. );
  9100. } */
  9101. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9102. {
  9103. addFileHost(
  9104. "disk.yandex\.com\/\\w+",
  9105. 'nb-button _nb-small-button',
  9106. 'error code|Nothing found',
  9107. 'optional--',
  9108. 'optional2--',
  9109. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9110. }
  9111. if (GM_getValue("Check_filespace_dot_com_links", false))
  9112. {
  9113. addFileHost(
  9114. "filespace\.com\/\\w+",
  9115. '"method_free',
  9116. '<div style="text-align:left;"><ul>|>File not found.<',
  9117. 'optional1--',
  9118. 'optional2--',
  9119. "//a[contains(@href,'filespace.com')]");
  9120. }
  9121. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9122. {
  9123. addFileHost(
  9124. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9125. 'name="downloadFile|id="downloadFile|value="Wait',
  9126. '<title>File not found</title>|>Error:<',
  9127. 'optional1--',
  9128. 'optional2--',
  9129. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9130. }
  9131. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9132. {
  9133. addFileHost(
  9134. "ncrypt\.in\/\\w+",
  9135. 'Sicherheitsabfrage:|Securitycheck:',
  9136. 'does not exist|existiert nicht',
  9137. 'optional1--',
  9138. 'optional2--',
  9139. "//a[contains(@href,'ncrypt.in')]");
  9140. }
  9141. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9142. {
  9143. addFileHost(
  9144. "jeodrive\.com\/\\w+",
  9145. 'btn-lg regular',
  9146. 'Not found',
  9147. 'optional1--',
  9148. 'optional2--',
  9149. "//a[contains(@href,'jeodrive.com')]");
  9150. }
  9151. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9152. {
  9153. addFileHost(
  9154. "myfiles\.onl\/\\w+",
  9155. 'value="Free"',
  9156. '<div style="width:500px;text-align:left;">',
  9157. 'optional1--',
  9158. 'optional2--',
  9159. "//a[contains(@href,'myfiles.onl')]");
  9160. }
  9161. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9162. {
  9163. addFileHost(
  9164. "uploadserv\.com\/\\w+",
  9165. 'color="red">http://uploadserv.com/',
  9166. 'content="Download File ">|<title>Download </title>',
  9167. 'optional1--',
  9168. 'optional2--',
  9169. "//a[contains(@href,'uploadserv.com')]");
  9170. }
  9171. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9172. {
  9173. addFileHost(
  9174. "keepshare\.net\/\\w+",
  9175. 'method_free',
  9176. '<div style="width:500px;text-align:left;">',
  9177. 'optional1--',
  9178. 'optional2--',
  9179. "//a[contains(@href,'keepshare.net')]");
  9180. }
  9181. if (GM_getValue("Check_oload_dot_net_links", false))
  9182. {
  9183. addFileHost(
  9184. "oload\.net\/\\w+",
  9185. '<font color="red">http://oload.net',
  9186. 'class="page-ttl">',
  9187. 'optional1--',
  9188. 'optional2--',
  9189. "//a[contains(@href,'oload.net')]");
  9190. }
  9191. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9192. {
  9193. addFileHost(
  9194. "filescdn\.com\/\\w+",
  9195. 'btn bg-green-40|btn_download',
  9196. 'icon-warning text-danger',
  9197. 'optional1--',
  9198. 'optional2--',
  9199. "//a[contains(@href,'filescdn.com')]");
  9200. }
  9201. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9202. {
  9203. addFileHost(
  9204. "bankupload\.com\/\\w+",
  9205. 'id="btn_download"|1.0 GB',
  9206. '<div style="width:500px;text-align:left;">',
  9207. 'optional1--',
  9208. ' GB',
  9209. "//a[contains(@href,'bankupload.com')]");
  9210. }
  9211. if (GM_getValue("Check_katfile_dot_com_links", false))
  9212. {
  9213. addFileHost(
  9214. "katfile\.com\/\\w+",
  9215. 'KB| MB|1.0 GB',
  9216. 'images/file_not_found.png"',
  9217. 'optional1--',
  9218. ' GB',
  9219. "//a[contains(@href,'katfile.com')]");
  9220. }
  9221. if (GM_getValue("Check_filesin_dot_space_links", false))
  9222. {
  9223. addFileHost(
  9224. "filesin\.space\/\\w+",
  9225. 'id="btn_download"',
  9226. 'class="err">',
  9227. 'optional1--',
  9228. 'optional2',
  9229. "//a[contains(@href,'filesin.space')]");
  9230. }
  9231. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9232. {
  9233. addFileHost(
  9234. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9235. 'download.php',
  9236. 'notfound|upload\\-suborov\\.php"',
  9237. 'optional--',
  9238. 'optional2--',
  9239. "//a[contains(@href,'upnito.sk')]"
  9240. );
  9241. }
  9242. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9243. {
  9244. addFileHost(
  9245. "alltu\.eu\/\\w+",
  9246. 'download-timer',
  9247. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9248. 'optional1--',
  9249. 'optional2',
  9250. "//a[contains(@href,'alltu.eu')]");
  9251. }
  9252. if (GM_getValue("Check_novafile_dot_com_links", false))
  9253. {
  9254. addFileHost(
  9255. "novafile\.com\/\\w+",
  9256. 'id="regular-download',
  9257. 'id="file-not-found',
  9258. 'optional1--',
  9259. 'id="premium-only',
  9260. "//a[contains(@href,'novafile.com')]");
  9261. }
  9262. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9263. {
  9264. addFileHost(
  9265. "uploadgig\.com\/\\w+",
  9266. 'btn-default',
  9267. 'File not found',
  9268. 'optional1--',
  9269. 'optional2',
  9270. "//a[contains(@href,'uploadgig.com')]");
  9271. }
  9272. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9273. {
  9274. addFileHost(
  9275. "mexashare\.com\/\\w+",
  9276. 'method_free',
  9277. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9278. 'optional1--',
  9279. 'optional2',
  9280. "//a[contains(@href,'mexashare.com')]");
  9281. }
  9282. if (GM_getValue("Check_daofile_dot_com_links", false))
  9283. {
  9284. addFileHost(
  9285. "daofile\.com\/\\w+",
  9286. 'class="captcha_code',
  9287. 'style="width:500px;text-align:left;">',
  9288. 'optional1--',
  9289. 'optional2',
  9290. "//a[contains(@href,'daofile.com')]");
  9291. }
  9292. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9293. {
  9294. addFileHost(
  9295. "imagenetz\.de\/\\w+",
  9296. 'id="download',
  9297. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9298. 'optional1--',
  9299. 'optional2',
  9300. "//a[contains(@href,'imagenetz.de')]");
  9301. }
  9302. if (GM_getValue("Check_uloz_dot_to_links", false))
  9303. {
  9304. addFileHost(
  9305. "uloz\.to",
  9306. 'limitedDownloadButton|Stáhnout pomalu',
  9307. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9308. 'optional1--',
  9309. 'optional2',
  9310. "//a[contains(@href,'uloz.to')]");
  9311. }
  9312. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9313. {
  9314. addFileHost(
  9315. "ulozto.net",
  9316. 'limitedDownloadButton|Stáhnout pomalu',
  9317. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9318. 'optional1--',
  9319. 'optional2',
  9320. "//a[contains(@href,'ulozto.net')]");
  9321. }
  9322. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9323. {
  9324. addFileHost(
  9325. "ulozto\.sk",
  9326. 'limitedDownloadButton|Stáhnout pomalu',
  9327. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9328. 'optional1--',
  9329. 'optional2',
  9330. "//a[contains(@href,'ulozto.sk')]");
  9331. }
  9332. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9333. {
  9334. addFileHost(
  9335. "ulozto\.cz",
  9336. 'limitedDownloadButton|Stáhnout pomalu',
  9337. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9338. 'optional1--',
  9339. 'optional2',
  9340. "//a[contains(@href,'ulozto.cz')]");
  9341. }
  9342. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9343. {
  9344. addFileHost(
  9345. "subyshare\.com\/\\w+",
  9346. 'id="method_free',
  9347. 'file was removed|class="err">|1s">404',
  9348. 'optional1--',
  9349. 'optional2',
  9350. "//a[contains(@href,'subyshare.com')]",
  9351. true);
  9352. }
  9353. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9354. {
  9355. addFileHost(
  9356. "fileshareup\.com\/\\w+",
  9357. 'download-timer|btn-free-element|content="Download file',
  9358. 'content="Error"|content="error|heading-1">Error<',
  9359. 'optional1--',
  9360. 'optional2',
  9361. "//a[contains(@href,'fileshareup.com')]");
  9362. }
  9363. if (GM_getValue("Check_mystore_dot_to_links", false))
  9364. {
  9365. addFileHost(
  9366. "mystore\.to\/\\w+",
  9367. 'Download File',
  9368. 'file not found',
  9369. 'optional1--',
  9370. 'optional2',
  9371. "//a[contains(@href,'mystore.to/dl')]");
  9372. }
  9373. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9374. {
  9375. addFileHost(
  9376. "usercloud\.net\/\\w+",
  9377. 'content="download|var seconds = 60|type="password',
  9378. 'content="error|report_file.html">',
  9379. 'optional1--',
  9380. 'optional2',
  9381. "//a[contains(@href,'usercloud.net')]");
  9382. }
  9383. if (GM_getValue("Check_workupload_dot_com_links", false))
  9384. {
  9385. addFileHost(
  9386. "workupload\.com\/\\w+",
  9387. 'content="Download|id="download"',
  9388. 'File not found|img/not-found.jpg|Error message',
  9389. 'optional1--',
  9390. 'optional2',
  9391. "//a[contains(@href,'workupload.com')]");
  9392. }
  9393. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9394. {
  9395. addFileHost(
  9396. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9397. 'class="download">',
  9398. 'class="error center',
  9399. 'optional1--',
  9400. 'optional2',
  9401. "//a[contains(@href,'storageserver.co.uk')]");
  9402. }
  9403. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9404. {
  9405. addFileHost(
  9406. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9407. '"kind": "file"',
  9408. '"error": "not_exists"',
  9409. 'optional1--',
  9410. 'optional2',
  9411. "//a[contains(@href,'cloud.mail.ru')]");
  9412. }
  9413. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9414. {
  9415. addFileHost(
  9416. "bdupload\.info\/\\w+",
  9417. 'class="downloadbtn">|id="downloadbtn"',
  9418. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9419. 'optional1--',
  9420. 'optional2',
  9421. "//a[contains(@href,'bdupload.info')]");
  9422. }
  9423. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9424. {
  9425. addFileHost(
  9426. "wayupload\.com\/\\w+",
  9427. 'class="nopay-btn gray"',
  9428. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9429. 'optional1--',
  9430. 'optional2',
  9431. "//a[contains(@href,'wayupload.com')]");
  9432. }
  9433. if (GM_getValue("Check_exbit_dot_net_links", false))
  9434. {
  9435. addFileHost(
  9436. "exbit\.net\/\\w+",
  9437. 'class="nopay-btn|href="/download/free/',
  9438. 'File not found',
  9439. 'optional1--',
  9440. 'optional2',
  9441. "//a[contains(@href,'exbit.net')]");
  9442. }
  9443. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9444. {
  9445. addFileHost(
  9446. "uploadocean\.com\/\\w+",
  9447. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9448. 'deleted.png"',
  9449. 'optional1--',
  9450. 'optional2',
  9451. "//a[contains(@href,'uploadocean.com')]");
  9452. }
  9453. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9454. {
  9455. addFileHost(
  9456. "fileflares\.com\/\\w+",
  9457. 'id="downloadbtn"',
  9458. '<div style="width:500px;text-align:left;">',
  9459. 'optional1--',
  9460. 'optional2',
  9461. "//a[contains(@href,'fileflares.com')]");
  9462. }
  9463. if (GM_getValue("Check_erafile_dot_com_links", false))
  9464. {
  9465. addFileHost(
  9466. "erafile\.com\/\\w+",
  9467. 'id="method_free',
  9468. '<div style="width:500px;text-align:left;">',
  9469. 'optional1--',
  9470. 'optional2',
  9471. "//a[contains(@href,'erafile.com')]");
  9472. }
  9473. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9474. {
  9475. addFileHost(
  9476. "suprafiles\.net\/\\w+",
  9477. 'name="method_free"',
  9478. 'File Not Found|style="width:1000px; text-align: left;">',
  9479. 'optional1--',
  9480. 'optional2',
  9481. "//a[contains(@href,'suprafiles.net')]");
  9482. }
  9483. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9484. {
  9485. addFileHost(
  9486. "upfiles\.net\/\\w+",
  9487. 'id="recaptcha2"|snail.png"',
  9488. 'Ten plik został usunięty.|style="margin-top:50px',
  9489. 'optional1--',
  9490. 'optional2',
  9491. "//a[contains(@href,'upfiles.net/f/')]");
  9492. }
  9493. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9494. {
  9495. addFileHost(
  9496. "dailyfiles\.net\/\\w+",
  9497. 'onclick="dwn',
  9498. '<title>Error',
  9499. 'optional1--',
  9500. 'optional2',
  9501. "//a[contains(@href,'dailyfiles.net')]");
  9502. }
  9503. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9504. {
  9505. addFileHost(
  9506. "littlebyte\.net\/\\w+",
  9507. '>Free download<|>Скачать медленно<',
  9508. 'images/dmca.png">',
  9509. 'optional1--',
  9510. 'optional2',
  9511. "//a[contains(@href,'littlebyte.net')]");
  9512. }
  9513. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9514. {
  9515. addFileHost(
  9516. "black\\-label\\.pro\/\\w+",
  9517. 'slow_download_button.png"|td><td title="',
  9518. 'STILL NEED CODE FOR DEAD LINKS',
  9519. 'optional1--',
  9520. 'optional2',
  9521. "//a[contains(@href,'black-label.pro')]");
  9522. }
  9523. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9524. {
  9525. addFileHost(
  9526. "temp\\-share\\.com\/\\w+",
  9527. 'publickey',
  9528. 'STILL NEED CODE FOR DEAD LINKS',
  9529. 'optional1--',
  9530. 'optional2',
  9531. "//a[contains(@href,'temp-share.com')]");
  9532. }
  9533. if (GM_getValue("Check_filesha_dot_com_links", false))
  9534. {
  9535. addFileHost(
  9536. "filesha\.com\/\\w+",
  9537. '>Download Free<',
  9538. 'STILL NEED CODE FOR DEAD LINKS',
  9539. 'optional1--',
  9540. 'optional2',
  9541. "//a[contains(@href,'filesha.com')]");
  9542. }
  9543. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9544. {
  9545. addFileHost(
  9546. "ausfile\.com\/\\w+",
  9547. 'class="slow-download',
  9548. 'File Not Found',
  9549. 'optional1--',
  9550. 'optional2',
  9551. "//a[contains(@href,'ausfile.com')]");
  9552. }
  9553.  
  9554. }
  9555. //start here
  9556.  
  9557. //hosts with direct download, so they must be requested for headers only
  9558. function initFileHostsHeadersOnly()
  9559. {
  9560. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9561. {
  9562. var host = new Array(5);
  9563. host[0] = linkRegex;
  9564. host[1] = isAliveRegex;
  9565. host[2] = isDeadRegex;
  9566. host[4] = ispremRegex;
  9567. host[3] = xpathEx;
  9568. http_file_hosts_headers_only.push(host);
  9569. }
  9570. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9571. {
  9572. addFileHostHeadersOnly(
  9573. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9574. 'Connection: Keep-Alive',
  9575. 'Content-Length: 3857',
  9576. 'optional2',
  9577. "//a[contains(@href,'uloziste.com')]"
  9578. )
  9579. }
  9580. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9581. {
  9582. addFileHostHeadersOnly(
  9583. "filescdn\.com\/\\w+",
  9584. 'Connection: keep-alive',
  9585. 'Company</Title>',
  9586. 'optional2',
  9587. "//a[contains(@href,'filescdn.com')]"
  9588. )
  9589. } */
  9590. if (GM_getValue("Check_adrive_dot_com_links", false))
  9591. {
  9592. addFileHostHeadersOnly(
  9593. "adrive\\.com\/public\/\\w+",
  9594. 'Connection: keep-alive',
  9595. 'orig_ref=deleted',
  9596. 'optional2',
  9597. "//a[contains(@href,'adrive.com')]"
  9598. )
  9599. }
  9600. }
  9601.  
  9602. //CustomRules
  9603. //functions add...Host copied here
  9604. function addObsoleteHost(linkRegex, xpathEx)
  9605. {
  9606. var host = new Array(2);
  9607. host[0] = linkRegex;
  9608. host[1] = xpathEx;
  9609. http_file_hosts_obsolete.push(host);
  9610. }
  9611. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9612. {
  9613. var host = new Array(7);
  9614. host[0] = linkRegex;
  9615. host[1] = isAliveRegex;
  9616. host[2] = isDeadRegex;
  9617. host[3] = isUnavaRegex;
  9618. host[4] = xpathEx;
  9619. tryLoop ? host[5] = true : host[5] = false;
  9620. host[6] = ispremRegex;
  9621. http_file_hosts.push(host);
  9622. }
  9623. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9624. {
  9625. var host = new Array(5);
  9626. host[0] = linkRegex;
  9627. host[1] = isAliveRegex;
  9628. host[2] = isDeadRegex;
  9629. host[3] = xpathEx;
  9630. host[4] = ispremRegex;
  9631. http_file_hosts_headers_only.push(host);
  9632. }
  9633. //takes a fully built rules array and adds the rules to WARLC
  9634. function applyCustomRules(customRules)
  9635. {
  9636. if (!customRules) return;
  9637. var rules, r, i;
  9638. rules = customRules.rules;
  9639. for (i = 0 ; i < rules.length ; i++)
  9640. {
  9641. r = rules[i];
  9642. if (r.enabled)
  9643. {
  9644. switch (r.type)
  9645. {
  9646. case 'single':
  9647. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9648. break;
  9649. case 'headers':
  9650. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9651. break;
  9652. case 'obsolete':
  9653. addObsoleteHost(r.urlregex, r.xpath)
  9654. break;
  9655. }
  9656. }
  9657. }
  9658. }
  9659.  
  9660.  
  9661. function initFileHostsCustom()
  9662. {
  9663. if (Custom_rules && Custom_rules_text)
  9664. {
  9665. var msg = '';
  9666. if (newVersion)
  9667. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9668. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9669. msg = '60 or more days have passed since this notification.\n\n';
  9670. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9671. {
  9672. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9673. msg +=
  9674. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9675. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9676. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9677. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9678. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9679. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9680. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9681. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9682. setTimeout(function(){alert(msg)},0);
  9683. }
  9684. var customRules = parseCustomRules(Custom_rules_text);
  9685. if (customRules.warning || customRules.error)
  9686. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9687. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9688. JSON.stringify(customRules.info, null, ' '));
  9689. applyCustomRules(customRules);
  9690. }
  9691. }
  9692. //end of CustomRules processing
  9693.  
  9694.  
  9695.  
  9696. } //end of function start
  9697.  
  9698.  
  9699.  
  9700. function initClipBoardTools()
  9701. {
  9702. unsafeWindow.copyToClipboard = function(text)
  9703. {
  9704. try
  9705. {
  9706. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9707.  
  9708. var str = Components.classes["@mozilla.org/supports-string;1"].
  9709. createInstance(Components.interfaces.nsISupportsString);
  9710. if (!str) return false;
  9711.  
  9712. str.data = text;
  9713.  
  9714. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9715. createInstance(Components.interfaces.nsITransferable);
  9716. if (!trans) return false;
  9717.  
  9718. trans.addDataFlavor("text/unicode");
  9719. trans.setTransferData("text/unicode", str, text.length * 2);
  9720.  
  9721. var clipid = Components.interfaces.nsIClipboard;
  9722. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9723. if (!clip) return false;
  9724.  
  9725. clip.setData(trans, null, clipid.kGlobalClipboard);
  9726. } catch (e) {
  9727. GM_log("Error copyToClipboard : " + e);
  9728. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9729. }
  9730. }
  9731. }
  9732.  
  9733.  
  9734.  
  9735. //CustomRules
  9736.  
  9737. function escapeRegex(str)
  9738. {
  9739. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9740. }
  9741.  
  9742.  
  9743. //called internally from parseCustomRules.
  9744. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9745. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9746. function makeCustomRule(rule)
  9747. {
  9748. function makeMatchRegex(arrmatch)
  9749. {
  9750. return escapeRegex(arrmatch.join('\n'))
  9751. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9752. .replace(/\n/g,'|'); //join together
  9753. }
  9754. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9755. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9756. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9757. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9758. if (rule.baseurl)
  9759. {
  9760. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9761. for (i = 0 ; i < len ; i++)
  9762. {
  9763. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9764. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9765. {
  9766. 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'])
  9767. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9768. }
  9769. else //baseurl in the form: example.com/xxx
  9770. {
  9771. xpath.push(m[0]);
  9772. urlregex.push(escapeRegex(m[0]) + '.');
  9773. }
  9774. }
  9775. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9776. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9777. }
  9778. return rule;
  9779. } //function makeCustomRule
  9780.  
  9781.  
  9782. /*
  9783. Takes a string containing custom link checking rules.
  9784. Returns an object with fields:
  9785. info - contains notes, warnings and errors found during parsing
  9786. rules - the array of custom rules
  9787. note, warning, error - number of each of them found during parsing
  9788. Format of the input string:
  9789. One command per line. Command format: @keyword parameter
  9790. Keywords:
  9791. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9792. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9793. These keywords can be multiple (any of them will work):
  9794. @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...)
  9795. @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+
  9796. @alivelink, @deadlink - example links
  9797. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9798. Lines starting with // and empty lines are ignored.
  9799. Invalid parameters generate errors and those lines are skipped.
  9800. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9801. Example:
  9802. @customrule filehost
  9803. @baseurl filehost.com/download/
  9804. @baseurl filehost2. com net /d?=
  9805. @alivematch id="download">
  9806. @deadmatch File not found
  9807. @deadmatch File deleted
  9808. */
  9809. function parseCustomRules(rulesStr)
  9810. {
  9811. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9812. function addInfo(type, msg, ln){
  9813. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9814. customRules[type]++;
  9815. }
  9816. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9817. if (!lines) return null;
  9818. lines.push('@#customrule _'); //to save the last rule
  9819. var m, linecount = lines.length;
  9820. var keyword, param, constr, rule, err;
  9821. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9822. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9823. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9824. var constraints = {
  9825. 'baseurl': {
  9826. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9827. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9828. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9829. 'alivematch': {
  9830. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9831. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9832. 'deadmatch': {
  9833. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9834. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9835. 'unavamatch': {
  9836. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9837. 'alivelink': {
  9838. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9839. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9840. 'deadlink': {
  9841. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9842. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9843. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9844. };
  9845. for (linenum = 0 ; linenum < linecount ; linenum++)
  9846. {
  9847. //capturing groups: 1 23 4 5 6
  9848. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9849. if (m)
  9850. {
  9851. if (m[1] || !m[2])
  9852. continue; // ignore empty lines and lines starting with //
  9853. keyword = (m[4] || m[2]).toLowerCase();
  9854. param = m[6];
  9855. if (keyword == 'customrule')
  9856. {
  9857. //save the current rule if all required fields are provided
  9858. if (rule)
  9859. {
  9860. err = false;
  9861. $.each(constraints, function(kw, constraint){
  9862. var l, constr = constraint[rule.type];
  9863. if (constr)
  9864. {
  9865. l = rule[kw] ? rule[kw].length : 0;
  9866. if (l < constr.min || l > constr.max)
  9867. {
  9868. 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);
  9869. err = true;
  9870. }
  9871. }
  9872. });
  9873. if (!err)
  9874. customRules.rules.push(makeCustomRule(rule));
  9875. }
  9876. //start a new rule
  9877. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9878. {
  9879. rule = {
  9880. 'enabled': !m[3],
  9881. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9882. 'name': param
  9883. };
  9884. }
  9885. else
  9886. {
  9887. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9888. rule = null;
  9889. }
  9890. }
  9891. else //good line format, but keyword other than customrule
  9892. {
  9893. if (!rule)
  9894. {
  9895. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9896. continue;
  9897. }
  9898. if (constraints[keyword])
  9899. {
  9900. constr = constraints[keyword][rule.type];
  9901. if (constr)
  9902. {
  9903. if (constr.paramRE && !constr.paramRE.test(param))
  9904. {
  9905. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9906. continue;
  9907. }
  9908. }
  9909. else
  9910. {
  9911. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9912. continue;
  9913. }
  9914. }
  9915. //line OK, save
  9916. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9917. }
  9918. } //if (m)
  9919. else
  9920. addInfo('warning', 'Unknown line format. Line skipped.');
  9921. } //for loop
  9922. return customRules;
  9923. } //function parseCustomRules
  9924.  
  9925.  
  9926. /* ********************UPDATES********************
  9927.  
  9928. January 07, 2016
  9929. Version 1.3.6.1
  9930. added ausfile.com
  9931.  
  9932. January 05, 2016
  9933. Version 1.3.6.0
  9934. removed uploadable.ch from obsolete hosts
  9935.  
  9936. January 04, 2017
  9937. Version 1.3.5.9
  9938. added secureupload.eu to obsolete hosts
  9939.  
  9940. December 31, 2016
  9941. Version 1.3.5.8
  9942. disabled on pizzaonline.dominos
  9943.  
  9944. December 31, 2016
  9945. Version 1.3.5.7
  9946. added uploadable.ch to obsolete hosts
  9947.  
  9948. December 30, 2016
  9949. Version 1.3.5.6
  9950. restored kingfiles.net
  9951.  
  9952. December 14, 2016
  9953. Version 1.3.5.5
  9954. fixed some 1fichier links not checking (yurii)
  9955.  
  9956. December 01, 2016
  9957. Version 1.3.5.4
  9958. added temp-share.com & filesha.com
  9959.  
  9960. November 30, 2016
  9961. Version 1.3.5.3
  9962. fixed mexashare.com not detecting some dead links
  9963.  
  9964. November 29, 2016
  9965. Version 1.3.5.2
  9966. added black-label.pro (live links only)
  9967.  
  9968. November 27, 2016
  9969. Version 1.3.5.1
  9970. made changes to filefactory
  9971.  
  9972. November 23, 2016
  9973. Version 1.3.5.0
  9974. added megashares.com to obsolete hosts
  9975. fixed letitbit not showing as obsolete
  9976. added littlebyte.net
  9977.  
  9978. November 22, 2016
  9979. Version 1.3.4.9
  9980. added code for live links to rapidgator
  9981. added dailyfiles.net
  9982. added upfiles.net
  9983. added multiup.eu
  9984.  
  9985. November 17, 2016
  9986. Version 1.3.4.8
  9987. fixed filefactory, again
  9988.  
  9989. November 17, 2016
  9990. Version 1.3.4.7
  9991. fixed filefactory folders
  9992.  
  9993. November 15, 2016
  9994. Version 1.3.4.6
  9995. fixed filefactory
  9996.  
  9997. November 14, 2016
  9998. Version 1.3.4.5
  9999. fixed rapidgator
  10000. fixed filefactory folders
  10001.  
  10002.  
  10003. November 13, 2016
  10004. Version 1.3.4.4
  10005. fixed problem with drive.google.com
  10006. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10007.  
  10008. November 06, 2016
  10009. Version 1.3.4.3
  10010. added to obsolete hosts (by love buzz)
  10011. 4up.me
  10012. a nonfiles.com
  10013. axifile.com
  10014. creafile.net
  10015. demo.ovh.eu
  10016. filesin.com
  10017. file swap.com
  10018. gulfup.com
  10019. hexupload.com
  10020. hugefiles.net
  10021. jumbofiles.com
  10022. kingfiles.net
  10023. letitbit.net
  10024. lolabits.es
  10025. nowdownload.ch
  10026. openfile.ru
  10027. radicalshare.com
  10028. remixshare.com
  10029. storefiles.co
  10030. toutbox.fr
  10031. uploadbaz.com
  10032. uploadingit.com
  10033. verzend.be
  10034. vidplay.net
  10035. vidxden.com
  10036. xfileload.com
  10037.  
  10038. November 04, 2016
  10039. Version 1.3.4.2
  10040. added french code for rapidgator premium links
  10041. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10042.  
  10043. November 03, 2016
  10044. Version 1.3.4.1
  10045. added Portuguese code for rapidgator premium links
  10046. added suprafiles.net
  10047.  
  10048. November 02, 2016
  10049. Version 1.3.4.0
  10050. fixed depositfiles not detecting depositfiles.com/de links
  10051.  
  10052. October 27, 2016
  10053. Version 1.3.3.9
  10054. fixed uploaded.net not detecting some dead links
  10055.  
  10056. October 24, 2016
  10057. Version 1.3.3.8
  10058. added more french code for upload.af dead links
  10059.  
  10060. October 23, 2016
  10061. Version 1.3.3.7
  10062. added french for upload.af dead links
  10063.  
  10064. October 17, 2016
  10065. Version 1.3.3.6
  10066. fixed error (by Yurii)
  10067.  
  10068. October 17, 2016
  10069. Version 1.3.3.5
  10070. fixed file.al (by Yurii)
  10071.  
  10072. October 16, 2016
  10073. Version 1.3.3.4
  10074. test
  10075.  
  10076. October 11, 2016
  10077. Version 1.3.3.3
  10078. fixed subyshare.com not detecting some dead links
  10079. fixed mexashare.com
  10080. fixed pornfile.cz
  10081.  
  10082. October 10, 2016
  10083. Version 1.3.3.2
  10084. added fileflares.com
  10085. added erafile.com
  10086. added loop to subyshare.com & rockfile.eu
  10087.  
  10088. September 26, 2016
  10089. Version 1.3.3.1
  10090. added uploadocean.com
  10091.  
  10092. September 25, 2016
  10093. Version 1.3.3.0
  10094. added exbit.net
  10095.  
  10096. September 25, 2016
  10097. Version 1.3.2.9
  10098. fixed uptobox
  10099. fixed google (by kubbbie)
  10100.  
  10101. September 23, 2016
  10102. Version 1.3.2.8
  10103. added danish to rapidgator
  10104.  
  10105. September 22, 2016
  10106. Version 1.3.2.7
  10107. added wayupload.com
  10108.  
  10109. September 18, 2016
  10110. Version 1.3.2.6
  10111. added Portuguese language to rapidgator
  10112.  
  10113. September 15, 2016
  10114. Version 1.3.2.5
  10115. added languages to rapidgator
  10116. french
  10117. german
  10118. spanish
  10119. Italian
  10120. russian
  10121. polish
  10122. dutch
  10123. czech
  10124. chinese
  10125. japanese
  10126.  
  10127. September 14, 2016
  10128. Version 1.3.2.4
  10129. fixed spaceforfiles.com
  10130.  
  10131. September 09, 2016
  10132. Version 1.3.2.3
  10133. added bdupload.info
  10134. added german & deutsch language to workupload.com
  10135.  
  10136. September 08, 2016
  10137. Version 1.3.2.2
  10138. added...
  10139. storageserver.co.uk
  10140. cloud.mail.ru
  10141. fixed depositfiles
  10142.  
  10143. September 08, 2016
  10144. Version 1.3.2.1
  10145. added workupload.com
  10146.  
  10147. September 04, 2016
  10148. Version 1.3.2.0
  10149. made changes to euroshare.eu
  10150.  
  10151. September 03, 2016
  10152. Version 1.3.1.9
  10153. added usercloud.net
  10154. made changes to euroshare.eu
  10155.  
  10156. August 31, 2016
  10157. Version 1.3.1.8
  10158. fixed uptobox.com
  10159.  
  10160. August 30, 2016
  10161. Version 1.3.1.7
  10162. made changes to euroshare.eu
  10163.  
  10164. August 29, 2016
  10165. Version 1.3.1.6
  10166. made changes to data.hu
  10167.  
  10168. August 29, 2016
  10169. Version 1.3.1.5
  10170. fixed euroshare.eu not detecting dead links
  10171.  
  10172. August 23, 2016
  10173. Version 1.3.1.4
  10174. added ulozto.sk
  10175. added ulozto.cz
  10176.  
  10177. August 19, 2016
  10178. Version 1.3.1.3
  10179. fixed euroshare.eu
  10180. fixed 2share.com
  10181.  
  10182. August 17, 2016
  10183. Version 1.3.1.2
  10184. added french code for 1fichier
  10185.  
  10186. August 16, 2016
  10187. Version 1.3.1.1
  10188. fix for 1fichier folder links, by yurii
  10189.  
  10190. August 15, 2016
  10191. Version 1.3.1.0
  10192. another fix for 1fichier
  10193. added mystore.to
  10194.  
  10195. August 12, 2016
  10196. Version 1.3.0.9
  10197. fixed 1fichier
  10198.  
  10199. August 01, 2016
  10200. Version 1.3.0.8
  10201. fixed tezfiles.com not detecting some premium links
  10202.  
  10203. July 24, 2016
  10204. Version 1.3.0.7
  10205. added fileshareup.com
  10206.  
  10207. July 17, 2016
  10208. Version 1.3.0.6
  10209. added subyshare.com
  10210.  
  10211. july 10, 2016
  10212. Version 1.3.0.5
  10213. fixed ulozto.net
  10214.  
  10215. july 07, 2016
  10216. Version 1.3.0.4
  10217. fixed uloz.to
  10218.  
  10219. july 07, 2016
  10220. Version 1.3.0.3
  10221. added imagenetz.de
  10222.  
  10223. June 23, 2016
  10224. Version 1.3.0.2
  10225. excluded nexcess.net
  10226.  
  10227. June 20, 2016
  10228. Version 1.3.0.1
  10229. added daofile.com
  10230.  
  10231. June 16, 2016
  10232. Version 1.3.0.0
  10233. added mexashare.com
  10234.  
  10235. June 16, 2016
  10236. Version 1.2.9.9
  10237. added novafile.com
  10238. added uploadgig.com
  10239.  
  10240. June 15, 2016
  10241. Version 1.2.9.8
  10242. fixed upload.af
  10243.  
  10244. June 10, 2016
  10245. Version 1.2.9.7
  10246. added alltu.eu
  10247.  
  10248. June 09, 2016
  10249. Version 1.2.9.6
  10250. added code for french language to rapidgator.net & rg.to
  10251.  
  10252. June 04, 2016
  10253. Version 1.2.9.5
  10254. added upnito.sk
  10255.  
  10256. May 31, 2016
  10257. Version 1.2.9.4
  10258. fixed mega.co (by yurii)
  10259.  
  10260. May 31, 2016
  10261. Version 1.2.9.3
  10262. code cleanup
  10263.  
  10264. May 27, 2016
  10265. Version 1.2.9.2
  10266. added filesin.space
  10267.  
  10268. May 27, 2016
  10269. Version 1.2.9.1
  10270. added
  10271. filescdn.com
  10272. bankupload.com
  10273. katfile.com
  10274.  
  10275. May 18, 2016
  10276. Version 1.2.9.0
  10277. added warped.co to obsolete hosts
  10278.  
  10279. May 17, 2016
  10280. Version 1.2.8.9
  10281. fixed mega.nz
  10282.  
  10283. May 16, 2016
  10284. Version 1.2.8.8
  10285. added to obsolete hosts
  10286. fileband.com
  10287. filecloud.cc
  10288. filesmelt.com
  10289. goldbytez.com
  10290. hulkshare.com
  10291. idup.in
  10292. loudupload.net
  10293. muchshare.net
  10294. myupload.dk
  10295. nekaka.com
  10296. netkups.com
  10297. plunder.com
  10298. uploads.xxx
  10299. uploadspace.pl
  10300. xkeepfile.com
  10301.  
  10302. May 16, 2016
  10303. Version 1.2.8.7
  10304. added upnito.sk to obsolete hosts
  10305.  
  10306. May 15, 2016
  10307. Version 1.2.8.6
  10308. fixed uploading.site
  10309.  
  10310. May 15, 2016
  10311. Version 1.2.8.5
  10312. added oload.net
  10313.  
  10314. May 14, 2016
  10315. Version 1.2.8.4
  10316. added uploading.site
  10317.  
  10318. May 13, 2016
  10319. Version 1.2.8.3
  10320. added uploadc.ch
  10321. fixed vidspot.net
  10322.  
  10323. May 13, 2016
  10324. Version 1.2.8.2
  10325. added keepshare.net
  10326.  
  10327. May 11, 2016
  10328. Version 1.2.8.1
  10329. added uploadserv.com
  10330.  
  10331. May 09, 2016
  10332. Version 1.2.8.0
  10333. fixed upstore.net & upsto.re
  10334. added 24uploading.com to obsolete hosts
  10335.  
  10336. May 06, 2016
  10337. Version 1.2.7.9
  10338. added storagon.com to obsolete hosts
  10339. fixed worldbytez.com
  10340.  
  10341. May 02, 2016
  10342. Version 1.2.7.8
  10343. added myfiles.onl
  10344.  
  10345. april 28, 2016
  10346. Version 1.2.7.7
  10347. fixed bytewhale.com
  10348.  
  10349. april 27, 2016
  10350. Version 1.2.7.6
  10351. fixed rapidgator not detecting some premium links.
  10352.  
  10353. april 27, 2016
  10354. Version 1.2.7.5
  10355. added jeodrive.com
  10356.  
  10357. april 26, 2016
  10358. Version 1.2.7.4
  10359. added sanshare.com to obsolete hosts
  10360.  
  10361. april 26, 2016
  10362. Version 1.2.7.3
  10363. fixed vidspot.net
  10364.  
  10365. april 26, 2016
  10366. Version 1.2.7.2
  10367. added upx.nz
  10368.  
  10369. april 25, 2016
  10370. Version 1.2.7.1
  10371. added rapidfilehost.com to obsolete hosts
  10372. fixed bitster.cz
  10373.  
  10374. april 12, 2016
  10375. Version 1.2.7.0
  10376. fixed rapidgator not detecting some premium links.
  10377.  
  10378. april 11, 2016
  10379. Version 1.2.6.9
  10380. changed code for ncrypt.in
  10381.  
  10382. april 07, 2016
  10383. Version 1.2.6.8
  10384. added fileinz.com to obsolete hosts.
  10385.  
  10386. april 06, 2016
  10387. Version 1.2.6.7
  10388. added sharingmaster.com to obsolete hosts.
  10389.  
  10390. april 05, 2016
  10391. Version 1.2.6.6
  10392. added 4upfiles.com & elffiles.com to obsolete hosts
  10393.  
  10394. april 03, 2016
  10395. Version 1.2.6.5
  10396. updates to configuration page
  10397.  
  10398. March 31, 2016
  10399. Version 1.2.6.4
  10400. added code for tampermonkey 4.0 compatibility
  10401.  
  10402. March 31, 2016
  10403. Version 1.2.6.3
  10404. fixed uloz.to
  10405. fixed copy dead links to clipboard feature
  10406. added copy live links to clipboard feature.
  10407.  
  10408. March 24, 2016
  10409. Version 1.2.6.2
  10410. changed made to nitroflare. (yurri)
  10411.  
  10412. March 20, 2016
  10413. Version 1.2.6.1
  10414. fixed rapidgator
  10415. fixed dfiles
  10416. fixed dl.free.fr
  10417. fixed nitroflare.com (Fixed by Yurii)
  10418.  
  10419. March 15, 2016
  10420. Version 1.2.6.0
  10421. fixed rapidgator.net
  10422. fixed uploaded.net
  10423.  
  10424. March 13, 2016
  10425. Version 1.2.5.9
  10426. added
  10427. uploads.ws
  10428. upl.me
  10429. clicknupload.link
  10430. added fileover.net to obsolete hosts
  10431. fixed kingfiles.net
  10432.  
  10433. March 09, 2016
  10434. Version 1.2.5.8
  10435. added kingfiles.net to obsolete hosts
  10436. fixed 4upld.com/expressleech.com
  10437.  
  10438. March 08, 2016
  10439. Version 1.2.5.7
  10440. fixed solidfiles.com
  10441.  
  10442. March 01, 2016
  10443. Version 1.2.5.6
  10444. added filespace.com
  10445. fixed depositfiles (by yurii)
  10446.  
  10447. February 29, 2016
  10448. Version 1.2.5.5
  10449. made change to keep2share
  10450.  
  10451. February 28, 2016
  10452. Version 1.2.5.4
  10453. removed down4files.com from obsolete hosts.
  10454.  
  10455. February 26, 2016
  10456. Version 1.2.5.3
  10457. fixed userscloud.com
  10458.  
  10459. February 24, 2016
  10460. Version 1.2.5.2
  10461. added yandex.com
  10462. fixed datafile.com
  10463.  
  10464. February 22, 2016
  10465. Version 1.2.5.1
  10466. added bigfile.to
  10467.  
  10468. February 20, 2016
  10469. Version 1.2.5.0
  10470. added abelhas.pt
  10471.  
  10472. February 18, 2016
  10473. Version 1.2.4.9
  10474. made change to uptobox
  10475.  
  10476. February 17, 2016
  10477. Version 1.2.4.8
  10478. fixed yadi.sk
  10479.  
  10480. February 16, 2016
  10481. Version 1.2.4.7
  10482. fixed datafile.com
  10483. fixed filecad.com
  10484. added filecore.co & filestorm.to to obsolete hosts
  10485. added upload.af, filedwon.in & uplod.it
  10486.  
  10487. February 15, 2016
  10488. Version 1.2.4.6
  10489. fixed kumpulbagi.id
  10490. added sangfile.com to obsolete hosts
  10491.  
  10492. February 14, 2016
  10493. Version 1.2.4.5
  10494. fixed yandex.ru
  10495.  
  10496. February 13, 2016
  10497. Version 1.2.4.4
  10498. added lunaticfiles.com.
  10499.  
  10500. February 09, 2016
  10501. Version 1.2.4.3
  10502. added file.up09.com.
  10503.  
  10504. February 09, 2016
  10505. Version 1.2.4.2
  10506. tezfiles.com premium links now detected.
  10507.  
  10508. February 09, 2016
  10509. Version 1.2.4.1
  10510. added seenupload.com to obsolete hosts
  10511. fixed 180upload.com to show obsolete
  10512.  
  10513. February 08, 2016
  10514. Version 1.2.4.0
  10515. added tusfiles.com
  10516. added filesupload.org
  10517. added gigasize.com
  10518. added filecad.com
  10519. fixed filecloud.io
  10520. added uploadnet.co to obsolete hosts
  10521.  
  10522. February 07,2016
  10523. Vession 1.2.3.9
  10524. fixed depositfiles.com folders
  10525. fixed turbobit.net folders
  10526.  
  10527. February 06, 2016
  10528. Version 1.2.3.8
  10529. fixed 1fichier false dead links
  10530.  
  10531. February 04, 2106
  10532. Version 1.2.3.7
  10533. added geupload and lenfile to obsolete hosts
  10534. fixed kyc.pm/depfile
  10535.  
  10536. February 03, 2016
  10537. Version 1.2.3.6
  10538. fixed some nitroflare.com dead links not being detected
  10539.  
  10540. February 01, 2016
  10541. Version 1.2.3.5
  10542. script moved to new site
  10543.  
  10544. January 20, 2016
  10545. Version 1.2.3.3
  10546. fixed some rapidgator premium link not being detected
  10547.  
  10548. January 17, 2016
  10549. Version 1.2.3.2
  10550. added bytewhale.com
  10551. added rapidrar.com
  10552.  
  10553. Version 1.2.3.1
  10554. added 180upload.com to obsolete hosts
  10555. fixed hellspy.com
  10556. added dinoshare.cz,
  10557.  
  10558. January 13, 2016
  10559. Version 1.2.3.0
  10560. added rapidu.net
  10561. added uploadboy.me
  10562. fixed euroshare.eu
  10563.  
  10564. January 12, 2016
  10565. Version 1.2.2.9
  10566. added kb.simple-aja.info
  10567.  
  10568. January 10, 2016
  10569. Version 1.2.2.8
  10570. made changes to fastshare.cz
  10571.  
  10572. January 10, 2016
  10573. Version 1.2.2.7
  10574. fixed uptobox.com
  10575.  
  10576. January 09, 2016
  10577. Version 1.2.2.6
  10578. datoteke.com now detects premium links
  10579. fixed turbobit.net
  10580. fixed uptobox.com
  10581. added pornfile.cz
  10582. added pornoid.cz
  10583. added file-share.top
  10584. added bitster.cz
  10585.  
  10586. January 05, 2016
  10587. Version 1.2.2.5
  10588. fixed salefiles.com
  10589. fixed ozofile.com
  10590.  
  10591. January 04, 2016
  10592. Version 1.2.2.4
  10593. added sharehost.eu
  10594.  
  10595. December 30, 2015
  10596. Version 1.2.2.3
  10597. added tezfiles.com
  10598.  
  10599. December 28, 2015
  10600. Version 1.2.2.2
  10601. fixed some k2s & fboom dead link not getting detected
  10602. fixed some k2s premium links not getting detected.
  10603. fixed ssh.yt not detecting some dead links
  10604. fixed ncrypt.in dead links showing yellow
  10605.  
  10606. December 20, 2015
  10607. Version 1.2.2.0
  10608. added datoteke.com
  10609.  
  10610. December 19, 2015
  10611. Version 1.2.1.9
  10612. added secured.in & linksave.in to obsolete hosts
  10613.  
  10614. December 17, 2015
  10615. Version 1.2.1.8
  10616. added german for dead links to secureupload.eu.
  10617.  
  10618. December 17, 2015
  10619. Version 1.2.1.7
  10620. added french for dead links to secureupload.eu.
  10621. fixed problem with tooltip display.
  10622.  
  10623. December 13, 2015
  10624. Version 1.2.1.6
  10625. added netload.me & fileparadox.in to obsolete hosts
  10626.  
  10627. December 09, 2015
  10628. Version 1.2.1.5
  10629. added rapidsonic.com & fileparadox.com to obsolete hosts
  10630.  
  10631. December 04, 2015
  10632. Version 1.2.1.4
  10633. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10634.  
  10635. December 03, 2015
  10636. Version 1.2.1.3
  10637. added dailyuploads.net
  10638.  
  10639. December 02, 2015
  10640. Version 1.2.1.2
  10641. fixed hitfile.net
  10642. fixed kingfiles.net
  10643.  
  10644. November 30, 2015
  10645. Version 1.2.1.1
  10646. added filepost.com to obsolete hosts
  10647. added devilshare.net
  10648.  
  10649. November 28, 2015
  10650. Version 1.2.1.0
  10651. fixed datafile.com not detecting some premium links.
  10652.  
  10653. November 25, 2015
  10654. Version 1.2.0.9
  10655. fixed filejoker.net
  10656. fixed toutbox.fr
  10657. fixed nowvideo.sx
  10658.  
  10659. November 24, 2015
  10660. Version 1.2.0.8
  10661. fixed openload.io
  10662.  
  10663. November 20, 2015
  10664. Version 1.2.0.7
  10665. //added file.al
  10666. //fixed nitroflare.com false live links
  10667. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10668.  
  10669. November 17, 2015
  10670. Version 1.2.0.6
  10671. added clicknupload.me
  10672.  
  10673. November 09, 2015
  10674. Version 1.2.0.5
  10675. fixed some depfile premium links not being detected
  10676.  
  10677. November 08, 2015
  10678. Version 1.2.0.4
  10679. fixed some rapidgator premium links not being detected
  10680. fixed doraupload.com
  10681.  
  10682. November 08, 2015
  10683. Version 1.2.0.3
  10684. fixed uploaded false premium
  10685.  
  10686. November 07, 2015
  10687. Version 1.2.0.2
  10688. fixed redbunker.net
  10689.  
  10690. November 05, 2015
  10691. Version 1.2.0.1
  10692. fixed app.box.com
  10693. added multiup.org (does not detect all dead links)
  10694.  
  10695. November 01, 2015
  10696. Version 1.2.0.0
  10697. added more languages to rockfile and 1fichier
  10698.  
  10699. November 01, 2015
  10700. Version 1.1.9.9
  10701. fixed rockfile.eu
  10702. changed 1fichier code (Thanks yurri)
  10703. added to obsolete hosts... (Thanks Love Buzz)
  10704. burnupload.com
  10705. cramit.in
  10706. cramitin.net
  10707. down4files.com
  10708. edoc.com
  10709. jumbofile.net
  10710. krotix.net
  10711. migahost.com
  10712. movreel.com
  10713. netload.in
  10714. newfileland.com
  10715. quickshare.cz
  10716.  
  10717. October 30, 2015
  10718. Version 1.1.9.8
  10719. added alfafile.net
  10720.  
  10721. October 26, 2015
  10722. Version 1.1.9.7
  10723. changed datafile.com and uplea.com
  10724. added lolabits.es
  10725.  
  10726. October 26, 2015
  10727. Version 1.1.9.6
  10728. added toutbox.fr
  10729.  
  10730. October 25, 2015
  10731. Version 1.1.9.5
  10732. fixed counter error
  10733.  
  10734. October 25, 2015
  10735. Version 1.1.9.4
  10736. changed uptobox.com code
  10737.  
  10738. October 21, 2015
  10739. Version 1.1.9.3
  10740. fixed uptobox.com
  10741.  
  10742. October 20, 2015
  10743. Version 1.1.9.2
  10744. bug fixes and new method of detecting premium links.
  10745.  
  10746. October 15, 2015
  10747. Version 1.1.9.1
  10748. fixed hugefiles.net false premium
  10749. changed uptobox.com code
  10750.  
  10751. October 06, 2015
  10752. Version 1.1.9.0
  10753. fixed filefactory
  10754. fixed rockfile false premium
  10755. keep2share & fileboom now detect premium links (fixed by yurii)
  10756.  
  10757. October 01, 2015
  10758. Version 1.1.8.9
  10759. fixed free.fr false premium
  10760. fixed thevideo.me false premium
  10761.  
  10762. September 28, 2015
  10763. Version 1.1.8.8
  10764. added uplea.com and openload.co
  10765.  
  10766. September 27, 2015
  10767. Version 1.1.8.7
  10768. fixed fileparadox.in false premium
  10769. added kingfiles.net to obsolete hosts
  10770. removed inafile.com from obsolete hosts
  10771.  
  10772. September 22, 2015
  10773. Version 1.1.8.6
  10774. fixed nitroflare false premium
  10775.  
  10776. September 22, 2015
  10777. Version 1.1.8.5
  10778. fixed userscloud.com false premium
  10779. fixed usersfiles.com false premium
  10780. changed arabloads.com to arabloads.net
  10781. changed nowdownloads.eu to nowdownloads.ch
  10782.  
  10783. September 21, 2015
  10784. Version 1.1.8.3
  10785. added ryushare.com to obsolete hosts.
  10786.  
  10787. September 20, 2015
  10788. Version 1.1.8.2
  10789. fixed nitroflare not showing premium links
  10790. added down4files.com,storfiles.co,filehost.pw
  10791.  
  10792. September 16, 2015
  10793. Version 1.1.8.1
  10794. added crisshare.com to obsolete hosts
  10795. fixed filemoney.com false premium
  10796. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10797.  
  10798. September 14, 2015
  10799. Version 1.1.8.0
  10800. added to obsolete hosts...
  10801. sharebeast.com
  10802. tufiles.ru
  10803.  
  10804. September 12, 2015
  10805. Version 1.1.7.9
  10806. fixed rghost.net false premium
  10807. fixed unlimitzone.com false premium
  10808. fixed turbobit.net false live link
  10809.  
  10810. September 11, 2015
  10811. Version 1.1.7.8
  10812. Fixed filefactory.com false premium.
  10813.  
  10814. September 07, 2015
  10815. Version 1.1.7.7
  10816. fixed "depositfiles.com/en/files" links not checking
  10817.  
  10818. September 06, 2015
  10819. Version 1.1.7.6
  10820. added French code for 1fichier
  10821.  
  10822. August 29, 2015
  10823. Version 1.1.7.5
  10824. fixed depositfiles
  10825. fixed mega.co.nz/mega.nz
  10826. (fixed by yurii)
  10827.  
  10828. August 23, 2015
  10829. Version 1.1.7.4
  10830. Fixed uploadrocket (by yurii)
  10831.  
  10832. August 20, 2015
  10833. Version 1.1.7.3
  10834. fixed depfile.com false premium
  10835. fixed 1fichier false premium
  10836. fixed rapidgator false premium
  10837.  
  10838. August 08, 2015
  10839. Version 1.1.7.1
  10840. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10841.  
  10842. August 07, 2015
  10843. Version 1.1.7.0
  10844. fixed...
  10845. streamin.to
  10846. thefile.me
  10847. vidzi.tv
  10848. added...
  10849. filenuke.com
  10850. vidto.me
  10851. vidspot.net
  10852. sharesix.com
  10853. sharesix.net
  10854. movpod.in,
  10855.  
  10856. August 07, 2015
  10857. Version 1.1.6.9 added...
  10858. thefile.me
  10859. vidzi.tv
  10860. videoweed.es
  10861. vodlocker.com
  10862. nowvideo.sx
  10863. cloudtime.to
  10864. thevideo.me
  10865. vidbull.com
  10866. allmyvideos.net
  10867. novamov.com
  10868. filehoot.com
  10869. stagevu.com
  10870. gorillavid.in
  10871. streamin.to
  10872.  
  10873. August 02, 2015
  10874. Version 1.1.6.8
  10875. added cloudshares.net
  10876.  
  10877. August 01, 2015
  10878. Version 1.1.6.7
  10879. fixed depfile redirectors false premium
  10880.  
  10881. July 31, 2015
  10882. Version 1.1.6.6
  10883. fixed depfile.com false premium
  10884. */