W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2017-05-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.8.6
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.8.6 May 04, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "fileshark.pl",
  41. "pobierz.to",
  42. "kingfile.pl",
  43. "oload.tv",
  44. "uploads.to",
  45. "uploadify.net",
  46. "temp-share.com",
  47. "ausfile.com",
  48. "filesha.com",
  49. "upfiles.net",
  50. "dailyfiles.net",
  51. "upfile.mobi",
  52. "share.az",
  53. "crazyshare.cc",
  54. "uploadocean.com",
  55. "drive.google.com",
  56. "suprafiles.net",
  57. "fileflares.com",
  58. "erafile.com",
  59. "mystore.to",
  60. "littlebyte.net",
  61. "exbit.net",
  62. "bdupload.info",
  63. "workupload.com",
  64. "wayupload.com",
  65. "cloud.mail.ru",
  66. "fileshareup.com",
  67. "usercloud.net",
  68. "daofile.com",
  69. "subyshare.com",
  70. "mexashare.com",
  71. "uploadgig.com",
  72. "upload.af",
  73. "alltu.eu",
  74. "filesin.space",
  75. "imagenetz.de",
  76. "katfile.com",
  77. "bankupload.com",
  78. "keepshare.net",
  79. "filescdn.com",
  80. "myfiles.onl",
  81. "uploadserv.com",
  82. "uploading.site",
  83. "filedwon.info",
  84. "jeodrive.com",
  85. "ncrypt.in",
  86. "yandex.com",
  87. "down4files.com",
  88. 'filespace.com',
  89. "uplod.it",
  90. "rapidu.net",
  91. "uploads.ws|upl.me",
  92. "file.up09.com",
  93. "lunaticfiles.com",
  94. "filecad.com",
  95. "filesupload.org",
  96. "bytewhale.com",
  97. "rapidrar.com",
  98. "download.cz.hellshare.com",
  99. "pornfile.cz",
  100. "dinoshare.cz",
  101. "kb.simple-aja.info",
  102. "bitster.cz",
  103. "file-share.top",
  104. "pornoid.cz",
  105. "dailyuploads.net",
  106. "sharehost.eu",
  107. "tezfiles.com",
  108. "devilshare.net",
  109. "alfafile.net",
  110. "openload.co",
  111. "multiup.org",
  112. "uplea.com",
  113. "filenuke.com",
  114. "file.al|1f.al",
  115. "vidto.me",
  116. "filehost.pw",
  117. "turbobit.ru",
  118. "sharesix.com|sharesix.net",
  119. "movpod.in",
  120. "thefile.me",
  121. "datoteke.com",
  122. "vidzi.tv",
  123. "videoweed.es",
  124. "vodlocker.com",
  125. "nowvideo.sx",
  126. "cloudtime.to",
  127. "thevideo.me",
  128. "vidbull.com",
  129. "novamov.com",
  130. "filehoot.com",
  131. "stagevu.com",
  132. "gorillavid.in",
  133. "streamin.to",
  134. "4upld.com|expressleech.com",
  135. "cloudshares.net",
  136. "swoopshare.com",
  137. "2shared.com",
  138. "fileupload.pw",
  139. "zxcfiles.com",
  140. "up07.net",
  141. "4shared.com",
  142. "adrive.com",
  143. "aisfile.com",
  144. "bezvadata.cz",
  145. "usersfiles.com",
  146. "pan.baidu.com",
  147. "datei.to",
  148. "daten-hoster.de|filehosting.org|xtraupload.de",
  149. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  150. "divshare.com",
  151. "easy-share.com|crocko.com",
  152. "easybytez.com",
  153. "edisk.cz",
  154. "euroshare.eu",
  155. "file-upload.net",
  156. "yadi.sk",
  157. "wizupload.com",
  158. "fastshare.cz",
  159. "filefactory.com",
  160. "share.vnn.vn",
  161. "yunpan.cn",
  162. "tropicshare.com",
  163. "inclouddrive.com",
  164. "fileflyer.com",
  165. "filerio.com|filekeen.com",
  166. "up.4share.vn",
  167. "upfile.vn",
  168. "datafilehost.com",
  169. "worldbytez.com",
  170. "files.mail.ru",
  171. "filesflash.com",
  172. "box.com",
  173. "uptobox.com",
  174. "box.net",
  175. "sdilej.cz",
  176. "ex-load.com",
  177. "filesmonster.com",
  178. "filestore.to",
  179. "hulkload.com",
  180. "filedropper.com",
  181. "free-uploading.com",
  182. "gamefront.com|filefront.com",
  183. "gettyfile.ru",
  184. "gigapeta.com",
  185. "gigasize.com",
  186. "hellshare.com",
  187. "hellspy.com",
  188. "hitfile.net",
  189. "hostuje.net",
  190. "freefilehosting.net",
  191. "free.fr",
  192. "hyperfileshare.com",
  193. "filecloud.io|ifile.it",
  194. "ifolder.ru",
  195. "uploadrocket.net",
  196. "lafiles.com",
  197. "leteckaposta.cz|sharegadget.com",
  198. "load.to",
  199. "mediafire.com",
  200. "megafileupload.com",
  201. "movshare.net",
  202. "narod.ru|narod.yandex.ru",
  203. "fboom.me|fileboom.me",
  204. "partage-facile.com",
  205. "sharerapid.cz",
  206. "exclusiveloader.com",
  207. "acefile.net",
  208. "queenshare.com",
  209. "rapidgator.net",
  210. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  211. "oboom.com",
  212. "filepi.com",
  213. "rarefile.net",
  214. "rayfile.com",
  215. "rghost.net",
  216. "sendmyway.com",
  217. "clicknupload.com",
  218. "clicknupload.me",
  219. "clicknupload.link",
  220. "uploadable.ch",
  221. "sharemods.com",
  222. "hostr.co",
  223. "sendspace.com",
  224. "sharecash.org",
  225. "share-links.biz",
  226. "share-online.biz|egoshare.com",
  227. "megarapid.cz",
  228. "shareflare.net",
  229. "solidfiles.com",
  230. "led.wf",
  231. "lan.wf",
  232. "adlink.wf",
  233. "click.tf",
  234. "kyc.pm",
  235. "ssh.tf",
  236. "ssh.yt",
  237. "yep.pm",
  238. "stahovanizasms.cz",
  239. "turbobit.net",
  240. "tikfile.com",
  241. "cloudsix.me",
  242. "turboupload.com",
  243. "uloz.to",
  244. "ulozto.net",
  245. "ulozto.sk",
  246. "ulozto.cz",
  247. "ulozisko.sk",
  248. "uloziste.com",
  249. "unibytes.com",
  250. "upload-il.net|przeslij.net",
  251. "uploaded.to|uploaded.net|ul.to",
  252. "chayfile.com",
  253. "rockfile.eu",
  254. "usaupload.net",
  255. "veehd.com",
  256. "videobb.com",
  257. "vip-file.com",
  258. "webshare.cz",
  259. "xdisk.cz",
  260. "yunfile.com|filemarkets.com",
  261. "ziddu.com",
  262. "zippyshare.com",
  263. "rodfile.com",
  264. "wikiupload.com",
  265. "uploadstube.de",
  266. "faststore.org",
  267. "flyfiles.net",
  268. "prefiles.com",
  269. "hackerbox.org",
  270. "amonshare.com",
  271. "data.hu",
  272. "brupload.net",
  273. "kingfiles.net",
  274. "userscloud.com",
  275. "kumpulbagi.com|kumpulbagi.id",
  276. "uppit.com|up.ht|upx.nz",
  277. "downloadani.me",
  278. "filesabc.com",
  279. "extmatrix.com",
  280. "sendfiles.nl",
  281. "yourfilestore.com",
  282. "filebig.net",
  283. "file4safe.com",
  284. "tusfiles.net|tusfiles.com",
  285. "filemac.com",
  286. "ozofiles.com",
  287. "nosupload.com",
  288. "gboxes.com",
  289. "myvdrive.com|fileserving.com",
  290. "novafile.com",
  291. "longfiles.com",
  292. "bitupload.com",
  293. "indowebster.com",
  294. "superload.cz",
  295. "mafiastorage.com",
  296. "hellupload.com",
  297. "stiahni.si",
  298. "sendspace.pl",
  299. "fastshare.org",
  300. "filejoker.net",
  301. "filestore.com.ua",
  302. "rapidfileshare.net",
  303. "stiahnito.sk",
  304. "rusfolder.com",
  305. "catshare.net",
  306. "mixturecloud.com",
  307. "filedais.com",
  308. // "imdb.com",
  309. "nitroflare.com",
  310. "akafile.com",
  311. "up.top4top.net",
  312. "upload.ee",
  313. "shareplace.org",
  314. "uploadc.com",
  315. "uploadc.ch",
  316. "exoshare.com",
  317. "borncash.org",
  318. "2downloadz.com",
  319. "mightyupload.com",
  320. "anysend.com",
  321. "datafile.com",
  322. "upstore.net",
  323. "upsto.re",
  324. "speedy.sh",
  325. "ge.tt",
  326. "filesflash.net",
  327. "salefiles.com",
  328. "datoid.cz",
  329. "cloudstor.es",
  330. "streamfile.com",
  331. "eyesfile.ca",
  332. "filemoney.com",
  333. "uploadboy.com",
  334. "uploadboy.me",
  335. "speedshare.eu",
  336. "google.com|google.be",
  337. "unlimitzone.com",
  338. "rioupload.com",
  339. "rg.to",
  340. "jumbofiles.org",
  341. "fshare.vn",
  342. "spaceforfiles.com",
  343. "up.media1fire.com",
  344. "depfile.com",
  345. "go4up.com",
  346. "dropbox.com",
  347. "redbunker.net",
  348. "divxpress.com",
  349. "mega.nz|mega.co.nz",
  350. "storageserver.co.uk",
  351. "anafile.com",
  352. "bigfile.to",
  353. "arabloads.net",
  354. "sharerepo.com",
  355. "sfshare.se",
  356. "files.fm",
  357. "koofile.com",
  358. "doraupload.com",
  359. "openload.io",
  360. "upnito.sk",
  361. "oload.net",
  362. ];
  363.  
  364. try
  365. {
  366. //iframes excluded
  367. if (window.top != window.self)
  368. {
  369. return;
  370. }
  371. //allHostNames sites excluded
  372. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  373. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  374. ")"))
  375. {
  376. return;
  377. }
  378. }
  379. catch (e)
  380. {
  381. return;
  382. }
  383.  
  384. //separate alternative domains with "|" char (first name is considered being main)
  385. var allContainerNames = [
  386. "adf.ly",
  387. "linkcrypt.ws",
  388. "linksafe.me",
  389. // "linksave.in",
  390. "linkto.net",
  391. "madlink.sk",
  392. "multiload.cz",
  393. "mirrorcreator.com",
  394. // "ncrypt.in",
  395. "redi.re",
  396. "relink.us",
  397. "safelinking.net",
  398. "theloo.katt.it",
  399. "bit.ly",
  400.  
  401. ];
  402.  
  403. //separate alternative domains with "|" char (first name is considered being main)
  404. var allObsoleteNames = [
  405. "black-label.pro",
  406. "4up.me",
  407. "anonfiles.com",
  408. "axifile.com",
  409. "creafile.net",
  410. "cloudzilla.to",
  411. "neodrive.co",
  412. "demo.ovh.eu",
  413. "filesin.com",
  414. "fileswap.com",
  415. "junocloud.me",
  416. "gulfup.com",
  417. "hexupload.com",
  418. "secureupload.eu",
  419. "hugefiles.net",
  420. "jumbofiles.com",
  421. "letitbit.net",
  422. "lolabits.es",
  423. "nowdownload.ch",
  424. "openfile.ru",
  425. "radicalshare.com",
  426. "remixshare.com",
  427. "storefiles.co",
  428. "toutbox.fr",
  429. "uploadbaz.com",
  430. "uploadingit.com",
  431. "uploading.com",
  432. "verzend.be",
  433. "vidplay.net",
  434. "vidxden.com",
  435. "xfileload.com",
  436. "warped.co",
  437. "xkeepfile.com",
  438. "abelhas.pt",
  439. "uploadspace.pl",
  440. "allmyvideos.net",
  441. "uploads.xxx",
  442. "netkups.com",
  443. "nekaka.com",
  444. "vidspot.net",
  445. "myupload.dk",
  446. "muchshare.net",
  447. "loudupload.net",
  448. "idup.in",
  449. "hulkshare.com",
  450. "goldbytez.com",
  451. "filesmelt.com",
  452. "fileband.com",
  453. "uloz.cz",
  454. "secured.in",
  455. "rapidfilehost.com",
  456. "fileover.net",
  457. "fileinz.com",
  458. "linksave.in",
  459. "seenupload.com",
  460. "sangfile.com",
  461. "filepost.com|fp.io",
  462. "sharingmaster.com ",
  463. "24uploading.com",
  464. "storagon.com",
  465. "sanshare.com",
  466. "filestorm.to",
  467. "uploadnet.co",
  468. "180upload.com",
  469. "rapidsonic.com",
  470. "fileparadox.com",
  471. "4upfiles.com",
  472. "geupload.com",
  473. "lenfile.com",
  474. "fileparadox.in",
  475. "uploadhero.co",
  476. "uploadhero.com",
  477. "newfileland.com",
  478. "quickshare.cz",
  479. "elffiles.com",
  480. "netload.in",
  481. "netload.me",
  482. "movreel.com",
  483. "migahost.com",
  484. "krotix.net",
  485. "jumbofile.net",
  486. "edoc.com",
  487. "cramit.in|cramitin.net",
  488. "freakshare.com",
  489. "burnupload.com|burnupload.ihiphop.com",
  490. "freakshare.net",
  491. "daj.to",
  492. "bl.st",
  493. "2drive.net",
  494. "ryushare.com",
  495. "crisshare.com",
  496. "tufiles.ru",
  497. "uncapped-downloads.com",
  498. "sockshare.com",
  499. "ddlstorage.com",
  500. "dataport.cz",
  501. "dizzcloud.com",
  502. "sharebeast.com",
  503. "stahovadlo.cz",
  504. "shared.com",
  505. "storage.to",
  506. "putlocker.com",
  507. "lumfile.com",
  508. "lumfile.se",
  509. "lumfile.eu",
  510. "firedrive.com",
  511. "fileshare.in.ua",
  512. "filecore.co.nz",
  513. "filecore.co",
  514. "iskladka.cz",
  515. "file-rack.com",
  516. "fast-load.net",
  517. "subory.sk",
  518. "bigandfree.com",
  519. "fileop.com",
  520. "mujsoubor.cz",
  521. "sendfile.to",
  522. "superfastfile.com",
  523. "quickyshare.com",
  524. "duckload.com",
  525. "uploadstore.net",
  526. "meinupload.com",
  527. "dualshare.com",
  528. "2xupload.to|2xupload.de",
  529. "oxedion.com",
  530. "uploadline.com",
  531. "dll.bz",
  532. "movieshare.in",
  533. "milledrive.com",
  534. "quickupload.net",
  535. "safelink.in",
  536. "metadivx.com",
  537. "divxlink.com",
  538. "uploadrack.com",
  539. "teradepot.com",
  540. "dataup.to",
  541. "upit.to",
  542. "driveway.com",
  543. "eatlime.com",
  544. "a2zuploads.com",
  545. "friendlyfiles.net",
  546. "flyfile.us",
  547. "speedyshare.com",
  548. "uploadspace.eu",
  549. "keepfile.com",
  550. "piggyshare.com",
  551. "uplly.com",
  552. "filecrown.com",
  553. "6giga.com",
  554. "uploadjockey.com",
  555. "bluehost.to",
  556. "filegu.ru",
  557. "filebase.to",
  558. "up-file.com",
  559. "xvideos.com",
  560. "ufox.com",
  561. "filebling.com",
  562. "loaded.it",
  563. "uploadcell.com",
  564. "uploadshare.cz",
  565. "mangoshare.com",
  566. "filestab.com",
  567. "crazyupload.com",
  568. "gaiafile.com",
  569. "sharejunky.com",
  570. "fileho.com",
  571. "bigandfree.com",
  572. "bigfile.in",
  573. "bigshare.eu",
  574. "dahosting.org",
  575. "digisofts.net",
  576. "file4save.com",
  577. "filechip.com",
  578. "filescloud.com",
  579. "saveqube.com",
  580. "turboshare.de",
  581. "z-upload.com",
  582. "youshare.com",
  583. "jiffyupload.com",
  584. "gigeshare.com",
  585. "datenklo.net",
  586. "upload.dj",
  587. "loadfiles.in",
  588. "upit.to",
  589. "dsfileshare.com",
  590. "sharesimple.net",
  591. "4files.net",
  592. "wooupload.com",
  593. "odsiebie.com",
  594. "filenavi.com",
  595. "3oof.com",
  596. "meshwaar.com",
  597. "maxupload.com",
  598. "share.cx",
  599. "atserver.eu",
  600. "hotfiles.ws",
  601. "esnips.com",
  602. "tuxfile.com",
  603. "file2upload.net",
  604. "filebling.com",
  605. "turboshare.com",
  606. "rarhost.com",
  607. "isharehd.com",
  608. "i741.com",
  609. "dataup.de",
  610. "fofly.com",
  611. "shareonall.com",
  612. "sexuploader.com",
  613. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  614. "uploadhyper.com",
  615. "filespawn.com",
  616. "caizzii.com",
  617. "volnyweb.cz",
  618. "usershare.net",
  619. "filescash.net",
  620. "metahyper.com",
  621. "combozip.com",
  622. "x7.to",
  623. "uploadbox.com",
  624. "enterupload.com|flyupload.com",
  625. "filepoint.de",
  626. "mystream.to",
  627. "x-fs.com",
  628. "shareator.com",
  629. "srapid.eu",
  630. "sosame.cz",
  631. "filesdump.com",
  632. "2-klicks.de",
  633. "uploking.com",
  634. "silofiles.com",
  635. "upfile.in",
  636. "filehook.com",
  637. "uploadking.com",
  638. "uploadhere.com",
  639. "kewlshare.com",
  640. "rapidable.com",
  641. "uploadwaste.com",
  642. "filemup.com",
  643. "filesonic.com|sharingmatrix.com",
  644. "fileserve.com",
  645. "wupload.com",
  646. "skipfile.com",
  647. "smartuploader.com",
  648. "dualshare.com",
  649. "storeandserve.com",
  650. "mountfile.com",
  651. "transitfiles.com",
  652. "uploadstation.com",
  653. "filejungle.com",
  654. "shareshared.com",
  655. "quickyshare.com",
  656. "save.am",
  657. "petandrive.com",
  658. "file2box.com",
  659. "flyshare.cz",
  660. "yabadaba.ru",
  661. "cloudcache.cc",
  662. "yourfilehost.com",
  663. "jakfile.com",
  664. "kickload.com",
  665. "pyramidfiles.com",
  666. "refile.net",
  667. "zshare.net",
  668. "ddlani.me|ddlanime.com",
  669. "ftp2share.com",
  670. "fooget.com",
  671. "rapidhide.com",
  672. "gotupload.com",
  673. "mooload.com",
  674. "zupload.com",
  675. "mytempdir.com",
  676. "onionshare.com",
  677. "stahnu.to",
  678. "oron.com",
  679. "badongo.com",
  680. "filereactor.com",
  681. "filegaze.com",
  682. "4bytez.com",
  683. "1hostclick.com",
  684. "anonstream.com",
  685. "batshare.com",
  686. "bitroad.net",
  687. "brontofile.com",
  688. "cloudnxt.net",
  689. "cloudnator.com|shragle.com",
  690. "filesfrog.net",
  691. "coolshare.cz",
  692. "dotavi.com",
  693. "ezyfile.net",
  694. "file-bit.net",
  695. "filecosy.com",
  696. "fileduct.com|fileduct.net",
  697. "filefat.com",
  698. "filelaser.com",
  699. "filemashine.com",
  700. "fileserver.cc",
  701. "filetechnology.com",
  702. "fireuploads.net",
  703. "gigfiles.net",
  704. "holderfile.com",
  705. "ihostia.com",
  706. "k2files.com",
  707. "mojofile.com",
  708. "ovfile.com",
  709. "qshare.com",
  710. "shafiles.me",
  711. "sharefilehost.com",
  712. "shareupload.com",
  713. "stahuj.to",
  714. "ugotfile.com",
  715. "uploadboost.com",
  716. "fileom.com",
  717. "vidhog.com",
  718. "xfileshare.eu",
  719. "bzlink.us",
  720. "bulletupload.com",
  721. "bloggerarticles.com",
  722. "mojedata.sk",
  723. "sharpfile.com",
  724. "upgrand.com",
  725. "nasdilej.cz",
  726. "mediatack.cz",
  727. "share-it.to",
  728. "primeupload.com",
  729. "filebeer.info",
  730. "baberepublic",
  731. "xtu.me",
  732. "sharebase.de",
  733. "luckyshare.net",
  734. "filerobo.com",
  735. "filevelocity.com",
  736. "filezpro.com",
  737. "file4sharing.com",
  738. "cing.be",
  739. "ufile.eu",
  740. "pigsonic.com",
  741. "fileupped.com",
  742. "sharerun.com",
  743. "filesaur.com",
  744. "rapidslnare.com",
  745. "bestsharing.com",
  746. "savefiles.net",
  747. "file2share.biz",
  748. "filecache.de",
  749. "monsteruploads.eu",
  750. "b9bb.com",
  751. "aiotool.net",
  752. "jamber.info",
  753. "megaftp.com",
  754. "desiupload.net",
  755. "file27.com",
  756. "yastorage.com",
  757. "filehost.ws",
  758. "copyload.com",
  759. "venusfile.com",
  760. "aieshare.com",
  761. "terafile.co",
  762. "terafile.com",
  763. "fileza.net",
  764. "filerose.com",
  765. "squillion.com",
  766. "fileprohost.com",
  767. "bitbonus.com",
  768. "warserver.cz",
  769. "uload.to",
  770. "sharedbit.net",
  771. "megaload.it",
  772. "filewinds.com",
  773. "uploadcore.com",
  774. "syfiles.com",
  775. "eyesfile.com",
  776. "hotfile.com",
  777. "superupl.com",
  778. "oteupload.com",
  779. "henchfile.com",
  780. "filegag.com",
  781. "HenchFile.com",
  782. "filedefend.com",
  783. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  784. "megabitshare.com",
  785. "cloudzer.com",
  786. "asfile.com",
  787. "cloudzer.net",
  788. "clz.to",
  789. "extabit.com",
  790. "247upload.com",
  791. "2download.de",
  792. "4fastfile.com",
  793. "asixfiles.com",
  794. "berofile.com",
  795. "bigupload.com",
  796. "cepzo.com",
  797. "clouds.to",
  798. "cobrashare.sk",
  799. "coraldrive.net",
  800. "cyberlocker.ch",
  801. "czshare.com",
  802. "darkport.org",
  803. "dark-uploads.com",
  804. "davvas.com",
  805. "enigmashare.com",
  806. "erofly.cz",
  807. "fastsonic.net",
  808. "filebox.com",
  809. "filecity.net",
  810. "filedap.com",
  811. "filedino.com",
  812. "filedownloads.org",
  813. "filefolks.com",
  814. "fileking.co",
  815. "filemates.com",
  816. "files.to",
  817. "files2k.eu",
  818. "filesector.cc",
  819. "bitshare.com",
  820. "filesega.com",
  821. "filesend.net",
  822. "filestay.com",
  823. "filestrum.com",
  824. "fileuplo.de",
  825. "fileupup.com",
  826. "forunesia.com",
  827. "freeuploads.fr",
  828. "uploa.dk",
  829. "getthebit.com",
  830. "getzilla.net",
  831. "goldfile.eu",
  832. "good.com",
  833. "grupload.com",
  834. "hellfile.com",
  835. "hipfile.com",
  836. "hitfile.com",
  837. "hulkfile.eu|duckfile.net",
  838. "i-filez.com",
  839. "ifile.ws",
  840. "kupload.org",
  841. "packupload.com",
  842. "lemuploads.com",
  843. "limelinx.com",
  844. "maxshare.pl",
  845. "megarelease.org",
  846. "megashares.com",
  847. "megashare.com",
  848. "minus.com",
  849. "mlfat4arab.com",
  850. "multishare.cz",
  851. "nirafile.com",
  852. "ok2upload.com",
  853. "peejeshare.com",
  854. "premiuns.org",
  855. "przeklej.net",
  856. "qkup.net",
  857. "rapidupload.sk",
  858. "rockdizfile.com",
  859. "rocketfile.net",
  860. "share-now.net",
  861. "share76.com",
  862. "sharebees.com",
  863. "sharefiles.co",
  864. "slingfile.com",
  865. "sms4file.com",
  866. "space4file.com",
  867. "tigershare.net",
  868. "toucansharing.com",
  869. "ubuntuone.com",
  870. "unextfiles.com",
  871. "upaj.pl",
  872. "upfile.biz",
  873. "uploadbin.net",
  874. "uploadic.com",
  875. "uploadinc.com",
  876. "uploading4u.eu",
  877. "uploadjet.net",
  878. "uploadorb.com",
  879. "upthe.net",
  880. "uptorch.com",
  881. "vidbox.yt",
  882. "videozer.com",
  883. "vreer.com",
  884. "wallobit.com",
  885. "zooupload.com",
  886. "privatefiles.com",
  887. "xerver.co",
  888. "BillionUploads.com",
  889. "rapidshare.com",
  890. "rapidshare.ru",
  891. "4savefile.com",
  892. "bayfiles.com",
  893. "bayfiles.net",
  894. "dodane.pl",
  895. "dotsemper.com",
  896. "egofiles.com",
  897. "epicshare.net",
  898. "fiberupload.net",
  899. "filemonkey.in",
  900. "filemonster.net",
  901. "filepom.com",
  902. "filesbb.com",
  903. "filevice.com",
  904. "gigaup.fr",
  905. "isavelink.com",
  906. "loombo.com",
  907. "megafiles.se",
  908. "migupload.com",
  909. "mydisc.net",
  910. "nitrobits.com",
  911. "potload.com",
  912. "redload.net",
  913. "shareprofi.com",
  914. "sharesuper.info",
  915. "sinhro.net",
  916. "speedfile.cz",
  917. "speedshare.org",
  918. "storage.novoro.net",
  919. "swankshare.com",
  920. "swatupload.com",
  921. "upafile.com",
  922. "uploadmachine.com",
  923. "uploadsat.com",
  924. "upshared.com",
  925. "usefile.com",
  926. "yourfiles.to",
  927. "zomgupload.com",
  928. "ultramegabit.com",
  929. "uploadto.us",
  930. "inafile.com",
  931. "megairon.net",
  932.  
  933. ];
  934. ///////////////////////////////////////////////////////////////////////////////////////
  935. var firstRun = GM_getValue("First_run", true);
  936.  
  937. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  938. //////////////////////////////////////////////////////////////////////////////////////
  939. try
  940. {
  941. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  942. var last_known_version = GM_getValue("last_known_version", "");
  943. if (!last_known_version)
  944. {
  945. last_known_version = thisVersion;
  946. GM_setValue("last_known_version", last_known_version);
  947. }
  948. //var newVersion = !(thisVersion == last_known_version);
  949. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  950. GM_setValue("last_known_version", thisVersion);
  951. }
  952. catch (err)
  953. {
  954. var newVersion = false;
  955. }
  956.  
  957. var now = (new Date()).getTime();
  958. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  959. if (!last_custom_rules_nag)
  960. {
  961. last_custom_rules_nag = now;
  962. GM_setValue('last_custom_rules_nag', ''+now);
  963. }
  964.  
  965.  
  966. allHostNames.sort();
  967. allContainerNames.sort();
  968. allObsoleteNames.sort();
  969.  
  970. var RAND_STRING = "8QyvpOSsRG3QWq";
  971. var DEBUG_MODE = false;
  972.  
  973. var TOOLTIP_MAXWIDTH = 600; //in pixels
  974. var TOOLTIP_THUMBWIDTH = 200;
  975. var containers_processed = false;
  976.  
  977. //settings for keyboard functions start
  978. var CHECK_ALL_LINKS_KEY = "A";
  979. var CONFIGURATION_KEY = "C";
  980. var copy_to_dead_key = "D";
  981. var copy_to_live_key = "L";
  982. var toggle_autocheck_key = "W";
  983. var toggle_Enable_Anonymizer_key = "Z";
  984. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  985. var first_key_keycodename = 'CTRL';
  986. var second_key_keycode = '18';
  987. var second_key_keycodename = 'ALT';
  988. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  989. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  990. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  991. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  992. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  993. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  994. //settings for keyboard functions end
  995.  
  996. //global settings start
  997. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  998. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  999. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  1000. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  1001. var Show_progress_stats, Display_tooltip_info, Icon_set;
  1002. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  1003. var Progress_box_refresh_rate;
  1004. var Obsolete_file_hosts;
  1005. var Custom_rules, Custom_rules_text;
  1006. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1007.  
  1008. var messageBox = document.createElement('b'); // top-left message box
  1009.  
  1010. var cLinksTotal = 0;
  1011. var cLinksDead = 0;
  1012. var cLinksAlive = 0;
  1013. var cLinksUnava = 0;
  1014. var cLinksprem = 0;
  1015. var cLinksProcessed = 0;
  1016.  
  1017. var intervalId; //for updateProgress()
  1018.  
  1019. //icon resources
  1020. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCz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fOkNNjKKTU8Tl8tghq+sEGqvUZwjZA5EAiShPIetLXxhASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1027. 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=';
  1028. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoA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NUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  1029.  
  1030. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf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48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1033. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1034.  
  1035. //global settings end
  1036. if (window.opera && !window.console)
  1037. {
  1038. window.console = {};
  1039.  
  1040. function fn()
  1041. {
  1042. opera.postError(arguments);
  1043. };
  1044. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1045. {
  1046. window.console[name] = fn;
  1047. });
  1048. }
  1049.  
  1050. //displays colored text in message box
  1051. function sendMessage(text, color)
  1052. {
  1053. var msgDiv = document.createElement('div');
  1054. msgDiv.style.color = color;
  1055. msgDiv.innerHTML = text;
  1056. messageBox.appendChild(msgDiv);
  1057. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1058. }
  1059.  
  1060. function linkify(totalourls)
  1061. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1062. var ikkeTilladteTags;
  1063. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1064. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1065. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1066. allLinksRegex = new RegExp(allLinksRegex, "g");
  1067. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1068.  
  1069. if (Do_not_linkify_DL_links)
  1070. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1071. else
  1072. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1073.  
  1074. var regex = new RegExp(regexy);
  1075. var textNode, muligtLink;
  1076.  
  1077. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1078. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1079.  
  1080. var i = textNodes.snapshotLength;
  1081. while (i--)
  1082. {
  1083. textNode = textNodes.snapshotItem(i);
  1084.  
  1085. muligtLink = textNode.nodeValue; //all links on page
  1086.  
  1087. var myArray = null;
  1088. var span = null;
  1089. var lastLastIndex = 0;
  1090. allLinksRegex.lastIndex = 0;
  1091. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1092. {
  1093. if (textNode.parentNode.className == "adead_link") continue;
  1094. var censoredLink = muligtLink;
  1095. var span = document.createElement('span');
  1096. span.className = "adead_link";
  1097. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1098. $(span).html(censoredLink);
  1099. span.addEventListener("mouseover", displayTooltipError, false);
  1100. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1101. textNode.parentNode.replaceChild(span, textNode);
  1102. continue;
  1103. alert(censoredLink);
  1104. }
  1105. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1106. {
  1107. if (!regex.test(myArray[0])) //this link is not recognized
  1108. {
  1109.  
  1110. continue;
  1111. }
  1112. if (!span)
  1113. span = document.createElement('span');
  1114.  
  1115. var link = myArray[0];
  1116. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1117.  
  1118. var $a = $("<a>" + link + "</a>")
  1119. if (!link.match(/https?:\/\//))
  1120. {
  1121. link = 'http://' + link;
  1122. }
  1123.  
  1124. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1125. .addClass("processing_link")
  1126. .appendTo(span);
  1127. lastLastIndex = allLinksRegex.lastIndex;
  1128. }
  1129. if (span)
  1130. {
  1131. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1132. textNode.parentNode.replaceChild(span, textNode);
  1133. }
  1134. }
  1135. }
  1136.  
  1137. function add_WARLC_style()
  1138. {
  1139. if (!(document.getElementsByTagName('WARLC')[0]))
  1140. {
  1141. var meta_not_to_add_more_style = document.createElement("WARLC");
  1142. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1143. meta_not_to_add_more_style.setAttribute('name', 'description');
  1144. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1145. alive_link_png = "";
  1146. adead_link_png = "";
  1147. unava_link_png = "";
  1148. prem_link_png = "";
  1149. switch(Icon_set)
  1150. {
  1151. //no icons
  1152. case 0: break;
  1153. // cat paws
  1154. case 1: alive_link_png = PAW_ICON_GREEN;
  1155. adead_link_png = PAW_ICON_RED;
  1156. unava_link_png = PAW_ICON_YELLOW;
  1157. prem_link_png = PAW_ICON_PINK;
  1158. break;
  1159. // classic RSLC look
  1160. case 2: alive_link_png = RSLC_ICON_GREEN;
  1161. adead_link_png = RSLC_ICON_RED;
  1162. unava_link_png = RSLC_ICON_YELLOW;
  1163. prem_link_png = RSLC_ICON_PINK;
  1164. break;
  1165. // New Icons
  1166. case 3: alive_link_png = NEW_ICON_GREEN;
  1167. adead_link_png = NEW_ICON_RED;
  1168. unava_link_png = NEW_ICON_YELLOW;
  1169. prem_link_png = NEW_ICON_PINK;
  1170. break;
  1171. // cat paws
  1172. default:alive_link_png = PAW_ICON_GREEN;
  1173. adead_link_png = PAW_ICON_RED;
  1174. unava_link_png = PAW_ICON_YELLOW;
  1175. prem_link_png = PAW_ICON_PINK;
  1176. break;
  1177. }
  1178. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1179. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1180.  
  1181. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1182.  
  1183. if (Color_DL_links)
  1184. {
  1185. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1186. live_color_css = 'color:' + Live_links_color + ' !important;';
  1187. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1188. container_color_css = 'color:' + Container_links_color + ' !important;';
  1189. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1190. }
  1191. else
  1192. {
  1193. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1194. }
  1195.  
  1196. if (Show_black_background_in_DL_links)
  1197. {
  1198. black_background_css = 'background-color: black !important;';
  1199. }
  1200. else
  1201. {
  1202. black_background_css = '';
  1203. }
  1204.  
  1205. if (Show_line_through_in_dead_links)
  1206. {
  1207. line_through_css = 'text-decoration: line-through !important;';
  1208. }
  1209. else
  1210. {
  1211. line_through_css = '';
  1212. }
  1213.  
  1214. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1215. 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 + "}");
  1216. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1217. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1218. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1219. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1220. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1221. }
  1222. }
  1223.  
  1224. var warlcTooltip = null;
  1225. var mouseoverLink = null; //link href with mouse cursor over it
  1226.  
  1227. var lastX = 0;
  1228. var lastY = 0;
  1229.  
  1230. $(document).ready(initTooltip);
  1231. //inits tooltip
  1232. function initTooltip()
  1233. { warlcTooltip = document.createElement("div");
  1234. 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;");
  1235. warlcTooltip.style.visibility = "hidden";
  1236. document.body.appendChild(warlcTooltip);
  1237. }
  1238.  
  1239. //"mousemove" event handler for all links
  1240. function moveTooltip(event)
  1241. {
  1242. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1243. { //no need to reflow if the cursor moved just a little
  1244. return;
  1245. }
  1246. else
  1247. {
  1248. lastX = event.clientX;
  1249. lastY = event.clientY;
  1250. }
  1251.  
  1252. posX = event.clientX + window.pageXOffset + 10;
  1253. posY = event.clientY + window.pageYOffset;
  1254. var ttHeight = warlcTooltip.offsetHeight;
  1255. var ttFreeSpace = window.innerHeight - event.clientY;
  1256. if (ttHeight > ttFreeSpace)
  1257. { //prevents tooltip from getting out of the window
  1258. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1259. }
  1260. else
  1261. {
  1262. posY += 7;
  1263. }
  1264. warlcTooltip.style.top = posY + "px";
  1265. warlcTooltip.style.left = posX + "px";
  1266. }
  1267.  
  1268. //"mouseout" event handler for all links
  1269. function hideTooltip(){
  1270. warlcTooltip.style.visibility = "hidden";
  1271. mouseoverLink = null;
  1272. }
  1273.  
  1274.  
  1275. //"mouseover" event handler for dead links
  1276. //displays tooltip error message on dead links
  1277. function displayTooltipError()
  1278. {
  1279. mouseoverLink = this.href;
  1280. this.addEventListener("mouseout", hideTooltip);
  1281. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1282. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1283. warlcTooltip.style.minWidth = 0;
  1284. warlcTooltip.style.visibility = "visible";
  1285. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1286. {
  1287. warlcTooltip.innerHTML = this.warlc_error;
  1288. }
  1289. else
  1290. {
  1291. loadErrorInfo(this);
  1292. }
  1293. function loadErrorInfo(link)
  1294. {
  1295. var href = link.href;
  1296. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1297. GM_xmlhttpRequest({
  1298. method: 'GET',
  1299. url: href.replace(Ref_anonymize_service, ""),
  1300. headers: {
  1301. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1302. 'Accept': 'text/xml',
  1303. 'Referer': ""
  1304. },
  1305. onload: function(result) {
  1306. var res = result.responseText;
  1307. //TODO: errorRegexs -
  1308. var errorRegexs = [ //generic error messages follow
  1309. /(empty directory)/i,
  1310. /(soubor nebyl nalezen)/i,
  1311. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1312. //server specific error messages follow
  1313. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1314. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1315. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1316. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1317. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1318. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1319. /class="red">(.+?)<(?:span|br)>/, //czshare
  1320. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1321. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1322. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1323. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1324. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1325. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1326. /(File has been removed due to Copyright Claim)/, //filerio
  1327. ];
  1328. var errorIdx = errorRegexs.length;
  1329. var error = "Cause of error: <b>unknown</b>";
  1330. var errorCandidate = "";
  1331. while(errorIdx--)
  1332. {
  1333. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1334. if (errorCandidate != null)
  1335. {
  1336. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1337. break;
  1338. }
  1339. }
  1340. //link attributes
  1341. link.warlc_error = error;
  1342. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1343. {
  1344. warlcTooltip.innerHTML = error;
  1345. }
  1346. }
  1347. });
  1348. }
  1349. }
  1350.  
  1351. //"mouseover" event handler for alive links
  1352. //displays tooltip info (file size, file name,...) on alive links
  1353. function displayTooltipInfo()
  1354. {
  1355. mouseoverLink = this.href;
  1356. //exclude direct download filehostings
  1357. 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)/))
  1358. {
  1359. return;
  1360. }
  1361. this.addEventListener("mouseout", hideTooltip);
  1362. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1363. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1364. warlcTooltip.style.minWidth = 0;
  1365. warlcTooltip.style.visibility = "visible";
  1366. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1367. {
  1368. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1369. }
  1370. else
  1371. {
  1372. loadInfo(this);
  1373. }
  1374. function loadInfo(link)
  1375. {
  1376. var href = link.href;
  1377. GM_xmlhttpRequest({
  1378. method: 'GET',
  1379. url: href.replace(Ref_anonymize_service, ""),
  1380. headers: {
  1381. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1382. 'Accept': 'text/xml',
  1383. 'Referer': ""
  1384. },
  1385. onload: function(result) {
  1386. var res = result.responseText;
  1387. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1388. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1389. /fl" title="(.+?)">/, //edisk
  1390. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1391. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1392. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1393. /title="download (.+?)">/, //sendspace
  1394. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1395. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1396. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1397. /d0FileName = "(.+?)";/, //letitbit
  1398. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1399. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1400. /fname" value="(.+?)">/, //syfiles, grupload,
  1401. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1402. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1403. /Complete name : (.+?)<br \/>/, //bezvadata
  1404. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1405. ];
  1406. var nameIdx = nameRegexs.length;
  1407. // [sizeRegexs]
  1408. // / \ \?
  1409. // prefix (size) postfix
  1410. // / \
  1411. // val quant
  1412. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1413. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1414. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1415. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1416. var postSizeRegex = '(?:\\))?';
  1417. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1418. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1419. ];
  1420. var sizeIdx = sizeRegexs.length;
  1421. //
  1422. //
  1423. var tooltip = "File Name: <b>";
  1424. var fileName = "unknown";
  1425. var nameCandidate = "";
  1426. while(nameIdx--)
  1427. {
  1428. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1429. if (nameCandidate != null)
  1430. {
  1431. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1432. break;
  1433. }
  1434. }
  1435. tooltip += fileName + "</b><br>File Size: <b>";
  1436. var fileSize = "unknown";
  1437. var sizeCandidate = "";
  1438. while(sizeIdx--)
  1439. {
  1440. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1441. if (sizeCandidate != null)
  1442. {
  1443. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1444. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1445. {
  1446. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1447. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1448. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1449. }
  1450. break;
  1451. }
  1452. }
  1453. tooltip += fileSize + "</b>";
  1454. // PROTOTYPE
  1455. // video thumbnails
  1456. if (href.match('hellshare'))
  1457. {
  1458. var thumbs;
  1459. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1460. if (thumbs)
  1461. {
  1462. tooltip += '<br>';
  1463. var j = Math.min(thumbs.length, 9);
  1464. for (var i = 0; i < j; i++)
  1465. {
  1466. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1467. }
  1468. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1469. }
  1470. }
  1471. if (href.match('czshare'))
  1472. {
  1473. var thumbs;
  1474. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1475. if (thumbs)
  1476. {
  1477. var thumbsServer = thumbs[1];
  1478. var thumbsId = thumbs[2];
  1479. tooltip += '<br>';
  1480. for (var i = 1; i < 9; i++)
  1481. {
  1482. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1483. }
  1484. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1485. }
  1486. }
  1487. if (href.match('bezvadata'))
  1488. {
  1489. var thumbs;
  1490. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1491. if (thumbs)
  1492. {
  1493. tooltip += '<br>';
  1494. var j = Math.min(thumbs.length, 9);
  1495. for (var i = 0; i < j; i++)
  1496. {
  1497. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1498. }
  1499. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1500. }
  1501. }
  1502. link.warlc_tooltipcache = tooltip;
  1503. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1504. {
  1505. warlcTooltip.innerHTML = tooltip;
  1506. }
  1507. }
  1508. });
  1509. }
  1510. }
  1511.  
  1512. function setVariables()
  1513. {
  1514. if (firstRun)
  1515. {
  1516. GM_log('First run, applying default settings...');
  1517. GM_setValue("Icon_set",1);
  1518. GM_setValue("Display_tooltip_info",true);
  1519. GM_setValue("Show_black_background_in_DL_links",false);
  1520. GM_setValue("Show_line_through_in_dead_links",false);
  1521. GM_setValue("Display_full_links_in_link_containers",false);
  1522. GM_setValue("Allow_spaces_in_DL_links",false);
  1523. GM_setValue("Autocheck",true);
  1524. GM_setValue("Enable_Anonymizer",false);
  1525. GM_setValue("Do_not_linkify_DL_links",false);
  1526. GM_setValue("Show_progress_stats",true);
  1527. GM_setValue("Keyboard_functions",true);
  1528. GM_setValue("Obsolete_file_hosts",false);
  1529. GM_setValue("Color_DL_links",true);
  1530. GM_setValue("Live_links_color","Green");
  1531. GM_setValue("Dead_links_color","#FF3300");
  1532. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1533. GM_setValue("Container_links_color","DarkKhaki");
  1534. GM_setValue("Premium_links_color","DeepPink");
  1535. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1536. GM_setValue("Custom_rules",false);
  1537. GM_setValue("Custom_rules_text","");
  1538. GM_setValue("Processbox_Pos_Y", 0);
  1539. GM_setValue("Processbox_Pos_X", 88);
  1540. GM_setValue("Progressbox_Scaling", 100);
  1541. GM_setValue("First_run", false);
  1542. }
  1543. //hidden settings
  1544. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1545. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1546. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1547. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1548. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1549. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1550. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1551. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1552. //hidden settings end
  1553.  
  1554. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1555. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1556. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1557. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1558. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1559. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1560. Autocheck = GM_getValue("Autocheck", true);
  1561. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1562. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1563. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1564. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1565. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1566. Color_DL_links = GM_getValue("Color_DL_links", true);
  1567. Live_links_color = GM_getValue("Live_links_color", "Green");
  1568. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1569. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1570. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1571. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1572. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1573. Custom_rules = GM_getValue("Custom_rules", false);
  1574. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1575. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1576. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1577. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1578. }
  1579.  
  1580.  
  1581. // Delinkifies the links
  1582. // params:
  1583. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1584. // e.g. 'uloz.to/xs68skxl8')
  1585. function delinkifySnapshot(snapshot)
  1586. {
  1587. var n = snapshot.snapshotLength;
  1588.  
  1589. while (n--)
  1590. {
  1591. thisLink = snapshot.snapshotItem(n);
  1592.  
  1593. var spanElm = document.createElement("span");
  1594. spanElm.className = thisLink.className;
  1595. spanElm.innerHTML = thisLink.innerHTML;
  1596.  
  1597. if (Display_tooltip_info)
  1598. {
  1599. spanElm.href = thisLink.href;
  1600. switch (thisLink.className){
  1601. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1602. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1603. case "unava_link": //reserved
  1604. default:
  1605. }
  1606. }
  1607. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1608. }
  1609. }
  1610.  
  1611. function processContainers()
  1612. {
  1613. var redirectorTypes = { "HTTP_302": 0,
  1614. "INNER_LINK": 1,
  1615. "THELOO_KATT_IT": 2,
  1616. "CING_BE": 3,
  1617. "ADF_LY": 4};
  1618. var cMultiloadTotal = 0;
  1619. var cMultiloadProcessed = 0;
  1620.  
  1621. var cMirrorcreatorComTotal = 0;
  1622. var cMirrorcreatorComProcessed = 0;
  1623.  
  1624. var hostRestrictionRegex = "";
  1625. var multiloadComRestriction = "";
  1626. var multiloadComRestrictionRegex;
  1627.  
  1628. //
  1629. //HANDLING REDIRECTORS START
  1630. //
  1631.  
  1632. var redirectors = new Array();
  1633. initRedirectors();
  1634.  
  1635. var redirectorsCount = redirectors.length;
  1636.  
  1637. if (redirectorsCount > 0)
  1638. {
  1639. var allRedirectorsRegex = "";
  1640.  
  1641. //linkify redirector links
  1642. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1643. {
  1644. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1645. }
  1646. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1647. linkify(allRedirectorsRegex);
  1648. //
  1649. //process redirector links
  1650. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1651. {
  1652. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1653. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1654.  
  1655. cLinksTotal += redirectors[redirIdx].cTotal;
  1656. var linkIdx = redirectors[redirIdx].cTotal;
  1657.  
  1658. while(linkIdx--)
  1659. {
  1660. switch(redirectors[redirIdx].type)
  1661. {
  1662. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1663. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1664. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1665. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1666. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1667. default:
  1668. }
  1669. }
  1670. }
  1671. //
  1672. }
  1673.  
  1674. //HTTP_302
  1675. function processRedirectorLink(link, redirectorId)
  1676. {
  1677. link.className = 'container_link';
  1678.  
  1679. GM_xmlhttpRequest({
  1680. method: 'HEAD',
  1681. url: link.href,
  1682. headers: {
  1683. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1684. 'Accept': 'text/xml',
  1685. 'Referer': ""
  1686. },
  1687. onload: function(result) {
  1688. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1689. {
  1690. processRedirectorLink(link, redirectorId);
  1691. }
  1692. else
  1693. {
  1694. redirectors[redirectorId].cProcessed++;
  1695. link.href = result.finalUrl;
  1696. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1697. checkLinks('container_link');
  1698. }
  1699. },
  1700. onerror: function(result) { //probably caused by unresponsive filehosting
  1701. redirectors[redirectorId].cProcessed++;
  1702. link.className = 'unava_link';
  1703. cLinksProcessed++;
  1704. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1705. checkLinks('container_link');
  1706. }
  1707. });
  1708. }
  1709. //INNER_LINK
  1710. function processRedirectorLinkEx(link, redirectorId)
  1711. {
  1712. link.className = 'container_link';
  1713. GM_xmlhttpRequest({
  1714. method: 'GET',
  1715. url: link.href,
  1716. headers: {
  1717. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1718. 'Accept': 'text/xml',
  1719. 'Referer': ""
  1720. },
  1721. onload: function(result) {
  1722. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1723. redirectors[redirectorId].cProcessed++;
  1724. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1725. checkLinks('container_link');
  1726. }
  1727. });
  1728. }
  1729. //theloo.katt.it (wrapped safelinking.net)
  1730. function processThelooKattItLink(link, redirectorId)
  1731. {
  1732. link.className = 'container_link';
  1733. GM_xmlhttpRequest({
  1734. method: 'GET',
  1735. url: link.href,
  1736. headers: {
  1737. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1738. 'Accept': 'text/xml',
  1739. 'Referer': ""
  1740. },
  1741. onload: function(result) {
  1742. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1743. redirectors[redirectorId].cProcessed++;
  1744. //the inner links are safelinking.net links, so lets proceed with it
  1745. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1746. {
  1747. processRedirectorLink(link, 0);
  1748. }
  1749. }
  1750. });
  1751. }
  1752. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1753. function processAdfLyLink(link, redirectorId)
  1754. {
  1755. link.className = 'container_link';
  1756. GM_xmlhttpRequest({
  1757. method: 'GET',
  1758. url: link.href,
  1759. headers: {
  1760. 'User-agent': 'Mozilla/4.0',
  1761. 'Accept': 'text/xml',
  1762. 'Referer': ""
  1763. },
  1764. onload: function(result) {
  1765. if (result.finalUrl.match('/locked/'))
  1766. {
  1767. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1768. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1769. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1770. }
  1771. else
  1772. {
  1773. // GM_log('Processing... ' + link.href);
  1774. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1775. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1776. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1777. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1778. //confirm advert
  1779. GM_xmlhttpRequest(
  1780. {
  1781. method: 'POST',
  1782. url: 'http://adf.ly/l.php',
  1783. headers: {
  1784. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1785. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1786. 'Referer': link.href
  1787. },
  1788. data: users + '&lt=' + logToken,
  1789. onload: function(result) {
  1790. //retrieve final url from .../go/... link
  1791. GM_xmlhttpRequest({
  1792. method: 'GET',
  1793. url: directLink,
  1794. headers: {
  1795. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1796. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1797. 'Referer': link.href
  1798. },
  1799. onload: function(result) {
  1800. link.href = result.finalUrl;
  1801. redirectors[redirectorId].cProcessed++;
  1802. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1803. checkLinks('container_link');
  1804. }
  1805. });
  1806. }
  1807. });
  1808. }
  1809. }
  1810. });
  1811. function proceedOK()
  1812. {
  1813. }
  1814. }
  1815. //MULTILOAD.CZ START
  1816. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1817. {
  1818. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1819. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1820.  
  1821. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1822.  
  1823. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1824. hostRestrictionRegex += 'hellshare|';
  1825. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1826. hostRestrictionRegex += 'downloadhellshare|';
  1827. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1828. hostRestrictionRegex += 'share-rapid\\.com|';
  1829. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1830. hostRestrictionRegex += 'quickshare\\.cz|';
  1831. if (GM_getValue("Check_czshare_dot_com_links", false))
  1832. hostRestrictionRegex += 'czshare\\.com|';
  1833. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1834. hostRestrictionRegex += 'hellspy|';
  1835. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1836. hostRestrictionRegex += 'multishare\\.cz|';
  1837.  
  1838. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1839.  
  1840. linkify(mlRegex);
  1841.  
  1842. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1843. var mlCount = mlSnapshot.snapshotLength;
  1844.  
  1845. if (mlCount > 0)
  1846. {
  1847. cMultiloadTotal += mlCount;
  1848.  
  1849. mlIdx = mlCount - 1;
  1850. do
  1851. {
  1852. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1853. }
  1854. while(mlIdx--)
  1855. }
  1856. }
  1857. //MULTILOAD.CZ END
  1858.  
  1859.  
  1860.  
  1861. function processMultiloadLink(mlLink)
  1862. {
  1863. GM_xmlhttpRequest({
  1864. method: 'GET',
  1865. url: mlLink.href,
  1866. headers: {
  1867. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1868. 'Accept': 'text/xml',
  1869. 'Referer': ""
  1870. },
  1871. onload: function(result) {
  1872. var res = result.responseText;
  1873.  
  1874. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1875. 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;
  1876. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1877. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1878.  
  1879. var blocks; // blocks of links
  1880. var blockIdx;
  1881.  
  1882. mlLink.className = '';
  1883.  
  1884. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1885. {
  1886. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1887. return;
  1888. }
  1889.  
  1890. blocks = res.match(innerBlockRegex);
  1891.  
  1892. if (blocks == null) //no links found, cancel further processing
  1893. {
  1894. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1895. cMultiloadProcessed++;
  1896. if (cMultiloadTotal <= cMultiloadProcessed)
  1897. {
  1898. startBulkCheck('container_link');
  1899. start('container_link');
  1900. }
  1901. return;
  1902. }
  1903.  
  1904. blockIdx = blocks.length;
  1905.  
  1906. if (Display_full_links_in_link_containers)
  1907. {
  1908. var ulElm = document.createElement('ul');
  1909. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1910.  
  1911. while(blockIdx--)
  1912. {
  1913. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1914. {
  1915. continue;
  1916. }
  1917.  
  1918. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1919.  
  1920. var linkIdx = innerLinks.length;
  1921. while (linkIdx--)
  1922. {
  1923. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1924.  
  1925. var liElm = document.createElement('li');
  1926.  
  1927. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1928. {
  1929. liElm.appendChild(document.createTextNode(innerLink));
  1930. }
  1931. else
  1932. {
  1933. var aElm = document.createElement('a');
  1934. aElm.innerHTML = innerLink;
  1935. aElm.href = innerLink;
  1936. aElm.className = 'container_link';
  1937.  
  1938. liElm.appendChild(aElm);
  1939. }
  1940.  
  1941. ulElm.appendChild(liElm);
  1942. cLinksTotal++;
  1943. }
  1944. }
  1945.  
  1946. mlLink.parentNode.appendChild(ulElm);
  1947. }
  1948. else //compact view
  1949. {
  1950. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1951.  
  1952. while(blockIdx--)
  1953. {
  1954. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1955. {
  1956. continue;
  1957. }
  1958.  
  1959. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1960.  
  1961. var linkIdx = innerLinks.length;
  1962. while (linkIdx--)
  1963. {
  1964. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1965.  
  1966. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1967. {
  1968. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1969. }
  1970. else
  1971. {
  1972. var aElm = document.createElement('a');
  1973.  
  1974. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1975.  
  1976. //abbreviate host name
  1977. switch(hostName + ""){
  1978.  
  1979. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1980. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1981. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1982. case 'multishare': aElm.innerHTML = 'MS'; break;
  1983. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1984. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1985. case 'czshare': aElm.innerHTML = 'CS'; break;
  1986. default: aElm.innerHTML = 'xx';
  1987.  
  1988. }
  1989.  
  1990. aElm.href = innerLink;
  1991. aElm.className = 'container_link';
  1992.  
  1993. mlLink.parentNode.appendChild(aElm);
  1994. cLinksTotal++;
  1995. }
  1996. }
  1997.  
  1998. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1999.  
  2000. }
  2001. }
  2002.  
  2003. cMultiloadProcessed++;
  2004. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  2005. {
  2006. if (Do_not_linkify_DL_links)
  2007. {
  2008. delinkifySnapshot(mlSnapshot);
  2009. }
  2010. startBulkCheck('container_link');
  2011. start('container_link');
  2012. }
  2013. }
  2014. });
  2015. }
  2016.  
  2017.  
  2018. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2019. {
  2020. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2021. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2022. var mcShortHostNames =
  2023. '?? 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';
  2024. // 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
  2025. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2026. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2027. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2028. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2029.  
  2030. linkify(mcRegex);
  2031.  
  2032. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2033. var mcCount = mcSnapshot.snapshotLength;
  2034.  
  2035. cMirrorcreatorComTotal = mcCount;
  2036.  
  2037. if (mcCount > 0)
  2038. {
  2039. mcShortHostNames = mcShortHostNames.split(' ');
  2040. mcIdx = mcCount;
  2041. while(mcIdx--)
  2042. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2043. }
  2044.  
  2045. }
  2046. //MIRRORCREATOR.CZ END
  2047.  
  2048.  
  2049. //mirrorcreator.com checking works like this:
  2050. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2051. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2052. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2053. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2054. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2055. function processMirrorcreatorLink(mcLink)
  2056. {
  2057. var mcURL = mcLink.href.match(mcRegex);
  2058. if(!mcURL || !mcURL[1]) return;
  2059. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2060. GM_xmlhttpRequest({
  2061. method: 'GET',
  2062. url: mcURL,
  2063. headers: {
  2064. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2065. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2066. 'Referer': ""
  2067. },
  2068. onload: function(mcLinkResult) {
  2069. var mcLinkRes = mcLinkResult.responseText;
  2070.  
  2071. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2072. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2073.  
  2074. var mcRedirectors;
  2075. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2076. var m = mcLinkRes.match(mcLinkBlockRegex);
  2077. if (m)
  2078. mcHostsFound = m.length;
  2079. else
  2080. { //no files inside container
  2081. processMirrorcreatorFoundHosts(mcLink, []);
  2082. return;
  2083. }
  2084.  
  2085. var mcRedirectorURL, idx, timedOut = false;
  2086.  
  2087. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2088. GM_xmlhttpRequest({
  2089. method: 'GET',
  2090. url: mcRedirectorURL,
  2091. headers: {
  2092. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2093. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2094. 'Referer': ""
  2095. },
  2096. onload: function(mcHostResult) {
  2097. if (timedOut) return; //too late, the list is already displayed
  2098. var mcHostRes = mcHostResult.responseText;
  2099. var mcHost = mcHostRes.match(mcHostRegex);
  2100. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2101. if (mcHost && idx!=-1)
  2102. {
  2103. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2104. mcHostsRetrieved++;
  2105. mcHostsToProcess++;
  2106. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2107. {
  2108. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2109. mcHostsToProcess = 0;
  2110. }
  2111. }
  2112. } //end of onload: function
  2113. }); //end of GM_xmlhttpRequest call
  2114. };//end of var gmxhrFunc
  2115.  
  2116. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2117. { //load individual redirector pages
  2118. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2119. mcHostURLs.push(mcRedirectorURL);
  2120. mcRedirectorIDs.push(mcRedirectors[2]);
  2121. gmxhrFunc(mcRedirectorURL);
  2122. } //end of while block
  2123.  
  2124. setTimeout(function(){ //in case the last page fails to load and call the function
  2125. timedOut = true;
  2126. if (mcHostsToProcess)
  2127. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2128. }, 60000);
  2129.  
  2130. } //end of onload function
  2131. }); //end of GM_xmlhttpRequest call
  2132. } //end of function processMirrorcreatorLink
  2133.  
  2134.  
  2135. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2136. {
  2137. var aEl, liEl, docFrag;
  2138. var hostName, mcRedirectorID, trimFilename = false;
  2139. var i = mcHostURLs.length;
  2140. if (i == 0)
  2141. {
  2142. trimFilename = true;
  2143. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2144. }
  2145. else
  2146. {
  2147. if (Display_full_links_in_link_containers)
  2148. { //full view
  2149. var wrapperEl = document.createElement('span');
  2150. wrapperEl.style.display = 'block';
  2151. var ulistEl = document.createElement('ul');
  2152. ulistEl.className = 'container_list';
  2153. while (i--)
  2154. {
  2155. liEl = document.createElement('li');
  2156. aEl = document.createElement('a');
  2157. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2158. aEl.href = mcHostURLs[i];
  2159. aEl.className = 'container_link';
  2160. liEl.appendChild(aEl);
  2161. ulistEl.appendChild(liEl);
  2162. }
  2163. wrapperEl.appendChild(ulistEl);
  2164. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2165. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2166. }
  2167. else
  2168. { //compact view
  2169. trimFilename = true;
  2170. docFrag = document.createDocumentFragment();
  2171. docFrag.appendChild(document.createTextNode(' |'));
  2172. while (i--)
  2173. {
  2174. mcRedirectorID = mcRedirectorIDs[i];
  2175. hostName = mcHostURLs[i];
  2176. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2177. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2178. else
  2179. hostName = mcShortHostNames[mcRedirectorID];
  2180. aEl = document.createElement('a');
  2181. aEl.href = mcHostURLs[i];
  2182. aEl.className = 'container_link';
  2183. aEl.appendChild(document.createTextNode(hostName));
  2184. docFrag.appendChild(aEl);
  2185. docFrag.appendChild(document.createTextNode('|'));
  2186. }
  2187. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2188. } //end of else block
  2189. } //end of else block
  2190. mcLink.className = '';
  2191. if (trimFilename)
  2192. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2193. cMirrorcreatorComProcessed++;
  2194. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2195. {
  2196. if (Do_not_linkify_DL_links)
  2197. delinkifySnapshot(mcSnapshot);
  2198. startBulkCheck('container_link');
  2199. start('container_link');
  2200. }
  2201. } //end of function processMirrorcreatorFoundHosts
  2202.  
  2203. containers_processed = true;
  2204.  
  2205.  
  2206. function initRedirectors()
  2207. {
  2208. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2209. {
  2210. var redirector = new Object();
  2211. redirector.linkRegex = linkRegex;
  2212. redirector.xpath = xpathEx; //xpath expression
  2213. redirector.cProcessed = 0; //processed links count
  2214. redirector.cTotal = 0; //total links count
  2215. redirector.type = redirType; //redirectorTypes enum
  2216. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2217. redirectors.push(redirector);
  2218. }
  2219. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2220. {
  2221. addRedirector(
  2222. 'safelinking\\.net\/d\/\\w+',
  2223. "//a[contains(@href,'safelinking.net/d/')]",
  2224. redirectorTypes.HTTP_302,
  2225. null);
  2226. }
  2227. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2228. {
  2229. addRedirector(
  2230. 'linksafe\\.me\/d\/\\w+',
  2231. "//a[contains(@href,'linksafe.me/d/')]",
  2232. redirectorTypes.HTTP_302,
  2233. null);
  2234. }
  2235. if (GM_getValue("Check_linkto_dot_net_links", false))
  2236. {
  2237. addRedirector(
  2238. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2239. "//a[contains(@href,'linkto.net/?')]",
  2240. redirectorTypes.INNER_LINK,
  2241. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2242. }
  2243. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2244. {
  2245. addRedirector(
  2246. '(?:the)?loo\\.katt\\.it\/\\w+',
  2247. "//a[contains(@href,'loo.katt.it/')]",
  2248. redirectorTypes.THELOO_KATT_IT,
  2249. /Proceed to URL - <a href="(.+?)">/);
  2250. }
  2251. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2252. {
  2253. addRedirector(
  2254. 'madlink\\.sk\/\\w+',
  2255. "//a[contains(@href,'madlink.sk/')]",
  2256. redirectorTypes.INNER_LINK,
  2257. /name="url" value="(.+?)\s*"\/>/);
  2258. }
  2259. if (GM_getValue("Check_adf_dot_ly_links", false))
  2260. {
  2261. addRedirector(
  2262. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2263. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2264. redirectorTypes.ADF_LY,
  2265. null);
  2266. }
  2267. if (GM_getValue("Check_redi_dot_re_links", false))
  2268. {
  2269. addRedirector(
  2270. 'redi\\.re\/\\w+',
  2271. "//a[contains(@href,'redi.re/')]",
  2272. redirectorTypes.HTTP_302,
  2273. null);
  2274. }
  2275. if (GM_getValue("Check_bit_dot_ly_links", false))
  2276. {
  2277. addRedirector(
  2278. 'bit\\.ly\/\\w+',
  2279. "//a[contains(@href,'bit.ly/')]",
  2280. redirectorTypes.HTTP_302,
  2281. null);
  2282. }
  2283. }
  2284.  
  2285. }
  2286.  
  2287. var bulkHosts = new Array();
  2288. var bulkHostNames = new Array();
  2289. function initBulkCheck()
  2290. {
  2291. /////////////////////////////
  2292. // Inits filehost object
  2293. /////////////////////////////
  2294. // params :
  2295. // hostName -- [string] host name (multiple domains separated with coma)
  2296. // linkRegex -- [string] link regex
  2297. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2298. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2299. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2300. // corrReplWhat -- [regex] link correction regex (replace)
  2301. // corrReplWith -- [string]
  2302. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2303. //
  2304. // apiUrl -- [string] web linkchecker or API URL
  2305. // postData -- [string] POSTDATA of xmlhttprequest
  2306. // resLinkRegex -- [regex]
  2307. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2308. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2309. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2310. // func -- [function] bulkcheck handler, genBulkCheck if null
  2311. //
  2312. //////////////////////////////
  2313. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2314. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2315. {
  2316. var fileHost = new Object();
  2317.  
  2318. fileHost.linkRegex = linkRegex;
  2319. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2320. fileHost.xpath = xpath;
  2321. fileHost.cFound = 0; //found links counter
  2322. fileHost.links = new Array(); //found links
  2323. if (blockSize == null)
  2324. {
  2325. fileHost.blockSize = 50;
  2326. }
  2327. else
  2328. {
  2329. fileHost.blockSize = blockSize;
  2330. }
  2331. fileHost.corrMatch = corrMatch;
  2332. fileHost.corrReplWhat = corrReplWhat;
  2333. fileHost.corrReplWith = corrReplWith;
  2334. if (splitSeparator == null)
  2335. {
  2336. fileHost.splitSeparator = "\r\n";
  2337. }
  2338. else
  2339. {
  2340. fileHost.splitSeparator = splitSeparator;
  2341. }
  2342. fileHost.apiUrl = apiUrl;
  2343. fileHost.postData = postData;
  2344. fileHost.resLinkRegex = resLinkRegex;
  2345. fileHost.resLiveRegex = resLiveRegex;
  2346. fileHost.resDeadRegex = resDeadRegex;
  2347. fileHost.resUnavaRegex = resUnavaRegex;
  2348. if (func == null)
  2349. {
  2350. fileHost.func = genBulkCheck;
  2351. }
  2352. else
  2353. {
  2354. fileHost.func = func;
  2355. }
  2356. bulkHosts.push(fileHost);
  2357. var names = hostName.split(',');
  2358. var i = names.length;
  2359. while(i--)
  2360. {
  2361. bulkHostNames[names[i]] = fileHost;
  2362. }
  2363. }
  2364. var genType1 = [
  2365. "rodfile.com", "downloadani.me", //"migahost.com",
  2366. "rarefile.net",
  2367. "filesabc.com",
  2368. // "verzend.be",
  2369. // "movreel.com",
  2370. "file4safe.com", "filemac.com",
  2371. "longfiles.com",
  2372. "bitupload.com", //"4up.me",
  2373. //"uploadbaz.com"
  2374. ];
  2375. var genType2 = [ "queenshare.com",
  2376. "hulkload.com",
  2377. "amonshare.com", //"edoc.com",
  2378. ];
  2379. //xfilesharing 1.0
  2380. function addGenericType1()
  2381. {
  2382. var i = genType1.length;
  2383. while(i--)
  2384. {
  2385. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2386. {
  2387. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2388. addHost(
  2389. genType1[i].match(/[\w-]+/)[0], //hostname
  2390. regexSafe + "\/\\w+", //linkregex
  2391. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2392. null, //blocksize
  2393. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2394. null, //corrreplwhat
  2395. null, //corrreplwith
  2396. null, //separator
  2397. "http://" + genType1[i] + "/checkfiles.html", //api url
  2398. "op=checkfiles&process=Check+URLs&list=", //postdata
  2399. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2400. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2401. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2402. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2403. null //function delegate
  2404. )
  2405. }
  2406. }
  2407. }
  2408. //xfilesharing 2.0
  2409. function addGenericType2()
  2410. {
  2411. var i = genType2.length;
  2412. while(i--)
  2413. {
  2414. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2415. {
  2416. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2417. addHost(
  2418. genType2[i].match(/[\w-]+/)[0], //hostname
  2419. regexSafe + "\/\\w+", //linkregex
  2420. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2421. null, //blocksize
  2422. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2423. null, //corrreplwhat
  2424. null, //corrreplwith
  2425. null, //separator
  2426. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2427. "op=checkfiles&process=Check+URLs&list=", //postdata
  2428. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2429. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2430. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2431. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2432. null //function delegate
  2433. )
  2434. }
  2435. }
  2436. }
  2437. // TEMPLATE
  2438. // if (GM_getValue("Check__dot_com_links", false))
  2439. // {
  2440. // addHost(
  2441. // "", //hostname
  2442. // "", //linkregex
  2443. // "//a[contains(@href,'.com/')]", //xpath
  2444. // null, //blocksize
  2445. // null, //corrmatch
  2446. // null, //corrreplwhat
  2447. // null, //corrreplwith
  2448. // null, //separator
  2449. // "", //api url
  2450. // "", //postdata
  2451. // /()/, //linkregex
  2452. // //liveregex
  2453. // //deadregex
  2454. // //unavaregex
  2455. // null //function delegate
  2456. // )
  2457. // }
  2458. addGenericType1();
  2459. addGenericType2();
  2460.  
  2461. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2462. {
  2463. addHost(
  2464. "myvdrive,fileserving", //hostname
  2465. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2466. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2467. null, //blocksize
  2468. null, //corrmatch
  2469. null, //corrreplwhat
  2470. null, //corrreplwith
  2471. null, //separator
  2472. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2473. "links=", //postdata
  2474. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2475. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2476. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2477. null, //unavaregex
  2478. null //function delegate
  2479. )
  2480. }
  2481. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2482. {
  2483. addHost(
  2484. "hackerbox", //hostname
  2485. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2486. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2487. null, //blocksize
  2488. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2489. null, //corrreplwhat
  2490. null, //corrreplwith
  2491. null, //separator
  2492. "http://host.hackerbox.org/checkfiles.html", //api url
  2493. "op=checkfiles&process=Check+URLs&list=", //postdata
  2494. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2495. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2496. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2497. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2498. null //function delegate
  2499. )
  2500. }
  2501. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2502. {
  2503. addHost(
  2504. "hellshare", //hostname
  2505. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2506. "//a[contains(@href,'hellshare.')]", //xpath
  2507. 48, //blocksize
  2508. null, //corrmatch
  2509. null, //corrreplwhat
  2510. null, //corrreplwith
  2511. null, //separator
  2512. null, //api url
  2513. null, //postdata
  2514. null, //linkregex
  2515. null, //liveregex
  2516. null, //deadregex
  2517. null, //unavaregex
  2518. hellshareBulkCheck //function delegate
  2519. )
  2520. }
  2521. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2522. {
  2523. addHost(
  2524. "uploadrocket", //hostname
  2525. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2526. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2527. null, //blocksize
  2528. null, //corrmatch
  2529. null, //corrreplwhat
  2530. null, //corrreplwith
  2531. "\n", //separator
  2532. 'http://uploadrocket.net/?op=checkfiles',
  2533. 'op=checkfiles&process=Check+URLs&list=',
  2534. /uploadrocket.net\/(\w+)/,
  2535. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2536. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2537. null,
  2538. null //function delegate
  2539. )
  2540. }
  2541. if (GM_getValue("Check_uploading_dot_site_links", false))
  2542. {
  2543. addHost(
  2544. "uploading", //hostname
  2545. "(?:uploading\\.site)\/\\w+", //linkregex
  2546. "//a[contains(@href,'uploading.site/')]", //xpath
  2547. null, //blocksize
  2548. null, //corrmatch
  2549. null, //corrreplwhat
  2550. null, //corrreplwith
  2551. "\n", //separator
  2552. 'http://uploading.site/?op=checkfiles',
  2553. 'op=checkfiles&process=Check+URLs&list=',
  2554. /uploading.site\/(\w+)/,
  2555. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2556. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2557. null,
  2558. null //function delegate
  2559. )
  2560. }
  2561. if (GM_getValue("Check_1f_dot_al_links", false))
  2562. {
  2563. addHost(
  2564. "1f",
  2565. "(?:1f\\.al)\/d\/\\w+",
  2566. "//a[contains(@href,'1f.al/d/')]",
  2567. 100000, //blocksize
  2568. null, //corrmatch
  2569. null, //corrreplwhat
  2570. null, //corrreplwith
  2571. null, //separator
  2572. null,
  2573. null,
  2574. null,
  2575. null,
  2576. null,
  2577. null,
  2578. _1falBulkCheck //function delegate
  2579. )
  2580. }
  2581. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2582. {
  2583. addHost(
  2584. "k2s,keep2s,keep2share",
  2585. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2586. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2587. 100000, //blocksize
  2588. null, //corrmatch
  2589. null, //corrreplwhat
  2590. null, //corrreplwith
  2591. null, //separator
  2592. null,
  2593. null,
  2594. null,
  2595. null,
  2596. null,
  2597. null,
  2598. k2sBulkCheck //function delegate
  2599. )
  2600. }
  2601. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2602. {
  2603. addHost(
  2604. "tezfiles",
  2605. "(?:tezfiles\\.com)\/\\w+",
  2606. "//a[contains(@href,'tezfiles.com')]",
  2607. 100000, //blocksize
  2608. null, //corrmatch
  2609. null, //corrreplwhat
  2610. null, //corrreplwith
  2611. null, //separator
  2612. null,
  2613. null,
  2614. null,
  2615. null,
  2616. null,
  2617. null,
  2618. k2sBulkCheck //function delegate
  2619. )
  2620. }
  2621. if (GM_getValue("Check_fboom_dot_me_links", false))
  2622. {
  2623. addHost(
  2624. "fboom,fileboom",
  2625. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2626. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2627. 100000, //blocksize
  2628. null, //corrmatch
  2629. null, //corrreplwhat
  2630. null, //corrreplwith
  2631. null, //separator
  2632. null,
  2633. null,
  2634. null,
  2635. null,
  2636. null,
  2637. null,
  2638. fboomBulkCheck //function delegate
  2639. )
  2640. }
  2641. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2642. {
  2643. addHost(
  2644. "1fichier,dl4free",
  2645. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2646. "//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/?')]",
  2647. 100000, //blocksize
  2648. null, //corrmatch
  2649. null, //corrreplwhat
  2650. null, //corrreplwith
  2651. null, //separator
  2652. null,
  2653. null,
  2654. null,
  2655. null,
  2656. null,
  2657. null,
  2658. dl4free_1fichier_BulkCheck //function delegate
  2659. )
  2660. }
  2661. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2662. {
  2663. addHost(
  2664. "nitroflare",
  2665. "nitroflare\\.com\/\\w+",
  2666. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2667. 100000, //blocksize
  2668. null, //corrmatch
  2669. null, //corrreplwhat
  2670. null, //corrreplwith
  2671. null, //separator
  2672. null,
  2673. null,
  2674. null,
  2675. null,
  2676. null,
  2677. null,
  2678. nitroflareBulkCheck //function delegate
  2679. )
  2680. }
  2681. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2682. {
  2683. addHost(
  2684. "depositfiles,dfiles",
  2685. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2686. "//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/')]",
  2687. 100000, //blocksize
  2688. null, //corrmatch
  2689. null, //corrreplwhat
  2690. null, //corrreplwith
  2691. null, //separator
  2692. null,
  2693. null,
  2694. null,
  2695. null,
  2696. null,
  2697. null,
  2698. depositfilesBulkCheck //function delegate
  2699. )
  2700. }
  2701. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2702. {
  2703. addHost(
  2704. "filesflash", //hostname
  2705. "filesflash\\.com\/\\w+", //linkregex
  2706. "//a[contains(@href,'filesflash.com')]", //xpath
  2707. null, //blocksize
  2708. null, //corrmatch
  2709. /http:\/\//, //corrreplwhat
  2710. '', //corrreplwith
  2711. null, //separator
  2712. 'http://filesflash.com/checklinks.php',
  2713. 'submit=Go&links=',
  2714. /filesflash\.com\/(\w+)/,
  2715. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2716. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2717. null,
  2718. null //function delegate
  2719. )
  2720. }
  2721. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2722. {
  2723. addHost(
  2724. "jumbofiles", //hostname
  2725. "jumbofiles\\.com\/\\w+", //linkregex
  2726. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2727. null, //blocksize
  2728. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2729. null, //corrreplwhat
  2730. null, //corrreplwith
  2731. null, //separator
  2732. "http://jumbofiles.com/checkfiles.html", //api url
  2733. "op=checkfiles&process=Check+URLs&list=", //postdata
  2734. /(jumbofiles\.com\/\w+)/, //linkregex
  2735. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2736. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2737. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2738. null //function delegate
  2739. )
  2740. }*/
  2741. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2742. {
  2743. addHost(
  2744. "edisk", //hostname
  2745. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2746. "//a[contains(@href,'edisk.')]", //xpath
  2747. null, //blocksize
  2748. null, //corrmatch
  2749. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2750. 'edisk.cz/stahni', //corrreplwith
  2751. null, //separator
  2752. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2753. 'submitBtn=Zkontrolovat&checkFiles=',
  2754. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2755. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2756. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2757. null,
  2758. null //function delegate
  2759. )
  2760. }
  2761. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2762. {
  2763. GM_xmlhttpRequest( //age check skip
  2764. {
  2765. method: 'POST',
  2766. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2767. headers: {
  2768. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2769. 'Content-type': 'application/x-www-form-urlencoded',
  2770. 'Referer': ""
  2771. }
  2772. });
  2773. addHost(
  2774. "bezvadata", //hostname
  2775. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2776. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2777. null, //blocksize
  2778. null, //corrmatch
  2779. null, //corrreplwhat
  2780. null, //corrreplwith
  2781. null, //separator
  2782. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2783. 'zkontrolovat=Zkontrolovat&odkazy=',
  2784. /(bezvadata\.cz\/stahnout\/\d+)/,
  2785. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2786. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2787. null,
  2788. null //function delegate
  2789. )
  2790. }
  2791. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2792. {
  2793. addHost(
  2794. "linkcrypt", //hostname
  2795. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2796. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2797. 100000, //blocksize
  2798. null, //corrmatch
  2799. null, //corrreplwhat
  2800. null, //corrreplwith
  2801. null, //separator
  2802. null,
  2803. null,
  2804. null,
  2805. null,
  2806. null,
  2807. null,
  2808. linkcryptBulkCheck //function delegate
  2809. )
  2810. }
  2811. if (GM_getValue("Check_videobb_dot_com_links", false))
  2812. {
  2813. addHost(
  2814. "videobb", //hostname
  2815. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2816. "//a[contains(@href,'videobb.com')]", //xpath
  2817. null, //blocksize
  2818. null, //corrmatch
  2819. /watch_video\.php\?v=/, //corrreplwhat
  2820. 'video/', //corrreplwith
  2821. null, //separator
  2822. 'http://www.videobb.com/link_checker.php',
  2823. 'links=',
  2824. /videobb\.com\/video\/(\w+)/,
  2825. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2826. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2827. null,
  2828. null //function delegate
  2829. )
  2830. }
  2831. if (GM_getValue("Check_filerio_dot_com_links", false))
  2832. {
  2833. addHost(
  2834. "filekeen,filerio", //hostname
  2835. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2836. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2837. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2838. null, //blocksize
  2839. null, //corrmatch
  2840. null, //corrreplwhat
  2841. null, //corrreplwith
  2842. null, //separator
  2843. 'http://filerio.in/checkfiles.html',
  2844. 'op=checkfiles&process=Check+URLs&list=',
  2845. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2846. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2847. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2848. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2849. null //function delegate
  2850. )
  2851. }
  2852. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2853. {
  2854. addHost(
  2855. "share-online,egoshare", //hostname
  2856. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2857. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2858. null, //blocksize
  2859. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2860. null, //corrreplwhat
  2861. null, //corrreplwith
  2862. "\n", //separator
  2863. 'http://api.share-online.biz/linkcheck.php',
  2864. 'links=',
  2865. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2866. /\w+;OK/g,
  2867. /\w+;(?:NOTFOUND|DELETED)/g,
  2868. null,
  2869. null //function delegate
  2870. )
  2871. }
  2872. if (GM_getValue("Check_oboom_dot_com_links", false))
  2873. {
  2874. addHost(
  2875. "oboom", //hostname
  2876. "oboom\\.com\/#?\\w{8}", //linkregex
  2877. "//a[contains(@href,'oboom.com/')]", //xpath
  2878. null, //blocksize
  2879. /oboom\.com\/#?(\w{8})/, //corrmatch
  2880. null, //corrreplwhat
  2881. null, //corrreplwith
  2882. null, //separator
  2883. null,
  2884. null,
  2885. null,
  2886. null, //liveregex
  2887. null, //deadregex
  2888. null,
  2889. oboomBulk //function delegate
  2890. )
  2891. }
  2892. if (GM_getValue("Check_mega_dot_nz_links", false))
  2893. {
  2894. addHost(
  2895. "mega",
  2896. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2897. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2898. 100000, //blocksize
  2899. null, //corrmatch
  2900. null, //corrreplwhat
  2901. null, //corrreplwith
  2902. null, //separator
  2903. null,
  2904. null,
  2905. null,
  2906. null,
  2907. null,
  2908. null,
  2909. megaBulkCheck //function delegate
  2910. )
  2911. }
  2912.  
  2913. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2914.  
  2915. if (GM_getValue("Check_extabit_dot_com_links", false))
  2916. {
  2917. addHost(
  2918. "extabit", //hostname
  2919. "extabit\\.com\/file\/\\w+", //linkregex
  2920. "//a[contains(@href,'extabit.com')]", //xpath
  2921. null, //blocksize
  2922. null, //corrmatch
  2923. null, //corrreplwhat
  2924. null, //corrreplwith
  2925. "\n", //separator
  2926. "http://extabit.com/linkchecker.jsp", //api url
  2927. "url=", //postdata
  2928. /extabit\.com\/(file\/\w+)/, //linkregex
  2929. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2930. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2931. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2932. extabitBulkCheck //function delegate
  2933. )
  2934. }
  2935. /* if (GM_getValue("Check_junocloud_dot_me_links", false))
  2936. {
  2937. addHost(
  2938. "junocloud", //hostname
  2939. "junocloud\\.me\/\\w+", //linkregex
  2940. "//a[contains(@href,'junocloud.me')]", //xpath
  2941. null, //blocksize
  2942. null, //corrmatch
  2943. null, //corrreplwhat
  2944. null, //corrreplwith
  2945. "\n", //separator
  2946. "http://junocloud.me/checkfiles.html", //api url
  2947. "op=checkfiles&process=Check+URLs&list=", //postdata
  2948. /(junocloud\.me\/\w+)/, //linkregex
  2949. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2950. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2951. null, //unavaregex
  2952. null //function delegate
  2953. )
  2954. } */
  2955. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2956. {
  2957. addHost(
  2958. "webshare", //hostname
  2959. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2960. "//a[contains(@href,'webshare.cz')]", //xpath
  2961. 100000, //blocksize
  2962. null, //corrmatch
  2963. null, //corrreplwhat
  2964. null, //corrreplwith
  2965. null, //separator
  2966. null, //api url
  2967. null, //postdata
  2968. null, //linkregex
  2969. null, //liveregex
  2970. null, //deadregex
  2971. null, //unavaregex
  2972. webshareBulkCheck //function delegate
  2973. )
  2974. }
  2975. /////////////////////////////
  2976. // Common function delegate to send links to get checked by host linkchecker
  2977. /////////////////////////////
  2978. // If you define a new delegate, you may use following properties
  2979. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2980. // this.apiUrl [string] API or web linkchecker URL
  2981. // this.postData [string] POSTDATA for POST request
  2982. // this.resLiveRegex [regex] matches live substrings in the request response
  2983. // this.resDeadRegex [regex] matches dead substrings in the request response
  2984. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2985. //
  2986. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2987. //
  2988. // See the code below for standard bulkcheck handling reference.
  2989. //////////////////////////////
  2990. function genBulkCheck()
  2991. {
  2992. var blockIdx = this.links.length;
  2993. while (blockIdx--)
  2994. {
  2995. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2996. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2997. }
  2998. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2999. {
  3000. GM_xmlhttpRequest(
  3001. {
  3002. method: 'POST',
  3003. url: api,
  3004. headers: {
  3005. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3006. 'Content-type': 'application/x-www-form-urlencoded',
  3007. 'Referer': api,
  3008. 'X-Requested-With': 'XMLHttpRequest'
  3009. },
  3010. data: postData + encodeURIComponent(links),
  3011. onload: function (result)
  3012. {
  3013. var res = result.responseText;
  3014. // GM_log(res);
  3015. var i;
  3016.  
  3017. var livelinks = res.match(liveRegex);
  3018. var deadlinks = res.match(deadRegex);
  3019. // GM_log(livelinks);
  3020. // GM_log(deadlinks);
  3021. if (livelinks != null)
  3022. {
  3023. i = livelinks.length - 1;
  3024. do
  3025. {
  3026. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3027. }
  3028. while (i--);
  3029. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3030. }
  3031.  
  3032. if (deadlinks != null)
  3033. {
  3034. i = deadlinks.length - 1;
  3035. do
  3036. {
  3037. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3038. }
  3039. while (i--);
  3040. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3041. }
  3042.  
  3043. if (unavaRegex != null)
  3044. {
  3045. var unavalinks = res.match(unavaRegex);
  3046. if (unavalinks)
  3047. {
  3048. i = unavalinks.length - 1;
  3049. do
  3050. {
  3051. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3052. }
  3053. while (i--);
  3054. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3055. }
  3056. }
  3057. }
  3058. });
  3059. }
  3060. }
  3061. //specialized bulkchecking handlers follow
  3062. function webshareBulkCheck()
  3063. {
  3064. var arr = this.links[0].split("\r\n");
  3065. var i = arr.length;
  3066. while(i--)
  3067. {
  3068. postRequest(arr[i]);
  3069. }
  3070. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3071. function postRequest(wsLink)
  3072. {
  3073. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3074. GM_xmlhttpRequest(
  3075. {
  3076. method: 'POST',
  3077. url: "http://webshare.cz/api/file_info/",
  3078. headers: {
  3079. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3080. 'Content-type': 'application/x-www-form-urlencoded',
  3081. 'Referer': "",
  3082. },
  3083. data: "wst=&ident=" + id,
  3084. onload: function (result)
  3085. {
  3086. var res = result.responseText;
  3087. if (res.match(/<name>.+?<\/name>/))
  3088. {
  3089. DisplayTheCheckedLinks([id], 'alive_link');
  3090. }
  3091. else
  3092. {
  3093. DisplayTheCheckedLinks([id], 'adead_link');
  3094. }
  3095. }
  3096. });
  3097. }
  3098. }
  3099. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3100. //extabit also doesn't like requests in fast succession, so some delays are added.
  3101. function extabitBulkCheck()
  3102. {
  3103. var timeoutDelay = 0;
  3104. var blockIdx = this.links.length;
  3105. while (blockIdx--)
  3106. {
  3107. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3108. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3109. }
  3110. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3111. {
  3112. GM_xmlhttpRequest(
  3113. {
  3114. method: 'POST',
  3115. url: api,
  3116. headers: {
  3117. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3118. 'Content-type': 'application/x-www-form-urlencoded',
  3119. 'Referer': api,
  3120. 'X-Requested-With': 'XMLHttpRequest'
  3121. },
  3122. data: postData + encodeURIComponent(links),
  3123. onload: function (result)
  3124. {
  3125. var res = result.responseText;
  3126. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3127. {
  3128. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3129. {
  3130. //GM_log(tryID + ': ' + link);
  3131. GM_xmlhttpRequest(
  3132. {
  3133. method: 'GET',
  3134. url: link,
  3135. 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': ""},
  3136. onload: function(result2)
  3137. {
  3138. var res2 = result2.responseText;
  3139. var res2Status = result.status;
  3140. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3141. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3142. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3143. {
  3144. if (tryID < 7)
  3145. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3146. else
  3147. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3148. }
  3149. }
  3150. });
  3151. }
  3152. //split the hrefs and check them one by one
  3153. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3154. links = links.split('\n');
  3155. var i = links.length;
  3156. while (i--)
  3157. {
  3158. if (links[i])
  3159. {
  3160. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3161. timeoutDelay += 500;
  3162. }
  3163. }
  3164. return;
  3165. }
  3166. var i;
  3167.  
  3168. var livelinks = res.match(liveRegex);
  3169. var deadlinks = res.match(deadRegex);
  3170. if (livelinks != null)
  3171. {
  3172. i = livelinks.length - 1;
  3173. do
  3174. {
  3175. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3176. }
  3177. while (i--);
  3178. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3179. }
  3180.  
  3181. if (deadlinks != null)
  3182. {
  3183. i = deadlinks.length - 1;
  3184. do
  3185. {
  3186. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3187. }
  3188. while (i--);
  3189. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3190. }
  3191.  
  3192. if (unavaRegex != null)
  3193. {
  3194. var unavalinks = res.match(unavaRegex);
  3195. if (unavalinks)
  3196. {
  3197. i = unavalinks.length - 1;
  3198. do
  3199. {
  3200. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3201. }
  3202. while (i--);
  3203. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3204. }
  3205. }
  3206. }
  3207. });
  3208. }
  3209. }
  3210. function _1falBulkCheck()
  3211. {
  3212. var arr = this.links[0].split("\r\n");
  3213. var i = arr.length;
  3214. c=0;
  3215. arrIDs=[];
  3216. while(i--)
  3217. {
  3218. id = arr[i].match(/\/d\/(\w+)/)[1];
  3219.  
  3220. _1falalreadyexist=false;
  3221. for (j=0;j<arrIDs.length;j++)
  3222. {
  3223. if (arrIDs[j]==id)
  3224. {
  3225. _1falalreadyexist=g
  3226. break;
  3227. }
  3228. }
  3229. if (_1falalreadyexist) continue;
  3230. arrIDs.push(id);
  3231. c++;
  3232. setTimeout(_1falRequest,c*500,arr[i]);
  3233. }
  3234. }
  3235. function _1falRequest(_1falLink)
  3236. {
  3237. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3238. GM_xmlhttpRequest(
  3239. {
  3240. method: 'GET',
  3241. url: _1falLink,
  3242. headers: {
  3243. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3244. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3245. 'Referer': 'http://www.planetsuzy.org/'
  3246. },
  3247. onload: function (result)
  3248. {
  3249. var res = result.responseText;
  3250. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3251. if (FAarr!=null)
  3252. {
  3253. FALink=FAarr[1];
  3254. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3255. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3256. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3257. GM_xmlhttpRequest(
  3258. {
  3259. method: 'POST',
  3260. url: FALink,
  3261. headers: {
  3262. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3263. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3264. 'Content-Type': 'application/x-www-form-urlencoded',
  3265. 'Referer': _1falLink
  3266. },
  3267. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3268. onload: function (_2ndresult)
  3269. {
  3270. var newres = _2ndresult.responseText;
  3271. FAalivelink=new RegExp("method_free");
  3272. if (FAalivelink.test(newres))
  3273. {
  3274. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3275. return;
  3276. }
  3277. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3278. if (FAdeadlink.test(newres))
  3279. {
  3280. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3281. return;
  3282. }
  3283. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3284. return;
  3285. }
  3286. });
  3287. return;
  3288. }
  3289. else
  3290. {
  3291. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3292. return;
  3293. }
  3294. },
  3295. onerror: function ()
  3296. {
  3297. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3298. return;
  3299. }
  3300. });
  3301. }
  3302. function k2sBulkCheck()
  3303. {
  3304. var arr = this.links[0].split("\r\n");
  3305. var i = arr.length;
  3306. c=0;
  3307. arrIDs=[];
  3308. while(i--)
  3309. {
  3310. id = arr[i].match(/\/file\/(\w+)/)[1];
  3311. if (id=='info')
  3312. {
  3313. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3314. continue;
  3315. }
  3316. k2salreadyexist=false;
  3317. for (j=0;j<arrIDs.length;j++)
  3318. {
  3319. if (arrIDs[j]==id)
  3320. {
  3321. k2salreadyexist=g
  3322. break;
  3323. }
  3324. }
  3325. if (k2salreadyexist) continue;
  3326. arrIDs.push(id);
  3327. c++;
  3328. setTimeout(k2sRequest,c*500,arr[i]);
  3329. }
  3330. }
  3331. function k2sRequest(K2SLink)
  3332. {
  3333. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3334. GM_xmlhttpRequest(
  3335. {
  3336. method: 'GET',
  3337. url: K2SLink,
  3338. headers: {
  3339. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3340. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3341. 'Referer': ''
  3342. },
  3343. onload: function (result)
  3344. {
  3345. var res = result.responseText;
  3346. K2Dom='k2s.cc';
  3347. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3348. K2SLink2='http://'+K2Dom+'/file/'+id;
  3349.  
  3350. 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'))
  3351. {
  3352. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3353. return;
  3354. }
  3355. if (res.match('method="post">Displaying'))
  3356. {
  3357. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3358. return;
  3359. }
  3360. if (res.match('Premium only|only for premium members'))
  3361. {
  3362. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3363. return;
  3364. }
  3365. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3366. {
  3367. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3368. slID=slow_id.exec(res)[1];
  3369. GM_xmlhttpRequest(
  3370. {
  3371. method: 'POST',
  3372. url: K2SLink2,
  3373. headers: {
  3374. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3375. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3376. 'Content-Type': 'application/x-www-form-urlencoded',
  3377. 'Referer': K2SLink
  3378. },
  3379. data: 'slow_id='+slID+'&yt0=',
  3380. onload: function (result)
  3381. {
  3382. var newres = result.responseText;
  3383. newoversizedtest=new RegExp("Free user can't download large files.");
  3384. if (newoversizedtest.test(newres))
  3385. {
  3386. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3387. return;
  3388. }
  3389. else
  3390. {
  3391. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3392. return;
  3393. }
  3394. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3395. return;
  3396. }
  3397. });
  3398. /////////////////////end additional check for oversized links
  3399. return;
  3400. }
  3401. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3402. return;
  3403. },
  3404. onerror: function ()
  3405. {
  3406. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3407. return;
  3408. }
  3409. });
  3410. }
  3411. function fboomBulkCheck()
  3412. {
  3413. var arr = this.links[0].split("\r\n");
  3414. var i = arr.length;
  3415. c=0;
  3416. arrIDs=[];
  3417. while(i--)
  3418. {
  3419. id = arr[i].match(/\/file\/(\w+)/)[1];
  3420. if (id=='info')
  3421. {
  3422. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3423. continue;
  3424. }
  3425. fbalreadyexist=false;
  3426. for (j=0;j<arrIDs.length;j++)
  3427. {
  3428. if (arrIDs[j]==id)
  3429. {
  3430. fbalreadyexist=true;
  3431. break;
  3432. }
  3433. }
  3434. if (fbalreadyexist) continue;
  3435. arrIDs.push(id);
  3436. c++;
  3437. setTimeout(fboomRequest,c*500,arr[i]);
  3438. }
  3439. }
  3440. function fboomRequest(FBoomLink)
  3441. {
  3442. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3443. FBoomLink2='http://fboom.me/file/'+id;
  3444. GM_xmlhttpRequest(
  3445. {
  3446. method: 'GET',
  3447. url: FBoomLink,
  3448. headers: {
  3449. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3450. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3451. 'Referer': ''
  3452. },
  3453. onload: function (result)
  3454. {
  3455. var res = result.responseText;
  3456. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3457. {
  3458. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3459. return;
  3460. }
  3461. if (res.match('method="post">Displaying'))
  3462. {
  3463. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3464. return;
  3465. }
  3466. if (res.match('only for premium members'))
  3467. {
  3468. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3469. return;
  3470. }
  3471. if (res.match('id="download-free" href="#"'))
  3472. {
  3473. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3474. slID=slow_id.exec(res)[1];
  3475. GM_xmlhttpRequest(
  3476. {
  3477. method: 'POST',
  3478. url: FBoomLink2,
  3479. headers: {
  3480. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3481. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3482. 'Content-Type': 'application/x-www-form-urlencoded',
  3483. 'Referer': FBoomLink
  3484. },
  3485. data: 'slow_id='+slID,
  3486. onload: function (result)
  3487. {
  3488. var newres = result.responseText;
  3489. newoversizedtest=new RegExp("Downloading is not possible");
  3490. if (newoversizedtest.test(newres))
  3491. {
  3492. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3493. return;
  3494. }
  3495. else
  3496. {
  3497. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3498. return;
  3499. }
  3500. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3501. return;
  3502. }
  3503. });
  3504. /////////////////////end additional check for oversized links
  3505. return;
  3506. }
  3507. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3508. return;
  3509. },
  3510. onerror: function ()
  3511. {
  3512. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3513. return;
  3514. }
  3515. });
  3516. }
  3517. function dl4free_1fichier_BulkCheck()
  3518. {
  3519. var arr = this.links[0].split("\r\n");
  3520. var i = arr.length;
  3521. while(i--)
  3522. {
  3523. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3524. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3525. gethead_dl4free_1fichier(arr[i]);
  3526. }
  3527. }
  3528. function gethead_dl4free_1fichier(link)
  3529. {
  3530. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3531. GM_xmlhttpRequest(
  3532. {
  3533. method: 'HEAD',
  3534. url: link,
  3535. headers: {
  3536. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3537. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3538. 'Referer': ''
  3539. },
  3540. onload: function (result)
  3541. {
  3542. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3543. {
  3544. DisplayTheCheckedLinks([id], 'alive_link');
  3545. return;
  3546. }
  3547. else
  3548. {
  3549. getlink_dl4free_1fichier(link);
  3550. }
  3551. return;
  3552. },
  3553. onerror: function ()
  3554. {
  3555. DisplayTheCheckedLinks([id], 'unava_link');
  3556. }
  3557. });
  3558. }
  3559. function getlink_dl4free_1fichier(link)
  3560. {
  3561. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3562. GM_xmlhttpRequest(
  3563. {
  3564. method: 'GET',
  3565. url: link,
  3566. headers: {
  3567. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3568. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3569. 'Referer': ''
  3570. },
  3571. onload: function (result)
  3572. {
  3573. var res = result.responseText;
  3574. 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');
  3575. if (deadRegex.test(res))
  3576. {
  3577. DisplayTheCheckedLinks([id], 'adead_link');
  3578. return;
  3579. }
  3580. premiumRegex=new RegExp('only for premium users');
  3581. if (premiumRegex.test(res))
  3582. {
  3583. DisplayTheCheckedLinks([id], 'prem_link');
  3584. return;
  3585. }
  3586. 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="');
  3587. if (liveRegex.test(res))
  3588. {
  3589. DisplayTheCheckedLinks([id], 'alive_link');
  3590. return;
  3591. }
  3592. DisplayTheCheckedLinks([id], 'unava_link');
  3593. },
  3594. onerror: function ()
  3595. {
  3596. DisplayTheCheckedLinks([id], 'unava_link');
  3597. }
  3598. });
  3599. }
  3600. function nitroflareBulkCheck()
  3601. {
  3602. var arr = this.links[0].split("\r\n");
  3603. var i = arr.length;
  3604. while(i--)
  3605. {
  3606. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3607. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3608. NitroFlareRequest(arr[i]);
  3609. }
  3610. }
  3611. function NitroFlareRequest(NFLink)
  3612. {
  3613. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3614. GM_xmlhttpRequest(
  3615. {
  3616. method: "GET",
  3617. url: NFLink,
  3618. headers: {
  3619. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3620. 'Content-Type': 'application/x-www-form-urlencoded',
  3621. 'Referer': ""
  3622. },
  3623. onload: function (result)
  3624. {
  3625. var res = result.responseText;
  3626. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3627. {
  3628. DisplayTheCheckedLinks([NFID], 'adead_link');
  3629. return;
  3630. }
  3631. if (res.match('Report this file<\/a>'))
  3632. {
  3633. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3634. sizearr=measureRegex.exec(res);
  3635. if (sizearr[2]=='GB')
  3636. {
  3637. if (parseFloat(sizearr[1])>1)
  3638. {
  3639. DisplayTheCheckedLinks([NFID], 'prem_link');
  3640. }
  3641. else
  3642. {
  3643. DisplayTheCheckedLinks([NFID], 'alive_link');
  3644. }
  3645. }
  3646. else
  3647. {
  3648. DisplayTheCheckedLinks([NFID], 'alive_link');
  3649. }
  3650. return;
  3651. }
  3652. DisplayTheCheckedLinks([NFID], 'unava_link');
  3653. }
  3654. });
  3655. }
  3656. function depositfilesBulkCheck()
  3657. {
  3658. var arr = this.links[0].split("\r\n");
  3659. var i = arr.length;
  3660. var seqno = Math.floor(Math.random()*1000000000);
  3661. while(i--)
  3662. {
  3663. DFpostRequest(arr[i]);
  3664. }
  3665. }
  3666. function DFpostRequest(DFLink)
  3667. {
  3668. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3669. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3670. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3671. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3672. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3673. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3674. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3675. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3676. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3677. GM_xmlhttpRequest(
  3678. {
  3679. method: "GET",
  3680. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3681. headers: {
  3682. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3683. 'Content-Type': 'application/x-www-form-urlencoded',
  3684. 'Referer': ""
  3685. },
  3686. onload: function (result)
  3687. {
  3688. var res = result.responseText;
  3689. if (res.match('(?:no_file|file_ban)'))
  3690. {
  3691. DisplayTheCheckedLinks([id], 'adead_link');
  3692. return;
  3693. }
  3694. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3695. {
  3696. DisplayTheCheckedLinks([id], 'alive_link');
  3697. return;
  3698. }
  3699. DisplayTheCheckedLinks([id], 'unava_link');
  3700. }
  3701. });
  3702. }
  3703.  
  3704. function megaBulkCheck()
  3705. {
  3706. var arr = this.links[0].split("\r\n");
  3707. var i = arr.length;
  3708. var seqno = Math.floor(Math.random()*1000000000);
  3709. while(i--)
  3710. {
  3711. postRequest(arr[i]);
  3712. }
  3713. function postRequest(megaLink)
  3714. {
  3715. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3716. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3717. if (id=='F')
  3718. {
  3719. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3720. DisplayTheCheckedLinks([id], 'unava_link');
  3721. }
  3722. else
  3723. GM_xmlhttpRequest(
  3724. {
  3725. method: "POST",
  3726. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3727. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3728. headers: {
  3729. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3730. 'Content-Type': 'application/xml',
  3731. 'Referer': "https://mega.co.nz/"
  3732. },
  3733. onload: function (result)
  3734. {
  3735. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3736. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3737. {
  3738.  
  3739. DisplayTheCheckedLinks([id], 'adead_link');
  3740. }
  3741. if (res.at)
  3742. {
  3743. DisplayTheCheckedLinks([id], 'alive_link');
  3744. }
  3745. if (res.e == "ETEMPUNAVAIL")
  3746. {
  3747. DisplayTheCheckedLinks([id], 'unava_link');
  3748. }
  3749. }
  3750. });
  3751. }
  3752.  
  3753. }
  3754.  
  3755. function oboomBulk() {
  3756. var a = [], b = [], c = [];
  3757. var array = this.links;
  3758.  
  3759. GM_xmlhttpRequest({
  3760. method: 'GET',
  3761. url: 'https://www.oboom.com/1/guestsession',
  3762. headers: {
  3763. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3764. 'Content-type': 'application/x-www-form-urlencoded',
  3765. 'Referer': 'https://www.oboom.com',
  3766. 'X-Requested-With': 'XMLHttpRequest'
  3767. },
  3768. onload: function(result) {
  3769. var blockIdx = array.length;
  3770. var token = JSON.parse(result.responseText)[1];
  3771. while (blockIdx--) {
  3772. startCheck(array[blockIdx].split('\r\n'), token);
  3773. }
  3774. }
  3775. });
  3776.  
  3777. function startCheck(links, token) {
  3778. GM_xmlhttpRequest({
  3779. method: 'POST',
  3780. url: "https://api.oboom.com/1/info",
  3781. headers: {
  3782. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3783. 'Content-type': 'application/x-www-form-urlencoded',
  3784. 'Referer': 'https://www.oboom.com/',
  3785. 'X-Requested-With': 'XMLHttpRequest'
  3786. },
  3787. data: "token=" + token + "&items=" + links.join(","),
  3788. onload: function(result) {
  3789. var res = JSON.parse(result.responseText)[1];
  3790. var i = res.length, s;
  3791.  
  3792. while (i--) {
  3793. s = res[i].state;
  3794. if (s == 'online') a.push(res[i].id);
  3795. 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);
  3796. else c.push(res[i].id);
  3797. }
  3798.  
  3799. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3800. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3801. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3802. }
  3803. });
  3804. }
  3805. }
  3806. function linkcryptBulkCheck()
  3807. {
  3808. var arr = this.links[0].split("\r\n");
  3809. var i = arr.length;
  3810. while(i--)
  3811. {
  3812. postRequest(arr[i]);
  3813. }
  3814. function postRequest(lcLink)
  3815. {
  3816. GM_xmlhttpRequest(
  3817. {
  3818. method: "GET",
  3819. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3820. headers: {
  3821. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3822. 'Accept': 'text/xml',
  3823. 'Referer': ""
  3824. },
  3825. onload: function (result)
  3826. {
  3827. var res = result.responseText;
  3828. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3829. {
  3830. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3831. return;
  3832. }
  3833. if (res.match(/folderStatus>1/)) //Online status
  3834. {
  3835. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3836. }
  3837. else
  3838. {
  3839. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3840. }
  3841. }
  3842. });
  3843. }
  3844. }
  3845.  
  3846. /* function megashareBulkCheck()
  3847. {
  3848. var arr = this.links[0].split("\r\n");
  3849. var i = arr.length;
  3850. while(i--)
  3851. {
  3852. postRequest(arr[i]);
  3853. }
  3854. function postRequest(msLink)
  3855. {
  3856. GM_xmlhttpRequest(
  3857. {
  3858. method: "GET",
  3859. url: msLink,
  3860. headers: {
  3861. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3862. 'Content-Type': 'application/x-www-form-urlencoded',
  3863. 'Referer': ""
  3864. },
  3865. onload: function (result)
  3866. {
  3867. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3868. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3869. if ((prZVal == null) || (btn3Name == null))
  3870. {
  3871. return;
  3872. }
  3873. GM_xmlhttpRequest(
  3874. {
  3875. method: "POST",
  3876. url: msLink,
  3877. headers: {
  3878. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3879. 'Content-Type': 'application/x-www-form-urlencoded',
  3880. 'Referer': ""
  3881. },
  3882. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3883. onload: function (result)
  3884. {
  3885. var res = result.responseText;
  3886. if (res.match(/<div id="err">/))
  3887. {
  3888. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3889. }
  3890. else
  3891. {
  3892. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3893. }
  3894. }
  3895. });
  3896. }
  3897. });
  3898. }
  3899. } */
  3900. function hellshareBulkCheck()
  3901. {
  3902. var links = this.links;
  3903. GM_xmlhttpRequest(
  3904. {
  3905. method: "GET",
  3906. url: 'http://www.hellshare.com',
  3907. headers: {
  3908. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3909. 'Accept': 'text/xml',
  3910. 'Referer': ""
  3911. },
  3912. onload: function (result)
  3913. {
  3914. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3915.  
  3916. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3917. if (domain == 'sk')
  3918. loc = 'check=Skontrolova%C5%A5&links=';
  3919. if (domain == 'com')
  3920. loc = 'check=Check+availability&links=';
  3921. if (domain == 'hu')
  3922. loc = 'check=Kontrol%C3%A1lj&links=';
  3923. if (domain == 'pl')
  3924. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3925.  
  3926. genBulkCheck.call({ links: links,
  3927. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3928. postData: loc,
  3929. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3930. 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,
  3931. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3932. resUnavaRegex: null
  3933. });
  3934. }
  3935. });
  3936. }
  3937. /**
  3938. * Displays check result
  3939. * @param {Array} Array of links or link fragments.
  3940. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3941. */
  3942. function DisplayTheCheckedLinks(links, resultStatus)
  3943. {
  3944. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3945. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3946. if (Do_not_linkify_DL_links)
  3947. { //TODO into separate jQuery function
  3948. $links.replaceWith(function(){
  3949. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3950. });
  3951. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3952. }
  3953. $links.removeClass().addClass(resultStatus);
  3954. $links.each(function() {
  3955. this.href = Ref_anonymize_service + $(this).attr("href");
  3956. });
  3957. switch(resultStatus)
  3958. {
  3959. case "alive_link": cLinksAlive += $links.length;
  3960. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3961. break;
  3962. case "adead_link": cLinksDead += $links.length;
  3963. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3964. break;
  3965. case "prem_link": cLinksprem += $links.length;
  3966. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3967. break;
  3968. case "unava_link": cLinksUnava += $links.length; break;
  3969. default:
  3970. }
  3971. cLinksProcessed += $links.length;
  3972. }
  3973. }
  3974. // starts bulkchecking
  3975. //
  3976. // params
  3977. // filterId [string] restricts link detection with passed id attribute
  3978. function startBulkCheck(filterId)
  3979. {
  3980. var cHosts = bulkHosts.length;
  3981. if (cHosts == 0) //no filehostings selected
  3982. return;
  3983. // STEP 1 linkify the links
  3984. var linkifyRegex = '';
  3985. var hostIdx = cHosts;
  3986. while(hostIdx--)
  3987. {
  3988. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3989. }
  3990. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3991. linkify(linkifyRegex);
  3992. //
  3993. //STEP 2 detect link objects
  3994. var xpathAll = '';
  3995. var hostIdx = cHosts;
  3996. while(hostIdx--)
  3997. {
  3998. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3999. }
  4000. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  4001. xpathAll = xpathAll.replace(/\]\|/, ')]');
  4002. if (filterId != null) //insert id restriction in the xpath
  4003. {
  4004. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  4005. }
  4006. else
  4007. {
  4008. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4009. }
  4010. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4011. if (filterId == null)
  4012. {
  4013. cLinksTotal += links.snapshotLength;
  4014. }
  4015. //
  4016. //STEP 3 bind links with hostings
  4017. var linkIdx = links.snapshotLength;
  4018. var href = null;
  4019. if (linkIdx == 0) // no links found
  4020. return;
  4021. var name;
  4022. while (linkIdx--)
  4023. {
  4024. href = links.snapshotItem(linkIdx).href;
  4025. try // DO NOT REMOVE, filters crap that went through xpath detection
  4026. {
  4027. name = gimmeHostName(href);
  4028. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4029. bulkHostNames[name].links.push(href);
  4030. }
  4031. catch(e)
  4032. {
  4033.  
  4034. }
  4035. }
  4036. //
  4037. //STEP 4 process the links for each filehosting
  4038. var hostIdx = cHosts;
  4039. var host;
  4040. var m,n;
  4041. var arr;
  4042. while (hostIdx--)
  4043. {
  4044. host = bulkHosts[hostIdx];
  4045. arr = host.links;
  4046. if (arr.length == 0) //no links for this hosting, skip
  4047. {
  4048. continue;
  4049. }
  4050. //links match corrections
  4051. if (host.corrMatch != null)
  4052. {
  4053. var idx = arr.length;
  4054. while (idx--)
  4055. {
  4056. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4057. }
  4058. }
  4059. //links replace corrections
  4060. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4061. {
  4062. var idx = arr.length;
  4063. while (idx--)
  4064. {
  4065. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4066. }
  4067. }
  4068. m = arr.length;
  4069. n = host.blockSize;
  4070. if (m > n)
  4071. {
  4072. //insert block separators (RAND_STRING) into the array
  4073. for(var i = n; i < m; i += n + 1)
  4074. {
  4075. arr.splice(i, 0, RAND_STRING);
  4076. }
  4077. }
  4078.  
  4079. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4080. apiUrl: host.apiUrl,
  4081. postData: host.postData,
  4082. resLinkRegex: host.resLinkRegex,
  4083. resLiveRegex: host.resLiveRegex,
  4084. resDeadRegex: host.resDeadRegex,
  4085. resUnavaRegex: host.resUnavaRegex
  4086. });
  4087. //clean up
  4088. arr.length = 0;
  4089. }
  4090. //
  4091.  
  4092. function gimmeHostName(link)
  4093. {
  4094. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4095. }
  4096. }
  4097. function checkLinks(filterId)
  4098. {
  4099. startBulkCheck(filterId);
  4100. start(filterId);
  4101. }
  4102.  
  4103. /**
  4104. * Initialises progress box including event binding and CSS
  4105. */
  4106. function initProgressBox()
  4107. {
  4108. if ($("#warlc-progressbox").length > 0)
  4109. return;
  4110. //progressbox css change size and color of progress box
  4111. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4112. "; opacity:" + (Progress_box_opacity / 100) +
  4113. "; bottom:" + Processbox_Pos_Y +
  4114. "%; left:" + Processbox_Pos_X +
  4115. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4116. \
  4117. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4118. \
  4119. .warlc-progressitem {}\
  4120. \
  4121. .alive {color:#00FF7F; " + Live_links_color +
  4122. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4123. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4124. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4125. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4126. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4127. //
  4128. if (Progressbox_Scaling != 100) {
  4129. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4130. 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
  4131. });
  4132. }
  4133. 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
  4134.  
  4135. GM_addStyle(progressboxCss);
  4136. $('body').append(' <div id="warlc-progressbox">\
  4137. <div class="warlc-progressbar"></div>\
  4138. <span class="warlc-progressitem alive"></span> - \
  4139. <span class="warlc-progressitem dead"></span> - \
  4140. <span class="warlc-progressitem unava"></span> - \
  4141. <span class="warlc-progressitem prem"></span> - \
  4142. <span class="warlc-progressitem processing"></span>\
  4143. </div>');
  4144. $('#warlc-progressbox').hide().click(function(){
  4145. clearInterval(intervalId);
  4146. $(this).hide();
  4147. return false;
  4148. });
  4149. $(".warlc-progressbar").progressbar({complete: function(){
  4150. $(this).fadeOut();
  4151. clearInterval(intervalId); //stop refreshing the stats
  4152. }
  4153. })
  4154. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4155. }
  4156. /**
  4157. * Updates progress data in progress box
  4158. */
  4159. function updateProgress()
  4160. {
  4161. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4162. if (cLinksTotal) // some links were detected on page
  4163. {
  4164. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4165. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4166. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4167. if ((cLinksTotal - cLinksProcessed) == 0)
  4168. {
  4169. $progressItems.first().text(cLinksAlive)
  4170. .next().text(cLinksDead)
  4171. .next().text(cLinksUnava)
  4172. .next().text(cLinksprem)
  4173. .next().remove();
  4174. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4175. $('#warlc-progressbox div:first-child').remove();
  4176. }
  4177. else
  4178. {
  4179. $progressItems.first().text(cLinksAlive)
  4180. .next().text(cLinksDead)
  4181. .next().text(cLinksUnava)
  4182. .next().text(cLinksprem)
  4183. .next().text(cLinksTotal - cLinksProcessed);
  4184. }
  4185. }
  4186. }
  4187.  
  4188. function check_all_links()
  4189. {
  4190. add_WARLC_style();
  4191.  
  4192. if (Show_progress_stats)
  4193. {
  4194. initProgressBox();
  4195. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4196. }
  4197.  
  4198. startBulkCheck(null);
  4199. start(null);
  4200.  
  4201. if (!containers_processed)
  4202. {
  4203. processContainers();
  4204. }
  4205. }
  4206.  
  4207. //Copies all found dead links to clipboard - right now for Scriptish only
  4208. function copy_dead_to_clipboard()
  4209. {
  4210. initClipBoardTools();
  4211.  
  4212. var deadlinksxpath = "//.[@class='adead_link']";
  4213.  
  4214. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4215. var foundlinkstext = '';
  4216.  
  4217. var foundlinkIdx = foundlinks.snapshotLength;
  4218.  
  4219. while(foundlinkIdx--)
  4220. {
  4221. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4222. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4223. }
  4224.  
  4225. GM_setClipboard(foundlinkstext);
  4226. }
  4227. //Copies all found live links to clipboard
  4228. function copy_live_to_clipboard()
  4229. {
  4230. initClipBoardTools();
  4231.  
  4232. var livelinksxpath = "//.[@class='alive_link']";
  4233.  
  4234. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4235. var foundlinks2text = '';
  4236.  
  4237. var foundlink2Idx = foundlinks2.snapshotLength;
  4238.  
  4239. while(foundlink2Idx--)
  4240. {
  4241. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4242. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4243. }
  4244.  
  4245. GM_setClipboard(foundlinks2text);
  4246. }
  4247.  
  4248. function toggle_autocheck()
  4249. {
  4250. var currentState = GM_getValue("Autocheck", false);
  4251. GM_setValue("Autocheck", !currentState);
  4252.  
  4253. if (currentState == true)
  4254. {
  4255. sendMessage('Autocheck disabled', 'red');
  4256. }
  4257. else
  4258. {
  4259. sendMessage('Autocheck enabled', 'SpringGreen');
  4260. }
  4261. }
  4262. function toggle_Enable_Anonymizer()
  4263. {
  4264. var currentState = GM_getValue("Enable_Anonymizer", false);
  4265. GM_setValue("Enable_Anonymizer", !currentState);
  4266.  
  4267. if (currentState == true)
  4268. {
  4269. GM_setValue("Ref_anonymize_service", "");
  4270. sendMessage('Anonymizer Disabled', 'red');
  4271. }
  4272. else
  4273. {
  4274. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4275. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4276. }
  4277. }
  4278.  
  4279. function KeyDownHandler(event)
  4280. {
  4281. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4282. if (event.ctrlKey && event.altKey)
  4283. {
  4284. switch(kcode)
  4285. {
  4286. case 65 : check_all_links(); break;
  4287. case 67 : configuration(); break;
  4288. case 68 : copy_dead_to_clipboard(); break;
  4289. case 76 : copy_live_to_clipboard(); break;
  4290. case 87 : toggle_autocheck(); break;
  4291. case 90 : toggle_Enable_Anonymizer(); break;
  4292. }
  4293. }
  4294. }
  4295.  
  4296. //
  4297. //
  4298. // SCRIPT EXECUTION START POINT
  4299. //
  4300. //
  4301. // Safari specific GM_getResourceText override
  4302. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4303. {
  4304. GM_getResourceText = function(res) {
  4305. var $cssText = GM_getValue("jquery_css", "");
  4306. if ($cssText == "")
  4307. {
  4308. GM_xmlhttpRequest(
  4309. {
  4310. method: 'GET',
  4311. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4312. onload: function (result)
  4313. {
  4314. GM_setValue("jquery_css", result.responseText);
  4315. window.location.reload();
  4316. }
  4317. });
  4318. }
  4319. else
  4320. {
  4321. return $cssText;
  4322. }
  4323. }
  4324. }
  4325. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4326. GM_addStyle(jQueryUICSS);
  4327. //init the stuff
  4328. setVariables();
  4329. initBulkCheck();
  4330. //init info boxes
  4331. messageBox.style.position = 'fixed';
  4332. messageBox.style.top = '20px';
  4333. messageBox.style.left = '10px';
  4334. messageBox.style.opacity = '0.85';
  4335. messageBox.style.background = 'DimGray';
  4336. messageBox.style.fontSize = '36px';
  4337. document.body.appendChild(messageBox);
  4338.  
  4339. //register GM menu commands & keyboard shortcut event handler
  4340. if (Keyboard_functions)
  4341. {
  4342. $(document).keydown(KeyDownHandler);
  4343. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4344. 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);
  4345. }
  4346. else
  4347. {
  4348. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4349. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4350. }
  4351.  
  4352. //start linkchecking
  4353. if (Autocheck)
  4354. {
  4355. $(document).ready(check_all_links);
  4356. }
  4357.  
  4358. //
  4359. //
  4360. // SCRIPT EXECUTION END POINT
  4361. //
  4362. //
  4363.  
  4364. //shows configuration box
  4365. function configuration()
  4366. {
  4367.  
  4368. //prevent multiple creating of config window
  4369. if ($("#hideshow").length)
  4370. {
  4371. $("#hideshow").show();
  4372. return;
  4373. }
  4374.  
  4375. var configcss = '\
  4376. .popup_block .popup fieldset{\
  4377. padding: 1%;\
  4378. border-style: solid;\
  4379. border-width: 1px;\
  4380. border-color: gray;\
  4381. margin-bottom: 1px;\
  4382. }\
  4383. #h3hideshowtitle{\
  4384. font-size: 2em;\
  4385. }\
  4386. #h3hideshow{\
  4387. font-size: 1.5em;\
  4388. }\
  4389. #imghideshow {\
  4390. border: none;\
  4391. }\
  4392. #plusimage{\
  4393. display:inline;\
  4394. }\
  4395. #hideshow {\
  4396. position: fixed;\
  4397. width: 100%;\
  4398. height: 100%;\
  4399. top: 0;\
  4400. left: 0;\
  4401. font-size:12px;\
  4402. z-index:2147483645;\
  4403. text-align:left;\
  4404. }\
  4405. #fade {\
  4406. background: #000;\
  4407. position: fixed;\
  4408. width: 100%;\
  4409. height: 100%;\
  4410. opacity: .80;\
  4411. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4412. left: 0;\
  4413. z-index: 10;\
  4414. }\
  4415. .popup_block {\
  4416. font-family:verdana;\
  4417. color:black;\
  4418. background: #ddd;\
  4419. padding: 10px 20px;\
  4420. border: 2px solid DarkOrange;\
  4421. float: left;\
  4422. width: 700px;\
  4423. position: absolute;\
  4424. top: 7%;\
  4425. left: 50%;\
  4426. bottom: 7%;\
  4427. margin: 0 0 0 -350px;\
  4428. -moz-border-radius:10px;\
  4429. z-index: 100;\
  4430. \
  4431. }\
  4432. .popup_block .popup {\
  4433. float: left;\
  4434. width: 100%;\
  4435. background: #fff;\
  4436. margin: 10px 0;\
  4437. padding: 0px 0 0px;\
  4438. border-left: 1px solid #bbb;\
  4439. border-top: 1px solid #bbb;\
  4440. border-right: 1px solid #bbb;\
  4441. }\
  4442. #h3hideshow{\
  4443. margin: 1px 0 0px;\
  4444. padding: 1px 10px;\
  4445. border-bottom: 1px solid #bbb;\
  4446. font-size: 1.5em;\
  4447. font-weight: normal;\
  4448. cursor:pointer;\
  4449. background:#DDDDDD none repeat scroll 0 0;\
  4450. }\
  4451. #h3hideshow:hover{\
  4452. background:#C0BEBE none repeat scroll 0 0;\
  4453. }\
  4454. #h3hideshowtitle{\
  4455. margin: 2px 0 0px;\
  4456. padding: 7px 10px;\
  4457. border-bottom: 1px solid #bbb;\
  4458. font-size: 1.5em;\
  4459. font-weight: normal;\
  4460. }\
  4461. .popup_block .popup a {\
  4462. color:DarkSkyBlue;\
  4463. text-decoration:none;\
  4464. }\
  4465. .popup p {\
  4466. padding: 1px 10px;\
  4467. margin: 0px 0;\
  4468. -x-system-font:none;\
  4469. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4470. font-size:10pt;\
  4471. font-size-adjust:none;\
  4472. font-stretch:normal;\
  4473. font-style:normal;\
  4474. font-variant:normal;\
  4475. font-weight:normal;\
  4476. line-height:normal;\
  4477. }\
  4478. #sites {\
  4479. padding: 1px 10px;\
  4480. margin: 0px 0;display:inline-block;width:16em;\
  4481. }\
  4482. #dev_ver {\
  4483. color: #00FF00;\
  4484. background: Black;\
  4485. text-align: right;\
  4486. }\
  4487. #sites_suspended {\
  4488. padding: 1px 10px;\
  4489. margin: 0px 0;display:inline-block;width:16em;\
  4490. text-decoration: line-through;\
  4491. }\
  4492. .popup img.cntrl {\
  4493. position: absolute;\
  4494. right: -15px;\
  4495. top: -15px;\
  4496. }\
  4497. #bulk {\
  4498. font-size:8pt;\
  4499. color:orange;\
  4500. padding: 1px 10px;\
  4501. margin: 0px 0;\
  4502. display:inline-block;\
  4503. width:100px;\
  4504. }\
  4505. #note {\
  4506. font-size:7pt;\
  4507. color:gray;\
  4508. padding: 1px 10px;\
  4509. margin: 0px 0;display:inline-block;\
  4510. min-width:100px;\
  4511. }\
  4512. #rednote {\
  4513. font-size:7pt;\
  4514. color:red;\
  4515. padding: 1px 10px;\
  4516. margin: 0px 0;display:inline-block;\
  4517. }\
  4518. #configinfo {\
  4519. font-size:8pt;\
  4520. color:gray;\
  4521. padding: 1px 10px;\
  4522. margin: 0px 0;display:inline-block;width:60em;\
  4523. }\
  4524. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4525. color:black;\
  4526. border-style: solid;\
  4527. border-width: 1px;\
  4528. border-color: gray;\
  4529. }\
  4530. #h3hideshowcontent {\
  4531. min-height:220px;\
  4532. max-height:220px;\
  4533. overflow:auto;\
  4534. display: none;\
  4535. padding: 10px 10px;\
  4536. }\
  4537. #specinfo{\
  4538. font-size:14px;\
  4539. }\
  4540. .warlc-ui-tab {\
  4541. height:300px;\
  4542. overflow:auto;\
  4543. }\
  4544. #warlcsitelist2, #warlcsitelist1 {\
  4545. height:220px;\
  4546. border-top: 1px solid #ddd;\
  4547. padding-top: 5px;\
  4548. overflow:auto;\
  4549. }\
  4550. input:hover+label {\
  4551. background:#F1F77C;\
  4552. font-size:110%;\
  4553. }\
  4554. ';
  4555.  
  4556. GM_addStyle(configcss);
  4557.  
  4558. var customRulesRefHTML =
  4559. '\
  4560. <br>\
  4561. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4562. <b>@keyword</b> <i>parameter</i>\
  4563. <br><br>\
  4564. 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. \
  4565. <br><br>\
  4566. 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.\
  4567. 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.\
  4568. 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.\
  4569. 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,\
  4570. but all commands until the next valid @customrule are ignored.<br><br>\
  4571. Available forms and types:\
  4572. <ul>\
  4573. <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.\
  4574. <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.\
  4575. <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.\
  4576. <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.\
  4577. </ul>\
  4578. Other available commands:<br>\
  4579. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4580. <ul>\
  4581. <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.\
  4582. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4583. <ul>examples:<br>\
  4584. <li>good: <i>filehost.com/download/</i><br>\
  4585. <li>good: <i>download.filehost.net/?d=</i><br>\
  4586. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4587. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4588. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4589. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4590. <li>bad: <i>filehost.com</i> - no slash<br>\
  4591. </ul>\
  4592. \
  4593. <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.\
  4594. 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 \
  4595. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4596. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4597. 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.)\
  4598. Two spaces again match any whitespace.\
  4599. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4600. Two spaces again match any whitespace.\
  4601. <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. \
  4602. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4603. </ul>\
  4604. \
  4605. ';
  4606.  
  4607. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4608. var configurationinnerHTML =
  4609. '<div id="fade"></div>\
  4610. <div class="popup_block">\
  4611. <div class="popup">\
  4612. <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/uIjp9FAbnz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X6/dqMdDVVbiIbeDueefT8aOHjizcxW4BVgbm2N0TS9RqFzF0PiC8DuPcLhj6QfOGYAXcDjz55Knv1xVx+YCiwDLINdKYdMXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4614. <div id="warlc-conf-tabs">\
  4615. <ul>\
  4616. <li><a href="#tabs-1">Filehostings</a></li>\
  4617. <li><a href="#tabs-2">Containers</a></li>\
  4618. <li><a href="#tabs-5">Custom rules</a></li>\
  4619. <li><a href="#tabs-3">Settings</a></li>\
  4620. <li><a href="#tabs-4">About</a></li>\
  4621. </ul>\
  4622. <div id="tabs-1" class="warlc-ui-tab">\
  4623. <div class="warlc-ui-buttonset">\
  4624. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4625. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4626. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4627. </div><br>\
  4628. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4629. <div id="warlcsitelist1"><span>Empty</span></div>\
  4630. </div>\
  4631. <div id="tabs-2" class="warlc-ui-tab">\
  4632. <div class="warlc-ui-buttonset">\
  4633. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4634. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4635. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4636. </div><br>\
  4637. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4638. <div id="warlcsitelist2"><span>Empty</span></div>\
  4639. </div>\
  4640. <div id="tabs-5" class="warlc-ui-tab">\
  4641. <div class="warlcsettings">\
  4642. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4643. <br>\
  4644. <div>Edit custom rules: \
  4645. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4646. <div id="customRulesReference" style="display:none;">'
  4647. + customRulesRefHTML + '\
  4648. </div>\
  4649. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4650. </div>\
  4651. </div>\
  4652. </div>\
  4653. <div id="tabs-3" class="warlc-ui-tab">\
  4654. <div class="warlcsettings">\
  4655. <fieldset>\
  4656. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4657. <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>\
  4658. </fieldset>\
  4659. <fieldset>\
  4660. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4661. <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>\
  4662. <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>\
  4663. <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>\
  4664. <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>\
  4665. <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>\
  4666. <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>\
  4667. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4668. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4669. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4670. <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>\
  4671. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4672. <fieldset>\
  4673. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4674. <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>\
  4675. <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>\
  4676. <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>\
  4677. </fieldset>\
  4678. </fieldset>\
  4679. <fieldset>\
  4680. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4681. </fieldset>\
  4682. <fieldset>\
  4683. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4684. </fieldset>\
  4685. <fieldset>\
  4686. <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>\
  4687. </fieldset>\
  4688. <fieldset>\
  4689. <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>\
  4690. </fieldset>\
  4691. <fieldset>\
  4692. <legend>Progress box settings</legend>\
  4693. <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>\
  4694. <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>\
  4695. <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>\
  4696. </fieldset>\
  4697. </div>\
  4698. </div>\
  4699. <div id="tabs-4" class="warlc-ui-tab">\
  4700. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4701. <br />\
  4702. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4703. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4704. <br />\
  4705. <p><b>Currently supported:</b><br>\
  4706. Filehostings: ' + allHostNames.length + '<br />\
  4707. Containers: ' + allContainerNames.length + '<br />\
  4708. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4709. <br />\
  4710. <p><b>Based on:</b><br>\
  4711. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4712. <br />\
  4713. <p><b>Uses:</b></p>\
  4714. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4715. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4716. <br />\
  4717. <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>\
  4718. </div>\
  4719. </div>\
  4720. </div>\
  4721. </div>';
  4722. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4723. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4724. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4725. var elmHostList = document.getElementById("warlcsitelist1");
  4726. var elmContainerList = document.getElementById("warlcsitelist2");
  4727. buildSettings();
  4728. buildSitelist("", allHostNames, elmHostList);
  4729. buildSitelist("", allContainerNames, elmContainerList);
  4730. if (DEBUG_MODE)
  4731. {
  4732. //log all sites availability status
  4733. diagSites();
  4734. }
  4735. //handler for checkbox state change
  4736. function changeConfiguration(e)
  4737. {
  4738. var element = e.target;
  4739.  
  4740. if (element.type == 'checkbox')
  4741. {
  4742. if (element.checked == 1)
  4743. {
  4744. GM_setValue(element.id, true);
  4745. }
  4746. else
  4747. {
  4748. GM_setValue(element.id, false);
  4749. }
  4750.  
  4751. }
  4752. setVariables();
  4753. }
  4754.  
  4755. //Selects all filehosting checkboxes
  4756. function selectAll()
  4757. {
  4758. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4759. .each(function(index, element){GM_setValue(this.id, true)});
  4760. }
  4761.  
  4762. //Deselects all filehosting checkboxes
  4763. function selectNone()
  4764. {
  4765. $(":checkbox:visible:checked").prop("checked",false)
  4766. .each(function(index, element){GM_setValue(this.id, false)});
  4767. }
  4768. //Sets Processbox position setting
  4769. function changeProgBox(event) {
  4770. var setting;
  4771. switch(event.data.set) {
  4772. case "X": setting = "Processbox_Pos_X"; break;
  4773. case "Y": setting = "Processbox_Pos_Y"; break;
  4774. case "Scale": setting = "Progressbox_Scaling"; break;
  4775. }
  4776. var $setting = $("#" + setting);
  4777. var newSet = $setting.val().replace("%", "");
  4778. GM_setValue(setting, newSet);
  4779. }
  4780. //Sets value of Processbox position
  4781. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4782. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4783. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4784.  
  4785. //Inverts filehosting checkboxes selection
  4786. function selectInvert()
  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. //toggles anonymizer on off
  4796. function Enable_Anonymizer()
  4797. {
  4798. var $checked = $(":checkbox:visible:checked");
  4799. var $unchecked = $(":checkbox:visible:not(:checked)");
  4800. $unchecked.prop("checked",true)
  4801. .each(function(index, element){GM_setValue(this.id, true)});
  4802. $checked.prop("checked",false)
  4803. .each(function(index, element){GM_setValue(this.id, false)});
  4804. }
  4805.  
  4806. function changeRefAnonymizer(){
  4807. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4808. }
  4809.  
  4810. //Sets live links color
  4811. function changeColorLive()
  4812. {
  4813. var inColorLive = document.getElementById("inputColorLive");
  4814. inColorLive.style.background = inColorLive.value;
  4815. GM_setValue("Live_links_color", inColorLive.value);
  4816. }
  4817.  
  4818. //Sets dead links color
  4819. function changeColorDead()
  4820. {
  4821. var inColorDead = document.getElementById("inputColorDead");
  4822. inColorDead.style.background = inColorDead.value;
  4823. GM_setValue("Dead_links_color", inColorDead.value);
  4824. }
  4825.  
  4826. //Sets temp. unavailable links color
  4827. function changeColorTemp()
  4828. {
  4829. var inColorTemp = document.getElementById("inputColorTemp");
  4830. inColorTemp.style.background = inColorTemp.value;
  4831. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4832. }
  4833.  
  4834. //Sets temp. unavailable links color
  4835. function changeColorCont()
  4836. {
  4837. var inColorCont = document.getElementById("inputColorCont");
  4838. inColorCont.style.background = inColorCont.value;
  4839. GM_setValue("Container_links_color", inColorCont.value);
  4840. }
  4841. //Sets premium. links color
  4842. function changeColorprem()
  4843. {
  4844. var inColorprem = document.getElementById("inputColorprem");
  4845. inColorprem.style.background = inColorprem.value;
  4846. GM_setValue("Premium_links_color", inColorprem.value);
  4847. }
  4848.  
  4849. //Diagnose sites for availability
  4850. function diagSites()
  4851. {
  4852. var boxes = document.getElementById("warlcsitelist1").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. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4863.  
  4864. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4865. {
  4866. if (boxes[i].type == "checkbox")
  4867. {
  4868. checkAvailability(boxes[i]);
  4869. }
  4870. }
  4871.  
  4872. function checkAvailability(cbElm)
  4873. {
  4874. var cb = cbElm;
  4875. GM_xmlhttpRequest(
  4876. {
  4877. method: 'HEAD',
  4878. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4879. headers: {
  4880. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4881. 'Accept': 'text/xml',
  4882. 'Referer': ""
  4883. },
  4884. onload: function (result)
  4885. {
  4886. if (result.status != 200)
  4887. {
  4888. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4889. }
  4890. },
  4891. onerror: function (result)
  4892. {
  4893. if (result.status != 200)
  4894. {
  4895. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4896. //Sets Progress_box position setting
  4897. function changeProgBox(event) {
  4898. var setting;
  4899. switch(event.data.set) {
  4900. case "X": setting = "Progress_box_Pos_X"; break;
  4901. case "Y": setting = "Progress_box_Pos_Y"; break;
  4902. case "Scale": setting = "Progress_box_Scaling"; break;
  4903. }
  4904.  
  4905. var $setting = $("#" + setting);
  4906. var newSet = $setting.val().replace("%", "");
  4907. lsSetVal("general", setting, newSet);
  4908. }
  4909.  
  4910. //Sets value of Progress_box position
  4911. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4912. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4913. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4914. }
  4915. }
  4916. });
  4917. }
  4918. }
  4919. function buildSettings()
  4920. {
  4921. $(".warlcsettings :checkbox").each(function(){
  4922. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4923. .click(function(e){
  4924. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4925. setVariables();
  4926. });
  4927. })
  4928. }
  4929. //Dynamic build of host list
  4930. //param search [string] searches for hostnames matching search substring
  4931. //param siteNames [array] array of site names
  4932. //param targetNode [DOM Node] where the list should be built
  4933. // first child node is replaced
  4934. function buildSitelist(search, siteNames, targetNode)
  4935. {
  4936. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4937. var $targetNode = $(targetNode).empty();
  4938. var searchedSite = "";
  4939. $.each(siteNames, function(i, site){
  4940. if (searchedSite = site.match(searchRegex))
  4941. {
  4942. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4943. //ensuring backward compatibility with the rest of code, to be refactored later
  4944. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4945. //
  4946. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4947. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4948. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4949. );
  4950. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4951. .change(changeConfiguration);
  4952. $targetNode.append('<br />');
  4953. }
  4954. });
  4955. $targetNode.append("<hr>");
  4956. //obsolete hosts checkbox
  4957. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4958. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4959. .change(changeConfiguration);
  4960. $targetNode.append('<br />');
  4961. var foundName = "";
  4962. $.each(allObsoleteNames, function(i, site){
  4963. if (foundName = allObsoleteNames[i].match(searchRegex))
  4964. {
  4965. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4966. }
  4967. })
  4968. }
  4969. var hostSearchBox = document.getElementById("hostSearchBox");
  4970. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4971. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4972. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4973. $(".warlc-ui-select-all").click(selectAll).button();
  4974. $(".warlc-ui-select-none").click(selectNone).button();
  4975. $(".warlc-ui-select-invert").click(selectInvert).button();
  4976. $(".warlc-ui-buttonset").buttonset();
  4977. var inColorLive = document.getElementById("inputColorLive");
  4978. inColorLive.addEventListener('keyup', changeColorLive, false);
  4979.  
  4980. var inColorDead = document.getElementById("inputColorDead");
  4981. inColorDead.addEventListener('keyup', changeColorDead, false);
  4982.  
  4983. var inColorTemp = document.getElementById("inputColorTemp");
  4984. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4985.  
  4986. var inColorCont = document.getElementById("inputColorCont");
  4987. inColorCont.addEventListener('keyup', changeColorCont, false);
  4988. var inColorprem = document.getElementById("inputColorprem");
  4989. inColorprem.addEventListener('keyup', changeColorprem, false);
  4990. $("#refAnonymizer").change(changeRefAnonymizer);
  4991. //buttons and edit boxes init end
  4992.  
  4993. //icon sets radio buttons
  4994. var radioButtons = document.getElementsByName("warlciconset");
  4995. radioButtons[Icon_set].checked = "checked";
  4996.  
  4997. radioButtons[0].addEventListener("change", updateIconSet);
  4998. radioButtons[1].addEventListener("change", updateIconSet);
  4999. radioButtons[2].addEventListener("change", updateIconSet);
  5000. radioButtons[3].addEventListener("change", updateIconSet);
  5001. function updateIconSet()
  5002. {
  5003. GM_setValue("Icon_set", this.value * 1);
  5004. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  5005. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  5006. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5007. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5008. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5009.  
  5010. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5011. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5012.  
  5013. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5014. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5015. }
  5016. //
  5017. $('#showCustomRulesReference').click(function(e){
  5018. e.preventDefault();
  5019. $('#customRulesReference').toggle();
  5020. });
  5021. $('#Custom_rules_text')
  5022. .val(Custom_rules_text)
  5023. .change(saveCustomRules);
  5024. function saveCustomRules(e)
  5025. {
  5026. var cr = parseCustomRules(this.value);
  5027. if (cr.info.length)
  5028. 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, ' '));
  5029. GM_setValue('Custom_rules_text', this.value);
  5030. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5031. }
  5032. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5033. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5034. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5035. }
  5036.  
  5037. //begin standard link checking algorithm
  5038. function start(filterId)
  5039. {
  5040. var doNotLinkify = Do_not_linkify_DL_links;
  5041.  
  5042. // USER SELECTED FILE HOSTS INITIALIZATION START
  5043. var http_file_hosts = new Array(); //standard hostings
  5044. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5045. var http_file_hosts_obsolete = new Array(); //dead hostings
  5046. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5047.  
  5048. initFileHosts();
  5049. initFileHostsHeadersOnly();
  5050. initFileHostsCustom(); //CustomRules
  5051. // USER SELECTED FILE HOSTS INITIALIZATION END
  5052.  
  5053. // LINKIFICATION START
  5054. var totalxpath = '';
  5055. var totalxpathcoded = '';
  5056. var totalxpathobsolete = '';
  5057. var totalxpathheadersonly = '';
  5058. var totalourls = '';
  5059.  
  5060. var filehostLen = http_file_hosts.length;
  5061. var filehostCodedLen = http_file_hosts_coded.length;
  5062. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5063. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5064.  
  5065. var filehostIdx = filehostLen;
  5066. var filehostCodedIdx = filehostCodedLen;
  5067. var filehostObsoleteIdx = filehostObsoleteLen;
  5068. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5069.  
  5070. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5071. return;
  5072.  
  5073. while (filehostIdx--)
  5074. {
  5075. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5076. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5077. }
  5078.  
  5079. while (filehostCodedIdx--)
  5080. {
  5081. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5082. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5083. }
  5084.  
  5085. while (filehostObsoleteIdx--)
  5086. {
  5087. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5088. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5089. }
  5090.  
  5091. while (filehostHeadersOnlyIdx--)
  5092. {
  5093. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5094. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5095. }
  5096.  
  5097. totalourls = totalourls.replace(/\|$/g, "");
  5098. //TODO: further refactoring needed
  5099. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5100. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5101. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5102. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5103. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5104. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5105. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5106. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5107. if (filterId != null) //insert id restriction in the xpath
  5108. {
  5109. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5110. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5111. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5112. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5113. }
  5114. else
  5115. {
  5116. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5117. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5118. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5119. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5120. }
  5121. linkify(totalourls);
  5122. //LINKIFICATION END
  5123. //ENCRYPTED LINKS PROCESSING START
  5124. if (http_file_hosts_coded.length > 0)
  5125. {
  5126. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5127.  
  5128. // decrypt coded links (redirects, link protectors etc.)
  5129. if (linksCoded.snapshotLength > 0)
  5130. {
  5131. var link;
  5132. var reallinkreg;
  5133. var reallinkcorrection;
  5134.  
  5135. if (filterId == null)
  5136. {
  5137. cLinksTotal += linksCoded.snapshotLength;
  5138. }
  5139.  
  5140. var y = linksCoded.snapshotLength - 1;
  5141. do
  5142. {
  5143. // linksCoded.snapshotItem(y).id = 'processing_link';
  5144. link = linksCoded.snapshotItem(y);
  5145. filehostIdx = filehostCodedLen;
  5146. while (filehostIdx--)
  5147. {
  5148. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5149. {
  5150. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5151. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5152. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5153.  
  5154. decurl(link, reallinkreg, reallinkcorrection);
  5155. break;
  5156. }
  5157. }
  5158. }
  5159. while (y--);
  5160. }
  5161. }
  5162. //ENCRYPTED LINKS PROCESSING END
  5163.  
  5164. //STANDARD LINKCHECKING START
  5165. if (http_file_hosts.length > 0)
  5166. {
  5167. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5168.  
  5169. if (filterId == null)
  5170. {
  5171. cLinksTotal += lianks.snapshotLength;
  5172. }
  5173.  
  5174. if (lianks.snapshotLength > 0)
  5175. {
  5176. var link;
  5177.  
  5178. var URL = "";
  5179. var name = "";
  5180. var isAliveRegex = "";
  5181. var isDeadRegex = "";
  5182. var isUnavaRegex = "";
  5183. var ispremRegex = "";
  5184. var tryLoop = false;
  5185.  
  5186. var y = lianks.snapshotLength;
  5187.  
  5188. while (y--)
  5189. {
  5190. link = lianks.snapshotItem(y);
  5191.  
  5192. filehostIdx = filehostLen;
  5193. while (filehostIdx--)
  5194. {
  5195. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5196. {
  5197. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5198. isAliveRegex = http_file_hosts[filehostIdx][1];
  5199. isDeadRegex = http_file_hosts[filehostIdx][2];
  5200. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5201. ispremRegex = http_file_hosts[filehostIdx][6];
  5202. tryLoop = http_file_hosts[filehostIdx][5];
  5203.  
  5204. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5205.  
  5206. break;
  5207. }
  5208. }
  5209. }
  5210. }
  5211. }
  5212. //STANDARD LINKCHECKING END
  5213. //OBSOLETE FILE HOSTS PROCESSING START
  5214. if (filehostObsoleteLen > 0)
  5215. {
  5216. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5217.  
  5218. var obsoleteLink;
  5219.  
  5220. //check links
  5221. if (obsoletelinks.snapshotLength > 0)
  5222. {
  5223. var y = obsoletelinks.snapshotLength;
  5224.  
  5225. if (filterId == null)
  5226. {
  5227. cLinksTotal += y;
  5228. }
  5229.  
  5230. while (y--)
  5231. {
  5232. obsoleteLink = obsoletelinks.snapshotItem(y);
  5233.  
  5234. if (Display_tooltip_info)
  5235. {
  5236. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5237. }
  5238. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5239. }
  5240. }
  5241. }
  5242. //OBSOLETE FILE HOSTS PROCESSING END
  5243.  
  5244. //DIRECT LINKCHECKING START
  5245. if (http_file_hosts_headers_only.length > 0)
  5246. {
  5247. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5248.  
  5249. //check links
  5250. if (links.snapshotLength > 0)
  5251. {
  5252. var link;
  5253. var isAliveRegex;
  5254. var isDeadRegex;
  5255. var ispremRegex;
  5256.  
  5257. var y = links.snapshotLength;
  5258.  
  5259.  
  5260. if (filterId == null)
  5261. {
  5262. cLinksTotal += y;
  5263. }
  5264.  
  5265. while (y--)
  5266. {
  5267. // links.snapshotItem(y).id = 'processing_link';
  5268. link = links.snapshotItem(y);
  5269. filehostIdx = filehostHeadersOnlyLen;
  5270. while (filehostIdx--)
  5271. {
  5272. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5273. {
  5274. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5275. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5276. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5277. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5278.  
  5279. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5280.  
  5281. break;
  5282. }
  5283. }
  5284. }
  5285.  
  5286. }
  5287. }
  5288. //DIRECT LINKCHECKING END
  5289.  
  5290.  
  5291. //finds the real url on the page, replaces link.href with it and calls geturl
  5292. function decurl(link, reallinkreg, reallinkcorrection)
  5293. {
  5294.  
  5295. GM_xmlhttpRequest(
  5296. {
  5297. method: 'GET',
  5298. url: link.href,
  5299. headers: {
  5300. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5301. 'Accept': 'text/xml',
  5302. 'Referer': ""
  5303. },
  5304. onload: function (result)
  5305. {
  5306. // cLinksProcessed++;
  5307.  
  5308. var reallink = result.responseText.match(reallinkreg)[0];
  5309. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5310.  
  5311. link.href = reallink;
  5312.  
  5313. var i = http_file_hosts.length - 1;
  5314. do
  5315. {
  5316. if ((reallink.match(http_file_hosts[i][0])))
  5317. {
  5318. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5319. var isAliveRegex = http_file_hosts[i][1];
  5320. var isDeadRegex = http_file_hosts[i][2];
  5321. var isUnavaRegex = http_file_hosts[i][3];
  5322. var ispremRegex = http_file_hosts[i][4];
  5323.  
  5324. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5325.  
  5326. break;
  5327. }
  5328. }
  5329. while (i--);
  5330. }
  5331. });
  5332. }
  5333.  
  5334. function randUA()
  5335. {
  5336. //TODO
  5337. }
  5338. //Processes link
  5339. //
  5340. // [string] link link URL
  5341. // [string] isAliveRegex alive link regex
  5342. // [string] isDeadRegex dead link regex
  5343. // [string] isUnavaRegex unavailable link regex
  5344. // [string] ispremRegex premium link regex
  5345. // [boolean] tryLoop repeats request until succeeded
  5346. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5347. {
  5348. GM_xmlhttpRequest(
  5349. {
  5350. method: 'GET',
  5351. url: link.href,
  5352. headers: {
  5353. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5354. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5355. 'Referer': ""
  5356. },
  5357. onload: function (result)
  5358. {
  5359. var res = result.responseText;
  5360. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5361. {
  5362. displayTheCheckedLink(link, 'alive_link');
  5363. return;
  5364. }
  5365.  
  5366. if (res.match(isAliveRegex))
  5367. {
  5368. displayTheCheckedLink(link, 'alive_link');
  5369. return;
  5370. }
  5371.  
  5372. if (res.match(isDeadRegex))
  5373. {
  5374. displayTheCheckedLink(link, 'adead_link');
  5375. return;
  5376. }
  5377.  
  5378. if (isUnavaRegex && res.match(isUnavaRegex))
  5379. {
  5380. displayTheCheckedLink(link, 'unava_link');
  5381. return;
  5382. }
  5383. if (res.match(ispremRegex))
  5384. {
  5385. displayTheCheckedLink(link, 'prem_link');
  5386. return;
  5387. }
  5388.  
  5389. var resStatus = result.status;
  5390.  
  5391. if (resStatus == 404)
  5392. {
  5393. displayTheCheckedLink(link, 'adead_link');
  5394. }
  5395. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5396. {
  5397. if (tryLoop)
  5398. {
  5399. //wait 1-5 seconds and repeat the request
  5400. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5401. }
  5402. else
  5403. {
  5404. displayTheCheckedLink(link, 'unava_link');
  5405. }
  5406.  
  5407. return;
  5408. }
  5409. },
  5410. onerror: function ()
  5411. {
  5412. displayTheCheckedLink(link, 'unava_link');
  5413. }
  5414. });
  5415. }
  5416.  
  5417. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5418. {
  5419. GM_xmlhttpRequest(
  5420. {
  5421. method: 'HEAD',
  5422. url: link.href,
  5423. headers: {
  5424. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5425. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5426. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5427. 'Referer': ""
  5428. },
  5429. onload: function (result)
  5430. {
  5431. var resStatus = result.status;
  5432. var resHeaders = "";
  5433. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5434. {
  5435. displayTheCheckedLink(link, 'adead_link');
  5436. return;
  5437. }
  5438.  
  5439. resHeaders = result.responseHeaders;
  5440.  
  5441. if (resHeaders.match(isDeadRegex))
  5442. {
  5443. displayTheCheckedLink(link, 'adead_link');
  5444. return;
  5445. }
  5446.  
  5447. if (resHeaders.match(isAliveRegex))
  5448. {
  5449. displayTheCheckedLink(link, 'alive_link');
  5450. return;
  5451. }
  5452. if (resHeaders.match(ispremRegex))
  5453. {
  5454. displayTheCheckedLink(link, 'prem_link');
  5455. return;
  5456. }
  5457. },
  5458. onerror: function ()
  5459. {
  5460. displayTheCheckedLink(link, 'unava_link');
  5461. }
  5462. });
  5463. }
  5464.  
  5465. //Delinkfifies the <a> element object
  5466. function delinkifyLink(link)
  5467. {
  5468. var spanElm = document.createElement("span");
  5469. spanElm.className = link.className;
  5470. spanElm.innerHTML = link.innerHTML;
  5471.  
  5472. if (Display_tooltip_info)
  5473. {
  5474. spanElm.href = link.href;
  5475. spanElm.warlc_error = link.warlc_error;
  5476. switch (link.className){
  5477. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5478. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5479. case "unava_link": //reserved
  5480. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5481. default:
  5482. }
  5483. }
  5484. link.parentNode.replaceChild(spanElm, link);
  5485. }
  5486.  
  5487. //Assigns result status to the <a> element object and calls delinkifying eventually
  5488. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5489. function displayTheCheckedLink(link, resultStatus)
  5490. {
  5491. link.className = resultStatus;
  5492. link.href = Ref_anonymize_service + link.href;
  5493. if (Display_tooltip_info)
  5494. {
  5495. switch (resultStatus){
  5496. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5497. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5498. case "unava_link": //reserved
  5499. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5500. default:
  5501. }
  5502. }
  5503. if (doNotLinkify)
  5504. {
  5505. delinkifyLink(link);
  5506. }
  5507. cLinksProcessed++;
  5508.  
  5509. if (resultStatus == "alive_link")
  5510. {
  5511. cLinksAlive++;
  5512. return;
  5513. }
  5514.  
  5515. if (resultStatus == "adead_link")
  5516. {
  5517. cLinksDead++;
  5518. return;
  5519. }
  5520.  
  5521. if (resultStatus == "unava_link")
  5522. {
  5523. cLinksUnava++;
  5524. }
  5525. if (resultStatus == "prem_link")
  5526. {
  5527. cLinksprem++;
  5528. return;
  5529. }
  5530. }
  5531.  
  5532.  
  5533. function initFileHosts()
  5534. {
  5535.  
  5536. function addObsoleteHost(linkRegex, xpathEx)
  5537. {
  5538. var host = new Array(2);
  5539. host[0] = linkRegex;
  5540. host[1] = xpathEx;
  5541. http_file_hosts_obsolete.push(host);
  5542. }
  5543.  
  5544. //obsolete file hosts init start
  5545. if (Obsolete_file_hosts)
  5546. {
  5547. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5548. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5549. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5550. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5551. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5552. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5553. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5554. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5555. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5556. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5557. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5558. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5559. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5560. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5561. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5562. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5563. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5564. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5565. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5566. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5567. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5568. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5569. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5570. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5571. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5572. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5573. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5574. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5575. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5576. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5577. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5578. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5579. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5580. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5581. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5582. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5583. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5584. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5585. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5586. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5587. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5588. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5589. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5590. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5591. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5592. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5593. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5594. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5595. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5596. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5597. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5598. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5599. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5600. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5601. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5602. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5603. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5604. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5605. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5606. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5607. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5608. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5609. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5610. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5611. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5612. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5613. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5614. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5615. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5616. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5617. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5618. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5619. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5620. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5621. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5622. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5623. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5624. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5625. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5626. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5627. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5628. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5629. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5630. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5631. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5632. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5633. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5634. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5635. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5636. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5637. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5638. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5639. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5640. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5641. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5642. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5643. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5644. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5645. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5646. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5647. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5648. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5649. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5650. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5651. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5652. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5653. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5654. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5655. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5656. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5657. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5658. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5659. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5660. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5661. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5662. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5663. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5664. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5665. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5666. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5667. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5668. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5669. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5670. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5671. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5672. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5673. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5674. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5675. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5676. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5677. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5678. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5679. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5680. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5681. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5682. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5683. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5684. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5685. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5686. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5687. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5688. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5689. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5690. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5691. 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')]");
  5692. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5693. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5694. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5695. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5696. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5697. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5698. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5699. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5700. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5701. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5702. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5703. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5704. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5705. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5706. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5707. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5708. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5709. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5710. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5711. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5712. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5713. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5714. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5715. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5716. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5717. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5718. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5719. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5720. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5721. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5722. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5723. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5724. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5725. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5726. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5727. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5728. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5729. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5730. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5731. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5732. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5733. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5734. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5735. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5736. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5737. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5738. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5739. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5740. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5741. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5742. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5743. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5744. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5745. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5746. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5747. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5748. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5749. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5750. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5751. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5752. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5753. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5754. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5755. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5756. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5757. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5758. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5759. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5760. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5761. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5762. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5763. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5764. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5765. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5766. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5767. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5768. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5769. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5770. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5771. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5772. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5773. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5774. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5775. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5776. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5777. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5778. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5779. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5780. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5781. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5782. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5783. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5784. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5785. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5786. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5787. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5788. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5789. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5790. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5791. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5792. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5793. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5794. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5795. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5796. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5797. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5798. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5799. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5800. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5801. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5802. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5803. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5804. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5805. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5806. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5807. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5808. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5809. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5810. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5811. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5812. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5813. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5814. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5815. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5816. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5817. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5818. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5819. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5820. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5821. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5822. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5823. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5824. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5825. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5826. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5827. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5828. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5829. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5830. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5831. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5832. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5833. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5834. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5835. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5836. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5837. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5838. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5839. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5840. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5841. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5842. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5843. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5844. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5845. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5846. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5847. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5848. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5849. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5850. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5851. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5852. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5853. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5854. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5855. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5856. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5857. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5858. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5859. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5860. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5861. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5862. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5863. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5864. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5865. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5866. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5867. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5868. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5869. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5870. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5871. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5872. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5873. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5874. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5875. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5876. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5877. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5878. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5879. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5880. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5881. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5882. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5883. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5884. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5885. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5886. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5887. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5888. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5889. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5890. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5891. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5892. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5893. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5894. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5895. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5896. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5897. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5898. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5899. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5900. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5901. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5902. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5903. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5904. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5905. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5906. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5907. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5908. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5909. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5910. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5911. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5912. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5913. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5914. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5915. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5916. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5917. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5918. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5919. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5920. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5921. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5922. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5923. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5924. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5925. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5926. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5927. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5928. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5929. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5930. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5931. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5932. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5933. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5934. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5935. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5936. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5937. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5938. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5939. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5940. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5941. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5942. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5943. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5944. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5945. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5946. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5947. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5948. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5949. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5950. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5951. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5952. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5953. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5954. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5955. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5956. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5957. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5958. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5959. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5960. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5961. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5962. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5963. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5964. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5965. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5966. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5967. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5968. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5969. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5970. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5971. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5972. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5973. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5974. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5975. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5976. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5977. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5978. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5979. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5980. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5981. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5982. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5983. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5984. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5985. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5986. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5987. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5988. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5989. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5990. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5991. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5992. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5993. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5994. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5995. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5996. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5997. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5998. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5999. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  6000. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  6001. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  6002. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  6003. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  6004. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  6005. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  6006. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6007. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6008. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6009. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6010. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6011. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6012. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6013. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6014. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6015. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6016. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6017. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6018. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6019. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6020. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6021. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6022. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6023. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6024. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6025. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6026. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6027. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6028. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6029. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6030. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6031. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6032. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6033. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6034. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6035. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6036. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6037. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6038. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6039. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6040. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6041. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6042. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6043. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6044. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6045. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6046. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6047. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6048. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6049. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6050. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6051. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6052. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6053. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6054. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6055. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6056. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6057. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6058. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6059. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6060. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6061. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6062. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6063. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6064. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6065. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6066. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6067. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6068. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6069. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6070. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6071. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6072. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6073. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6074. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6075. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6076. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6077. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6078. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6079. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6080. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6081. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6082. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6083. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6084. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6085. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6086. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6087. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6088. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6089. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6090. addObsoleteHost("junocloud\\.me\/\\w+","//a[contains(@href,'junocloud.me/')]");
  6091. addObsoleteHost("cloudzilla\\.to\/\\w+","//a[contains(@href,'cloudzilla.to/')]");
  6092. addObsoleteHost("uploading\\.com\/\\w+","//a[contains(@href,'uploading.com/')]");
  6093. addObsoleteHost("black-label\\.pro\/\\w+","//a[contains(@href,'black-label.pro/')]");
  6094. addObsoleteHost("neodrive\\.co\/\\w+","//a[contains(@href,'neodrive.co/')]");
  6095.  
  6096. // obsolete start start2
  6097. }
  6098. //obsolete file hosts init end
  6099. //Add Host Example
  6100. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6101. {
  6102. addFileHost(
  6103. "datafile\.com\/\\w+",
  6104. 'var captchaPanel|<link href="/css/files_download.css"',
  6105. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6106. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6107. '<style type="text/css">',
  6108. "//a[contains(@href,'datafile.com')]",
  6109. true);
  6110. } */
  6111.  
  6112. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6113. {
  6114. var host = new Array(7);
  6115. host[0] = linkRegex;
  6116. host[1] = isAliveRegex;
  6117. host[2] = isDeadRegex;
  6118. host[3] = isUnavaRegex;
  6119. host[6] = ispremRegex;
  6120. host[4] = xpathEx;
  6121. tryLoop ? host[5] = true : host[5] = false;
  6122. http_file_hosts.push(host);
  6123. }
  6124. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6125. {
  6126. addFileHost(
  6127. "megafileupload\.com\/..\/file\/",
  6128. 'downloadbtn',
  6129. 'is not found',
  6130. 'optional--',
  6131. 'optional2--',
  6132. "//a[contains(@href,'megafileupload.com')]");
  6133. }
  6134. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6135. {
  6136. addFileHost(
  6137. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6138. 'download\\.gif"',
  6139. 'p_point">',
  6140. 'optional--',
  6141. 'optional2--',
  6142. "//a[contains(@href,'demo.ovh.eu')]");
  6143. }*/
  6144. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6145. {
  6146. addFileHost(
  6147. "safelinking\\.net\/p\/\\w+",
  6148. 'color:green;"',
  6149. 'color:(?:red|orange);"',
  6150. 'color:(?:grey|brown);"',
  6151. 'optional2--',
  6152. "//a[contains(@href,'safelinking.net/p/')]",
  6153. true);
  6154. }
  6155. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6156. {
  6157. addFileHost(
  6158. "fastshare\\.cz\/\\d+\/\\w*",
  6159. 'dwntable">|speed-low',
  6160. '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',
  6161. 'optional--',
  6162. 'optional2--',
  6163. "//a[contains(@href,'fastshare.cz')]");
  6164. }
  6165. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6166. {
  6167. addFileHost(
  6168. "[fF]ast[sS]hare\\.org\/download",
  6169. 'Download ">',
  6170. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6171. 'optional--',
  6172. 'optional2--',
  6173. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6174. }
  6175. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6176. {
  6177. addFileHost(
  6178. "rapidgator\\.net\/file\/\\w+",
  6179. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6180. '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',
  6181. 'optional--',
  6182. 'can be downloaded by premium only|la taille maximale des fichiers téléchargeables est de 1 GB|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|baixar arquivos de até 1 GB no modo gratuito|ficheiros até 1 GB no modo gratuito|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6183. "//a[contains(@href,'rapidgator.net/file')]",
  6184. true
  6185. );
  6186. }
  6187. if (GM_getValue("Check_rg_dot_to_links", false))
  6188. {
  6189. addFileHost(
  6190. "rg\.to\/\\w+",
  6191. '/download/AjaxStartTimer|Delay between downloads|reached your daily downloads limit|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora|Im kostenlosen Modus können Sie immer nur 1 Datei herunterladen.|In de gratis modus kunt u maar 1 bestand tegelijk downloaden.',
  6192. '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',
  6193. 'optional--',
  6194. 'can be downloaded by premium only|Denne fil kan kun downloades af Premium-brugere|Este ficheiro só pode ser transferido por utilizadores Premium|该文件仅限高级用户下载|files up to 500 MB in free mode|Este arquivo pode ser baixado apenas por usuários Premium|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode|Ce fichier peut être téléchargé par des utilisateurs Premium uniquement|Diese Datei kann nur von Premium Benutzern heruntergeladen werden|Este archivo solo se puede descargar con una cuenta Premium|Questo file può essere scaricato solo dagli utenti Premium|Данный файл может быть скачен только премиум-пользователем|Plik ten może być pobrany wyłącznie przez użytkowników opcji Premium|Dit bestand kan alleen worden gedownload door Premium-gebruikers|Tento soubor lze stáhnout pouze uživatelé s účtem Premium|只有 Premium 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます|En mode gratuit, la taille maximale des fichiers téléchargeables est de 2 GB',
  6195. "//a[contains(@href,'rg.to')]");
  6196. }
  6197. if (GM_getValue("Check_relink_dot_us_links", false))
  6198. {
  6199. addFileHost(
  6200. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6201. 'online_detail\\.png" alt="Status',
  6202. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6203. 'unknown_detail\\.png" alt="Status',
  6204. 'optional2--',
  6205. "//a[contains(@href,'relink.us/')]"
  6206. );
  6207. }
  6208. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6209. {
  6210. addFileHost(
  6211. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6212. 'div id="dl"',
  6213. 'Sie haben den Link falsch',
  6214. 'optional--',
  6215. 'optional2--',
  6216. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6217. );
  6218. }
  6219. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6220. {
  6221. addFileHost(
  6222. "flyfiles\\.net\/\\w+",
  6223. 'download_button"|"Download file"',
  6224. 'File not found!|Файл не найден',
  6225. 'optional--',
  6226. 'optional2--',
  6227. "//a[contains(@href,'flyfiles.net/')]"
  6228. );
  6229. }
  6230. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6231. {
  6232. addFileHost(
  6233. "wikiupload\\.com\/\\w+",
  6234. 'download-button">',
  6235. 'Sorry, File not found',
  6236. 'optional--',
  6237. 'optional2--',
  6238. "//a[contains(@href,'wikiupload.com/')]"
  6239. );
  6240. }
  6241. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6242. {
  6243. addFileHost(
  6244. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6245. 'file\\.php">|Pobierz Plik',
  6246. 'Podany plik nie zosta',
  6247. 'optional--',
  6248. 'optional2--',
  6249. "//a[contains(@href,'hostuje.net/file')]"
  6250. );
  6251. }
  6252. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6253. {
  6254. addFileHost(
  6255. "gettyfile\\.ru\/\\d+",
  6256. 'download\\.gif border',
  6257. '<center><font size="3">',
  6258. 'optional--',
  6259. 'optional2--',
  6260. "//a[contains(@href,'gettyfile.ru/')]"
  6261. );
  6262. }
  6263. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6264. {
  6265. addFileHost(
  6266. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6267. 'download\\-file">',
  6268. 'col-1">\\s*<h1>',
  6269. 'optional--',
  6270. 'optional2--',
  6271. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6272. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6273. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6274. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6275. );
  6276. }
  6277. if (GM_getValue("Check_data_dot_hu_links", false))
  6278. {
  6279. addFileHost(
  6280. "data\\.hu",
  6281. 'download_box_button|Lassú letöltés',
  6282. 'missing\\.php|Az adott fájl nem létezik',
  6283. 'optional--',
  6284. 'optional2--',
  6285. "//a[contains(@href,'data.hu')]",
  6286. true
  6287. );
  6288. }
  6289. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6290. {
  6291. addFileHost(
  6292. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6293. 'premiumBtn"',
  6294. 'errorMessage"',
  6295. 'optional--',
  6296. 'optional2--',
  6297. "//a[contains(@href,'indowebster.com/download')]"
  6298. );
  6299. }
  6300. if (GM_getValue("Check_superload_dot_cz_links", false))
  6301. {
  6302. addFileHost(
  6303. "superload\\.cz\/dl\/\\w+",
  6304. 'icon-download">',
  6305. 'soubor nebyl nalezen',
  6306. 'optional--',
  6307. 'optional2--',
  6308. "//a[contains(@href,'superload.cz/dl')]"
  6309. );
  6310. }
  6311. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6312. {
  6313. addFileHost(
  6314. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6315. 'op" value="download',
  6316. 'class="err">|width:500px;text-align:left;">',
  6317. 'optional--',
  6318. 'optional2--',
  6319. "//a[contains(@href,'hulkfile.')]"
  6320. );
  6321. }
  6322. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6323. {
  6324. addFileHost(
  6325. "easybytez\\.com\/\\w+",
  6326. 'op" value="download',
  6327. 'stop_error\\.gif',
  6328. 'optional--',
  6329. 'optional2--',
  6330. "//a[contains(@href,'easybytez.com/')]"
  6331. );
  6332. }
  6333. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6334. {
  6335. addFileHost(
  6336. "filestore\\.com\\.ua\/\\?d=\\w+",
  6337. 'tdrow1>',
  6338. 'class=warn',
  6339. 'optional--',
  6340. 'optional2--',
  6341. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6342. );
  6343. }
  6344. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6345. {
  6346. addFileHost(
  6347. "openfile\\.ru\/(?:video\/|)\\d+",
  6348. 'videobox_left">',
  6349. 'blog_title">|not found on this server',
  6350. 'optional--',
  6351. 'optional2--',
  6352. "//a[contains(@href,'openfile.ru/')]"
  6353. );
  6354. }*/
  6355. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6356. {
  6357. addFileHost(
  6358. "extmatrix\\.com\/files\/\\w+",
  6359. 'div class="success"',
  6360. 'div class="error"',
  6361. 'optional--',
  6362. 'optional2--',
  6363. "//a[contains(@href,'extmatrix.com/files')]"
  6364. );
  6365. }
  6366. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6367. {
  6368. addFileHost(
  6369. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6370. 'content_lnkDownload',
  6371. 'error\\.aspx\\?',
  6372. 'optional--',
  6373. 'optional2--',
  6374. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6375. );
  6376. }
  6377. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6378. {
  6379. addFileHost(
  6380. "yourfilestore\\.com\/download\/\\d+\/",
  6381. 'download_data">',
  6382. 'may have been deleted|<h1>Sorry!<\/h1>',
  6383. 'optional--',
  6384. 'optional2--',
  6385. "//a[contains(@href,'yourfilestore.com/download')]"
  6386. );
  6387. }
  6388. if (GM_getValue("Check_filebig_dot_net_links", false))
  6389. {
  6390. addFileHost(
  6391. "filebig\\.net\/files\/\\w+",
  6392. 'downloadFile">',
  6393. '<p>File not found<\/p>',
  6394. 'optional--',
  6395. 'optional2--',
  6396. "//a[contains(@href,'filebig.net/files')]"
  6397. );
  6398. }
  6399. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6400. {
  6401. addFileHost(
  6402. "files\\.filefront\\.com\/\/;\\d+;;",
  6403. 'downloadLink">',
  6404. 'File not found, you',
  6405. 'optional--',
  6406. 'optional2--',
  6407. "//a[contains(@href,'files.filefront.com')]"
  6408. );
  6409.  
  6410. addFileHost(
  6411. "gamefront\\.com\/files\/\\d+",
  6412. 'downloadLink">',
  6413. 'File not found, you',
  6414. 'optional--',
  6415. 'optional2--',
  6416. "//a[contains(@href,'gamefront.com/files')]"
  6417. );
  6418. }
  6419. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6420. {
  6421. addFileHost(
  6422. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6423. 'dnlLnk"',
  6424. 'already been deleted',
  6425. 'optional--',
  6426. 'optional2--',
  6427. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6428. );
  6429. }
  6430. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6431. {
  6432. addFileHost(
  6433. "hellupload\\.com\/\\w+",
  6434. '<h3>Download File<br',
  6435. 'id="podstrona">|AVOID_IE_BUG',
  6436. 'optional--',
  6437. 'optional2--',
  6438. "//a[contains(@href,'hellupload.com/')]"
  6439. );
  6440. }
  6441. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6442. {
  6443. addFileHost(
  6444. "free\\-uploading\\.com\/\\w+",
  6445. 'op" value="download',
  6446. 'class="err">|width:500px;text-align:left;">',
  6447. 'optional--',
  6448. 'optional2--',
  6449. "//a[contains(@href,'free-uploading.com/')]"
  6450. );
  6451. }
  6452. if (GM_getValue("Check_fileape_dot_com_links", false))
  6453. {
  6454. addFileHost(
  6455. "fileape\\.com\/download\\-",
  6456. 'button_dl\\.png',
  6457. 'does not exist\\.',
  6458. 'optional--',
  6459. 'optional2--',
  6460. "//a[contains(@href,'fileape.com/')]"
  6461. );
  6462. }
  6463. if (GM_getValue("Check_uppit_dot_com_links", false))
  6464. {
  6465. addFileHost(
  6466. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6467. 'op" value="download',
  6468. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6469. 'optional--',
  6470. 'optional2--',
  6471. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6472. true
  6473. );
  6474. }
  6475. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6476. {
  6477. addFileHost(
  6478. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6479. 'op" value="download',
  6480. '>File Not Found<',
  6481. 'optional--',
  6482. 'optional2--',
  6483. "//a[contains(@href,'nosupload.com')]",
  6484. true
  6485. );
  6486. }
  6487. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6488. {
  6489. addFileHost(
  6490. "filesin\\.com\/\\w+\/download\\.html",
  6491. 'download_area">',
  6492. 'error_note">',
  6493. 'optional--',
  6494. 'optional2--',
  6495. "//a[contains(@href,'filesin.com/')]",
  6496. true
  6497. );
  6498. }*/
  6499. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6500. {
  6501. addFileHost(
  6502. "nowdownload\\.ch\/dl\/\\w+",
  6503. 'alert-success"',
  6504. 'This file does not exist!',
  6505. 'The file is being transfered',
  6506. 'optional2--',
  6507. "//a[contains(@href,'nowdownload.ch/dl')]"
  6508. );
  6509. }*/
  6510. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6511. {
  6512. addFileHost(
  6513. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6514. 'Dbutton_big"',
  6515. 'download\\-error\\.php',
  6516. 'optional--',
  6517. 'optional2--',
  6518. "//a[contains(@href,'axifile.com/')]"
  6519. );
  6520. }*/
  6521. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6522. {
  6523. addFileHost(
  6524. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6525. 'col-1">\\s*<s',
  6526. 'col-1">\\s*<h',
  6527. 'optional--',
  6528. 'optional2--',
  6529. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6530. );
  6531. }
  6532. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6533. {
  6534. addFileHost(
  6535. "turbobit\\.(?:net|pl)",
  6536. 'id="download-gate-info|id="file-list',
  6537. 'afterWait()|no files in this folder',
  6538. 'optional--',
  6539. 'optional2--',
  6540. "//a[contains(@href,'turbobit.net')]"
  6541. );
  6542. }
  6543. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6544. {
  6545. addFileHost(
  6546. "hitfile\\.net\/download\/folder\/\\d+",
  6547. 'content">\\s*<s',
  6548. 'content">\\s*<h',
  6549. 'optional--',
  6550. 'optional2--',
  6551. "//a[contains(@href,'hitfile.net/download/folder')]"
  6552. );
  6553. }
  6554. if (GM_getValue("Check_movshare_dot_net_links", false))
  6555. {
  6556. addFileHost(
  6557. "movshare\\.net\\/video\\/\\w+",
  6558. 'optional--"',
  6559. 'no longer exists',
  6560. 'optional--',
  6561. 'optional2--',
  6562. "//a[contains(@href,'movshare.net/video')]"
  6563. );
  6564. }
  6565. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6566. {
  6567. addFileHost(
  6568. "mafiastorage\\.com\/\\w+",
  6569. 'op" value="download',
  6570. 'class="err">|style="width:500px;text-align:left;"',
  6571. 'optional--',
  6572. 'optional2--',
  6573. "//a[contains(@href,'mafiastorage.com/')]"
  6574. );
  6575. }
  6576. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6577. {
  6578. addFileHost(
  6579. "uploadingit\\.com\/file\/\\w+",
  6580. 'downloadTitle">',
  6581. 'deleteContent">',
  6582. 'optional--',
  6583. 'optional2--',
  6584. "//a[contains(@href,'uploadingit.com/file')]"
  6585. );
  6586. }*/
  6587. if (GM_getValue("Check_rghost_dot_net_links", false))
  6588. {
  6589. addFileHost(
  6590. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6591. 'download_link|btn large download',
  6592. 'file is restricted|File is deleted|503 Service Unavailable',
  6593. 'optional--',
  6594. 'optional2--',
  6595. "//a[contains(@href,'rghost.')]"
  6596. );
  6597. }
  6598. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6599. {
  6600. addFileHost(
  6601. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6602. '">Staženo:\\s*<\/span>',
  6603. 'Soubor, který hledáte nenalezen',
  6604. 'optional--',
  6605. 'optional2--',
  6606. "//a[contains(@href,'xdisk.cz/')]"
  6607. );
  6608. }
  6609. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6610. {
  6611. addFileHost(
  6612. "2downloadz\.com\/\\w+",
  6613. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6614. 'color="#006DCC|File error',
  6615. 'optional--',
  6616. 'optional2--',
  6617. "//a[contains(@href,'2downloadz.com')]");
  6618. }
  6619. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6620. {
  6621. addFileHost(
  6622. "mightyupload\.com\/\\w+",
  6623. 'background:#ccc;text-align|CONTENT="Download File"',
  6624. 'style="background:#eee|var rr =|File Not Found',
  6625. 'error-code">1010',
  6626. 'optional2--',
  6627. "//a[contains(@href,'mightyupload.com')]");
  6628. }
  6629. if (GM_getValue("Check_anysend_dot_com_links", false))
  6630. {
  6631. addFileHost(
  6632. "anysend\.com\/\\w+",
  6633. 'var openCalled=false;|content="noindex"',
  6634. '_trackPageview',
  6635. 'optional--',
  6636. 'optional2--',
  6637. "//a[contains(@href,'anysend.com')]");
  6638. }
  6639. if (GM_getValue("Check_datafile_dot_com_links", false))
  6640. {
  6641. addFileHost(
  6642. "datafile\.com\/\\w+",
  6643. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6644. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6645. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6646. '; 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">
  6647. "//a[contains(@href,'datafile.com')]",
  6648. true);
  6649. }
  6650. if (GM_getValue("Check_upstore_dot_net_links", false))
  6651. {
  6652. addFileHost(
  6653. "upstore\.net\/\\w+",
  6654. 'name="free"',
  6655. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6656. 'optional--',
  6657. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6658. "//a[contains(@href,'upstore.net')]");
  6659. }
  6660. if (GM_getValue("Check_upsto_dot_re_links", false))
  6661. {
  6662. addFileHost(
  6663. "upsto\.re\/\\w+",
  6664. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6665. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6666. 'optional--',
  6667. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6668. "//a[contains(@href,'upsto.re')]");
  6669. }
  6670. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6671. {
  6672. addFileHost(
  6673. "speedy\.sh\/\\w+",
  6674. 'bgcolor=#eeeeee|class="addthis',
  6675. 'File not found|downloadfilenamenotfound>',
  6676. 'optional--',
  6677. 'optional2--',
  6678. "//a[contains(@href,'speedy.sh')]");
  6679. }
  6680. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6681. {
  6682. addFileHost(
  6683. "kingfiles\.net\/\\w+",
  6684. 'method_free|images/loading_small.gif"',
  6685. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6686. 'optional--',
  6687. 'optional2--',
  6688. "//a[contains(@href,'kingfiles.net')]");
  6689. }
  6690. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6691. {
  6692. addFileHost(
  6693. "secureupload\\.eu\/\\w+",
  6694. 'Downloading',
  6695. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6696. 'optional--',
  6697. 'optional2--',
  6698. "//a[contains(@href,'secureupload.eu')]"
  6699. );
  6700. } */
  6701. if (GM_getValue("Check_ge_dot_tt_links", false))
  6702. {
  6703. addFileHost(
  6704. "ge\.tt\/\\w+",
  6705. 'downloads pic',
  6706. 'is NOT the same as',
  6707. 'optional--',
  6708. 'optional2--',
  6709. "//a[contains(@href,'ge.tt')]");
  6710. }
  6711. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6712. {
  6713. addFileHost(
  6714. "filefactory\\.com\/file\/\\w+",
  6715. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6716. '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">',
  6717. 'Server Maintenance|temporarily overloaded',
  6718. 'Premium Account Required',
  6719. "//a[contains(@href,'filefactory.com/file')]");
  6720. } */
  6721. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6722. {
  6723. addFileHost(
  6724. "filesflash\.net\/\\w+",
  6725. 'align:right">Filename:',
  6726. 'class="msg">',
  6727. 'optional--',
  6728. 'optional2--',
  6729. "//a[contains(@href,'filesflash.net')]");
  6730. }
  6731. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6732. {
  6733. addFileHost(
  6734. "rapidgator\\.net\/folder\/\\w+",
  6735. 'href="/folder/',
  6736. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6737. 'optional--',
  6738. 'optional2--',
  6739. "//a[contains(@href,'rapidgator.net/folder')]",
  6740. true
  6741. );
  6742. }
  6743. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6744. {
  6745. addFileHost(
  6746. "salefiles\.com\/\\w+",
  6747. 'name="method_free',
  6748. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6749. 'optional--',
  6750. 'optional2--',
  6751. "//a[contains(@href,'salefiles.com')]");
  6752. }
  6753. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6754. {
  6755. addFileHost(
  6756. "datoid\.cz\/\\w+",
  6757. 'btn-download|class="icon-download-large"',
  6758. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'datoid.cz')]");
  6762. }
  6763. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6764. {
  6765. addFileHost(
  6766. "stiahni\.si\/\\w+",
  6767. 'report_icon.png"|slow-download-button',
  6768. 'none.png|deleted|<h2>Error 500</h2>',
  6769. 'optional--',
  6770. 'optional2--',
  6771. "//a[contains(@href,'stiahni.si')]");
  6772. }
  6773. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6774. {
  6775. addFileHost(
  6776. "cloudstor\.es\/\\w+",
  6777. '"btn_download"',
  6778. '404: Page Not Found',
  6779. 'optional--',
  6780. 'optional2--',
  6781. "//a[contains(@href,'cloudstor.es')]");
  6782. }
  6783. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6784. {
  6785. addFileHost(
  6786. "streamfile\.com\/\\w+",
  6787. 'class="btn',
  6788. 'class="green-btn',
  6789. 'optional--',
  6790. 'optional2--',
  6791. "//a[contains(@href,'streamfile.com')]");
  6792. }
  6793. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6794. {
  6795. addFileHost(
  6796. "eyesfile\.ca\/\\w+",
  6797. 'value="Get Link',
  6798. 'var rr =',
  6799. 'optional--',
  6800. 'optional2--',
  6801. "//a[contains(@href,'eyesfile.ca')]");
  6802. }
  6803. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6804. {
  6805. addFileHost(
  6806. "filemoney\.com\/\\w+",
  6807. 'og:title',
  6808. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6809. 'error-code">1010',
  6810. 'optional2--',
  6811. "//a[contains(@href,'filemoney.com')]");
  6812. }
  6813. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6814. {
  6815. addFileHost(
  6816. "uploadboy\.com\/\\w+",
  6817. 'width="740">|method_free',
  6818. 'var rr =|background:#ffffff|not be found|file was removed',
  6819. 'optional--',
  6820. 'optional2--',
  6821. "//a[contains(@href,'uploadboy.com')]");
  6822. }
  6823. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6824. {
  6825. addFileHost(
  6826. "uploadboy\.com\/\\w+",
  6827. 'width="740">|method_free',
  6828. 'var rr =|background:#ffffff|not be found|file was removed',
  6829. 'optional--',
  6830. 'optional2--',
  6831. "//a[contains(@href,'uploadboy.me')]");
  6832. }
  6833. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6834. {
  6835. addFileHost(
  6836. "speedshare\.eu\/\\w+",
  6837. 'favicon.png|color:#3d87c0|cross.png"',
  6838. 'var rr =|File Not Found|style="background:#eee',
  6839. 'optional--',
  6840. 'optional2--',
  6841. "//a[contains(@href,'speedshare.eu')]");
  6842. }
  6843. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6844. {
  6845. addFileHost(
  6846. "unlimitzone\.com\/\\w+",
  6847. 'name="method_free',
  6848. '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',
  6849. 'optional--',
  6850. 'optional2--',
  6851. "//a[contains(@href,'unlimitzone.com')]");
  6852. }
  6853. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6854. {
  6855. addFileHost(
  6856. "rioupload\.com\/\\w+",
  6857. 'sell.jpg',
  6858. 'var rr =',
  6859. 'optional--',
  6860. 'optional2--',
  6861. "//a[contains(@href,'rioupload.com')]");
  6862. }
  6863. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6864. {
  6865. addFileHost(
  6866. "jumbofiles\.org\/\\w+",
  6867. 'H71C5.png|class="downloadtitle">',
  6868. 'var swfu|ViewSourceBIN.png',
  6869. 'optional--',
  6870. 'optional2--',
  6871. "//a[contains(@href,'jumbofiles.org')]");
  6872. }
  6873. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6874. {
  6875. addFileHost(
  6876. "fshare\\.vn\/file\/\\w+",
  6877. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6878. 'không tồn tại|class="color_red m_t_50"',
  6879. 'optional--',
  6880. 'optional2--',
  6881. "//a[contains(@href,'fshare.vn/file')]",
  6882. true
  6883. );
  6884. }
  6885. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6886. {
  6887. addFileHost(
  6888. "spaceforfiles\.com\/\\w+",
  6889. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6890. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6891. 'optional--',
  6892. 'optional2--',
  6893. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6894. }
  6895. if (GM_getValue("Check_google_dot_com_links", false))
  6896. {
  6897. addFileHost(
  6898. "google\\.com\/file\/\\w+",
  6899. 'content="!">|color:#2d2d2d',
  6900. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6901. 'optional--',
  6902. 'optional2--',
  6903. "//a[contains(@href,'google.com/file')]",
  6904. true
  6905. );
  6906. }
  6907. if (GM_getValue("Check_google_dot_com_links", false))
  6908. {
  6909. addFileHost(
  6910. "docs.google.com\/\\w+",
  6911. 'content="!">|color:#2d2d2d',
  6912. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6913. 'optional--',
  6914. 'optional2--',
  6915. "//a[contains(@href,'docs.google.com')]",
  6916. true
  6917. );
  6918. }
  6919. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6920. {
  6921. addFileHost(
  6922. "drive.google.com\/\\w+",
  6923. 'content="!">|color:#2d2d2d|id="uc-download-link|class="drive-viewer-',
  6924. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6925. 'optional--',
  6926. 'optional2--',
  6927. "//a[contains(@href,'drive.google.com')]",
  6928. true
  6929. );
  6930. }
  6931. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6932. {
  6933. addFileHost(
  6934. "up.media1fire\.com\/\\w+",
  6935. 'class="addthis_|value="download',
  6936. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6937. 'optional--',
  6938. 'optional2--',
  6939. "//a[contains(@href,'up.media1fire.com')]");
  6940. }
  6941. if (GM_getValue("Check_depfile_dot_com_links", false))
  6942. {
  6943. addFileHost(
  6944. "depfile\.com\/\\w+",
  6945. 'logo_0.png|downloads.gif"|verifycode',
  6946. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6947. 'optional--',
  6948. 'available only for Premium users',
  6949. "//a[contains(@href,'depfile.com')]");
  6950. }
  6951. if (GM_getValue("Check_go4up_dot_com_links", false))
  6952. {
  6953. addFileHost(
  6954. "go4up\.com\/\\w+",
  6955. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6956. '<title>GO4UP|dmca',
  6957. 'optional--',
  6958. 'optional2--',
  6959. "//a[contains(@href,'go4up.com')]");
  6960. }
  6961. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6962. {
  6963. addFileHost(
  6964. "redbunker\.net\/\\w+",
  6965. 'name="method_free"',
  6966. 'color="red">Unknow / Bilinmiyor<',
  6967. 'optional--',
  6968. '2.3 GB',
  6969. "//a[contains(@href,'redbunker.net')]");
  6970. }
  6971. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6972. {
  6973. addFileHost(
  6974. "divxpress\.com\/\\w+",
  6975. 'btn_download|logo.png"',
  6976. 'AVOID_IE_BUG|var rr =',
  6977. 'optional--',
  6978. 'optional2--',
  6979. "//a[contains(@href,'divxpress.com')]");
  6980. }
  6981. if (GM_getValue("Check_anafile_dot_com_links", false))
  6982. {
  6983. addFileHost(
  6984. "anafile\.com\/\\w+",
  6985. 'width="881" valign="top|color="#800080"|name="go"',
  6986. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6987. 'optional--',
  6988. 'optional2--',
  6989. "//a[contains(@href,'anafile.com')]");
  6990. }
  6991. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6992. {
  6993. addFileHost(
  6994. "uploadable\\.ch\/file\/\\w+",
  6995. 'captcha.js"|payment.js"|class="btn_download"',
  6996. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6997. 'optional--',
  6998. 'optional2--',
  6999. "//a[contains(@href,'uploadable.ch/file')]",
  7000. true
  7001. );
  7002. }
  7003. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7004. {
  7005. addFileHost(
  7006. "bigfile\\.to\/file\/\\w+",
  7007. 'captcha.js"|payment.js"|class="btn_download"',
  7008. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7009. 'optional--',
  7010. 'optional2--',
  7011. "//a[contains(@href,'bigfile.to/file')]",
  7012. true
  7013. );
  7014. }
  7015. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7016. {
  7017. addFileHost(
  7018. "arabloads\.net\/\\w+",
  7019. 'name="method_free"|name="method_premium"',
  7020. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7021. 'optional--',
  7022. 'optional2--',
  7023. "//a[contains(@href,'arabloads.net')]");
  7024. }
  7025. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7026. {
  7027. addFileHost(
  7028. "sharerepo\.com\/\\w+",
  7029. 'name="method_free"',
  7030. 'var public_on=|The file you were looking for could not be found',
  7031. 'optional--',
  7032. 'optional2--',
  7033. "//a[contains(@href,'sharerepo.com')]");
  7034. }
  7035. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7036. {
  7037. addFileHost(
  7038. "sfshare\.se\/\\w+",
  7039. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7040. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7041. 'optional--',
  7042. 'optional2--',
  7043. "//a[contains(@href,'sfshare.se')]");
  7044. }
  7045. if (GM_getValue("Check_files_dot_fm_links", false))
  7046. {
  7047. addFileHost(
  7048. "files\.fm\/\\w+",
  7049. 'dl.png"|background-color: transparent',
  7050. 'margin: 40px 40px|background: none;',
  7051. 'optional--',
  7052. 'optional2--',
  7053. "//a[contains(@href,'files.fm')]");
  7054. }
  7055. if (GM_getValue("Check_koofile_dot_com_links", false))
  7056. {
  7057. addFileHost(
  7058. "koofile\.com\/\\w+",
  7059. 'value="download1">|name="method_free"',
  7060. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7061. 'optional--',
  7062. 'optional2--',
  7063. "//a[contains(@href,'koofile.com')]");
  7064. }
  7065. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7066. {
  7067. addFileHost(
  7068. "vidxden\\.com\/\\w+",
  7069. 'Continue to Video"',
  7070. 'No such file',
  7071. 'optional--',
  7072. 'optional2--',
  7073. "//a[contains(@href,'vidxden.com')]"
  7074. );
  7075. }*/
  7076. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7077. {
  7078. addFileHost(
  7079. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7080. 'Details zur Datei|Details page',
  7081. 'Jetzt hochladen|upload now',
  7082. 'optional--',
  7083. 'optional2--',
  7084. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7085. );
  7086. }
  7087. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7088. {
  7089. addFileHost(
  7090. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7091. 'downloadbtn"',
  7092. 'DL_FileNotFound',
  7093. 'optional--',
  7094. 'optional2--',
  7095. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7096. );
  7097. }
  7098. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7099. {
  7100. addFileHost(
  7101. "fileflyer\.com\/view\/\\w+",
  7102. '(?:dwl|locked)btn"',
  7103. 'error.gif"|link">Removed|removedlink">',
  7104. 'optional--',
  7105. 'optional2--',
  7106. "//a[contains(@href,'fileflyer.com')]"
  7107. );
  7108. }
  7109. if (GM_getValue("Check_filestore_dot_to_links", false))
  7110. {
  7111. addFileHost(
  7112. "filestore\.to\/\\?d=\\w+",
  7113. '"downloading"',
  7114. 'Datei wurde nicht gefunden',
  7115. 'optional--',
  7116. 'optional2--',
  7117. "//a[contains(@href,'filestore.to')]"
  7118. );
  7119. }
  7120. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7121. {
  7122. addFileHost(
  7123. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7124. 'fz24">Download|class="pl15">',
  7125. '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',
  7126. 'optional--',
  7127. 'optional2--',
  7128. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7129. );
  7130. }
  7131. if (GM_getValue("Check_datei_dot_to_links", false))
  7132. {
  7133. addFileHost(
  7134. "datei\\.to\/\\??\\w+",
  7135. 'icon_downloaden\\.png|>Download starten<',
  7136. 'Datei wurde nicht gefunden|icon_deleted.png',
  7137. 'optional--',
  7138. 'optional2--',
  7139. "//a[contains(@href,'datei.to')]"
  7140. );
  7141. }
  7142. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7143. {
  7144. addFileHost(
  7145. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7146. '<body class="body" id="body">|value="Slow Download"',
  7147. '<body class="body" >',
  7148. 'optional--',
  7149. 'optional2--',
  7150. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7151. );
  7152. }
  7153. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7154. {
  7155. addFileHost(
  7156. "unibytes\\.com\/[\\w\.]+",
  7157. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7158. 'File not found|Файл не найден|',
  7159. 'optional--',
  7160. 'optional2--',
  7161. "//a[contains(@href,'unibytes.com')]"
  7162. );
  7163. }
  7164. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7165. {
  7166. addFileHost(
  7167. "www\\.hellshare\\.com\/\\d+",
  7168. 'tab\\-details"',
  7169. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7170. 'optional--',
  7171. 'optional2--',
  7172. "//a[contains(@href,'www.hellshare.com')]"
  7173. );
  7174. }
  7175. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7176. {
  7177. addFileHost(
  7178. "www\\.download.cz.hellshare\\.com\/\\w+",
  7179. 'tab\\-details"',
  7180. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7181. 'optional--',
  7182. 'optional2--',
  7183. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7184. );
  7185. }
  7186. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7187. {
  7188. addFileHost(
  7189. "filefactory\\.com",
  7190. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7191. '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',
  7192. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7193. 'Premium Account Required',
  7194. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7195. );
  7196. }
  7197. if (GM_getValue("Check_load_dot_to_links", false))
  7198. {
  7199. addFileHost(
  7200. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7201. '"download_table_left">Size',
  7202. 'Can\'t find file',
  7203. 'optional--',
  7204. 'optional2--',
  7205. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7206. );
  7207. }
  7208. if (GM_getValue("Check_divshare_dot_com_links", false))
  7209. {
  7210. addFileHost(
  7211. "divshare\\.com\/download\/",
  7212. 'download_new\.png',
  7213. 'have been removed',
  7214. 'optional--',
  7215. 'optional2--',
  7216. "//a[contains(@href,'divshare.com')]"
  7217. );
  7218. }
  7219. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7220. {
  7221. addFileHost(
  7222. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7223. 'download=true"',
  7224. '<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>',
  7225. 'optional--',
  7226. 'optional2--',
  7227. "//a[contains(@href,'euroshare.eu/file')]"
  7228. );
  7229. }
  7230. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7231. {
  7232. addFileHost(
  7233. 'files\\.mail\\.ru/(?:\\w*)',
  7234. 'fileList',
  7235. 'errorMessage',
  7236. 'optional--',
  7237. 'optional2--',
  7238. "//a[contains(@href,'files.mail.ru')]"
  7239. );
  7240. }
  7241. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7242. {
  7243. addFileHost(
  7244. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7245. 'Filesize',
  7246. 'Invalid|deleted|Could not download file',
  7247. 'slots|scheduled maintenance',
  7248. 'optional2--',
  7249. "//a[contains(@href,'megashares.com/')]"
  7250. );
  7251. } */
  7252. if (GM_getValue("Check_narod_dot_ru_links", false))
  7253. {
  7254. addFileHost(
  7255. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7256. 'b-submit|action="resource.download"',
  7257. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7258. 'Внутренняя ошибка сервиса',
  7259. 'optional2--',
  7260. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7261. );
  7262. }
  7263. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7264. {
  7265. addFileHost(
  7266. "rayfile\\.com\/",
  7267. 'FILEtitleTXT',
  7268. 'blueRow',
  7269. 'optional--',
  7270. 'optional2--',
  7271. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7272. );
  7273. }
  7274. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7275. {
  7276. addFileHost(
  7277. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7278. 'button_green_body"',
  7279. 'error">',
  7280. 'optional--',
  7281. 'optional2--',
  7282. "//a[contains(@href,'filesmonster.com/download')]"
  7283. );
  7284. }
  7285. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7286. {
  7287. addFileHost(
  7288. 'usaupload\\.net\/d\/(?:\w*)',
  7289. '<strong>File size:</strong>',
  7290. 'is not available',
  7291. 'optional--',
  7292. 'optional2--',
  7293. "//a[contains(@href,'usaupload.net/d/')]"
  7294. );
  7295. }
  7296. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7297. {
  7298. addFileHost(
  7299. 'sendspace\\.com\/file\/\\w+',
  7300. 'file_description',
  7301. 'msg error"',
  7302. 'optional--',
  7303. 'optional2--',
  7304. "//a[contains(@href,'sendspace.com/file')]"
  7305. );
  7306. }
  7307. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7308. {
  7309. addFileHost(
  7310. 'sendspace\\.pl\/file\/\\w+',
  7311. 'download_file"',
  7312. 'Podany plik nie',
  7313. 'optional--',
  7314. 'optional2--',
  7315. "//a[contains(@href,'sendspace.pl/file')]"
  7316. );
  7317. }
  7318. /* if (GM_getValue("Check_uploading_dot_com_links", false))
  7319. {
  7320. addFileHost(
  7321. 'uploading\\.com\/(?:files\/)?\\w+',
  7322. 'free_method">',
  7323. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7324. 'optional--',
  7325. 'optional2--',
  7326. "//a[contains(@href,'uploading.com')]"
  7327. );
  7328. } */
  7329. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7330. {
  7331. addFileHost(
  7332. "gigasize\.com\/\\w+",
  7333. 'fileId"|class="estimate">',
  7334. 'error">',
  7335. 'optional--',
  7336. 'optional2--',
  7337. "//a[contains(@href,'gigasize.com/get')]"
  7338. );
  7339. }
  7340. if (GM_getValue("Check_good_dot_com_links", false))
  7341. {
  7342. addFileHost(
  7343. 'good\\.net\/(?:_|dl)',
  7344. 'Free Download',
  7345. 'Not Found',
  7346. 'Forbidden',
  7347. 'optional2--',
  7348. "//a[contains(@href,'good.net')]"
  7349. );
  7350. }
  7351. if (GM_getValue("Check_2shared_dot_com_links", false))
  7352. {
  7353. addFileHost(
  7354. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7355. 'File size',
  7356. 'File not found|is not valid|/images/important.gif',
  7357. 'optional--',
  7358. 'optional2--',
  7359. // "//a[contains(@href,'2shared.com')]"
  7360. "//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/')]"
  7361. );
  7362. }
  7363. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7364. {
  7365. addFileHost(
  7366. 'turboupload\\.com\/\\w*',
  7367. 'You have requested',
  7368. 'File Not Found',
  7369. 'optional--',
  7370. 'optional2--',
  7371. "//a[contains(@href,'turboupload.com')]"
  7372. );
  7373. }
  7374. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7375. {
  7376. addFileHost(
  7377. 'gigapeta\\.com\/dl\/',
  7378. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7379. '404|page_error',
  7380. 'optional--',
  7381. 'optional2--',
  7382. "//a[contains(@href,'gigapeta.com/dl')]"
  7383. );
  7384. }
  7385. if (GM_getValue("Check_veehd_dot_com_links", false))
  7386. {
  7387. addFileHost(
  7388. 'veehd\.com\/video\/.*?',
  7389. 'No sound|Download video',
  7390. 'Featured Videos',
  7391. 'optional--',
  7392. 'optional2--',
  7393. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7394. );
  7395. }
  7396. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7397. {
  7398. addFileHost(
  7399. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7400. 'fast_download_form">|submit_sms_download',
  7401. '<p style="text-align:center">',
  7402. 'optional--',
  7403. 'optional2--',
  7404. "//a[contains(@href,'vip-file.com/download')]"
  7405. );
  7406. }
  7407. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7408. {
  7409. addFileHost(
  7410. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7411. 'download\\-pnl ',
  7412. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7413. 'optional--',
  7414. 'optional2--',
  7415. "//a[contains(@href,'letitbit.net/download')]"
  7416. );
  7417. }*/
  7418. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7419. {
  7420. addFileHost(
  7421. 'ifolder\.ru\/\\d+',
  7422. 'file-info',
  7423. 'ui-state-error',
  7424. 'optional--',
  7425. 'optional2--',
  7426. "//a[contains(@href,'ifolder.ru')]"
  7427. );
  7428. }
  7429. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7430. {
  7431. addFileHost(
  7432. 'fileswap\\.com\/dl\/\\w+',
  7433. 'bttnDownloadLink"',
  7434. 'rounded_block_error"',
  7435. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7436. 'optional2--',
  7437. "//a[contains(@href,'fileswap.com/dl')]"
  7438. );
  7439. }*/
  7440. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7441. {
  7442. addFileHost(
  7443. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7444. 'var __error = 0|id="recaptchaPanel">',
  7445. 'FILES__DOESNT_EXIST|removed or did not exist',
  7446. 'optional--',
  7447. 'optional2--',
  7448. "//a[contains(@href,'filecloud.io/')]"
  7449. );
  7450. addFileHost(
  7451. 'ifile\\.it\/\\w+',
  7452. 'var __error = 0',
  7453. 'FILES__DOESNT_EXIST',
  7454. 'optional--',
  7455. 'optional2--',
  7456. "//a[contains(@href,'ifile.it/')]"
  7457. );
  7458. }
  7459. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7460. {
  7461. addFileHost(
  7462. 'solidfiles\\.com\/\\w+',
  7463. 'id="download"|content="Download',
  7464. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7465. 'optional--',
  7466. 'optional2--',
  7467. "//a[contains(@href,'solidfiles.com/')]"
  7468. );
  7469. }
  7470. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7471. {
  7472. addFileHost(
  7473. "(?:.\\.|)shareflare\\.net",
  7474. 'download-pnl|<div class="premium-block">',
  7475. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7476. 'optional--',
  7477. 'optional2--',
  7478. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7479. );
  7480. }
  7481. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7482. {
  7483. addFileHost(
  7484. "u18116681.shareflare\\.net",
  7485. 'download-pnl|<div class="premium-block">',
  7486. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7487. 'optional--',
  7488. 'optional2--',
  7489. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7490. );
  7491. }
  7492. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7493. {
  7494. addFileHost(
  7495. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7496. 'file\\-list-orderby|section-filedetail">',
  7497. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7498. 'optional--',
  7499. 'optional2--',
  7500. "//a[contains(@href,'hellspy.')]"
  7501. );
  7502. }
  7503. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7504. {
  7505. addFileHost(
  7506. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7507. '<body onload="">',
  7508. 'neexistuje|not exist',
  7509. 'optional--',
  7510. 'optional2--',
  7511. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7512. );
  7513. }
  7514. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7515. {
  7516. addFileHost(
  7517. "stahovanizasms\\.cz\/\\w+",
  7518. 'download\\.png>|font-size:11px><tr>',
  7519. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7520. 'optional--',
  7521. 'optional2--',
  7522. "//a[contains(@href,'stahovanizasms.cz')]"
  7523. );
  7524. }
  7525. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7526. {
  7527. addFileHost(
  7528. "share-links\\.biz\/\\w*",
  7529. 'online\\.gif',
  7530. '(?:offline|parts)\\.gif',
  7531. 'optional--',
  7532. 'optional2--',
  7533. "//a[contains(@href,'share-links.biz')]"
  7534. );
  7535. }
  7536. if (GM_getValue("Check_4shared_dot_com_links", false))
  7537. {
  7538. addFileHost(
  7539. "4shared\\.com\/.+\/",
  7540. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7541. 'class="warn\"|big red"|GetDataBack',
  7542. 'Service Unavailable',
  7543. 'optional2--',
  7544. "//a[contains(@href,'4shared.com')]"
  7545. );
  7546. }
  7547. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7548. {
  7549. addFileHost(
  7550. "(?:www\\d+\.|)zippyshare\.com\/",
  7551. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7552. 'not exist|Status 404',
  7553. 'optional--',
  7554. 'optional2--',
  7555. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7556. );
  7557. }
  7558. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7559. {
  7560. addFileHost(
  7561. "mediafire\.com\/",
  7562. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7563. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7564. 'set to private',
  7565. 'optional2--',
  7566. "//a[contains(@href,'mediafire.com')]"
  7567. );
  7568. }
  7569. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7570. {
  7571. addFileHost(
  7572. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7573. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7574. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7575. 'optional--',
  7576. 'GB</small>',
  7577. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7578. );
  7579. }
  7580. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7581. {
  7582. addFileHost(
  7583. "ulozisko\.sk\/",
  7584. 'Detaily',
  7585. 'neexistuje',
  7586. 'optional--',
  7587. 'optional2--',
  7588. "//a[contains(@href,'ulozisko.sk')]"
  7589. );
  7590. }
  7591. if (GM_getValue("Check_box_dot_com_links", false))
  7592. {
  7593. addFileHost(
  7594. "box\.com\/\\w+",
  7595. 'download-file-btn|id="download_button|preview-download',
  7596. 'BIyMin.png| <div class="error_message|link has been removed',
  7597. 'optional--',
  7598. 'optional2--',
  7599. "//a[contains(@href,'app.box.com')]");
  7600. }
  7601. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7602. {
  7603. addFileHost(
  7604. "uptobox\\.com\/\\w+",
  7605. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download|name="method_free"|value="Free Download"',
  7606. '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|لا يوجد أي ملف',
  7607. 'Maintenance',
  7608. 'optional2--',
  7609. "//a[contains(@href,'uptobox.com')]",
  7610. true
  7611. );
  7612. }
  7613. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7614. {
  7615. addFileHost(
  7616. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7617. 'FILE DOWNLOAD<',
  7618. 'File Does Not Exist',
  7619. 'optional--',
  7620. 'optional2--',
  7621. "//a[contains(@href,'sharecash.org/download.php')]"
  7622. );
  7623. }
  7624. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7625. {
  7626. addFileHost(
  7627. "1fichier\\.com\/dir\/\\w+",
  7628. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7629. 'Shared Folder Not Found',
  7630. 'optional--',
  7631. 'optional2--',
  7632. "//a[contains(@href,'1fichier.com/dir')]"
  7633. );
  7634. }
  7635. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7636. {
  7637. addFileHost(
  7638. "depositfiles\\.com\/folders\/\\w+",
  7639. '<div class="progressContainer">',
  7640. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7641. 'optional--',
  7642. 'optional2--',
  7643. "//a[contains(@href,'depositfiles.com/folders')]"
  7644. );
  7645. }
  7646. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7647. {
  7648. addFileHost(
  7649. "rapidfileshare\\.net/\\w+",
  7650. '<div id="upload-header-bg">',
  7651. '<div style="width:500px;text-align:left;">',
  7652. 'optional--',
  7653. 'optional2--',
  7654. "//a[contains(@href,'rapidfileshare.net/')]"
  7655. );
  7656. }
  7657. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7658. {
  7659. addFileHost(
  7660. "stiahnito\\.sk/",
  7661. '<span class="filesize right">',
  7662. '<ol class="list-purp-2">',
  7663. 'optional--',
  7664. 'optional2--',
  7665. "//a[contains(@href,'stiahnito.sk/')]"
  7666. );
  7667. }
  7668. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7669. {
  7670. addFileHost(
  7671. "rusfolder\\.(?:com|net)",
  7672. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7673. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7674. 'optional--',
  7675. 'optional2--',
  7676. "//a[contains(@href,'rusfolder')]"
  7677. );
  7678. }
  7679. if (GM_getValue("Check_catshare_dot_net_links", false))
  7680. {
  7681. addFileHost(
  7682. "catshare\\.net/\\w+",
  7683. '"icon-share',
  7684. 'alert alert-error',
  7685. 'optional--',
  7686. 'optional2--',
  7687. "//a[contains(@href,'catshare.net/')]"
  7688. );
  7689. }
  7690. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7691. {
  7692. addFileHost(
  7693. "anonfiles\\.com/\\w+",
  7694. '"download_button"',
  7695. '<legend><b>404</b>',
  7696. 'optional--',
  7697. 'optional2--',
  7698. "//a[contains(@href,'anonfiles.com')]"
  7699. );
  7700. }*/
  7701. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7702. {
  7703. addFileHost(
  7704. "mixturecloud\\.com/media/\\w+",
  7705. '"btn icon i_globe gray share_150',
  7706. '"s_cross_close"></span> 404:',
  7707. 'optional--',
  7708. 'optional2--',
  7709. "//a[contains(@href,'mixturecloud.com/media/')]"
  7710. );
  7711. }
  7712. if (GM_getValue("Check_akafile_dot_com_links", false))
  7713. {
  7714. addFileHost(
  7715. "akafile\\.com\/\\w+",
  7716. 'download1',
  7717. 'File Not Found',
  7718. 'optional--',
  7719. 'optional2--',
  7720. "//a[contains(@href,'akafile.com/')]"
  7721. );
  7722. }
  7723. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7724. {
  7725. addFileHost(
  7726. "creafile\\.net\/\\w+",
  7727. 'downloadblock',
  7728. 'errtitle',
  7729. 'optional--',
  7730. 'optional2--',
  7731. "//a[contains(@href,'creafile.net/')]"
  7732. );
  7733. }*/
  7734. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7735. {
  7736. addFileHost(
  7737. "hugefiles\\.net\/\\w+",
  7738. 'download1|class="btn-create-download" value="Create Download Link">',
  7739. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7740. 'optional--',
  7741. 'optional2--',
  7742. "//a[contains(@href,'hugefiles.net/')]"
  7743. );
  7744. }*/
  7745. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7746. {
  7747. addFileHost(
  7748. "sendmyway\\.com\/\\w+",
  7749. 'id="btn_download"',
  7750. '500px;text-align:left;"|<center><h3>',
  7751. 'optional--',
  7752. 'optional2--',
  7753. "//a[contains(@href,'sendmyway.com/')]"
  7754. );
  7755. }
  7756. if (GM_getValue("Check_upload_dot_ee_links", false))
  7757. {
  7758. addFileHost(
  7759. "upload\\.ee\/\\w+",
  7760. 'onmouseout="document.dllink.src',
  7761. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7762. 'optional--',
  7763. 'optional2--',
  7764. "//a[contains(@href,'upload.ee/')]"
  7765. );
  7766. }
  7767. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7768. {
  7769. addFileHost(
  7770. "shareplace\\.org\/\\?\\w+",
  7771. 'Download-Link',
  7772. 'Your requested file is not found|Select file to send',
  7773. 'optional--',
  7774. 'optional2--',
  7775. "//a[contains(@href,'shareplace.org/?')]"
  7776. );
  7777. }
  7778. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7779. {
  7780. addFileHost(
  7781. "uploadc\\.com\/\\w+",
  7782. 'id="prebut"',
  7783. 'File Not Found|This file has been removed due',
  7784. 'optional--',
  7785. 'optional2--',
  7786. "//a[contains(@href,'uploadc.com/')]"
  7787. );
  7788. }
  7789. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7790. {
  7791. addFileHost(
  7792. "uploadc\\.ch\/\\w+",
  7793. 'id="prebut"',
  7794. 'File Not Found|This file has been removed due',
  7795. 'optional--',
  7796. 'optional2--',
  7797. "//a[contains(@href,'uploadc.ch/')]"
  7798. );
  7799. }
  7800. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7801. {
  7802. addFileHost(
  7803. "remixshare\\.com\/\\w+",
  7804. 'id="dl2"',
  7805. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7806. 'optional--',
  7807. 'optional2--',
  7808. "//a[contains(@href,'remixshare.com/')]"
  7809. );
  7810. }*/
  7811. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7812. {
  7813. addFileHost(
  7814. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7815. 'Last Download :',
  7816. 'img src="\\/404.jpg"',
  7817. 'optional--',
  7818. 'optional2--',
  7819. "//a[contains(@href,'exoshare.com/download.php')]"
  7820. );
  7821. }
  7822. if (GM_getValue("Check_borncash_dot_org_links", false))
  7823. {
  7824. addFileHost(
  7825. "borncash\\.org\/download\/\\?a=\\w+",
  7826. 'class="knop_1"',
  7827. '\/error\/er00',
  7828. 'optional--',
  7829. 'optional2--',
  7830. "//a[contains(@href,'borncash.org/download/')]"
  7831. );
  7832. }
  7833. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7834. {
  7835. addFileHost(
  7836. "vidplay\.net\/\\w+",
  7837. 'solvemedia puzzle widget',
  7838. 'File not found|AVOID_IE_BUG',
  7839. 'optional--',
  7840. 'optional2--',
  7841. "//a[contains(@href,'vidplay.net')]");
  7842. }*/
  7843. if (GM_getValue("Check_filedais_dot_com_links", false))
  7844. {
  7845. addFileHost(
  7846. "filedais\.com\/\\w+",
  7847. 'class="btn btn-info"|name="method_free"',
  7848. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7849. 'optional--',
  7850. 'optional2--',
  7851. "//a[contains(@href,'filedais.com')]");
  7852. }
  7853. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7854. {
  7855. addFileHost(
  7856. "up.4share\.vn\/\\w+",
  7857. '<font size="2" face="Verdana">',
  7858. 'font: 13px Tahoma; color: Brown',
  7859. 'optional--',
  7860. 'optional2--',
  7861. "//a[contains(@href,'up.4share.vn')]");
  7862. }
  7863. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7864. {
  7865. addFileHost(
  7866. "share.vnn\.vn\/\\w+",
  7867. '"index,follow"|<div class="main" id="download-box">',
  7868. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7869. 'optional--',
  7870. 'optional2--',
  7871. "//a[contains(@href,'share.vnn.vn')]");
  7872. }
  7873. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7874. {
  7875. addFileHost(
  7876. "upfile\.vn\/\\w+",
  7877. 'download-timer',
  7878. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7879. 'optional--',
  7880. 'optional2--',
  7881. "//a[contains(@href,'upfile.vn')]");
  7882. }
  7883. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7884. {
  7885. addFileHost(
  7886. "aisfile\.com\/\\w+",
  7887. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7888. '<div style="width:500px;text-align:left;">|File Not Found',
  7889. 'optional--',
  7890. 'optional2--',
  7891. "//a[contains(@href,'aisfile.com')]");
  7892. }
  7893. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7894. {
  7895. addFileHost(
  7896. "usersfiles\.com\/\\w+",
  7897. 'class="btn btn-success|id="btn_download" class="btn"',
  7898. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7899. 'optional--',
  7900. 'optional2--',
  7901. "//a[contains(@href,'usersfiles.com')]");
  7902. }
  7903. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7904. {
  7905. addFileHost(
  7906. "pan.baidu\.com\/\\w+",
  7907. 'target="_blank" title=|share-personal-info',
  7908. 'share_notfound.png|background:#f9f9f9',
  7909. 'optional--',
  7910. 'optional2--',
  7911. "//a[contains(@href,'pan.baidu.com')]");
  7912. }
  7913. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7914. {
  7915. addFileHost(
  7916. "yunpan\.cn\/\\w+",
  7917. 'class="icon icon-download',
  7918. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7919. 'optional--',
  7920. 'optional2--',
  7921. "//a[contains(@href,'yunpan.cn')]");
  7922. }
  7923. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7924. {
  7925. addFileHost(
  7926. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7927. 'getElementById("downbild")|style.display',
  7928. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7929. 'optional--',
  7930. 'optional2--',
  7931. "//a[contains(@href,'file-upload.net')]");
  7932. }
  7933. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7934. {
  7935. addFileHost(
  7936. "gulfup\.com\/",
  7937. '<!-- Downlod template -->|download.gif',
  7938. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7939. 'optional--',
  7940. 'optional2--',
  7941. "//a[contains(@href,'gulfup.com')]");
  7942. }*/
  7943. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7944. {
  7945. addFileHost(
  7946. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7947. 'dldtable">',
  7948. 'does not exist\\.',
  7949. 'optional--',
  7950. 'optional2--',
  7951. "//a[contains(@href,'datafilehost.com')]");
  7952. }
  7953. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7954. {
  7955. addFileHost(
  7956. "dropbox\.com\/s\/\\w+",
  7957. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7958. '>Nothing Here<|>Error (404)<',
  7959. 'title>Dropbox - 509|Error (403)|Error: 429',
  7960. 'optional2--',
  7961. "//a[contains(@href,'dropbox.com')]");
  7962. }
  7963. if (GM_getValue("Check_box_dot_net_links", false))
  7964. {
  7965. addFileHost(
  7966. "box\.net\/\\w+",
  7967. 'download-file-btn|id="download_button',
  7968. 'BIyMin.png| <div class="error_message',
  7969. 'optional--',
  7970. 'optional2--',
  7971. "//a[contains(@href,'box.net')]");
  7972. }
  7973. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7974. {
  7975. addFileHost(
  7976. "filedropper\.com\/\\w+",
  7977. 'background:#ddd;|width:985px; ',
  7978. 'background-color:#FFFFFF;|margin-left: -400px;',
  7979. 'optional--',
  7980. 'optional2--',
  7981. "//a[contains(@href,'filedropper.com')]");
  7982. }
  7983. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7984. {
  7985. addFileHost(
  7986. "tropicshare\\.com\/files\/\\d+",
  7987. 'MB</span>|GB</span>|KB</span>',
  7988. '>FNF<|size: </span>',
  7989. 'optional--',
  7990. 'optional2--',
  7991. "//a[contains(@href,'tropicshare.com')]");
  7992. }
  7993. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7994. {
  7995. addFileHost(
  7996. "worldbytez\.com",
  7997. '<div class="download_type">|method_free',
  7998. '<div style="width:500px;text-align:left;">',
  7999. 'optional--',
  8000. 'optional2--',
  8001. "//a[contains(@href,'worldbytez.com')]",
  8002. true);
  8003. }
  8004. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8005. {
  8006. addFileHost(
  8007. "freefilehosting\.net\/\\w+",
  8008. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8009. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8010. 'optional--',
  8011. 'optional2--',
  8012. "//a[contains(@href,'freefilehosting.net')]");
  8013. }
  8014. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8015. {
  8016. addFileHost(
  8017. "ziddu\.com\/\\w+",
  8018. 'downloads.ziddu.com|downloadfilelinkicon',
  8019. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8020. 'optional--',
  8021. 'optional2--',
  8022. "//a[contains(@href,'ziddu.com')]");
  8023. }
  8024. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8025. {
  8026. addFileHost(
  8027. "exclusiveloader\.com\/\\w+",
  8028. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8029. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8030. 'optional--',
  8031. 'optional2--',
  8032. "//a[contains(@href,'exclusiveloader.com')]");
  8033. }
  8034. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8035. {
  8036. addFileHost(
  8037. "sharerapid\.cz\/\\w+",
  8038. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8039. 'error_div">|404 - Not Found',
  8040. 'optional--',
  8041. 'optional2--',
  8042. "//a[contains(@href,'sharerapid.cz')]");
  8043. }
  8044. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8045. {
  8046. addFileHost(
  8047. "sdilej\.cz\/\\w+",
  8048. 'class="page-download"',
  8049. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8050. 'optional--',
  8051. 'optional2--',
  8052. "//a[contains(@href,'sdilej.cz')]");
  8053. }
  8054. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8055. {
  8056. addFileHost(
  8057. "lafiles\.com\/\\w+",
  8058. '<div id="pay_modes">',
  8059. '<b class="err"></b>',
  8060. 'optional--',
  8061. 'optional2--',
  8062. "//a[contains(@href,'lafiles.com')]");
  8063. }
  8064. if (GM_getValue("Check_acefile_dot_net_links", false))
  8065. {
  8066. addFileHost(
  8067. "acefile\.net\/\\w+",
  8068. 'align=right nowrap><b>',
  8069. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8070. 'optional--',
  8071. 'optional2--',
  8072. "//a[contains(@href,'acefile.net')]");
  8073. }
  8074. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8075. {
  8076. addFileHost(
  8077. "megarapid\.cz\/\\w+",
  8078. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8079. 'error_div">|404 - Not Found',
  8080. 'optional--',
  8081. 'optional2--',
  8082. "//a[contains(@href,'megarapid.cz')]");
  8083. }
  8084. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8085. {
  8086. addFileHost(
  8087. "yadi\.sk\/\\w+",
  8088. 'nb-button _nb-small-button',
  8089. 'error code|Nothing found',
  8090. 'optional--',
  8091. 'optional2--',
  8092. "//a[contains(@href,'yadi.sk')]");
  8093. }
  8094. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8095. {
  8096. addFileHost(
  8097. "hitfile\.net\/\\w+",
  8098. 'class="download-file',
  8099. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8100. 'optional--',
  8101. 'optional2--',
  8102. "//a[contains(@href,'hitfile.net')]");
  8103. }
  8104. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8105. {
  8106. addFileHost(
  8107. "up.top4top\.net\/\\w+",
  8108. 'start Downlod template',
  8109. 'start err template',
  8110. 'optional--',
  8111. 'optional2--',
  8112. "//a[contains(@href,'up.top4top.net')]");
  8113. }
  8114. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8115. {
  8116. addFileHost(
  8117. "filejoker\.net",
  8118. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8119. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8120. 'optional--',
  8121. 'id="download" class="premium-only">',
  8122. "//a[contains(@href,'filejoker.net')]");
  8123. }
  8124. if (GM_getValue("Check_free_dot_fr_links", false))
  8125. {
  8126. addFileHost(
  8127. "(?:dl.\\.|)free\\.fr",
  8128. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8129. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8130. 'optional--',
  8131. 'optional2--',
  8132. "//a[contains(@href,'dl.free.fr')]");
  8133. }
  8134. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8135. {
  8136. addFileHost(
  8137. "gboxes\.com\/\\w+",
  8138. 'You have requested|color="red">http://www.gboxes.com',
  8139. 'File Not Found|<div style="width:500px;text-align:left;">',
  8140. 'optional--',
  8141. 'optional2--',
  8142. "//a[contains(@href,'gboxes.com')]");
  8143. }
  8144. if (GM_getValue("Check_led_dot_wf_links", false))
  8145. {
  8146. addFileHost(
  8147. "led\.wf\/\\w+",
  8148. 'logo_0.png|downloads.gif"|verifycode',
  8149. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8150. 'optional--',
  8151. 'available only for Premium users',
  8152. "//a[contains(@href,'led.wf')]");
  8153. }
  8154. if (GM_getValue("Check_lan_dot_wf_links", false))
  8155. {
  8156. addFileHost(
  8157. "lan\.wf\/\\w+",
  8158. 'logo_0.png|downloads.gif"|verifycode',
  8159. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8160. 'optional--',
  8161. 'available only for Premium users',
  8162. "//a[contains(@href,'lan.wf')]");
  8163. }
  8164. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8165. {
  8166. addFileHost(
  8167. "adlink\.wf\/\\w+",
  8168. 'logo_0.png|downloads.gif"|verifycode',
  8169. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8170. 'optional--',
  8171. 'available only for Premium users',
  8172. "//a[contains(@href,'adlink.wf')]");
  8173. }
  8174. if (GM_getValue("Check_click_dot_tf_links", false))
  8175. {
  8176. addFileHost(
  8177. "click\.tf\/\\w+",
  8178. 'logo_0.png|downloads.gif"|verifycode',
  8179. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8180. 'optional--',
  8181. 'available only for Premium users',
  8182. "//a[contains(@href,'click.tf')]");
  8183. }
  8184. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8185. {
  8186. addFileHost(
  8187. "ssh\.tf\/\\w+",
  8188. 'logo_0.png|downloads.gif"|verifycode',
  8189. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8190. 'optional--',
  8191. 'available only for Premium users',
  8192. "//a[contains(@href,'ssh.tf')]");
  8193. }
  8194. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8195. {
  8196. addFileHost(
  8197. "ssh\.yt\/\\w+",
  8198. 'logo_0.png|downloads.gif"|verifycode',
  8199. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8200. 'optional--',
  8201. 'available only for Premium users',
  8202. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8203. }
  8204. if (GM_getValue("Check_yep_dot_pm_links", false))
  8205. {
  8206. addFileHost(
  8207. "yep\.pm\/\\w+",
  8208. 'logo_0.png|downloads.gif"|verifycode',
  8209. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8210. 'optional--',
  8211. 'available only for Premium users',
  8212. "//a[contains(@href,'yep.pm')]");
  8213. }
  8214. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8215. {
  8216. addFileHost(
  8217. "kyc\.pm\/\\w+",
  8218. 'logo_0.png|downloads.gif"|verifycode',
  8219. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8220. 'optional--',
  8221. 'available only for Premium users',
  8222. "//a[contains(@href,'kyc.pm')]");
  8223. }
  8224. if (GM_getValue("Check_brupload_dot_net_links", false))
  8225. {
  8226. addFileHost(
  8227. "brupload\.net\/\\w+",
  8228. 'Download Gratuito',
  8229. '<div style="width:500px;text-align:left;">',
  8230. 'optional--',
  8231. 'optional2--',
  8232. "//a[contains(@href,'brupload.net')]");
  8233. }
  8234. /* if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8235. {
  8236. addFileHost(
  8237. "cloudzilla\.to\/\\w+",
  8238. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8239. 'File not found|/imgs/broken.png',
  8240. 'optional--',
  8241. 'optional2--',
  8242. "//a[contains(@href,'cloudzilla.to')]");
  8243. } */
  8244. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8245. {
  8246. addFileHost(
  8247. "clicknupload\.com\/\\w+",
  8248. 'name="method_free',
  8249. 'File Not Found',
  8250. 'optional--',
  8251. 'optional2--',
  8252. "//a[contains(@href,'clicknupload.com')]");
  8253. }
  8254. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8255. {
  8256. addFileHost(
  8257. "clicknupload\.me\/\\w+",
  8258. 'name="method_free',
  8259. 'File Not Found',
  8260. 'optional--',
  8261. 'optional2--',
  8262. "//a[contains(@href,'clicknupload.me')]");
  8263. }
  8264. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8265. {
  8266. addFileHost(
  8267. "clicknupload\.link\/\\w+",
  8268. 'name="method_free',
  8269. 'File Not Found',
  8270. 'optional--',
  8271. 'optional2--',
  8272. "//a[contains(@href,'clicknupload.link')]");
  8273. }
  8274. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8275. {
  8276. addFileHost(
  8277. "ex-load\.com\/\\w+",
  8278. 'name="method_free|<p>Download File:</p>',
  8279. 'Folder Not Found|File Not Found|Error 404',
  8280. 'optional--',
  8281. 'class="downprem wow bounceInLeft',
  8282. "//a[contains(@href,'ex-load.com')]");
  8283. }
  8284. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8285. {
  8286. addFileHost(
  8287. "hexupload\.com\/\\w+",
  8288. 'button" value="Free|type="submit" value=""',
  8289. 'File Not Found|<div style="width:500px;text-align:left;">',
  8290. 'optional--',
  8291. 'optional2--',
  8292. "//a[contains(@href,'hexupload.com')]");
  8293. }*/
  8294. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8295. {
  8296. addFileHost(
  8297. "wizupload\.com\/\\w+",
  8298. 'btn_download|class="downloadbtn"',
  8299. '>File Not Found<',
  8300. 'optional--',
  8301. 'optional2--',
  8302. "//a[contains(@href,'wizupload.com')]");
  8303. }
  8304. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8305. {
  8306. addFileHost(
  8307. "inclouddrive\.com\/\\w+",
  8308. 'initfreedownload',
  8309. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8310. 'optional--',
  8311. 'optional2--',
  8312. "//a[contains(@href,'inclouddrive.com')]");
  8313. }
  8314. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8315. {
  8316. addFileHost(
  8317. "radicalshare\.com\/\\w+",
  8318. 'value="download1|name="method_free"',
  8319. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8320. 'optional--',
  8321. 'optional2--',
  8322. "//a[contains(@href,'radicalshare.com')]");
  8323. }*/
  8324. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8325. {
  8326. addFileHost(
  8327. "sharemods\.com\/\\w+",
  8328. 'name="method_free"',
  8329. 'File Not Found<',
  8330. 'optional--',
  8331. 'optional2--',
  8332. "//a[contains(@href,'sharemods.com')]");
  8333. }
  8334. if (GM_getValue("Check_hostr_dot_co_links", false))
  8335. {
  8336. addFileHost(
  8337. "hostr\.co\/\\w+",
  8338. 'method="get"',
  8339. 'File not found<|error-page',
  8340. 'optional--',
  8341. 'optional2--',
  8342. "//a[contains(@href,'hostr.co')]");
  8343. }
  8344. if (GM_getValue("Check_filepi_dot_com_links", false))
  8345. {
  8346. addFileHost(
  8347. "filepi\.com\/\\w+",
  8348. 'id="button_start">',
  8349. 'File not found',
  8350. 'optional--',
  8351. 'optional2--',
  8352. "//a[contains(@href,'filepi.com')]");
  8353. }
  8354. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8355. {
  8356. addFileHost(
  8357. "tikfile\.com\/\\w+",
  8358. 'btn_download',
  8359. 'File Not Found|file was removed|Reason for deletion',
  8360. 'optional--',
  8361. 'optional2--',
  8362. "//a[contains(@href,'tikfile.com')]");
  8363. }
  8364. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8365. {
  8366. addFileHost(
  8367. "cloudsix\.me\/\\w+",
  8368. 'name="method_free"',
  8369. 'File Not Found|width:500px;text-align:left;">',
  8370. 'optional--',
  8371. 'optional2--',
  8372. "//a[contains(@href,'cloudsix.me')]");
  8373. }
  8374. /* if (GM_getValue("Check_neodrive_dot_co_links", false))
  8375. {
  8376. addFileHost(
  8377. "neodrive\.co\/\\w+",
  8378. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8379. 'File not found|/imgs/broken.png',
  8380. 'optional--',
  8381. 'optional2--',
  8382. "//a[contains(@href,'neodrive.co')]");
  8383. } */
  8384. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8385. {
  8386. addFileHost(
  8387. "chayfile\.com\/\\w+",
  8388. 'name="method_free"',
  8389. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8390. 'optional--',
  8391. 'optional2--',
  8392. "//a[contains(@href,'chayfile.com')]");
  8393. }
  8394. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8395. {
  8396. addFileHost(
  8397. "xfileload\.com\/\\w+",
  8398. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8399. '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..|הקובץ שחיפשת לא נמצא.',
  8400. 'optional--',
  8401. 'optional2--',
  8402. "//a[contains(@href,'xfileload.com')]");
  8403. }*/
  8404. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8405. {
  8406. addFileHost(
  8407. "rockfile\.eu\/\\w+",
  8408. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8409. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8410. 'optional--',
  8411. 'optional2--',
  8412. "//a[contains(@href,'rockfile.eu')]",
  8413. true);
  8414. }
  8415. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8416. {
  8417. addFileHost(
  8418. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8419. 'i/icon/dll.png"|>Start download<br',
  8420. 'no longer available<|i/ino.png"',
  8421. 'optional--',
  8422. 'optional2--',
  8423. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8424. }
  8425. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8426. {
  8427. addFileHost(
  8428. "ozofiles\.com\/\\w+",
  8429. 'button" value="Free|name="method_free',
  8430. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8431. 'optional--',
  8432. 'optional2--',
  8433. "//a[contains(@href,'ozofiles.com')]");
  8434. }
  8435. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8436. {
  8437. addFileHost(
  8438. "userscloud\.com\/\\w+",
  8439. 'btn_download|class="label label-success">',
  8440. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8441. 'optional--',
  8442. 'optional2--',
  8443. "//a[contains(@href,'userscloud.com')]");
  8444. }
  8445. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8446. {
  8447. addFileHost(
  8448. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8449. 'class="button download',
  8450. 'internal server error',
  8451. 'optional--',
  8452. 'optional2--',
  8453. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8454. }
  8455. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8456. {
  8457. addFileHost(
  8458. "kb.simple-aja\.info\/\\w+",
  8459. 'class="button download',
  8460. 'internal server error|<p>404</p>',
  8461. 'optional--',
  8462. 'optional2--',
  8463. "//a[contains(@href,'kb.simple')]");
  8464. }
  8465. if (GM_getValue("Check_faststore_dot_org_links", false))
  8466. {
  8467. addFileHost(
  8468. "faststore\.org\/\\w+",
  8469. 'name="method_free',
  8470. 'File Not Found',
  8471. 'optional--',
  8472. 'optional2--',
  8473. "//a[contains(@href,'faststore.org')]");
  8474. }
  8475. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8476. {
  8477. addFileHost(
  8478. "prefiles\.com\/\\w+",
  8479. 'id="method_free',
  8480. 'File not Found',
  8481. 'optional--',
  8482. 'optional2--',
  8483. "//a[contains(@href,'prefiles.com')]");
  8484. }
  8485. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8486. {
  8487. addFileHost(
  8488. "doraupload\.com\/\\w+",
  8489. 'btn_download|name="method_free',
  8490. 'class="error-code|Could Not Be Found',
  8491. 'optional--',
  8492. 'optional2--',
  8493. "//a[contains(@href,'doraupload.com')]");
  8494. }
  8495. if (GM_getValue("Check_openload_dot_io_links", false))
  8496. {
  8497. addFileHost(
  8498. "openload\.io\/\\w+",
  8499. 'btn btn-primary|class="count">|secondsleftouter',
  8500. 'class="jumbotron">|We are sorry',
  8501. 'optional--',
  8502. 'optional2--',
  8503. "//a[contains(@href,'openload.io')]");
  8504. }
  8505. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8506. {
  8507. addFileHost(
  8508. "zxcfiles\.com\/\\w+",
  8509. 'class="downloadbtn',
  8510. 'File Not Found',
  8511. 'optional--',
  8512. 'optional2--',
  8513. "//a[contains(@href,'zxcfiles.com')]");
  8514. }
  8515. if (GM_getValue("Check_up07_dot_net_links", false))
  8516. {
  8517. addFileHost(
  8518. "up07\.net\/\\w+",
  8519. 'name="method_free',
  8520. 'File Not Found',
  8521. 'optional--',
  8522. 'optional2--',
  8523. "//a[contains(@href,'up07.net')]");
  8524. }
  8525. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8526. {
  8527. addFileHost(
  8528. "fileupload\.pw\/\\w+",
  8529. 'value="Free"',
  8530. 'File Not Found',
  8531. 'optional--',
  8532. 'optional2--',
  8533. "//a[contains(@href,'fileupload.pw')]");
  8534. }
  8535. if (GM_getValue("Check_4upld_dot_com_links", false))
  8536. {
  8537. addFileHost(
  8538. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8539. 'alt="Download Now"|content="Download file">|btn-free-element',
  8540. '<title>Error|content="error|File not found',
  8541. 'optional--',
  8542. 'optional2--',
  8543. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8544. }
  8545. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8546. {
  8547. addFileHost(
  8548. "(?:.swoopshare)\\.com\/\\w+",
  8549. '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',
  8550. '<input type="file" name="f"',
  8551. 'optional--',
  8552. 'optional2--',
  8553. "//a[contains(@href,'swoopshare.com')]"
  8554. );
  8555. }
  8556. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8557. {
  8558. addFileHost(
  8559. "cloudshares\.net\/\\w+",
  8560. '"method_free|"Low Speed Download|submit" name="go',
  8561. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8562. 'optional--',
  8563. 'optional2--',
  8564. "//a[contains(@href,'cloudshares.net')]"
  8565. );
  8566. }
  8567. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8568. {
  8569. addFileHost(
  8570. "allmyvideos\.net\/\\w+",
  8571. 'Continue to Video',
  8572. 'File Not Found|class="err">Removed for',
  8573. 'optional--',
  8574. 'optional2--',
  8575. "//a[contains(@href,'allmyvideos.net')]"
  8576. );
  8577. } */
  8578. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8579. {
  8580. addFileHost(
  8581. "vodlocker\.com\/\\w+",
  8582. 'Proceed to video',
  8583. 'Not Found',
  8584. 'optional--',
  8585. 'optional2--',
  8586. "//a[contains(@href,'vodlocker.com')]"
  8587. );
  8588. }
  8589. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8590. {
  8591. addFileHost(
  8592. "vidbull\.com\/\\w+",
  8593. 'Verifying Video Request',
  8594. 'File Not Found',
  8595. 'optional--',
  8596. 'optional2--',
  8597. "//a[contains(@href,'vidbull.com')]");
  8598. }
  8599. if (GM_getValue("Check_novamov_dot_com_links", false))
  8600. {
  8601. addFileHost(
  8602. "novamov\.com\/\\w+",
  8603. 'For version detection',
  8604. 'file no longer exists',
  8605. 'optional--',
  8606. 'optional2--',
  8607. "//a[contains(@href,'novamov.com')]"
  8608. );
  8609. }
  8610. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8611. {
  8612. addFileHost(
  8613. "filehoot\.com\/\\w+",
  8614. 'Continue to watch',
  8615. 'File Not Found',
  8616. 'optional--',
  8617. 'optional2--',
  8618. "//a[contains(@href,'filehoot.com')]"
  8619. );
  8620. }
  8621. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8622. {
  8623. addFileHost(
  8624. "stagevu\.com\/\\w+",
  8625. 'Video Info',
  8626. 'No video with the provided',
  8627. 'optional--',
  8628. 'optional2--',
  8629. "//a[contains(@href,'stagevu.com')]"
  8630. );
  8631. }
  8632. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8633. {
  8634. addFileHost(
  8635. "cloudtime\.to\/\\w+",
  8636. 'Download the video',
  8637. 'no longer exists',
  8638. 'optional--',
  8639. 'optional2--',
  8640. "//a[contains(@href,'cloudtime.to')]"
  8641. );
  8642. }
  8643. if (GM_getValue("Check_streamin_dot_to_links", false))
  8644. {
  8645. addFileHost(
  8646. "streamin\.to\/\\w+",
  8647. 'id="btn_download',
  8648. 'Not Found|Copyright Infringement|File Deleted',
  8649. 'optional--',
  8650. 'optional2--',
  8651. "//a[contains(@href,'streamin.to')]"
  8652. );
  8653. }
  8654. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8655. {
  8656. addFileHost(
  8657. "videoweed\.es\/\\w+",
  8658. 'version detection',
  8659. 'no longer exists',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'videoweed.es')]"
  8663. );
  8664. }
  8665. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8666. {
  8667. addFileHost(
  8668. "nowvideo\.sx\/\\w+",
  8669. 'Download this video|value="submit">Continue',
  8670. 'no longer exists',
  8671. 'optional--',
  8672. 'optional2--',
  8673. "//a[contains(@href,'nowvideo.sx')]"
  8674. );
  8675. }
  8676. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8677. {
  8678. addFileHost(
  8679. "thevideo\.me\/\\w+",
  8680. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8681. 'File Not Found',
  8682. 'optional--',
  8683. 'optional2--',
  8684. "//a[contains(@href,'thevideo.me')]"
  8685. );
  8686. }
  8687. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8688. {
  8689. addFileHost(
  8690. "gorillavid\.in\/\\w+",
  8691. 'Wait 5 seconds',
  8692. 'File Not Found',
  8693. 'optional--',
  8694. 'optional2--',
  8695. "//a[contains(@href,'gorillavid.in')]"
  8696. );
  8697. }
  8698. if (GM_getValue("Check_thefile_dot_me_links", false))
  8699. {
  8700. addFileHost(
  8701. "thefile\.me\/\\w+",
  8702. 'Choose free or',
  8703. '',
  8704. 'optional--',
  8705. 'optional2--',
  8706. "//a[contains(@href,'thefile.me')]"
  8707. );
  8708. }
  8709. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8710. {
  8711. addFileHost(
  8712. "vidzi\.tv\/\\w+",
  8713. 'video-embed-modal row',
  8714. 'File Not Found|file was deleted',
  8715. 'optional--',
  8716. 'optional2--',
  8717. "//a[contains(@href,'vidzi.tv')]"
  8718. );
  8719. }
  8720. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8721. {
  8722. addFileHost(
  8723. "filenuke\.com\/\\w+",
  8724. 'Download File',
  8725. 'Earn with us',
  8726. 'optional--',
  8727. 'optional2--',
  8728. "//a[contains(@href,'filenuke.com')]"
  8729. );
  8730. }
  8731. if (GM_getValue("Check_vidto_dot_me_links", false))
  8732. {
  8733. addFileHost(
  8734. "vidto\.me\/\\w+",
  8735. 'Proceed to video',
  8736. 'Not Found',
  8737. 'optional--',
  8738. 'optional2--',
  8739. "//a[contains(@href,'vidto.me')]"
  8740. );
  8741. }
  8742. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8743. {
  8744. addFileHost(
  8745. "vidspot\.net\/\\w+",
  8746. 'Duration|method_free',
  8747. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8748. 'optional--',
  8749. 'optional2--',
  8750. "//a[contains(@href,'vidspot.net')]"
  8751. );
  8752. } */
  8753. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8754. {
  8755. addFileHost(
  8756. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8757. 'Download File',
  8758. 'File Not Found',
  8759. 'optional--',
  8760. 'optional2--',
  8761. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8762. );
  8763. }
  8764. if (GM_getValue("Check_movpod_dot_in_links", false))
  8765. {
  8766. addFileHost(
  8767. "movpod\.in\/\\w+",
  8768. 'Continue',
  8769. 'File Not Found',
  8770. 'optional--',
  8771. 'optional2--',
  8772. "//a[contains(@href,'movpod.in')]"
  8773. );
  8774. }
  8775. if (GM_getValue("Check_down4files_dot_com_links", false))
  8776. {
  8777. addFileHost(
  8778. "down4files\.com\/\\w+",
  8779. 'down_table.png',
  8780. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8781. 'optional--',
  8782. 'optional2--',
  8783. "//a[contains(@href,'down4files.com')]"
  8784. );
  8785. }
  8786. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8787. {
  8788. addFileHost(
  8789. "storefiles\.co\/\\w+",
  8790. 'btn_download',
  8791. 'No such file|>Error<|mqmaintitle">',
  8792. 'optional--',
  8793. 'optional2--',
  8794. "//a[contains(@href,'storefiles.co')]"
  8795. );
  8796. }*/
  8797. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8798. {
  8799. addFileHost(
  8800. "filehost\.pw\/\\w+",
  8801. 'name="method_free',
  8802. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8803. 'optional--',
  8804. 'optional2--',
  8805. "//a[contains(@href,'filehost.pw')]"
  8806. );
  8807. }
  8808. if (GM_getValue("Check_uplea_dot_com_links", false))
  8809. {
  8810. addFileHost(
  8811. "uplea\.com\/\\w+",
  8812. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8813. 'expired link|ou est invalide',
  8814. 'optional--',
  8815. 'optional2--',
  8816. "//a[contains(@href,'uplea.com/dl')]",
  8817. true);
  8818. }
  8819. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8820. {
  8821. addFileHost(
  8822. "toutbox\.fr\/\\w+",
  8823. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8824. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8825. 'Serviço temporariamente indisponível',
  8826. 'optional2--',
  8827. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8828. );
  8829. }*/
  8830. if (GM_getValue("Check_openload_dot_co_links", false))
  8831. {
  8832. addFileHost(
  8833. "openload\.co\/\\w+",
  8834. 'id="downloadTimer">|button dlbutton',
  8835. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8836. 'optional--',
  8837. 'optional2--',
  8838. "//a[contains(@href,'openload.co')]"
  8839. );
  8840. }
  8841. if (GM_getValue("Check_oload_dot_tv_links", false))
  8842. {
  8843. addFileHost(
  8844. "oload\.tv\/\\w+",
  8845. 'id="downloadTimer">|button dlbutton',
  8846. 'jumbotron{color|got deleted|center !important|<title>File blocked',
  8847. 'optional--',
  8848. 'optional2--',
  8849. "//a[contains(@href,'oload.tv')]"
  8850. );
  8851. }
  8852. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8853. {
  8854. addFileHost(
  8855. "lolabits\.es\/\\w+",
  8856. 'Descargar:',
  8857. '<title>Archivos de usuario',
  8858. 'Service Unavailable',
  8859. 'optional2--',
  8860. "//a[contains(@href,'lolabits.es')]"
  8861. );
  8862. }*/
  8863. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8864. {
  8865. addFileHost(
  8866. "alfafile\.net\/\\w+",
  8867. 'id="slow_download_btn',
  8868. 'class="error-box">',
  8869. 'optional--',
  8870. 'optional2--',
  8871. "//a[contains(@href,'alfafile.net')]"
  8872. );
  8873. }
  8874. if (GM_getValue("Check_multiup_dot_org_links", false))
  8875. {
  8876. addFileHost(
  8877. "multiup\\.(?:org|eu)\/\\w+",
  8878. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8879. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8880. 'optional--',
  8881. 'optional2--',
  8882. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8883. );
  8884. }
  8885. if (GM_getValue("Check_file_dot_al_links", false))
  8886. {
  8887. addFileHost(
  8888. "file\\.al|1f.al",
  8889. 'method_free',
  8890. 'style="width:500px;text-align:left;">|invalid license_key',
  8891. 'optional--',
  8892. 'optional2--',
  8893. "//a[contains(@href,'file.al') or contains(@href,'1f.al')]"
  8894. );
  8895. }
  8896. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8897. {
  8898. addFileHost(
  8899. "devilshare\.net\/\\w+",
  8900. '<div class="large-12" id="download">',
  8901. '(Link: 0 Invalid)|File Not Found',
  8902. 'optional--',
  8903. 'optional2--',
  8904. "//a[contains(@href,'devilshare.net')]"
  8905. );
  8906. }
  8907. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8908. {
  8909. addFileHost(
  8910. "dailyuploads\.net\/\\w+",
  8911. 'id="downloadBtnClickOrignal',
  8912. '<div style="width:500px;text-align:left;">',
  8913. 'optional--',
  8914. 'optional2--',
  8915. "//a[contains(@href,'dailyuploads.net')]"
  8916. );
  8917. }
  8918. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8919. {
  8920. addFileHost(
  8921. "datoteke\.com\/\\w+",
  8922. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8923. '&nbsp;File has been removed',
  8924. 'optional--',
  8925. '<title>Error - Datoteke',
  8926. "//a[contains(@href,'datoteke.com')]"
  8927. );
  8928. }
  8929. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8930. {
  8931. addFileHost(
  8932. "sharehost\.eu\/\\w+",
  8933. '/?v=download_free&',
  8934. 'Errors occured|Wystąpiły błędy',
  8935. 'optional--',
  8936. 'optional2--',
  8937. "//a[contains(@href,'sharehost.eu')]"
  8938. );
  8939. }
  8940. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8941. {
  8942. addFileHost(
  8943. "pornfile\.cz",
  8944. 'Stáhnout soubor|Stáhnout pomalu',
  8945. 'Soubor byl smazán|Stránka nenalezena',
  8946. 'optional--',
  8947. 'optional2--',
  8948. "//a[contains(@href,'pornfile.cz')]"
  8949. );
  8950. }
  8951. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8952. {
  8953. addFileHost(
  8954. "pornoid\.cz\/\\w+",
  8955. 'class="btn btn-large btn-download',
  8956. 'Soubor byl smazán',
  8957. 'optional--',
  8958. 'optional2--',
  8959. "//a[contains(@href,'pornoid.cz')]"
  8960. );
  8961. }
  8962. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8963. {
  8964. addFileHost(
  8965. "file-share\.top\/\\w+",
  8966. 'btn-success btn-lg download',
  8967. 'Stránka neexistuje|404 Not Found',
  8968. 'optional--',
  8969. 'optional2--',
  8970. "//a[contains(@href,'file-share.top')]"
  8971. );
  8972. }
  8973. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8974. {
  8975. addFileHost(
  8976. "bitster\.cz\/",
  8977. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8978. 'section" content=""',
  8979. 'optional--',
  8980. 'optional2--',
  8981. "//a[contains(@href,'bitster.cz')]"
  8982. );
  8983. }
  8984. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8985. {
  8986. addFileHost(
  8987. "rapidu\.net\/\\w+",
  8988. 'onclick="downloadFreeFile',
  8989. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8990. 'optional--',
  8991. 'optional2--',
  8992. "//a[contains(@href,'rapidu.net')]"
  8993. );
  8994. }
  8995. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8996. {
  8997. addFileHost(
  8998. "dinoshare\.cz\/\\w+",
  8999. 'class="download-button"',
  9000. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9001. 'optional--',
  9002. 'optional2--',
  9003. "//a[contains(@href,'dinoshare.cz')]"
  9004. );
  9005. }
  9006. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9007. {
  9008. addFileHost(
  9009. "bytewhale\.com\/\\w+",
  9010. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9011. 'var rawest = "0 MB|Copyrights Claim</div>',
  9012. 'optional--',
  9013. 'This file is available for premium members only',
  9014. "//a[contains(@href,'bytewhale.com')]"
  9015. );
  9016. }
  9017. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9018. {
  9019. addFileHost(
  9020. "rapidrar\.com\/\\w+",
  9021. 'value="Free Download',
  9022. '<div style="width:500px;text-align:left;">',
  9023. 'optional--',
  9024. 'optional--',
  9025. "//a[contains(@href,'rapidrar.com')]"
  9026. );
  9027. }
  9028. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9029. {
  9030. addFileHost(
  9031. "filesupload\.org\/\\w+",
  9032. '<a href="/download-or-watch/',
  9033. 'File not found',
  9034. 'optional--',
  9035. 'optional--',
  9036. "//a[contains(@href,'filesupload.org')]"
  9037. );
  9038. }
  9039. if (GM_getValue("Check_filecad_dot_com_links", false))
  9040. {
  9041. addFileHost(
  9042. "filecad\.com\/\\w+",
  9043. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9044. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9045. 'optional--',
  9046. 'optional--',
  9047. "//a[contains(@href,'filecad.com')]"
  9048. );
  9049. }
  9050. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9051. {
  9052. addFileHost(
  9053. "file.up09\.com\/\\w+",
  9054. 'name="method_free',
  9055. 'style="width:500px;text-align:left;">',
  9056. 'optional--',
  9057. 'optional--',
  9058. "//a[contains(@href,'file.up09.com')]"
  9059. );
  9060. }
  9061. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9062. {
  9063. addFileHost(
  9064. "lunaticfiles\.com\/\\w+",
  9065. 'name="method_free"',
  9066. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9067. 'optional--',
  9068. 'optional--',
  9069. "//a[contains(@href,'lunaticfiles.com')]"
  9070. );
  9071. }
  9072. if (GM_getValue("Check_upload_dot_af_links", false))
  9073. {
  9074. addFileHost(
  9075. "upload\.af\/\\w+",
  9076. 'id="method_free"',
  9077. '<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|ファイルが見つかりません',
  9078. 'optional--',
  9079. 'optional--',
  9080. "//a[contains(@href,'upload.af')]"
  9081. );
  9082. }
  9083. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9084. {
  9085. addFileHost(
  9086. "filedwon\.info\/\\w+",
  9087. 'name="method_free"',
  9088. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9089. 'optional--',
  9090. 'optional--',
  9091. "//a[contains(@href,'filedwon.info')]"
  9092. );
  9093. }
  9094. if (GM_getValue("Check_uplod_dot_it_links", false))
  9095. {
  9096. addFileHost(
  9097. "uplod\.it\/\\w+",
  9098. 'value="download2">|name="method_free',
  9099. '<Title>Download </Title>',
  9100. 'optional--',
  9101. 'optional--',
  9102. "//a[contains(@href,'uplod.it')]"
  9103. );
  9104. }
  9105. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9106. {
  9107. addFileHost(
  9108. "abelhas\.pt\/\\w+",
  9109. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9110. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9111. 'optional--',
  9112. 'optional--',
  9113. "//a[contains(@href,'abelhas.pt')]"
  9114. );
  9115. } */
  9116. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9117. {
  9118. addFileHost(
  9119. "disk.yandex\.com\/\\w+",
  9120. 'nb-button _nb-small-button',
  9121. 'error code|Nothing found',
  9122. 'optional--',
  9123. 'optional2--',
  9124. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9125. }
  9126. if (GM_getValue("Check_filespace_dot_com_links", false))
  9127. {
  9128. addFileHost(
  9129. "filespace\.com\/\\w+",
  9130. '"method_free',
  9131. '<div style="text-align:left;"><ul>|>File not found.<',
  9132. 'optional1--',
  9133. 'optional2--',
  9134. "//a[contains(@href,'filespace.com')]");
  9135. }
  9136. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9137. {
  9138. addFileHost(
  9139. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9140. 'name="downloadFile|id="downloadFile|value="Wait',
  9141. '<title>File not found</title>|>Error:<',
  9142. 'optional1--',
  9143. 'optional2--',
  9144. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9145. }
  9146. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9147. {
  9148. addFileHost(
  9149. "ncrypt\.in\/\\w+",
  9150. 'Sicherheitsabfrage:|Securitycheck:',
  9151. 'does not exist|existiert nicht',
  9152. 'optional1--',
  9153. 'optional2--',
  9154. "//a[contains(@href,'ncrypt.in')]");
  9155. }
  9156. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9157. {
  9158. addFileHost(
  9159. "jeodrive\.com\/\\w+",
  9160. 'btn-lg regular',
  9161. 'Not found',
  9162. 'optional1--',
  9163. 'optional2--',
  9164. "//a[contains(@href,'jeodrive.com')]");
  9165. }
  9166. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9167. {
  9168. addFileHost(
  9169. "myfiles\.onl\/\\w+",
  9170. 'value="Free"',
  9171. '<div style="width:500px;text-align:left;">',
  9172. 'optional1--',
  9173. 'optional2--',
  9174. "//a[contains(@href,'myfiles.onl')]");
  9175. }
  9176. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9177. {
  9178. addFileHost(
  9179. "uploadserv\.com\/\\w+",
  9180. 'color="red">http://uploadserv.com/',
  9181. 'content="Download File ">|<title>Download </title>',
  9182. 'optional1--',
  9183. 'optional2--',
  9184. "//a[contains(@href,'uploadserv.com')]");
  9185. }
  9186. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9187. {
  9188. addFileHost(
  9189. "keepshare\.net\/\\w+",
  9190. 'method_free',
  9191. '<div style="width:500px;text-align:left;">',
  9192. 'optional1--',
  9193. 'optional2--',
  9194. "//a[contains(@href,'keepshare.net')]");
  9195. }
  9196. if (GM_getValue("Check_oload_dot_net_links", false))
  9197. {
  9198. addFileHost(
  9199. "oload\.net\/\\w+",
  9200. '<font color="red">http://oload.net',
  9201. 'class="page-ttl">',
  9202. 'optional1--',
  9203. 'optional2--',
  9204. "//a[contains(@href,'oload.net')]");
  9205. }
  9206. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9207. {
  9208. addFileHost(
  9209. "filescdn\.com\/\\w+",
  9210. 'btn_download',
  9211. 'icon-warning text-danger|no longer available',
  9212. 'optional1--',
  9213. 'optional2--',
  9214. "//a[contains(@href,'filescdn.com')]");
  9215. }
  9216. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9217. {
  9218. addFileHost(
  9219. "bankupload\.com\/\\w+",
  9220. 'id="btn_download"|1.0 GB',
  9221. '<div style="width:500px;text-align:left;">',
  9222. 'optional1--',
  9223. ' GB',
  9224. "//a[contains(@href,'bankupload.com')]");
  9225. }
  9226. if (GM_getValue("Check_katfile_dot_com_links", false))
  9227. {
  9228. addFileHost(
  9229. "katfile\.com\/\\w+",
  9230. 'KB| MB|1.0 GB|id="method_free',
  9231. 'images/file_not_found.png"',
  9232. 'optional1--',
  9233. ' GB',
  9234. "//a[contains(@href,'katfile.com')]");
  9235. }
  9236. if (GM_getValue("Check_filesin_dot_space_links", false))
  9237. {
  9238. addFileHost(
  9239. "filesin\.space\/\\w+",
  9240. 'id="btn_download"',
  9241. 'class="err">',
  9242. 'optional1--',
  9243. 'optional2',
  9244. "//a[contains(@href,'filesin.space')]");
  9245. }
  9246. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9247. {
  9248. addFileHost(
  9249. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9250. 'download.php',
  9251. 'notfound|upload\\-suborov\\.php"',
  9252. 'optional--',
  9253. 'optional2--',
  9254. "//a[contains(@href,'upnito.sk')]"
  9255. );
  9256. }
  9257. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9258. {
  9259. addFileHost(
  9260. "alltu\.eu\/\\w+",
  9261. 'download-timer',
  9262. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9263. 'optional1--',
  9264. 'optional2',
  9265. "//a[contains(@href,'alltu.eu')]");
  9266. }
  9267. if (GM_getValue("Check_novafile_dot_com_links", false))
  9268. {
  9269. addFileHost(
  9270. "novafile\.com\/\\w+",
  9271. 'id="regular-download',
  9272. 'id="file-not-found',
  9273. 'optional1--',
  9274. 'id="premium-only',
  9275. "//a[contains(@href,'novafile.com')]");
  9276. }
  9277. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9278. {
  9279. addFileHost(
  9280. "uploadgig\.com",
  9281. 'id="countdownContainer',
  9282. 'File not found',
  9283. 'optional1--',
  9284. 'optional2',
  9285. "//a[contains(@href,'uploadgig.com')]");
  9286. }
  9287. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9288. {
  9289. addFileHost(
  9290. "mexashare\.com\/\\w+",
  9291. 'method_free',
  9292. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9293. 'optional1--',
  9294. 'optional2',
  9295. "//a[contains(@href,'mexashare.com')]");
  9296. }
  9297. if (GM_getValue("Check_daofile_dot_com_links", false))
  9298. {
  9299. addFileHost(
  9300. "daofile\.com\/\\w+",
  9301. 'class="captcha_code',
  9302. 'style="width:500px;text-align:left;">',
  9303. 'optional1--',
  9304. 'optional2',
  9305. "//a[contains(@href,'daofile.com')]");
  9306. }
  9307. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9308. {
  9309. addFileHost(
  9310. "imagenetz\.de\/\\w+",
  9311. 'id="download',
  9312. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9313. 'optional1--',
  9314. 'optional2',
  9315. "//a[contains(@href,'imagenetz.de')]");
  9316. }
  9317. if (GM_getValue("Check_uloz_dot_to_links", false))
  9318. {
  9319. addFileHost(
  9320. "uloz\.to",
  9321. 'limitedDownloadButton|Stáhnout pomalu',
  9322. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9323. 'optional1--',
  9324. 'optional2',
  9325. "//a[contains(@href,'uloz.to')]");
  9326. }
  9327. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9328. {
  9329. addFileHost(
  9330. "ulozto.net",
  9331. 'limitedDownloadButton|Stáhnout pomalu',
  9332. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9333. 'optional1--',
  9334. 'optional2',
  9335. "//a[contains(@href,'ulozto.net')]");
  9336. }
  9337. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9338. {
  9339. addFileHost(
  9340. "ulozto\.sk",
  9341. 'limitedDownloadButton|Stáhnout pomalu',
  9342. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9343. 'optional1--',
  9344. 'optional2',
  9345. "//a[contains(@href,'ulozto.sk')]");
  9346. }
  9347. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9348. {
  9349. addFileHost(
  9350. "ulozto\.cz",
  9351. 'limitedDownloadButton|Stáhnout pomalu',
  9352. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9353. 'optional1--',
  9354. 'optional2',
  9355. "//a[contains(@href,'ulozto.cz')]");
  9356. }
  9357. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9358. {
  9359. addFileHost(
  9360. "subyshare\.com\/\\w+",
  9361. 'id="method_free',
  9362. 'file was removed|class="err">|1s">404',
  9363. 'optional1--',
  9364. 'optional2',
  9365. "//a[contains(@href,'subyshare.com')]",
  9366. true);
  9367. }
  9368. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9369. {
  9370. addFileHost(
  9371. "fileshareup\.com\/\\w+",
  9372. 'download-timer|btn-free-element|content="Download file',
  9373. 'content="Error"|content="error|heading-1">Error<',
  9374. 'optional1--',
  9375. 'optional2',
  9376. "//a[contains(@href,'fileshareup.com')]");
  9377. }
  9378. if (GM_getValue("Check_mystore_dot_to_links", false))
  9379. {
  9380. addFileHost(
  9381. "mystore\.to\/\\w+",
  9382. 'Download File',
  9383. 'file not found',
  9384. 'optional1--',
  9385. 'optional2',
  9386. "//a[contains(@href,'mystore.to/dl')]");
  9387. }
  9388. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9389. {
  9390. addFileHost(
  9391. "usercloud\.net\/\\w+",
  9392. 'content="download|var seconds = 60|type="password',
  9393. 'content="error|report_file.html">',
  9394. 'optional1--',
  9395. 'optional2',
  9396. "//a[contains(@href,'usercloud.net')]");
  9397. }
  9398. if (GM_getValue("Check_workupload_dot_com_links", false))
  9399. {
  9400. addFileHost(
  9401. "workupload\.com\/\\w+",
  9402. 'content="Download|id="download"',
  9403. 'File not found|img/not-found.jpg|Error message',
  9404. 'optional1--',
  9405. 'optional2',
  9406. "//a[contains(@href,'workupload.com')]");
  9407. }
  9408. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9409. {
  9410. addFileHost(
  9411. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9412. 'class="download">',
  9413. 'class="error center',
  9414. 'optional1--',
  9415. 'optional2',
  9416. "//a[contains(@href,'storageserver.co.uk')]");
  9417. }
  9418. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9419. {
  9420. addFileHost(
  9421. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9422. '"kind": "file"',
  9423. '"error": "not_exists"',
  9424. 'optional1--',
  9425. 'optional2',
  9426. "//a[contains(@href,'cloud.mail.ru')]");
  9427. }
  9428. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9429. {
  9430. addFileHost(
  9431. "bdupload\.info\/\\w+",
  9432. 'class="downloadbtn">|id="downloadbtn"',
  9433. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9434. 'optional1--',
  9435. 'optional2',
  9436. "//a[contains(@href,'bdupload.info')]");
  9437. }
  9438. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9439. {
  9440. addFileHost(
  9441. "wayupload\.com\/\\w+",
  9442. 'class="nopay-btn gray"',
  9443. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9444. 'optional1--',
  9445. 'optional2',
  9446. "//a[contains(@href,'wayupload.com')]");
  9447. }
  9448. if (GM_getValue("Check_exbit_dot_net_links", false))
  9449. {
  9450. addFileHost(
  9451. "exbit\.net\/\\w+",
  9452. 'class="nopay-btn|href="/download/free/',
  9453. 'File not found',
  9454. 'optional1--',
  9455. 'optional2',
  9456. "//a[contains(@href,'exbit.net')]");
  9457. }
  9458. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9459. {
  9460. addFileHost(
  9461. "uploadocean\.com\/\\w+",
  9462. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9463. 'deleted.png"',
  9464. 'optional1--',
  9465. 'optional2',
  9466. "//a[contains(@href,'uploadocean.com')]");
  9467. }
  9468. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9469. {
  9470. addFileHost(
  9471. "fileflares\.com\/\\w+",
  9472. 'id="downloadbtn"',
  9473. '<div style="width:500px;text-align:left;">',
  9474. 'optional1--',
  9475. 'optional2',
  9476. "//a[contains(@href,'fileflares.com')]");
  9477. }
  9478. if (GM_getValue("Check_erafile_dot_com_links", false))
  9479. {
  9480. addFileHost(
  9481. "erafile\.com\/\\w+",
  9482. 'id="method_free',
  9483. '<div style="width:500px;text-align:left;">',
  9484. 'optional1--',
  9485. 'optional2',
  9486. "//a[contains(@href,'erafile.com')]");
  9487. }
  9488. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9489. {
  9490. addFileHost(
  9491. "suprafiles\.net\/\\w+",
  9492. 'name="method_free"',
  9493. 'File Not Found|style="width:1000px; text-align: left;">',
  9494. 'optional1--',
  9495. 'optional2',
  9496. "//a[contains(@href,'suprafiles.net')]");
  9497. }
  9498. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9499. {
  9500. addFileHost(
  9501. "upfiles\.net\/\\w+",
  9502. 'id="recaptcha2"|snail.png"',
  9503. 'Ten plik został usunięty.|style="margin-top:50px',
  9504. 'optional1--',
  9505. 'optional2',
  9506. "//a[contains(@href,'upfiles.net/f/')]");
  9507. }
  9508. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9509. {
  9510. addFileHost(
  9511. "dailyfiles\.net\/\\w+",
  9512. 'onclick="dwn',
  9513. '<title>Error',
  9514. 'optional1--',
  9515. 'optional2',
  9516. "//a[contains(@href,'dailyfiles.net')]");
  9517. }
  9518. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9519. {
  9520. addFileHost(
  9521. "littlebyte\.net\/\\w+",
  9522. '>Free download<|>Скачать медленно<',
  9523. 'images/dmca.png">',
  9524. 'optional1--',
  9525. 'optional2',
  9526. "//a[contains(@href,'littlebyte.net')]");
  9527. }
  9528. /* if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9529. {
  9530. addFileHost(
  9531. "black\\-label\\.pro\/\\w+",
  9532. 'slow_download_button.png"|td><td title="',
  9533. 'STILL NEED CODE FOR DEAD LINKS',
  9534. 'optional1--',
  9535. 'optional2',
  9536. "//a[contains(@href,'black-label.pro')]");
  9537. } */
  9538. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9539. {
  9540. addFileHost(
  9541. "temp\\-share\\.com\/\\w+",
  9542. 'publickey',
  9543. 'STILL NEED CODE FOR DEAD LINKS',
  9544. 'optional1--',
  9545. 'optional2',
  9546. "//a[contains(@href,'temp-share.com')]");
  9547. }
  9548. if (GM_getValue("Check_filesha_dot_com_links", false))
  9549. {
  9550. addFileHost(
  9551. "filesha\.com\/\\w+",
  9552. '>Download Free<',
  9553. 'STILL NEED CODE FOR DEAD LINKS',
  9554. 'optional1--',
  9555. 'optional2',
  9556. "//a[contains(@href,'filesha.com')]");
  9557. }
  9558. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9559. {
  9560. addFileHost(
  9561. "ausfile\.com\/\\w+",
  9562. 'class="slow-download',
  9563. 'File Not Found',
  9564. 'optional1--',
  9565. 'optional2',
  9566. "//a[contains(@href,'ausfile.com')]");
  9567. }
  9568. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9569. {
  9570. addFileHost(
  9571. "upfile\.mobi\/\\w+",
  9572. 'class="download_button"',
  9573. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9574. 'optional1--',
  9575. 'optional2',
  9576. "//a[contains(@href,'upfile.mobi')]");
  9577. }
  9578. if (GM_getValue("Check_share_dot_az_links", false))
  9579. {
  9580. addFileHost(
  9581. "share\.az\/\\w+",
  9582. 'id="btn_download"',
  9583. 'File Not Found|We are sorry',
  9584. 'optional1--',
  9585. 'optional2',
  9586. "//a[contains(@href,'share.az')]");
  9587. }
  9588. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  9589. {
  9590. addFileHost(
  9591. "partage-facile\.com",
  9592. 'class="title"><strong>',
  9593. 'content="Partage-Facile|Page introuvable|class="alert-message|vos fichiers maintenant|class="btn fileinput-button">',
  9594. 'optional--',
  9595. 'optional2--',
  9596. "//a[contains(@href,'partage-facile.com')]");
  9597. }
  9598. if (GM_getValue("Check_uploadify_dot_net_links", false))
  9599. {
  9600. addFileHost(
  9601. "uploadify\.net\/\\w+",
  9602. 'loading_small.gif"',
  9603. '<title>Error -',
  9604. 'optional1--',
  9605. 'optional2',
  9606. "//a[contains(@href,'uploadify.net')]");
  9607. }
  9608. if (GM_getValue("Check_uploads_dot_to_links", false))
  9609. {
  9610. addFileHost(
  9611. "uploads\.to\/\\w+",
  9612. 'class="g-recaptcha',
  9613. 'File Not Found',
  9614. 'optional1--',
  9615. 'optional2',
  9616. "//a[contains(@href,'uploads.to')]");
  9617. }
  9618. if (GM_getValue("Check_crazyshare_dot_cc_links", false))
  9619. {
  9620. addFileHost(
  9621. "crazyshare\.cc\/\\w+",
  9622. 'slow_download_button.png',
  9623. 'File Not Found',
  9624. 'optional1--',
  9625. 'optional2',
  9626. "//a[contains(@href,'crazyshare.cc')]");
  9627. }
  9628. if (GM_getValue("Check_fileshark_dot_pl_links", false))
  9629. {
  9630. addFileHost(
  9631. "fileshark\.pl\/\\w+",
  9632. 'Nazwa pliku / File name',
  9633. 'Nie znaleziono pliku w serwisie.',
  9634. 'Strona jest dostępna wyłącznie dla użytkowników znajdujących się na terenie wybranych Państw.',
  9635. 'optional2',
  9636. "//a[contains(@href,'fileshark.pl')]");
  9637. }
  9638. if (GM_getValue("Check_pobierz_dot_to_links", false))
  9639. {
  9640. addFileHost(
  9641. "pobierz\.to\/\\w+",
  9642. 'class="download-timer',
  9643. 'Plik został usunięty.',
  9644. 'optional1--',
  9645. 'optional2',
  9646. "//a[contains(@href,'pobierz.to')]");
  9647. }
  9648. if (GM_getValue("Check_kingfile_dot_pl_links", false))
  9649. {
  9650. addFileHost(
  9651. "kingfile\.pl\/\\w+",
  9652. 'id="downloadBox',
  9653. 'Error 404 - File Not Found|Szukany plik nie jest już dostępny|Przykro nam – ale plik który chcesz pobrac zmienil|Przykro nam - ale plik który cholsz pobrać zmienił swój adres lub został usunięty',
  9654. 'optional1--',
  9655. 'optional2',
  9656. "//a[contains(@href,'kingfile.pl')]");
  9657. }
  9658.  
  9659. }
  9660. //start here
  9661.  
  9662. //hosts with direct download, so they must be requested for headers only
  9663. function initFileHostsHeadersOnly()
  9664. {
  9665. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9666. {
  9667. var host = new Array(5);
  9668. host[0] = linkRegex;
  9669. host[1] = isAliveRegex;
  9670. host[2] = isDeadRegex;
  9671. host[4] = ispremRegex;
  9672. host[3] = xpathEx;
  9673. http_file_hosts_headers_only.push(host);
  9674. }
  9675. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9676. {
  9677. addFileHostHeadersOnly(
  9678. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9679. 'Connection: Keep-Alive',
  9680. 'Content-Length: 3857',
  9681. 'optional2',
  9682. "//a[contains(@href,'uloziste.com')]"
  9683. )
  9684. }
  9685. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9686. {
  9687. addFileHostHeadersOnly(
  9688. "filescdn\.com\/\\w+",
  9689. 'Connection: keep-alive',
  9690. 'Company</Title>',
  9691. 'optional2',
  9692. "//a[contains(@href,'filescdn.com')]"
  9693. )
  9694. } */
  9695. if (GM_getValue("Check_adrive_dot_com_links", false))
  9696. {
  9697. addFileHostHeadersOnly(
  9698. "adrive\\.com\/public\/\\w+",
  9699. 'Connection: keep-alive',
  9700. 'orig_ref=deleted',
  9701. 'optional2',
  9702. "//a[contains(@href,'adrive.com')]"
  9703. )
  9704. }
  9705. }
  9706.  
  9707. //CustomRules
  9708. //functions add...Host copied here
  9709. function addObsoleteHost(linkRegex, xpathEx)
  9710. {
  9711. var host = new Array(2);
  9712. host[0] = linkRegex;
  9713. host[1] = xpathEx;
  9714. http_file_hosts_obsolete.push(host);
  9715. }
  9716. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9717. {
  9718. var host = new Array(7);
  9719. host[0] = linkRegex;
  9720. host[1] = isAliveRegex;
  9721. host[2] = isDeadRegex;
  9722. host[3] = isUnavaRegex;
  9723. host[4] = xpathEx;
  9724. tryLoop ? host[5] = true : host[5] = false;
  9725. host[6] = ispremRegex;
  9726. http_file_hosts.push(host);
  9727. }
  9728. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9729. {
  9730. var host = new Array(5);
  9731. host[0] = linkRegex;
  9732. host[1] = isAliveRegex;
  9733. host[2] = isDeadRegex;
  9734. host[3] = xpathEx;
  9735. host[4] = ispremRegex;
  9736. http_file_hosts_headers_only.push(host);
  9737. }
  9738. //takes a fully built rules array and adds the rules to WARLC
  9739. function applyCustomRules(customRules)
  9740. {
  9741. if (!customRules) return;
  9742. var rules, r, i;
  9743. rules = customRules.rules;
  9744. for (i = 0 ; i < rules.length ; i++)
  9745. {
  9746. r = rules[i];
  9747. if (r.enabled)
  9748. {
  9749. switch (r.type)
  9750. {
  9751. case 'single':
  9752. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9753. break;
  9754. case 'headers':
  9755. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9756. break;
  9757. case 'obsolete':
  9758. addObsoleteHost(r.urlregex, r.xpath)
  9759. break;
  9760. }
  9761. }
  9762. }
  9763. }
  9764.  
  9765.  
  9766. function initFileHostsCustom()
  9767. {
  9768. if (Custom_rules && Custom_rules_text)
  9769. {
  9770. var msg = '';
  9771. if (newVersion)
  9772. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9773. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9774. msg = '60 or more days have passed since this notification.\n\n';
  9775. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9776. {
  9777. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9778. msg +=
  9779. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9780. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9781. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9782. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9783. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9784. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9785. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9786. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9787. setTimeout(function(){alert(msg)},0);
  9788. }
  9789. var customRules = parseCustomRules(Custom_rules_text);
  9790. if (customRules.warning || customRules.error)
  9791. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9792. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9793. JSON.stringify(customRules.info, null, ' '));
  9794. applyCustomRules(customRules);
  9795. }
  9796. }
  9797. //end of CustomRules processing
  9798.  
  9799.  
  9800.  
  9801. } //end of function start
  9802.  
  9803.  
  9804.  
  9805. function initClipBoardTools()
  9806. {
  9807. unsafeWindow.copyToClipboard = function(text)
  9808. {
  9809. try
  9810. {
  9811. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9812.  
  9813. var str = Components.classes["@mozilla.org/supports-string;1"].
  9814. createInstance(Components.interfaces.nsISupportsString);
  9815. if (!str) return false;
  9816.  
  9817. str.data = text;
  9818.  
  9819. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9820. createInstance(Components.interfaces.nsITransferable);
  9821. if (!trans) return false;
  9822.  
  9823. trans.addDataFlavor("text/unicode");
  9824. trans.setTransferData("text/unicode", str, text.length * 2);
  9825.  
  9826. var clipid = Components.interfaces.nsIClipboard;
  9827. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9828. if (!clip) return false;
  9829.  
  9830. clip.setData(trans, null, clipid.kGlobalClipboard);
  9831. } catch (e) {
  9832. GM_log("Error copyToClipboard : " + e);
  9833. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9834. }
  9835. }
  9836. }
  9837.  
  9838.  
  9839.  
  9840. //CustomRules
  9841.  
  9842. function escapeRegex(str)
  9843. {
  9844. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9845. }
  9846.  
  9847.  
  9848. //called internally from parseCustomRules.
  9849. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9850. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9851. function makeCustomRule(rule)
  9852. {
  9853. function makeMatchRegex(arrmatch)
  9854. {
  9855. return escapeRegex(arrmatch.join('\n'))
  9856. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9857. .replace(/\n/g,'|'); //join together
  9858. }
  9859. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9860. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9861. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9862. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9863. if (rule.baseurl)
  9864. {
  9865. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9866. for (i = 0 ; i < len ; i++)
  9867. {
  9868. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9869. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9870. {
  9871. 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'])
  9872. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9873. }
  9874. else //baseurl in the form: example.com/xxx
  9875. {
  9876. xpath.push(m[0]);
  9877. urlregex.push(escapeRegex(m[0]) + '.');
  9878. }
  9879. }
  9880. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9881. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9882. }
  9883. return rule;
  9884. } //function makeCustomRule
  9885.  
  9886.  
  9887. /*
  9888. Takes a string containing custom link checking rules.
  9889. Returns an object with fields:
  9890. info - contains notes, warnings and errors found during parsing
  9891. rules - the array of custom rules
  9892. note, warning, error - number of each of them found during parsing
  9893. Format of the input string:
  9894. One command per line. Command format: @keyword parameter
  9895. Keywords:
  9896. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9897. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9898. These keywords can be multiple (any of them will work):
  9899. @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...)
  9900. @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+
  9901. @alivelink, @deadlink - example links
  9902. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9903. Lines starting with // and empty lines are ignored.
  9904. Invalid parameters generate errors and those lines are skipped.
  9905. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9906. Example:
  9907. @customrule filehost
  9908. @baseurl filehost.com/download/
  9909. @baseurl filehost2. com net /d?=
  9910. @alivematch id="download">
  9911. @deadmatch File not found
  9912. @deadmatch File deleted
  9913. */
  9914. function parseCustomRules(rulesStr)
  9915. {
  9916. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9917. function addInfo(type, msg, ln){
  9918. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9919. customRules[type]++;
  9920. }
  9921. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9922. if (!lines) return null;
  9923. lines.push('@#customrule _'); //to save the last rule
  9924. var m, linecount = lines.length;
  9925. var keyword, param, constr, rule, err;
  9926. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9927. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9928. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9929. var constraints = {
  9930. 'baseurl': {
  9931. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9932. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9933. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9934. 'alivematch': {
  9935. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9936. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9937. 'deadmatch': {
  9938. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9939. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9940. 'unavamatch': {
  9941. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9942. 'alivelink': {
  9943. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9944. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9945. 'deadlink': {
  9946. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9947. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9948. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9949. };
  9950. for (linenum = 0 ; linenum < linecount ; linenum++)
  9951. {
  9952. //capturing groups: 1 23 4 5 6
  9953. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9954. if (m)
  9955. {
  9956. if (m[1] || !m[2])
  9957. continue; // ignore empty lines and lines starting with //
  9958. keyword = (m[4] || m[2]).toLowerCase();
  9959. param = m[6];
  9960. if (keyword == 'customrule')
  9961. {
  9962. //save the current rule if all required fields are provided
  9963. if (rule)
  9964. {
  9965. err = false;
  9966. $.each(constraints, function(kw, constraint){
  9967. var l, constr = constraint[rule.type];
  9968. if (constr)
  9969. {
  9970. l = rule[kw] ? rule[kw].length : 0;
  9971. if (l < constr.min || l > constr.max)
  9972. {
  9973. 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);
  9974. err = true;
  9975. }
  9976. }
  9977. });
  9978. if (!err)
  9979. customRules.rules.push(makeCustomRule(rule));
  9980. }
  9981. //start a new rule
  9982. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9983. {
  9984. rule = {
  9985. 'enabled': !m[3],
  9986. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9987. 'name': param
  9988. };
  9989. }
  9990. else
  9991. {
  9992. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9993. rule = null;
  9994. }
  9995. }
  9996. else //good line format, but keyword other than customrule
  9997. {
  9998. if (!rule)
  9999. {
  10000. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  10001. continue;
  10002. }
  10003. if (constraints[keyword])
  10004. {
  10005. constr = constraints[keyword][rule.type];
  10006. if (constr)
  10007. {
  10008. if (constr.paramRE && !constr.paramRE.test(param))
  10009. {
  10010. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  10011. continue;
  10012. }
  10013. }
  10014. else
  10015. {
  10016. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  10017. continue;
  10018. }
  10019. }
  10020. //line OK, save
  10021. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  10022. }
  10023. } //if (m)
  10024. else
  10025. addInfo('warning', 'Unknown line format. Line skipped.');
  10026. } //for loop
  10027. return customRules;
  10028. } //function parseCustomRules
  10029.  
  10030.  
  10031. /* ********************UPDATES********************
  10032.  
  10033. May 04, 2017
  10034. Version 1.3.8.6
  10035. fixed rapidgator
  10036.  
  10037. April 30, 2017
  10038. Version 1.3.8.5
  10039. fixed rapidgator
  10040.  
  10041. April 30, 2017
  10042. Version 1.3.8.4
  10043. added code for kingfile.pl
  10044.  
  10045. April 30, 2017
  10046. Version 1.3.8.3
  10047. changed code for kingfile.pl
  10048.  
  10049. April 29, 2017
  10050. Version 1.3.8.2
  10051. added code to kingfile.pl
  10052.  
  10053. April 29, 2017
  10054. Version 1.3.8.1
  10055. added code to kingfile.pl
  10056.  
  10057. April 28, 2017
  10058. Version 1.3.8.0
  10059. fileshark.pl
  10060. kingfile.pl
  10061. pobierz.to
  10062.  
  10063. April 26, 2017
  10064. Version 1.3.7.9
  10065. fixed 1f.al
  10066.  
  10067. April 16, 2017
  10068. Version 1.3.7.8
  10069. added crazyshare.cc
  10070.  
  10071. April 16, 2017
  10072. Version 1.3.7.7
  10073. fixed uploadgig.com
  10074.  
  10075. April 13, 2017
  10076. Version 1.3.7.6
  10077. added neodrive.co to obsolete hosts
  10078.  
  10079. April 07, 2017
  10080. Version 1.3.7.5
  10081. added french code for rg premium links
  10082.  
  10083. April 05, 2017
  10084. Version 1.3.7.4
  10085. added oload.tv
  10086.  
  10087. March 30, 2017
  10088. Version 1.3.7.3
  10089. added uploads.to
  10090.  
  10091. March 20, 2017
  10092. Version 1.3.7.2
  10093. added black-label.pro to obsolete hosts
  10094.  
  10095. March 13, 2017
  10096. Version 1.3.7.1
  10097. fixed filescdn.com
  10098.  
  10099. February 27, 2017
  10100. Version 1.3.7.0
  10101. fixed openload.co
  10102.  
  10103. February 26, 2017
  10104. Version 1.3.6.9
  10105. fixed drive.google.com
  10106. fixed uptobox.com (by dodoxp)
  10107.  
  10108. February 25, 2017
  10109. Version 1.3.6.8
  10110. added uploading.com to obsolete hosts
  10111.  
  10112. February 24, 2017
  10113. Version 1.3.6.7
  10114. cloudzilla.to added to obsolete hosts
  10115.  
  10116. February 23, 2017
  10117. Version 1.3.6.6
  10118. uploadify.net
  10119.  
  10120. February 22, 2017
  10121. Version 1.3.6.5
  10122. fixed katfile.com
  10123.  
  10124. February 12, 2017
  10125. Version 1.3.6.3
  10126. added junocloud.me to obsolete hosts
  10127.  
  10128. January 12, 2017
  10129. Version 1.3.6.2
  10130. added share.az & upfile.mobi
  10131.  
  10132. January 07, 2017
  10133. Version 1.3.6.1
  10134. added ausfile.com
  10135.  
  10136. January 05, 2017
  10137. Version 1.3.6.0
  10138. removed uploadable.ch from obsolete hosts
  10139.  
  10140. January 04, 2017e
  10141.  
  10142. December 31, 2016
  10143. Version 1.3.5.8
  10144. disabled on pizzaonline.dominos
  10145.  
  10146. December 31, 2016
  10147. Version 1.3.5.7
  10148. added uploadable.ch to obsolete hosts
  10149.  
  10150. December 30, 2016
  10151. Version 1.3.5.6
  10152. restored kingfiles.net
  10153.  
  10154. December 14, 2016
  10155. Version 1.3.5.5
  10156. fixed some 1fichier links not checking (yurii)
  10157.  
  10158. December 01, 2016
  10159. Version 1.3.5.4
  10160. added temp-share.com & filesha.com
  10161.  
  10162. November 30, 2016
  10163. Version 1.3.5.3
  10164. fixed mexashare.com not detecting some dead links
  10165.  
  10166. November 29, 2016
  10167. Version 1.3.5.2
  10168. added black-label.pro (live links only)
  10169.  
  10170. November 27, 2016
  10171. Version 1.3.5.1
  10172. made changes to filefactory
  10173.  
  10174. November 23, 2016
  10175. Version 1.3.5.0
  10176. added megashares.com to obsolete hosts
  10177. fixed letitbit not showing as obsolete
  10178. added littlebyte.net
  10179.  
  10180. November 22, 2016
  10181. Version 1.3.4.9
  10182. added code for live links to rapidgator
  10183. added dailyfiles.net
  10184. added upfiles.net
  10185. added multiup.eu
  10186.  
  10187. November 17, 2016
  10188. Version 1.3.4.8
  10189. fixed filefactory, again
  10190.  
  10191. November 17, 2016
  10192. Version 1.3.4.7
  10193. fixed filefactory folders
  10194.  
  10195. November 15, 2016
  10196. Version 1.3.4.6
  10197. fixed filefactory
  10198.  
  10199. November 14, 2016
  10200. Version 1.3.4.5
  10201. fixed rapidgator
  10202. fixed filefactory folders
  10203.  
  10204.  
  10205. November 13, 2016
  10206. Version 1.3.4.4
  10207. fixed problem with drive.google.com
  10208. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10209.  
  10210. November 06, 2016
  10211. Version 1.3.4.3
  10212. added to obsolete hosts (by love buzz)
  10213. 4up.me
  10214. a nonfiles.com
  10215. axifile.com
  10216. creafile.net
  10217. demo.ovh.eu
  10218. filesin.com
  10219. file swap.com
  10220. gulfup.com
  10221. hexupload.com
  10222. hugefiles.net
  10223. jumbofiles.com
  10224. kingfiles.net
  10225. letitbit.net
  10226. lolabits.es
  10227. nowdownload.ch
  10228. openfile.ru
  10229. radicalshare.com
  10230. remixshare.com
  10231. storefiles.co
  10232. toutbox.fr
  10233. uploadbaz.com
  10234. uploadingit.com
  10235. verzend.be
  10236. vidplay.net
  10237. vidxden.com
  10238. xfileload.com
  10239.  
  10240. November 04, 2016
  10241. Version 1.3.4.2
  10242. added french code for rapidgator premium links
  10243. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10244.  
  10245. November 03, 2016
  10246. Version 1.3.4.1
  10247. added Portuguese code for rapidgator premium links
  10248. added suprafiles.net
  10249.  
  10250. November 02, 2016
  10251. Version 1.3.4.0
  10252. fixed depositfiles not detecting depositfiles.com/de links
  10253.  
  10254. October 27, 2016
  10255. Version 1.3.3.9
  10256. fixed uploaded.net not detecting some dead links
  10257.  
  10258. October 24, 2016
  10259. Version 1.3.3.8
  10260. added more french code for upload.af dead links
  10261.  
  10262. October 23, 2016
  10263. Version 1.3.3.7
  10264. added french for upload.af dead links
  10265.  
  10266. October 17, 2016
  10267. Version 1.3.3.6
  10268. fixed error (by Yurii)
  10269.  
  10270. October 17, 2016
  10271. Version 1.3.3.5
  10272. fixed file.al (by Yurii)
  10273.  
  10274. October 16, 2016
  10275. Version 1.3.3.4
  10276. test
  10277.  
  10278. October 11, 2016
  10279. Version 1.3.3.3
  10280. fixed subyshare.com not detecting some dead links
  10281. fixed mexashare.com
  10282. fixed pornfile.cz
  10283.  
  10284. October 10, 2016
  10285. Version 1.3.3.2
  10286. added fileflares.com
  10287. added erafile.com
  10288. added loop to subyshare.com & rockfile.eu
  10289.  
  10290. September 26, 2016
  10291. Version 1.3.3.1
  10292. added uploadocean.com
  10293.  
  10294. September 25, 2016
  10295. Version 1.3.3.0
  10296. added exbit.net
  10297.  
  10298. September 25, 2016
  10299. Version 1.3.2.9
  10300. fixed uptobox
  10301. fixed google (by kubbbie)
  10302.  
  10303. September 23, 2016
  10304. Version 1.3.2.8
  10305. added danish to rapidgator
  10306.  
  10307. September 22, 2016
  10308. Version 1.3.2.7
  10309. added wayupload.com
  10310.  
  10311. September 18, 2016
  10312. Version 1.3.2.6
  10313. added Portuguese language to rapidgator
  10314.  
  10315. September 15, 2016
  10316. Version 1.3.2.5
  10317. added languages to rapidgator
  10318. french
  10319. german
  10320. spanish
  10321. Italian
  10322. russian
  10323. polish
  10324. dutch
  10325. czech
  10326. chinese
  10327. japanese
  10328.  
  10329. September 14, 2016
  10330. Version 1.3.2.4
  10331. fixed spaceforfiles.com
  10332.  
  10333. September 09, 2016
  10334. Version 1.3.2.3
  10335. added bdupload.info
  10336. added german & deutsch language to workupload.com
  10337.  
  10338. September 08, 2016
  10339. Version 1.3.2.2
  10340. added...
  10341. storageserver.co.uk
  10342. cloud.mail.ru
  10343. fixed depositfiles
  10344.  
  10345. September 08, 2016
  10346. Version 1.3.2.1
  10347. added workupload.com
  10348.  
  10349. September 04, 2016
  10350. Version 1.3.2.0
  10351. made changes to euroshare.eu
  10352.  
  10353. September 03, 2016
  10354. Version 1.3.1.9
  10355. added usercloud.net
  10356. made changes to euroshare.eu
  10357.  
  10358. August 31, 2016
  10359. Version 1.3.1.8
  10360. fixed uptobox.com
  10361.  
  10362. August 30, 2016
  10363. Version 1.3.1.7
  10364. made changes to euroshare.eu
  10365.  
  10366. August 29, 2016
  10367. Version 1.3.1.6
  10368. made changes to data.hu
  10369.  
  10370. August 29, 2016
  10371. Version 1.3.1.5
  10372. fixed euroshare.eu not detecting dead links
  10373.  
  10374. August 23, 2016
  10375. Version 1.3.1.4
  10376. added ulozto.sk
  10377. added ulozto.cz
  10378.  
  10379. August 19, 2016
  10380. Version 1.3.1.3
  10381. fixed euroshare.eu
  10382. fixed 2share.com
  10383.  
  10384. August 17, 2016
  10385. Version 1.3.1.2
  10386. added french code for 1fichier
  10387.  
  10388. August 16, 2016
  10389. Version 1.3.1.1
  10390. fix for 1fichier folder links, by yurii
  10391.  
  10392. August 15, 2016
  10393. Version 1.3.1.0
  10394. another fix for 1fichier
  10395. added mystore.to
  10396.  
  10397. August 12, 2016
  10398. Version 1.3.0.9
  10399. fixed 1fichier
  10400.  
  10401. August 01, 2016
  10402. Version 1.3.0.8
  10403. fixed tezfiles.com not detecting some premium links
  10404.  
  10405. July 24, 2016
  10406. Version 1.3.0.7
  10407. added fileshareup.com
  10408.  
  10409. July 17, 2016
  10410. Version 1.3.0.6
  10411. added subyshare.com
  10412.  
  10413. july 10, 2016
  10414. Version 1.3.0.5
  10415. fixed ulozto.net
  10416.  
  10417. july 07, 2016
  10418. Version 1.3.0.4
  10419. fixed uloz.to
  10420.  
  10421. july 07, 2016
  10422. Version 1.3.0.3
  10423. added imagenetz.de
  10424.  
  10425. June 23, 2016
  10426. Version 1.3.0.2
  10427. excluded nexcess.net
  10428.  
  10429. June 20, 2016
  10430. Version 1.3.0.1
  10431. added daofile.com
  10432.  
  10433. June 16, 2016
  10434. Version 1.3.0.0
  10435. added mexashare.com
  10436.  
  10437. June 16, 2016
  10438. Version 1.2.9.9
  10439. added novafile.com
  10440. added uploadgig.com
  10441.  
  10442. June 15, 2016
  10443. Version 1.2.9.8
  10444. fixed upload.af
  10445.  
  10446. June 10, 2016
  10447. Version 1.2.9.7
  10448. added alltu.eu
  10449.  
  10450. June 09, 2016
  10451. Version 1.2.9.6
  10452. added code for french language to rapidgator.net & rg.to
  10453.  
  10454. June 04, 2016
  10455. Version 1.2.9.5
  10456. added upnito.sk
  10457.  
  10458. May 31, 2016
  10459. Version 1.2.9.4
  10460. fixed mega.co (by yurii)
  10461.  
  10462. May 31, 2016
  10463. Version 1.2.9.3
  10464. code cleanup
  10465.  
  10466. May 27, 2016
  10467. Version 1.2.9.2
  10468. added filesin.space
  10469.  
  10470. May 27, 2016
  10471. Version 1.2.9.1
  10472. added
  10473. filescdn.com
  10474. bankupload.com
  10475. katfile.com
  10476.  
  10477. May 18, 2016
  10478. Version 1.2.9.0
  10479. added warped.co to obsolete hosts
  10480.  
  10481. May 17, 2016
  10482. Version 1.2.8.9
  10483. fixed mega.nz
  10484.  
  10485. May 16, 2016
  10486. Version 1.2.8.8
  10487. added to obsolete hosts
  10488. fileband.com
  10489. filecloud.cc
  10490. filesmelt.com
  10491. goldbytez.com
  10492. hulkshare.com
  10493. idup.in
  10494. loudupload.net
  10495. muchshare.net
  10496. myupload.dk
  10497. nekaka.com
  10498. netkups.com
  10499. plunder.com
  10500. uploads.xxx
  10501. uploadspace.pl
  10502. xkeepfile.com
  10503.  
  10504. May 16, 2016
  10505. Version 1.2.8.7
  10506. added upnito.sk to obsolete hosts
  10507.  
  10508. May 15, 2016
  10509. Version 1.2.8.6
  10510. fixed uploading.site
  10511.  
  10512. May 15, 2016
  10513. Version 1.2.8.5
  10514. added oload.net
  10515.  
  10516. May 14, 2016
  10517. Version 1.2.8.4
  10518. added uploading.site
  10519.  
  10520. May 13, 2016
  10521. Version 1.2.8.3
  10522. added uploadc.ch
  10523. fixed vidspot.net
  10524.  
  10525. May 13, 2016
  10526. Version 1.2.8.2
  10527. added keepshare.net
  10528.  
  10529. May 11, 2016
  10530. Version 1.2.8.1
  10531. added uploadserv.com
  10532.  
  10533. May 09, 2016
  10534. Version 1.2.8.0
  10535. fixed upstore.net & upsto.re
  10536. added 24uploading.com to obsolete hosts
  10537.  
  10538. May 06, 2016
  10539. Version 1.2.7.9
  10540. added storagon.com to obsolete hosts
  10541. fixed worldbytez.com
  10542.  
  10543. May 02, 2016
  10544. Version 1.2.7.8
  10545. added myfiles.onl
  10546.  
  10547. april 28, 2016
  10548. Version 1.2.7.7
  10549. fixed bytewhale.com
  10550.  
  10551. april 27, 2016
  10552. Version 1.2.7.6
  10553. fixed rapidgator not detecting some premium links.
  10554.  
  10555. april 27, 2016
  10556. Version 1.2.7.5
  10557. added jeodrive.com
  10558.  
  10559. april 26, 2016
  10560. Version 1.2.7.4
  10561. added sanshare.com to obsolete hosts
  10562.  
  10563. april 26, 2016
  10564. Version 1.2.7.3
  10565. fixed vidspot.net
  10566.  
  10567. april 26, 2016
  10568. Version 1.2.7.2
  10569. added upx.nz
  10570.  
  10571. april 25, 2016
  10572. Version 1.2.7.1
  10573. added rapidfilehost.com to obsolete hosts
  10574. fixed bitster.cz
  10575.  
  10576. april 12, 2016
  10577. Version 1.2.7.0
  10578. fixed rapidgator not detecting some premium links.
  10579.  
  10580. april 11, 2016
  10581. Version 1.2.6.9
  10582. changed code for ncrypt.in
  10583.  
  10584. april 07, 2016
  10585. Version 1.2.6.8
  10586. added fileinz.com to obsolete hosts.
  10587.  
  10588. april 06, 2016
  10589. Version 1.2.6.7
  10590. added sharingmaster.com to obsolete hosts.
  10591.  
  10592. april 05, 2016
  10593. Version 1.2.6.6
  10594. added 4upfiles.com & elffiles.com to obsolete hosts
  10595.  
  10596. april 03, 2016
  10597. Version 1.2.6.5
  10598. updates to configuration page
  10599.  
  10600. March 31, 2016
  10601. Version 1.2.6.4
  10602. added code for tampermonkey 4.0 compatibility
  10603.  
  10604. March 31, 2016
  10605. Version 1.2.6.3
  10606. fixed uloz.to
  10607. fixed copy dead links to clipboard feature
  10608. added copy live links to clipboard feature.
  10609.  
  10610. March 24, 2016
  10611. Version 1.2.6.2
  10612. changed made to nitroflare. (yurri)
  10613.  
  10614. March 20, 2016
  10615. Version 1.2.6.1
  10616. fixed rapidgator
  10617. fixed dfiles
  10618. fixed dl.free.fr
  10619. fixed nitroflare.com (Fixed by Yurii)
  10620.  
  10621. March 15, 2016
  10622. Version 1.2.6.0
  10623. fixed rapidgator.net
  10624. fixed uploaded.net
  10625.  
  10626. March 13, 2016
  10627. Version 1.2.5.9
  10628. added
  10629. uploads.ws
  10630. upl.me
  10631. clicknupload.link
  10632. added fileover.net to obsolete hosts
  10633. fixed kingfiles.net
  10634.  
  10635. March 09, 2016
  10636. Version 1.2.5.8
  10637. added kingfiles.net to obsolete hosts
  10638. fixed 4upld.com/expressleech.com
  10639.  
  10640. March 08, 2016
  10641. Version 1.2.5.7
  10642. fixed solidfiles.com
  10643.  
  10644. March 01, 2016
  10645. Version 1.2.5.6
  10646. added filespace.com
  10647. fixed depositfiles (by yurii)
  10648.  
  10649. February 29, 2016
  10650. Version 1.2.5.5
  10651. made change to keep2share
  10652.  
  10653. February 28, 2016
  10654. Version 1.2.5.4
  10655. removed down4files.com from obsolete hosts.
  10656.  
  10657. February 26, 2016
  10658. Version 1.2.5.3
  10659. fixed userscloud.com
  10660.  
  10661. February 24, 2016
  10662. Version 1.2.5.2
  10663. added yandex.com
  10664. fixed datafile.com
  10665.  
  10666. February 22, 2016
  10667. Version 1.2.5.1
  10668. added bigfile.to
  10669.  
  10670. February 20, 2016
  10671. Version 1.2.5.0
  10672. added abelhas.pt
  10673.  
  10674. February 18, 2016
  10675. Version 1.2.4.9
  10676. made change to uptobox
  10677.  
  10678. February 17, 2016
  10679. Version 1.2.4.8
  10680. fixed yadi.sk
  10681.  
  10682. February 16, 2016
  10683. Version 1.2.4.7
  10684. fixed datafile.com
  10685. fixed filecad.com
  10686. added filecore.co & filestorm.to to obsolete hosts
  10687. added upload.af, filedwon.in & uplod.it
  10688.  
  10689. February 15, 2016
  10690. Version 1.2.4.6
  10691. fixed kumpulbagi.id
  10692. added sangfile.com to obsolete hosts
  10693.  
  10694. February 14, 2016
  10695. Version 1.2.4.5
  10696. fixed yandex.ru
  10697.  
  10698. February 13, 2016
  10699. Version 1.2.4.4
  10700. added lunaticfiles.com.
  10701.  
  10702. February 09, 2016
  10703. Version 1.2.4.3
  10704. added file.up09.com.
  10705.  
  10706. February 09, 2016
  10707. Version 1.2.4.2
  10708. tezfiles.com premium links now detected.
  10709.  
  10710. February 09, 2016
  10711. Version 1.2.4.1
  10712. added seenupload.com to obsolete hosts
  10713. fixed 180upload.com to show obsolete
  10714.  
  10715. February 08, 2016
  10716. Version 1.2.4.0
  10717. added tusfiles.com
  10718. added filesupload.org
  10719. added gigasize.com
  10720. added filecad.com
  10721. fixed filecloud.io
  10722. added uploadnet.co to obsolete hosts
  10723.  
  10724. February 07,2016
  10725. Vession 1.2.3.9
  10726. fixed depositfiles.com folders
  10727. fixed turbobit.net folders
  10728.  
  10729. February 06, 2016
  10730. Version 1.2.3.8
  10731. fixed 1fichier false dead links
  10732.  
  10733. February 04, 2106
  10734. Version 1.2.3.7
  10735. added geupload and lenfile to obsolete hosts
  10736. fixed kyc.pm/depfile
  10737.  
  10738. February 03, 2016
  10739. Version 1.2.3.6
  10740. fixed some nitroflare.com dead links not being detected
  10741.  
  10742. February 01, 2016
  10743. Version 1.2.3.5
  10744. script moved to new site
  10745.  
  10746. January 20, 2016
  10747. Version 1.2.3.3
  10748. fixed some rapidgator premium link not being detected
  10749.  
  10750. January 17, 2016
  10751. Version 1.2.3.2
  10752. added bytewhale.com
  10753. added rapidrar.com
  10754.  
  10755. Version 1.2.3.1
  10756. added 180upload.com to obsolete hosts
  10757. fixed hellspy.com
  10758. added dinoshare.cz,
  10759.  
  10760. January 13, 2016
  10761. Version 1.2.3.0
  10762. added rapidu.net
  10763. added uploadboy.me
  10764. fixed euroshare.eu
  10765.  
  10766. January 12, 2016
  10767. Version 1.2.2.9
  10768. added kb.simple-aja.info
  10769.  
  10770. January 10, 2016
  10771. Version 1.2.2.8
  10772. made changes to fastshare.cz
  10773.  
  10774. January 10, 2016
  10775. Version 1.2.2.7
  10776. fixed uptobox.com
  10777.  
  10778. January 09, 2016
  10779. Version 1.2.2.6
  10780. datoteke.com now detects premium links
  10781. fixed turbobit.net
  10782. fixed uptobox.com
  10783. added pornfile.cz
  10784. added pornoid.cz
  10785. added file-share.top
  10786. added bitster.cz
  10787.  
  10788. January 05, 2016
  10789. Version 1.2.2.5
  10790. fixed salefiles.com
  10791. fixed ozofile.com
  10792.  
  10793. January 04, 2016
  10794. Version 1.2.2.4
  10795. added sharehost.eu
  10796.  
  10797. December 30, 2015
  10798. Version 1.2.2.3
  10799. added tezfiles.com
  10800.  
  10801. December 28, 2015
  10802. Version 1.2.2.2
  10803. fixed some k2s & fboom dead link not getting detected
  10804. fixed some k2s premium links not getting detected.
  10805. fixed ssh.yt not detecting some dead links
  10806. fixed ncrypt.in dead links showing yellow
  10807.  
  10808. December 20, 2015
  10809. Version 1.2.2.0
  10810. added datoteke.com
  10811.  
  10812. December 19, 2015
  10813. Version 1.2.1.9
  10814. added secured.in & linksave.in to obsolete hosts
  10815.  
  10816. December 17, 2015
  10817. Version 1.2.1.8
  10818. added german for dead links to secureupload.eu.
  10819.  
  10820. December 17, 2015
  10821. Version 1.2.1.7
  10822. added french for dead links to secureupload.eu.
  10823. fixed problem with tooltip display.
  10824.  
  10825. December 13, 2015
  10826. Version 1.2.1.6
  10827. added netload.me & fileparadox.in to obsolete hosts
  10828.  
  10829. December 09, 2015
  10830. Version 1.2.1.5
  10831. added rapidsonic.com & fileparadox.com to obsolete hosts
  10832.  
  10833. December 04, 2015
  10834. Version 1.2.1.4
  10835. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10836.  
  10837. December 03, 2015
  10838. Version 1.2.1.3
  10839. added dailyuploads.net
  10840.  
  10841. December 02, 2015
  10842. Version 1.2.1.2
  10843. fixed hitfile.net
  10844. fixed kingfiles.net
  10845.  
  10846. November 30, 2015
  10847. Version 1.2.1.1
  10848. added filepost.com to obsolete hosts
  10849. added devilshare.net
  10850.  
  10851. November 28, 2015
  10852. Version 1.2.1.0
  10853. fixed datafile.com not detecting some premium links.
  10854.  
  10855. November 25, 2015
  10856. Version 1.2.0.9
  10857. fixed filejoker.net
  10858. fixed toutbox.fr
  10859. fixed nowvideo.sx
  10860.  
  10861. November 24, 2015
  10862. Version 1.2.0.8
  10863. fixed openload.io
  10864.  
  10865. November 20, 2015
  10866. Version 1.2.0.7
  10867. //added file.al
  10868. //fixed nitroflare.com false live links
  10869. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10870.  
  10871. November 17, 2015
  10872. Version 1.2.0.6
  10873. added clicknupload.me
  10874.  
  10875. November 09, 2015
  10876. Version 1.2.0.5
  10877. fixed some depfile premium links not being detected
  10878.  
  10879. November 08, 2015
  10880. Version 1.2.0.4
  10881. fixed some rapidgator premium links not being detected
  10882. fixed doraupload.com
  10883.  
  10884. November 08, 2015
  10885. Version 1.2.0.3
  10886. fixed uploaded false premium
  10887.  
  10888. November 07, 2015
  10889. Version 1.2.0.2
  10890. fixed redbunker.net
  10891.  
  10892. November 05, 2015
  10893. Version 1.2.0.1
  10894. fixed app.box.com
  10895. added multiup.org (does not detect all dead links)
  10896.  
  10897. November 01, 2015
  10898. Version 1.2.0.0
  10899. added more languages to rockfile and 1fichier
  10900.  
  10901. November 01, 2015
  10902. Version 1.1.9.9
  10903. fixed rockfile.eu
  10904. changed 1fichier code (Thanks yurri)
  10905. added to obsolete hosts... (Thanks Love Buzz)
  10906. burnupload.com
  10907. cramit.in
  10908. cramitin.net
  10909. down4files.com
  10910. edoc.com
  10911. jumbofile.net
  10912. krotix.net
  10913. migahost.com
  10914. movreel.com
  10915. netload.in
  10916. newfileland.com
  10917. quickshare.cz
  10918.  
  10919. October 30, 2015
  10920. Version 1.1.9.8
  10921. added alfafile.net
  10922.  
  10923. October 26, 2015
  10924. Version 1.1.9.7
  10925. changed datafile.com and uplea.com
  10926. added lolabits.es
  10927.  
  10928. October 26, 2015
  10929. Version 1.1.9.6
  10930. added toutbox.fr
  10931.  
  10932. October 25, 2015
  10933. Version 1.1.9.5
  10934. fixed counter error
  10935.  
  10936. October 25, 2015
  10937. Version 1.1.9.4
  10938. changed uptobox.com code
  10939.  
  10940. October 21, 2015
  10941. Version 1.1.9.3
  10942. fixed uptobox.com
  10943.  
  10944. October 20, 2015
  10945. Version 1.1.9.2
  10946. bug fixes and new method of detecting premium links.
  10947.  
  10948. October 15, 2015
  10949. Version 1.1.9.1
  10950. fixed hugefiles.net false premium
  10951. changed uptobox.com code
  10952.  
  10953. October 06, 2015
  10954. Version 1.1.9.0
  10955. fixed filefactory
  10956. fixed rockfile false premium
  10957. keep2share & fileboom now detect premium links (fixed by yurii)
  10958.  
  10959. October 01, 2015
  10960. Version 1.1.8.9
  10961. fixed free.fr false premium
  10962. fixed thevideo.me false premium
  10963.  
  10964. September 28, 2015
  10965. Version 1.1.8.8
  10966. added uplea.com and openload.co
  10967.  
  10968. September 27, 2015
  10969. Version 1.1.8.7
  10970. fixed fileparadox.in false premium
  10971. added kingfiles.net to obsolete hosts
  10972. removed inafile.com from obsolete hosts
  10973.  
  10974. September 22, 2015
  10975. Version 1.1.8.6
  10976. fixed nitroflare false premium
  10977.  
  10978. September 22, 2015
  10979. Version 1.1.8.5
  10980. fixed userscloud.com false premium
  10981. fixed usersfiles.com false premium
  10982. changed arabloads.com to arabloads.net
  10983. changed nowdownloads.eu to nowdownloads.ch
  10984.  
  10985. September 21, 2015
  10986. Version 1.1.8.3
  10987. added ryushare.com to obsolete hosts.
  10988.  
  10989. September 20, 2015
  10990. Version 1.1.8.2
  10991. fixed nitroflare not showing premium links
  10992. added down4files.com,storfiles.co,filehost.pw
  10993.  
  10994. September 16, 2015
  10995. Version 1.1.8.1
  10996. added crisshare.com to obsolete hosts
  10997. fixed filemoney.com false premium
  10998. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10999.  
  11000. September 14, 2015
  11001. Version 1.1.8.0
  11002. added to obsolete hosts...
  11003. sharebeast.com
  11004. tufiles.ru
  11005.  
  11006. September 12, 2015
  11007. Version 1.1.7.9
  11008. fixed rghost.net false premium
  11009. fixed unlimitzone.com false premium
  11010. fixed turbobit.net false live link
  11011.  
  11012. September 11, 2015
  11013. Version 1.1.7.8
  11014. Fixed filefactory.com false premium.
  11015.  
  11016. September 07, 2015
  11017. Version 1.1.7.7
  11018. fixed "depositfiles.com/en/files" links not checking
  11019.  
  11020. September 06, 2015
  11021. Version 1.1.7.6
  11022. added French code for 1fichier
  11023.  
  11024. August 29, 2015
  11025. Version 1.1.7.5
  11026. fixed depositfiles
  11027. fixed mega.co.nz/mega.nz
  11028. (fixed by yurii)
  11029.  
  11030. August 23, 2015
  11031. Version 1.1.7.4
  11032. Fixed uploadrocket (by yurii)
  11033.  
  11034. August 20, 2015
  11035. Version 1.1.7.3
  11036. fixed depfile.com false premium
  11037. fixed 1fichier false premium
  11038. fixed rapidgator false premium
  11039.  
  11040. August 08, 2015
  11041. Version 1.1.7.1
  11042. fixed unlimitzone.com, added freakshare to obsolete hosts.
  11043.  
  11044. August 07, 2015
  11045. Version 1.1.7.0
  11046. fixed...
  11047. streamin.to
  11048. thefile.me
  11049. vidzi.tv
  11050. added...
  11051. filenuke.com
  11052. vidto.me
  11053. vidspot.net
  11054. sharesix.com
  11055. sharesix.net
  11056. movpod.in,
  11057.  
  11058. August 07, 2015
  11059. Version 1.1.6.9 added...
  11060. thefile.me
  11061. vidzi.tv
  11062. videoweed.es
  11063. vodlocker.com
  11064. nowvideo.sx
  11065. cloudtime.to
  11066. thevideo.me
  11067. vidbull.com
  11068. allmyvideos.net
  11069. novamov.com
  11070. filehoot.com
  11071. stagevu.com
  11072. gorillavid.in
  11073. streamin.to
  11074.  
  11075. August 02, 2015
  11076. Version 1.1.6.8
  11077. added cloudshares.net
  11078.  
  11079. August 01, 2015
  11080. Version 1.1.6.7
  11081. fixed depfile redirectors false premium
  11082.  
  11083. July 31, 2015
  11084. Version 1.1.6.6
  11085. fixed depfile.com false premium
  11086. */