W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.0
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.6.0 January 05, 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. "filesha.com",
  43. "upfiles.net",
  44. "dailyfiles.net",
  45. "uploadocean.com",
  46. "drive.google.com",
  47. "suprafiles.net",
  48. "fileflares.com",
  49. "erafile.com",
  50. "mystore.to",
  51. "littlebyte.net",
  52. "exbit.net",
  53. "bdupload.info",
  54. "workupload.com",
  55. "wayupload.com",
  56. "cloud.mail.ru",
  57. "fileshareup.com",
  58. "usercloud.net",
  59. "daofile.com",
  60. "subyshare.com",
  61. "mexashare.com",
  62. "uploadgig.com",
  63. "upload.af",
  64. "alltu.eu",
  65. "filesin.space",
  66. "imagenetz.de",
  67. "katfile.com",
  68. "bankupload.com",
  69. "keepshare.net",
  70. "filescdn.com",
  71. "myfiles.onl",
  72. "uploadserv.com",
  73. "uploading.site",
  74. "filedwon.info",
  75. "jeodrive.com",
  76. "ncrypt.in",
  77. "yandex.com",
  78. "down4files.com",
  79. 'filespace.com',
  80. "uplod.it",
  81. "rapidu.net",
  82. "uploads.ws|upl.me",
  83. "file.up09.com",
  84. "lunaticfiles.com",
  85. "filecad.com",
  86. "filesupload.org",
  87. "bytewhale.com",
  88. "rapidrar.com",
  89. "download.cz.hellshare.com",
  90. "pornfile.cz",
  91. "dinoshare.cz",
  92. "kb.simple-aja.info",
  93. "bitster.cz",
  94. "file-share.top",
  95. "pornoid.cz",
  96. "dailyuploads.net",
  97. "sharehost.eu",
  98. "tezfiles.com",
  99. "devilshare.net",
  100. "alfafile.net",
  101. "openload.co",
  102. "multiup.org",
  103. "uplea.com",
  104. "filenuke.com",
  105. "file.al|1f.al",
  106. "vidto.me",
  107. "filehost.pw",
  108. "turbobit.ru",
  109. "sharesix.com|sharesix.net",
  110. "movpod.in",
  111. "thefile.me",
  112. "datoteke.com",
  113. "vidzi.tv",
  114. "videoweed.es",
  115. "vodlocker.com",
  116. "nowvideo.sx",
  117. "cloudtime.to",
  118. "thevideo.me",
  119. "vidbull.com",
  120. "novamov.com",
  121. "filehoot.com",
  122. "stagevu.com",
  123. "gorillavid.in",
  124. "streamin.to",
  125. "4upld.com|expressleech.com",
  126. "cloudshares.net",
  127. "swoopshare.com",
  128. "2shared.com",
  129. "fileupload.pw",
  130. "zxcfiles.com",
  131. "up07.net",
  132. "4shared.com",
  133. "adrive.com",
  134. "aisfile.com",
  135. "bezvadata.cz",
  136. "usersfiles.com",
  137. "pan.baidu.com",
  138. "datei.to",
  139. "daten-hoster.de|filehosting.org|xtraupload.de",
  140. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  141. "divshare.com",
  142. "easy-share.com|crocko.com",
  143. "easybytez.com",
  144. "edisk.cz",
  145. "euroshare.eu",
  146. "file-upload.net",
  147. "yadi.sk",
  148. "wizupload.com",
  149. "fastshare.cz",
  150. "filefactory.com",
  151. "share.vnn.vn",
  152. "yunpan.cn",
  153. "tropicshare.com",
  154. "cloudzilla.to",
  155. "inclouddrive.com",
  156. "fileflyer.com",
  157. "filerio.com|filekeen.com",
  158. "up.4share.vn",
  159. "upfile.vn",
  160. "datafilehost.com",
  161. "worldbytez.com",
  162. "files.mail.ru",
  163. "filesflash.com",
  164. "box.com",
  165. "uptobox.com",
  166. "box.net",
  167. "sdilej.cz",
  168. "ex-load.com",
  169. "filesmonster.com",
  170. "filestore.to",
  171. "hulkload.com",
  172. "filedropper.com",
  173. "free-uploading.com",
  174. "gamefront.com|filefront.com",
  175. "gettyfile.ru",
  176. "gigapeta.com",
  177. "gigasize.com",
  178. "hellshare.com",
  179. "hellspy.com",
  180. "hitfile.net",
  181. "hostuje.net",
  182. "freefilehosting.net",
  183. "free.fr",
  184. "hyperfileshare.com",
  185. "filecloud.io|ifile.it",
  186. "ifolder.ru",
  187. "uploadrocket.net",
  188. "lafiles.com",
  189. "leteckaposta.cz|sharegadget.com",
  190. "load.to",
  191. "mediafire.com",
  192. "megafileupload.com",
  193. "movshare.net",
  194. "narod.ru|narod.yandex.ru",
  195. "fboom.me|fileboom.me",
  196. "partage-facile.com",
  197. "sharerapid.cz",
  198. "exclusiveloader.com",
  199. "acefile.net",
  200. "queenshare.com",
  201. "rapidgator.net",
  202. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  203. "oboom.com",
  204. "filepi.com",
  205. "neodrive.co",
  206. "rarefile.net",
  207. "rayfile.com",
  208. "rghost.net",
  209. "sendmyway.com",
  210. "clicknupload.com",
  211. "clicknupload.me",
  212. "clicknupload.link",
  213. "uploadable.ch",
  214. "sharemods.com",
  215. "hostr.co",
  216. "sendspace.com",
  217. "sharecash.org",
  218. "share-links.biz",
  219. "share-online.biz|egoshare.com",
  220. "megarapid.cz",
  221. "shareflare.net",
  222. "solidfiles.com",
  223. "led.wf",
  224. "lan.wf",
  225. "adlink.wf",
  226. "click.tf",
  227. "kyc.pm",
  228. "ssh.tf",
  229. "ssh.yt",
  230. "yep.pm",
  231. "stahovanizasms.cz",
  232. "turbobit.net",
  233. "tikfile.com",
  234. "cloudsix.me",
  235. "turboupload.com",
  236. "uloz.to",
  237. "ulozto.net",
  238. "ulozto.sk",
  239. "ulozto.cz",
  240. "ulozisko.sk",
  241. "uloziste.com",
  242. "unibytes.com",
  243. "upload-il.net|przeslij.net",
  244. "uploaded.to|uploaded.net|ul.to",
  245. "uploading.com",
  246. "chayfile.com",
  247. "rockfile.eu",
  248. "usaupload.net",
  249. "veehd.com",
  250. "videobb.com",
  251. "vip-file.com",
  252. "webshare.cz",
  253. "xdisk.cz",
  254. "yunfile.com|filemarkets.com",
  255. "ziddu.com",
  256. "zippyshare.com",
  257. "rodfile.com",
  258. "wikiupload.com",
  259. "uploadstube.de",
  260. "faststore.org",
  261. "flyfiles.net",
  262. "prefiles.com",
  263. "hackerbox.org",
  264. "amonshare.com",
  265. "data.hu",
  266. "brupload.net",
  267. "kingfiles.net",
  268. "userscloud.com",
  269. "kumpulbagi.com|kumpulbagi.id",
  270. "uppit.com|up.ht|upx.nz",
  271. "downloadani.me",
  272. "filesabc.com",
  273. "extmatrix.com",
  274. "sendfiles.nl",
  275. "yourfilestore.com",
  276. "filebig.net",
  277. "file4safe.com",
  278. "tusfiles.net|tusfiles.com",
  279. "filemac.com",
  280. "ozofiles.com",
  281. "nosupload.com",
  282. "gboxes.com",
  283. "myvdrive.com|fileserving.com",
  284. "novafile.com",
  285. "longfiles.com",
  286. "bitupload.com",
  287. "indowebster.com",
  288. "superload.cz",
  289. "mafiastorage.com",
  290. "hellupload.com",
  291. "stiahni.si",
  292. "sendspace.pl",
  293. "fastshare.org",
  294. "filejoker.net",
  295. "filestore.com.ua",
  296. "rapidfileshare.net",
  297. "stiahnito.sk",
  298. "rusfolder.com",
  299. "catshare.net",
  300. "mixturecloud.com",
  301. "filedais.com",
  302. // "imdb.com",
  303. "nitroflare.com",
  304. "akafile.com",
  305. "up.top4top.net",
  306. "upload.ee",
  307. "shareplace.org",
  308. "uploadc.com",
  309. "uploadc.ch",
  310. "exoshare.com",
  311. "borncash.org",
  312. "junocloud.me",
  313. "2downloadz.com",
  314. "mightyupload.com",
  315. "anysend.com",
  316. "datafile.com",
  317. "upstore.net",
  318. "upsto.re",
  319. "speedy.sh",
  320. "ge.tt",
  321. "filesflash.net",
  322. "salefiles.com",
  323. "datoid.cz",
  324. "cloudstor.es",
  325. "streamfile.com",
  326. "eyesfile.ca",
  327. "filemoney.com",
  328. "uploadboy.com",
  329. "uploadboy.me",
  330. "speedshare.eu",
  331. "google.com|google.be",
  332. "unlimitzone.com",
  333. "rioupload.com",
  334. "rg.to",
  335. "jumbofiles.org",
  336. "fshare.vn",
  337. "spaceforfiles.com",
  338. "up.media1fire.com",
  339. "depfile.com",
  340. "go4up.com",
  341. "dropbox.com",
  342. "redbunker.net",
  343. "divxpress.com",
  344. "mega.nz|mega.co.nz",
  345. "storageserver.co.uk",
  346. "anafile.com",
  347. "bigfile.to",
  348. "arabloads.net",
  349. "sharerepo.com",
  350. "sfshare.se",
  351. "files.fm",
  352. "koofile.com",
  353. "doraupload.com",
  354. "openload.io",
  355. "upnito.sk",
  356. "oload.net",
  357. ];
  358.  
  359. try
  360. {
  361. //iframes excluded
  362. if (window.top != window.self)
  363. {
  364. return;
  365. }
  366. //allHostNames sites excluded
  367. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  368. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  369. ")"))
  370. {
  371. return;
  372. }
  373. }
  374. catch (e)
  375. {
  376. return;
  377. }
  378.  
  379. //separate alternative domains with "|" char (first name is considered being main)
  380. var allContainerNames = [
  381. "adf.ly",
  382. "linkcrypt.ws",
  383. "linksafe.me",
  384. // "linksave.in",
  385. "linkto.net",
  386. "madlink.sk",
  387. "multiload.cz",
  388. "mirrorcreator.com",
  389. // "ncrypt.in",
  390. "redi.re",
  391. "relink.us",
  392. "safelinking.net",
  393. "theloo.katt.it",
  394. "bit.ly",
  395.  
  396. ];
  397.  
  398. //separate alternative domains with "|" char (first name is considered being main)
  399. var allObsoleteNames = [
  400. "4up.me",
  401. "anonfiles.com",
  402. "axifile.com",
  403. "creafile.net",
  404. "demo.ovh.eu",
  405. "filesin.com",
  406. "fileswap.com",
  407. "gulfup.com",
  408. "hexupload.com",
  409. "secureupload.eu",
  410. "hugefiles.net",
  411. "jumbofiles.com",
  412. "letitbit.net",
  413. "lolabits.es",
  414. "nowdownload.ch",
  415. "openfile.ru",
  416. "radicalshare.com",
  417. "remixshare.com",
  418. "storefiles.co",
  419. "toutbox.fr",
  420. "uploadbaz.com",
  421. "uploadingit.com",
  422. "verzend.be",
  423. "vidplay.net",
  424. "vidxden.com",
  425. "xfileload.com",
  426. "warped.co",
  427. "xkeepfile.com",
  428. "abelhas.pt",
  429. "uploadspace.pl",
  430. "allmyvideos.net",
  431. "uploads.xxx",
  432. "netkups.com",
  433. "nekaka.com",
  434. "vidspot.net",
  435. "myupload.dk",
  436. "muchshare.net",
  437. "loudupload.net",
  438. "idup.in",
  439. "hulkshare.com",
  440. "goldbytez.com",
  441. "filesmelt.com",
  442. "fileband.com",
  443. "uloz.cz",
  444. "secured.in",
  445. "rapidfilehost.com",
  446. "fileover.net",
  447. "fileinz.com",
  448. "linksave.in",
  449. "seenupload.com",
  450. "sangfile.com",
  451. "filepost.com|fp.io",
  452. "sharingmaster.com ",
  453. "24uploading.com",
  454. "storagon.com",
  455. "sanshare.com",
  456. "filestorm.to",
  457. "uploadnet.co",
  458. "180upload.com",
  459. "rapidsonic.com",
  460. "fileparadox.com",
  461. "4upfiles.com",
  462. "geupload.com",
  463. "lenfile.com",
  464. "fileparadox.in",
  465. "uploadhero.co",
  466. "uploadhero.com",
  467. "newfileland.com",
  468. "quickshare.cz",
  469. "elffiles.com",
  470. "netload.in",
  471. "netload.me",
  472. "movreel.com",
  473. "migahost.com",
  474. "krotix.net",
  475. "jumbofile.net",
  476. "edoc.com",
  477. "cramit.in|cramitin.net",
  478. "freakshare.com",
  479. "burnupload.com|burnupload.ihiphop.com",
  480. "freakshare.net",
  481. "daj.to",
  482. "bl.st",
  483. "2drive.net",
  484. "ryushare.com",
  485. "crisshare.com",
  486. "tufiles.ru",
  487. "uncapped-downloads.com",
  488. "sockshare.com",
  489. "ddlstorage.com",
  490. "dataport.cz",
  491. "dizzcloud.com",
  492. "sharebeast.com",
  493. "stahovadlo.cz",
  494. "shared.com",
  495. "storage.to",
  496. "putlocker.com",
  497. "lumfile.com",
  498. "lumfile.se",
  499. "lumfile.eu",
  500. "firedrive.com",
  501. "fileshare.in.ua",
  502. "filecore.co.nz",
  503. "filecore.co",
  504. "iskladka.cz",
  505. "file-rack.com",
  506. "fast-load.net",
  507. "subory.sk",
  508. "bigandfree.com",
  509. "fileop.com",
  510. "mujsoubor.cz",
  511. "sendfile.to",
  512. "superfastfile.com",
  513. "quickyshare.com",
  514. "duckload.com",
  515. "uploadstore.net",
  516. "meinupload.com",
  517. "dualshare.com",
  518. "2xupload.to|2xupload.de",
  519. "oxedion.com",
  520. "uploadline.com",
  521. "dll.bz",
  522. "movieshare.in",
  523. "milledrive.com",
  524. "quickupload.net",
  525. "safelink.in",
  526. "metadivx.com",
  527. "divxlink.com",
  528. "uploadrack.com",
  529. "teradepot.com",
  530. "dataup.to",
  531. "upit.to",
  532. "driveway.com",
  533. "eatlime.com",
  534. "a2zuploads.com",
  535. "friendlyfiles.net",
  536. "flyfile.us",
  537. "speedyshare.com",
  538. "uploadspace.eu",
  539. "keepfile.com",
  540. "piggyshare.com",
  541. "uplly.com",
  542. "filecrown.com",
  543. "6giga.com",
  544. "uploadjockey.com",
  545. "bluehost.to",
  546. "filegu.ru",
  547. "filebase.to",
  548. "up-file.com",
  549. "xvideos.com",
  550. "ufox.com",
  551. "filebling.com",
  552. "loaded.it",
  553. "uploadcell.com",
  554. "uploadshare.cz",
  555. "mangoshare.com",
  556. "filestab.com",
  557. "crazyupload.com",
  558. "gaiafile.com",
  559. "sharejunky.com",
  560. "fileho.com",
  561. "bigandfree.com",
  562. "bigfile.in",
  563. "bigshare.eu",
  564. "dahosting.org",
  565. "digisofts.net",
  566. "file4save.com",
  567. "filechip.com",
  568. "filescloud.com",
  569. "saveqube.com",
  570. "turboshare.de",
  571. "z-upload.com",
  572. "youshare.com",
  573. "jiffyupload.com",
  574. "gigeshare.com",
  575. "datenklo.net",
  576. "upload.dj",
  577. "loadfiles.in",
  578. "upit.to",
  579. "dsfileshare.com",
  580. "sharesimple.net",
  581. "4files.net",
  582. "wooupload.com",
  583. "odsiebie.com",
  584. "filenavi.com",
  585. "3oof.com",
  586. "meshwaar.com",
  587. "maxupload.com",
  588. "share.cx",
  589. "atserver.eu",
  590. "hotfiles.ws",
  591. "esnips.com",
  592. "tuxfile.com",
  593. "file2upload.net",
  594. "filebling.com",
  595. "turboshare.com",
  596. "rarhost.com",
  597. "isharehd.com",
  598. "i741.com",
  599. "dataup.de",
  600. "fofly.com",
  601. "shareonall.com",
  602. "sexuploader.com",
  603. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  604. "uploadhyper.com",
  605. "filespawn.com",
  606. "caizzii.com",
  607. "volnyweb.cz",
  608. "usershare.net",
  609. "filescash.net",
  610. "metahyper.com",
  611. "combozip.com",
  612. "x7.to",
  613. "uploadbox.com",
  614. "enterupload.com|flyupload.com",
  615. "filepoint.de",
  616. "mystream.to",
  617. "x-fs.com",
  618. "shareator.com",
  619. "srapid.eu",
  620. "sosame.cz",
  621. "filesdump.com",
  622. "2-klicks.de",
  623. "uploking.com",
  624. "silofiles.com",
  625. "upfile.in",
  626. "filehook.com",
  627. "uploadking.com",
  628. "uploadhere.com",
  629. "kewlshare.com",
  630. "rapidable.com",
  631. "uploadwaste.com",
  632. "filemup.com",
  633. "filesonic.com|sharingmatrix.com",
  634. "fileserve.com",
  635. "wupload.com",
  636. "skipfile.com",
  637. "smartuploader.com",
  638. "dualshare.com",
  639. "storeandserve.com",
  640. "mountfile.com",
  641. "transitfiles.com",
  642. "uploadstation.com",
  643. "filejungle.com",
  644. "shareshared.com",
  645. "quickyshare.com",
  646. "save.am",
  647. "petandrive.com",
  648. "file2box.com",
  649. "flyshare.cz",
  650. "yabadaba.ru",
  651. "cloudcache.cc",
  652. "yourfilehost.com",
  653. "jakfile.com",
  654. "kickload.com",
  655. "pyramidfiles.com",
  656. "refile.net",
  657. "zshare.net",
  658. "ddlani.me|ddlanime.com",
  659. "ftp2share.com",
  660. "fooget.com",
  661. "rapidhide.com",
  662. "gotupload.com",
  663. "mooload.com",
  664. "zupload.com",
  665. "mytempdir.com",
  666. "onionshare.com",
  667. "stahnu.to",
  668. "oron.com",
  669. "badongo.com",
  670. "filereactor.com",
  671. "filegaze.com",
  672. "4bytez.com",
  673. "1hostclick.com",
  674. "anonstream.com",
  675. "batshare.com",
  676. "bitroad.net",
  677. "brontofile.com",
  678. "cloudnxt.net",
  679. "cloudnator.com|shragle.com",
  680. "filesfrog.net",
  681. "coolshare.cz",
  682. "dotavi.com",
  683. "ezyfile.net",
  684. "file-bit.net",
  685. "filecosy.com",
  686. "fileduct.com|fileduct.net",
  687. "filefat.com",
  688. "filelaser.com",
  689. "filemashine.com",
  690. "fileserver.cc",
  691. "filetechnology.com",
  692. "fireuploads.net",
  693. "gigfiles.net",
  694. "holderfile.com",
  695. "ihostia.com",
  696. "k2files.com",
  697. "mojofile.com",
  698. "ovfile.com",
  699. "qshare.com",
  700. "shafiles.me",
  701. "sharefilehost.com",
  702. "shareupload.com",
  703. "stahuj.to",
  704. "ugotfile.com",
  705. "uploadboost.com",
  706. "fileom.com",
  707. "vidhog.com",
  708. "xfileshare.eu",
  709. "bzlink.us",
  710. "bulletupload.com",
  711. "bloggerarticles.com",
  712. "mojedata.sk",
  713. "sharpfile.com",
  714. "upgrand.com",
  715. "nasdilej.cz",
  716. "mediatack.cz",
  717. "share-it.to",
  718. "primeupload.com",
  719. "filebeer.info",
  720. "baberepublic",
  721. "xtu.me",
  722. "sharebase.de",
  723. "luckyshare.net",
  724. "filerobo.com",
  725. "filevelocity.com",
  726. "filezpro.com",
  727. "file4sharing.com",
  728. "cing.be",
  729. "ufile.eu",
  730. "pigsonic.com",
  731. "fileupped.com",
  732. "sharerun.com",
  733. "filesaur.com",
  734. "rapidslnare.com",
  735. "bestsharing.com",
  736. "savefiles.net",
  737. "file2share.biz",
  738. "filecache.de",
  739. "monsteruploads.eu",
  740. "b9bb.com",
  741. "aiotool.net",
  742. "jamber.info",
  743. "megaftp.com",
  744. "desiupload.net",
  745. "file27.com",
  746. "yastorage.com",
  747. "filehost.ws",
  748. "copyload.com",
  749. "venusfile.com",
  750. "aieshare.com",
  751. "terafile.co",
  752. "terafile.com",
  753. "fileza.net",
  754. "filerose.com",
  755. "squillion.com",
  756. "fileprohost.com",
  757. "bitbonus.com",
  758. "warserver.cz",
  759. "uload.to",
  760. "sharedbit.net",
  761. "megaload.it",
  762. "filewinds.com",
  763. "uploadcore.com",
  764. "syfiles.com",
  765. "eyesfile.com",
  766. "hotfile.com",
  767. "superupl.com",
  768. "oteupload.com",
  769. "henchfile.com",
  770. "filegag.com",
  771. "HenchFile.com",
  772. "filedefend.com",
  773. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  774. "megabitshare.com",
  775. "cloudzer.com",
  776. "asfile.com",
  777. "cloudzer.net",
  778. "clz.to",
  779. "extabit.com",
  780. "247upload.com",
  781. "2download.de",
  782. "4fastfile.com",
  783. "asixfiles.com",
  784. "berofile.com",
  785. "bigupload.com",
  786. "cepzo.com",
  787. "clouds.to",
  788. "cobrashare.sk",
  789. "coraldrive.net",
  790. "cyberlocker.ch",
  791. "czshare.com",
  792. "darkport.org",
  793. "dark-uploads.com",
  794. "davvas.com",
  795. "enigmashare.com",
  796. "erofly.cz",
  797. "fastsonic.net",
  798. "filebox.com",
  799. "filecity.net",
  800. "filedap.com",
  801. "filedino.com",
  802. "filedownloads.org",
  803. "filefolks.com",
  804. "fileking.co",
  805. "filemates.com",
  806. "files.to",
  807. "files2k.eu",
  808. "filesector.cc",
  809. "bitshare.com",
  810. "filesega.com",
  811. "filesend.net",
  812. "filestay.com",
  813. "filestrum.com",
  814. "fileuplo.de",
  815. "fileupup.com",
  816. "forunesia.com",
  817. "freeuploads.fr",
  818. "uploa.dk",
  819. "getthebit.com",
  820. "getzilla.net",
  821. "goldfile.eu",
  822. "good.com",
  823. "grupload.com",
  824. "hellfile.com",
  825. "hipfile.com",
  826. "hitfile.com",
  827. "hulkfile.eu|duckfile.net",
  828. "i-filez.com",
  829. "ifile.ws",
  830. "kupload.org",
  831. "packupload.com",
  832. "lemuploads.com",
  833. "limelinx.com",
  834. "maxshare.pl",
  835. "megarelease.org",
  836. "megashares.com",
  837. "megashare.com",
  838. "minus.com",
  839. "mlfat4arab.com",
  840. "multishare.cz",
  841. "nirafile.com",
  842. "ok2upload.com",
  843. "peejeshare.com",
  844. "premiuns.org",
  845. "przeklej.net",
  846. "qkup.net",
  847. "rapidupload.sk",
  848. "rockdizfile.com",
  849. "rocketfile.net",
  850. "share-now.net",
  851. "share76.com",
  852. "sharebees.com",
  853. "sharefiles.co",
  854. "slingfile.com",
  855. "sms4file.com",
  856. "space4file.com",
  857. "tigershare.net",
  858. "toucansharing.com",
  859. "ubuntuone.com",
  860. "unextfiles.com",
  861. "upaj.pl",
  862. "upfile.biz",
  863. "uploadbin.net",
  864. "uploadic.com",
  865. "uploadinc.com",
  866. "uploading4u.eu",
  867. "uploadjet.net",
  868. "uploadorb.com",
  869. "upthe.net",
  870. "uptorch.com",
  871. "vidbox.yt",
  872. "videozer.com",
  873. "vreer.com",
  874. "wallobit.com",
  875. "zooupload.com",
  876. "privatefiles.com",
  877. "xerver.co",
  878. "BillionUploads.com",
  879. "rapidshare.com",
  880. "rapidshare.ru",
  881. "4savefile.com",
  882. "bayfiles.com",
  883. "bayfiles.net",
  884. "dodane.pl",
  885. "dotsemper.com",
  886. "egofiles.com",
  887. "epicshare.net",
  888. "fiberupload.net",
  889. "filemonkey.in",
  890. "filemonster.net",
  891. "filepom.com",
  892. "filesbb.com",
  893. "filevice.com",
  894. "gigaup.fr",
  895. "isavelink.com",
  896. "loombo.com",
  897. "megafiles.se",
  898. "migupload.com",
  899. "mydisc.net",
  900. "nitrobits.com",
  901. "potload.com",
  902. "redload.net",
  903. "shareprofi.com",
  904. "sharesuper.info",
  905. "sinhro.net",
  906. "speedfile.cz",
  907. "speedshare.org",
  908. "storage.novoro.net",
  909. "swankshare.com",
  910. "swatupload.com",
  911. "upafile.com",
  912. "uploadmachine.com",
  913. "uploadsat.com",
  914. "upshared.com",
  915. "usefile.com",
  916. "yourfiles.to",
  917. "zomgupload.com",
  918. "ultramegabit.com",
  919. "uploadto.us",
  920. "inafile.com",
  921. "megairon.net",
  922.  
  923. ];
  924. ///////////////////////////////////////////////////////////////////////////////////////
  925. var firstRun = GM_getValue("First_run", true);
  926.  
  927. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  928. //////////////////////////////////////////////////////////////////////////////////////
  929. try
  930. {
  931. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  932. var last_known_version = GM_getValue("last_known_version", "");
  933. if (!last_known_version)
  934. {
  935. last_known_version = thisVersion;
  936. GM_setValue("last_known_version", last_known_version);
  937. }
  938. //var newVersion = !(thisVersion == last_known_version);
  939. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  940. GM_setValue("last_known_version", thisVersion);
  941. }
  942. catch (err)
  943. {
  944. var newVersion = false;
  945. }
  946.  
  947. var now = (new Date()).getTime();
  948. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  949. if (!last_custom_rules_nag)
  950. {
  951. last_custom_rules_nag = now;
  952. GM_setValue('last_custom_rules_nag', ''+now);
  953. }
  954.  
  955.  
  956. allHostNames.sort();
  957. allContainerNames.sort();
  958. allObsoleteNames.sort();
  959.  
  960. var RAND_STRING = "8QyvpOSsRG3QWq";
  961. var DEBUG_MODE = false;
  962.  
  963. var TOOLTIP_MAXWIDTH = 600; //in pixels
  964. var TOOLTIP_THUMBWIDTH = 200;
  965. var containers_processed = false;
  966.  
  967. //settings for keyboard functions start
  968. var CHECK_ALL_LINKS_KEY = "A";
  969. var CONFIGURATION_KEY = "C";
  970. var copy_to_dead_key = "D";
  971. var copy_to_live_key = "L";
  972. var toggle_autocheck_key = "W";
  973. var toggle_Enable_Anonymizer_key = "Z";
  974. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  975. var first_key_keycodename = 'CTRL';
  976. var second_key_keycode = '18';
  977. var second_key_keycodename = 'ALT';
  978. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  979. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  980. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  981. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  982. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  983. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  984. //settings for keyboard functions end
  985.  
  986. //global settings start
  987. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  988. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  989. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  990. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  991. var Show_progress_stats, Display_tooltip_info, Icon_set;
  992. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  993. var Progress_box_refresh_rate;
  994. var Obsolete_file_hosts;
  995. var Custom_rules, Custom_rules_text;
  996. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  997.  
  998. var messageBox = document.createElement('b'); // top-left message box
  999.  
  1000. var cLinksTotal = 0;
  1001. var cLinksDead = 0;
  1002. var cLinksAlive = 0;
  1003. var cLinksUnava = 0;
  1004. var cLinksprem = 0;
  1005. var cLinksProcessed = 0;
  1006.  
  1007. var intervalId; //for updateProgress()
  1008.  
  1009. //ic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UsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1017. 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=';
  1018. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4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WJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1021. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1022. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgo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aSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1023. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1024.  
  1025. //global settings end
  1026. if (window.opera && !window.console)
  1027. {
  1028. window.console = {};
  1029.  
  1030. function fn()
  1031. {
  1032. opera.postError(arguments);
  1033. };
  1034. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1035. {
  1036. window.console[name] = fn;
  1037. });
  1038. }
  1039.  
  1040. //displays colored text in message box
  1041. function sendMessage(text, color)
  1042. {
  1043. var msgDiv = document.createElement('div');
  1044. msgDiv.style.color = color;
  1045. msgDiv.innerHTML = text;
  1046. messageBox.appendChild(msgDiv);
  1047. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1048. }
  1049.  
  1050. function linkify(totalourls)
  1051. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1052. var ikkeTilladteTags;
  1053. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1054. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1055. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1056. allLinksRegex = new RegExp(allLinksRegex, "g");
  1057. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1058.  
  1059. if (Do_not_linkify_DL_links)
  1060. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1061. else
  1062. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1063.  
  1064. var regex = new RegExp(regexy);
  1065. var textNode, muligtLink;
  1066.  
  1067. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1068. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1069.  
  1070. var i = textNodes.snapshotLength;
  1071. while (i--)
  1072. {
  1073. textNode = textNodes.snapshotItem(i);
  1074.  
  1075. muligtLink = textNode.nodeValue; //all links on page
  1076.  
  1077. var myArray = null;
  1078. var span = null;
  1079. var lastLastIndex = 0;
  1080. allLinksRegex.lastIndex = 0;
  1081. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1082. {
  1083. if (textNode.parentNode.className == "adead_link") continue;
  1084. var censoredLink = muligtLink;
  1085. var span = document.createElement('span');
  1086. span.className = "adead_link";
  1087. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1088. $(span).html(censoredLink);
  1089. span.addEventListener("mouseover", displayTooltipError, false);
  1090. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1091. textNode.parentNode.replaceChild(span, textNode);
  1092. continue;
  1093. alert(censoredLink);
  1094. }
  1095. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1096. {
  1097. if (!regex.test(myArray[0])) //this link is not recognized
  1098. {
  1099.  
  1100. continue;
  1101. }
  1102. if (!span)
  1103. span = document.createElement('span');
  1104.  
  1105. var link = myArray[0];
  1106. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1107.  
  1108. var $a = $("<a>" + link + "</a>")
  1109. if (!link.match(/https?:\/\//))
  1110. {
  1111. link = 'http://' + link;
  1112. }
  1113.  
  1114. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1115. .addClass("processing_link")
  1116. .appendTo(span);
  1117. lastLastIndex = allLinksRegex.lastIndex;
  1118. }
  1119. if (span)
  1120. {
  1121. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1122. textNode.parentNode.replaceChild(span, textNode);
  1123. }
  1124. }
  1125. }
  1126.  
  1127. function add_WARLC_style()
  1128. {
  1129. if (!(document.getElementsByTagName('WARLC')[0]))
  1130. {
  1131. var meta_not_to_add_more_style = document.createElement("WARLC");
  1132. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1133. meta_not_to_add_more_style.setAttribute('name', 'description');
  1134. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1135. alive_link_png = "";
  1136. adead_link_png = "";
  1137. unava_link_png = "";
  1138. prem_link_png = "";
  1139. switch(Icon_set)
  1140. {
  1141. //no icons
  1142. case 0: break;
  1143. // cat paws
  1144. case 1: alive_link_png = PAW_ICON_GREEN;
  1145. adead_link_png = PAW_ICON_RED;
  1146. unava_link_png = PAW_ICON_YELLOW;
  1147. prem_link_png = PAW_ICON_PINK;
  1148. break;
  1149. // classic RSLC look
  1150. case 2: alive_link_png = RSLC_ICON_GREEN;
  1151. adead_link_png = RSLC_ICON_RED;
  1152. unava_link_png = RSLC_ICON_YELLOW;
  1153. prem_link_png = RSLC_ICON_PINK;
  1154. break;
  1155. // New Icons
  1156. case 3: alive_link_png = NEW_ICON_GREEN;
  1157. adead_link_png = NEW_ICON_RED;
  1158. unava_link_png = NEW_ICON_YELLOW;
  1159. prem_link_png = NEW_ICON_PINK;
  1160. break;
  1161. // cat paws
  1162. default:alive_link_png = PAW_ICON_GREEN;
  1163. adead_link_png = PAW_ICON_RED;
  1164. unava_link_png = PAW_ICON_YELLOW;
  1165. prem_link_png = PAW_ICON_PINK;
  1166. break;
  1167. }
  1168. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1169. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1170.  
  1171. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1172.  
  1173. if (Color_DL_links)
  1174. {
  1175. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1176. live_color_css = 'color:' + Live_links_color + ' !important;';
  1177. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1178. container_color_css = 'color:' + Container_links_color + ' !important;';
  1179. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1180. }
  1181. else
  1182. {
  1183. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1184. }
  1185.  
  1186. if (Show_black_background_in_DL_links)
  1187. {
  1188. black_background_css = 'background-color: black !important;';
  1189. }
  1190. else
  1191. {
  1192. black_background_css = '';
  1193. }
  1194.  
  1195. if (Show_line_through_in_dead_links)
  1196. {
  1197. line_through_css = 'text-decoration: line-through !important;';
  1198. }
  1199. else
  1200. {
  1201. line_through_css = '';
  1202. }
  1203.  
  1204. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1205. 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 + "}");
  1206. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1207. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1208. GM_addStyle(".container_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_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1210. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1211. }
  1212. }
  1213.  
  1214. var warlcTooltip = null;
  1215. var mouseoverLink = null; //link href with mouse cursor over it
  1216.  
  1217. var lastX = 0;
  1218. var lastY = 0;
  1219.  
  1220. $(document).ready(initTooltip);
  1221. //inits tooltip
  1222. function initTooltip()
  1223. { warlcTooltip = document.createElement("div");
  1224. 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;");
  1225. warlcTooltip.style.visibility = "hidden";
  1226. document.body.appendChild(warlcTooltip);
  1227. }
  1228.  
  1229. //"mousemove" event handler for all links
  1230. function moveTooltip(event)
  1231. {
  1232. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1233. { //no need to reflow if the cursor moved just a little
  1234. return;
  1235. }
  1236. else
  1237. {
  1238. lastX = event.clientX;
  1239. lastY = event.clientY;
  1240. }
  1241.  
  1242. posX = event.clientX + window.pageXOffset + 10;
  1243. posY = event.clientY + window.pageYOffset;
  1244. var ttHeight = warlcTooltip.offsetHeight;
  1245. var ttFreeSpace = window.innerHeight - event.clientY;
  1246. if (ttHeight > ttFreeSpace)
  1247. { //prevents tooltip from getting out of the window
  1248. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1249. }
  1250. else
  1251. {
  1252. posY += 7;
  1253. }
  1254. warlcTooltip.style.top = posY + "px";
  1255. warlcTooltip.style.left = posX + "px";
  1256. }
  1257.  
  1258. //"mouseout" event handler for all links
  1259. function hideTooltip(){
  1260. warlcTooltip.style.visibility = "hidden";
  1261. mouseoverLink = null;
  1262. }
  1263.  
  1264.  
  1265. //"mouseover" event handler for dead links
  1266. //displays tooltip error message on dead links
  1267. function displayTooltipError()
  1268. {
  1269. mouseoverLink = this.href;
  1270. this.addEventListener("mouseout", hideTooltip);
  1271. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1272. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1273. warlcTooltip.style.minWidth = 0;
  1274. warlcTooltip.style.visibility = "visible";
  1275. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1276. {
  1277. warlcTooltip.innerHTML = this.warlc_error;
  1278. }
  1279. else
  1280. {
  1281. loadErrorInfo(this);
  1282. }
  1283. function loadErrorInfo(link)
  1284. {
  1285. var href = link.href;
  1286. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1287. GM_xmlhttpRequest({
  1288. method: 'GET',
  1289. url: href.replace(Ref_anonymize_service, ""),
  1290. headers: {
  1291. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1292. 'Accept': 'text/xml',
  1293. 'Referer': ""
  1294. },
  1295. onload: function(result) {
  1296. var res = result.responseText;
  1297. //TODO: errorRegexs -
  1298. var errorRegexs = [ //generic error messages follow
  1299. /(empty directory)/i,
  1300. /(soubor nebyl nalezen)/i,
  1301. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1302. //server specific error messages follow
  1303. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1304. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1305. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1306. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1307. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1308. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1309. /class="red">(.+?)<(?:span|br)>/, //czshare
  1310. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1311. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1312. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1313. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1314. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1315. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1316. /(File has been removed due to Copyright Claim)/, //filerio
  1317. ];
  1318. var errorIdx = errorRegexs.length;
  1319. var error = "Cause of error: <b>unknown</b>";
  1320. var errorCandidate = "";
  1321. while(errorIdx--)
  1322. {
  1323. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1324. if (errorCandidate != null)
  1325. {
  1326. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1327. break;
  1328. }
  1329. }
  1330. //link attributes
  1331. link.warlc_error = error;
  1332. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1333. {
  1334. warlcTooltip.innerHTML = error;
  1335. }
  1336. }
  1337. });
  1338. }
  1339. }
  1340.  
  1341. //"mouseover" event handler for alive links
  1342. //displays tooltip info (file size, file name,...) on alive links
  1343. function displayTooltipInfo()
  1344. {
  1345. mouseoverLink = this.href;
  1346. //exclude direct download filehostings
  1347. 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)/))
  1348. {
  1349. return;
  1350. }
  1351. this.addEventListener("mouseout", hideTooltip);
  1352. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1353. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1354. warlcTooltip.style.minWidth = 0;
  1355. warlcTooltip.style.visibility = "visible";
  1356. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1357. {
  1358. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1359. }
  1360. else
  1361. {
  1362. loadInfo(this);
  1363. }
  1364. function loadInfo(link)
  1365. {
  1366. var href = link.href;
  1367. GM_xmlhttpRequest({
  1368. method: 'GET',
  1369. url: href.replace(Ref_anonymize_service, ""),
  1370. headers: {
  1371. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1372. 'Accept': 'text/xml',
  1373. 'Referer': ""
  1374. },
  1375. onload: function(result) {
  1376. var res = result.responseText;
  1377. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1378. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1379. /fl" title="(.+?)">/, //edisk
  1380. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1381. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1382. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1383. /title="download (.+?)">/, //sendspace
  1384. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1385. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1386. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1387. /d0FileName = "(.+?)";/, //letitbit
  1388. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1389. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1390. /fname" value="(.+?)">/, //syfiles, grupload,
  1391. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1392. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1393. /Complete name : (.+?)<br \/>/, //bezvadata
  1394. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1395. ];
  1396. var nameIdx = nameRegexs.length;
  1397. // [sizeRegexs]
  1398. // / \ \?
  1399. // prefix (size) postfix
  1400. // / \
  1401. // val quant
  1402. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1403. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1404. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1405. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1406. var postSizeRegex = '(?:\\))?';
  1407. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1408. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1409. ];
  1410. var sizeIdx = sizeRegexs.length;
  1411. //
  1412. //
  1413. var tooltip = "File Name: <b>";
  1414. var fileName = "unknown";
  1415. var nameCandidate = "";
  1416. while(nameIdx--)
  1417. {
  1418. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1419. if (nameCandidate != null)
  1420. {
  1421. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1422. break;
  1423. }
  1424. }
  1425. tooltip += fileName + "</b><br>File Size: <b>";
  1426. var fileSize = "unknown";
  1427. var sizeCandidate = "";
  1428. while(sizeIdx--)
  1429. {
  1430. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1431. if (sizeCandidate != null)
  1432. {
  1433. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1434. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1435. {
  1436. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1437. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1438. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1439. }
  1440. break;
  1441. }
  1442. }
  1443. tooltip += fileSize + "</b>";
  1444. // PROTOTYPE
  1445. // video thumbnails
  1446. if (href.match('hellshare'))
  1447. {
  1448. var thumbs;
  1449. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1450. if (thumbs)
  1451. {
  1452. tooltip += '<br>';
  1453. var j = Math.min(thumbs.length, 9);
  1454. for (var i = 0; i < j; i++)
  1455. {
  1456. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1457. }
  1458. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1459. }
  1460. }
  1461. if (href.match('czshare'))
  1462. {
  1463. var thumbs;
  1464. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1465. if (thumbs)
  1466. {
  1467. var thumbsServer = thumbs[1];
  1468. var thumbsId = thumbs[2];
  1469. tooltip += '<br>';
  1470. for (var i = 1; i < 9; i++)
  1471. {
  1472. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1473. }
  1474. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1475. }
  1476. }
  1477. if (href.match('bezvadata'))
  1478. {
  1479. var thumbs;
  1480. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1481. if (thumbs)
  1482. {
  1483. tooltip += '<br>';
  1484. var j = Math.min(thumbs.length, 9);
  1485. for (var i = 0; i < j; i++)
  1486. {
  1487. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1488. }
  1489. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1490. }
  1491. }
  1492. link.warlc_tooltipcache = tooltip;
  1493. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1494. {
  1495. warlcTooltip.innerHTML = tooltip;
  1496. }
  1497. }
  1498. });
  1499. }
  1500. }
  1501.  
  1502. function setVariables()
  1503. {
  1504. if (firstRun)
  1505. {
  1506. GM_log('First run, applying default settings...');
  1507. GM_setValue("Icon_set",1);
  1508. GM_setValue("Display_tooltip_info",true);
  1509. GM_setValue("Show_black_background_in_DL_links",false);
  1510. GM_setValue("Show_line_through_in_dead_links",false);
  1511. GM_setValue("Display_full_links_in_link_containers",false);
  1512. GM_setValue("Allow_spaces_in_DL_links",false);
  1513. GM_setValue("Autocheck",true);
  1514. GM_setValue("Enable_Anonymizer",false);
  1515. GM_setValue("Do_not_linkify_DL_links",false);
  1516. GM_setValue("Show_progress_stats",true);
  1517. GM_setValue("Keyboard_functions",true);
  1518. GM_setValue("Obsolete_file_hosts",false);
  1519. GM_setValue("Color_DL_links",true);
  1520. GM_setValue("Live_links_color","Green");
  1521. GM_setValue("Dead_links_color","#FF3300");
  1522. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1523. GM_setValue("Container_links_color","DarkKhaki");
  1524. GM_setValue("Premium_links_color","DeepPink");
  1525. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1526. GM_setValue("Custom_rules",false);
  1527. GM_setValue("Custom_rules_text","");
  1528. GM_setValue("Processbox_Pos_Y", 0);
  1529. GM_setValue("Processbox_Pos_X", 88);
  1530. GM_setValue("Progressbox_Scaling", 100);
  1531. GM_setValue("First_run", false);
  1532. }
  1533. //hidden settings
  1534. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1535. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1536. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1537. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1538. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1539. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1540. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1541. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1542. //hidden settings end
  1543.  
  1544. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1545. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1546. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1547. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1548. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1549. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1550. Autocheck = GM_getValue("Autocheck", true);
  1551. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1552. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1553. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1554. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1555. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1556. Color_DL_links = GM_getValue("Color_DL_links", true);
  1557. Live_links_color = GM_getValue("Live_links_color", "Green");
  1558. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1559. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1560. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1561. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1562. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1563. Custom_rules = GM_getValue("Custom_rules", false);
  1564. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1565. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1566. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1567. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1568. }
  1569.  
  1570.  
  1571. // Delinkifies the links
  1572. // params:
  1573. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1574. // e.g. 'uloz.to/xs68skxl8')
  1575. function delinkifySnapshot(snapshot)
  1576. {
  1577. var n = snapshot.snapshotLength;
  1578.  
  1579. while (n--)
  1580. {
  1581. thisLink = snapshot.snapshotItem(n);
  1582.  
  1583. var spanElm = document.createElement("span");
  1584. spanElm.className = thisLink.className;
  1585. spanElm.innerHTML = thisLink.innerHTML;
  1586.  
  1587. if (Display_tooltip_info)
  1588. {
  1589. spanElm.href = thisLink.href;
  1590. switch (thisLink.className){
  1591. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1592. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1593. case "unava_link": //reserved
  1594. default:
  1595. }
  1596. }
  1597. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1598. }
  1599. }
  1600.  
  1601. function processContainers()
  1602. {
  1603. var redirectorTypes = { "HTTP_302": 0,
  1604. "INNER_LINK": 1,
  1605. "THELOO_KATT_IT": 2,
  1606. "CING_BE": 3,
  1607. "ADF_LY": 4};
  1608. var cMultiloadTotal = 0;
  1609. var cMultiloadProcessed = 0;
  1610.  
  1611. var cMirrorcreatorComTotal = 0;
  1612. var cMirrorcreatorComProcessed = 0;
  1613.  
  1614. var hostRestrictionRegex = "";
  1615. var multiloadComRestriction = "";
  1616. var multiloadComRestrictionRegex;
  1617.  
  1618. //
  1619. //HANDLING REDIRECTORS START
  1620. //
  1621.  
  1622. var redirectors = new Array();
  1623. initRedirectors();
  1624.  
  1625. var redirectorsCount = redirectors.length;
  1626.  
  1627. if (redirectorsCount > 0)
  1628. {
  1629. var allRedirectorsRegex = "";
  1630.  
  1631. //linkify redirector links
  1632. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1633. {
  1634. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1635. }
  1636. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1637. linkify(allRedirectorsRegex);
  1638. //
  1639. //process redirector links
  1640. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1641. {
  1642. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1643. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1644.  
  1645. cLinksTotal += redirectors[redirIdx].cTotal;
  1646. var linkIdx = redirectors[redirIdx].cTotal;
  1647.  
  1648. while(linkIdx--)
  1649. {
  1650. switch(redirectors[redirIdx].type)
  1651. {
  1652. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1653. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1654. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1655. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1656. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1657. default:
  1658. }
  1659. }
  1660. }
  1661. //
  1662. }
  1663.  
  1664. //HTTP_302
  1665. function processRedirectorLink(link, redirectorId)
  1666. {
  1667. link.className = 'container_link';
  1668.  
  1669. GM_xmlhttpRequest({
  1670. method: 'HEAD',
  1671. url: link.href,
  1672. headers: {
  1673. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1674. 'Accept': 'text/xml',
  1675. 'Referer': ""
  1676. },
  1677. onload: function(result) {
  1678. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1679. {
  1680. processRedirectorLink(link, redirectorId);
  1681. }
  1682. else
  1683. {
  1684. redirectors[redirectorId].cProcessed++;
  1685. link.href = result.finalUrl;
  1686. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1687. checkLinks('container_link');
  1688. }
  1689. },
  1690. onerror: function(result) { //probably caused by unresponsive filehosting
  1691. redirectors[redirectorId].cProcessed++;
  1692. link.className = 'unava_link';
  1693. cLinksProcessed++;
  1694. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1695. checkLinks('container_link');
  1696. }
  1697. });
  1698. }
  1699. //INNER_LINK
  1700. function processRedirectorLinkEx(link, redirectorId)
  1701. {
  1702. link.className = 'container_link';
  1703. GM_xmlhttpRequest({
  1704. method: 'GET',
  1705. url: link.href,
  1706. headers: {
  1707. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1708. 'Accept': 'text/xml',
  1709. 'Referer': ""
  1710. },
  1711. onload: function(result) {
  1712. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1713. redirectors[redirectorId].cProcessed++;
  1714. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1715. checkLinks('container_link');
  1716. }
  1717. });
  1718. }
  1719. //theloo.katt.it (wrapped safelinking.net)
  1720. function processThelooKattItLink(link, redirectorId)
  1721. {
  1722. link.className = 'container_link';
  1723. GM_xmlhttpRequest({
  1724. method: 'GET',
  1725. url: link.href,
  1726. headers: {
  1727. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1728. 'Accept': 'text/xml',
  1729. 'Referer': ""
  1730. },
  1731. onload: function(result) {
  1732. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1733. redirectors[redirectorId].cProcessed++;
  1734. //the inner links are safelinking.net links, so lets proceed with it
  1735. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1736. {
  1737. processRedirectorLink(link, 0);
  1738. }
  1739. }
  1740. });
  1741. }
  1742. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1743. function processAdfLyLink(link, redirectorId)
  1744. {
  1745. link.className = 'container_link';
  1746. GM_xmlhttpRequest({
  1747. method: 'GET',
  1748. url: link.href,
  1749. headers: {
  1750. 'User-agent': 'Mozilla/4.0',
  1751. 'Accept': 'text/xml',
  1752. 'Referer': ""
  1753. },
  1754. onload: function(result) {
  1755. if (result.finalUrl.match('/locked/'))
  1756. {
  1757. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1758. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1759. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1760. }
  1761. else
  1762. {
  1763. // GM_log('Processing... ' + link.href);
  1764. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1765. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1766. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1767. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1768. //confirm advert
  1769. GM_xmlhttpRequest(
  1770. {
  1771. method: 'POST',
  1772. url: 'http://adf.ly/l.php',
  1773. headers: {
  1774. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1775. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1776. 'Referer': link.href
  1777. },
  1778. data: users + '&lt=' + logToken,
  1779. onload: function(result) {
  1780. //retrieve final url from .../go/... link
  1781. GM_xmlhttpRequest({
  1782. method: 'GET',
  1783. url: directLink,
  1784. headers: {
  1785. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1786. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1787. 'Referer': link.href
  1788. },
  1789. onload: function(result) {
  1790. link.href = result.finalUrl;
  1791. redirectors[redirectorId].cProcessed++;
  1792. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1793. checkLinks('container_link');
  1794. }
  1795. });
  1796. }
  1797. });
  1798. }
  1799. }
  1800. });
  1801. function proceedOK()
  1802. {
  1803. }
  1804. }
  1805. //MULTILOAD.CZ START
  1806. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1807. {
  1808. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1809. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1810.  
  1811. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1812.  
  1813. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1814. hostRestrictionRegex += 'hellshare|';
  1815. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1816. hostRestrictionRegex += 'downloadhellshare|';
  1817. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1818. hostRestrictionRegex += 'share-rapid\\.com|';
  1819. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1820. hostRestrictionRegex += 'quickshare\\.cz|';
  1821. if (GM_getValue("Check_czshare_dot_com_links", false))
  1822. hostRestrictionRegex += 'czshare\\.com|';
  1823. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1824. hostRestrictionRegex += 'hellspy|';
  1825. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1826. hostRestrictionRegex += 'multishare\\.cz|';
  1827.  
  1828. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1829.  
  1830. linkify(mlRegex);
  1831.  
  1832. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1833. var mlCount = mlSnapshot.snapshotLength;
  1834.  
  1835. if (mlCount > 0)
  1836. {
  1837. cMultiloadTotal += mlCount;
  1838.  
  1839. mlIdx = mlCount - 1;
  1840. do
  1841. {
  1842. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1843. }
  1844. while(mlIdx--)
  1845. }
  1846. }
  1847. //MULTILOAD.CZ END
  1848.  
  1849.  
  1850.  
  1851. function processMultiloadLink(mlLink)
  1852. {
  1853. GM_xmlhttpRequest({
  1854. method: 'GET',
  1855. url: mlLink.href,
  1856. headers: {
  1857. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1858. 'Accept': 'text/xml',
  1859. 'Referer': ""
  1860. },
  1861. onload: function(result) {
  1862. var res = result.responseText;
  1863.  
  1864. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1865. 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;
  1866. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1867. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1868.  
  1869. var blocks; // blocks of links
  1870. var blockIdx;
  1871.  
  1872. mlLink.className = '';
  1873.  
  1874. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1875. {
  1876. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1877. return;
  1878. }
  1879.  
  1880. blocks = res.match(innerBlockRegex);
  1881.  
  1882. if (blocks == null) //no links found, cancel further processing
  1883. {
  1884. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1885. cMultiloadProcessed++;
  1886. if (cMultiloadTotal <= cMultiloadProcessed)
  1887. {
  1888. startBulkCheck('container_link');
  1889. start('container_link');
  1890. }
  1891. return;
  1892. }
  1893.  
  1894. blockIdx = blocks.length;
  1895.  
  1896. if (Display_full_links_in_link_containers)
  1897. {
  1898. var ulElm = document.createElement('ul');
  1899. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1900.  
  1901. while(blockIdx--)
  1902. {
  1903. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1904. {
  1905. continue;
  1906. }
  1907.  
  1908. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1909.  
  1910. var linkIdx = innerLinks.length;
  1911. while (linkIdx--)
  1912. {
  1913. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1914.  
  1915. var liElm = document.createElement('li');
  1916.  
  1917. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1918. {
  1919. liElm.appendChild(document.createTextNode(innerLink));
  1920. }
  1921. else
  1922. {
  1923. var aElm = document.createElement('a');
  1924. aElm.innerHTML = innerLink;
  1925. aElm.href = innerLink;
  1926. aElm.className = 'container_link';
  1927.  
  1928. liElm.appendChild(aElm);
  1929. }
  1930.  
  1931. ulElm.appendChild(liElm);
  1932. cLinksTotal++;
  1933. }
  1934. }
  1935.  
  1936. mlLink.parentNode.appendChild(ulElm);
  1937. }
  1938. else //compact view
  1939. {
  1940. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1941.  
  1942. while(blockIdx--)
  1943. {
  1944. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1945. {
  1946. continue;
  1947. }
  1948.  
  1949. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1950.  
  1951. var linkIdx = innerLinks.length;
  1952. while (linkIdx--)
  1953. {
  1954. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1955.  
  1956. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1957. {
  1958. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1959. }
  1960. else
  1961. {
  1962. var aElm = document.createElement('a');
  1963.  
  1964. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1965.  
  1966. //abbreviate host name
  1967. switch(hostName + ""){
  1968.  
  1969. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1970. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1971. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1972. case 'multishare': aElm.innerHTML = 'MS'; break;
  1973. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1974. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1975. case 'czshare': aElm.innerHTML = 'CS'; break;
  1976. default: aElm.innerHTML = 'xx';
  1977.  
  1978. }
  1979.  
  1980. aElm.href = innerLink;
  1981. aElm.className = 'container_link';
  1982.  
  1983. mlLink.parentNode.appendChild(aElm);
  1984. cLinksTotal++;
  1985. }
  1986. }
  1987.  
  1988. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1989.  
  1990. }
  1991. }
  1992.  
  1993. cMultiloadProcessed++;
  1994. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1995. {
  1996. if (Do_not_linkify_DL_links)
  1997. {
  1998. delinkifySnapshot(mlSnapshot);
  1999. }
  2000. startBulkCheck('container_link');
  2001. start('container_link');
  2002. }
  2003. }
  2004. });
  2005. }
  2006.  
  2007.  
  2008. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2009. {
  2010. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2011. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2012. var mcShortHostNames =
  2013. '?? 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';
  2014. // 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
  2015. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2016. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2017. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2018. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2019.  
  2020. linkify(mcRegex);
  2021.  
  2022. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2023. var mcCount = mcSnapshot.snapshotLength;
  2024.  
  2025. cMirrorcreatorComTotal = mcCount;
  2026.  
  2027. if (mcCount > 0)
  2028. {
  2029. mcShortHostNames = mcShortHostNames.split(' ');
  2030. mcIdx = mcCount;
  2031. while(mcIdx--)
  2032. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2033. }
  2034.  
  2035. }
  2036. //MIRRORCREATOR.CZ END
  2037.  
  2038.  
  2039. //mirrorcreator.com checking works like this:
  2040. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2041. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2042. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2043. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2044. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2045. function processMirrorcreatorLink(mcLink)
  2046. {
  2047. var mcURL = mcLink.href.match(mcRegex);
  2048. if(!mcURL || !mcURL[1]) return;
  2049. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2050. GM_xmlhttpRequest({
  2051. method: 'GET',
  2052. url: mcURL,
  2053. headers: {
  2054. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2055. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2056. 'Referer': ""
  2057. },
  2058. onload: function(mcLinkResult) {
  2059. var mcLinkRes = mcLinkResult.responseText;
  2060.  
  2061. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2062. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2063.  
  2064. var mcRedirectors;
  2065. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2066. var m = mcLinkRes.match(mcLinkBlockRegex);
  2067. if (m)
  2068. mcHostsFound = m.length;
  2069. else
  2070. { //no files inside container
  2071. processMirrorcreatorFoundHosts(mcLink, []);
  2072. return;
  2073. }
  2074.  
  2075. var mcRedirectorURL, idx, timedOut = false;
  2076.  
  2077. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2078. GM_xmlhttpRequest({
  2079. method: 'GET',
  2080. url: mcRedirectorURL,
  2081. headers: {
  2082. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2083. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2084. 'Referer': ""
  2085. },
  2086. onload: function(mcHostResult) {
  2087. if (timedOut) return; //too late, the list is already displayed
  2088. var mcHostRes = mcHostResult.responseText;
  2089. var mcHost = mcHostRes.match(mcHostRegex);
  2090. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2091. if (mcHost && idx!=-1)
  2092. {
  2093. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2094. mcHostsRetrieved++;
  2095. mcHostsToProcess++;
  2096. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2097. {
  2098. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2099. mcHostsToProcess = 0;
  2100. }
  2101. }
  2102. } //end of onload: function
  2103. }); //end of GM_xmlhttpRequest call
  2104. };//end of var gmxhrFunc
  2105.  
  2106. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2107. { //load individual redirector pages
  2108. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2109. mcHostURLs.push(mcRedirectorURL);
  2110. mcRedirectorIDs.push(mcRedirectors[2]);
  2111. gmxhrFunc(mcRedirectorURL);
  2112. } //end of while block
  2113.  
  2114. setTimeout(function(){ //in case the last page fails to load and call the function
  2115. timedOut = true;
  2116. if (mcHostsToProcess)
  2117. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2118. }, 60000);
  2119.  
  2120. } //end of onload function
  2121. }); //end of GM_xmlhttpRequest call
  2122. } //end of function processMirrorcreatorLink
  2123.  
  2124.  
  2125. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2126. {
  2127. var aEl, liEl, docFrag;
  2128. var hostName, mcRedirectorID, trimFilename = false;
  2129. var i = mcHostURLs.length;
  2130. if (i == 0)
  2131. {
  2132. trimFilename = true;
  2133. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2134. }
  2135. else
  2136. {
  2137. if (Display_full_links_in_link_containers)
  2138. { //full view
  2139. var wrapperEl = document.createElement('span');
  2140. wrapperEl.style.display = 'block';
  2141. var ulistEl = document.createElement('ul');
  2142. ulistEl.className = 'container_list';
  2143. while (i--)
  2144. {
  2145. liEl = document.createElement('li');
  2146. aEl = document.createElement('a');
  2147. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2148. aEl.href = mcHostURLs[i];
  2149. aEl.className = 'container_link';
  2150. liEl.appendChild(aEl);
  2151. ulistEl.appendChild(liEl);
  2152. }
  2153. wrapperEl.appendChild(ulistEl);
  2154. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2155. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2156. }
  2157. else
  2158. { //compact view
  2159. trimFilename = true;
  2160. docFrag = document.createDocumentFragment();
  2161. docFrag.appendChild(document.createTextNode(' |'));
  2162. while (i--)
  2163. {
  2164. mcRedirectorID = mcRedirectorIDs[i];
  2165. hostName = mcHostURLs[i];
  2166. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2167. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2168. else
  2169. hostName = mcShortHostNames[mcRedirectorID];
  2170. aEl = document.createElement('a');
  2171. aEl.href = mcHostURLs[i];
  2172. aEl.className = 'container_link';
  2173. aEl.appendChild(document.createTextNode(hostName));
  2174. docFrag.appendChild(aEl);
  2175. docFrag.appendChild(document.createTextNode('|'));
  2176. }
  2177. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2178. } //end of else block
  2179. } //end of else block
  2180. mcLink.className = '';
  2181. if (trimFilename)
  2182. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2183. cMirrorcreatorComProcessed++;
  2184. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2185. {
  2186. if (Do_not_linkify_DL_links)
  2187. delinkifySnapshot(mcSnapshot);
  2188. startBulkCheck('container_link');
  2189. start('container_link');
  2190. }
  2191. } //end of function processMirrorcreatorFoundHosts
  2192.  
  2193. containers_processed = true;
  2194.  
  2195.  
  2196. function initRedirectors()
  2197. {
  2198. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2199. {
  2200. var redirector = new Object();
  2201. redirector.linkRegex = linkRegex;
  2202. redirector.xpath = xpathEx; //xpath expression
  2203. redirector.cProcessed = 0; //processed links count
  2204. redirector.cTotal = 0; //total links count
  2205. redirector.type = redirType; //redirectorTypes enum
  2206. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2207. redirectors.push(redirector);
  2208. }
  2209. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2210. {
  2211. addRedirector(
  2212. 'safelinking\\.net\/d\/\\w+',
  2213. "//a[contains(@href,'safelinking.net/d/')]",
  2214. redirectorTypes.HTTP_302,
  2215. null);
  2216. }
  2217. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2218. {
  2219. addRedirector(
  2220. 'linksafe\\.me\/d\/\\w+',
  2221. "//a[contains(@href,'linksafe.me/d/')]",
  2222. redirectorTypes.HTTP_302,
  2223. null);
  2224. }
  2225. if (GM_getValue("Check_linkto_dot_net_links", false))
  2226. {
  2227. addRedirector(
  2228. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2229. "//a[contains(@href,'linkto.net/?')]",
  2230. redirectorTypes.INNER_LINK,
  2231. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2232. }
  2233. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2234. {
  2235. addRedirector(
  2236. '(?:the)?loo\\.katt\\.it\/\\w+',
  2237. "//a[contains(@href,'loo.katt.it/')]",
  2238. redirectorTypes.THELOO_KATT_IT,
  2239. /Proceed to URL - <a href="(.+?)">/);
  2240. }
  2241. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2242. {
  2243. addRedirector(
  2244. 'madlink\\.sk\/\\w+',
  2245. "//a[contains(@href,'madlink.sk/')]",
  2246. redirectorTypes.INNER_LINK,
  2247. /name="url" value="(.+?)\s*"\/>/);
  2248. }
  2249. if (GM_getValue("Check_adf_dot_ly_links", false))
  2250. {
  2251. addRedirector(
  2252. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2253. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2254. redirectorTypes.ADF_LY,
  2255. null);
  2256. }
  2257. if (GM_getValue("Check_redi_dot_re_links", false))
  2258. {
  2259. addRedirector(
  2260. 'redi\\.re\/\\w+',
  2261. "//a[contains(@href,'redi.re/')]",
  2262. redirectorTypes.HTTP_302,
  2263. null);
  2264. }
  2265. if (GM_getValue("Check_bit_dot_ly_links", false))
  2266. {
  2267. addRedirector(
  2268. 'bit\\.ly\/\\w+',
  2269. "//a[contains(@href,'bit.ly/')]",
  2270. redirectorTypes.HTTP_302,
  2271. null);
  2272. }
  2273. }
  2274.  
  2275. }
  2276.  
  2277. var bulkHosts = new Array();
  2278. var bulkHostNames = new Array();
  2279. function initBulkCheck()
  2280. {
  2281. /////////////////////////////
  2282. // Inits filehost object
  2283. /////////////////////////////
  2284. // params :
  2285. // hostName -- [string] host name (multiple domains separated with coma)
  2286. // linkRegex -- [string] link regex
  2287. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2288. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2289. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2290. // corrReplWhat -- [regex] link correction regex (replace)
  2291. // corrReplWith -- [string]
  2292. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2293. //
  2294. // apiUrl -- [string] web linkchecker or API URL
  2295. // postData -- [string] POSTDATA of xmlhttprequest
  2296. // resLinkRegex -- [regex]
  2297. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2298. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2299. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2300. // func -- [function] bulkcheck handler, genBulkCheck if null
  2301. //
  2302. //////////////////////////////
  2303. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2304. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2305. {
  2306. var fileHost = new Object();
  2307.  
  2308. fileHost.linkRegex = linkRegex;
  2309. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2310. fileHost.xpath = xpath;
  2311. fileHost.cFound = 0; //found links counter
  2312. fileHost.links = new Array(); //found links
  2313. if (blockSize == null)
  2314. {
  2315. fileHost.blockSize = 50;
  2316. }
  2317. else
  2318. {
  2319. fileHost.blockSize = blockSize;
  2320. }
  2321. fileHost.corrMatch = corrMatch;
  2322. fileHost.corrReplWhat = corrReplWhat;
  2323. fileHost.corrReplWith = corrReplWith;
  2324. if (splitSeparator == null)
  2325. {
  2326. fileHost.splitSeparator = "\r\n";
  2327. }
  2328. else
  2329. {
  2330. fileHost.splitSeparator = splitSeparator;
  2331. }
  2332. fileHost.apiUrl = apiUrl;
  2333. fileHost.postData = postData;
  2334. fileHost.resLinkRegex = resLinkRegex;
  2335. fileHost.resLiveRegex = resLiveRegex;
  2336. fileHost.resDeadRegex = resDeadRegex;
  2337. fileHost.resUnavaRegex = resUnavaRegex;
  2338. if (func == null)
  2339. {
  2340. fileHost.func = genBulkCheck;
  2341. }
  2342. else
  2343. {
  2344. fileHost.func = func;
  2345. }
  2346. bulkHosts.push(fileHost);
  2347. var names = hostName.split(',');
  2348. var i = names.length;
  2349. while(i--)
  2350. {
  2351. bulkHostNames[names[i]] = fileHost;
  2352. }
  2353. }
  2354. var genType1 = [
  2355. "rodfile.com", "downloadani.me", //"migahost.com",
  2356. "rarefile.net",
  2357. "filesabc.com",
  2358. // "verzend.be",
  2359. // "movreel.com",
  2360. "file4safe.com", "filemac.com",
  2361. "longfiles.com",
  2362. "bitupload.com", //"4up.me",
  2363. //"uploadbaz.com"
  2364. ];
  2365. var genType2 = [ "queenshare.com",
  2366. "hulkload.com",
  2367. "amonshare.com", //"edoc.com",
  2368. ];
  2369. //xfilesharing 1.0
  2370. function addGenericType1()
  2371. {
  2372. var i = genType1.length;
  2373. while(i--)
  2374. {
  2375. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2376. {
  2377. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2378. addHost(
  2379. genType1[i].match(/[\w-]+/)[0], //hostname
  2380. regexSafe + "\/\\w+", //linkregex
  2381. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2382. null, //blocksize
  2383. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2384. null, //corrreplwhat
  2385. null, //corrreplwith
  2386. null, //separator
  2387. "http://" + genType1[i] + "/checkfiles.html", //api url
  2388. "op=checkfiles&process=Check+URLs&list=", //postdata
  2389. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2390. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2391. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2392. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2393. null //function delegate
  2394. )
  2395. }
  2396. }
  2397. }
  2398. //xfilesharing 2.0
  2399. function addGenericType2()
  2400. {
  2401. var i = genType2.length;
  2402. while(i--)
  2403. {
  2404. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2405. {
  2406. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2407. addHost(
  2408. genType2[i].match(/[\w-]+/)[0], //hostname
  2409. regexSafe + "\/\\w+", //linkregex
  2410. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2411. null, //blocksize
  2412. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2413. null, //corrreplwhat
  2414. null, //corrreplwith
  2415. null, //separator
  2416. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2417. "op=checkfiles&process=Check+URLs&list=", //postdata
  2418. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2419. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2420. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2421. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2422. null //function delegate
  2423. )
  2424. }
  2425. }
  2426. }
  2427. // TEMPLATE
  2428. // if (GM_getValue("Check__dot_com_links", false))
  2429. // {
  2430. // addHost(
  2431. // "", //hostname
  2432. // "", //linkregex
  2433. // "//a[contains(@href,'.com/')]", //xpath
  2434. // null, //blocksize
  2435. // null, //corrmatch
  2436. // null, //corrreplwhat
  2437. // null, //corrreplwith
  2438. // null, //separator
  2439. // "", //api url
  2440. // "", //postdata
  2441. // /()/, //linkregex
  2442. // //liveregex
  2443. // //deadregex
  2444. // //unavaregex
  2445. // null //function delegate
  2446. // )
  2447. // }
  2448. addGenericType1();
  2449. addGenericType2();
  2450.  
  2451. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2452. {
  2453. addHost(
  2454. "myvdrive,fileserving", //hostname
  2455. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2456. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2457. null, //blocksize
  2458. null, //corrmatch
  2459. null, //corrreplwhat
  2460. null, //corrreplwith
  2461. null, //separator
  2462. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2463. "links=", //postdata
  2464. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2465. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2466. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2467. null, //unavaregex
  2468. null //function delegate
  2469. )
  2470. }
  2471. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2472. {
  2473. addHost(
  2474. "hackerbox", //hostname
  2475. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2476. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2477. null, //blocksize
  2478. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2479. null, //corrreplwhat
  2480. null, //corrreplwith
  2481. null, //separator
  2482. "http://host.hackerbox.org/checkfiles.html", //api url
  2483. "op=checkfiles&process=Check+URLs&list=", //postdata
  2484. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2485. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2486. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2487. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2488. null //function delegate
  2489. )
  2490. }
  2491. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2492. {
  2493. addHost(
  2494. "hellshare", //hostname
  2495. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2496. "//a[contains(@href,'hellshare.')]", //xpath
  2497. 48, //blocksize
  2498. null, //corrmatch
  2499. null, //corrreplwhat
  2500. null, //corrreplwith
  2501. null, //separator
  2502. null, //api url
  2503. null, //postdata
  2504. null, //linkregex
  2505. null, //liveregex
  2506. null, //deadregex
  2507. null, //unavaregex
  2508. hellshareBulkCheck //function delegate
  2509. )
  2510. }
  2511. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2512. {
  2513. addHost(
  2514. "uploadrocket", //hostname
  2515. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2516. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2517. null, //blocksize
  2518. null, //corrmatch
  2519. null, //corrreplwhat
  2520. null, //corrreplwith
  2521. "\n", //separator
  2522. 'http://uploadrocket.net/?op=checkfiles',
  2523. 'op=checkfiles&process=Check+URLs&list=',
  2524. /uploadrocket.net\/(\w+)/,
  2525. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2526. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2527. null,
  2528. null //function delegate
  2529. )
  2530. }
  2531. if (GM_getValue("Check_uploading_dot_site_links", false))
  2532. {
  2533. addHost(
  2534. "uploading", //hostname
  2535. "(?:uploading\\.site)\/\\w+", //linkregex
  2536. "//a[contains(@href,'uploading.site/')]", //xpath
  2537. null, //blocksize
  2538. null, //corrmatch
  2539. null, //corrreplwhat
  2540. null, //corrreplwith
  2541. "\n", //separator
  2542. 'http://uploading.site/?op=checkfiles',
  2543. 'op=checkfiles&process=Check+URLs&list=',
  2544. /uploading.site\/(\w+)/,
  2545. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2546. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2547. null,
  2548. null //function delegate
  2549. )
  2550. }
  2551. if (GM_getValue("Check_1f_dot_al_links", false))
  2552. {
  2553. addHost(
  2554. "1f",
  2555. "(?:1f\\.al)\/d\/\\w+",
  2556. "//a[contains(@href,'1f.al/d/')]",
  2557. 100000, //blocksize
  2558. null, //corrmatch
  2559. null, //corrreplwhat
  2560. null, //corrreplwith
  2561. null, //separator
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. null,
  2568. _1falBulkCheck //function delegate
  2569. )
  2570. }
  2571. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2572. {
  2573. addHost(
  2574. "k2s,keep2s,keep2share",
  2575. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2576. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2577. 100000, //blocksize
  2578. null, //corrmatch
  2579. null, //corrreplwhat
  2580. null, //corrreplwith
  2581. null, //separator
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. null,
  2588. k2sBulkCheck //function delegate
  2589. )
  2590. }
  2591. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2592. {
  2593. addHost(
  2594. "tezfiles",
  2595. "(?:tezfiles\\.com)\/\\w+",
  2596. "//a[contains(@href,'tezfiles.com')]",
  2597. 100000, //blocksize
  2598. null, //corrmatch
  2599. null, //corrreplwhat
  2600. null, //corrreplwith
  2601. null, //separator
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. null,
  2607. null,
  2608. k2sBulkCheck //function delegate
  2609. )
  2610. }
  2611. if (GM_getValue("Check_fboom_dot_me_links", false))
  2612. {
  2613. addHost(
  2614. "fboom,fileboom",
  2615. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2616. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2617. 100000, //blocksize
  2618. null, //corrmatch
  2619. null, //corrreplwhat
  2620. null, //corrreplwith
  2621. null, //separator
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. null,
  2627. null,
  2628. fboomBulkCheck //function delegate
  2629. )
  2630. }
  2631. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2632. {
  2633. addHost(
  2634. "1fichier,dl4free",
  2635. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2636. "//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/?')]",
  2637. 100000, //blocksize
  2638. null, //corrmatch
  2639. null, //corrreplwhat
  2640. null, //corrreplwith
  2641. null, //separator
  2642. null,
  2643. null,
  2644. null,
  2645. null,
  2646. null,
  2647. null,
  2648. dl4free_1fichier_BulkCheck //function delegate
  2649. )
  2650. }
  2651. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2652. {
  2653. addHost(
  2654. "nitroflare",
  2655. "nitroflare\\.com\/\\w+",
  2656. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2657. 100000, //blocksize
  2658. null, //corrmatch
  2659. null, //corrreplwhat
  2660. null, //corrreplwith
  2661. null, //separator
  2662. null,
  2663. null,
  2664. null,
  2665. null,
  2666. null,
  2667. null,
  2668. nitroflareBulkCheck //function delegate
  2669. )
  2670. }
  2671. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2672. {
  2673. addHost(
  2674. "depositfiles,dfiles",
  2675. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2676. "//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/')]",
  2677. 100000, //blocksize
  2678. null, //corrmatch
  2679. null, //corrreplwhat
  2680. null, //corrreplwith
  2681. null, //separator
  2682. null,
  2683. null,
  2684. null,
  2685. null,
  2686. null,
  2687. null,
  2688. depositfilesBulkCheck //function delegate
  2689. )
  2690. }
  2691. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2692. {
  2693. addHost(
  2694. "filesflash", //hostname
  2695. "filesflash\\.com\/\\w+", //linkregex
  2696. "//a[contains(@href,'filesflash.com')]", //xpath
  2697. null, //blocksize
  2698. null, //corrmatch
  2699. /http:\/\//, //corrreplwhat
  2700. '', //corrreplwith
  2701. null, //separator
  2702. 'http://filesflash.com/checklinks.php',
  2703. 'submit=Go&links=',
  2704. /filesflash\.com\/(\w+)/,
  2705. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2706. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2707. null,
  2708. null //function delegate
  2709. )
  2710. }
  2711. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2712. {
  2713. addHost(
  2714. "jumbofiles", //hostname
  2715. "jumbofiles\\.com\/\\w+", //linkregex
  2716. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2717. null, //blocksize
  2718. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2719. null, //corrreplwhat
  2720. null, //corrreplwith
  2721. null, //separator
  2722. "http://jumbofiles.com/checkfiles.html", //api url
  2723. "op=checkfiles&process=Check+URLs&list=", //postdata
  2724. /(jumbofiles\.com\/\w+)/, //linkregex
  2725. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2726. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2727. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2728. null //function delegate
  2729. )
  2730. }*/
  2731. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2732. {
  2733. addHost(
  2734. "edisk", //hostname
  2735. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2736. "//a[contains(@href,'edisk.')]", //xpath
  2737. null, //blocksize
  2738. null, //corrmatch
  2739. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2740. 'edisk.cz/stahni', //corrreplwith
  2741. null, //separator
  2742. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2743. 'submitBtn=Zkontrolovat&checkFiles=',
  2744. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2745. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2746. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2747. null,
  2748. null //function delegate
  2749. )
  2750. }
  2751. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2752. {
  2753. GM_xmlhttpRequest( //age check skip
  2754. {
  2755. method: 'POST',
  2756. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2757. headers: {
  2758. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2759. 'Content-type': 'application/x-www-form-urlencoded',
  2760. 'Referer': ""
  2761. }
  2762. });
  2763. addHost(
  2764. "bezvadata", //hostname
  2765. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2766. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2767. null, //blocksize
  2768. null, //corrmatch
  2769. null, //corrreplwhat
  2770. null, //corrreplwith
  2771. null, //separator
  2772. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2773. 'zkontrolovat=Zkontrolovat&odkazy=',
  2774. /(bezvadata\.cz\/stahnout\/\d+)/,
  2775. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2776. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2777. null,
  2778. null //function delegate
  2779. )
  2780. }
  2781. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2782. {
  2783. addHost(
  2784. "linkcrypt", //hostname
  2785. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2786. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2787. 100000, //blocksize
  2788. null, //corrmatch
  2789. null, //corrreplwhat
  2790. null, //corrreplwith
  2791. null, //separator
  2792. null,
  2793. null,
  2794. null,
  2795. null,
  2796. null,
  2797. null,
  2798. linkcryptBulkCheck //function delegate
  2799. )
  2800. }
  2801. if (GM_getValue("Check_videobb_dot_com_links", false))
  2802. {
  2803. addHost(
  2804. "videobb", //hostname
  2805. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2806. "//a[contains(@href,'videobb.com')]", //xpath
  2807. null, //blocksize
  2808. null, //corrmatch
  2809. /watch_video\.php\?v=/, //corrreplwhat
  2810. 'video/', //corrreplwith
  2811. null, //separator
  2812. 'http://www.videobb.com/link_checker.php',
  2813. 'links=',
  2814. /videobb\.com\/video\/(\w+)/,
  2815. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2816. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2817. null,
  2818. null //function delegate
  2819. )
  2820. }
  2821. if (GM_getValue("Check_filerio_dot_com_links", false))
  2822. {
  2823. addHost(
  2824. "filekeen,filerio", //hostname
  2825. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2826. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2827. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2828. null, //blocksize
  2829. null, //corrmatch
  2830. null, //corrreplwhat
  2831. null, //corrreplwith
  2832. null, //separator
  2833. 'http://filerio.in/checkfiles.html',
  2834. 'op=checkfiles&process=Check+URLs&list=',
  2835. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2836. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2837. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2838. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2839. null //function delegate
  2840. )
  2841. }
  2842. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2843. {
  2844. addHost(
  2845. "share-online,egoshare", //hostname
  2846. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2847. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2848. null, //blocksize
  2849. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2850. null, //corrreplwhat
  2851. null, //corrreplwith
  2852. "\n", //separator
  2853. 'http://api.share-online.biz/linkcheck.php',
  2854. 'links=',
  2855. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2856. /\w+;OK/g,
  2857. /\w+;(?:NOTFOUND|DELETED)/g,
  2858. null,
  2859. null //function delegate
  2860. )
  2861. }
  2862. if (GM_getValue("Check_oboom_dot_com_links", false))
  2863. {
  2864. addHost(
  2865. "oboom", //hostname
  2866. "oboom\\.com\/#?\\w{8}", //linkregex
  2867. "//a[contains(@href,'oboom.com/')]", //xpath
  2868. null, //blocksize
  2869. /oboom\.com\/#?(\w{8})/, //corrmatch
  2870. null, //corrreplwhat
  2871. null, //corrreplwith
  2872. null, //separator
  2873. null,
  2874. null,
  2875. null,
  2876. null, //liveregex
  2877. null, //deadregex
  2878. null,
  2879. oboomBulk //function delegate
  2880. )
  2881. }
  2882. if (GM_getValue("Check_mega_dot_nz_links", false))
  2883. {
  2884. addHost(
  2885. "mega",
  2886. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2887. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2888. 100000, //blocksize
  2889. null, //corrmatch
  2890. null, //corrreplwhat
  2891. null, //corrreplwith
  2892. null, //separator
  2893. null,
  2894. null,
  2895. null,
  2896. null,
  2897. null,
  2898. null,
  2899. megaBulkCheck //function delegate
  2900. )
  2901. }
  2902.  
  2903. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2904.  
  2905. if (GM_getValue("Check_extabit_dot_com_links", false))
  2906. {
  2907. addHost(
  2908. "extabit", //hostname
  2909. "extabit\\.com\/file\/\\w+", //linkregex
  2910. "//a[contains(@href,'extabit.com')]", //xpath
  2911. null, //blocksize
  2912. null, //corrmatch
  2913. null, //corrreplwhat
  2914. null, //corrreplwith
  2915. "\n", //separator
  2916. "http://extabit.com/linkchecker.jsp", //api url
  2917. "url=", //postdata
  2918. /extabit\.com\/(file\/\w+)/, //linkregex
  2919. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2920. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2921. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2922. extabitBulkCheck //function delegate
  2923. )
  2924. }
  2925. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2926. {
  2927. addHost(
  2928. "junocloud", //hostname
  2929. "junocloud\\.me\/\\w+", //linkregex
  2930. "//a[contains(@href,'junocloud.me')]", //xpath
  2931. null, //blocksize
  2932. null, //corrmatch
  2933. null, //corrreplwhat
  2934. null, //corrreplwith
  2935. "\n", //separator
  2936. "http://junocloud.me/checkfiles.html", //api url
  2937. "op=checkfiles&process=Check+URLs&list=", //postdata
  2938. /(junocloud\.me\/\w+)/, //linkregex
  2939. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2940. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2941. null, //unavaregex
  2942. null //function delegate
  2943. )
  2944. }
  2945. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2946. {
  2947. addHost(
  2948. "webshare", //hostname
  2949. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2950. "//a[contains(@href,'webshare.cz')]", //xpath
  2951. 100000, //blocksize
  2952. null, //corrmatch
  2953. null, //corrreplwhat
  2954. null, //corrreplwith
  2955. null, //separator
  2956. null, //api url
  2957. null, //postdata
  2958. null, //linkregex
  2959. null, //liveregex
  2960. null, //deadregex
  2961. null, //unavaregex
  2962. webshareBulkCheck //function delegate
  2963. )
  2964. }
  2965. /////////////////////////////
  2966. // Common function delegate to send links to get checked by host linkchecker
  2967. /////////////////////////////
  2968. // If you define a new delegate, you may use following properties
  2969. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2970. // this.apiUrl [string] API or web linkchecker URL
  2971. // this.postData [string] POSTDATA for POST request
  2972. // this.resLiveRegex [regex] matches live substrings in the request response
  2973. // this.resDeadRegex [regex] matches dead substrings in the request response
  2974. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2975. //
  2976. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2977. //
  2978. // See the code below for standard bulkcheck handling reference.
  2979. //////////////////////////////
  2980. function genBulkCheck()
  2981. {
  2982. var blockIdx = this.links.length;
  2983. while (blockIdx--)
  2984. {
  2985. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2986. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2987. }
  2988. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2989. {
  2990. GM_xmlhttpRequest(
  2991. {
  2992. method: 'POST',
  2993. url: api,
  2994. headers: {
  2995. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2996. 'Content-type': 'application/x-www-form-urlencoded',
  2997. 'Referer': api,
  2998. 'X-Requested-With': 'XMLHttpRequest'
  2999. },
  3000. data: postData + encodeURIComponent(links),
  3001. onload: function (result)
  3002. {
  3003. var res = result.responseText;
  3004. // GM_log(res);
  3005. var i;
  3006.  
  3007. var livelinks = res.match(liveRegex);
  3008. var deadlinks = res.match(deadRegex);
  3009. // GM_log(livelinks);
  3010. // GM_log(deadlinks);
  3011. if (livelinks != null)
  3012. {
  3013. i = livelinks.length - 1;
  3014. do
  3015. {
  3016. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3017. }
  3018. while (i--);
  3019. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3020. }
  3021.  
  3022. if (deadlinks != null)
  3023. {
  3024. i = deadlinks.length - 1;
  3025. do
  3026. {
  3027. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3028. }
  3029. while (i--);
  3030. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3031. }
  3032.  
  3033. if (unavaRegex != null)
  3034. {
  3035. var unavalinks = res.match(unavaRegex);
  3036. if (unavalinks)
  3037. {
  3038. i = unavalinks.length - 1;
  3039. do
  3040. {
  3041. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3042. }
  3043. while (i--);
  3044. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3045. }
  3046. }
  3047. }
  3048. });
  3049. }
  3050. }
  3051. //specialized bulkchecking handlers follow
  3052. function webshareBulkCheck()
  3053. {
  3054. var arr = this.links[0].split("\r\n");
  3055. var i = arr.length;
  3056. while(i--)
  3057. {
  3058. postRequest(arr[i]);
  3059. }
  3060. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3061. function postRequest(wsLink)
  3062. {
  3063. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3064. GM_xmlhttpRequest(
  3065. {
  3066. method: 'POST',
  3067. url: "http://webshare.cz/api/file_info/",
  3068. headers: {
  3069. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3070. 'Content-type': 'application/x-www-form-urlencoded',
  3071. 'Referer': "",
  3072. },
  3073. data: "wst=&ident=" + id,
  3074. onload: function (result)
  3075. {
  3076. var res = result.responseText;
  3077. if (res.match(/<name>.+?<\/name>/))
  3078. {
  3079. DisplayTheCheckedLinks([id], 'alive_link');
  3080. }
  3081. else
  3082. {
  3083. DisplayTheCheckedLinks([id], 'adead_link');
  3084. }
  3085. }
  3086. });
  3087. }
  3088. }
  3089. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3090. //extabit also doesn't like requests in fast succession, so some delays are added.
  3091. function extabitBulkCheck()
  3092. {
  3093. var timeoutDelay = 0;
  3094. var blockIdx = this.links.length;
  3095. while (blockIdx--)
  3096. {
  3097. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3098. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3099. }
  3100. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3101. {
  3102. GM_xmlhttpRequest(
  3103. {
  3104. method: 'POST',
  3105. url: api,
  3106. headers: {
  3107. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3108. 'Content-type': 'application/x-www-form-urlencoded',
  3109. 'Referer': api,
  3110. 'X-Requested-With': 'XMLHttpRequest'
  3111. },
  3112. data: postData + encodeURIComponent(links),
  3113. onload: function (result)
  3114. {
  3115. var res = result.responseText;
  3116. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3117. {
  3118. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3119. {
  3120. //GM_log(tryID + ': ' + link);
  3121. GM_xmlhttpRequest(
  3122. {
  3123. method: 'GET',
  3124. url: link,
  3125. 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': ""},
  3126. onload: function(result2)
  3127. {
  3128. var res2 = result2.responseText;
  3129. var res2Status = result.status;
  3130. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3131. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3132. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3133. {
  3134. if (tryID < 7)
  3135. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3136. else
  3137. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3138. }
  3139. }
  3140. });
  3141. }
  3142. //split the hrefs and check them one by one
  3143. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3144. links = links.split('\n');
  3145. var i = links.length;
  3146. while (i--)
  3147. {
  3148. if (links[i])
  3149. {
  3150. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3151. timeoutDelay += 500;
  3152. }
  3153. }
  3154. return;
  3155. }
  3156. var i;
  3157.  
  3158. var livelinks = res.match(liveRegex);
  3159. var deadlinks = res.match(deadRegex);
  3160. if (livelinks != null)
  3161. {
  3162. i = livelinks.length - 1;
  3163. do
  3164. {
  3165. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3166. }
  3167. while (i--);
  3168. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3169. }
  3170.  
  3171. if (deadlinks != null)
  3172. {
  3173. i = deadlinks.length - 1;
  3174. do
  3175. {
  3176. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3177. }
  3178. while (i--);
  3179. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3180. }
  3181.  
  3182. if (unavaRegex != null)
  3183. {
  3184. var unavalinks = res.match(unavaRegex);
  3185. if (unavalinks)
  3186. {
  3187. i = unavalinks.length - 1;
  3188. do
  3189. {
  3190. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3191. }
  3192. while (i--);
  3193. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3194. }
  3195. }
  3196. }
  3197. });
  3198. }
  3199. }
  3200. function _1falBulkCheck()
  3201. {
  3202. var arr = this.links[0].split("\r\n");
  3203. var i = arr.length;
  3204. c=0;
  3205. arrIDs=[];
  3206. while(i--)
  3207. {
  3208. id = arr[i].match(/\/d\/(\w+)/)[1];
  3209.  
  3210. _1falalreadyexist=false;
  3211. for (j=0;j<arrIDs.length;j++)
  3212. {
  3213. if (arrIDs[j]==id)
  3214. {
  3215. _1falalreadyexist=g
  3216. break;
  3217. }
  3218. }
  3219. if (_1falalreadyexist) continue;
  3220. arrIDs.push(id);
  3221. c++;
  3222. setTimeout(_1falRequest,c*500,arr[i]);
  3223. }
  3224. }
  3225. function _1falRequest(_1falLink)
  3226. {
  3227. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3228. GM_xmlhttpRequest(
  3229. {
  3230. method: 'GET',
  3231. url: _1falLink,
  3232. headers: {
  3233. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3234. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3235. 'Referer': 'http://www.planetsuzy.org/'
  3236. },
  3237. onload: function (result)
  3238. {
  3239. var res = result.responseText;
  3240. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3241. if (FAarr!=null)
  3242. {
  3243. FALink=FAarr[1];
  3244. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3245. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3246. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3247. GM_xmlhttpRequest(
  3248. {
  3249. method: 'POST',
  3250. url: FALink,
  3251. headers: {
  3252. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3253. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3254. 'Content-Type': 'application/x-www-form-urlencoded',
  3255. 'Referer': _1falLink
  3256. },
  3257. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3258. onload: function (_2ndresult)
  3259. {
  3260. var newres = _2ndresult.responseText;
  3261. FAalivelink=new RegExp("method_free");
  3262. if (FAalivelink.test(newres))
  3263. {
  3264. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3265. return;
  3266. }
  3267. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3268. if (FAdeadlink.test(newres))
  3269. {
  3270. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3271. return;
  3272. }
  3273. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3274. return;
  3275. }
  3276. });
  3277. return;
  3278. }
  3279. else
  3280. {
  3281. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3282. return;
  3283. }
  3284. },
  3285. onerror: function ()
  3286. {
  3287. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3288. return;
  3289. }
  3290. });
  3291. }
  3292. function k2sBulkCheck()
  3293. {
  3294. var arr = this.links[0].split("\r\n");
  3295. var i = arr.length;
  3296. c=0;
  3297. arrIDs=[];
  3298. while(i--)
  3299. {
  3300. id = arr[i].match(/\/file\/(\w+)/)[1];
  3301. if (id=='info')
  3302. {
  3303. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3304. continue;
  3305. }
  3306. k2salreadyexist=false;
  3307. for (j=0;j<arrIDs.length;j++)
  3308. {
  3309. if (arrIDs[j]==id)
  3310. {
  3311. k2salreadyexist=g
  3312. break;
  3313. }
  3314. }
  3315. if (k2salreadyexist) continue;
  3316. arrIDs.push(id);
  3317. c++;
  3318. setTimeout(k2sRequest,c*500,arr[i]);
  3319. }
  3320. }
  3321. function k2sRequest(K2SLink)
  3322. {
  3323. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3324. GM_xmlhttpRequest(
  3325. {
  3326. method: 'GET',
  3327. url: K2SLink,
  3328. headers: {
  3329. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3330. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3331. 'Referer': ''
  3332. },
  3333. onload: function (result)
  3334. {
  3335. var res = result.responseText;
  3336. K2Dom='k2s.cc';
  3337. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3338. K2SLink2='http://'+K2Dom+'/file/'+id;
  3339.  
  3340. 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'))
  3341. {
  3342. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3343. return;
  3344. }
  3345. if (res.match('method="post">Displaying'))
  3346. {
  3347. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3348. return;
  3349. }
  3350. if (res.match('Premium only|only for premium members'))
  3351. {
  3352. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3353. return;
  3354. }
  3355. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3356. {
  3357. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3358. slID=slow_id.exec(res)[1];
  3359. GM_xmlhttpRequest(
  3360. {
  3361. method: 'POST',
  3362. url: K2SLink2,
  3363. headers: {
  3364. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3365. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3366. 'Content-Type': 'application/x-www-form-urlencoded',
  3367. 'Referer': K2SLink
  3368. },
  3369. data: 'slow_id='+slID+'&yt0=',
  3370. onload: function (result)
  3371. {
  3372. var newres = result.responseText;
  3373. newoversizedtest=new RegExp("Free user can't download large files.");
  3374. if (newoversizedtest.test(newres))
  3375. {
  3376. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3377. return;
  3378. }
  3379. else
  3380. {
  3381. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3382. return;
  3383. }
  3384. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3385. return;
  3386. }
  3387. });
  3388. /////////////////////end additional check for oversized links
  3389. return;
  3390. }
  3391. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3392. return;
  3393. },
  3394. onerror: function ()
  3395. {
  3396. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3397. return;
  3398. }
  3399. });
  3400. }
  3401. function fboomBulkCheck()
  3402. {
  3403. var arr = this.links[0].split("\r\n");
  3404. var i = arr.length;
  3405. c=0;
  3406. arrIDs=[];
  3407. while(i--)
  3408. {
  3409. id = arr[i].match(/\/file\/(\w+)/)[1];
  3410. if (id=='info')
  3411. {
  3412. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3413. continue;
  3414. }
  3415. fbalreadyexist=false;
  3416. for (j=0;j<arrIDs.length;j++)
  3417. {
  3418. if (arrIDs[j]==id)
  3419. {
  3420. fbalreadyexist=true;
  3421. break;
  3422. }
  3423. }
  3424. if (fbalreadyexist) continue;
  3425. arrIDs.push(id);
  3426. c++;
  3427. setTimeout(fboomRequest,c*500,arr[i]);
  3428. }
  3429. }
  3430. function fboomRequest(FBoomLink)
  3431. {
  3432. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3433. FBoomLink2='http://fboom.me/file/'+id;
  3434. GM_xmlhttpRequest(
  3435. {
  3436. method: 'GET',
  3437. url: FBoomLink,
  3438. headers: {
  3439. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3440. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3441. 'Referer': ''
  3442. },
  3443. onload: function (result)
  3444. {
  3445. var res = result.responseText;
  3446. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3447. {
  3448. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3449. return;
  3450. }
  3451. if (res.match('method="post">Displaying'))
  3452. {
  3453. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3454. return;
  3455. }
  3456. if (res.match('only for premium members'))
  3457. {
  3458. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3459. return;
  3460. }
  3461. if (res.match('id="download-free" href="#"'))
  3462. {
  3463. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3464. slID=slow_id.exec(res)[1];
  3465. GM_xmlhttpRequest(
  3466. {
  3467. method: 'POST',
  3468. url: FBoomLink2,
  3469. headers: {
  3470. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3471. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3472. 'Content-Type': 'application/x-www-form-urlencoded',
  3473. 'Referer': FBoomLink
  3474. },
  3475. data: 'slow_id='+slID,
  3476. onload: function (result)
  3477. {
  3478. var newres = result.responseText;
  3479. newoversizedtest=new RegExp("Downloading is not possible");
  3480. if (newoversizedtest.test(newres))
  3481. {
  3482. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3483. return;
  3484. }
  3485. else
  3486. {
  3487. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3488. return;
  3489. }
  3490. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3491. return;
  3492. }
  3493. });
  3494. /////////////////////end additional check for oversized links
  3495. return;
  3496. }
  3497. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3498. return;
  3499. },
  3500. onerror: function ()
  3501. {
  3502. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3503. return;
  3504. }
  3505. });
  3506. }
  3507. function dl4free_1fichier_BulkCheck()
  3508. {
  3509. var arr = this.links[0].split("\r\n");
  3510. var i = arr.length;
  3511. while(i--)
  3512. {
  3513. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3514. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3515. gethead_dl4free_1fichier(arr[i]);
  3516. }
  3517. }
  3518. function gethead_dl4free_1fichier(link)
  3519. {
  3520. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3521. GM_xmlhttpRequest(
  3522. {
  3523. method: 'HEAD',
  3524. url: link,
  3525. headers: {
  3526. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3527. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3528. 'Referer': ''
  3529. },
  3530. onload: function (result)
  3531. {
  3532. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3533. {
  3534. DisplayTheCheckedLinks([id], 'alive_link');
  3535. return;
  3536. }
  3537. else
  3538. {
  3539. getlink_dl4free_1fichier(link);
  3540. }
  3541. return;
  3542. },
  3543. onerror: function ()
  3544. {
  3545. DisplayTheCheckedLinks([id], 'unava_link');
  3546. }
  3547. });
  3548. }
  3549. function getlink_dl4free_1fichier(link)
  3550. {
  3551. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3552. GM_xmlhttpRequest(
  3553. {
  3554. method: 'GET',
  3555. url: link,
  3556. headers: {
  3557. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3558. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3559. 'Referer': ''
  3560. },
  3561. onload: function (result)
  3562. {
  3563. var res = result.responseText;
  3564. 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');
  3565. if (deadRegex.test(res))
  3566. {
  3567. DisplayTheCheckedLinks([id], 'adead_link');
  3568. return;
  3569. }
  3570. premiumRegex=new RegExp('only for premium users');
  3571. if (premiumRegex.test(res))
  3572. {
  3573. DisplayTheCheckedLinks([id], 'prem_link');
  3574. return;
  3575. }
  3576. 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="');
  3577. if (liveRegex.test(res))
  3578. {
  3579. DisplayTheCheckedLinks([id], 'alive_link');
  3580. return;
  3581. }
  3582. DisplayTheCheckedLinks([id], 'unava_link');
  3583. },
  3584. onerror: function ()
  3585. {
  3586. DisplayTheCheckedLinks([id], 'unava_link');
  3587. }
  3588. });
  3589. }
  3590. function nitroflareBulkCheck()
  3591. {
  3592. var arr = this.links[0].split("\r\n");
  3593. var i = arr.length;
  3594. while(i--)
  3595. {
  3596. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3597. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3598. NitroFlareRequest(arr[i]);
  3599. }
  3600. }
  3601. function NitroFlareRequest(NFLink)
  3602. {
  3603. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3604. GM_xmlhttpRequest(
  3605. {
  3606. method: "GET",
  3607. url: NFLink,
  3608. headers: {
  3609. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3610. 'Content-Type': 'application/x-www-form-urlencoded',
  3611. 'Referer': ""
  3612. },
  3613. onload: function (result)
  3614. {
  3615. var res = result.responseText;
  3616. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3617. {
  3618. DisplayTheCheckedLinks([NFID], 'adead_link');
  3619. return;
  3620. }
  3621. if (res.match('Report this file<\/a>'))
  3622. {
  3623. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3624. sizearr=measureRegex.exec(res);
  3625. if (sizearr[2]=='GB')
  3626. {
  3627. if (parseFloat(sizearr[1])>1)
  3628. {
  3629. DisplayTheCheckedLinks([NFID], 'prem_link');
  3630. }
  3631. else
  3632. {
  3633. DisplayTheCheckedLinks([NFID], 'alive_link');
  3634. }
  3635. }
  3636. else
  3637. {
  3638. DisplayTheCheckedLinks([NFID], 'alive_link');
  3639. }
  3640. return;
  3641. }
  3642. DisplayTheCheckedLinks([NFID], 'unava_link');
  3643. }
  3644. });
  3645. }
  3646. function depositfilesBulkCheck()
  3647. {
  3648. var arr = this.links[0].split("\r\n");
  3649. var i = arr.length;
  3650. var seqno = Math.floor(Math.random()*1000000000);
  3651. while(i--)
  3652. {
  3653. DFpostRequest(arr[i]);
  3654. }
  3655. }
  3656. function DFpostRequest(DFLink)
  3657. {
  3658. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3659. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3660. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3661. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3662. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3663. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3664. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3665. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3666. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3667. GM_xmlhttpRequest(
  3668. {
  3669. method: "GET",
  3670. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3671. headers: {
  3672. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3673. 'Content-Type': 'application/x-www-form-urlencoded',
  3674. 'Referer': ""
  3675. },
  3676. onload: function (result)
  3677. {
  3678. var res = result.responseText;
  3679. if (res.match('(?:no_file|file_ban)'))
  3680. {
  3681. DisplayTheCheckedLinks([id], 'adead_link');
  3682. return;
  3683. }
  3684. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3685. {
  3686. DisplayTheCheckedLinks([id], 'alive_link');
  3687. return;
  3688. }
  3689. DisplayTheCheckedLinks([id], 'unava_link');
  3690. }
  3691. });
  3692. }
  3693.  
  3694. function megaBulkCheck()
  3695. {
  3696. var arr = this.links[0].split("\r\n");
  3697. var i = arr.length;
  3698. var seqno = Math.floor(Math.random()*1000000000);
  3699. while(i--)
  3700. {
  3701. postRequest(arr[i]);
  3702. }
  3703. function postRequest(megaLink)
  3704. {
  3705. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3706. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3707. if (id=='F')
  3708. {
  3709. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3710. DisplayTheCheckedLinks([id], 'unava_link');
  3711. }
  3712. else
  3713. GM_xmlhttpRequest(
  3714. {
  3715. method: "POST",
  3716. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3717. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3718. headers: {
  3719. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3720. 'Content-Type': 'application/xml',
  3721. 'Referer': "https://mega.co.nz/"
  3722. },
  3723. onload: function (result)
  3724. {
  3725. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3726. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3727. {
  3728.  
  3729. DisplayTheCheckedLinks([id], 'adead_link');
  3730. }
  3731. if (res.at)
  3732. {
  3733. DisplayTheCheckedLinks([id], 'alive_link');
  3734. }
  3735. if (res.e == "ETEMPUNAVAIL")
  3736. {
  3737. DisplayTheCheckedLinks([id], 'unava_link');
  3738. }
  3739. }
  3740. });
  3741. }
  3742.  
  3743. }
  3744.  
  3745. function oboomBulk() {
  3746. var a = [], b = [], c = [];
  3747. var array = this.links;
  3748.  
  3749. GM_xmlhttpRequest({
  3750. method: 'GET',
  3751. url: 'https://www.oboom.com/1/guestsession',
  3752. headers: {
  3753. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3754. 'Content-type': 'application/x-www-form-urlencoded',
  3755. 'Referer': 'https://www.oboom.com',
  3756. 'X-Requested-With': 'XMLHttpRequest'
  3757. },
  3758. onload: function(result) {
  3759. var blockIdx = array.length;
  3760. var token = JSON.parse(result.responseText)[1];
  3761. while (blockIdx--) {
  3762. startCheck(array[blockIdx].split('\r\n'), token);
  3763. }
  3764. }
  3765. });
  3766.  
  3767. function startCheck(links, token) {
  3768. GM_xmlhttpRequest({
  3769. method: 'POST',
  3770. url: "https://api.oboom.com/1/info",
  3771. headers: {
  3772. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3773. 'Content-type': 'application/x-www-form-urlencoded',
  3774. 'Referer': 'https://www.oboom.com/',
  3775. 'X-Requested-With': 'XMLHttpRequest'
  3776. },
  3777. data: "token=" + token + "&items=" + links.join(","),
  3778. onload: function(result) {
  3779. var res = JSON.parse(result.responseText)[1];
  3780. var i = res.length, s;
  3781.  
  3782. while (i--) {
  3783. s = res[i].state;
  3784. if (s == 'online') a.push(res[i].id);
  3785. 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);
  3786. else c.push(res[i].id);
  3787. }
  3788.  
  3789. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3790. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3791. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3792. }
  3793. });
  3794. }
  3795. }
  3796. function linkcryptBulkCheck()
  3797. {
  3798. var arr = this.links[0].split("\r\n");
  3799. var i = arr.length;
  3800. while(i--)
  3801. {
  3802. postRequest(arr[i]);
  3803. }
  3804. function postRequest(lcLink)
  3805. {
  3806. GM_xmlhttpRequest(
  3807. {
  3808. method: "GET",
  3809. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3810. headers: {
  3811. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3812. 'Accept': 'text/xml',
  3813. 'Referer': ""
  3814. },
  3815. onload: function (result)
  3816. {
  3817. var res = result.responseText;
  3818. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3819. {
  3820. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3821. return;
  3822. }
  3823. if (res.match(/folderStatus>1/)) //Online status
  3824. {
  3825. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3826. }
  3827. else
  3828. {
  3829. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3830. }
  3831. }
  3832. });
  3833. }
  3834. }
  3835.  
  3836. /* function megashareBulkCheck()
  3837. {
  3838. var arr = this.links[0].split("\r\n");
  3839. var i = arr.length;
  3840. while(i--)
  3841. {
  3842. postRequest(arr[i]);
  3843. }
  3844. function postRequest(msLink)
  3845. {
  3846. GM_xmlhttpRequest(
  3847. {
  3848. method: "GET",
  3849. url: msLink,
  3850. headers: {
  3851. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3852. 'Content-Type': 'application/x-www-form-urlencoded',
  3853. 'Referer': ""
  3854. },
  3855. onload: function (result)
  3856. {
  3857. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3858. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3859. if ((prZVal == null) || (btn3Name == null))
  3860. {
  3861. return;
  3862. }
  3863. GM_xmlhttpRequest(
  3864. {
  3865. method: "POST",
  3866. url: msLink,
  3867. headers: {
  3868. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3869. 'Content-Type': 'application/x-www-form-urlencoded',
  3870. 'Referer': ""
  3871. },
  3872. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3873. onload: function (result)
  3874. {
  3875. var res = result.responseText;
  3876. if (res.match(/<div id="err">/))
  3877. {
  3878. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3879. }
  3880. else
  3881. {
  3882. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3883. }
  3884. }
  3885. });
  3886. }
  3887. });
  3888. }
  3889. } */
  3890. function hellshareBulkCheck()
  3891. {
  3892. var links = this.links;
  3893. GM_xmlhttpRequest(
  3894. {
  3895. method: "GET",
  3896. url: 'http://www.hellshare.com',
  3897. headers: {
  3898. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3899. 'Accept': 'text/xml',
  3900. 'Referer': ""
  3901. },
  3902. onload: function (result)
  3903. {
  3904. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3905.  
  3906. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3907. if (domain == 'sk')
  3908. loc = 'check=Skontrolova%C5%A5&links=';
  3909. if (domain == 'com')
  3910. loc = 'check=Check+availability&links=';
  3911. if (domain == 'hu')
  3912. loc = 'check=Kontrol%C3%A1lj&links=';
  3913. if (domain == 'pl')
  3914. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3915.  
  3916. genBulkCheck.call({ links: links,
  3917. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3918. postData: loc,
  3919. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3920. 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,
  3921. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3922. resUnavaRegex: null
  3923. });
  3924. }
  3925. });
  3926. }
  3927. /**
  3928. * Displays check result
  3929. * @param {Array} Array of links or link fragments.
  3930. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3931. */
  3932. function DisplayTheCheckedLinks(links, resultStatus)
  3933. {
  3934. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3935. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3936. if (Do_not_linkify_DL_links)
  3937. { //TODO into separate jQuery function
  3938. $links.replaceWith(function(){
  3939. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3940. });
  3941. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3942. }
  3943. $links.removeClass().addClass(resultStatus);
  3944. $links.each(function() {
  3945. this.href = Ref_anonymize_service + $(this).attr("href");
  3946. });
  3947. switch(resultStatus)
  3948. {
  3949. case "alive_link": cLinksAlive += $links.length;
  3950. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3951. break;
  3952. case "adead_link": cLinksDead += $links.length;
  3953. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3954. break;
  3955. case "prem_link": cLinksprem += $links.length;
  3956. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3957. break;
  3958. case "unava_link": cLinksUnava += $links.length; break;
  3959. default:
  3960. }
  3961. cLinksProcessed += $links.length;
  3962. }
  3963. }
  3964. // starts bulkchecking
  3965. //
  3966. // params
  3967. // filterId [string] restricts link detection with passed id attribute
  3968. function startBulkCheck(filterId)
  3969. {
  3970. var cHosts = bulkHosts.length;
  3971. if (cHosts == 0) //no filehostings selected
  3972. return;
  3973. // STEP 1 linkify the links
  3974. var linkifyRegex = '';
  3975. var hostIdx = cHosts;
  3976. while(hostIdx--)
  3977. {
  3978. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3979. }
  3980. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3981. linkify(linkifyRegex);
  3982. //
  3983. //STEP 2 detect link objects
  3984. var xpathAll = '';
  3985. var hostIdx = cHosts;
  3986. while(hostIdx--)
  3987. {
  3988. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3989. }
  3990. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3991. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3992. if (filterId != null) //insert id restriction in the xpath
  3993. {
  3994. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3995. }
  3996. else
  3997. {
  3998. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3999. }
  4000. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4001. if (filterId == null)
  4002. {
  4003. cLinksTotal += links.snapshotLength;
  4004. }
  4005. //
  4006. //STEP 3 bind links with hostings
  4007. var linkIdx = links.snapshotLength;
  4008. var href = null;
  4009. if (linkIdx == 0) // no links found
  4010. return;
  4011. var name;
  4012. while (linkIdx--)
  4013. {
  4014. href = links.snapshotItem(linkIdx).href;
  4015. try // DO NOT REMOVE, filters crap that went through xpath detection
  4016. {
  4017. name = gimmeHostName(href);
  4018. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4019. bulkHostNames[name].links.push(href);
  4020. }
  4021. catch(e)
  4022. {
  4023.  
  4024. }
  4025. }
  4026. //
  4027. //STEP 4 process the links for each filehosting
  4028. var hostIdx = cHosts;
  4029. var host;
  4030. var m,n;
  4031. var arr;
  4032. while (hostIdx--)
  4033. {
  4034. host = bulkHosts[hostIdx];
  4035. arr = host.links;
  4036. if (arr.length == 0) //no links for this hosting, skip
  4037. {
  4038. continue;
  4039. }
  4040. //links match corrections
  4041. if (host.corrMatch != null)
  4042. {
  4043. var idx = arr.length;
  4044. while (idx--)
  4045. {
  4046. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4047. }
  4048. }
  4049. //links replace corrections
  4050. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4051. {
  4052. var idx = arr.length;
  4053. while (idx--)
  4054. {
  4055. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4056. }
  4057. }
  4058. m = arr.length;
  4059. n = host.blockSize;
  4060. if (m > n)
  4061. {
  4062. //insert block separators (RAND_STRING) into the array
  4063. for(var i = n; i < m; i += n + 1)
  4064. {
  4065. arr.splice(i, 0, RAND_STRING);
  4066. }
  4067. }
  4068.  
  4069. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4070. apiUrl: host.apiUrl,
  4071. postData: host.postData,
  4072. resLinkRegex: host.resLinkRegex,
  4073. resLiveRegex: host.resLiveRegex,
  4074. resDeadRegex: host.resDeadRegex,
  4075. resUnavaRegex: host.resUnavaRegex
  4076. });
  4077. //clean up
  4078. arr.length = 0;
  4079. }
  4080. //
  4081.  
  4082. function gimmeHostName(link)
  4083. {
  4084. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4085. }
  4086. }
  4087. function checkLinks(filterId)
  4088. {
  4089. startBulkCheck(filterId);
  4090. start(filterId);
  4091. }
  4092.  
  4093. /**
  4094. * Initialises progress box including event binding and CSS
  4095. */
  4096. function initProgressBox()
  4097. {
  4098. if ($("#warlc-progressbox").length > 0)
  4099. return;
  4100. //progressbox css change size and color of progress box
  4101. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4102. "; opacity:" + (Progress_box_opacity / 100) +
  4103. "; bottom:" + Processbox_Pos_Y +
  4104. "%; left:" + Processbox_Pos_X +
  4105. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4106. \
  4107. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4108. \
  4109. .warlc-progressitem {}\
  4110. \
  4111. .alive {color:#00FF7F; " + Live_links_color +
  4112. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4113. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4114. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4115. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4116. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4117. //
  4118. if (Progressbox_Scaling != 100) {
  4119. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4120. 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
  4121. });
  4122. }
  4123. 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
  4124.  
  4125. GM_addStyle(progressboxCss);
  4126. $('body').append(' <div id="warlc-progressbox">\
  4127. <div class="warlc-progressbar"></div>\
  4128. <span class="warlc-progressitem alive"></span> - \
  4129. <span class="warlc-progressitem dead"></span> - \
  4130. <span class="warlc-progressitem unava"></span> - \
  4131. <span class="warlc-progressitem prem"></span> - \
  4132. <span class="warlc-progressitem processing"></span>\
  4133. </div>');
  4134. $('#warlc-progressbox').hide().click(function(){
  4135. clearInterval(intervalId);
  4136. $(this).hide();
  4137. return false;
  4138. });
  4139. $(".warlc-progressbar").progressbar({complete: function(){
  4140. $(this).fadeOut();
  4141. clearInterval(intervalId); //stop refreshing the stats
  4142. }
  4143. })
  4144. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4145. }
  4146. /**
  4147. * Updates progress data in progress box
  4148. */
  4149. function updateProgress()
  4150. {
  4151. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4152. if (cLinksTotal) // some links were detected on page
  4153. {
  4154. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4155. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4156. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4157. if ((cLinksTotal - cLinksProcessed) == 0)
  4158. {
  4159. $progressItems.first().text(cLinksAlive)
  4160. .next().text(cLinksDead)
  4161. .next().text(cLinksUnava)
  4162. .next().text(cLinksprem)
  4163. .next().remove();
  4164. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4165. $('#warlc-progressbox div:first-child').remove();
  4166. }
  4167. else
  4168. {
  4169. $progressItems.first().text(cLinksAlive)
  4170. .next().text(cLinksDead)
  4171. .next().text(cLinksUnava)
  4172. .next().text(cLinksprem)
  4173. .next().text(cLinksTotal - cLinksProcessed);
  4174. }
  4175. }
  4176. }
  4177.  
  4178. function check_all_links()
  4179. {
  4180. add_WARLC_style();
  4181.  
  4182. if (Show_progress_stats)
  4183. {
  4184. initProgressBox();
  4185. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4186. }
  4187.  
  4188. startBulkCheck(null);
  4189. start(null);
  4190.  
  4191. if (!containers_processed)
  4192. {
  4193. processContainers();
  4194. }
  4195. }
  4196.  
  4197. //Copies all found dead links to clipboard - right now for Scriptish only
  4198. function copy_dead_to_clipboard()
  4199. {
  4200. initClipBoardTools();
  4201.  
  4202. var deadlinksxpath = "//.[@class='adead_link']";
  4203.  
  4204. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4205. var foundlinkstext = '';
  4206.  
  4207. var foundlinkIdx = foundlinks.snapshotLength;
  4208.  
  4209. while(foundlinkIdx--)
  4210. {
  4211. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4212. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4213. }
  4214.  
  4215. GM_setClipboard(foundlinkstext);
  4216. }
  4217. //Copies all found live links to clipboard
  4218. function copy_live_to_clipboard()
  4219. {
  4220. initClipBoardTools();
  4221.  
  4222. var livelinksxpath = "//.[@class='alive_link']";
  4223.  
  4224. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4225. var foundlinks2text = '';
  4226.  
  4227. var foundlink2Idx = foundlinks2.snapshotLength;
  4228.  
  4229. while(foundlink2Idx--)
  4230. {
  4231. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4232. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4233. }
  4234.  
  4235. GM_setClipboard(foundlinks2text);
  4236. }
  4237.  
  4238. function toggle_autocheck()
  4239. {
  4240. var currentState = GM_getValue("Autocheck", false);
  4241. GM_setValue("Autocheck", !currentState);
  4242.  
  4243. if (currentState == true)
  4244. {
  4245. sendMessage('Autocheck disabled', 'red');
  4246. }
  4247. else
  4248. {
  4249. sendMessage('Autocheck enabled', 'SpringGreen');
  4250. }
  4251. }
  4252. function toggle_Enable_Anonymizer()
  4253. {
  4254. var currentState = GM_getValue("Enable_Anonymizer", false);
  4255. GM_setValue("Enable_Anonymizer", !currentState);
  4256.  
  4257. if (currentState == true)
  4258. {
  4259. GM_setValue("Ref_anonymize_service", "");
  4260. sendMessage('Anonymizer Disabled', 'red');
  4261. }
  4262. else
  4263. {
  4264. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4265. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4266. }
  4267. }
  4268.  
  4269. function KeyDownHandler(event)
  4270. {
  4271. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4272. if (event.ctrlKey && event.altKey)
  4273. {
  4274. switch(kcode)
  4275. {
  4276. case 65 : check_all_links(); break;
  4277. case 67 : configuration(); break;
  4278. case 68 : copy_dead_to_clipboard(); break;
  4279. case 76 : copy_live_to_clipboard(); break;
  4280. case 87 : toggle_autocheck(); break;
  4281. case 90 : toggle_Enable_Anonymizer(); break;
  4282. }
  4283. }
  4284. }
  4285.  
  4286. //
  4287. //
  4288. // SCRIPT EXECUTION START POINT
  4289. //
  4290. //
  4291. // Safari specific GM_getResourceText override
  4292. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4293. {
  4294. GM_getResourceText = function(res) {
  4295. var $cssText = GM_getValue("jquery_css", "");
  4296. if ($cssText == "")
  4297. {
  4298. GM_xmlhttpRequest(
  4299. {
  4300. method: 'GET',
  4301. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4302. onload: function (result)
  4303. {
  4304. GM_setValue("jquery_css", result.responseText);
  4305. window.location.reload();
  4306. }
  4307. });
  4308. }
  4309. else
  4310. {
  4311. return $cssText;
  4312. }
  4313. }
  4314. }
  4315. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4316. GM_addStyle(jQueryUICSS);
  4317. //init the stuff
  4318. setVariables();
  4319. initBulkCheck();
  4320. //init info boxes
  4321. messageBox.style.position = 'fixed';
  4322. messageBox.style.top = '20px';
  4323. messageBox.style.left = '10px';
  4324. messageBox.style.opacity = '0.85';
  4325. messageBox.style.background = 'DimGray';
  4326. messageBox.style.fontSize = '36px';
  4327. document.body.appendChild(messageBox);
  4328.  
  4329. //register GM menu commands & keyboard shortcut event handler
  4330. if (Keyboard_functions)
  4331. {
  4332. $(document).keydown(KeyDownHandler);
  4333. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4334. 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);
  4335. }
  4336. else
  4337. {
  4338. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4339. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4340. }
  4341.  
  4342. //start linkchecking
  4343. if (Autocheck)
  4344. {
  4345. $(document).ready(check_all_links);
  4346. }
  4347.  
  4348. //
  4349. //
  4350. // SCRIPT EXECUTION END POINT
  4351. //
  4352. //
  4353.  
  4354. //shows configuration box
  4355. function configuration()
  4356. {
  4357.  
  4358. //prevent multiple creating of config window
  4359. if ($("#hideshow").length)
  4360. {
  4361. $("#hideshow").show();
  4362. return;
  4363. }
  4364.  
  4365. var configcss = '\
  4366. .popup_block .popup fieldset{\
  4367. padding: 1%;\
  4368. border-style: solid;\
  4369. border-width: 1px;\
  4370. border-color: gray;\
  4371. margin-bottom: 1px;\
  4372. }\
  4373. #h3hideshowtitle{\
  4374. font-size: 2em;\
  4375. }\
  4376. #h3hideshow{\
  4377. font-size: 1.5em;\
  4378. }\
  4379. #imghideshow {\
  4380. border: none;\
  4381. }\
  4382. #plusimage{\
  4383. display:inline;\
  4384. }\
  4385. #hideshow {\
  4386. position: fixed;\
  4387. width: 100%;\
  4388. height: 100%;\
  4389. top: 0;\
  4390. left: 0;\
  4391. font-size:12px;\
  4392. z-index:2147483645;\
  4393. text-align:left;\
  4394. }\
  4395. #fade {\
  4396. background: #000;\
  4397. position: fixed;\
  4398. width: 100%;\
  4399. height: 100%;\
  4400. opacity: .80;\
  4401. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4402. left: 0;\
  4403. z-index: 10;\
  4404. }\
  4405. .popup_block {\
  4406. font-family:verdana;\
  4407. color:black;\
  4408. background: #ddd;\
  4409. padding: 10px 20px;\
  4410. border: 2px solid DarkOrange;\
  4411. float: left;\
  4412. width: 700px;\
  4413. position: absolute;\
  4414. top: 7%;\
  4415. left: 50%;\
  4416. bottom: 7%;\
  4417. margin: 0 0 0 -350px;\
  4418. -moz-border-radius:10px;\
  4419. z-index: 100;\
  4420. \
  4421. }\
  4422. .popup_block .popup {\
  4423. float: left;\
  4424. width: 100%;\
  4425. background: #fff;\
  4426. margin: 10px 0;\
  4427. padding: 0px 0 0px;\
  4428. border-left: 1px solid #bbb;\
  4429. border-top: 1px solid #bbb;\
  4430. border-right: 1px solid #bbb;\
  4431. }\
  4432. #h3hideshow{\
  4433. margin: 1px 0 0px;\
  4434. padding: 1px 10px;\
  4435. border-bottom: 1px solid #bbb;\
  4436. font-size: 1.5em;\
  4437. font-weight: normal;\
  4438. cursor:pointer;\
  4439. background:#DDDDDD none repeat scroll 0 0;\
  4440. }\
  4441. #h3hideshow:hover{\
  4442. background:#C0BEBE none repeat scroll 0 0;\
  4443. }\
  4444. #h3hideshowtitle{\
  4445. margin: 2px 0 0px;\
  4446. padding: 7px 10px;\
  4447. border-bottom: 1px solid #bbb;\
  4448. font-size: 1.5em;\
  4449. font-weight: normal;\
  4450. }\
  4451. .popup_block .popup a {\
  4452. color:DarkSkyBlue;\
  4453. text-decoration:none;\
  4454. }\
  4455. .popup p {\
  4456. padding: 1px 10px;\
  4457. margin: 0px 0;\
  4458. -x-system-font:none;\
  4459. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4460. font-size:10pt;\
  4461. font-size-adjust:none;\
  4462. font-stretch:normal;\
  4463. font-style:normal;\
  4464. font-variant:normal;\
  4465. font-weight:normal;\
  4466. line-height:normal;\
  4467. }\
  4468. #sites {\
  4469. padding: 1px 10px;\
  4470. margin: 0px 0;display:inline-block;width:16em;\
  4471. }\
  4472. #dev_ver {\
  4473. color: #00FF00;\
  4474. background: Black;\
  4475. text-align: right;\
  4476. }\
  4477. #sites_suspended {\
  4478. padding: 1px 10px;\
  4479. margin: 0px 0;display:inline-block;width:16em;\
  4480. text-decoration: line-through;\
  4481. }\
  4482. .popup img.cntrl {\
  4483. position: absolute;\
  4484. right: -15px;\
  4485. top: -15px;\
  4486. }\
  4487. #bulk {\
  4488. font-size:8pt;\
  4489. color:orange;\
  4490. padding: 1px 10px;\
  4491. margin: 0px 0;\
  4492. display:inline-block;\
  4493. width:100px;\
  4494. }\
  4495. #note {\
  4496. font-size:7pt;\
  4497. color:gray;\
  4498. padding: 1px 10px;\
  4499. margin: 0px 0;display:inline-block;\
  4500. min-width:100px;\
  4501. }\
  4502. #rednote {\
  4503. font-size:7pt;\
  4504. color:red;\
  4505. padding: 1px 10px;\
  4506. margin: 0px 0;display:inline-block;\
  4507. }\
  4508. #configinfo {\
  4509. font-size:8pt;\
  4510. color:gray;\
  4511. padding: 1px 10px;\
  4512. margin: 0px 0;display:inline-block;width:60em;\
  4513. }\
  4514. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4515. color:black;\
  4516. border-style: solid;\
  4517. border-width: 1px;\
  4518. border-color: gray;\
  4519. }\
  4520. #h3hideshowcontent {\
  4521. min-height:220px;\
  4522. max-height:220px;\
  4523. overflow:auto;\
  4524. display: none;\
  4525. padding: 10px 10px;\
  4526. }\
  4527. #specinfo{\
  4528. font-size:14px;\
  4529. }\
  4530. .warlc-ui-tab {\
  4531. height:300px;\
  4532. overflow:auto;\
  4533. }\
  4534. #warlcsitelist2, #warlcsitelist1 {\
  4535. height:220px;\
  4536. border-top: 1px solid #ddd;\
  4537. padding-top: 5px;\
  4538. overflow:auto;\
  4539. }\
  4540. input:hover+label {\
  4541. background:#F1F77C;\
  4542. font-size:110%;\
  4543. }\
  4544. ';
  4545.  
  4546. GM_addStyle(configcss);
  4547.  
  4548. var customRulesRefHTML =
  4549. '\
  4550. <br>\
  4551. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4552. <b>@keyword</b> <i>parameter</i>\
  4553. <br><br>\
  4554. 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. \
  4555. <br><br>\
  4556. 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.\
  4557. 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.\
  4558. 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.\
  4559. 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,\
  4560. but all commands until the next valid @customrule are ignored.<br><br>\
  4561. Available forms and types:\
  4562. <ul>\
  4563. <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.\
  4564. <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.\
  4565. <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.\
  4566. <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.\
  4567. </ul>\
  4568. Other available commands:<br>\
  4569. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4570. <ul>\
  4571. <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.\
  4572. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4573. <ul>examples:<br>\
  4574. <li>good: <i>filehost.com/download/</i><br>\
  4575. <li>good: <i>download.filehost.net/?d=</i><br>\
  4576. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4577. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4578. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4579. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4580. <li>bad: <i>filehost.com</i> - no slash<br>\
  4581. </ul>\
  4582. \
  4583. <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.\
  4584. 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 \
  4585. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4586. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4587. 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.)\
  4588. Two spaces again match any whitespace.\
  4589. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4590. Two spaces again match any whitespace.\
  4591. <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. \
  4592. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4593. </ul>\
  4594. \
  4595. ';
  4596.  
  4597. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4598. var configurationinnerHTML =
  4599. '<div id="fade"></div>\
  4600. <div class="popup_block">\
  4601. <div class="popup">\
  4602. <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/lrQeWBGFmykGe/dcjpwsL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UBZPIY/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>\
  4604. <div id="warlc-conf-tabs">\
  4605. <ul>\
  4606. <li><a href="#tabs-1">Filehostings</a></li>\
  4607. <li><a href="#tabs-2">Containers</a></li>\
  4608. <li><a href="#tabs-5">Custom rules</a></li>\
  4609. <li><a href="#tabs-3">Settings</a></li>\
  4610. <li><a href="#tabs-4">About</a></li>\
  4611. </ul>\
  4612. <div id="tabs-1" class="warlc-ui-tab">\
  4613. <div class="warlc-ui-buttonset">\
  4614. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4615. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4616. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4617. </div><br>\
  4618. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4619. <div id="warlcsitelist1"><span>Empty</span></div>\
  4620. </div>\
  4621. <div id="tabs-2" class="warlc-ui-tab">\
  4622. <div class="warlc-ui-buttonset">\
  4623. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4624. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4625. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4626. </div><br>\
  4627. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4628. <div id="warlcsitelist2"><span>Empty</span></div>\
  4629. </div>\
  4630. <div id="tabs-5" class="warlc-ui-tab">\
  4631. <div class="warlcsettings">\
  4632. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4633. <br>\
  4634. <div>Edit custom rules: \
  4635. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4636. <div id="customRulesReference" style="display:none;">'
  4637. + customRulesRefHTML + '\
  4638. </div>\
  4639. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4640. </div>\
  4641. </div>\
  4642. </div>\
  4643. <div id="tabs-3" class="warlc-ui-tab">\
  4644. <div class="warlcsettings">\
  4645. <fieldset>\
  4646. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4647. <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>\
  4648. </fieldset>\
  4649. <fieldset>\
  4650. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4651. <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>\
  4652. <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>\
  4653. <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>\
  4654. <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>\
  4655. <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>\
  4656. <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>\
  4657. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4658. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4659. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4660. <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>\
  4661. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4662. <fieldset>\
  4663. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4664. <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>\
  4665. <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>\
  4666. <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>\
  4667. </fieldset>\
  4668. </fieldset>\
  4669. <fieldset>\
  4670. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4671. </fieldset>\
  4672. <fieldset>\
  4673. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4674. </fieldset>\
  4675. <fieldset>\
  4676. <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>\
  4677. </fieldset>\
  4678. <fieldset>\
  4679. <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>\
  4680. </fieldset>\
  4681. <fieldset>\
  4682. <legend>Progress box settings</legend>\
  4683. <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>\
  4684. <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>\
  4685. <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>\
  4686. </fieldset>\
  4687. </div>\
  4688. </div>\
  4689. <div id="tabs-4" class="warlc-ui-tab">\
  4690. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4691. <br />\
  4692. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4693. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4694. <br />\
  4695. <p><b>Currently supported:</b><br>\
  4696. Filehostings: ' + allHostNames.length + '<br />\
  4697. Containers: ' + allContainerNames.length + '<br />\
  4698. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4699. <br />\
  4700. <p><b>Based on:</b><br>\
  4701. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4702. <br />\
  4703. <p><b>Uses:</b></p>\
  4704. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4705. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4706. <br />\
  4707. <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>\
  4708. </div>\
  4709. </div>\
  4710. </div>\
  4711. </div>';
  4712. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4713. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4714. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4715. var elmHostList = document.getElementById("warlcsitelist1");
  4716. var elmContainerList = document.getElementById("warlcsitelist2");
  4717. buildSettings();
  4718. buildSitelist("", allHostNames, elmHostList);
  4719. buildSitelist("", allContainerNames, elmContainerList);
  4720. if (DEBUG_MODE)
  4721. {
  4722. //log all sites availability status
  4723. diagSites();
  4724. }
  4725. //handler for checkbox state change
  4726. function changeConfiguration(e)
  4727. {
  4728. var element = e.target;
  4729.  
  4730. if (element.type == 'checkbox')
  4731. {
  4732. if (element.checked == 1)
  4733. {
  4734. GM_setValue(element.id, true);
  4735. }
  4736. else
  4737. {
  4738. GM_setValue(element.id, false);
  4739. }
  4740.  
  4741. }
  4742. setVariables();
  4743. }
  4744.  
  4745. //Selects all filehosting checkboxes
  4746. function selectAll()
  4747. {
  4748. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4749. .each(function(index, element){GM_setValue(this.id, true)});
  4750. }
  4751.  
  4752. //Deselects all filehosting checkboxes
  4753. function selectNone()
  4754. {
  4755. $(":checkbox:visible:checked").prop("checked",false)
  4756. .each(function(index, element){GM_setValue(this.id, false)});
  4757. }
  4758. //Sets Processbox position setting
  4759. function changeProgBox(event) {
  4760. var setting;
  4761. switch(event.data.set) {
  4762. case "X": setting = "Processbox_Pos_X"; break;
  4763. case "Y": setting = "Processbox_Pos_Y"; break;
  4764. case "Scale": setting = "Progressbox_Scaling"; break;
  4765. }
  4766. var $setting = $("#" + setting);
  4767. var newSet = $setting.val().replace("%", "");
  4768. GM_setValue(setting, newSet);
  4769. }
  4770. //Sets value of Processbox position
  4771. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4772. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4773. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4774.  
  4775. //Inverts filehosting checkboxes selection
  4776. function selectInvert()
  4777. {
  4778. var $checked = $(":checkbox:visible:checked");
  4779. var $unchecked = $(":checkbox:visible:not(:checked)");
  4780. $unchecked.prop("checked",true)
  4781. .each(function(index, element){GM_setValue(this.id, true)});
  4782. $checked.prop("checked",false)
  4783. .each(function(index, element){GM_setValue(this.id, false)});
  4784. }
  4785. //toggles anonymizer on off
  4786. function Enable_Anonymizer()
  4787. {
  4788. var $checked = $(":checkbox:visible:checked");
  4789. var $unchecked = $(":checkbox:visible:not(:checked)");
  4790. $unchecked.prop("checked",true)
  4791. .each(function(index, element){GM_setValue(this.id, true)});
  4792. $checked.prop("checked",false)
  4793. .each(function(index, element){GM_setValue(this.id, false)});
  4794. }
  4795.  
  4796. function changeRefAnonymizer(){
  4797. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4798. }
  4799.  
  4800. //Sets live links color
  4801. function changeColorLive()
  4802. {
  4803. var inColorLive = document.getElementById("inputColorLive");
  4804. inColorLive.style.background = inColorLive.value;
  4805. GM_setValue("Live_links_color", inColorLive.value);
  4806. }
  4807.  
  4808. //Sets dead links color
  4809. function changeColorDead()
  4810. {
  4811. var inColorDead = document.getElementById("inputColorDead");
  4812. inColorDead.style.background = inColorDead.value;
  4813. GM_setValue("Dead_links_color", inColorDead.value);
  4814. }
  4815.  
  4816. //Sets temp. unavailable links color
  4817. function changeColorTemp()
  4818. {
  4819. var inColorTemp = document.getElementById("inputColorTemp");
  4820. inColorTemp.style.background = inColorTemp.value;
  4821. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4822. }
  4823.  
  4824. //Sets temp. unavailable links color
  4825. function changeColorCont()
  4826. {
  4827. var inColorCont = document.getElementById("inputColorCont");
  4828. inColorCont.style.background = inColorCont.value;
  4829. GM_setValue("Container_links_color", inColorCont.value);
  4830. }
  4831. //Sets premium. links color
  4832. function changeColorprem()
  4833. {
  4834. var inColorprem = document.getElementById("inputColorprem");
  4835. inColorprem.style.background = inColorprem.value;
  4836. GM_setValue("Premium_links_color", inColorprem.value);
  4837. }
  4838.  
  4839. //Diagnose sites for availability
  4840. function diagSites()
  4841. {
  4842. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4843.  
  4844. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4845. {
  4846. if (boxes[i].type == "checkbox")
  4847. {
  4848. checkAvailability(boxes[i]);
  4849. }
  4850. }
  4851.  
  4852. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4853.  
  4854. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4855. {
  4856. if (boxes[i].type == "checkbox")
  4857. {
  4858. checkAvailability(boxes[i]);
  4859. }
  4860. }
  4861.  
  4862. function checkAvailability(cbElm)
  4863. {
  4864. var cb = cbElm;
  4865. GM_xmlhttpRequest(
  4866. {
  4867. method: 'HEAD',
  4868. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4869. headers: {
  4870. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4871. 'Accept': 'text/xml',
  4872. 'Referer': ""
  4873. },
  4874. onload: function (result)
  4875. {
  4876. if (result.status != 200)
  4877. {
  4878. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4879. }
  4880. },
  4881. onerror: function (result)
  4882. {
  4883. if (result.status != 200)
  4884. {
  4885. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4886. //Sets Progress_box position setting
  4887. function changeProgBox(event) {
  4888. var setting;
  4889. switch(event.data.set) {
  4890. case "X": setting = "Progress_box_Pos_X"; break;
  4891. case "Y": setting = "Progress_box_Pos_Y"; break;
  4892. case "Scale": setting = "Progress_box_Scaling"; break;
  4893. }
  4894.  
  4895. var $setting = $("#" + setting);
  4896. var newSet = $setting.val().replace("%", "");
  4897. lsSetVal("general", setting, newSet);
  4898. }
  4899.  
  4900. //Sets value of Progress_box position
  4901. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4902. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4903. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4904. }
  4905. }
  4906. });
  4907. }
  4908. }
  4909. function buildSettings()
  4910. {
  4911. $(".warlcsettings :checkbox").each(function(){
  4912. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4913. .click(function(e){
  4914. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4915. setVariables();
  4916. });
  4917. })
  4918. }
  4919. //Dynamic build of host list
  4920. //param search [string] searches for hostnames matching search substring
  4921. //param siteNames [array] array of site names
  4922. //param targetNode [DOM Node] where the list should be built
  4923. // first child node is replaced
  4924. function buildSitelist(search, siteNames, targetNode)
  4925. {
  4926. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4927. var $targetNode = $(targetNode).empty();
  4928. var searchedSite = "";
  4929. $.each(siteNames, function(i, site){
  4930. if (searchedSite = site.match(searchRegex))
  4931. {
  4932. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4933. //ensuring backward compatibility with the rest of code, to be refactored later
  4934. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4935. //
  4936. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4937. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4938. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4939. );
  4940. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4941. .change(changeConfiguration);
  4942. $targetNode.append('<br />');
  4943. }
  4944. });
  4945. $targetNode.append("<hr>");
  4946. //obsolete hosts checkbox
  4947. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4948. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4949. .change(changeConfiguration);
  4950. $targetNode.append('<br />');
  4951. var foundName = "";
  4952. $.each(allObsoleteNames, function(i, site){
  4953. if (foundName = allObsoleteNames[i].match(searchRegex))
  4954. {
  4955. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4956. }
  4957. })
  4958. }
  4959. var hostSearchBox = document.getElementById("hostSearchBox");
  4960. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4961. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4962. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4963. $(".warlc-ui-select-all").click(selectAll).button();
  4964. $(".warlc-ui-select-none").click(selectNone).button();
  4965. $(".warlc-ui-select-invert").click(selectInvert).button();
  4966. $(".warlc-ui-buttonset").buttonset();
  4967. var inColorLive = document.getElementById("inputColorLive");
  4968. inColorLive.addEventListener('keyup', changeColorLive, false);
  4969.  
  4970. var inColorDead = document.getElementById("inputColorDead");
  4971. inColorDead.addEventListener('keyup', changeColorDead, false);
  4972.  
  4973. var inColorTemp = document.getElementById("inputColorTemp");
  4974. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4975.  
  4976. var inColorCont = document.getElementById("inputColorCont");
  4977. inColorCont.addEventListener('keyup', changeColorCont, false);
  4978. var inColorprem = document.getElementById("inputColorprem");
  4979. inColorprem.addEventListener('keyup', changeColorprem, false);
  4980. $("#refAnonymizer").change(changeRefAnonymizer);
  4981. //buttons and edit boxes init end
  4982.  
  4983. //icon sets radio buttons
  4984. var radioButtons = document.getElementsByName("warlciconset");
  4985. radioButtons[Icon_set].checked = "checked";
  4986.  
  4987. radioButtons[0].addEventListener("change", updateIconSet);
  4988. radioButtons[1].addEventListener("change", updateIconSet);
  4989. radioButtons[2].addEventListener("change", updateIconSet);
  4990. radioButtons[3].addEventListener("change", updateIconSet);
  4991. function updateIconSet()
  4992. {
  4993. GM_setValue("Icon_set", this.value * 1);
  4994. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  4995. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  4996. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  4997. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  4998. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  4999.  
  5000. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5001. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5002.  
  5003. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5004. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5005. }
  5006. //
  5007. $('#showCustomRulesReference').click(function(e){
  5008. e.preventDefault();
  5009. $('#customRulesReference').toggle();
  5010. });
  5011. $('#Custom_rules_text')
  5012. .val(Custom_rules_text)
  5013. .change(saveCustomRules);
  5014. function saveCustomRules(e)
  5015. {
  5016. var cr = parseCustomRules(this.value);
  5017. if (cr.info.length)
  5018. 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, ' '));
  5019. GM_setValue('Custom_rules_text', this.value);
  5020. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5021. }
  5022. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5023. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5024. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5025. }
  5026.  
  5027. //begin standard link checking algorithm
  5028. function start(filterId)
  5029. {
  5030. var doNotLinkify = Do_not_linkify_DL_links;
  5031.  
  5032. // USER SELECTED FILE HOSTS INITIALIZATION START
  5033. var http_file_hosts = new Array(); //standard hostings
  5034. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5035. var http_file_hosts_obsolete = new Array(); //dead hostings
  5036. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5037.  
  5038. initFileHosts();
  5039. initFileHostsHeadersOnly();
  5040. initFileHostsCustom(); //CustomRules
  5041. // USER SELECTED FILE HOSTS INITIALIZATION END
  5042.  
  5043. // LINKIFICATION START
  5044. var totalxpath = '';
  5045. var totalxpathcoded = '';
  5046. var totalxpathobsolete = '';
  5047. var totalxpathheadersonly = '';
  5048. var totalourls = '';
  5049.  
  5050. var filehostLen = http_file_hosts.length;
  5051. var filehostCodedLen = http_file_hosts_coded.length;
  5052. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5053. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5054.  
  5055. var filehostIdx = filehostLen;
  5056. var filehostCodedIdx = filehostCodedLen;
  5057. var filehostObsoleteIdx = filehostObsoleteLen;
  5058. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5059.  
  5060. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5061. return;
  5062.  
  5063. while (filehostIdx--)
  5064. {
  5065. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5066. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5067. }
  5068.  
  5069. while (filehostCodedIdx--)
  5070. {
  5071. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5072. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5073. }
  5074.  
  5075. while (filehostObsoleteIdx--)
  5076. {
  5077. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5078. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5079. }
  5080.  
  5081. while (filehostHeadersOnlyIdx--)
  5082. {
  5083. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5084. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5085. }
  5086.  
  5087. totalourls = totalourls.replace(/\|$/g, "");
  5088. //TODO: further refactoring needed
  5089. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5090. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5091. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5092. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5093. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5094. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5095. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5096. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5097. if (filterId != null) //insert id restriction in the xpath
  5098. {
  5099. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5100. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5101. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5102. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5103. }
  5104. else
  5105. {
  5106. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5107. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5108. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5109. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5110. }
  5111. linkify(totalourls);
  5112. //LINKIFICATION END
  5113. //ENCRYPTED LINKS PROCESSING START
  5114. if (http_file_hosts_coded.length > 0)
  5115. {
  5116. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5117.  
  5118. // decrypt coded links (redirects, link protectors etc.)
  5119. if (linksCoded.snapshotLength > 0)
  5120. {
  5121. var link;
  5122. var reallinkreg;
  5123. var reallinkcorrection;
  5124.  
  5125. if (filterId == null)
  5126. {
  5127. cLinksTotal += linksCoded.snapshotLength;
  5128. }
  5129.  
  5130. var y = linksCoded.snapshotLength - 1;
  5131. do
  5132. {
  5133. // linksCoded.snapshotItem(y).id = 'processing_link';
  5134. link = linksCoded.snapshotItem(y);
  5135. filehostIdx = filehostCodedLen;
  5136. while (filehostIdx--)
  5137. {
  5138. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5139. {
  5140. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5141. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5142. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5143.  
  5144. decurl(link, reallinkreg, reallinkcorrection);
  5145. break;
  5146. }
  5147. }
  5148. }
  5149. while (y--);
  5150. }
  5151. }
  5152. //ENCRYPTED LINKS PROCESSING END
  5153.  
  5154. //STANDARD LINKCHECKING START
  5155. if (http_file_hosts.length > 0)
  5156. {
  5157. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5158.  
  5159. if (filterId == null)
  5160. {
  5161. cLinksTotal += lianks.snapshotLength;
  5162. }
  5163.  
  5164. if (lianks.snapshotLength > 0)
  5165. {
  5166. var link;
  5167.  
  5168. var URL = "";
  5169. var name = "";
  5170. var isAliveRegex = "";
  5171. var isDeadRegex = "";
  5172. var isUnavaRegex = "";
  5173. var ispremRegex = "";
  5174. var tryLoop = false;
  5175.  
  5176. var y = lianks.snapshotLength;
  5177.  
  5178. while (y--)
  5179. {
  5180. link = lianks.snapshotItem(y);
  5181.  
  5182. filehostIdx = filehostLen;
  5183. while (filehostIdx--)
  5184. {
  5185. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5186. {
  5187. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5188. isAliveRegex = http_file_hosts[filehostIdx][1];
  5189. isDeadRegex = http_file_hosts[filehostIdx][2];
  5190. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5191. ispremRegex = http_file_hosts[filehostIdx][6];
  5192. tryLoop = http_file_hosts[filehostIdx][5];
  5193.  
  5194. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5195.  
  5196. break;
  5197. }
  5198. }
  5199. }
  5200. }
  5201. }
  5202. //STANDARD LINKCHECKING END
  5203. //OBSOLETE FILE HOSTS PROCESSING START
  5204. if (filehostObsoleteLen > 0)
  5205. {
  5206. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5207.  
  5208. var obsoleteLink;
  5209.  
  5210. //check links
  5211. if (obsoletelinks.snapshotLength > 0)
  5212. {
  5213. var y = obsoletelinks.snapshotLength;
  5214.  
  5215. if (filterId == null)
  5216. {
  5217. cLinksTotal += y;
  5218. }
  5219.  
  5220. while (y--)
  5221. {
  5222. obsoleteLink = obsoletelinks.snapshotItem(y);
  5223.  
  5224. if (Display_tooltip_info)
  5225. {
  5226. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5227. }
  5228. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5229. }
  5230. }
  5231. }
  5232. //OBSOLETE FILE HOSTS PROCESSING END
  5233.  
  5234. //DIRECT LINKCHECKING START
  5235. if (http_file_hosts_headers_only.length > 0)
  5236. {
  5237. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5238.  
  5239. //check links
  5240. if (links.snapshotLength > 0)
  5241. {
  5242. var link;
  5243. var isAliveRegex;
  5244. var isDeadRegex;
  5245. var ispremRegex;
  5246.  
  5247. var y = links.snapshotLength;
  5248.  
  5249.  
  5250. if (filterId == null)
  5251. {
  5252. cLinksTotal += y;
  5253. }
  5254.  
  5255. while (y--)
  5256. {
  5257. // links.snapshotItem(y).id = 'processing_link';
  5258. link = links.snapshotItem(y);
  5259. filehostIdx = filehostHeadersOnlyLen;
  5260. while (filehostIdx--)
  5261. {
  5262. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5263. {
  5264. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5265. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5266. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5267. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5268.  
  5269. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5270.  
  5271. break;
  5272. }
  5273. }
  5274. }
  5275.  
  5276. }
  5277. }
  5278. //DIRECT LINKCHECKING END
  5279.  
  5280.  
  5281. //finds the real url on the page, replaces link.href with it and calls geturl
  5282. function decurl(link, reallinkreg, reallinkcorrection)
  5283. {
  5284.  
  5285. GM_xmlhttpRequest(
  5286. {
  5287. method: 'GET',
  5288. url: link.href,
  5289. headers: {
  5290. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5291. 'Accept': 'text/xml',
  5292. 'Referer': ""
  5293. },
  5294. onload: function (result)
  5295. {
  5296. // cLinksProcessed++;
  5297.  
  5298. var reallink = result.responseText.match(reallinkreg)[0];
  5299. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5300.  
  5301. link.href = reallink;
  5302.  
  5303. var i = http_file_hosts.length - 1;
  5304. do
  5305. {
  5306. if ((reallink.match(http_file_hosts[i][0])))
  5307. {
  5308. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5309. var isAliveRegex = http_file_hosts[i][1];
  5310. var isDeadRegex = http_file_hosts[i][2];
  5311. var isUnavaRegex = http_file_hosts[i][3];
  5312. var ispremRegex = http_file_hosts[i][4];
  5313.  
  5314. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5315.  
  5316. break;
  5317. }
  5318. }
  5319. while (i--);
  5320. }
  5321. });
  5322. }
  5323.  
  5324. function randUA()
  5325. {
  5326. //TODO
  5327. }
  5328. //Processes link
  5329. //
  5330. // [string] link link URL
  5331. // [string] isAliveRegex alive link regex
  5332. // [string] isDeadRegex dead link regex
  5333. // [string] isUnavaRegex unavailable link regex
  5334. // [string] ispremRegex premium link regex
  5335. // [boolean] tryLoop repeats request until succeeded
  5336. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5337. {
  5338. GM_xmlhttpRequest(
  5339. {
  5340. method: 'GET',
  5341. url: link.href,
  5342. headers: {
  5343. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5344. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5345. 'Referer': ""
  5346. },
  5347. onload: function (result)
  5348. {
  5349. var res = result.responseText;
  5350. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5351. {
  5352. displayTheCheckedLink(link, 'alive_link');
  5353. return;
  5354. }
  5355.  
  5356. if (res.match(isAliveRegex))
  5357. {
  5358. displayTheCheckedLink(link, 'alive_link');
  5359. return;
  5360. }
  5361.  
  5362. if (res.match(isDeadRegex))
  5363. {
  5364. displayTheCheckedLink(link, 'adead_link');
  5365. return;
  5366. }
  5367.  
  5368. if (isUnavaRegex && res.match(isUnavaRegex))
  5369. {
  5370. displayTheCheckedLink(link, 'unava_link');
  5371. return;
  5372. }
  5373. if (res.match(ispremRegex))
  5374. {
  5375. displayTheCheckedLink(link, 'prem_link');
  5376. return;
  5377. }
  5378.  
  5379. var resStatus = result.status;
  5380.  
  5381. if (resStatus == 404)
  5382. {
  5383. displayTheCheckedLink(link, 'adead_link');
  5384. }
  5385. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5386. {
  5387. if (tryLoop)
  5388. {
  5389. //wait 1-5 seconds and repeat the request
  5390. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5391. }
  5392. else
  5393. {
  5394. displayTheCheckedLink(link, 'unava_link');
  5395. }
  5396.  
  5397. return;
  5398. }
  5399. },
  5400. onerror: function ()
  5401. {
  5402. displayTheCheckedLink(link, 'unava_link');
  5403. }
  5404. });
  5405. }
  5406.  
  5407. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5408. {
  5409. GM_xmlhttpRequest(
  5410. {
  5411. method: 'HEAD',
  5412. url: link.href,
  5413. headers: {
  5414. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5415. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5416. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5417. 'Referer': ""
  5418. },
  5419. onload: function (result)
  5420. {
  5421. var resStatus = result.status;
  5422. var resHeaders = "";
  5423. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5424. {
  5425. displayTheCheckedLink(link, 'adead_link');
  5426. return;
  5427. }
  5428.  
  5429. resHeaders = result.responseHeaders;
  5430.  
  5431. if (resHeaders.match(isDeadRegex))
  5432. {
  5433. displayTheCheckedLink(link, 'adead_link');
  5434. return;
  5435. }
  5436.  
  5437. if (resHeaders.match(isAliveRegex))
  5438. {
  5439. displayTheCheckedLink(link, 'alive_link');
  5440. return;
  5441. }
  5442. if (resHeaders.match(ispremRegex))
  5443. {
  5444. displayTheCheckedLink(link, 'prem_link');
  5445. return;
  5446. }
  5447. },
  5448. onerror: function ()
  5449. {
  5450. displayTheCheckedLink(link, 'unava_link');
  5451. }
  5452. });
  5453. }
  5454.  
  5455. //Delinkfifies the <a> element object
  5456. function delinkifyLink(link)
  5457. {
  5458. var spanElm = document.createElement("span");
  5459. spanElm.className = link.className;
  5460. spanElm.innerHTML = link.innerHTML;
  5461.  
  5462. if (Display_tooltip_info)
  5463. {
  5464. spanElm.href = link.href;
  5465. spanElm.warlc_error = link.warlc_error;
  5466. switch (link.className){
  5467. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5468. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5469. case "unava_link": //reserved
  5470. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5471. default:
  5472. }
  5473. }
  5474. link.parentNode.replaceChild(spanElm, link);
  5475. }
  5476.  
  5477. //Assigns result status to the <a> element object and calls delinkifying eventually
  5478. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5479. function displayTheCheckedLink(link, resultStatus)
  5480. {
  5481. link.className = resultStatus;
  5482. link.href = Ref_anonymize_service + link.href;
  5483. if (Display_tooltip_info)
  5484. {
  5485. switch (resultStatus){
  5486. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5487. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5488. case "unava_link": //reserved
  5489. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5490. default:
  5491. }
  5492. }
  5493. if (doNotLinkify)
  5494. {
  5495. delinkifyLink(link);
  5496. }
  5497. cLinksProcessed++;
  5498.  
  5499. if (resultStatus == "alive_link")
  5500. {
  5501. cLinksAlive++;
  5502. return;
  5503. }
  5504.  
  5505. if (resultStatus == "adead_link")
  5506. {
  5507. cLinksDead++;
  5508. return;
  5509. }
  5510.  
  5511. if (resultStatus == "unava_link")
  5512. {
  5513. cLinksUnava++;
  5514. }
  5515. if (resultStatus == "prem_link")
  5516. {
  5517. cLinksprem++;
  5518. return;
  5519. }
  5520. }
  5521.  
  5522.  
  5523. function initFileHosts()
  5524. {
  5525.  
  5526. function addObsoleteHost(linkRegex, xpathEx)
  5527. {
  5528. var host = new Array(2);
  5529. host[0] = linkRegex;
  5530. host[1] = xpathEx;
  5531. http_file_hosts_obsolete.push(host);
  5532. }
  5533.  
  5534. //obsolete file hosts init start
  5535. if (Obsolete_file_hosts)
  5536. {
  5537. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5538. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5539. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5540. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5541. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5542. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5543. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5544. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5545. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5546. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5547. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5548. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5549. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5550. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5551. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5552. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5553. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5554. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5555. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5556. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5557. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5558. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5559. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5560. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5561. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5562. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5563. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5564. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5565. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5566. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5567. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5568. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5569. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5570. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5571. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5572. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5573. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5574. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5575. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5576. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5577. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5578. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5579. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5580. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5581. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5582. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5583. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5584. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5585. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5586. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5587. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5588. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5589. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5590. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5591. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5592. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5593. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5594. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5595. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5596. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5597. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5598. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5599. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5600. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5601. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5602. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5603. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5604. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5605. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5606. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5607. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5608. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5609. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5610. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5611. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5612. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5613. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5614. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5615. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5616. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5617. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5618. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5619. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5620. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5621. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5622. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5623. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5624. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5625. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5626. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5627. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5628. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5629. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5630. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5631. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5632. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5633. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5634. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5635. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5636. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5637. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5638. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5639. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5640. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5641. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5642. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5643. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5644. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5645. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5646. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5647. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5648. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5649. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5650. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5651. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5652. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5653. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5654. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5655. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5656. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5657. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5658. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5659. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5660. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5661. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5662. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5663. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5664. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5665. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5666. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5667. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5668. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5669. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5670. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5671. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5672. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5673. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5674. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5675. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5676. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5677. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5678. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5679. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5680. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5681. 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')]");
  5682. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5683. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5684. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5685. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5686. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5687. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5688. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5689. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5690. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5691. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5692. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5693. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5694. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5695. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5696. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5697. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5698. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5699. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5700. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5701. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5702. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5703. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5704. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5705. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5706. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5707. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5708. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5709. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5710. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5711. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5712. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5713. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5714. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5715. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5716. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5717. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5718. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5719. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5720. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5721. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5722. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5723. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5724. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5725. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5726. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5727. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5728. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5729. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5730. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5731. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5732. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5733. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5734. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5735. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5736. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5737. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5738. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5739. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5740. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5741. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5742. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5743. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5744. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5745. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5746. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5747. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5748. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5749. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5750. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5751. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5752. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5753. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5754. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5755. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5756. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5757. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5758. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5759. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5760. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5761. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5762. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5763. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5764. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5765. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5766. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5767. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5768. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5769. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5770. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5771. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5772. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5773. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5774. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5775. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5776. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5777. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5778. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5779. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5780. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5781. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5782. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5783. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5784. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5785. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5786. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5787. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5788. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5789. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5790. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5791. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5792. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5793. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5794. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5795. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5796. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5797. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5798. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5799. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5800. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5801. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5802. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5803. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5804. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5805. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5806. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5807. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5808. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5809. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5810. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5811. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5812. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5813. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5814. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5815. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5816. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5817. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5818. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5819. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5820. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5821. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5822. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5823. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5824. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5825. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5826. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5827. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5828. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5829. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5830. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5831. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5832. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5833. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5834. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5835. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5836. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5837. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5838. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5839. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5840. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5841. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5842. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5843. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5844. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5845. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5846. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5847. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5848. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5849. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5850. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5851. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5852. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5853. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5854. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5855. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5856. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5857. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5858. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5859. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5860. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5861. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5862. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5863. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5864. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5865. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5866. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5867. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5868. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5869. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5870. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5871. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5872. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5873. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5874. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5875. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5876. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5877. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5878. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5879. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5880. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5881. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5882. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5883. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5884. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5885. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5886. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5887. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5888. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5889. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5890. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5891. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5892. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5893. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5894. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5895. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5896. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5897. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5898. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5899. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5900. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5901. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5902. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5903. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5904. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5905. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5906. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5907. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5908. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5909. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5910. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5911. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5912. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5913. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5914. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5915. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5916. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5917. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5918. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5919. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5920. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5921. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5922. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5923. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5924. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5925. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5926. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5927. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5928. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5929. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5930. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5931. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5932. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5933. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5934. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5935. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5936. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5937. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5938. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5939. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5940. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5941. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5942. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5943. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5944. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5945. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5946. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5947. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5948. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5949. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5950. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5951. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5952. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5953. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5954. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5955. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5956. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5957. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5958. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5959. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5960. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5961. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5962. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5963. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5964. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5965. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5966. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5967. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5968. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5969. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5970. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5971. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5972. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5973. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5974. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5975. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5976. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5977. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5978. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5979. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5980. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5981. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5982. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5983. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5984. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5985. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5986. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5987. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5988. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5989. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5990. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5991. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5992. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5993. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5994. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5995. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5996. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5997. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5998. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5999. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6000. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6001. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6002. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6003. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6004. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6005. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6006. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6007. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6008. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6009. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6010. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6011. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6012. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6013. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6014. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6015. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6016. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6017. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6018. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6019. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6020. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6021. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6022. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6023. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6024. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6025. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6026. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6027. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6028. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6029. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6030. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6031. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6032. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6033. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6034. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6035. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6036. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6037. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6038. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6039. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6040. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6041. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6042. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6043. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6044. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6045. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6046. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6047. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6048. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6049. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6050. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6051. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6052. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6053. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6054. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6055. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6056. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6057. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6058. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6059. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6060. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6061. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6062. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6063. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6064. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6065. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6066. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6067. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6068. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6069. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6070. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6071. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6072. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6073. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6074. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6075. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6076. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6077. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6078. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6079. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6080.  
  6081. // obsolete start start2
  6082. }
  6083. //obsolete file hosts init end
  6084. //Add Host Example
  6085. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6086. {
  6087. addFileHost(
  6088. "datafile\.com\/\\w+",
  6089. 'var captchaPanel|<link href="/css/files_download.css"',
  6090. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6091. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6092. '<style type="text/css">',
  6093. "//a[contains(@href,'datafile.com')]",
  6094. true);
  6095. } */
  6096.  
  6097. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6098. {
  6099. var host = new Array(7);
  6100. host[0] = linkRegex;
  6101. host[1] = isAliveRegex;
  6102. host[2] = isDeadRegex;
  6103. host[3] = isUnavaRegex;
  6104. host[6] = ispremRegex;
  6105. host[4] = xpathEx;
  6106. tryLoop ? host[5] = true : host[5] = false;
  6107. http_file_hosts.push(host);
  6108. }
  6109. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6110. {
  6111. addFileHost(
  6112. "megafileupload\.com\/..\/file\/",
  6113. 'downloadbtn',
  6114. 'is not found',
  6115. 'optional--',
  6116. 'optional2--',
  6117. "//a[contains(@href,'megafileupload.com')]");
  6118. }
  6119. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6120. {
  6121. addFileHost(
  6122. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6123. 'download\\.gif"',
  6124. 'p_point">',
  6125. 'optional--',
  6126. 'optional2--',
  6127. "//a[contains(@href,'demo.ovh.eu')]");
  6128. }*/
  6129. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6130. {
  6131. addFileHost(
  6132. "safelinking\\.net\/p\/\\w+",
  6133. 'color:green;"',
  6134. 'color:(?:red|orange);"',
  6135. 'color:(?:grey|brown);"',
  6136. 'optional2--',
  6137. "//a[contains(@href,'safelinking.net/p/')]",
  6138. true);
  6139. }
  6140. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6141. {
  6142. addFileHost(
  6143. "fastshare\\.cz\/\\d+\/\\w*",
  6144. 'dwntable">|speed-low',
  6145. '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',
  6146. 'optional--',
  6147. 'optional2--',
  6148. "//a[contains(@href,'fastshare.cz')]");
  6149. }
  6150. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6151. {
  6152. addFileHost(
  6153. "[fF]ast[sS]hare\\.org\/download",
  6154. 'Download ">',
  6155. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6156. 'optional--',
  6157. 'optional2--',
  6158. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6159. }
  6160. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6161. {
  6162. addFileHost(
  6163. "partage-facile\.com\/\\w+",
  6164. 'class="title"><strong>|colspan="2"',
  6165. 'Page introuvable|class="alert-message',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'partage-facile.com')]");
  6169. }
  6170. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6171. {
  6172. addFileHost(
  6173. "rapidgator\\.net\/file\/\\w+",
  6174. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6175. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6176. 'optional--',
  6177. 'can be downloaded by premium only|la taille maximale des fichiers téléchargeables est de 1 GB|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito',
  6178. "//a[contains(@href,'rapidgator.net/file')]",
  6179. true
  6180. );
  6181. }
  6182. if (GM_getValue("Check_rg_dot_to_links", false))
  6183. {
  6184. addFileHost(
  6185. "rg\.to\/\\w+",
  6186. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6187. 'Error 404|Fil ikke fundet|Ficheiro não encontrado|Arquivo não encontrado|找不到檔案|ファイルが見つかりませんでした|未发现文件|Soubor nenalezen|Bestand niet gevonden|Nie znaleziono pliku|File non trovato|Datei nicht gefunden|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  6188. 'optional--',
  6189. 'can be downloaded by premium only|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6190. "//a[contains(@href,'rg.to')]");
  6191. }
  6192. if (GM_getValue("Check_relink_dot_us_links", false))
  6193. {
  6194. addFileHost(
  6195. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6196. 'online_detail\\.png" alt="Status',
  6197. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6198. 'unknown_detail\\.png" alt="Status',
  6199. 'optional2--',
  6200. "//a[contains(@href,'relink.us/')]"
  6201. );
  6202. }
  6203. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6204. {
  6205. addFileHost(
  6206. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6207. 'div id="dl"',
  6208. 'Sie haben den Link falsch',
  6209. 'optional--',
  6210. 'optional2--',
  6211. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6212. );
  6213. }
  6214. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6215. {
  6216. addFileHost(
  6217. "flyfiles\\.net\/\\w+",
  6218. 'download_button"|"Download file"',
  6219. 'File not found!|Файл не найден',
  6220. 'optional--',
  6221. 'optional2--',
  6222. "//a[contains(@href,'flyfiles.net/')]"
  6223. );
  6224. }
  6225. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6226. {
  6227. addFileHost(
  6228. "wikiupload\\.com\/\\w+",
  6229. 'download-button">',
  6230. 'Sorry, File not found',
  6231. 'optional--',
  6232. 'optional2--',
  6233. "//a[contains(@href,'wikiupload.com/')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6237. {
  6238. addFileHost(
  6239. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6240. 'file\\.php">|Pobierz Plik',
  6241. 'Podany plik nie zosta',
  6242. 'optional--',
  6243. 'optional2--',
  6244. "//a[contains(@href,'hostuje.net/file')]"
  6245. );
  6246. }
  6247. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6248. {
  6249. addFileHost(
  6250. "gettyfile\\.ru\/\\d+",
  6251. 'download\\.gif border',
  6252. '<center><font size="3">',
  6253. 'optional--',
  6254. 'optional2--',
  6255. "//a[contains(@href,'gettyfile.ru/')]"
  6256. );
  6257. }
  6258. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6259. {
  6260. addFileHost(
  6261. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6262. 'download\\-file">',
  6263. 'col-1">\\s*<h1>',
  6264. 'optional--',
  6265. 'optional2--',
  6266. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6267. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6268. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6269. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6270. );
  6271. }
  6272. if (GM_getValue("Check_data_dot_hu_links", false))
  6273. {
  6274. addFileHost(
  6275. "data\\.hu",
  6276. 'download_box_button|Lassú letöltés',
  6277. 'missing\\.php|Az adott fájl nem létezik',
  6278. 'optional--',
  6279. 'optional2--',
  6280. "//a[contains(@href,'data.hu')]",
  6281. true
  6282. );
  6283. }
  6284. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6285. {
  6286. addFileHost(
  6287. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6288. 'premiumBtn"',
  6289. 'errorMessage"',
  6290. 'optional--',
  6291. 'optional2--',
  6292. "//a[contains(@href,'indowebster.com/download')]"
  6293. );
  6294. }
  6295. if (GM_getValue("Check_superload_dot_cz_links", false))
  6296. {
  6297. addFileHost(
  6298. "superload\\.cz\/dl\/\\w+",
  6299. 'icon-download">',
  6300. 'soubor nebyl nalezen',
  6301. 'optional--',
  6302. 'optional2--',
  6303. "//a[contains(@href,'superload.cz/dl')]"
  6304. );
  6305. }
  6306. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6307. {
  6308. addFileHost(
  6309. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6310. 'op" value="download',
  6311. 'class="err">|width:500px;text-align:left;">',
  6312. 'optional--',
  6313. 'optional2--',
  6314. "//a[contains(@href,'hulkfile.')]"
  6315. );
  6316. }
  6317. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6318. {
  6319. addFileHost(
  6320. "easybytez\\.com\/\\w+",
  6321. 'op" value="download',
  6322. 'stop_error\\.gif',
  6323. 'optional--',
  6324. 'optional2--',
  6325. "//a[contains(@href,'easybytez.com/')]"
  6326. );
  6327. }
  6328. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6329. {
  6330. addFileHost(
  6331. "filestore\\.com\\.ua\/\\?d=\\w+",
  6332. 'tdrow1>',
  6333. 'class=warn',
  6334. 'optional--',
  6335. 'optional2--',
  6336. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6337. );
  6338. }
  6339. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6340. {
  6341. addFileHost(
  6342. "openfile\\.ru\/(?:video\/|)\\d+",
  6343. 'videobox_left">',
  6344. 'blog_title">|not found on this server',
  6345. 'optional--',
  6346. 'optional2--',
  6347. "//a[contains(@href,'openfile.ru/')]"
  6348. );
  6349. }*/
  6350. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6351. {
  6352. addFileHost(
  6353. "extmatrix\\.com\/files\/\\w+",
  6354. 'div class="success"',
  6355. 'div class="error"',
  6356. 'optional--',
  6357. 'optional2--',
  6358. "//a[contains(@href,'extmatrix.com/files')]"
  6359. );
  6360. }
  6361. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6362. {
  6363. addFileHost(
  6364. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6365. 'content_lnkDownload',
  6366. 'error\\.aspx\\?',
  6367. 'optional--',
  6368. 'optional2--',
  6369. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6370. );
  6371. }
  6372. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6373. {
  6374. addFileHost(
  6375. "yourfilestore\\.com\/download\/\\d+\/",
  6376. 'download_data">',
  6377. 'may have been deleted|<h1>Sorry!<\/h1>',
  6378. 'optional--',
  6379. 'optional2--',
  6380. "//a[contains(@href,'yourfilestore.com/download')]"
  6381. );
  6382. }
  6383. if (GM_getValue("Check_filebig_dot_net_links", false))
  6384. {
  6385. addFileHost(
  6386. "filebig\\.net\/files\/\\w+",
  6387. 'downloadFile">',
  6388. '<p>File not found<\/p>',
  6389. 'optional--',
  6390. 'optional2--',
  6391. "//a[contains(@href,'filebig.net/files')]"
  6392. );
  6393. }
  6394. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6395. {
  6396. addFileHost(
  6397. "files\\.filefront\\.com\/\/;\\d+;;",
  6398. 'downloadLink">',
  6399. 'File not found, you',
  6400. 'optional--',
  6401. 'optional2--',
  6402. "//a[contains(@href,'files.filefront.com')]"
  6403. );
  6404.  
  6405. addFileHost(
  6406. "gamefront\\.com\/files\/\\d+",
  6407. 'downloadLink">',
  6408. 'File not found, you',
  6409. 'optional--',
  6410. 'optional2--',
  6411. "//a[contains(@href,'gamefront.com/files')]"
  6412. );
  6413. }
  6414. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6415. {
  6416. addFileHost(
  6417. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6418. 'dnlLnk"',
  6419. 'already been deleted',
  6420. 'optional--',
  6421. 'optional2--',
  6422. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6423. );
  6424. }
  6425. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6426. {
  6427. addFileHost(
  6428. "hellupload\\.com\/\\w+",
  6429. '<h3>Download File<br',
  6430. 'id="podstrona">|AVOID_IE_BUG',
  6431. 'optional--',
  6432. 'optional2--',
  6433. "//a[contains(@href,'hellupload.com/')]"
  6434. );
  6435. }
  6436. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6437. {
  6438. addFileHost(
  6439. "free\\-uploading\\.com\/\\w+",
  6440. 'op" value="download',
  6441. 'class="err">|width:500px;text-align:left;">',
  6442. 'optional--',
  6443. 'optional2--',
  6444. "//a[contains(@href,'free-uploading.com/')]"
  6445. );
  6446. }
  6447. if (GM_getValue("Check_fileape_dot_com_links", false))
  6448. {
  6449. addFileHost(
  6450. "fileape\\.com\/download\\-",
  6451. 'button_dl\\.png',
  6452. 'does not exist\\.',
  6453. 'optional--',
  6454. 'optional2--',
  6455. "//a[contains(@href,'fileape.com/')]"
  6456. );
  6457. }
  6458. if (GM_getValue("Check_uppit_dot_com_links", false))
  6459. {
  6460. addFileHost(
  6461. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6462. 'op" value="download',
  6463. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6464. 'optional--',
  6465. 'optional2--',
  6466. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6467. true
  6468. );
  6469. }
  6470. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6471. {
  6472. addFileHost(
  6473. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6474. 'op" value="download',
  6475. '>File Not Found<',
  6476. 'optional--',
  6477. 'optional2--',
  6478. "//a[contains(@href,'nosupload.com')]",
  6479. true
  6480. );
  6481. }
  6482. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6483. {
  6484. addFileHost(
  6485. "filesin\\.com\/\\w+\/download\\.html",
  6486. 'download_area">',
  6487. 'error_note">',
  6488. 'optional--',
  6489. 'optional2--',
  6490. "//a[contains(@href,'filesin.com/')]",
  6491. true
  6492. );
  6493. }*/
  6494. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6495. {
  6496. addFileHost(
  6497. "nowdownload\\.ch\/dl\/\\w+",
  6498. 'alert-success"',
  6499. 'This file does not exist!',
  6500. 'The file is being transfered',
  6501. 'optional2--',
  6502. "//a[contains(@href,'nowdownload.ch/dl')]"
  6503. );
  6504. }*/
  6505. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6506. {
  6507. addFileHost(
  6508. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6509. 'Dbutton_big"',
  6510. 'download\\-error\\.php',
  6511. 'optional--',
  6512. 'optional2--',
  6513. "//a[contains(@href,'axifile.com/')]"
  6514. );
  6515. }*/
  6516. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6517. {
  6518. addFileHost(
  6519. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6520. 'col-1">\\s*<s',
  6521. 'col-1">\\s*<h',
  6522. 'optional--',
  6523. 'optional2--',
  6524. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6525. );
  6526. }
  6527. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6528. {
  6529. addFileHost(
  6530. "turbobit\\.(?:net|pl)",
  6531. 'id="download-gate-info|id="file-list',
  6532. 'afterWait()|no files in this folder',
  6533. 'optional--',
  6534. 'optional2--',
  6535. "//a[contains(@href,'turbobit.net')]"
  6536. );
  6537. }
  6538. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6539. {
  6540. addFileHost(
  6541. "hitfile\\.net\/download\/folder\/\\d+",
  6542. 'content">\\s*<s',
  6543. 'content">\\s*<h',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'hitfile.net/download/folder')]"
  6547. );
  6548. }
  6549. if (GM_getValue("Check_movshare_dot_net_links", false))
  6550. {
  6551. addFileHost(
  6552. "movshare\\.net\\/video\\/\\w+",
  6553. 'optional--"',
  6554. 'no longer exists',
  6555. 'optional--',
  6556. 'optional2--',
  6557. "//a[contains(@href,'movshare.net/video')]"
  6558. );
  6559. }
  6560. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6561. {
  6562. addFileHost(
  6563. "mafiastorage\\.com\/\\w+",
  6564. 'op" value="download',
  6565. 'class="err">|style="width:500px;text-align:left;"',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'mafiastorage.com/')]"
  6569. );
  6570. }
  6571. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6572. {
  6573. addFileHost(
  6574. "uploadingit\\.com\/file\/\\w+",
  6575. 'downloadTitle">',
  6576. 'deleteContent">',
  6577. 'optional--',
  6578. 'optional2--',
  6579. "//a[contains(@href,'uploadingit.com/file')]"
  6580. );
  6581. }*/
  6582. if (GM_getValue("Check_rghost_dot_net_links", false))
  6583. {
  6584. addFileHost(
  6585. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6586. 'download_link|btn large download',
  6587. 'file is restricted|File is deleted|503 Service Unavailable',
  6588. 'optional--',
  6589. 'optional2--',
  6590. "//a[contains(@href,'rghost.')]"
  6591. );
  6592. }
  6593. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6594. {
  6595. addFileHost(
  6596. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6597. '">Staženo:\\s*<\/span>',
  6598. 'Soubor, který hledáte nenalezen',
  6599. 'optional--',
  6600. 'optional2--',
  6601. "//a[contains(@href,'xdisk.cz/')]"
  6602. );
  6603. }
  6604. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6605. {
  6606. addFileHost(
  6607. "2downloadz\.com\/\\w+",
  6608. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6609. 'color="#006DCC|File error',
  6610. 'optional--',
  6611. 'optional2--',
  6612. "//a[contains(@href,'2downloadz.com')]");
  6613. }
  6614. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6615. {
  6616. addFileHost(
  6617. "mightyupload\.com\/\\w+",
  6618. 'background:#ccc;text-align|CONTENT="Download File"',
  6619. 'style="background:#eee|var rr =|File Not Found',
  6620. 'error-code">1010',
  6621. 'optional2--',
  6622. "//a[contains(@href,'mightyupload.com')]");
  6623. }
  6624. if (GM_getValue("Check_anysend_dot_com_links", false))
  6625. {
  6626. addFileHost(
  6627. "anysend\.com\/\\w+",
  6628. 'var openCalled=false;|content="noindex"',
  6629. '_trackPageview',
  6630. 'optional--',
  6631. 'optional2--',
  6632. "//a[contains(@href,'anysend.com')]");
  6633. }
  6634. if (GM_getValue("Check_datafile_dot_com_links", false))
  6635. {
  6636. addFileHost(
  6637. "datafile\.com\/\\w+",
  6638. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6639. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6640. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6641. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6642. "//a[contains(@href,'datafile.com')]",
  6643. true);
  6644. }
  6645. if (GM_getValue("Check_upstore_dot_net_links", false))
  6646. {
  6647. addFileHost(
  6648. "upstore\.net\/\\w+",
  6649. 'name="free"',
  6650. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6651. 'optional--',
  6652. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6653. "//a[contains(@href,'upstore.net')]");
  6654. }
  6655. if (GM_getValue("Check_upsto_dot_re_links", false))
  6656. {
  6657. addFileHost(
  6658. "upsto\.re\/\\w+",
  6659. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6660. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6661. 'optional--',
  6662. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6663. "//a[contains(@href,'upsto.re')]");
  6664. }
  6665. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6666. {
  6667. addFileHost(
  6668. "speedy\.sh\/\\w+",
  6669. 'bgcolor=#eeeeee|class="addthis',
  6670. 'File not found|downloadfilenamenotfound>',
  6671. 'optional--',
  6672. 'optional2--',
  6673. "//a[contains(@href,'speedy.sh')]");
  6674. }
  6675. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6676. {
  6677. addFileHost(
  6678. "kingfiles\.net\/\\w+",
  6679. 'method_free|images/loading_small.gif"',
  6680. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6681. 'optional--',
  6682. 'optional2--',
  6683. "//a[contains(@href,'kingfiles.net')]");
  6684. }
  6685. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6686. {
  6687. addFileHost(
  6688. "secureupload\\.eu\/\\w+",
  6689. 'Downloading',
  6690. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6691. 'optional--',
  6692. 'optional2--',
  6693. "//a[contains(@href,'secureupload.eu')]"
  6694. );
  6695. } */
  6696. if (GM_getValue("Check_ge_dot_tt_links", false))
  6697. {
  6698. addFileHost(
  6699. "ge\.tt\/\\w+",
  6700. 'downloads pic',
  6701. 'is NOT the same as',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'ge.tt')]");
  6705. }
  6706. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6707. {
  6708. addFileHost(
  6709. "filefactory\\.com\/file\/\\w+",
  6710. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6711. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder|class="alert alert-danger">',
  6712. 'Server Maintenance|temporarily overloaded',
  6713. 'Premium Account Required',
  6714. "//a[contains(@href,'filefactory.com/file')]");
  6715. } */
  6716. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6717. {
  6718. addFileHost(
  6719. "filesflash\.net\/\\w+",
  6720. 'align:right">Filename:',
  6721. 'class="msg">',
  6722. 'optional--',
  6723. 'optional2--',
  6724. "//a[contains(@href,'filesflash.net')]");
  6725. }
  6726. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6727. {
  6728. addFileHost(
  6729. "rapidgator\\.net\/folder\/\\w+",
  6730. 'href="/folder/',
  6731. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6732. 'optional--',
  6733. 'optional2--',
  6734. "//a[contains(@href,'rapidgator.net/folder')]",
  6735. true
  6736. );
  6737. }
  6738. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6739. {
  6740. addFileHost(
  6741. "salefiles\.com\/\\w+",
  6742. 'name="method_free',
  6743. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'salefiles.com')]");
  6747. }
  6748. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6749. {
  6750. addFileHost(
  6751. "datoid\.cz\/\\w+",
  6752. 'btn-download|class="icon-download-large"',
  6753. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'datoid.cz')]");
  6757. }
  6758. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6759. {
  6760. addFileHost(
  6761. "stiahni\.si\/\\w+",
  6762. 'report_icon.png"|slow-download-button',
  6763. 'none.png|deleted|<h2>Error 500</h2>',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'stiahni.si')]");
  6767. }
  6768. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6769. {
  6770. addFileHost(
  6771. "cloudstor\.es\/\\w+",
  6772. '"btn_download"',
  6773. '404: Page Not Found',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'cloudstor.es')]");
  6777. }
  6778. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6779. {
  6780. addFileHost(
  6781. "streamfile\.com\/\\w+",
  6782. 'class="btn',
  6783. 'class="green-btn',
  6784. 'optional--',
  6785. 'optional2--',
  6786. "//a[contains(@href,'streamfile.com')]");
  6787. }
  6788. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6789. {
  6790. addFileHost(
  6791. "eyesfile\.ca\/\\w+",
  6792. 'value="Get Link',
  6793. 'var rr =',
  6794. 'optional--',
  6795. 'optional2--',
  6796. "//a[contains(@href,'eyesfile.ca')]");
  6797. }
  6798. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6799. {
  6800. addFileHost(
  6801. "filemoney\.com\/\\w+",
  6802. 'og:title',
  6803. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6804. 'error-code">1010',
  6805. 'optional2--',
  6806. "//a[contains(@href,'filemoney.com')]");
  6807. }
  6808. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6809. {
  6810. addFileHost(
  6811. "uploadboy\.com\/\\w+",
  6812. 'width="740">|method_free',
  6813. 'var rr =|background:#ffffff|not be found|file was removed',
  6814. 'optional--',
  6815. 'optional2--',
  6816. "//a[contains(@href,'uploadboy.com')]");
  6817. }
  6818. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6819. {
  6820. addFileHost(
  6821. "uploadboy\.com\/\\w+",
  6822. 'width="740">|method_free',
  6823. 'var rr =|background:#ffffff|not be found|file was removed',
  6824. 'optional--',
  6825. 'optional2--',
  6826. "//a[contains(@href,'uploadboy.me')]");
  6827. }
  6828. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6829. {
  6830. addFileHost(
  6831. "speedshare\.eu\/\\w+",
  6832. 'favicon.png|color:#3d87c0|cross.png"',
  6833. 'var rr =|File Not Found|style="background:#eee',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'speedshare.eu')]");
  6837. }
  6838. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6839. {
  6840. addFileHost(
  6841. "unlimitzone\.com\/\\w+",
  6842. 'name="method_free',
  6843. 'var rr =|File Not Found|removed by administrator|class="err">|Файл не найден|Datei nicht gefunden|fichier non trouve|Dosya bulunamadД±|Nie znaleziono pliku|ไม่พบไฟล์ที่ต้องการ|Nie znaleziono pliku|Archive no Encontrado|ファイルが見つかりません。|File nem talГЎlhatГі|File tidak ditemukan|Bestand niet gevonden',
  6844. 'optional--',
  6845. 'optional2--',
  6846. "//a[contains(@href,'unlimitzone.com')]");
  6847. }
  6848. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6849. {
  6850. addFileHost(
  6851. "rioupload\.com\/\\w+",
  6852. 'sell.jpg',
  6853. 'var rr =',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'rioupload.com')]");
  6857. }
  6858. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6859. {
  6860. addFileHost(
  6861. "jumbofiles\.org\/\\w+",
  6862. 'H71C5.png|class="downloadtitle">',
  6863. 'var swfu|ViewSourceBIN.png',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'jumbofiles.org')]");
  6867. }
  6868. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6869. {
  6870. addFileHost(
  6871. "fshare\\.vn\/file\/\\w+",
  6872. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6873. 'không tồn tại|class="color_red m_t_50"',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'fshare.vn/file')]",
  6877. true
  6878. );
  6879. }
  6880. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6881. {
  6882. addFileHost(
  6883. "spaceforfiles\.com\/\\w+",
  6884. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6885. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6886. 'optional--',
  6887. 'optional2--',
  6888. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6889. }
  6890. if (GM_getValue("Check_google_dot_com_links", false))
  6891. {
  6892. addFileHost(
  6893. "google\\.com\/file\/\\w+",
  6894. 'content="!">|color:#2d2d2d',
  6895. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6896. 'optional--',
  6897. 'optional2--',
  6898. "//a[contains(@href,'google.com/file')]",
  6899. true
  6900. );
  6901. }
  6902. if (GM_getValue("Check_google_dot_com_links", false))
  6903. {
  6904. addFileHost(
  6905. "docs.google.com\/\\w+",
  6906. 'content="!">|color:#2d2d2d',
  6907. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6908. 'optional--',
  6909. 'optional2--',
  6910. "//a[contains(@href,'docs.google.com')]",
  6911. true
  6912. );
  6913. }
  6914. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6915. {
  6916. addFileHost(
  6917. "drive.google.com\/\\w+",
  6918. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6919. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6920. 'optional--',
  6921. 'optional2--',
  6922. "//a[contains(@href,'drive.google.com')]",
  6923. true
  6924. );
  6925. }
  6926. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6927. {
  6928. addFileHost(
  6929. "up.media1fire\.com\/\\w+",
  6930. 'class="addthis_|value="download',
  6931. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6932. 'optional--',
  6933. 'optional2--',
  6934. "//a[contains(@href,'up.media1fire.com')]");
  6935. }
  6936. if (GM_getValue("Check_depfile_dot_com_links", false))
  6937. {
  6938. addFileHost(
  6939. "depfile\.com\/\\w+",
  6940. 'logo_0.png|downloads.gif"|verifycode',
  6941. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6942. 'optional--',
  6943. 'available only for Premium users',
  6944. "//a[contains(@href,'depfile.com')]");
  6945. }
  6946. if (GM_getValue("Check_go4up_dot_com_links", false))
  6947. {
  6948. addFileHost(
  6949. "go4up\.com\/\\w+",
  6950. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6951. '<title>GO4UP|dmca',
  6952. 'optional--',
  6953. 'optional2--',
  6954. "//a[contains(@href,'go4up.com')]");
  6955. }
  6956. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6957. {
  6958. addFileHost(
  6959. "redbunker\.net\/\\w+",
  6960. 'name="method_free"',
  6961. 'color="red">Unknow / Bilinmiyor<',
  6962. 'optional--',
  6963. '2.3 GB',
  6964. "//a[contains(@href,'redbunker.net')]");
  6965. }
  6966. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6967. {
  6968. addFileHost(
  6969. "divxpress\.com\/\\w+",
  6970. 'btn_download|logo.png"',
  6971. 'AVOID_IE_BUG|var rr =',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'divxpress.com')]");
  6975. }
  6976. if (GM_getValue("Check_anafile_dot_com_links", false))
  6977. {
  6978. addFileHost(
  6979. "anafile\.com\/\\w+",
  6980. 'width="881" valign="top|color="#800080"|name="go"',
  6981. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'anafile.com')]");
  6985. }
  6986. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6987. {
  6988. addFileHost(
  6989. "uploadable\\.ch\/file\/\\w+",
  6990. 'captcha.js"|payment.js"|class="btn_download"',
  6991. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'uploadable.ch/file')]",
  6995. true
  6996. );
  6997. }
  6998. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6999. {
  7000. addFileHost(
  7001. "bigfile\\.to\/file\/\\w+",
  7002. 'captcha.js"|payment.js"|class="btn_download"',
  7003. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'bigfile.to/file')]",
  7007. true
  7008. );
  7009. }
  7010. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7011. {
  7012. addFileHost(
  7013. "arabloads\.net\/\\w+",
  7014. 'name="method_free"|name="method_premium"',
  7015. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'arabloads.net')]");
  7019. }
  7020. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7021. {
  7022. addFileHost(
  7023. "sharerepo\.com\/\\w+",
  7024. 'name="method_free"',
  7025. 'var public_on=|The file you were looking for could not be found',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'sharerepo.com')]");
  7029. }
  7030. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7031. {
  7032. addFileHost(
  7033. "sfshare\.se\/\\w+",
  7034. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7035. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'sfshare.se')]");
  7039. }
  7040. if (GM_getValue("Check_files_dot_fm_links", false))
  7041. {
  7042. addFileHost(
  7043. "files\.fm\/\\w+",
  7044. 'dl.png"|background-color: transparent',
  7045. 'margin: 40px 40px|background: none;',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'files.fm')]");
  7049. }
  7050. if (GM_getValue("Check_koofile_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "koofile\.com\/\\w+",
  7054. 'value="download1">|name="method_free"',
  7055. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'koofile.com')]");
  7059. }
  7060. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7061. {
  7062. addFileHost(
  7063. "vidxden\\.com\/\\w+",
  7064. 'Continue to Video"',
  7065. 'No such file',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'vidxden.com')]"
  7069. );
  7070. }*/
  7071. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7072. {
  7073. addFileHost(
  7074. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7075. 'Details zur Datei|Details page',
  7076. 'Jetzt hochladen|upload now',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7080. );
  7081. }
  7082. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7083. {
  7084. addFileHost(
  7085. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7086. 'downloadbtn"',
  7087. 'DL_FileNotFound',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7091. );
  7092. }
  7093. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7094. {
  7095. addFileHost(
  7096. "fileflyer\.com\/view\/\\w+",
  7097. '(?:dwl|locked)btn"',
  7098. 'error.gif"|link">Removed|removedlink">',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'fileflyer.com')]"
  7102. );
  7103. }
  7104. if (GM_getValue("Check_filestore_dot_to_links", false))
  7105. {
  7106. addFileHost(
  7107. "filestore\.to\/\\?d=\\w+",
  7108. '"downloading"',
  7109. 'Datei wurde nicht gefunden',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'filestore.to')]"
  7113. );
  7114. }
  7115. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7116. {
  7117. addFileHost(
  7118. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7119. 'fz24">Download|class="pl15">',
  7120. 'msg-err"|the page you\'re looking for|1>400 Bad Request<|class="search_result">|Searching for file|Information is not available|name="keywords" content="">|<title>Crocko.com 404',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_datei_dot_to_links", false))
  7127. {
  7128. addFileHost(
  7129. "datei\\.to\/\\??\\w+",
  7130. 'icon_downloaden\\.png|>Download starten<',
  7131. 'Datei wurde nicht gefunden|icon_deleted.png',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'datei.to')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7141. '<body class="body" id="body">|value="Slow Download"',
  7142. '<body class="body" >',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7149. {
  7150. addFileHost(
  7151. "unibytes\\.com\/[\\w\.]+",
  7152. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7153. 'File not found|Файл не найден|',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'unibytes.com')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7160. {
  7161. addFileHost(
  7162. "www\\.hellshare\\.com\/\\d+",
  7163. 'tab\\-details"',
  7164. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'www.hellshare.com')]"
  7168. );
  7169. }
  7170. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7171. {
  7172. addFileHost(
  7173. "www\\.download.cz.hellshare\\.com\/\\w+",
  7174. 'tab\\-details"',
  7175. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7179. );
  7180. }
  7181. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7182. {
  7183. addFileHost(
  7184. "filefactory\\.com",
  7185. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7186. 'table class="items"|このフォルダ内にファイルはありません|This file may have been deleted|Unerwarteter Fehler|Ungültiger Download-Link|Link de Download Inválido|Pointer" class="red">|There are no files in this folder|Dieser Ordner enthält keine Dateien|Não há arquivos nesta pasta|File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link|There are no files in this folder',
  7187. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7188. 'Premium Account Required',
  7189. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_load_dot_to_links", false))
  7193. {
  7194. addFileHost(
  7195. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7196. '"download_table_left">Size',
  7197. 'Can\'t find file',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_divshare_dot_com_links", false))
  7204. {
  7205. addFileHost(
  7206. "divshare\\.com\/download\/",
  7207. 'download_new\.png',
  7208. 'have been removed',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'divshare.com')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7215. {
  7216. addFileHost(
  7217. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7218. 'download=true"',
  7219. '<div class="background margin-top vlevo" style="width: 600px;">|class="container">Error|File+has+been+removed|<title>Error - EuroShare.eu</title>|class="container">Chyba<|<title>chyba - EuroShare.eu</title>|<title>Fehler - EuroShare.eu</title>|<title>Hiba - EuroShare.eu</title>|<title>Błąd - EuroShare.eu</title>',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'euroshare.eu/file')]"
  7223. );
  7224. }
  7225. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7226. {
  7227. addFileHost(
  7228. 'files\\.mail\\.ru/(?:\\w*)',
  7229. 'fileList',
  7230. 'errorMessage',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'files.mail.ru')]"
  7234. );
  7235. }
  7236. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7237. {
  7238. addFileHost(
  7239. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7240. 'Filesize',
  7241. 'Invalid|deleted|Could not download file',
  7242. 'slots|scheduled maintenance',
  7243. 'optional2--',
  7244. "//a[contains(@href,'megashares.com/')]"
  7245. );
  7246. } */
  7247. if (GM_getValue("Check_narod_dot_ru_links", false))
  7248. {
  7249. addFileHost(
  7250. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7251. 'b-submit|action="resource.download"',
  7252. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7253. 'Внутренняя ошибка сервиса',
  7254. 'optional2--',
  7255. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. "rayfile\\.com\/",
  7262. 'FILEtitleTXT',
  7263. 'blueRow',
  7264. 'optional--',
  7265. 'optional2--',
  7266. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7270. {
  7271. addFileHost(
  7272. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7273. 'button_green_body"',
  7274. 'error">',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'filesmonster.com/download')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7281. {
  7282. addFileHost(
  7283. 'usaupload\\.net\/d\/(?:\w*)',
  7284. '<strong>File size:</strong>',
  7285. 'is not available',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'usaupload.net/d/')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7292. {
  7293. addFileHost(
  7294. 'sendspace\\.com\/file\/\\w+',
  7295. 'file_description',
  7296. 'msg error"',
  7297. 'optional--',
  7298. 'optional2--',
  7299. "//a[contains(@href,'sendspace.com/file')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7303. {
  7304. addFileHost(
  7305. 'sendspace\\.pl\/file\/\\w+',
  7306. 'download_file"',
  7307. 'Podany plik nie',
  7308. 'optional--',
  7309. 'optional2--',
  7310. "//a[contains(@href,'sendspace.pl/file')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_uploading_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. 'uploading\\.com\/(?:files\/)?\\w+',
  7317. 'free_method">',
  7318. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'uploading.com')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. "gigasize\.com\/\\w+",
  7328. 'fileId"|class="estimate">',
  7329. 'error">',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'gigasize.com/get')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_good_dot_com_links", false))
  7336. {
  7337. addFileHost(
  7338. 'good\\.net\/(?:_|dl)',
  7339. 'Free Download',
  7340. 'Not Found',
  7341. 'Forbidden',
  7342. 'optional2--',
  7343. "//a[contains(@href,'good.net')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_2shared_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7350. 'File size',
  7351. 'File not found|is not valid|/images/important.gif',
  7352. 'optional--',
  7353. 'optional2--',
  7354. // "//a[contains(@href,'2shared.com')]"
  7355. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/fadmin/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7356. );
  7357. }
  7358. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7359. {
  7360. addFileHost(
  7361. 'turboupload\\.com\/\\w*',
  7362. 'You have requested',
  7363. 'File Not Found',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'turboupload.com')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. 'gigapeta\\.com\/dl\/',
  7373. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7374. '404|page_error',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'gigapeta.com/dl')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_veehd_dot_com_links", false))
  7381. {
  7382. addFileHost(
  7383. 'veehd\.com\/video\/.*?',
  7384. 'No sound|Download video',
  7385. 'Featured Videos',
  7386. 'optional--',
  7387. 'optional2--',
  7388. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7392. {
  7393. addFileHost(
  7394. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7395. 'fast_download_form">|submit_sms_download',
  7396. '<p style="text-align:center">',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'vip-file.com/download')]"
  7400. );
  7401. }
  7402. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7403. {
  7404. addFileHost(
  7405. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7406. 'download\\-pnl ',
  7407. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7408. 'optional--',
  7409. 'optional2--',
  7410. "//a[contains(@href,'letitbit.net/download')]"
  7411. );
  7412. }*/
  7413. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7414. {
  7415. addFileHost(
  7416. 'ifolder\.ru\/\\d+',
  7417. 'file-info',
  7418. 'ui-state-error',
  7419. 'optional--',
  7420. 'optional2--',
  7421. "//a[contains(@href,'ifolder.ru')]"
  7422. );
  7423. }
  7424. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7425. {
  7426. addFileHost(
  7427. 'fileswap\\.com\/dl\/\\w+',
  7428. 'bttnDownloadLink"',
  7429. 'rounded_block_error"',
  7430. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7431. 'optional2--',
  7432. "//a[contains(@href,'fileswap.com/dl')]"
  7433. );
  7434. }*/
  7435. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7436. {
  7437. addFileHost(
  7438. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7439. 'var __error = 0|id="recaptchaPanel">',
  7440. 'FILES__DOESNT_EXIST|removed or did not exist',
  7441. 'optional--',
  7442. 'optional2--',
  7443. "//a[contains(@href,'filecloud.io/')]"
  7444. );
  7445. addFileHost(
  7446. 'ifile\\.it\/\\w+',
  7447. 'var __error = 0',
  7448. 'FILES__DOESNT_EXIST',
  7449. 'optional--',
  7450. 'optional2--',
  7451. "//a[contains(@href,'ifile.it/')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7455. {
  7456. addFileHost(
  7457. 'solidfiles\\.com\/\\w+',
  7458. 'id="download"|content="Download',
  7459. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'solidfiles.com/')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7466. {
  7467. addFileHost(
  7468. "(?:.\\.|)shareflare\\.net",
  7469. 'download-pnl|<div class="premium-block">',
  7470. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7471. 'optional--',
  7472. 'optional2--',
  7473. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7477. {
  7478. addFileHost(
  7479. "u18116681.shareflare\\.net",
  7480. 'download-pnl|<div class="premium-block">',
  7481. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7488. {
  7489. addFileHost(
  7490. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7491. 'file\\-list-orderby|section-filedetail">',
  7492. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'hellspy.')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7499. {
  7500. addFileHost(
  7501. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7502. '<body onload="">',
  7503. 'neexistuje|not exist',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7510. {
  7511. addFileHost(
  7512. "stahovanizasms\\.cz\/\\w+",
  7513. 'download\\.png>|font-size:11px><tr>',
  7514. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'stahovanizasms.cz')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7521. {
  7522. addFileHost(
  7523. "share-links\\.biz\/\\w*",
  7524. 'online\\.gif',
  7525. '(?:offline|parts)\\.gif',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'share-links.biz')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_4shared_dot_com_links", false))
  7532. {
  7533. addFileHost(
  7534. "4shared\\.com\/.+\/",
  7535. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7536. 'class="warn\"|big red"|GetDataBack',
  7537. 'Service Unavailable',
  7538. 'optional2--',
  7539. "//a[contains(@href,'4shared.com')]"
  7540. );
  7541. }
  7542. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7543. {
  7544. addFileHost(
  7545. "(?:www\\d+\.|)zippyshare\.com\/",
  7546. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7547. 'not exist|Status 404',
  7548. 'optional--',
  7549. 'optional2--',
  7550. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7554. {
  7555. addFileHost(
  7556. "mediafire\.com\/",
  7557. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7558. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7559. 'set to private',
  7560. 'optional2--',
  7561. "//a[contains(@href,'mediafire.com')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7565. {
  7566. addFileHost(
  7567. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7568. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7569. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7570. 'optional--',
  7571. 'GB</small>',
  7572. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7576. {
  7577. addFileHost(
  7578. "ulozisko\.sk\/",
  7579. 'Detaily',
  7580. 'neexistuje',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'ulozisko.sk')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_box_dot_com_links", false))
  7587. {
  7588. addFileHost(
  7589. "box\.com\/\\w+",
  7590. 'download-file-btn|id="download_button|preview-download',
  7591. 'BIyMin.png| <div class="error_message|link has been removed',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'app.box.com')]");
  7595. }
  7596. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7597. {
  7598. addFileHost(
  7599. "uptobox\\.com\/\\w+",
  7600. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7601. 'The file expired|<b>404 -|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7602. 'Maintenance',
  7603. 'optional2--',
  7604. "//a[contains(@href,'uptobox.com')]",
  7605. true
  7606. );
  7607. }
  7608. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7609. {
  7610. addFileHost(
  7611. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7612. 'FILE DOWNLOAD<',
  7613. 'File Does Not Exist',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'sharecash.org/download.php')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7620. {
  7621. addFileHost(
  7622. "1fichier\\.com\/dir\/\\w+",
  7623. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7624. 'Shared Folder Not Found',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'1fichier.com/dir')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7631. {
  7632. addFileHost(
  7633. "depositfiles\\.com\/folders\/\\w+",
  7634. '<div class="progressContainer">',
  7635. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7636. 'optional--',
  7637. 'optional2--',
  7638. "//a[contains(@href,'depositfiles.com/folders')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7642. {
  7643. addFileHost(
  7644. "rapidfileshare\\.net/\\w+",
  7645. '<div id="upload-header-bg">',
  7646. '<div style="width:500px;text-align:left;">',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'rapidfileshare.net/')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7653. {
  7654. addFileHost(
  7655. "stiahnito\\.sk/",
  7656. '<span class="filesize right">',
  7657. '<ol class="list-purp-2">',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'stiahnito.sk/')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7664. {
  7665. addFileHost(
  7666. "rusfolder\\.(?:com|net)",
  7667. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7668. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'rusfolder')]"
  7672. );
  7673. }
  7674. if (GM_getValue("Check_catshare_dot_net_links", false))
  7675. {
  7676. addFileHost(
  7677. "catshare\\.net/\\w+",
  7678. '"icon-share',
  7679. 'alert alert-error',
  7680. 'optional--',
  7681. 'optional2--',
  7682. "//a[contains(@href,'catshare.net/')]"
  7683. );
  7684. }
  7685. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7686. {
  7687. addFileHost(
  7688. "anonfiles\\.com/\\w+",
  7689. '"download_button"',
  7690. '<legend><b>404</b>',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'anonfiles.com')]"
  7694. );
  7695. }*/
  7696. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7697. {
  7698. addFileHost(
  7699. "mixturecloud\\.com/media/\\w+",
  7700. '"btn icon i_globe gray share_150',
  7701. '"s_cross_close"></span> 404:',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'mixturecloud.com/media/')]"
  7705. );
  7706. }
  7707. if (GM_getValue("Check_akafile_dot_com_links", false))
  7708. {
  7709. addFileHost(
  7710. "akafile\\.com\/\\w+",
  7711. 'download1',
  7712. 'File Not Found',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'akafile.com/')]"
  7716. );
  7717. }
  7718. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7719. {
  7720. addFileHost(
  7721. "creafile\\.net\/\\w+",
  7722. 'downloadblock',
  7723. 'errtitle',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'creafile.net/')]"
  7727. );
  7728. }*/
  7729. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7730. {
  7731. addFileHost(
  7732. "hugefiles\\.net\/\\w+",
  7733. 'download1|class="btn-create-download" value="Create Download Link">',
  7734. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'hugefiles.net/')]"
  7738. );
  7739. }*/
  7740. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7741. {
  7742. addFileHost(
  7743. "sendmyway\\.com\/\\w+",
  7744. 'id="btn_download"',
  7745. '500px;text-align:left;"|<center><h3>',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'sendmyway.com/')]"
  7749. );
  7750. }
  7751. if (GM_getValue("Check_upload_dot_ee_links", false))
  7752. {
  7753. addFileHost(
  7754. "upload\\.ee\/\\w+",
  7755. 'onmouseout="document.dllink.src',
  7756. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'upload.ee/')]"
  7760. );
  7761. }
  7762. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7763. {
  7764. addFileHost(
  7765. "shareplace\\.org\/\\?\\w+",
  7766. 'Download-Link',
  7767. 'Your requested file is not found|Select file to send',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'shareplace.org/?')]"
  7771. );
  7772. }
  7773. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7774. {
  7775. addFileHost(
  7776. "uploadc\\.com\/\\w+",
  7777. 'id="prebut"',
  7778. 'File Not Found|This file has been removed due',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'uploadc.com/')]"
  7782. );
  7783. }
  7784. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7785. {
  7786. addFileHost(
  7787. "uploadc\\.ch\/\\w+",
  7788. 'id="prebut"',
  7789. 'File Not Found|This file has been removed due',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'uploadc.ch/')]"
  7793. );
  7794. }
  7795. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7796. {
  7797. addFileHost(
  7798. "remixshare\\.com\/\\w+",
  7799. 'id="dl2"',
  7800. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'remixshare.com/')]"
  7804. );
  7805. }*/
  7806. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7807. {
  7808. addFileHost(
  7809. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7810. 'Last Download :',
  7811. 'img src="\\/404.jpg"',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'exoshare.com/download.php')]"
  7815. );
  7816. }
  7817. if (GM_getValue("Check_borncash_dot_org_links", false))
  7818. {
  7819. addFileHost(
  7820. "borncash\\.org\/download\/\\?a=\\w+",
  7821. 'class="knop_1"',
  7822. '\/error\/er00',
  7823. 'optional--',
  7824. 'optional2--',
  7825. "//a[contains(@href,'borncash.org/download/')]"
  7826. );
  7827. }
  7828. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7829. {
  7830. addFileHost(
  7831. "vidplay\.net\/\\w+",
  7832. 'solvemedia puzzle widget',
  7833. 'File not found|AVOID_IE_BUG',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'vidplay.net')]");
  7837. }*/
  7838. if (GM_getValue("Check_filedais_dot_com_links", false))
  7839. {
  7840. addFileHost(
  7841. "filedais\.com\/\\w+",
  7842. 'class="btn btn-info"|name="method_free"',
  7843. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'filedais.com')]");
  7847. }
  7848. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7849. {
  7850. addFileHost(
  7851. "up.4share\.vn\/\\w+",
  7852. '<font size="2" face="Verdana">',
  7853. 'font: 13px Tahoma; color: Brown',
  7854. 'optional--',
  7855. 'optional2--',
  7856. "//a[contains(@href,'up.4share.vn')]");
  7857. }
  7858. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7859. {
  7860. addFileHost(
  7861. "share.vnn\.vn\/\\w+",
  7862. '"index,follow"|<div class="main" id="download-box">',
  7863. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7864. 'optional--',
  7865. 'optional2--',
  7866. "//a[contains(@href,'share.vnn.vn')]");
  7867. }
  7868. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7869. {
  7870. addFileHost(
  7871. "upfile\.vn\/\\w+",
  7872. 'download-timer',
  7873. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7874. 'optional--',
  7875. 'optional2--',
  7876. "//a[contains(@href,'upfile.vn')]");
  7877. }
  7878. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7879. {
  7880. addFileHost(
  7881. "aisfile\.com\/\\w+",
  7882. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7883. '<div style="width:500px;text-align:left;">|File Not Found',
  7884. 'optional--',
  7885. 'optional2--',
  7886. "//a[contains(@href,'aisfile.com')]");
  7887. }
  7888. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7889. {
  7890. addFileHost(
  7891. "usersfiles\.com\/\\w+",
  7892. 'class="btn btn-success|id="btn_download" class="btn"',
  7893. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7894. 'optional--',
  7895. 'optional2--',
  7896. "//a[contains(@href,'usersfiles.com')]");
  7897. }
  7898. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7899. {
  7900. addFileHost(
  7901. "pan.baidu\.com\/\\w+",
  7902. 'target="_blank" title=|share-personal-info',
  7903. 'share_notfound.png|background:#f9f9f9',
  7904. 'optional--',
  7905. 'optional2--',
  7906. "//a[contains(@href,'pan.baidu.com')]");
  7907. }
  7908. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7909. {
  7910. addFileHost(
  7911. "yunpan\.cn\/\\w+",
  7912. 'class="icon icon-download',
  7913. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7914. 'optional--',
  7915. 'optional2--',
  7916. "//a[contains(@href,'yunpan.cn')]");
  7917. }
  7918. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7919. {
  7920. addFileHost(
  7921. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7922. 'getElementById("downbild")|style.display',
  7923. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7924. 'optional--',
  7925. 'optional2--',
  7926. "//a[contains(@href,'file-upload.net')]");
  7927. }
  7928. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7929. {
  7930. addFileHost(
  7931. "gulfup\.com\/",
  7932. '<!-- Downlod template -->|download.gif',
  7933. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7934. 'optional--',
  7935. 'optional2--',
  7936. "//a[contains(@href,'gulfup.com')]");
  7937. }*/
  7938. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7939. {
  7940. addFileHost(
  7941. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7942. 'dldtable">',
  7943. 'does not exist\\.',
  7944. 'optional--',
  7945. 'optional2--',
  7946. "//a[contains(@href,'datafilehost.com')]");
  7947. }
  7948. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7949. {
  7950. addFileHost(
  7951. "dropbox\.com\/s\/\\w+",
  7952. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7953. '>Nothing Here<|>Error (404)<',
  7954. 'title>Dropbox - 509|Error (403)|Error: 429',
  7955. 'optional2--',
  7956. "//a[contains(@href,'dropbox.com')]");
  7957. }
  7958. if (GM_getValue("Check_box_dot_net_links", false))
  7959. {
  7960. addFileHost(
  7961. "box\.net\/\\w+",
  7962. 'download-file-btn|id="download_button',
  7963. 'BIyMin.png| <div class="error_message',
  7964. 'optional--',
  7965. 'optional2--',
  7966. "//a[contains(@href,'box.net')]");
  7967. }
  7968. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7969. {
  7970. addFileHost(
  7971. "filedropper\.com\/\\w+",
  7972. 'background:#ddd;|width:985px; ',
  7973. 'background-color:#FFFFFF;|margin-left: -400px;',
  7974. 'optional--',
  7975. 'optional2--',
  7976. "//a[contains(@href,'filedropper.com')]");
  7977. }
  7978. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7979. {
  7980. addFileHost(
  7981. "tropicshare\\.com\/files\/\\d+",
  7982. 'MB</span>|GB</span>|KB</span>',
  7983. '>FNF<|size: </span>',
  7984. 'optional--',
  7985. 'optional2--',
  7986. "//a[contains(@href,'tropicshare.com')]");
  7987. }
  7988. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7989. {
  7990. addFileHost(
  7991. "worldbytez\.com",
  7992. '<div class="download_type">|method_free',
  7993. '<div style="width:500px;text-align:left;">',
  7994. 'optional--',
  7995. 'optional2--',
  7996. "//a[contains(@href,'worldbytez.com')]",
  7997. true);
  7998. }
  7999. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8000. {
  8001. addFileHost(
  8002. "freefilehosting\.net\/\\w+",
  8003. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8004. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8005. 'optional--',
  8006. 'optional2--',
  8007. "//a[contains(@href,'freefilehosting.net')]");
  8008. }
  8009. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8010. {
  8011. addFileHost(
  8012. "ziddu\.com\/\\w+",
  8013. 'downloads.ziddu.com|downloadfilelinkicon',
  8014. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8015. 'optional--',
  8016. 'optional2--',
  8017. "//a[contains(@href,'ziddu.com')]");
  8018. }
  8019. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8020. {
  8021. addFileHost(
  8022. "exclusiveloader\.com\/\\w+",
  8023. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8024. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8025. 'optional--',
  8026. 'optional2--',
  8027. "//a[contains(@href,'exclusiveloader.com')]");
  8028. }
  8029. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8030. {
  8031. addFileHost(
  8032. "sharerapid\.cz\/\\w+",
  8033. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8034. 'error_div">|404 - Not Found',
  8035. 'optional--',
  8036. 'optional2--',
  8037. "//a[contains(@href,'sharerapid.cz')]");
  8038. }
  8039. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8040. {
  8041. addFileHost(
  8042. "sdilej\.cz\/\\w+",
  8043. 'class="page-download"',
  8044. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8045. 'optional--',
  8046. 'optional2--',
  8047. "//a[contains(@href,'sdilej.cz')]");
  8048. }
  8049. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8050. {
  8051. addFileHost(
  8052. "lafiles\.com\/\\w+",
  8053. '<div id="pay_modes">',
  8054. '<b class="err"></b>',
  8055. 'optional--',
  8056. 'optional2--',
  8057. "//a[contains(@href,'lafiles.com')]");
  8058. }
  8059. if (GM_getValue("Check_acefile_dot_net_links", false))
  8060. {
  8061. addFileHost(
  8062. "acefile\.net\/\\w+",
  8063. 'align=right nowrap><b>',
  8064. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8065. 'optional--',
  8066. 'optional2--',
  8067. "//a[contains(@href,'acefile.net')]");
  8068. }
  8069. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8070. {
  8071. addFileHost(
  8072. "megarapid\.cz\/\\w+",
  8073. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8074. 'error_div">|404 - Not Found',
  8075. 'optional--',
  8076. 'optional2--',
  8077. "//a[contains(@href,'megarapid.cz')]");
  8078. }
  8079. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8080. {
  8081. addFileHost(
  8082. "yadi\.sk\/\\w+",
  8083. 'nb-button _nb-small-button',
  8084. 'error code|Nothing found',
  8085. 'optional--',
  8086. 'optional2--',
  8087. "//a[contains(@href,'yadi.sk')]");
  8088. }
  8089. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8090. {
  8091. addFileHost(
  8092. "hitfile\.net\/\\w+",
  8093. 'class="download-file',
  8094. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8095. 'optional--',
  8096. 'optional2--',
  8097. "//a[contains(@href,'hitfile.net')]");
  8098. }
  8099. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8100. {
  8101. addFileHost(
  8102. "up.top4top\.net\/\\w+",
  8103. 'start Downlod template',
  8104. 'start err template',
  8105. 'optional--',
  8106. 'optional2--',
  8107. "//a[contains(@href,'up.top4top.net')]");
  8108. }
  8109. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8110. {
  8111. addFileHost(
  8112. "filejoker\.net",
  8113. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8114. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8115. 'optional--',
  8116. 'id="download" class="premium-only">',
  8117. "//a[contains(@href,'filejoker.net')]");
  8118. }
  8119. if (GM_getValue("Check_free_dot_fr_links", false))
  8120. {
  8121. addFileHost(
  8122. "(?:dl.\\.|)free\\.fr",
  8123. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8124. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8125. 'optional--',
  8126. 'optional2--',
  8127. "//a[contains(@href,'dl.free.fr')]");
  8128. }
  8129. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8130. {
  8131. addFileHost(
  8132. "gboxes\.com\/\\w+",
  8133. 'You have requested|color="red">http://www.gboxes.com',
  8134. 'File Not Found|<div style="width:500px;text-align:left;">',
  8135. 'optional--',
  8136. 'optional2--',
  8137. "//a[contains(@href,'gboxes.com')]");
  8138. }
  8139. if (GM_getValue("Check_led_dot_wf_links", false))
  8140. {
  8141. addFileHost(
  8142. "led\.wf\/\\w+",
  8143. 'logo_0.png|downloads.gif"|verifycode',
  8144. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8145. 'optional--',
  8146. 'available only for Premium users',
  8147. "//a[contains(@href,'led.wf')]");
  8148. }
  8149. if (GM_getValue("Check_lan_dot_wf_links", false))
  8150. {
  8151. addFileHost(
  8152. "lan\.wf\/\\w+",
  8153. 'logo_0.png|downloads.gif"|verifycode',
  8154. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8155. 'optional--',
  8156. 'available only for Premium users',
  8157. "//a[contains(@href,'lan.wf')]");
  8158. }
  8159. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8160. {
  8161. addFileHost(
  8162. "adlink\.wf\/\\w+",
  8163. 'logo_0.png|downloads.gif"|verifycode',
  8164. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8165. 'optional--',
  8166. 'available only for Premium users',
  8167. "//a[contains(@href,'adlink.wf')]");
  8168. }
  8169. if (GM_getValue("Check_click_dot_tf_links", false))
  8170. {
  8171. addFileHost(
  8172. "click\.tf\/\\w+",
  8173. 'logo_0.png|downloads.gif"|verifycode',
  8174. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8175. 'optional--',
  8176. 'available only for Premium users',
  8177. "//a[contains(@href,'click.tf')]");
  8178. }
  8179. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8180. {
  8181. addFileHost(
  8182. "ssh\.tf\/\\w+",
  8183. 'logo_0.png|downloads.gif"|verifycode',
  8184. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8185. 'optional--',
  8186. 'available only for Premium users',
  8187. "//a[contains(@href,'ssh.tf')]");
  8188. }
  8189. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8190. {
  8191. addFileHost(
  8192. "ssh\.yt\/\\w+",
  8193. 'logo_0.png|downloads.gif"|verifycode',
  8194. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8195. 'optional--',
  8196. 'available only for Premium users',
  8197. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8198. }
  8199. if (GM_getValue("Check_yep_dot_pm_links", false))
  8200. {
  8201. addFileHost(
  8202. "yep\.pm\/\\w+",
  8203. 'logo_0.png|downloads.gif"|verifycode',
  8204. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8205. 'optional--',
  8206. 'available only for Premium users',
  8207. "//a[contains(@href,'yep.pm')]");
  8208. }
  8209. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8210. {
  8211. addFileHost(
  8212. "kyc\.pm\/\\w+",
  8213. 'logo_0.png|downloads.gif"|verifycode',
  8214. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8215. 'optional--',
  8216. 'available only for Premium users',
  8217. "//a[contains(@href,'kyc.pm')]");
  8218. }
  8219. if (GM_getValue("Check_brupload_dot_net_links", false))
  8220. {
  8221. addFileHost(
  8222. "brupload\.net\/\\w+",
  8223. 'Download Gratuito',
  8224. '<div style="width:500px;text-align:left;">',
  8225. 'optional--',
  8226. 'optional2--',
  8227. "//a[contains(@href,'brupload.net')]");
  8228. }
  8229. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8230. {
  8231. addFileHost(
  8232. "cloudzilla\.to\/\\w+",
  8233. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8234. 'File not found|/imgs/broken.png',
  8235. 'optional--',
  8236. 'optional2--',
  8237. "//a[contains(@href,'cloudzilla.to')]");
  8238. }
  8239. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8240. {
  8241. addFileHost(
  8242. "clicknupload\.com\/\\w+",
  8243. 'name="method_free',
  8244. 'File Not Found',
  8245. 'optional--',
  8246. 'optional2--',
  8247. "//a[contains(@href,'clicknupload.com')]");
  8248. }
  8249. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8250. {
  8251. addFileHost(
  8252. "clicknupload\.me\/\\w+",
  8253. 'name="method_free',
  8254. 'File Not Found',
  8255. 'optional--',
  8256. 'optional2--',
  8257. "//a[contains(@href,'clicknupload.me')]");
  8258. }
  8259. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8260. {
  8261. addFileHost(
  8262. "clicknupload\.link\/\\w+",
  8263. 'name="method_free',
  8264. 'File Not Found',
  8265. 'optional--',
  8266. 'optional2--',
  8267. "//a[contains(@href,'clicknupload.link')]");
  8268. }
  8269. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8270. {
  8271. addFileHost(
  8272. "ex-load\.com\/\\w+",
  8273. 'name="method_free|<p>Download File:</p>',
  8274. 'Folder Not Found|File Not Found|Error 404',
  8275. 'optional--',
  8276. 'class="downprem wow bounceInLeft',
  8277. "//a[contains(@href,'ex-load.com')]");
  8278. }
  8279. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8280. {
  8281. addFileHost(
  8282. "hexupload\.com\/\\w+",
  8283. 'button" value="Free|type="submit" value=""',
  8284. 'File Not Found|<div style="width:500px;text-align:left;">',
  8285. 'optional--',
  8286. 'optional2--',
  8287. "//a[contains(@href,'hexupload.com')]");
  8288. }*/
  8289. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8290. {
  8291. addFileHost(
  8292. "wizupload\.com\/\\w+",
  8293. 'btn_download|class="downloadbtn"',
  8294. '>File Not Found<',
  8295. 'optional--',
  8296. 'optional2--',
  8297. "//a[contains(@href,'wizupload.com')]");
  8298. }
  8299. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8300. {
  8301. addFileHost(
  8302. "inclouddrive\.com\/\\w+",
  8303. 'initfreedownload',
  8304. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8305. 'optional--',
  8306. 'optional2--',
  8307. "//a[contains(@href,'inclouddrive.com')]");
  8308. }
  8309. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8310. {
  8311. addFileHost(
  8312. "radicalshare\.com\/\\w+",
  8313. 'value="download1|name="method_free"',
  8314. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8315. 'optional--',
  8316. 'optional2--',
  8317. "//a[contains(@href,'radicalshare.com')]");
  8318. }*/
  8319. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8320. {
  8321. addFileHost(
  8322. "sharemods\.com\/\\w+",
  8323. 'name="method_free"',
  8324. 'File Not Found<',
  8325. 'optional--',
  8326. 'optional2--',
  8327. "//a[contains(@href,'sharemods.com')]");
  8328. }
  8329. if (GM_getValue("Check_hostr_dot_co_links", false))
  8330. {
  8331. addFileHost(
  8332. "hostr\.co\/\\w+",
  8333. 'method="get"',
  8334. 'File not found<|error-page',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'hostr.co')]");
  8338. }
  8339. if (GM_getValue("Check_filepi_dot_com_links", false))
  8340. {
  8341. addFileHost(
  8342. "filepi\.com\/\\w+",
  8343. 'id="button_start">',
  8344. 'File not found',
  8345. 'optional--',
  8346. 'optional2--',
  8347. "//a[contains(@href,'filepi.com')]");
  8348. }
  8349. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8350. {
  8351. addFileHost(
  8352. "tikfile\.com\/\\w+",
  8353. 'btn_download',
  8354. 'File Not Found|file was removed|Reason for deletion',
  8355. 'optional--',
  8356. 'optional2--',
  8357. "//a[contains(@href,'tikfile.com')]");
  8358. }
  8359. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8360. {
  8361. addFileHost(
  8362. "cloudsix\.me\/\\w+",
  8363. 'name="method_free"',
  8364. 'File Not Found|width:500px;text-align:left;">',
  8365. 'optional--',
  8366. 'optional2--',
  8367. "//a[contains(@href,'cloudsix.me')]");
  8368. }
  8369. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8370. {
  8371. addFileHost(
  8372. "neodrive\.co\/\\w+",
  8373. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8374. 'File not found|/imgs/broken.png',
  8375. 'optional--',
  8376. 'optional2--',
  8377. "//a[contains(@href,'neodrive.co')]");
  8378. }
  8379. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8380. {
  8381. addFileHost(
  8382. "chayfile\.com\/\\w+",
  8383. 'name="method_free"',
  8384. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8385. 'optional--',
  8386. 'optional2--',
  8387. "//a[contains(@href,'chayfile.com')]");
  8388. }
  8389. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8390. {
  8391. addFileHost(
  8392. "xfileload\.com\/\\w+",
  8393. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8394. 'The file you were looking for could not be found, sorry for any inconvenience.|Die von Ihnen angeforderte Datei konnte nicht gefunden werden..|le fichier que vous recherchiez ne pourrait pas etre trouve, désole pour aucun derangement|لم يتم إيجاد الملف المطلوب , عذراً للإزعاج|Istenen dosya bulunamadД±..|Plik ktorego szukasz nie zostal odnaleziony na naszych serwerach, przepraszamy.|El archivo que usted buscaba no podrнa ser encontrado, arrepentido para ningъn inconveniente.|File yang sedang anda cari tidak dapat ditemukan, maaf untuk ketidaknyamanan anda saat ini.|De bestand waar u naar zocht is niet gevonden, excuses voor het ongemak..|הקובץ שחיפשת לא נמצא.',
  8395. 'optional--',
  8396. 'optional2--',
  8397. "//a[contains(@href,'xfileload.com')]");
  8398. }*/
  8399. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8400. {
  8401. addFileHost(
  8402. "rockfile\.eu\/\\w+",
  8403. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8404. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8405. 'optional--',
  8406. 'optional2--',
  8407. "//a[contains(@href,'rockfile.eu')]",
  8408. true);
  8409. }
  8410. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8411. {
  8412. addFileHost(
  8413. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8414. 'i/icon/dll.png"|>Start download<br',
  8415. 'no longer available<|i/ino.png"',
  8416. 'optional--',
  8417. 'optional2--',
  8418. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8419. }
  8420. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8421. {
  8422. addFileHost(
  8423. "ozofiles\.com\/\\w+",
  8424. 'button" value="Free|name="method_free',
  8425. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8426. 'optional--',
  8427. 'optional2--',
  8428. "//a[contains(@href,'ozofiles.com')]");
  8429. }
  8430. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8431. {
  8432. addFileHost(
  8433. "userscloud\.com\/\\w+",
  8434. 'btn_download|class="label label-success">',
  8435. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8436. 'optional--',
  8437. 'optional2--',
  8438. "//a[contains(@href,'userscloud.com')]");
  8439. }
  8440. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8441. {
  8442. addFileHost(
  8443. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8444. 'class="button download',
  8445. 'internal server error',
  8446. 'optional--',
  8447. 'optional2--',
  8448. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8449. }
  8450. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8451. {
  8452. addFileHost(
  8453. "kb.simple-aja\.info\/\\w+",
  8454. 'class="button download',
  8455. 'internal server error|<p>404</p>',
  8456. 'optional--',
  8457. 'optional2--',
  8458. "//a[contains(@href,'kb.simple')]");
  8459. }
  8460. if (GM_getValue("Check_faststore_dot_org_links", false))
  8461. {
  8462. addFileHost(
  8463. "faststore\.org\/\\w+",
  8464. 'name="method_free',
  8465. 'File Not Found',
  8466. 'optional--',
  8467. 'optional2--',
  8468. "//a[contains(@href,'faststore.org')]");
  8469. }
  8470. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8471. {
  8472. addFileHost(
  8473. "prefiles\.com\/\\w+",
  8474. 'id="method_free',
  8475. 'File not Found',
  8476. 'optional--',
  8477. 'optional2--',
  8478. "//a[contains(@href,'prefiles.com')]");
  8479. }
  8480. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8481. {
  8482. addFileHost(
  8483. "doraupload\.com\/\\w+",
  8484. 'btn_download|name="method_free',
  8485. 'class="error-code|Could Not Be Found',
  8486. 'optional--',
  8487. 'optional2--',
  8488. "//a[contains(@href,'doraupload.com')]");
  8489. }
  8490. if (GM_getValue("Check_openload_dot_io_links", false))
  8491. {
  8492. addFileHost(
  8493. "openload\.io\/\\w+",
  8494. 'btn btn-primary|class="count">|secondsleftouter',
  8495. 'class="jumbotron">|We are sorry',
  8496. 'optional--',
  8497. 'optional2--',
  8498. "//a[contains(@href,'openload.io')]");
  8499. }
  8500. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8501. {
  8502. addFileHost(
  8503. "zxcfiles\.com\/\\w+",
  8504. 'class="downloadbtn',
  8505. 'File Not Found',
  8506. 'optional--',
  8507. 'optional2--',
  8508. "//a[contains(@href,'zxcfiles.com')]");
  8509. }
  8510. if (GM_getValue("Check_up07_dot_net_links", false))
  8511. {
  8512. addFileHost(
  8513. "up07\.net\/\\w+",
  8514. 'name="method_free',
  8515. 'File Not Found',
  8516. 'optional--',
  8517. 'optional2--',
  8518. "//a[contains(@href,'up07.net')]");
  8519. }
  8520. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8521. {
  8522. addFileHost(
  8523. "fileupload\.pw\/\\w+",
  8524. 'value="Free"',
  8525. 'File Not Found',
  8526. 'optional--',
  8527. 'optional2--',
  8528. "//a[contains(@href,'fileupload.pw')]");
  8529. }
  8530. if (GM_getValue("Check_4upld_dot_com_links", false))
  8531. {
  8532. addFileHost(
  8533. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8534. 'alt="Download Now"|content="Download file">|btn-free-element',
  8535. '<title>Error|content="error|File not found',
  8536. 'optional--',
  8537. 'optional2--',
  8538. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8539. }
  8540. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8541. {
  8542. addFileHost(
  8543. "(?:.swoopshare)\\.com\/\\w+",
  8544. 'Click below to start|Klicken Sie nachfolgend|Cliquez ci-après pour|Cliccate qui per iniziare|Klik hierna om het bestand|Haga ahora clic para iniciar la',
  8545. '<input type="file" name="f"',
  8546. 'optional--',
  8547. 'optional2--',
  8548. "//a[contains(@href,'swoopshare.com')]"
  8549. );
  8550. }
  8551. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8552. {
  8553. addFileHost(
  8554. "cloudshares\.net\/\\w+",
  8555. '"method_free|"Low Speed Download|submit" name="go',
  8556. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'cloudshares.net')]"
  8560. );
  8561. }
  8562. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8563. {
  8564. addFileHost(
  8565. "allmyvideos\.net\/\\w+",
  8566. 'Continue to Video',
  8567. 'File Not Found|class="err">Removed for',
  8568. 'optional--',
  8569. 'optional2--',
  8570. "//a[contains(@href,'allmyvideos.net')]"
  8571. );
  8572. } */
  8573. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8574. {
  8575. addFileHost(
  8576. "vodlocker\.com\/\\w+",
  8577. 'Proceed to video',
  8578. 'Not Found',
  8579. 'optional--',
  8580. 'optional2--',
  8581. "//a[contains(@href,'vodlocker.com')]"
  8582. );
  8583. }
  8584. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "vidbull\.com\/\\w+",
  8588. 'Verifying Video Request',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'vidbull.com')]");
  8593. }
  8594. if (GM_getValue("Check_novamov_dot_com_links", false))
  8595. {
  8596. addFileHost(
  8597. "novamov\.com\/\\w+",
  8598. 'For version detection',
  8599. 'file no longer exists',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'novamov.com')]"
  8603. );
  8604. }
  8605. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8606. {
  8607. addFileHost(
  8608. "filehoot\.com\/\\w+",
  8609. 'Continue to watch',
  8610. 'File Not Found',
  8611. 'optional--',
  8612. 'optional2--',
  8613. "//a[contains(@href,'filehoot.com')]"
  8614. );
  8615. }
  8616. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8617. {
  8618. addFileHost(
  8619. "stagevu\.com\/\\w+",
  8620. 'Video Info',
  8621. 'No video with the provided',
  8622. 'optional--',
  8623. 'optional2--',
  8624. "//a[contains(@href,'stagevu.com')]"
  8625. );
  8626. }
  8627. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8628. {
  8629. addFileHost(
  8630. "cloudtime\.to\/\\w+",
  8631. 'Download the video',
  8632. 'no longer exists',
  8633. 'optional--',
  8634. 'optional2--',
  8635. "//a[contains(@href,'cloudtime.to')]"
  8636. );
  8637. }
  8638. if (GM_getValue("Check_streamin_dot_to_links", false))
  8639. {
  8640. addFileHost(
  8641. "streamin\.to\/\\w+",
  8642. 'id="btn_download',
  8643. 'Not Found|Copyright Infringement|File Deleted',
  8644. 'optional--',
  8645. 'optional2--',
  8646. "//a[contains(@href,'streamin.to')]"
  8647. );
  8648. }
  8649. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8650. {
  8651. addFileHost(
  8652. "videoweed\.es\/\\w+",
  8653. 'version detection',
  8654. 'no longer exists',
  8655. 'optional--',
  8656. 'optional2--',
  8657. "//a[contains(@href,'videoweed.es')]"
  8658. );
  8659. }
  8660. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8661. {
  8662. addFileHost(
  8663. "nowvideo\.sx\/\\w+",
  8664. 'Download this video|value="submit">Continue',
  8665. 'no longer exists',
  8666. 'optional--',
  8667. 'optional2--',
  8668. "//a[contains(@href,'nowvideo.sx')]"
  8669. );
  8670. }
  8671. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8672. {
  8673. addFileHost(
  8674. "thevideo\.me\/\\w+",
  8675. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8676. 'File Not Found',
  8677. 'optional--',
  8678. 'optional2--',
  8679. "//a[contains(@href,'thevideo.me')]"
  8680. );
  8681. }
  8682. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8683. {
  8684. addFileHost(
  8685. "gorillavid\.in\/\\w+",
  8686. 'Wait 5 seconds',
  8687. 'File Not Found',
  8688. 'optional--',
  8689. 'optional2--',
  8690. "//a[contains(@href,'gorillavid.in')]"
  8691. );
  8692. }
  8693. if (GM_getValue("Check_thefile_dot_me_links", false))
  8694. {
  8695. addFileHost(
  8696. "thefile\.me\/\\w+",
  8697. 'Choose free or',
  8698. '',
  8699. 'optional--',
  8700. 'optional2--',
  8701. "//a[contains(@href,'thefile.me')]"
  8702. );
  8703. }
  8704. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8705. {
  8706. addFileHost(
  8707. "vidzi\.tv\/\\w+",
  8708. 'video-embed-modal row',
  8709. 'File Not Found|file was deleted',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'vidzi.tv')]"
  8713. );
  8714. }
  8715. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8716. {
  8717. addFileHost(
  8718. "filenuke\.com\/\\w+",
  8719. 'Download File',
  8720. 'Earn with us',
  8721. 'optional--',
  8722. 'optional2--',
  8723. "//a[contains(@href,'filenuke.com')]"
  8724. );
  8725. }
  8726. if (GM_getValue("Check_vidto_dot_me_links", false))
  8727. {
  8728. addFileHost(
  8729. "vidto\.me\/\\w+",
  8730. 'Proceed to video',
  8731. 'Not Found',
  8732. 'optional--',
  8733. 'optional2--',
  8734. "//a[contains(@href,'vidto.me')]"
  8735. );
  8736. }
  8737. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8738. {
  8739. addFileHost(
  8740. "vidspot\.net\/\\w+",
  8741. 'Duration|method_free',
  8742. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8743. 'optional--',
  8744. 'optional2--',
  8745. "//a[contains(@href,'vidspot.net')]"
  8746. );
  8747. } */
  8748. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8749. {
  8750. addFileHost(
  8751. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8752. 'Download File',
  8753. 'File Not Found',
  8754. 'optional--',
  8755. 'optional2--',
  8756. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8757. );
  8758. }
  8759. if (GM_getValue("Check_movpod_dot_in_links", false))
  8760. {
  8761. addFileHost(
  8762. "movpod\.in\/\\w+",
  8763. 'Continue',
  8764. 'File Not Found',
  8765. 'optional--',
  8766. 'optional2--',
  8767. "//a[contains(@href,'movpod.in')]"
  8768. );
  8769. }
  8770. if (GM_getValue("Check_down4files_dot_com_links", false))
  8771. {
  8772. addFileHost(
  8773. "down4files\.com\/\\w+",
  8774. 'down_table.png',
  8775. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8776. 'optional--',
  8777. 'optional2--',
  8778. "//a[contains(@href,'down4files.com')]"
  8779. );
  8780. }
  8781. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8782. {
  8783. addFileHost(
  8784. "storefiles\.co\/\\w+",
  8785. 'btn_download',
  8786. 'No such file|>Error<|mqmaintitle">',
  8787. 'optional--',
  8788. 'optional2--',
  8789. "//a[contains(@href,'storefiles.co')]"
  8790. );
  8791. }*/
  8792. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8793. {
  8794. addFileHost(
  8795. "filehost\.pw\/\\w+",
  8796. 'name="method_free',
  8797. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8798. 'optional--',
  8799. 'optional2--',
  8800. "//a[contains(@href,'filehost.pw')]"
  8801. );
  8802. }
  8803. if (GM_getValue("Check_uplea_dot_com_links", false))
  8804. {
  8805. addFileHost(
  8806. "uplea\.com\/\\w+",
  8807. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8808. 'expired link|ou est invalide',
  8809. 'optional--',
  8810. 'optional2--',
  8811. "//a[contains(@href,'uplea.com/dl')]",
  8812. true);
  8813. }
  8814. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8815. {
  8816. addFileHost(
  8817. "toutbox\.fr\/\\w+",
  8818. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8819. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8820. 'Serviço temporariamente indisponível',
  8821. 'optional2--',
  8822. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8823. );
  8824. }*/
  8825. if (GM_getValue("Check_openload_dot_co_links", false))
  8826. {
  8827. addFileHost(
  8828. "openload\.co\/\\w+",
  8829. 'id="downloadTimer">|button dlbutton',
  8830. 'jumbotron{color|got deleted|center !important',
  8831. 'optional--',
  8832. 'optional2--',
  8833. "//a[contains(@href,'openload.co')]"
  8834. );
  8835. }
  8836. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8837. {
  8838. addFileHost(
  8839. "lolabits\.es\/\\w+",
  8840. 'Descargar:',
  8841. '<title>Archivos de usuario',
  8842. 'Service Unavailable',
  8843. 'optional2--',
  8844. "//a[contains(@href,'lolabits.es')]"
  8845. );
  8846. }*/
  8847. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8848. {
  8849. addFileHost(
  8850. "alfafile\.net\/\\w+",
  8851. 'id="slow_download_btn',
  8852. 'class="error-box">',
  8853. 'optional--',
  8854. 'optional2--',
  8855. "//a[contains(@href,'alfafile.net')]"
  8856. );
  8857. }
  8858. if (GM_getValue("Check_multiup_dot_org_links", false))
  8859. {
  8860. addFileHost(
  8861. "multiup\\.(?:org|eu)\/\\w+",
  8862. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8863. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8864. 'optional--',
  8865. 'optional2--',
  8866. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8867. );
  8868. }
  8869. if (GM_getValue("Check_file_dot_al_links", false))
  8870. {
  8871. addFileHost(
  8872. "file\\.al",
  8873. 'method_free',
  8874. 'style="width:500px;text-align:left;">',
  8875. 'optional--',
  8876. 'optional2--',
  8877. "//a[contains(@href,'file.al')]"
  8878. );
  8879. }
  8880. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8881. {
  8882. addFileHost(
  8883. "devilshare\.net\/\\w+",
  8884. '<div class="large-12" id="download">',
  8885. '(Link: 0 Invalid)|File Not Found',
  8886. 'optional--',
  8887. 'optional2--',
  8888. "//a[contains(@href,'devilshare.net')]"
  8889. );
  8890. }
  8891. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8892. {
  8893. addFileHost(
  8894. "dailyuploads\.net\/\\w+",
  8895. 'id="downloadBtnClickOrignal',
  8896. '<div style="width:500px;text-align:left;">',
  8897. 'optional--',
  8898. 'optional2--',
  8899. "//a[contains(@href,'dailyuploads.net')]"
  8900. );
  8901. }
  8902. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8903. {
  8904. addFileHost(
  8905. "datoteke\.com\/\\w+",
  8906. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8907. '&nbsp;File has been removed',
  8908. 'optional--',
  8909. '<title>Error - Datoteke',
  8910. "//a[contains(@href,'datoteke.com')]"
  8911. );
  8912. }
  8913. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8914. {
  8915. addFileHost(
  8916. "sharehost\.eu\/\\w+",
  8917. '/?v=download_free&',
  8918. 'Errors occured|Wystąpiły błędy',
  8919. 'optional--',
  8920. 'optional2--',
  8921. "//a[contains(@href,'sharehost.eu')]"
  8922. );
  8923. }
  8924. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8925. {
  8926. addFileHost(
  8927. "pornfile\.cz",
  8928. 'Stáhnout soubor|Stáhnout pomalu',
  8929. 'Soubor byl smazán|Stránka nenalezena',
  8930. 'optional--',
  8931. 'optional2--',
  8932. "//a[contains(@href,'pornfile.cz')]"
  8933. );
  8934. }
  8935. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8936. {
  8937. addFileHost(
  8938. "pornoid\.cz\/\\w+",
  8939. 'class="btn btn-large btn-download',
  8940. 'Soubor byl smazán',
  8941. 'optional--',
  8942. 'optional2--',
  8943. "//a[contains(@href,'pornoid.cz')]"
  8944. );
  8945. }
  8946. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8947. {
  8948. addFileHost(
  8949. "file-share\.top\/\\w+",
  8950. 'btn-success btn-lg download',
  8951. 'Stránka neexistuje|404 Not Found',
  8952. 'optional--',
  8953. 'optional2--',
  8954. "//a[contains(@href,'file-share.top')]"
  8955. );
  8956. }
  8957. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8958. {
  8959. addFileHost(
  8960. "bitster\.cz\/",
  8961. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8962. 'section" content=""',
  8963. 'optional--',
  8964. 'optional2--',
  8965. "//a[contains(@href,'bitster.cz')]"
  8966. );
  8967. }
  8968. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8969. {
  8970. addFileHost(
  8971. "rapidu\.net\/\\w+",
  8972. 'onclick="downloadFreeFile',
  8973. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8974. 'optional--',
  8975. 'optional2--',
  8976. "//a[contains(@href,'rapidu.net')]"
  8977. );
  8978. }
  8979. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8980. {
  8981. addFileHost(
  8982. "dinoshare\.cz\/\\w+",
  8983. 'class="download-button"',
  8984. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8985. 'optional--',
  8986. 'optional2--',
  8987. "//a[contains(@href,'dinoshare.cz')]"
  8988. );
  8989. }
  8990. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8991. {
  8992. addFileHost(
  8993. "bytewhale\.com\/\\w+",
  8994. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8995. 'var rawest = "0 MB|Copyrights Claim</div>',
  8996. 'optional--',
  8997. 'This file is available for premium members only',
  8998. "//a[contains(@href,'bytewhale.com')]"
  8999. );
  9000. }
  9001. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9002. {
  9003. addFileHost(
  9004. "rapidrar\.com\/\\w+",
  9005. 'value="Free Download',
  9006. '<div style="width:500px;text-align:left;">',
  9007. 'optional--',
  9008. 'optional--',
  9009. "//a[contains(@href,'rapidrar.com')]"
  9010. );
  9011. }
  9012. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9013. {
  9014. addFileHost(
  9015. "filesupload\.org\/\\w+",
  9016. '<a href="/download-or-watch/',
  9017. 'File not found',
  9018. 'optional--',
  9019. 'optional--',
  9020. "//a[contains(@href,'filesupload.org')]"
  9021. );
  9022. }
  9023. if (GM_getValue("Check_filecad_dot_com_links", false))
  9024. {
  9025. addFileHost(
  9026. "filecad\.com\/\\w+",
  9027. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9028. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9029. 'optional--',
  9030. 'optional--',
  9031. "//a[contains(@href,'filecad.com')]"
  9032. );
  9033. }
  9034. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9035. {
  9036. addFileHost(
  9037. "file.up09\.com\/\\w+",
  9038. 'name="method_free',
  9039. 'style="width:500px;text-align:left;">',
  9040. 'optional--',
  9041. 'optional--',
  9042. "//a[contains(@href,'file.up09.com')]"
  9043. );
  9044. }
  9045. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9046. {
  9047. addFileHost(
  9048. "lunaticfiles\.com\/\\w+",
  9049. 'name="method_free"',
  9050. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9051. 'optional--',
  9052. 'optional--',
  9053. "//a[contains(@href,'lunaticfiles.com')]"
  9054. );
  9055. }
  9056. if (GM_getValue("Check_upload_dot_af_links", false))
  9057. {
  9058. addFileHost(
  9059. "upload\.af\/\\w+",
  9060. 'id="method_free"',
  9061. '<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|ファイルが見つかりません',
  9062. 'optional--',
  9063. 'optional--',
  9064. "//a[contains(@href,'upload.af')]"
  9065. );
  9066. }
  9067. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9068. {
  9069. addFileHost(
  9070. "filedwon\.info\/\\w+",
  9071. 'name="method_free"',
  9072. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9073. 'optional--',
  9074. 'optional--',
  9075. "//a[contains(@href,'filedwon.info')]"
  9076. );
  9077. }
  9078. if (GM_getValue("Check_uplod_dot_it_links", false))
  9079. {
  9080. addFileHost(
  9081. "uplod\.it\/\\w+",
  9082. 'value="download2">|name="method_free',
  9083. '<Title>Download </Title>',
  9084. 'optional--',
  9085. 'optional--',
  9086. "//a[contains(@href,'uplod.it')]"
  9087. );
  9088. }
  9089. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9090. {
  9091. addFileHost(
  9092. "abelhas\.pt\/\\w+",
  9093. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9094. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9095. 'optional--',
  9096. 'optional--',
  9097. "//a[contains(@href,'abelhas.pt')]"
  9098. );
  9099. } */
  9100. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9101. {
  9102. addFileHost(
  9103. "disk.yandex\.com\/\\w+",
  9104. 'nb-button _nb-small-button',
  9105. 'error code|Nothing found',
  9106. 'optional--',
  9107. 'optional2--',
  9108. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9109. }
  9110. if (GM_getValue("Check_filespace_dot_com_links", false))
  9111. {
  9112. addFileHost(
  9113. "filespace\.com\/\\w+",
  9114. '"method_free',
  9115. '<div style="text-align:left;"><ul>|>File not found.<',
  9116. 'optional1--',
  9117. 'optional2--',
  9118. "//a[contains(@href,'filespace.com')]");
  9119. }
  9120. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9121. {
  9122. addFileHost(
  9123. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9124. 'name="downloadFile|id="downloadFile|value="Wait',
  9125. '<title>File not found</title>|>Error:<',
  9126. 'optional1--',
  9127. 'optional2--',
  9128. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9129. }
  9130. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9131. {
  9132. addFileHost(
  9133. "ncrypt\.in\/\\w+",
  9134. 'Sicherheitsabfrage:|Securitycheck:',
  9135. 'does not exist|existiert nicht',
  9136. 'optional1--',
  9137. 'optional2--',
  9138. "//a[contains(@href,'ncrypt.in')]");
  9139. }
  9140. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9141. {
  9142. addFileHost(
  9143. "jeodrive\.com\/\\w+",
  9144. 'btn-lg regular',
  9145. 'Not found',
  9146. 'optional1--',
  9147. 'optional2--',
  9148. "//a[contains(@href,'jeodrive.com')]");
  9149. }
  9150. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9151. {
  9152. addFileHost(
  9153. "myfiles\.onl\/\\w+",
  9154. 'value="Free"',
  9155. '<div style="width:500px;text-align:left;">',
  9156. 'optional1--',
  9157. 'optional2--',
  9158. "//a[contains(@href,'myfiles.onl')]");
  9159. }
  9160. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9161. {
  9162. addFileHost(
  9163. "uploadserv\.com\/\\w+",
  9164. 'color="red">http://uploadserv.com/',
  9165. 'content="Download File ">|<title>Download </title>',
  9166. 'optional1--',
  9167. 'optional2--',
  9168. "//a[contains(@href,'uploadserv.com')]");
  9169. }
  9170. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9171. {
  9172. addFileHost(
  9173. "keepshare\.net\/\\w+",
  9174. 'method_free',
  9175. '<div style="width:500px;text-align:left;">',
  9176. 'optional1--',
  9177. 'optional2--',
  9178. "//a[contains(@href,'keepshare.net')]");
  9179. }
  9180. if (GM_getValue("Check_oload_dot_net_links", false))
  9181. {
  9182. addFileHost(
  9183. "oload\.net\/\\w+",
  9184. '<font color="red">http://oload.net',
  9185. 'class="page-ttl">',
  9186. 'optional1--',
  9187. 'optional2--',
  9188. "//a[contains(@href,'oload.net')]");
  9189. }
  9190. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9191. {
  9192. addFileHost(
  9193. "filescdn\.com\/\\w+",
  9194. 'btn bg-green-40|btn_download',
  9195. 'icon-warning text-danger',
  9196. 'optional1--',
  9197. 'optional2--',
  9198. "//a[contains(@href,'filescdn.com')]");
  9199. }
  9200. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9201. {
  9202. addFileHost(
  9203. "bankupload\.com\/\\w+",
  9204. 'id="btn_download"|1.0 GB',
  9205. '<div style="width:500px;text-align:left;">',
  9206. 'optional1--',
  9207. ' GB',
  9208. "//a[contains(@href,'bankupload.com')]");
  9209. }
  9210. if (GM_getValue("Check_katfile_dot_com_links", false))
  9211. {
  9212. addFileHost(
  9213. "katfile\.com\/\\w+",
  9214. 'KB| MB|1.0 GB',
  9215. 'images/file_not_found.png"',
  9216. 'optional1--',
  9217. ' GB',
  9218. "//a[contains(@href,'katfile.com')]");
  9219. }
  9220. if (GM_getValue("Check_filesin_dot_space_links", false))
  9221. {
  9222. addFileHost(
  9223. "filesin\.space\/\\w+",
  9224. 'id="btn_download"',
  9225. 'class="err">',
  9226. 'optional1--',
  9227. 'optional2',
  9228. "//a[contains(@href,'filesin.space')]");
  9229. }
  9230. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9231. {
  9232. addFileHost(
  9233. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9234. 'download.php',
  9235. 'notfound|upload\\-suborov\\.php"',
  9236. 'optional--',
  9237. 'optional2--',
  9238. "//a[contains(@href,'upnito.sk')]"
  9239. );
  9240. }
  9241. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9242. {
  9243. addFileHost(
  9244. "alltu\.eu\/\\w+",
  9245. 'download-timer',
  9246. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9247. 'optional1--',
  9248. 'optional2',
  9249. "//a[contains(@href,'alltu.eu')]");
  9250. }
  9251. if (GM_getValue("Check_novafile_dot_com_links", false))
  9252. {
  9253. addFileHost(
  9254. "novafile\.com\/\\w+",
  9255. 'id="regular-download',
  9256. 'id="file-not-found',
  9257. 'optional1--',
  9258. 'id="premium-only',
  9259. "//a[contains(@href,'novafile.com')]");
  9260. }
  9261. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9262. {
  9263. addFileHost(
  9264. "uploadgig\.com\/\\w+",
  9265. 'btn-default',
  9266. 'File not found',
  9267. 'optional1--',
  9268. 'optional2',
  9269. "//a[contains(@href,'uploadgig.com')]");
  9270. }
  9271. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9272. {
  9273. addFileHost(
  9274. "mexashare\.com\/\\w+",
  9275. 'method_free',
  9276. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9277. 'optional1--',
  9278. 'optional2',
  9279. "//a[contains(@href,'mexashare.com')]");
  9280. }
  9281. if (GM_getValue("Check_daofile_dot_com_links", false))
  9282. {
  9283. addFileHost(
  9284. "daofile\.com\/\\w+",
  9285. 'class="captcha_code',
  9286. 'style="width:500px;text-align:left;">',
  9287. 'optional1--',
  9288. 'optional2',
  9289. "//a[contains(@href,'daofile.com')]");
  9290. }
  9291. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9292. {
  9293. addFileHost(
  9294. "imagenetz\.de\/\\w+",
  9295. 'id="download',
  9296. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9297. 'optional1--',
  9298. 'optional2',
  9299. "//a[contains(@href,'imagenetz.de')]");
  9300. }
  9301. if (GM_getValue("Check_uloz_dot_to_links", false))
  9302. {
  9303. addFileHost(
  9304. "uloz\.to",
  9305. 'limitedDownloadButton|Stáhnout pomalu',
  9306. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9307. 'optional1--',
  9308. 'optional2',
  9309. "//a[contains(@href,'uloz.to')]");
  9310. }
  9311. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9312. {
  9313. addFileHost(
  9314. "ulozto.net",
  9315. 'limitedDownloadButton|Stáhnout pomalu',
  9316. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9317. 'optional1--',
  9318. 'optional2',
  9319. "//a[contains(@href,'ulozto.net')]");
  9320. }
  9321. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9322. {
  9323. addFileHost(
  9324. "ulozto\.sk",
  9325. 'limitedDownloadButton|Stáhnout pomalu',
  9326. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9327. 'optional1--',
  9328. 'optional2',
  9329. "//a[contains(@href,'ulozto.sk')]");
  9330. }
  9331. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9332. {
  9333. addFileHost(
  9334. "ulozto\.cz",
  9335. 'limitedDownloadButton|Stáhnout pomalu',
  9336. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9337. 'optional1--',
  9338. 'optional2',
  9339. "//a[contains(@href,'ulozto.cz')]");
  9340. }
  9341. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9342. {
  9343. addFileHost(
  9344. "subyshare\.com\/\\w+",
  9345. 'id="method_free',
  9346. 'file was removed|class="err">|1s">404',
  9347. 'optional1--',
  9348. 'optional2',
  9349. "//a[contains(@href,'subyshare.com')]",
  9350. true);
  9351. }
  9352. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9353. {
  9354. addFileHost(
  9355. "fileshareup\.com\/\\w+",
  9356. 'download-timer|btn-free-element|content="Download file',
  9357. 'content="Error"|content="error|heading-1">Error<',
  9358. 'optional1--',
  9359. 'optional2',
  9360. "//a[contains(@href,'fileshareup.com')]");
  9361. }
  9362. if (GM_getValue("Check_mystore_dot_to_links", false))
  9363. {
  9364. addFileHost(
  9365. "mystore\.to\/\\w+",
  9366. 'Download File',
  9367. 'file not found',
  9368. 'optional1--',
  9369. 'optional2',
  9370. "//a[contains(@href,'mystore.to/dl')]");
  9371. }
  9372. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9373. {
  9374. addFileHost(
  9375. "usercloud\.net\/\\w+",
  9376. 'content="download|var seconds = 60|type="password',
  9377. 'content="error|report_file.html">',
  9378. 'optional1--',
  9379. 'optional2',
  9380. "//a[contains(@href,'usercloud.net')]");
  9381. }
  9382. if (GM_getValue("Check_workupload_dot_com_links", false))
  9383. {
  9384. addFileHost(
  9385. "workupload\.com\/\\w+",
  9386. 'content="Download|id="download"',
  9387. 'File not found|img/not-found.jpg|Error message',
  9388. 'optional1--',
  9389. 'optional2',
  9390. "//a[contains(@href,'workupload.com')]");
  9391. }
  9392. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9393. {
  9394. addFileHost(
  9395. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9396. 'class="download">',
  9397. 'class="error center',
  9398. 'optional1--',
  9399. 'optional2',
  9400. "//a[contains(@href,'storageserver.co.uk')]");
  9401. }
  9402. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9403. {
  9404. addFileHost(
  9405. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9406. '"kind": "file"',
  9407. '"error": "not_exists"',
  9408. 'optional1--',
  9409. 'optional2',
  9410. "//a[contains(@href,'cloud.mail.ru')]");
  9411. }
  9412. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9413. {
  9414. addFileHost(
  9415. "bdupload\.info\/\\w+",
  9416. 'class="downloadbtn">|id="downloadbtn"',
  9417. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9418. 'optional1--',
  9419. 'optional2',
  9420. "//a[contains(@href,'bdupload.info')]");
  9421. }
  9422. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9423. {
  9424. addFileHost(
  9425. "wayupload\.com\/\\w+",
  9426. 'class="nopay-btn gray"',
  9427. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9428. 'optional1--',
  9429. 'optional2',
  9430. "//a[contains(@href,'wayupload.com')]");
  9431. }
  9432. if (GM_getValue("Check_exbit_dot_net_links", false))
  9433. {
  9434. addFileHost(
  9435. "exbit\.net\/\\w+",
  9436. 'class="nopay-btn|href="/download/free/',
  9437. 'File not found',
  9438. 'optional1--',
  9439. 'optional2',
  9440. "//a[contains(@href,'exbit.net')]");
  9441. }
  9442. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9443. {
  9444. addFileHost(
  9445. "uploadocean\.com\/\\w+",
  9446. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9447. 'deleted.png"',
  9448. 'optional1--',
  9449. 'optional2',
  9450. "//a[contains(@href,'uploadocean.com')]");
  9451. }
  9452. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9453. {
  9454. addFileHost(
  9455. "fileflares\.com\/\\w+",
  9456. 'id="downloadbtn"',
  9457. '<div style="width:500px;text-align:left;">',
  9458. 'optional1--',
  9459. 'optional2',
  9460. "//a[contains(@href,'fileflares.com')]");
  9461. }
  9462. if (GM_getValue("Check_erafile_dot_com_links", false))
  9463. {
  9464. addFileHost(
  9465. "erafile\.com\/\\w+",
  9466. 'id="method_free',
  9467. '<div style="width:500px;text-align:left;">',
  9468. 'optional1--',
  9469. 'optional2',
  9470. "//a[contains(@href,'erafile.com')]");
  9471. }
  9472. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9473. {
  9474. addFileHost(
  9475. "suprafiles\.net\/\\w+",
  9476. 'name="method_free"',
  9477. 'File Not Found|style="width:1000px; text-align: left;">',
  9478. 'optional1--',
  9479. 'optional2',
  9480. "//a[contains(@href,'suprafiles.net')]");
  9481. }
  9482. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9483. {
  9484. addFileHost(
  9485. "upfiles\.net\/\\w+",
  9486. 'id="recaptcha2"|snail.png"',
  9487. 'Ten plik został usunięty.|style="margin-top:50px',
  9488. 'optional1--',
  9489. 'optional2',
  9490. "//a[contains(@href,'upfiles.net/f/')]");
  9491. }
  9492. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9493. {
  9494. addFileHost(
  9495. "dailyfiles\.net\/\\w+",
  9496. 'onclick="dwn',
  9497. '<title>Error',
  9498. 'optional1--',
  9499. 'optional2',
  9500. "//a[contains(@href,'dailyfiles.net')]");
  9501. }
  9502. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9503. {
  9504. addFileHost(
  9505. "littlebyte\.net\/\\w+",
  9506. '>Free download<|>Скачать медленно<',
  9507. 'images/dmca.png">',
  9508. 'optional1--',
  9509. 'optional2',
  9510. "//a[contains(@href,'littlebyte.net')]");
  9511. }
  9512. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9513. {
  9514. addFileHost(
  9515. "black\\-label\\.pro\/\\w+",
  9516. 'slow_download_button.png"|td><td title="',
  9517. 'STILL NEED CODE FOR DEAD LINKS',
  9518. 'optional1--',
  9519. 'optional2',
  9520. "//a[contains(@href,'black-label.pro')]");
  9521. }
  9522. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9523. {
  9524. addFileHost(
  9525. "temp\\-share\\.com\/\\w+",
  9526. 'publickey',
  9527. 'STILL NEED CODE FOR DEAD LINKS',
  9528. 'optional1--',
  9529. 'optional2',
  9530. "//a[contains(@href,'temp-share.com')]");
  9531. }
  9532. if (GM_getValue("Check_filesha_dot_com_links", false))
  9533. {
  9534. addFileHost(
  9535. "filesha\.com\/\\w+",
  9536. '>Download Free<',
  9537. 'STILL NEED CODE FOR DEAD LINKS',
  9538. 'optional1--',
  9539. 'optional2',
  9540. "//a[contains(@href,'filesha.com')]");
  9541. }
  9542.  
  9543. }
  9544. //start here
  9545.  
  9546. //hosts with direct download, so they must be requested for headers only
  9547. function initFileHostsHeadersOnly()
  9548. {
  9549. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9550. {
  9551. var host = new Array(5);
  9552. host[0] = linkRegex;
  9553. host[1] = isAliveRegex;
  9554. host[2] = isDeadRegex;
  9555. host[4] = ispremRegex;
  9556. host[3] = xpathEx;
  9557. http_file_hosts_headers_only.push(host);
  9558. }
  9559. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9560. {
  9561. addFileHostHeadersOnly(
  9562. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9563. 'Connection: Keep-Alive',
  9564. 'Content-Length: 3857',
  9565. 'optional2',
  9566. "//a[contains(@href,'uloziste.com')]"
  9567. )
  9568. }
  9569. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9570. {
  9571. addFileHostHeadersOnly(
  9572. "filescdn\.com\/\\w+",
  9573. 'Connection: keep-alive',
  9574. 'Company</Title>',
  9575. 'optional2',
  9576. "//a[contains(@href,'filescdn.com')]"
  9577. )
  9578. } */
  9579. if (GM_getValue("Check_adrive_dot_com_links", false))
  9580. {
  9581. addFileHostHeadersOnly(
  9582. "adrive\\.com\/public\/\\w+",
  9583. 'Connection: keep-alive',
  9584. 'orig_ref=deleted',
  9585. 'optional2',
  9586. "//a[contains(@href,'adrive.com')]"
  9587. )
  9588. }
  9589. }
  9590.  
  9591. //CustomRules
  9592. //functions add...Host copied here
  9593. function addObsoleteHost(linkRegex, xpathEx)
  9594. {
  9595. var host = new Array(2);
  9596. host[0] = linkRegex;
  9597. host[1] = xpathEx;
  9598. http_file_hosts_obsolete.push(host);
  9599. }
  9600. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9601. {
  9602. var host = new Array(7);
  9603. host[0] = linkRegex;
  9604. host[1] = isAliveRegex;
  9605. host[2] = isDeadRegex;
  9606. host[3] = isUnavaRegex;
  9607. host[4] = xpathEx;
  9608. tryLoop ? host[5] = true : host[5] = false;
  9609. host[6] = ispremRegex;
  9610. http_file_hosts.push(host);
  9611. }
  9612. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9613. {
  9614. var host = new Array(5);
  9615. host[0] = linkRegex;
  9616. host[1] = isAliveRegex;
  9617. host[2] = isDeadRegex;
  9618. host[3] = xpathEx;
  9619. host[4] = ispremRegex;
  9620. http_file_hosts_headers_only.push(host);
  9621. }
  9622. //takes a fully built rules array and adds the rules to WARLC
  9623. function applyCustomRules(customRules)
  9624. {
  9625. if (!customRules) return;
  9626. var rules, r, i;
  9627. rules = customRules.rules;
  9628. for (i = 0 ; i < rules.length ; i++)
  9629. {
  9630. r = rules[i];
  9631. if (r.enabled)
  9632. {
  9633. switch (r.type)
  9634. {
  9635. case 'single':
  9636. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9637. break;
  9638. case 'headers':
  9639. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9640. break;
  9641. case 'obsolete':
  9642. addObsoleteHost(r.urlregex, r.xpath)
  9643. break;
  9644. }
  9645. }
  9646. }
  9647. }
  9648.  
  9649.  
  9650. function initFileHostsCustom()
  9651. {
  9652. if (Custom_rules && Custom_rules_text)
  9653. {
  9654. var msg = '';
  9655. if (newVersion)
  9656. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9657. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9658. msg = '60 or more days have passed since this notification.\n\n';
  9659. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9660. {
  9661. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9662. msg +=
  9663. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9664. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9665. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9666. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9667. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9668. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9669. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9670. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9671. setTimeout(function(){alert(msg)},0);
  9672. }
  9673. var customRules = parseCustomRules(Custom_rules_text);
  9674. if (customRules.warning || customRules.error)
  9675. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9676. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9677. JSON.stringify(customRules.info, null, ' '));
  9678. applyCustomRules(customRules);
  9679. }
  9680. }
  9681. //end of CustomRules processing
  9682.  
  9683.  
  9684.  
  9685. } //end of function start
  9686.  
  9687.  
  9688.  
  9689. function initClipBoardTools()
  9690. {
  9691. unsafeWindow.copyToClipboard = function(text)
  9692. {
  9693. try
  9694. {
  9695. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9696.  
  9697. var str = Components.classes["@mozilla.org/supports-string;1"].
  9698. createInstance(Components.interfaces.nsISupportsString);
  9699. if (!str) return false;
  9700.  
  9701. str.data = text;
  9702.  
  9703. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9704. createInstance(Components.interfaces.nsITransferable);
  9705. if (!trans) return false;
  9706.  
  9707. trans.addDataFlavor("text/unicode");
  9708. trans.setTransferData("text/unicode", str, text.length * 2);
  9709.  
  9710. var clipid = Components.interfaces.nsIClipboard;
  9711. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9712. if (!clip) return false;
  9713.  
  9714. clip.setData(trans, null, clipid.kGlobalClipboard);
  9715. } catch (e) {
  9716. GM_log("Error copyToClipboard : " + e);
  9717. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9718. }
  9719. }
  9720. }
  9721.  
  9722.  
  9723.  
  9724. //CustomRules
  9725.  
  9726. function escapeRegex(str)
  9727. {
  9728. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9729. }
  9730.  
  9731.  
  9732. //called internally from parseCustomRules.
  9733. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9734. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9735. function makeCustomRule(rule)
  9736. {
  9737. function makeMatchRegex(arrmatch)
  9738. {
  9739. return escapeRegex(arrmatch.join('\n'))
  9740. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9741. .replace(/\n/g,'|'); //join together
  9742. }
  9743. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9744. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9745. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9746. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9747. if (rule.baseurl)
  9748. {
  9749. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9750. for (i = 0 ; i < len ; i++)
  9751. {
  9752. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9753. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9754. {
  9755. 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'])
  9756. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9757. }
  9758. else //baseurl in the form: example.com/xxx
  9759. {
  9760. xpath.push(m[0]);
  9761. urlregex.push(escapeRegex(m[0]) + '.');
  9762. }
  9763. }
  9764. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9765. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9766. }
  9767. return rule;
  9768. } //function makeCustomRule
  9769.  
  9770.  
  9771. /*
  9772. Takes a string containing custom link checking rules.
  9773. Returns an object with fields:
  9774. info - contains notes, warnings and errors found during parsing
  9775. rules - the array of custom rules
  9776. note, warning, error - number of each of them found during parsing
  9777. Format of the input string:
  9778. One command per line. Command format: @keyword parameter
  9779. Keywords:
  9780. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9781. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9782. These keywords can be multiple (any of them will work):
  9783. @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...)
  9784. @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+
  9785. @alivelink, @deadlink - example links
  9786. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9787. Lines starting with // and empty lines are ignored.
  9788. Invalid parameters generate errors and those lines are skipped.
  9789. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9790. Example:
  9791. @customrule filehost
  9792. @baseurl filehost.com/download/
  9793. @baseurl filehost2. com net /d?=
  9794. @alivematch id="download">
  9795. @deadmatch File not found
  9796. @deadmatch File deleted
  9797. */
  9798. function parseCustomRules(rulesStr)
  9799. {
  9800. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9801. function addInfo(type, msg, ln){
  9802. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9803. customRules[type]++;
  9804. }
  9805. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9806. if (!lines) return null;
  9807. lines.push('@#customrule _'); //to save the last rule
  9808. var m, linecount = lines.length;
  9809. var keyword, param, constr, rule, err;
  9810. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9811. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9812. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9813. var constraints = {
  9814. 'baseurl': {
  9815. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9816. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9817. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9818. 'alivematch': {
  9819. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9820. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9821. 'deadmatch': {
  9822. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9823. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9824. 'unavamatch': {
  9825. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9826. 'alivelink': {
  9827. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9828. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9829. 'deadlink': {
  9830. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9831. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9832. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9833. };
  9834. for (linenum = 0 ; linenum < linecount ; linenum++)
  9835. {
  9836. //capturing groups: 1 23 4 5 6
  9837. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9838. if (m)
  9839. {
  9840. if (m[1] || !m[2])
  9841. continue; // ignore empty lines and lines starting with //
  9842. keyword = (m[4] || m[2]).toLowerCase();
  9843. param = m[6];
  9844. if (keyword == 'customrule')
  9845. {
  9846. //save the current rule if all required fields are provided
  9847. if (rule)
  9848. {
  9849. err = false;
  9850. $.each(constraints, function(kw, constraint){
  9851. var l, constr = constraint[rule.type];
  9852. if (constr)
  9853. {
  9854. l = rule[kw] ? rule[kw].length : 0;
  9855. if (l < constr.min || l > constr.max)
  9856. {
  9857. 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);
  9858. err = true;
  9859. }
  9860. }
  9861. });
  9862. if (!err)
  9863. customRules.rules.push(makeCustomRule(rule));
  9864. }
  9865. //start a new rule
  9866. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9867. {
  9868. rule = {
  9869. 'enabled': !m[3],
  9870. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9871. 'name': param
  9872. };
  9873. }
  9874. else
  9875. {
  9876. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9877. rule = null;
  9878. }
  9879. }
  9880. else //good line format, but keyword other than customrule
  9881. {
  9882. if (!rule)
  9883. {
  9884. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9885. continue;
  9886. }
  9887. if (constraints[keyword])
  9888. {
  9889. constr = constraints[keyword][rule.type];
  9890. if (constr)
  9891. {
  9892. if (constr.paramRE && !constr.paramRE.test(param))
  9893. {
  9894. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9895. continue;
  9896. }
  9897. }
  9898. else
  9899. {
  9900. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9901. continue;
  9902. }
  9903. }
  9904. //line OK, save
  9905. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9906. }
  9907. } //if (m)
  9908. else
  9909. addInfo('warning', 'Unknown line format. Line skipped.');
  9910. } //for loop
  9911. return customRules;
  9912. } //function parseCustomRules
  9913.  
  9914.  
  9915. /* ********************UPDATES********************
  9916.  
  9917. January 05, 2016
  9918. Version 1.3.6.0
  9919. removed uploadable.ch from obsolete hosts
  9920.  
  9921. January 04, 2017
  9922. Version 1.3.5.9
  9923. added secureupload.eu to obsolete hosts
  9924.  
  9925. December 31, 2016
  9926. Version 1.3.5.8
  9927. disabled on pizzaonline.dominos
  9928.  
  9929. December 31, 2016
  9930. Version 1.3.5.7
  9931. added uploadable.ch to obsolete hosts
  9932.  
  9933. December 30, 2016
  9934. Version 1.3.5.6
  9935. restored kingfiles.net
  9936.  
  9937. December 14, 2016
  9938. Version 1.3.5.5
  9939. fixed some 1fichier links not checking (yurii)
  9940.  
  9941. December 01, 2016
  9942. Version 1.3.5.4
  9943. added temp-share.com & filesha.com
  9944.  
  9945. November 30, 2016
  9946. Version 1.3.5.3
  9947. fixed mexashare.com not detecting some dead links
  9948.  
  9949. November 29, 2016
  9950. Version 1.3.5.2
  9951. added black-label.pro (live links only)
  9952.  
  9953. November 27, 2016
  9954. Version 1.3.5.1
  9955. made changes to filefactory
  9956.  
  9957. November 23, 2016
  9958. Version 1.3.5.0
  9959. added megashares.com to obsolete hosts
  9960. fixed letitbit not showing as obsolete
  9961. added littlebyte.net
  9962.  
  9963. November 22, 2016
  9964. Version 1.3.4.9
  9965. added code for live links to rapidgator
  9966. added dailyfiles.net
  9967. added upfiles.net
  9968. added multiup.eu
  9969.  
  9970. November 17, 2016
  9971. Version 1.3.4.8
  9972. fixed filefactory, again
  9973.  
  9974. November 17, 2016
  9975. Version 1.3.4.7
  9976. fixed filefactory folders
  9977.  
  9978. November 15, 2016
  9979. Version 1.3.4.6
  9980. fixed filefactory
  9981.  
  9982. November 14, 2016
  9983. Version 1.3.4.5
  9984. fixed rapidgator
  9985. fixed filefactory folders
  9986.  
  9987.  
  9988. November 13, 2016
  9989. Version 1.3.4.4
  9990. fixed problem with drive.google.com
  9991. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  9992.  
  9993. November 06, 2016
  9994. Version 1.3.4.3
  9995. added to obsolete hosts (by love buzz)
  9996. 4up.me
  9997. a nonfiles.com
  9998. axifile.com
  9999. creafile.net
  10000. demo.ovh.eu
  10001. filesin.com
  10002. file swap.com
  10003. gulfup.com
  10004. hexupload.com
  10005. hugefiles.net
  10006. jumbofiles.com
  10007. kingfiles.net
  10008. letitbit.net
  10009. lolabits.es
  10010. nowdownload.ch
  10011. openfile.ru
  10012. radicalshare.com
  10013. remixshare.com
  10014. storefiles.co
  10015. toutbox.fr
  10016. uploadbaz.com
  10017. uploadingit.com
  10018. verzend.be
  10019. vidplay.net
  10020. vidxden.com
  10021. xfileload.com
  10022.  
  10023. November 04, 2016
  10024. Version 1.3.4.2
  10025. added french code for rapidgator premium links
  10026. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10027.  
  10028. November 03, 2016
  10029. Version 1.3.4.1
  10030. added Portuguese code for rapidgator premium links
  10031. added suprafiles.net
  10032.  
  10033. November 02, 2016
  10034. Version 1.3.4.0
  10035. fixed depositfiles not detecting depositfiles.com/de links
  10036.  
  10037. October 27, 2016
  10038. Version 1.3.3.9
  10039. fixed uploaded.net not detecting some dead links
  10040.  
  10041. October 24, 2016
  10042. Version 1.3.3.8
  10043. added more french code for upload.af dead links
  10044.  
  10045. October 23, 2016
  10046. Version 1.3.3.7
  10047. added french for upload.af dead links
  10048.  
  10049. October 17, 2016
  10050. Version 1.3.3.6
  10051. fixed error (by Yurii)
  10052.  
  10053. October 17, 2016
  10054. Version 1.3.3.5
  10055. fixed file.al (by Yurii)
  10056.  
  10057. October 16, 2016
  10058. Version 1.3.3.4
  10059. test
  10060.  
  10061. October 11, 2016
  10062. Version 1.3.3.3
  10063. fixed subyshare.com not detecting some dead links
  10064. fixed mexashare.com
  10065. fixed pornfile.cz
  10066.  
  10067. October 10, 2016
  10068. Version 1.3.3.2
  10069. added fileflares.com
  10070. added erafile.com
  10071. added loop to subyshare.com & rockfile.eu
  10072.  
  10073. September 26, 2016
  10074. Version 1.3.3.1
  10075. added uploadocean.com
  10076.  
  10077. September 25, 2016
  10078. Version 1.3.3.0
  10079. added exbit.net
  10080.  
  10081. September 25, 2016
  10082. Version 1.3.2.9
  10083. fixed uptobox
  10084. fixed google (by kubbbie)
  10085.  
  10086. September 23, 2016
  10087. Version 1.3.2.8
  10088. added danish to rapidgator
  10089.  
  10090. September 22, 2016
  10091. Version 1.3.2.7
  10092. added wayupload.com
  10093.  
  10094. September 18, 2016
  10095. Version 1.3.2.6
  10096. added Portuguese language to rapidgator
  10097.  
  10098. September 15, 2016
  10099. Version 1.3.2.5
  10100. added languages to rapidgator
  10101. french
  10102. german
  10103. spanish
  10104. Italian
  10105. russian
  10106. polish
  10107. dutch
  10108. czech
  10109. chinese
  10110. japanese
  10111.  
  10112. September 14, 2016
  10113. Version 1.3.2.4
  10114. fixed spaceforfiles.com
  10115.  
  10116. September 09, 2016
  10117. Version 1.3.2.3
  10118. added bdupload.info
  10119. added german & deutsch language to workupload.com
  10120.  
  10121. September 08, 2016
  10122. Version 1.3.2.2
  10123. added...
  10124. storageserver.co.uk
  10125. cloud.mail.ru
  10126. fixed depositfiles
  10127.  
  10128. September 08, 2016
  10129. Version 1.3.2.1
  10130. added workupload.com
  10131.  
  10132. September 04, 2016
  10133. Version 1.3.2.0
  10134. made changes to euroshare.eu
  10135.  
  10136. September 03, 2016
  10137. Version 1.3.1.9
  10138. added usercloud.net
  10139. made changes to euroshare.eu
  10140.  
  10141. August 31, 2016
  10142. Version 1.3.1.8
  10143. fixed uptobox.com
  10144.  
  10145. August 30, 2016
  10146. Version 1.3.1.7
  10147. made changes to euroshare.eu
  10148.  
  10149. August 29, 2016
  10150. Version 1.3.1.6
  10151. made changes to data.hu
  10152.  
  10153. August 29, 2016
  10154. Version 1.3.1.5
  10155. fixed euroshare.eu not detecting dead links
  10156.  
  10157. August 23, 2016
  10158. Version 1.3.1.4
  10159. added ulozto.sk
  10160. added ulozto.cz
  10161.  
  10162. August 19, 2016
  10163. Version 1.3.1.3
  10164. fixed euroshare.eu
  10165. fixed 2share.com
  10166.  
  10167. August 17, 2016
  10168. Version 1.3.1.2
  10169. added french code for 1fichier
  10170.  
  10171. August 16, 2016
  10172. Version 1.3.1.1
  10173. fix for 1fichier folder links, by yurii
  10174.  
  10175. August 15, 2016
  10176. Version 1.3.1.0
  10177. another fix for 1fichier
  10178. added mystore.to
  10179.  
  10180. August 12, 2016
  10181. Version 1.3.0.9
  10182. fixed 1fichier
  10183.  
  10184. August 01, 2016
  10185. Version 1.3.0.8
  10186. fixed tezfiles.com not detecting some premium links
  10187.  
  10188. July 24, 2016
  10189. Version 1.3.0.7
  10190. added fileshareup.com
  10191.  
  10192. July 17, 2016
  10193. Version 1.3.0.6
  10194. added subyshare.com
  10195.  
  10196. july 10, 2016
  10197. Version 1.3.0.5
  10198. fixed ulozto.net
  10199.  
  10200. july 07, 2016
  10201. Version 1.3.0.4
  10202. fixed uloz.to
  10203.  
  10204. july 07, 2016
  10205. Version 1.3.0.3
  10206. added imagenetz.de
  10207.  
  10208. June 23, 2016
  10209. Version 1.3.0.2
  10210. excluded nexcess.net
  10211.  
  10212. June 20, 2016
  10213. Version 1.3.0.1
  10214. added daofile.com
  10215.  
  10216. June 16, 2016
  10217. Version 1.3.0.0
  10218. added mexashare.com
  10219.  
  10220. June 16, 2016
  10221. Version 1.2.9.9
  10222. added novafile.com
  10223. added uploadgig.com
  10224.  
  10225. June 15, 2016
  10226. Version 1.2.9.8
  10227. fixed upload.af
  10228.  
  10229. June 10, 2016
  10230. Version 1.2.9.7
  10231. added alltu.eu
  10232.  
  10233. June 09, 2016
  10234. Version 1.2.9.6
  10235. added code for french language to rapidgator.net & rg.to
  10236.  
  10237. June 04, 2016
  10238. Version 1.2.9.5
  10239. added upnito.sk
  10240.  
  10241. May 31, 2016
  10242. Version 1.2.9.4
  10243. fixed mega.co (by yurii)
  10244.  
  10245. May 31, 2016
  10246. Version 1.2.9.3
  10247. code cleanup
  10248.  
  10249. May 27, 2016
  10250. Version 1.2.9.2
  10251. added filesin.space
  10252.  
  10253. May 27, 2016
  10254. Version 1.2.9.1
  10255. added
  10256. filescdn.com
  10257. bankupload.com
  10258. katfile.com
  10259.  
  10260. May 18, 2016
  10261. Version 1.2.9.0
  10262. added warped.co to obsolete hosts
  10263.  
  10264. May 17, 2016
  10265. Version 1.2.8.9
  10266. fixed mega.nz
  10267.  
  10268. May 16, 2016
  10269. Version 1.2.8.8
  10270. added to obsolete hosts
  10271. fileband.com
  10272. filecloud.cc
  10273. filesmelt.com
  10274. goldbytez.com
  10275. hulkshare.com
  10276. idup.in
  10277. loudupload.net
  10278. muchshare.net
  10279. myupload.dk
  10280. nekaka.com
  10281. netkups.com
  10282. plunder.com
  10283. uploads.xxx
  10284. uploadspace.pl
  10285. xkeepfile.com
  10286.  
  10287. May 16, 2016
  10288. Version 1.2.8.7
  10289. added upnito.sk to obsolete hosts
  10290.  
  10291. May 15, 2016
  10292. Version 1.2.8.6
  10293. fixed uploading.site
  10294.  
  10295. May 15, 2016
  10296. Version 1.2.8.5
  10297. added oload.net
  10298.  
  10299. May 14, 2016
  10300. Version 1.2.8.4
  10301. added uploading.site
  10302.  
  10303. May 13, 2016
  10304. Version 1.2.8.3
  10305. added uploadc.ch
  10306. fixed vidspot.net
  10307.  
  10308. May 13, 2016
  10309. Version 1.2.8.2
  10310. added keepshare.net
  10311.  
  10312. May 11, 2016
  10313. Version 1.2.8.1
  10314. added uploadserv.com
  10315.  
  10316. May 09, 2016
  10317. Version 1.2.8.0
  10318. fixed upstore.net & upsto.re
  10319. added 24uploading.com to obsolete hosts
  10320.  
  10321. May 06, 2016
  10322. Version 1.2.7.9
  10323. added storagon.com to obsolete hosts
  10324. fixed worldbytez.com
  10325.  
  10326. May 02, 2016
  10327. Version 1.2.7.8
  10328. added myfiles.onl
  10329.  
  10330. april 28, 2016
  10331. Version 1.2.7.7
  10332. fixed bytewhale.com
  10333.  
  10334. april 27, 2016
  10335. Version 1.2.7.6
  10336. fixed rapidgator not detecting some premium links.
  10337.  
  10338. april 27, 2016
  10339. Version 1.2.7.5
  10340. added jeodrive.com
  10341.  
  10342. april 26, 2016
  10343. Version 1.2.7.4
  10344. added sanshare.com to obsolete hosts
  10345.  
  10346. april 26, 2016
  10347. Version 1.2.7.3
  10348. fixed vidspot.net
  10349.  
  10350. april 26, 2016
  10351. Version 1.2.7.2
  10352. added upx.nz
  10353.  
  10354. april 25, 2016
  10355. Version 1.2.7.1
  10356. added rapidfilehost.com to obsolete hosts
  10357. fixed bitster.cz
  10358.  
  10359. april 12, 2016
  10360. Version 1.2.7.0
  10361. fixed rapidgator not detecting some premium links.
  10362.  
  10363. april 11, 2016
  10364. Version 1.2.6.9
  10365. changed code for ncrypt.in
  10366.  
  10367. april 07, 2016
  10368. Version 1.2.6.8
  10369. added fileinz.com to obsolete hosts.
  10370.  
  10371. april 06, 2016
  10372. Version 1.2.6.7
  10373. added sharingmaster.com to obsolete hosts.
  10374.  
  10375. april 05, 2016
  10376. Version 1.2.6.6
  10377. added 4upfiles.com & elffiles.com to obsolete hosts
  10378.  
  10379. april 03, 2016
  10380. Version 1.2.6.5
  10381. updates to configuration page
  10382.  
  10383. March 31, 2016
  10384. Version 1.2.6.4
  10385. added code for tampermonkey 4.0 compatibility
  10386.  
  10387. March 31, 2016
  10388. Version 1.2.6.3
  10389. fixed uloz.to
  10390. fixed copy dead links to clipboard feature
  10391. added copy live links to clipboard feature.
  10392.  
  10393. March 24, 2016
  10394. Version 1.2.6.2
  10395. changed made to nitroflare. (yurri)
  10396.  
  10397. March 20, 2016
  10398. Version 1.2.6.1
  10399. fixed rapidgator
  10400. fixed dfiles
  10401. fixed dl.free.fr
  10402. fixed nitroflare.com (Fixed by Yurii)
  10403.  
  10404. March 15, 2016
  10405. Version 1.2.6.0
  10406. fixed rapidgator.net
  10407. fixed uploaded.net
  10408.  
  10409. March 13, 2016
  10410. Version 1.2.5.9
  10411. added
  10412. uploads.ws
  10413. upl.me
  10414. clicknupload.link
  10415. added fileover.net to obsolete hosts
  10416. fixed kingfiles.net
  10417.  
  10418. March 09, 2016
  10419. Version 1.2.5.8
  10420. added kingfiles.net to obsolete hosts
  10421. fixed 4upld.com/expressleech.com
  10422.  
  10423. March 08, 2016
  10424. Version 1.2.5.7
  10425. fixed solidfiles.com
  10426.  
  10427. March 01, 2016
  10428. Version 1.2.5.6
  10429. added filespace.com
  10430. fixed depositfiles (by yurii)
  10431.  
  10432. February 29, 2016
  10433. Version 1.2.5.5
  10434. made change to keep2share
  10435.  
  10436. February 28, 2016
  10437. Version 1.2.5.4
  10438. removed down4files.com from obsolete hosts.
  10439.  
  10440. February 26, 2016
  10441. Version 1.2.5.3
  10442. fixed userscloud.com
  10443.  
  10444. February 24, 2016
  10445. Version 1.2.5.2
  10446. added yandex.com
  10447. fixed datafile.com
  10448.  
  10449. February 22, 2016
  10450. Version 1.2.5.1
  10451. added bigfile.to
  10452.  
  10453. February 20, 2016
  10454. Version 1.2.5.0
  10455. added abelhas.pt
  10456.  
  10457. February 18, 2016
  10458. Version 1.2.4.9
  10459. made change to uptobox
  10460.  
  10461. February 17, 2016
  10462. Version 1.2.4.8
  10463. fixed yadi.sk
  10464.  
  10465. February 16, 2016
  10466. Version 1.2.4.7
  10467. fixed datafile.com
  10468. fixed filecad.com
  10469. added filecore.co & filestorm.to to obsolete hosts
  10470. added upload.af, filedwon.in & uplod.it
  10471.  
  10472. February 15, 2016
  10473. Version 1.2.4.6
  10474. fixed kumpulbagi.id
  10475. added sangfile.com to obsolete hosts
  10476.  
  10477. February 14, 2016
  10478. Version 1.2.4.5
  10479. fixed yandex.ru
  10480.  
  10481. February 13, 2016
  10482. Version 1.2.4.4
  10483. added lunaticfiles.com.
  10484.  
  10485. February 09, 2016
  10486. Version 1.2.4.3
  10487. added file.up09.com.
  10488.  
  10489. February 09, 2016
  10490. Version 1.2.4.2
  10491. tezfiles.com premium links now detected.
  10492.  
  10493. February 09, 2016
  10494. Version 1.2.4.1
  10495. added seenupload.com to obsolete hosts
  10496. fixed 180upload.com to show obsolete
  10497.  
  10498. February 08, 2016
  10499. Version 1.2.4.0
  10500. added tusfiles.com
  10501. added filesupload.org
  10502. added gigasize.com
  10503. added filecad.com
  10504. fixed filecloud.io
  10505. added uploadnet.co to obsolete hosts
  10506.  
  10507. February 07,2016
  10508. Vession 1.2.3.9
  10509. fixed depositfiles.com folders
  10510. fixed turbobit.net folders
  10511.  
  10512. February 06, 2016
  10513. Version 1.2.3.8
  10514. fixed 1fichier false dead links
  10515.  
  10516. February 04, 2106
  10517. Version 1.2.3.7
  10518. added geupload and lenfile to obsolete hosts
  10519. fixed kyc.pm/depfile
  10520.  
  10521. February 03, 2016
  10522. Version 1.2.3.6
  10523. fixed some nitroflare.com dead links not being detected
  10524.  
  10525. February 01, 2016
  10526. Version 1.2.3.5
  10527. script moved to new site
  10528.  
  10529. January 20, 2016
  10530. Version 1.2.3.3
  10531. fixed some rapidgator premium link not being detected
  10532.  
  10533. January 17, 2016
  10534. Version 1.2.3.2
  10535. added bytewhale.com
  10536. added rapidrar.com
  10537.  
  10538. Version 1.2.3.1
  10539. added 180upload.com to obsolete hosts
  10540. fixed hellspy.com
  10541. added dinoshare.cz,
  10542.  
  10543. January 13, 2016
  10544. Version 1.2.3.0
  10545. added rapidu.net
  10546. added uploadboy.me
  10547. fixed euroshare.eu
  10548.  
  10549. January 12, 2016
  10550. Version 1.2.2.9
  10551. added kb.simple-aja.info
  10552.  
  10553. January 10, 2016
  10554. Version 1.2.2.8
  10555. made changes to fastshare.cz
  10556.  
  10557. January 10, 2016
  10558. Version 1.2.2.7
  10559. fixed uptobox.com
  10560.  
  10561. January 09, 2016
  10562. Version 1.2.2.6
  10563. datoteke.com now detects premium links
  10564. fixed turbobit.net
  10565. fixed uptobox.com
  10566. added pornfile.cz
  10567. added pornoid.cz
  10568. added file-share.top
  10569. added bitster.cz
  10570.  
  10571. January 05, 2016
  10572. Version 1.2.2.5
  10573. fixed salefiles.com
  10574. fixed ozofile.com
  10575.  
  10576. January 04, 2016
  10577. Version 1.2.2.4
  10578. added sharehost.eu
  10579.  
  10580. December 30, 2015
  10581. Version 1.2.2.3
  10582. added tezfiles.com
  10583.  
  10584. December 28, 2015
  10585. Version 1.2.2.2
  10586. fixed some k2s & fboom dead link not getting detected
  10587. fixed some k2s premium links not getting detected.
  10588. fixed ssh.yt not detecting some dead links
  10589. fixed ncrypt.in dead links showing yellow
  10590.  
  10591. December 20, 2015
  10592. Version 1.2.2.0
  10593. added datoteke.com
  10594.  
  10595. December 19, 2015
  10596. Version 1.2.1.9
  10597. added secured.in & linksave.in to obsolete hosts
  10598.  
  10599. December 17, 2015
  10600. Version 1.2.1.8
  10601. added german for dead links to secureupload.eu.
  10602.  
  10603. December 17, 2015
  10604. Version 1.2.1.7
  10605. added french for dead links to secureupload.eu.
  10606. fixed problem with tooltip display.
  10607.  
  10608. December 13, 2015
  10609. Version 1.2.1.6
  10610. added netload.me & fileparadox.in to obsolete hosts
  10611.  
  10612. December 09, 2015
  10613. Version 1.2.1.5
  10614. added rapidsonic.com & fileparadox.com to obsolete hosts
  10615.  
  10616. December 04, 2015
  10617. Version 1.2.1.4
  10618. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10619.  
  10620. December 03, 2015
  10621. Version 1.2.1.3
  10622. added dailyuploads.net
  10623.  
  10624. December 02, 2015
  10625. Version 1.2.1.2
  10626. fixed hitfile.net
  10627. fixed kingfiles.net
  10628.  
  10629. November 30, 2015
  10630. Version 1.2.1.1
  10631. added filepost.com to obsolete hosts
  10632. added devilshare.net
  10633.  
  10634. November 28, 2015
  10635. Version 1.2.1.0
  10636. fixed datafile.com not detecting some premium links.
  10637.  
  10638. November 25, 2015
  10639. Version 1.2.0.9
  10640. fixed filejoker.net
  10641. fixed toutbox.fr
  10642. fixed nowvideo.sx
  10643.  
  10644. November 24, 2015
  10645. Version 1.2.0.8
  10646. fixed openload.io
  10647.  
  10648. November 20, 2015
  10649. Version 1.2.0.7
  10650. //added file.al
  10651. //fixed nitroflare.com false live links
  10652. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10653.  
  10654. November 17, 2015
  10655. Version 1.2.0.6
  10656. added clicknupload.me
  10657.  
  10658. November 09, 2015
  10659. Version 1.2.0.5
  10660. fixed some depfile premium links not being detected
  10661.  
  10662. November 08, 2015
  10663. Version 1.2.0.4
  10664. fixed some rapidgator premium links not being detected
  10665. fixed doraupload.com
  10666.  
  10667. November 08, 2015
  10668. Version 1.2.0.3
  10669. fixed uploaded false premium
  10670.  
  10671. November 07, 2015
  10672. Version 1.2.0.2
  10673. fixed redbunker.net
  10674.  
  10675. November 05, 2015
  10676. Version 1.2.0.1
  10677. fixed app.box.com
  10678. added multiup.org (does not detect all dead links)
  10679.  
  10680. November 01, 2015
  10681. Version 1.2.0.0
  10682. added more languages to rockfile and 1fichier
  10683.  
  10684. November 01, 2015
  10685. Version 1.1.9.9
  10686. fixed rockfile.eu
  10687. changed 1fichier code (Thanks yurri)
  10688. added to obsolete hosts... (Thanks Love Buzz)
  10689. burnupload.com
  10690. cramit.in
  10691. cramitin.net
  10692. down4files.com
  10693. edoc.com
  10694. jumbofile.net
  10695. krotix.net
  10696. migahost.com
  10697. movreel.com
  10698. netload.in
  10699. newfileland.com
  10700. quickshare.cz
  10701.  
  10702. October 30, 2015
  10703. Version 1.1.9.8
  10704. added alfafile.net
  10705.  
  10706. October 26, 2015
  10707. Version 1.1.9.7
  10708. changed datafile.com and uplea.com
  10709. added lolabits.es
  10710.  
  10711. October 26, 2015
  10712. Version 1.1.9.6
  10713. added toutbox.fr
  10714.  
  10715. October 25, 2015
  10716. Version 1.1.9.5
  10717. fixed counter error
  10718.  
  10719. October 25, 2015
  10720. Version 1.1.9.4
  10721. changed uptobox.com code
  10722.  
  10723. October 21, 2015
  10724. Version 1.1.9.3
  10725. fixed uptobox.com
  10726.  
  10727. October 20, 2015
  10728. Version 1.1.9.2
  10729. bug fixes and new method of detecting premium links.
  10730.  
  10731. October 15, 2015
  10732. Version 1.1.9.1
  10733. fixed hugefiles.net false premium
  10734. changed uptobox.com code
  10735.  
  10736. October 06, 2015
  10737. Version 1.1.9.0
  10738. fixed filefactory
  10739. fixed rockfile false premium
  10740. keep2share & fileboom now detect premium links (fixed by yurii)
  10741.  
  10742. October 01, 2015
  10743. Version 1.1.8.9
  10744. fixed free.fr false premium
  10745. fixed thevideo.me false premium
  10746.  
  10747. September 28, 2015
  10748. Version 1.1.8.8
  10749. added uplea.com and openload.co
  10750.  
  10751. September 27, 2015
  10752. Version 1.1.8.7
  10753. fixed fileparadox.in false premium
  10754. added kingfiles.net to obsolete hosts
  10755. removed inafile.com from obsolete hosts
  10756.  
  10757. September 22, 2015
  10758. Version 1.1.8.6
  10759. fixed nitroflare false premium
  10760.  
  10761. September 22, 2015
  10762. Version 1.1.8.5
  10763. fixed userscloud.com false premium
  10764. fixed usersfiles.com false premium
  10765. changed arabloads.com to arabloads.net
  10766. changed nowdownloads.eu to nowdownloads.ch
  10767.  
  10768. September 21, 2015
  10769. Version 1.1.8.3
  10770. added ryushare.com to obsolete hosts.
  10771.  
  10772. September 20, 2015
  10773. Version 1.1.8.2
  10774. fixed nitroflare not showing premium links
  10775. added down4files.com,storfiles.co,filehost.pw
  10776.  
  10777. September 16, 2015
  10778. Version 1.1.8.1
  10779. added crisshare.com to obsolete hosts
  10780. fixed filemoney.com false premium
  10781. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10782.  
  10783. September 14, 2015
  10784. Version 1.1.8.0
  10785. added to obsolete hosts...
  10786. sharebeast.com
  10787. tufiles.ru
  10788.  
  10789. September 12, 2015
  10790. Version 1.1.7.9
  10791. fixed rghost.net false premium
  10792. fixed unlimitzone.com false premium
  10793. fixed turbobit.net false live link
  10794.  
  10795. September 11, 2015
  10796. Version 1.1.7.8
  10797. Fixed filefactory.com false premium.
  10798.  
  10799. September 07, 2015
  10800. Version 1.1.7.7
  10801. fixed "depositfiles.com/en/files" links not checking
  10802.  
  10803. September 06, 2015
  10804. Version 1.1.7.6
  10805. added French code for 1fichier
  10806.  
  10807. August 29, 2015
  10808. Version 1.1.7.5
  10809. fixed depositfiles
  10810. fixed mega.co.nz/mega.nz
  10811. (fixed by yurii)
  10812.  
  10813. August 23, 2015
  10814. Version 1.1.7.4
  10815. Fixed uploadrocket (by yurii)
  10816.  
  10817. August 20, 2015
  10818. Version 1.1.7.3
  10819. fixed depfile.com false premium
  10820. fixed 1fichier false premium
  10821. fixed rapidgator false premium
  10822.  
  10823. August 08, 2015
  10824. Version 1.1.7.1
  10825. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10826.  
  10827. August 07, 2015
  10828. Version 1.1.7.0
  10829. fixed...
  10830. streamin.to
  10831. thefile.me
  10832. vidzi.tv
  10833. added...
  10834. filenuke.com
  10835. vidto.me
  10836. vidspot.net
  10837. sharesix.com
  10838. sharesix.net
  10839. movpod.in,
  10840.  
  10841. August 07, 2015
  10842. Version 1.1.6.9 added...
  10843. thefile.me
  10844. vidzi.tv
  10845. videoweed.es
  10846. vodlocker.com
  10847. nowvideo.sx
  10848. cloudtime.to
  10849. thevideo.me
  10850. vidbull.com
  10851. allmyvideos.net
  10852. novamov.com
  10853. filehoot.com
  10854. stagevu.com
  10855. gorillavid.in
  10856. streamin.to
  10857.  
  10858. August 02, 2015
  10859. Version 1.1.6.8
  10860. added cloudshares.net
  10861.  
  10862. August 01, 2015
  10863. Version 1.1.6.7
  10864. fixed depfile redirectors false premium
  10865.  
  10866. July 31, 2015
  10867. Version 1.1.6.6
  10868. fixed depfile.com false premium
  10869. */