W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-12-30 提交的版本,查看 最新版本

  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. // @include http://*
  13. // @include https://*
  14. // @include file:///*
  15. // @grant GM_setValue
  16. // @grant GM_getValue
  17. // @grant GM_xmlhttpRequest
  18. // @grant GM_log
  19. // @grant GM_addStyle
  20. // @grant GM_registerMenuCommand
  21. // @grant GM_getResourceText
  22. // @grant GM_info
  23. // @grant GM_setClipboard
  24. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  25. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  26. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  27. // @homepage http://usa.x10host.com/mybb
  28. // @namespace war premium
  29. // @noframes
  30. // @version 1.3.5.6
  31. // ==/UserScript==
  32.  
  33. var War_version = "1.3.5.6 December 30, 2016";
  34.  
  35. //separate alternative domains with "|" char (first name is considered being main)
  36. var allHostNames = [
  37. "1fichier.com|dl4free.com",
  38. "black-label.pro",
  39. "temp-share.com",
  40. "filesha.com",
  41. "upfiles.net",
  42. "dailyfiles.net",
  43. "uploadocean.com",
  44. "drive.google.com",
  45. "suprafiles.net",
  46. "fileflares.com",
  47. "erafile.com",
  48. "mystore.to",
  49. "littlebyte.net",
  50. "exbit.net",
  51. "bdupload.info",
  52. "workupload.com",
  53. "wayupload.com",
  54. "cloud.mail.ru",
  55. "fileshareup.com",
  56. "usercloud.net",
  57. "daofile.com",
  58. "subyshare.com",
  59. "mexashare.com",
  60. "uploadgig.com",
  61. "upload.af",
  62. "alltu.eu",
  63. "filesin.space",
  64. "imagenetz.de",
  65. "katfile.com",
  66. "bankupload.com",
  67. "keepshare.net",
  68. "filescdn.com",
  69. "myfiles.onl",
  70. "uploadserv.com",
  71. "uploading.site",
  72. "filedwon.info",
  73. "jeodrive.com",
  74. "ncrypt.in",
  75. "yandex.com",
  76. "down4files.com",
  77. 'filespace.com',
  78. "uplod.it",
  79. "rapidu.net",
  80. "uploads.ws|upl.me",
  81. "file.up09.com",
  82. "lunaticfiles.com",
  83. "filecad.com",
  84. "filesupload.org",
  85. "bytewhale.com",
  86. "rapidrar.com",
  87. "download.cz.hellshare.com",
  88. "pornfile.cz",
  89. "dinoshare.cz",
  90. "kb.simple-aja.info",
  91. "bitster.cz",
  92. "file-share.top",
  93. "pornoid.cz",
  94. "dailyuploads.net",
  95. "sharehost.eu",
  96. "tezfiles.com",
  97. "devilshare.net",
  98. "alfafile.net",
  99. "openload.co",
  100. "multiup.org",
  101. "uplea.com",
  102. "filenuke.com",
  103. "file.al|1f.al",
  104. "vidto.me",
  105. "filehost.pw",
  106. "turbobit.ru",
  107. "sharesix.com|sharesix.net",
  108. "movpod.in",
  109. "thefile.me",
  110. "datoteke.com",
  111. "vidzi.tv",
  112. "videoweed.es",
  113. "vodlocker.com",
  114. "nowvideo.sx",
  115. "cloudtime.to",
  116. "thevideo.me",
  117. "vidbull.com",
  118. "novamov.com",
  119. "filehoot.com",
  120. "stagevu.com",
  121. "gorillavid.in",
  122. "streamin.to",
  123. "4upld.com|expressleech.com",
  124. "cloudshares.net",
  125. "swoopshare.com",
  126. "2shared.com",
  127. "fileupload.pw",
  128. "zxcfiles.com",
  129. "up07.net",
  130. "4shared.com",
  131. "adrive.com",
  132. "aisfile.com",
  133. "bezvadata.cz",
  134. "usersfiles.com",
  135. "pan.baidu.com",
  136. "datei.to",
  137. "daten-hoster.de|filehosting.org|xtraupload.de",
  138. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  139. "divshare.com",
  140. "easy-share.com|crocko.com",
  141. "easybytez.com",
  142. "edisk.cz",
  143. "euroshare.eu",
  144. "file-upload.net",
  145. "yadi.sk",
  146. "wizupload.com",
  147. "fastshare.cz",
  148. "filefactory.com",
  149. "share.vnn.vn",
  150. "yunpan.cn",
  151. "tropicshare.com",
  152. "cloudzilla.to",
  153. "inclouddrive.com",
  154. "fileflyer.com",
  155. "filerio.com|filekeen.com",
  156. "up.4share.vn",
  157. "upfile.vn",
  158. "datafilehost.com",
  159. "worldbytez.com",
  160. "files.mail.ru",
  161. "filesflash.com",
  162. "box.com",
  163. "uptobox.com",
  164. "box.net",
  165. "sdilej.cz",
  166. "ex-load.com",
  167. "filesmonster.com",
  168. "filestore.to",
  169. "hulkload.com",
  170. "filedropper.com",
  171. "free-uploading.com",
  172. "gamefront.com|filefront.com",
  173. "gettyfile.ru",
  174. "gigapeta.com",
  175. "gigasize.com",
  176. "hellshare.com",
  177. "hellspy.com",
  178. "hitfile.net",
  179. "hostuje.net",
  180. "freefilehosting.net",
  181. "free.fr",
  182. "hyperfileshare.com",
  183. "filecloud.io|ifile.it",
  184. "ifolder.ru",
  185. "uploadrocket.net",
  186. "lafiles.com",
  187. "leteckaposta.cz|sharegadget.com",
  188. "load.to",
  189. "mediafire.com",
  190. "megafileupload.com",
  191. "movshare.net",
  192. "narod.ru|narod.yandex.ru",
  193. "fboom.me|fileboom.me",
  194. "partage-facile.com",
  195. "sharerapid.cz",
  196. "exclusiveloader.com",
  197. "acefile.net",
  198. "queenshare.com",
  199. "rapidgator.net",
  200. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  201. "oboom.com",
  202. "filepi.com",
  203. "neodrive.co",
  204. "rarefile.net",
  205. "rayfile.com",
  206. "rghost.net",
  207. "sendmyway.com",
  208. "clicknupload.com",
  209. "clicknupload.me",
  210. "clicknupload.link",
  211. "sharemods.com",
  212. "hostr.co",
  213. "sendspace.com",
  214. "sharecash.org",
  215. "share-links.biz",
  216. "share-online.biz|egoshare.com",
  217. "megarapid.cz",
  218. "shareflare.net",
  219. "solidfiles.com",
  220. "led.wf",
  221. "lan.wf",
  222. "adlink.wf",
  223. "click.tf",
  224. "kyc.pm",
  225. "ssh.tf",
  226. "ssh.yt",
  227. "yep.pm",
  228. "stahovanizasms.cz",
  229. "turbobit.net",
  230. "tikfile.com",
  231. "cloudsix.me",
  232. "turboupload.com",
  233. "uloz.to",
  234. "ulozto.net",
  235. "ulozto.sk",
  236. "ulozto.cz",
  237. "ulozisko.sk",
  238. "uloziste.com",
  239. "unibytes.com",
  240. "upload-il.net|przeslij.net",
  241. "uploaded.to|uploaded.net|ul.to",
  242. "uploading.com",
  243. "chayfile.com",
  244. "rockfile.eu",
  245. "usaupload.net",
  246. "veehd.com",
  247. "videobb.com",
  248. "vip-file.com",
  249. "webshare.cz",
  250. "xdisk.cz",
  251. "yunfile.com|filemarkets.com",
  252. "ziddu.com",
  253. "zippyshare.com",
  254. "rodfile.com",
  255. "wikiupload.com",
  256. "uploadstube.de",
  257. "faststore.org",
  258. "flyfiles.net",
  259. "prefiles.com",
  260. "hackerbox.org",
  261. "amonshare.com",
  262. "data.hu",
  263. "brupload.net",
  264. "kingfiles.net",
  265. "userscloud.com",
  266. "kumpulbagi.com|kumpulbagi.id",
  267. "uppit.com|up.ht|upx.nz",
  268. "downloadani.me",
  269. "filesabc.com",
  270. "extmatrix.com",
  271. "sendfiles.nl",
  272. "yourfilestore.com",
  273. "filebig.net",
  274. "file4safe.com",
  275. "tusfiles.net|tusfiles.com",
  276. "filemac.com",
  277. "ozofiles.com",
  278. "nosupload.com",
  279. "gboxes.com",
  280. "myvdrive.com|fileserving.com",
  281. "novafile.com",
  282. "longfiles.com",
  283. "bitupload.com",
  284. "indowebster.com",
  285. "superload.cz",
  286. "mafiastorage.com",
  287. "hellupload.com",
  288. "stiahni.si",
  289. "sendspace.pl",
  290. "fastshare.org",
  291. "filejoker.net",
  292. "filestore.com.ua",
  293. "secureupload.eu",
  294. "rapidfileshare.net",
  295. "stiahnito.sk",
  296. "rusfolder.com",
  297. "catshare.net",
  298. "mixturecloud.com",
  299. "filedais.com",
  300. // "imdb.com",
  301. "nitroflare.com",
  302. "akafile.com",
  303. "up.top4top.net",
  304. "upload.ee",
  305. "shareplace.org",
  306. "uploadc.com",
  307. "uploadc.ch",
  308. "exoshare.com",
  309. "borncash.org",
  310. "junocloud.me",
  311. "2downloadz.com",
  312. "mightyupload.com",
  313. "anysend.com",
  314. "datafile.com",
  315. "upstore.net",
  316. "upsto.re",
  317. "speedy.sh",
  318. "ge.tt",
  319. "filesflash.net",
  320. "salefiles.com",
  321. "datoid.cz",
  322. "cloudstor.es",
  323. "streamfile.com",
  324. "eyesfile.ca",
  325. "filemoney.com",
  326. "uploadboy.com",
  327. "uploadboy.me",
  328. "speedshare.eu",
  329. "google.com|google.be",
  330. "unlimitzone.com",
  331. "rioupload.com",
  332. "rg.to",
  333. "jumbofiles.org",
  334. "fshare.vn",
  335. "spaceforfiles.com",
  336. "up.media1fire.com",
  337. "depfile.com",
  338. "go4up.com",
  339. "dropbox.com",
  340. "redbunker.net",
  341. "divxpress.com",
  342. "mega.nz|mega.co.nz",
  343. "storageserver.co.uk",
  344. "anafile.com",
  345. "uploadable.ch",
  346. "bigfile.to",
  347. "arabloads.net",
  348. "sharerepo.com",
  349. "sfshare.se",
  350. "files.fm",
  351. "koofile.com",
  352. "doraupload.com",
  353. "openload.io",
  354. "upnito.sk",
  355. "oload.net",
  356. ];
  357.  
  358. try
  359. {
  360. //iframes excluded
  361. if (window.top != window.self)
  362. {
  363. return;
  364. }
  365. //allHostNames sites excluded
  366. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  367. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  368. ")"))
  369. {
  370. return;
  371. }
  372. }
  373. catch (e)
  374. {
  375. return;
  376. }
  377.  
  378. //separate alternative domains with "|" char (first name is considered being main)
  379. var allContainerNames = [
  380. "adf.ly",
  381. "linkcrypt.ws",
  382. "linksafe.me",
  383. // "linksave.in",
  384. "linkto.net",
  385. "madlink.sk",
  386. "multiload.cz",
  387. "mirrorcreator.com",
  388. // "ncrypt.in",
  389. "redi.re",
  390. "relink.us",
  391. "safelinking.net",
  392. "theloo.katt.it",
  393. "bit.ly",
  394.  
  395. ];
  396.  
  397. //separate alternative domains with "|" char (first name is considered being main)
  398. var allObsoleteNames = [
  399. "4up.me",
  400. "anonfiles.com",
  401. "axifile.com",
  402. "creafile.net",
  403. "demo.ovh.eu",
  404. "filesin.com",
  405. "fileswap.com",
  406. "gulfup.com",
  407. "hexupload.com",
  408. "hugefiles.net",
  409. "jumbofiles.com",
  410. "letitbit.net",
  411. "lolabits.es",
  412. "nowdownload.ch",
  413. "openfile.ru",
  414. "radicalshare.com",
  415. "remixshare.com",
  416. "storefiles.co",
  417. "toutbox.fr",
  418. "uploadbaz.com",
  419. "uploadingit.com",
  420. "verzend.be",
  421. "vidplay.net",
  422. "vidxden.com",
  423. "xfileload.com",
  424. "warped.co",
  425. "xkeepfile.com",
  426. "abelhas.pt",
  427. "uploadspace.pl",
  428. "allmyvideos.net",
  429. "uploads.xxx",
  430. "netkups.com",
  431. "nekaka.com",
  432. "vidspot.net",
  433. "myupload.dk",
  434. "muchshare.net",
  435. "loudupload.net",
  436. "idup.in",
  437. "hulkshare.com",
  438. "goldbytez.com",
  439. "filesmelt.com",
  440. "fileband.com",
  441. "uloz.cz",
  442. "secured.in",
  443. "rapidfilehost.com",
  444. "fileover.net",
  445. "fileinz.com",
  446. "linksave.in",
  447. "seenupload.com",
  448. "sangfile.com",
  449. "filepost.com|fp.io",
  450. "sharingmaster.com ",
  451. "24uploading.com",
  452. "storagon.com",
  453. "sanshare.com",
  454. "filestorm.to",
  455. "uploadnet.co",
  456. "180upload.com",
  457. "rapidsonic.com",
  458. "fileparadox.com",
  459. "4upfiles.com",
  460. "geupload.com",
  461. "lenfile.com",
  462. "fileparadox.in",
  463. "uploadhero.co",
  464. "uploadhero.com",
  465. "newfileland.com",
  466. "quickshare.cz",
  467. "elffiles.com",
  468. "netload.in",
  469. "netload.me",
  470. "movreel.com",
  471. "migahost.com",
  472. "krotix.net",
  473. "jumbofile.net",
  474. "edoc.com",
  475. "cramit.in|cramitin.net",
  476. "freakshare.com",
  477. "burnupload.com|burnupload.ihiphop.com",
  478. "freakshare.net",
  479. "daj.to",
  480. "bl.st",
  481. "2drive.net",
  482. "ryushare.com",
  483. "crisshare.com",
  484. "tufiles.ru",
  485. "uncapped-downloads.com",
  486. "sockshare.com",
  487. "ddlstorage.com",
  488. "dataport.cz",
  489. "dizzcloud.com",
  490. "sharebeast.com",
  491. "stahovadlo.cz",
  492. "shared.com",
  493. "storage.to",
  494. "putlocker.com",
  495. "lumfile.com",
  496. "lumfile.se",
  497. "lumfile.eu",
  498. "firedrive.com",
  499. "fileshare.in.ua",
  500. "filecore.co.nz",
  501. "filecore.co",
  502. "iskladka.cz",
  503. "file-rack.com",
  504. "fast-load.net",
  505. "subory.sk",
  506. "bigandfree.com",
  507. "fileop.com",
  508. "mujsoubor.cz",
  509. "sendfile.to",
  510. "superfastfile.com",
  511. "quickyshare.com",
  512. "duckload.com",
  513. "uploadstore.net",
  514. "meinupload.com",
  515. "dualshare.com",
  516. "2xupload.to|2xupload.de",
  517. "oxedion.com",
  518. "uploadline.com",
  519. "dll.bz",
  520. "movieshare.in",
  521. "milledrive.com",
  522. "quickupload.net",
  523. "safelink.in",
  524. "metadivx.com",
  525. "divxlink.com",
  526. "uploadrack.com",
  527. "teradepot.com",
  528. "dataup.to",
  529. "upit.to",
  530. "driveway.com",
  531. "eatlime.com",
  532. "a2zuploads.com",
  533. "friendlyfiles.net",
  534. "flyfile.us",
  535. "speedyshare.com",
  536. "uploadspace.eu",
  537. "keepfile.com",
  538. "piggyshare.com",
  539. "uplly.com",
  540. "filecrown.com",
  541. "6giga.com",
  542. "uploadjockey.com",
  543. "bluehost.to",
  544. "filegu.ru",
  545. "filebase.to",
  546. "up-file.com",
  547. "xvideos.com",
  548. "ufox.com",
  549. "filebling.com",
  550. "loaded.it",
  551. "uploadcell.com",
  552. "uploadshare.cz",
  553. "mangoshare.com",
  554. "filestab.com",
  555. "crazyupload.com",
  556. "gaiafile.com",
  557. "sharejunky.com",
  558. "fileho.com",
  559. "bigandfree.com",
  560. "bigfile.in",
  561. "bigshare.eu",
  562. "dahosting.org",
  563. "digisofts.net",
  564. "file4save.com",
  565. "filechip.com",
  566. "filescloud.com",
  567. "saveqube.com",
  568. "turboshare.de",
  569. "z-upload.com",
  570. "youshare.com",
  571. "jiffyupload.com",
  572. "gigeshare.com",
  573. "datenklo.net",
  574. "upload.dj",
  575. "loadfiles.in",
  576. "upit.to",
  577. "dsfileshare.com",
  578. "sharesimple.net",
  579. "4files.net",
  580. "wooupload.com",
  581. "odsiebie.com",
  582. "filenavi.com",
  583. "3oof.com",
  584. "meshwaar.com",
  585. "maxupload.com",
  586. "share.cx",
  587. "atserver.eu",
  588. "hotfiles.ws",
  589. "esnips.com",
  590. "tuxfile.com",
  591. "file2upload.net",
  592. "filebling.com",
  593. "turboshare.com",
  594. "rarhost.com",
  595. "isharehd.com",
  596. "i741.com",
  597. "dataup.de",
  598. "fofly.com",
  599. "shareonall.com",
  600. "sexuploader.com",
  601. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  602. "uploadhyper.com",
  603. "filespawn.com",
  604. "caizzii.com",
  605. "volnyweb.cz",
  606. "usershare.net",
  607. "filescash.net",
  608. "metahyper.com",
  609. "combozip.com",
  610. "x7.to",
  611. "uploadbox.com",
  612. "enterupload.com|flyupload.com",
  613. "filepoint.de",
  614. "mystream.to",
  615. "x-fs.com",
  616. "shareator.com",
  617. "srapid.eu",
  618. "sosame.cz",
  619. "filesdump.com",
  620. "2-klicks.de",
  621. "uploking.com",
  622. "silofiles.com",
  623. "upfile.in",
  624. "filehook.com",
  625. "uploadking.com",
  626. "uploadhere.com",
  627. "kewlshare.com",
  628. "rapidable.com",
  629. "uploadwaste.com",
  630. "filemup.com",
  631. "filesonic.com|sharingmatrix.com",
  632. "fileserve.com",
  633. "wupload.com",
  634. "skipfile.com",
  635. "smartuploader.com",
  636. "dualshare.com",
  637. "storeandserve.com",
  638. "mountfile.com",
  639. "transitfiles.com",
  640. "uploadstation.com",
  641. "filejungle.com",
  642. "shareshared.com",
  643. "quickyshare.com",
  644. "save.am",
  645. "petandrive.com",
  646. "file2box.com",
  647. "flyshare.cz",
  648. "yabadaba.ru",
  649. "cloudcache.cc",
  650. "yourfilehost.com",
  651. "jakfile.com",
  652. "kickload.com",
  653. "pyramidfiles.com",
  654. "refile.net",
  655. "zshare.net",
  656. "ddlani.me|ddlanime.com",
  657. "ftp2share.com",
  658. "fooget.com",
  659. "rapidhide.com",
  660. "gotupload.com",
  661. "mooload.com",
  662. "zupload.com",
  663. "mytempdir.com",
  664. "onionshare.com",
  665. "stahnu.to",
  666. "oron.com",
  667. "badongo.com",
  668. "filereactor.com",
  669. "filegaze.com",
  670. "4bytez.com",
  671. "1hostclick.com",
  672. "anonstream.com",
  673. "batshare.com",
  674. "bitroad.net",
  675. "brontofile.com",
  676. "cloudnxt.net",
  677. "cloudnator.com|shragle.com",
  678. "filesfrog.net",
  679. "coolshare.cz",
  680. "dotavi.com",
  681. "ezyfile.net",
  682. "file-bit.net",
  683. "filecosy.com",
  684. "fileduct.com|fileduct.net",
  685. "filefat.com",
  686. "filelaser.com",
  687. "filemashine.com",
  688. "fileserver.cc",
  689. "filetechnology.com",
  690. "fireuploads.net",
  691. "gigfiles.net",
  692. "holderfile.com",
  693. "ihostia.com",
  694. "k2files.com",
  695. "mojofile.com",
  696. "ovfile.com",
  697. "qshare.com",
  698. "shafiles.me",
  699. "sharefilehost.com",
  700. "shareupload.com",
  701. "stahuj.to",
  702. "ugotfile.com",
  703. "uploadboost.com",
  704. "fileom.com",
  705. "vidhog.com",
  706. "xfileshare.eu",
  707. "bzlink.us",
  708. "bulletupload.com",
  709. "bloggerarticles.com",
  710. "mojedata.sk",
  711. "sharpfile.com",
  712. "upgrand.com",
  713. "nasdilej.cz",
  714. "mediatack.cz",
  715. "share-it.to",
  716. "primeupload.com",
  717. "filebeer.info",
  718. "baberepublic",
  719. "xtu.me",
  720. "sharebase.de",
  721. "luckyshare.net",
  722. "filerobo.com",
  723. "filevelocity.com",
  724. "filezpro.com",
  725. "file4sharing.com",
  726. "cing.be",
  727. "ufile.eu",
  728. "pigsonic.com",
  729. "fileupped.com",
  730. "sharerun.com",
  731. "filesaur.com",
  732. "rapidslnare.com",
  733. "bestsharing.com",
  734. "savefiles.net",
  735. "file2share.biz",
  736. "filecache.de",
  737. "monsteruploads.eu",
  738. "b9bb.com",
  739. "aiotool.net",
  740. "jamber.info",
  741. "megaftp.com",
  742. "desiupload.net",
  743. "file27.com",
  744. "yastorage.com",
  745. "filehost.ws",
  746. "copyload.com",
  747. "venusfile.com",
  748. "aieshare.com",
  749. "terafile.co",
  750. "terafile.com",
  751. "fileza.net",
  752. "filerose.com",
  753. "squillion.com",
  754. "fileprohost.com",
  755. "bitbonus.com",
  756. "warserver.cz",
  757. "uload.to",
  758. "sharedbit.net",
  759. "megaload.it",
  760. "filewinds.com",
  761. "uploadcore.com",
  762. "syfiles.com",
  763. "eyesfile.com",
  764. "hotfile.com",
  765. "superupl.com",
  766. "oteupload.com",
  767. "henchfile.com",
  768. "filegag.com",
  769. "HenchFile.com",
  770. "filedefend.com",
  771. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  772. "megabitshare.com",
  773. "cloudzer.com",
  774. "asfile.com",
  775. "cloudzer.net",
  776. "clz.to",
  777. "extabit.com",
  778. "247upload.com",
  779. "2download.de",
  780. "4fastfile.com",
  781. "asixfiles.com",
  782. "berofile.com",
  783. "bigupload.com",
  784. "cepzo.com",
  785. "clouds.to",
  786. "cobrashare.sk",
  787. "coraldrive.net",
  788. "cyberlocker.ch",
  789. "czshare.com",
  790. "darkport.org",
  791. "dark-uploads.com",
  792. "davvas.com",
  793. "enigmashare.com",
  794. "erofly.cz",
  795. "fastsonic.net",
  796. "filebox.com",
  797. "filecity.net",
  798. "filedap.com",
  799. "filedino.com",
  800. "filedownloads.org",
  801. "filefolks.com",
  802. "fileking.co",
  803. "filemates.com",
  804. "files.to",
  805. "files2k.eu",
  806. "filesector.cc",
  807. "bitshare.com",
  808. "filesega.com",
  809. "filesend.net",
  810. "filestay.com",
  811. "filestrum.com",
  812. "fileuplo.de",
  813. "fileupup.com",
  814. "forunesia.com",
  815. "freeuploads.fr",
  816. "uploa.dk",
  817. "getthebit.com",
  818. "getzilla.net",
  819. "goldfile.eu",
  820. "good.com",
  821. "grupload.com",
  822. "hellfile.com",
  823. "hipfile.com",
  824. "hitfile.com",
  825. "hulkfile.eu|duckfile.net",
  826. "i-filez.com",
  827. "ifile.ws",
  828. "kupload.org",
  829. "packupload.com",
  830. "lemuploads.com",
  831. "limelinx.com",
  832. "maxshare.pl",
  833. "megarelease.org",
  834. "megashares.com",
  835. "megashare.com",
  836. "minus.com",
  837. "mlfat4arab.com",
  838. "multishare.cz",
  839. "nirafile.com",
  840. "ok2upload.com",
  841. "peejeshare.com",
  842. "premiuns.org",
  843. "przeklej.net",
  844. "qkup.net",
  845. "rapidupload.sk",
  846. "rockdizfile.com",
  847. "rocketfile.net",
  848. "share-now.net",
  849. "share76.com",
  850. "sharebees.com",
  851. "sharefiles.co",
  852. "slingfile.com",
  853. "sms4file.com",
  854. "space4file.com",
  855. "tigershare.net",
  856. "toucansharing.com",
  857. "ubuntuone.com",
  858. "unextfiles.com",
  859. "upaj.pl",
  860. "upfile.biz",
  861. "uploadbin.net",
  862. "uploadic.com",
  863. "uploadinc.com",
  864. "uploading4u.eu",
  865. "uploadjet.net",
  866. "uploadorb.com",
  867. "upthe.net",
  868. "uptorch.com",
  869. "vidbox.yt",
  870. "videozer.com",
  871. "vreer.com",
  872. "wallobit.com",
  873. "zooupload.com",
  874. "privatefiles.com",
  875. "xerver.co",
  876. "BillionUploads.com",
  877. "rapidshare.com",
  878. "rapidshare.ru",
  879. "4savefile.com",
  880. "bayfiles.com",
  881. "bayfiles.net",
  882. "dodane.pl",
  883. "dotsemper.com",
  884. "egofiles.com",
  885. "epicshare.net",
  886. "fiberupload.net",
  887. "filemonkey.in",
  888. "filemonster.net",
  889. "filepom.com",
  890. "filesbb.com",
  891. "filevice.com",
  892. "gigaup.fr",
  893. "isavelink.com",
  894. "loombo.com",
  895. "megafiles.se",
  896. "migupload.com",
  897. "mydisc.net",
  898. "nitrobits.com",
  899. "potload.com",
  900. "redload.net",
  901. "shareprofi.com",
  902. "sharesuper.info",
  903. "sinhro.net",
  904. "speedfile.cz",
  905. "speedshare.org",
  906. "storage.novoro.net",
  907. "swankshare.com",
  908. "swatupload.com",
  909. "upafile.com",
  910. "uploadmachine.com",
  911. "uploadsat.com",
  912. "upshared.com",
  913. "usefile.com",
  914. "yourfiles.to",
  915. "zomgupload.com",
  916. "ultramegabit.com",
  917. "uploadto.us",
  918. "inafile.com",
  919. "megairon.net",
  920.  
  921. ];
  922. ///////////////////////////////////////////////////////////////////////////////////////
  923. var firstRun = GM_getValue("First_run", true);
  924.  
  925. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  926. //////////////////////////////////////////////////////////////////////////////////////
  927. try
  928. {
  929. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  930. var last_known_version = GM_getValue("last_known_version", "");
  931. if (!last_known_version)
  932. {
  933. last_known_version = thisVersion;
  934. GM_setValue("last_known_version", last_known_version);
  935. }
  936. //var newVersion = !(thisVersion == last_known_version);
  937. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  938. GM_setValue("last_known_version", thisVersion);
  939. }
  940. catch (err)
  941. {
  942. var newVersion = false;
  943. }
  944.  
  945. var now = (new Date()).getTime();
  946. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  947. if (!last_custom_rules_nag)
  948. {
  949. last_custom_rules_nag = now;
  950. GM_setValue('last_custom_rules_nag', ''+now);
  951. }
  952.  
  953.  
  954. allHostNames.sort();
  955. allContainerNames.sort();
  956. allObsoleteNames.sort();
  957.  
  958. var RAND_STRING = "8QyvpOSsRG3QWq";
  959. var DEBUG_MODE = false;
  960.  
  961. var TOOLTIP_MAXWIDTH = 600; //in pixels
  962. var TOOLTIP_THUMBWIDTH = 200;
  963. var containers_processed = false;
  964.  
  965. //settings for keyboard functions start
  966. var CHECK_ALL_LINKS_KEY = "A";
  967. var CONFIGURATION_KEY = "C";
  968. var copy_to_dead_key = "D";
  969. var copy_to_live_key = "L";
  970. var toggle_autocheck_key = "W";
  971. var toggle_Enable_Anonymizer_key = "Z";
  972. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  973. var first_key_keycodename = 'CTRL';
  974. var second_key_keycode = '18';
  975. var second_key_keycodename = 'ALT';
  976. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  977. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  978. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  979. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  980. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  981. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  982. //settings for keyboard functions end
  983.  
  984. //global settings start
  985. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  986. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  987. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  988. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  989. var Show_progress_stats, Display_tooltip_info, Icon_set;
  990. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  991. var Progress_box_refresh_rate;
  992. var Obsolete_file_hosts;
  993. var Custom_rules, Custom_rules_text;
  994. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  995.  
  996. var messageBox = document.createElement('b'); // top-left message box
  997.  
  998. var cLinksTotal = 0;
  999. var cLinksDead = 0;
  1000. var cLinksAlive = 0;
  1001. var cLinksUnava = 0;
  1002. var cLinksprem = 0;
  1003. var cLinksProcessed = 0;
  1004.  
  1005. var intervalId; //for updateProgress()
  1006.  
  1007. //icon resources
  1008. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUg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OUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1015. 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=';
  1016. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6O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kVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1019. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1020. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEA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AwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1021. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1022.  
  1023. //global settings end
  1024. if (window.opera && !window.console)
  1025. {
  1026. window.console = {};
  1027.  
  1028. function fn()
  1029. {
  1030. opera.postError(arguments);
  1031. };
  1032. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1033. {
  1034. window.console[name] = fn;
  1035. });
  1036. }
  1037.  
  1038. //displays colored text in message box
  1039. function sendMessage(text, color)
  1040. {
  1041. var msgDiv = document.createElement('div');
  1042. msgDiv.style.color = color;
  1043. msgDiv.innerHTML = text;
  1044. messageBox.appendChild(msgDiv);
  1045. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1046. }
  1047.  
  1048. function linkify(totalourls)
  1049. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1050. var ikkeTilladteTags;
  1051. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1052. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1053. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1054. allLinksRegex = new RegExp(allLinksRegex, "g");
  1055. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1056.  
  1057. if (Do_not_linkify_DL_links)
  1058. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1059. else
  1060. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1061.  
  1062. var regex = new RegExp(regexy);
  1063. var textNode, muligtLink;
  1064.  
  1065. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1066. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1067.  
  1068. var i = textNodes.snapshotLength;
  1069. while (i--)
  1070. {
  1071. textNode = textNodes.snapshotItem(i);
  1072.  
  1073. muligtLink = textNode.nodeValue; //all links on page
  1074.  
  1075. var myArray = null;
  1076. var span = null;
  1077. var lastLastIndex = 0;
  1078. allLinksRegex.lastIndex = 0;
  1079. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1080. {
  1081. if (textNode.parentNode.className == "adead_link") continue;
  1082. var censoredLink = muligtLink;
  1083. var span = document.createElement('span');
  1084. span.className = "adead_link";
  1085. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1086. $(span).html(censoredLink);
  1087. span.addEventListener("mouseover", displayTooltipError, false);
  1088. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1089. textNode.parentNode.replaceChild(span, textNode);
  1090. continue;
  1091. alert(censoredLink);
  1092. }
  1093. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1094. {
  1095. if (!regex.test(myArray[0])) //this link is not recognized
  1096. {
  1097.  
  1098. continue;
  1099. }
  1100. if (!span)
  1101. span = document.createElement('span');
  1102.  
  1103. var link = myArray[0];
  1104. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1105.  
  1106. var $a = $("<a>" + link + "</a>")
  1107. if (!link.match(/https?:\/\//))
  1108. {
  1109. link = 'http://' + link;
  1110. }
  1111.  
  1112. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1113. .addClass("processing_link")
  1114. .appendTo(span);
  1115. lastLastIndex = allLinksRegex.lastIndex;
  1116. }
  1117. if (span)
  1118. {
  1119. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1120. textNode.parentNode.replaceChild(span, textNode);
  1121. }
  1122. }
  1123. }
  1124.  
  1125. function add_WARLC_style()
  1126. {
  1127. if (!(document.getElementsByTagName('WARLC')[0]))
  1128. {
  1129. var meta_not_to_add_more_style = document.createElement("WARLC");
  1130. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1131. meta_not_to_add_more_style.setAttribute('name', 'description');
  1132. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1133. alive_link_png = "";
  1134. adead_link_png = "";
  1135. unava_link_png = "";
  1136. prem_link_png = "";
  1137. switch(Icon_set)
  1138. {
  1139. //no icons
  1140. case 0: break;
  1141. // cat paws
  1142. case 1: alive_link_png = PAW_ICON_GREEN;
  1143. adead_link_png = PAW_ICON_RED;
  1144. unava_link_png = PAW_ICON_YELLOW;
  1145. prem_link_png = PAW_ICON_PINK;
  1146. break;
  1147. // classic RSLC look
  1148. case 2: alive_link_png = RSLC_ICON_GREEN;
  1149. adead_link_png = RSLC_ICON_RED;
  1150. unava_link_png = RSLC_ICON_YELLOW;
  1151. prem_link_png = RSLC_ICON_PINK;
  1152. break;
  1153. // New Icons
  1154. case 3: alive_link_png = NEW_ICON_GREEN;
  1155. adead_link_png = NEW_ICON_RED;
  1156. unava_link_png = NEW_ICON_YELLOW;
  1157. prem_link_png = NEW_ICON_PINK;
  1158. break;
  1159. // cat paws
  1160. default:alive_link_png = PAW_ICON_GREEN;
  1161. adead_link_png = PAW_ICON_RED;
  1162. unava_link_png = PAW_ICON_YELLOW;
  1163. prem_link_png = PAW_ICON_PINK;
  1164. break;
  1165. }
  1166. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1167. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1168.  
  1169. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1170.  
  1171. if (Color_DL_links)
  1172. {
  1173. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1174. live_color_css = 'color:' + Live_links_color + ' !important;';
  1175. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1176. container_color_css = 'color:' + Container_links_color + ' !important;';
  1177. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1178. }
  1179. else
  1180. {
  1181. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1182. }
  1183.  
  1184. if (Show_black_background_in_DL_links)
  1185. {
  1186. black_background_css = 'background-color: black !important;';
  1187. }
  1188. else
  1189. {
  1190. black_background_css = '';
  1191. }
  1192.  
  1193. if (Show_line_through_in_dead_links)
  1194. {
  1195. line_through_css = 'text-decoration: line-through !important;';
  1196. }
  1197. else
  1198. {
  1199. line_through_css = '';
  1200. }
  1201.  
  1202. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1203. 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 + "}");
  1204. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1205. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1206. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1207. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1208. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1209. }
  1210. }
  1211.  
  1212. var warlcTooltip = null;
  1213. var mouseoverLink = null; //link href with mouse cursor over it
  1214.  
  1215. var lastX = 0;
  1216. var lastY = 0;
  1217.  
  1218. $(document).ready(initTooltip);
  1219. //inits tooltip
  1220. function initTooltip()
  1221. { warlcTooltip = document.createElement("div");
  1222. 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;");
  1223. warlcTooltip.style.visibility = "hidden";
  1224. document.body.appendChild(warlcTooltip);
  1225. }
  1226.  
  1227. //"mousemove" event handler for all links
  1228. function moveTooltip(event)
  1229. {
  1230. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1231. { //no need to reflow if the cursor moved just a little
  1232. return;
  1233. }
  1234. else
  1235. {
  1236. lastX = event.clientX;
  1237. lastY = event.clientY;
  1238. }
  1239.  
  1240. posX = event.clientX + window.pageXOffset + 10;
  1241. posY = event.clientY + window.pageYOffset;
  1242. var ttHeight = warlcTooltip.offsetHeight;
  1243. var ttFreeSpace = window.innerHeight - event.clientY;
  1244. if (ttHeight > ttFreeSpace)
  1245. { //prevents tooltip from getting out of the window
  1246. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1247. }
  1248. else
  1249. {
  1250. posY += 7;
  1251. }
  1252. warlcTooltip.style.top = posY + "px";
  1253. warlcTooltip.style.left = posX + "px";
  1254. }
  1255.  
  1256. //"mouseout" event handler for all links
  1257. function hideTooltip(){
  1258. warlcTooltip.style.visibility = "hidden";
  1259. mouseoverLink = null;
  1260. }
  1261.  
  1262.  
  1263. //"mouseover" event handler for dead links
  1264. //displays tooltip error message on dead links
  1265. function displayTooltipError()
  1266. {
  1267. mouseoverLink = this.href;
  1268. this.addEventListener("mouseout", hideTooltip);
  1269. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1270. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1271. warlcTooltip.style.minWidth = 0;
  1272. warlcTooltip.style.visibility = "visible";
  1273. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1274. {
  1275. warlcTooltip.innerHTML = this.warlc_error;
  1276. }
  1277. else
  1278. {
  1279. loadErrorInfo(this);
  1280. }
  1281. function loadErrorInfo(link)
  1282. {
  1283. var href = link.href;
  1284. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1285. GM_xmlhttpRequest({
  1286. method: 'GET',
  1287. url: href.replace(Ref_anonymize_service, ""),
  1288. headers: {
  1289. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1290. 'Accept': 'text/xml',
  1291. 'Referer': ""
  1292. },
  1293. onload: function(result) {
  1294. var res = result.responseText;
  1295. //TODO: errorRegexs -
  1296. var errorRegexs = [ //generic error messages follow
  1297. /(empty directory)/i,
  1298. /(soubor nebyl nalezen)/i,
  1299. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1300. //server specific error messages follow
  1301. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1302. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1303. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1304. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1305. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1306. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1307. /class="red">(.+?)<(?:span|br)>/, //czshare
  1308. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1309. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1310. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1311. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1312. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1313. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1314. /(File has been removed due to Copyright Claim)/, //filerio
  1315. ];
  1316. var errorIdx = errorRegexs.length;
  1317. var error = "Cause of error: <b>unknown</b>";
  1318. var errorCandidate = "";
  1319. while(errorIdx--)
  1320. {
  1321. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1322. if (errorCandidate != null)
  1323. {
  1324. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1325. break;
  1326. }
  1327. }
  1328. //link attributes
  1329. link.warlc_error = error;
  1330. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1331. {
  1332. warlcTooltip.innerHTML = error;
  1333. }
  1334. }
  1335. });
  1336. }
  1337. }
  1338.  
  1339. //"mouseover" event handler for alive links
  1340. //displays tooltip info (file size, file name,...) on alive links
  1341. function displayTooltipInfo()
  1342. {
  1343. mouseoverLink = this.href;
  1344. //exclude direct download filehostings
  1345. 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)/))
  1346. {
  1347. return;
  1348. }
  1349. this.addEventListener("mouseout", hideTooltip);
  1350. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1351. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1352. warlcTooltip.style.minWidth = 0;
  1353. warlcTooltip.style.visibility = "visible";
  1354. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1355. {
  1356. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1357. }
  1358. else
  1359. {
  1360. loadInfo(this);
  1361. }
  1362. function loadInfo(link)
  1363. {
  1364. var href = link.href;
  1365. GM_xmlhttpRequest({
  1366. method: 'GET',
  1367. url: href.replace(Ref_anonymize_service, ""),
  1368. headers: {
  1369. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1370. 'Accept': 'text/xml',
  1371. 'Referer': ""
  1372. },
  1373. onload: function(result) {
  1374. var res = result.responseText;
  1375. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1376. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1377. /fl" title="(.+?)">/, //edisk
  1378. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1379. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1380. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1381. /title="download (.+?)">/, //sendspace
  1382. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1383. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1384. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1385. /d0FileName = "(.+?)";/, //letitbit
  1386. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1387. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1388. /fname" value="(.+?)">/, //syfiles, grupload,
  1389. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1390. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1391. /Complete name : (.+?)<br \/>/, //bezvadata
  1392. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1393. ];
  1394. var nameIdx = nameRegexs.length;
  1395. // [sizeRegexs]
  1396. // / \ \?
  1397. // prefix (size) postfix
  1398. // / \
  1399. // val quant
  1400. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1401. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1402. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1403. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1404. var postSizeRegex = '(?:\\))?';
  1405. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1406. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1407. ];
  1408. var sizeIdx = sizeRegexs.length;
  1409. //
  1410. //
  1411. var tooltip = "File Name: <b>";
  1412. var fileName = "unknown";
  1413. var nameCandidate = "";
  1414. while(nameIdx--)
  1415. {
  1416. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1417. if (nameCandidate != null)
  1418. {
  1419. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1420. break;
  1421. }
  1422. }
  1423. tooltip += fileName + "</b><br>File Size: <b>";
  1424. var fileSize = "unknown";
  1425. var sizeCandidate = "";
  1426. while(sizeIdx--)
  1427. {
  1428. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1429. if (sizeCandidate != null)
  1430. {
  1431. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1432. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1433. {
  1434. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1435. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1436. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1437. }
  1438. break;
  1439. }
  1440. }
  1441. tooltip += fileSize + "</b>";
  1442. // PROTOTYPE
  1443. // video thumbnails
  1444. if (href.match('hellshare'))
  1445. {
  1446. var thumbs;
  1447. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1448. if (thumbs)
  1449. {
  1450. tooltip += '<br>';
  1451. var j = Math.min(thumbs.length, 9);
  1452. for (var i = 0; i < j; i++)
  1453. {
  1454. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1455. }
  1456. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1457. }
  1458. }
  1459. if (href.match('czshare'))
  1460. {
  1461. var thumbs;
  1462. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1463. if (thumbs)
  1464. {
  1465. var thumbsServer = thumbs[1];
  1466. var thumbsId = thumbs[2];
  1467. tooltip += '<br>';
  1468. for (var i = 1; i < 9; i++)
  1469. {
  1470. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1471. }
  1472. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1473. }
  1474. }
  1475. if (href.match('bezvadata'))
  1476. {
  1477. var thumbs;
  1478. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1479. if (thumbs)
  1480. {
  1481. tooltip += '<br>';
  1482. var j = Math.min(thumbs.length, 9);
  1483. for (var i = 0; i < j; i++)
  1484. {
  1485. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1486. }
  1487. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1488. }
  1489. }
  1490. link.warlc_tooltipcache = tooltip;
  1491. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1492. {
  1493. warlcTooltip.innerHTML = tooltip;
  1494. }
  1495. }
  1496. });
  1497. }
  1498. }
  1499.  
  1500. function setVariables()
  1501. {
  1502. if (firstRun)
  1503. {
  1504. GM_log('First run, applying default settings...');
  1505. GM_setValue("Icon_set",1);
  1506. GM_setValue("Display_tooltip_info",true);
  1507. GM_setValue("Show_black_background_in_DL_links",false);
  1508. GM_setValue("Show_line_through_in_dead_links",false);
  1509. GM_setValue("Display_full_links_in_link_containers",false);
  1510. GM_setValue("Allow_spaces_in_DL_links",false);
  1511. GM_setValue("Autocheck",true);
  1512. GM_setValue("Enable_Anonymizer",false);
  1513. GM_setValue("Do_not_linkify_DL_links",false);
  1514. GM_setValue("Show_progress_stats",true);
  1515. GM_setValue("Keyboard_functions",true);
  1516. GM_setValue("Obsolete_file_hosts",false);
  1517. GM_setValue("Color_DL_links",true);
  1518. GM_setValue("Live_links_color","Green");
  1519. GM_setValue("Dead_links_color","#FF3300");
  1520. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1521. GM_setValue("Container_links_color","DarkKhaki");
  1522. GM_setValue("Premium_links_color","DeepPink");
  1523. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1524. GM_setValue("Custom_rules",false);
  1525. GM_setValue("Custom_rules_text","");
  1526. GM_setValue("Processbox_Pos_Y", 0);
  1527. GM_setValue("Processbox_Pos_X", 88);
  1528. GM_setValue("Progressbox_Scaling", 100);
  1529. GM_setValue("First_run", false);
  1530. }
  1531. //hidden settings
  1532. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1533. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1534. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1535. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1536. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1537. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1538. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1539. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1540. //hidden settings end
  1541.  
  1542. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1543. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1544. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1545. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1546. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1547. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1548. Autocheck = GM_getValue("Autocheck", true);
  1549. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1550. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1551. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1552. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1553. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1554. Color_DL_links = GM_getValue("Color_DL_links", true);
  1555. Live_links_color = GM_getValue("Live_links_color", "Green");
  1556. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1557. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1558. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1559. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1560. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1561. Custom_rules = GM_getValue("Custom_rules", false);
  1562. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1563. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1564. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1565. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1566. }
  1567.  
  1568.  
  1569. // Delinkifies the links
  1570. // params:
  1571. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1572. // e.g. 'uloz.to/xs68skxl8')
  1573. function delinkifySnapshot(snapshot)
  1574. {
  1575. var n = snapshot.snapshotLength;
  1576.  
  1577. while (n--)
  1578. {
  1579. thisLink = snapshot.snapshotItem(n);
  1580.  
  1581. var spanElm = document.createElement("span");
  1582. spanElm.className = thisLink.className;
  1583. spanElm.innerHTML = thisLink.innerHTML;
  1584.  
  1585. if (Display_tooltip_info)
  1586. {
  1587. spanElm.href = thisLink.href;
  1588. switch (thisLink.className){
  1589. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1590. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1591. case "unava_link": //reserved
  1592. default:
  1593. }
  1594. }
  1595. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1596. }
  1597. }
  1598.  
  1599. function processContainers()
  1600. {
  1601. var redirectorTypes = { "HTTP_302": 0,
  1602. "INNER_LINK": 1,
  1603. "THELOO_KATT_IT": 2,
  1604. "CING_BE": 3,
  1605. "ADF_LY": 4};
  1606. var cMultiloadTotal = 0;
  1607. var cMultiloadProcessed = 0;
  1608.  
  1609. var cMirrorcreatorComTotal = 0;
  1610. var cMirrorcreatorComProcessed = 0;
  1611.  
  1612. var hostRestrictionRegex = "";
  1613. var multiloadComRestriction = "";
  1614. var multiloadComRestrictionRegex;
  1615.  
  1616. //
  1617. //HANDLING REDIRECTORS START
  1618. //
  1619.  
  1620. var redirectors = new Array();
  1621. initRedirectors();
  1622.  
  1623. var redirectorsCount = redirectors.length;
  1624.  
  1625. if (redirectorsCount > 0)
  1626. {
  1627. var allRedirectorsRegex = "";
  1628.  
  1629. //linkify redirector links
  1630. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1631. {
  1632. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1633. }
  1634. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1635. linkify(allRedirectorsRegex);
  1636. //
  1637. //process redirector links
  1638. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1639. {
  1640. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1641. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1642.  
  1643. cLinksTotal += redirectors[redirIdx].cTotal;
  1644. var linkIdx = redirectors[redirIdx].cTotal;
  1645.  
  1646. while(linkIdx--)
  1647. {
  1648. switch(redirectors[redirIdx].type)
  1649. {
  1650. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1651. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1652. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1653. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1654. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1655. default:
  1656. }
  1657. }
  1658. }
  1659. //
  1660. }
  1661.  
  1662. //HTTP_302
  1663. function processRedirectorLink(link, redirectorId)
  1664. {
  1665. link.className = 'container_link';
  1666.  
  1667. GM_xmlhttpRequest({
  1668. method: 'HEAD',
  1669. url: link.href,
  1670. headers: {
  1671. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1672. 'Accept': 'text/xml',
  1673. 'Referer': ""
  1674. },
  1675. onload: function(result) {
  1676. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1677. {
  1678. processRedirectorLink(link, redirectorId);
  1679. }
  1680. else
  1681. {
  1682. redirectors[redirectorId].cProcessed++;
  1683. link.href = result.finalUrl;
  1684. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1685. checkLinks('container_link');
  1686. }
  1687. },
  1688. onerror: function(result) { //probably caused by unresponsive filehosting
  1689. redirectors[redirectorId].cProcessed++;
  1690. link.className = 'unava_link';
  1691. cLinksProcessed++;
  1692. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1693. checkLinks('container_link');
  1694. }
  1695. });
  1696. }
  1697. //INNER_LINK
  1698. function processRedirectorLinkEx(link, redirectorId)
  1699. {
  1700. link.className = 'container_link';
  1701. GM_xmlhttpRequest({
  1702. method: 'GET',
  1703. url: link.href,
  1704. headers: {
  1705. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1706. 'Accept': 'text/xml',
  1707. 'Referer': ""
  1708. },
  1709. onload: function(result) {
  1710. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1711. redirectors[redirectorId].cProcessed++;
  1712. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1713. checkLinks('container_link');
  1714. }
  1715. });
  1716. }
  1717. //theloo.katt.it (wrapped safelinking.net)
  1718. function processThelooKattItLink(link, redirectorId)
  1719. {
  1720. link.className = 'container_link';
  1721. GM_xmlhttpRequest({
  1722. method: 'GET',
  1723. url: link.href,
  1724. headers: {
  1725. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1726. 'Accept': 'text/xml',
  1727. 'Referer': ""
  1728. },
  1729. onload: function(result) {
  1730. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1731. redirectors[redirectorId].cProcessed++;
  1732. //the inner links are safelinking.net links, so lets proceed with it
  1733. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1734. {
  1735. processRedirectorLink(link, 0);
  1736. }
  1737. }
  1738. });
  1739. }
  1740. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1741. function processAdfLyLink(link, redirectorId)
  1742. {
  1743. link.className = 'container_link';
  1744. GM_xmlhttpRequest({
  1745. method: 'GET',
  1746. url: link.href,
  1747. headers: {
  1748. 'User-agent': 'Mozilla/4.0',
  1749. 'Accept': 'text/xml',
  1750. 'Referer': ""
  1751. },
  1752. onload: function(result) {
  1753. if (result.finalUrl.match('/locked/'))
  1754. {
  1755. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1756. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1757. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1758. }
  1759. else
  1760. {
  1761. // GM_log('Processing... ' + link.href);
  1762. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1763. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1764. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1765. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1766. //confirm advert
  1767. GM_xmlhttpRequest(
  1768. {
  1769. method: 'POST',
  1770. url: 'http://adf.ly/l.php',
  1771. headers: {
  1772. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1773. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1774. 'Referer': link.href
  1775. },
  1776. data: users + '&lt=' + logToken,
  1777. onload: function(result) {
  1778. //retrieve final url from .../go/... link
  1779. GM_xmlhttpRequest({
  1780. method: 'GET',
  1781. url: directLink,
  1782. headers: {
  1783. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1784. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1785. 'Referer': link.href
  1786. },
  1787. onload: function(result) {
  1788. link.href = result.finalUrl;
  1789. redirectors[redirectorId].cProcessed++;
  1790. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1791. checkLinks('container_link');
  1792. }
  1793. });
  1794. }
  1795. });
  1796. }
  1797. }
  1798. });
  1799. function proceedOK()
  1800. {
  1801. }
  1802. }
  1803. //MULTILOAD.CZ START
  1804. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1805. {
  1806. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1807. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1808.  
  1809. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1810.  
  1811. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1812. hostRestrictionRegex += 'hellshare|';
  1813. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1814. hostRestrictionRegex += 'downloadhellshare|';
  1815. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1816. hostRestrictionRegex += 'share-rapid\\.com|';
  1817. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1818. hostRestrictionRegex += 'quickshare\\.cz|';
  1819. if (GM_getValue("Check_czshare_dot_com_links", false))
  1820. hostRestrictionRegex += 'czshare\\.com|';
  1821. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1822. hostRestrictionRegex += 'hellspy|';
  1823. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1824. hostRestrictionRegex += 'multishare\\.cz|';
  1825.  
  1826. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1827.  
  1828. linkify(mlRegex);
  1829.  
  1830. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1831. var mlCount = mlSnapshot.snapshotLength;
  1832.  
  1833. if (mlCount > 0)
  1834. {
  1835. cMultiloadTotal += mlCount;
  1836.  
  1837. mlIdx = mlCount - 1;
  1838. do
  1839. {
  1840. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1841. }
  1842. while(mlIdx--)
  1843. }
  1844. }
  1845. //MULTILOAD.CZ END
  1846.  
  1847.  
  1848.  
  1849. function processMultiloadLink(mlLink)
  1850. {
  1851. GM_xmlhttpRequest({
  1852. method: 'GET',
  1853. url: mlLink.href,
  1854. headers: {
  1855. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1856. 'Accept': 'text/xml',
  1857. 'Referer': ""
  1858. },
  1859. onload: function(result) {
  1860. var res = result.responseText;
  1861.  
  1862. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1863. 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;
  1864. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1865. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1866.  
  1867. var blocks; // blocks of links
  1868. var blockIdx;
  1869.  
  1870. mlLink.className = '';
  1871.  
  1872. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1873. {
  1874. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1875. return;
  1876. }
  1877.  
  1878. blocks = res.match(innerBlockRegex);
  1879.  
  1880. if (blocks == null) //no links found, cancel further processing
  1881. {
  1882. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1883. cMultiloadProcessed++;
  1884. if (cMultiloadTotal <= cMultiloadProcessed)
  1885. {
  1886. startBulkCheck('container_link');
  1887. start('container_link');
  1888. }
  1889. return;
  1890. }
  1891.  
  1892. blockIdx = blocks.length;
  1893.  
  1894. if (Display_full_links_in_link_containers)
  1895. {
  1896. var ulElm = document.createElement('ul');
  1897. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1898.  
  1899. while(blockIdx--)
  1900. {
  1901. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1902. {
  1903. continue;
  1904. }
  1905.  
  1906. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1907.  
  1908. var linkIdx = innerLinks.length;
  1909. while (linkIdx--)
  1910. {
  1911. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1912.  
  1913. var liElm = document.createElement('li');
  1914.  
  1915. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1916. {
  1917. liElm.appendChild(document.createTextNode(innerLink));
  1918. }
  1919. else
  1920. {
  1921. var aElm = document.createElement('a');
  1922. aElm.innerHTML = innerLink;
  1923. aElm.href = innerLink;
  1924. aElm.className = 'container_link';
  1925.  
  1926. liElm.appendChild(aElm);
  1927. }
  1928.  
  1929. ulElm.appendChild(liElm);
  1930. cLinksTotal++;
  1931. }
  1932. }
  1933.  
  1934. mlLink.parentNode.appendChild(ulElm);
  1935. }
  1936. else //compact view
  1937. {
  1938. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1939.  
  1940. while(blockIdx--)
  1941. {
  1942. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1943. {
  1944. continue;
  1945. }
  1946.  
  1947. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1948.  
  1949. var linkIdx = innerLinks.length;
  1950. while (linkIdx--)
  1951. {
  1952. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1953.  
  1954. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1955. {
  1956. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1957. }
  1958. else
  1959. {
  1960. var aElm = document.createElement('a');
  1961.  
  1962. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1963.  
  1964. //abbreviate host name
  1965. switch(hostName + ""){
  1966.  
  1967. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1968. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1969. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1970. case 'multishare': aElm.innerHTML = 'MS'; break;
  1971. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1972. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1973. case 'czshare': aElm.innerHTML = 'CS'; break;
  1974. default: aElm.innerHTML = 'xx';
  1975.  
  1976. }
  1977.  
  1978. aElm.href = innerLink;
  1979. aElm.className = 'container_link';
  1980.  
  1981. mlLink.parentNode.appendChild(aElm);
  1982. cLinksTotal++;
  1983. }
  1984. }
  1985.  
  1986. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1987.  
  1988. }
  1989. }
  1990.  
  1991. cMultiloadProcessed++;
  1992. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1993. {
  1994. if (Do_not_linkify_DL_links)
  1995. {
  1996. delinkifySnapshot(mlSnapshot);
  1997. }
  1998. startBulkCheck('container_link');
  1999. start('container_link');
  2000. }
  2001. }
  2002. });
  2003. }
  2004.  
  2005.  
  2006. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2007. {
  2008. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2009. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2010. var mcShortHostNames =
  2011. '?? 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';
  2012. // 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
  2013. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2014. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2015. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2016. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2017.  
  2018. linkify(mcRegex);
  2019.  
  2020. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2021. var mcCount = mcSnapshot.snapshotLength;
  2022.  
  2023. cMirrorcreatorComTotal = mcCount;
  2024.  
  2025. if (mcCount > 0)
  2026. {
  2027. mcShortHostNames = mcShortHostNames.split(' ');
  2028. mcIdx = mcCount;
  2029. while(mcIdx--)
  2030. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2031. }
  2032.  
  2033. }
  2034. //MIRRORCREATOR.CZ END
  2035.  
  2036.  
  2037. //mirrorcreator.com checking works like this:
  2038. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2039. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2040. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2041. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2042. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2043. function processMirrorcreatorLink(mcLink)
  2044. {
  2045. var mcURL = mcLink.href.match(mcRegex);
  2046. if(!mcURL || !mcURL[1]) return;
  2047. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2048. GM_xmlhttpRequest({
  2049. method: 'GET',
  2050. url: mcURL,
  2051. headers: {
  2052. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2053. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2054. 'Referer': ""
  2055. },
  2056. onload: function(mcLinkResult) {
  2057. var mcLinkRes = mcLinkResult.responseText;
  2058.  
  2059. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2060. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2061.  
  2062. var mcRedirectors;
  2063. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2064. var m = mcLinkRes.match(mcLinkBlockRegex);
  2065. if (m)
  2066. mcHostsFound = m.length;
  2067. else
  2068. { //no files inside container
  2069. processMirrorcreatorFoundHosts(mcLink, []);
  2070. return;
  2071. }
  2072.  
  2073. var mcRedirectorURL, idx, timedOut = false;
  2074.  
  2075. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2076. GM_xmlhttpRequest({
  2077. method: 'GET',
  2078. url: mcRedirectorURL,
  2079. headers: {
  2080. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2081. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2082. 'Referer': ""
  2083. },
  2084. onload: function(mcHostResult) {
  2085. if (timedOut) return; //too late, the list is already displayed
  2086. var mcHostRes = mcHostResult.responseText;
  2087. var mcHost = mcHostRes.match(mcHostRegex);
  2088. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2089. if (mcHost && idx!=-1)
  2090. {
  2091. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2092. mcHostsRetrieved++;
  2093. mcHostsToProcess++;
  2094. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2095. {
  2096. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2097. mcHostsToProcess = 0;
  2098. }
  2099. }
  2100. } //end of onload: function
  2101. }); //end of GM_xmlhttpRequest call
  2102. };//end of var gmxhrFunc
  2103.  
  2104. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2105. { //load individual redirector pages
  2106. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2107. mcHostURLs.push(mcRedirectorURL);
  2108. mcRedirectorIDs.push(mcRedirectors[2]);
  2109. gmxhrFunc(mcRedirectorURL);
  2110. } //end of while block
  2111.  
  2112. setTimeout(function(){ //in case the last page fails to load and call the function
  2113. timedOut = true;
  2114. if (mcHostsToProcess)
  2115. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2116. }, 60000);
  2117.  
  2118. } //end of onload function
  2119. }); //end of GM_xmlhttpRequest call
  2120. } //end of function processMirrorcreatorLink
  2121.  
  2122.  
  2123. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2124. {
  2125. var aEl, liEl, docFrag;
  2126. var hostName, mcRedirectorID, trimFilename = false;
  2127. var i = mcHostURLs.length;
  2128. if (i == 0)
  2129. {
  2130. trimFilename = true;
  2131. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2132. }
  2133. else
  2134. {
  2135. if (Display_full_links_in_link_containers)
  2136. { //full view
  2137. var wrapperEl = document.createElement('span');
  2138. wrapperEl.style.display = 'block';
  2139. var ulistEl = document.createElement('ul');
  2140. ulistEl.className = 'container_list';
  2141. while (i--)
  2142. {
  2143. liEl = document.createElement('li');
  2144. aEl = document.createElement('a');
  2145. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2146. aEl.href = mcHostURLs[i];
  2147. aEl.className = 'container_link';
  2148. liEl.appendChild(aEl);
  2149. ulistEl.appendChild(liEl);
  2150. }
  2151. wrapperEl.appendChild(ulistEl);
  2152. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2153. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2154. }
  2155. else
  2156. { //compact view
  2157. trimFilename = true;
  2158. docFrag = document.createDocumentFragment();
  2159. docFrag.appendChild(document.createTextNode(' |'));
  2160. while (i--)
  2161. {
  2162. mcRedirectorID = mcRedirectorIDs[i];
  2163. hostName = mcHostURLs[i];
  2164. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2165. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2166. else
  2167. hostName = mcShortHostNames[mcRedirectorID];
  2168. aEl = document.createElement('a');
  2169. aEl.href = mcHostURLs[i];
  2170. aEl.className = 'container_link';
  2171. aEl.appendChild(document.createTextNode(hostName));
  2172. docFrag.appendChild(aEl);
  2173. docFrag.appendChild(document.createTextNode('|'));
  2174. }
  2175. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2176. } //end of else block
  2177. } //end of else block
  2178. mcLink.className = '';
  2179. if (trimFilename)
  2180. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2181. cMirrorcreatorComProcessed++;
  2182. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2183. {
  2184. if (Do_not_linkify_DL_links)
  2185. delinkifySnapshot(mcSnapshot);
  2186. startBulkCheck('container_link');
  2187. start('container_link');
  2188. }
  2189. } //end of function processMirrorcreatorFoundHosts
  2190.  
  2191. containers_processed = true;
  2192.  
  2193.  
  2194. function initRedirectors()
  2195. {
  2196. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2197. {
  2198. var redirector = new Object();
  2199. redirector.linkRegex = linkRegex;
  2200. redirector.xpath = xpathEx; //xpath expression
  2201. redirector.cProcessed = 0; //processed links count
  2202. redirector.cTotal = 0; //total links count
  2203. redirector.type = redirType; //redirectorTypes enum
  2204. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2205. redirectors.push(redirector);
  2206. }
  2207. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2208. {
  2209. addRedirector(
  2210. 'safelinking\\.net\/d\/\\w+',
  2211. "//a[contains(@href,'safelinking.net/d/')]",
  2212. redirectorTypes.HTTP_302,
  2213. null);
  2214. }
  2215. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2216. {
  2217. addRedirector(
  2218. 'linksafe\\.me\/d\/\\w+',
  2219. "//a[contains(@href,'linksafe.me/d/')]",
  2220. redirectorTypes.HTTP_302,
  2221. null);
  2222. }
  2223. if (GM_getValue("Check_linkto_dot_net_links", false))
  2224. {
  2225. addRedirector(
  2226. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2227. "//a[contains(@href,'linkto.net/?')]",
  2228. redirectorTypes.INNER_LINK,
  2229. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2230. }
  2231. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2232. {
  2233. addRedirector(
  2234. '(?:the)?loo\\.katt\\.it\/\\w+',
  2235. "//a[contains(@href,'loo.katt.it/')]",
  2236. redirectorTypes.THELOO_KATT_IT,
  2237. /Proceed to URL - <a href="(.+?)">/);
  2238. }
  2239. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2240. {
  2241. addRedirector(
  2242. 'madlink\\.sk\/\\w+',
  2243. "//a[contains(@href,'madlink.sk/')]",
  2244. redirectorTypes.INNER_LINK,
  2245. /name="url" value="(.+?)\s*"\/>/);
  2246. }
  2247. if (GM_getValue("Check_adf_dot_ly_links", false))
  2248. {
  2249. addRedirector(
  2250. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2251. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2252. redirectorTypes.ADF_LY,
  2253. null);
  2254. }
  2255. if (GM_getValue("Check_redi_dot_re_links", false))
  2256. {
  2257. addRedirector(
  2258. 'redi\\.re\/\\w+',
  2259. "//a[contains(@href,'redi.re/')]",
  2260. redirectorTypes.HTTP_302,
  2261. null);
  2262. }
  2263. if (GM_getValue("Check_bit_dot_ly_links", false))
  2264. {
  2265. addRedirector(
  2266. 'bit\\.ly\/\\w+',
  2267. "//a[contains(@href,'bit.ly/')]",
  2268. redirectorTypes.HTTP_302,
  2269. null);
  2270. }
  2271. }
  2272.  
  2273. }
  2274.  
  2275. var bulkHosts = new Array();
  2276. var bulkHostNames = new Array();
  2277. function initBulkCheck()
  2278. {
  2279. /////////////////////////////
  2280. // Inits filehost object
  2281. /////////////////////////////
  2282. // params :
  2283. // hostName -- [string] host name (multiple domains separated with coma)
  2284. // linkRegex -- [string] link regex
  2285. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2286. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2287. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2288. // corrReplWhat -- [regex] link correction regex (replace)
  2289. // corrReplWith -- [string]
  2290. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2291. //
  2292. // apiUrl -- [string] web linkchecker or API URL
  2293. // postData -- [string] POSTDATA of xmlhttprequest
  2294. // resLinkRegex -- [regex]
  2295. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2296. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2297. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2298. // func -- [function] bulkcheck handler, genBulkCheck if null
  2299. //
  2300. //////////////////////////////
  2301. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2302. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2303. {
  2304. var fileHost = new Object();
  2305.  
  2306. fileHost.linkRegex = linkRegex;
  2307. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2308. fileHost.xpath = xpath;
  2309. fileHost.cFound = 0; //found links counter
  2310. fileHost.links = new Array(); //found links
  2311. if (blockSize == null)
  2312. {
  2313. fileHost.blockSize = 50;
  2314. }
  2315. else
  2316. {
  2317. fileHost.blockSize = blockSize;
  2318. }
  2319. fileHost.corrMatch = corrMatch;
  2320. fileHost.corrReplWhat = corrReplWhat;
  2321. fileHost.corrReplWith = corrReplWith;
  2322. if (splitSeparator == null)
  2323. {
  2324. fileHost.splitSeparator = "\r\n";
  2325. }
  2326. else
  2327. {
  2328. fileHost.splitSeparator = splitSeparator;
  2329. }
  2330. fileHost.apiUrl = apiUrl;
  2331. fileHost.postData = postData;
  2332. fileHost.resLinkRegex = resLinkRegex;
  2333. fileHost.resLiveRegex = resLiveRegex;
  2334. fileHost.resDeadRegex = resDeadRegex;
  2335. fileHost.resUnavaRegex = resUnavaRegex;
  2336. if (func == null)
  2337. {
  2338. fileHost.func = genBulkCheck;
  2339. }
  2340. else
  2341. {
  2342. fileHost.func = func;
  2343. }
  2344. bulkHosts.push(fileHost);
  2345. var names = hostName.split(',');
  2346. var i = names.length;
  2347. while(i--)
  2348. {
  2349. bulkHostNames[names[i]] = fileHost;
  2350. }
  2351. }
  2352. var genType1 = [
  2353. "rodfile.com", "downloadani.me", //"migahost.com",
  2354. "rarefile.net",
  2355. "filesabc.com",
  2356. // "verzend.be",
  2357. // "movreel.com",
  2358. "file4safe.com", "filemac.com",
  2359. "longfiles.com",
  2360. "bitupload.com", //"4up.me",
  2361. //"uploadbaz.com"
  2362. ];
  2363. var genType2 = [ "queenshare.com",
  2364. "hulkload.com",
  2365. "amonshare.com", //"edoc.com",
  2366. ];
  2367. //xfilesharing 1.0
  2368. function addGenericType1()
  2369. {
  2370. var i = genType1.length;
  2371. while(i--)
  2372. {
  2373. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2374. {
  2375. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2376. addHost(
  2377. genType1[i].match(/[\w-]+/)[0], //hostname
  2378. regexSafe + "\/\\w+", //linkregex
  2379. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2380. null, //blocksize
  2381. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2382. null, //corrreplwhat
  2383. null, //corrreplwith
  2384. null, //separator
  2385. "http://" + genType1[i] + "/checkfiles.html", //api url
  2386. "op=checkfiles&process=Check+URLs&list=", //postdata
  2387. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2388. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2389. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2390. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2391. null //function delegate
  2392. )
  2393. }
  2394. }
  2395. }
  2396. //xfilesharing 2.0
  2397. function addGenericType2()
  2398. {
  2399. var i = genType2.length;
  2400. while(i--)
  2401. {
  2402. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2403. {
  2404. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2405. addHost(
  2406. genType2[i].match(/[\w-]+/)[0], //hostname
  2407. regexSafe + "\/\\w+", //linkregex
  2408. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2409. null, //blocksize
  2410. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2411. null, //corrreplwhat
  2412. null, //corrreplwith
  2413. null, //separator
  2414. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2415. "op=checkfiles&process=Check+URLs&list=", //postdata
  2416. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2417. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2418. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2419. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2420. null //function delegate
  2421. )
  2422. }
  2423. }
  2424. }
  2425. // TEMPLATE
  2426. // if (GM_getValue("Check__dot_com_links", false))
  2427. // {
  2428. // addHost(
  2429. // "", //hostname
  2430. // "", //linkregex
  2431. // "//a[contains(@href,'.com/')]", //xpath
  2432. // null, //blocksize
  2433. // null, //corrmatch
  2434. // null, //corrreplwhat
  2435. // null, //corrreplwith
  2436. // null, //separator
  2437. // "", //api url
  2438. // "", //postdata
  2439. // /()/, //linkregex
  2440. // //liveregex
  2441. // //deadregex
  2442. // //unavaregex
  2443. // null //function delegate
  2444. // )
  2445. // }
  2446. addGenericType1();
  2447. addGenericType2();
  2448.  
  2449. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2450. {
  2451. addHost(
  2452. "myvdrive,fileserving", //hostname
  2453. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2454. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2455. null, //blocksize
  2456. null, //corrmatch
  2457. null, //corrreplwhat
  2458. null, //corrreplwith
  2459. null, //separator
  2460. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2461. "links=", //postdata
  2462. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2463. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2464. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2465. null, //unavaregex
  2466. null //function delegate
  2467. )
  2468. }
  2469. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2470. {
  2471. addHost(
  2472. "hackerbox", //hostname
  2473. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2474. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2475. null, //blocksize
  2476. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2477. null, //corrreplwhat
  2478. null, //corrreplwith
  2479. null, //separator
  2480. "http://host.hackerbox.org/checkfiles.html", //api url
  2481. "op=checkfiles&process=Check+URLs&list=", //postdata
  2482. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2483. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2484. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2485. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2486. null //function delegate
  2487. )
  2488. }
  2489. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2490. {
  2491. addHost(
  2492. "hellshare", //hostname
  2493. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2494. "//a[contains(@href,'hellshare.')]", //xpath
  2495. 48, //blocksize
  2496. null, //corrmatch
  2497. null, //corrreplwhat
  2498. null, //corrreplwith
  2499. null, //separator
  2500. null, //api url
  2501. null, //postdata
  2502. null, //linkregex
  2503. null, //liveregex
  2504. null, //deadregex
  2505. null, //unavaregex
  2506. hellshareBulkCheck //function delegate
  2507. )
  2508. }
  2509. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2510. {
  2511. addHost(
  2512. "uploadrocket", //hostname
  2513. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2514. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2515. null, //blocksize
  2516. null, //corrmatch
  2517. null, //corrreplwhat
  2518. null, //corrreplwith
  2519. "\n", //separator
  2520. 'http://uploadrocket.net/?op=checkfiles',
  2521. 'op=checkfiles&process=Check+URLs&list=',
  2522. /uploadrocket.net\/(\w+)/,
  2523. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2524. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2525. null,
  2526. null //function delegate
  2527. )
  2528. }
  2529. if (GM_getValue("Check_uploading_dot_site_links", false))
  2530. {
  2531. addHost(
  2532. "uploading", //hostname
  2533. "(?:uploading\\.site)\/\\w+", //linkregex
  2534. "//a[contains(@href,'uploading.site/')]", //xpath
  2535. null, //blocksize
  2536. null, //corrmatch
  2537. null, //corrreplwhat
  2538. null, //corrreplwith
  2539. "\n", //separator
  2540. 'http://uploading.site/?op=checkfiles',
  2541. 'op=checkfiles&process=Check+URLs&list=',
  2542. /uploading.site\/(\w+)/,
  2543. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2544. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2545. null,
  2546. null //function delegate
  2547. )
  2548. }
  2549. if (GM_getValue("Check_1f_dot_al_links", false))
  2550. {
  2551. addHost(
  2552. "1f",
  2553. "(?:1f\\.al)\/d\/\\w+",
  2554. "//a[contains(@href,'1f.al/d/')]",
  2555. 100000, //blocksize
  2556. null, //corrmatch
  2557. null, //corrreplwhat
  2558. null, //corrreplwith
  2559. null, //separator
  2560. null,
  2561. null,
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. _1falBulkCheck //function delegate
  2567. )
  2568. }
  2569. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2570. {
  2571. addHost(
  2572. "k2s,keep2s,keep2share",
  2573. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2574. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2575. 100000, //blocksize
  2576. null, //corrmatch
  2577. null, //corrreplwhat
  2578. null, //corrreplwith
  2579. null, //separator
  2580. null,
  2581. null,
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. k2sBulkCheck //function delegate
  2587. )
  2588. }
  2589. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2590. {
  2591. addHost(
  2592. "tezfiles",
  2593. "(?:tezfiles\\.com)\/\\w+",
  2594. "//a[contains(@href,'tezfiles.com')]",
  2595. 100000, //blocksize
  2596. null, //corrmatch
  2597. null, //corrreplwhat
  2598. null, //corrreplwith
  2599. null, //separator
  2600. null,
  2601. null,
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. k2sBulkCheck //function delegate
  2607. )
  2608. }
  2609. if (GM_getValue("Check_fboom_dot_me_links", false))
  2610. {
  2611. addHost(
  2612. "fboom,fileboom",
  2613. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2614. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2615. 100000, //blocksize
  2616. null, //corrmatch
  2617. null, //corrreplwhat
  2618. null, //corrreplwith
  2619. null, //separator
  2620. null,
  2621. null,
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. fboomBulkCheck //function delegate
  2627. )
  2628. }
  2629. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2630. {
  2631. addHost(
  2632. "1fichier,dl4free",
  2633. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2634. "//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/?')]",
  2635. 100000, //blocksize
  2636. null, //corrmatch
  2637. null, //corrreplwhat
  2638. null, //corrreplwith
  2639. null, //separator
  2640. null,
  2641. null,
  2642. null,
  2643. null,
  2644. null,
  2645. null,
  2646. dl4free_1fichier_BulkCheck //function delegate
  2647. )
  2648. }
  2649. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2650. {
  2651. addHost(
  2652. "nitroflare",
  2653. "nitroflare\\.com\/\\w+",
  2654. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2655. 100000, //blocksize
  2656. null, //corrmatch
  2657. null, //corrreplwhat
  2658. null, //corrreplwith
  2659. null, //separator
  2660. null,
  2661. null,
  2662. null,
  2663. null,
  2664. null,
  2665. null,
  2666. nitroflareBulkCheck //function delegate
  2667. )
  2668. }
  2669. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2670. {
  2671. addHost(
  2672. "depositfiles,dfiles",
  2673. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2674. "//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/')]",
  2675. 100000, //blocksize
  2676. null, //corrmatch
  2677. null, //corrreplwhat
  2678. null, //corrreplwith
  2679. null, //separator
  2680. null,
  2681. null,
  2682. null,
  2683. null,
  2684. null,
  2685. null,
  2686. depositfilesBulkCheck //function delegate
  2687. )
  2688. }
  2689. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2690. {
  2691. addHost(
  2692. "filesflash", //hostname
  2693. "filesflash\\.com\/\\w+", //linkregex
  2694. "//a[contains(@href,'filesflash.com')]", //xpath
  2695. null, //blocksize
  2696. null, //corrmatch
  2697. /http:\/\//, //corrreplwhat
  2698. '', //corrreplwith
  2699. null, //separator
  2700. 'http://filesflash.com/checklinks.php',
  2701. 'submit=Go&links=',
  2702. /filesflash\.com\/(\w+)/,
  2703. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2704. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2705. null,
  2706. null //function delegate
  2707. )
  2708. }
  2709. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2710. {
  2711. addHost(
  2712. "jumbofiles", //hostname
  2713. "jumbofiles\\.com\/\\w+", //linkregex
  2714. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2715. null, //blocksize
  2716. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2717. null, //corrreplwhat
  2718. null, //corrreplwith
  2719. null, //separator
  2720. "http://jumbofiles.com/checkfiles.html", //api url
  2721. "op=checkfiles&process=Check+URLs&list=", //postdata
  2722. /(jumbofiles\.com\/\w+)/, //linkregex
  2723. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2724. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2725. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2726. null //function delegate
  2727. )
  2728. }*/
  2729. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2730. {
  2731. addHost(
  2732. "edisk", //hostname
  2733. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2734. "//a[contains(@href,'edisk.')]", //xpath
  2735. null, //blocksize
  2736. null, //corrmatch
  2737. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2738. 'edisk.cz/stahni', //corrreplwith
  2739. null, //separator
  2740. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2741. 'submitBtn=Zkontrolovat&checkFiles=',
  2742. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2743. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2744. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2745. null,
  2746. null //function delegate
  2747. )
  2748. }
  2749. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2750. {
  2751. GM_xmlhttpRequest( //age check skip
  2752. {
  2753. method: 'POST',
  2754. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2755. headers: {
  2756. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2757. 'Content-type': 'application/x-www-form-urlencoded',
  2758. 'Referer': ""
  2759. }
  2760. });
  2761. addHost(
  2762. "bezvadata", //hostname
  2763. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2764. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2765. null, //blocksize
  2766. null, //corrmatch
  2767. null, //corrreplwhat
  2768. null, //corrreplwith
  2769. null, //separator
  2770. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2771. 'zkontrolovat=Zkontrolovat&odkazy=',
  2772. /(bezvadata\.cz\/stahnout\/\d+)/,
  2773. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2774. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2775. null,
  2776. null //function delegate
  2777. )
  2778. }
  2779. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2780. {
  2781. addHost(
  2782. "linkcrypt", //hostname
  2783. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2784. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2785. 100000, //blocksize
  2786. null, //corrmatch
  2787. null, //corrreplwhat
  2788. null, //corrreplwith
  2789. null, //separator
  2790. null,
  2791. null,
  2792. null,
  2793. null,
  2794. null,
  2795. null,
  2796. linkcryptBulkCheck //function delegate
  2797. )
  2798. }
  2799. if (GM_getValue("Check_videobb_dot_com_links", false))
  2800. {
  2801. addHost(
  2802. "videobb", //hostname
  2803. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2804. "//a[contains(@href,'videobb.com')]", //xpath
  2805. null, //blocksize
  2806. null, //corrmatch
  2807. /watch_video\.php\?v=/, //corrreplwhat
  2808. 'video/', //corrreplwith
  2809. null, //separator
  2810. 'http://www.videobb.com/link_checker.php',
  2811. 'links=',
  2812. /videobb\.com\/video\/(\w+)/,
  2813. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2814. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2815. null,
  2816. null //function delegate
  2817. )
  2818. }
  2819. if (GM_getValue("Check_filerio_dot_com_links", false))
  2820. {
  2821. addHost(
  2822. "filekeen,filerio", //hostname
  2823. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2824. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2825. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2826. null, //blocksize
  2827. null, //corrmatch
  2828. null, //corrreplwhat
  2829. null, //corrreplwith
  2830. null, //separator
  2831. 'http://filerio.in/checkfiles.html',
  2832. 'op=checkfiles&process=Check+URLs&list=',
  2833. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2834. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2835. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2836. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2837. null //function delegate
  2838. )
  2839. }
  2840. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2841. {
  2842. addHost(
  2843. "share-online,egoshare", //hostname
  2844. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2845. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2846. null, //blocksize
  2847. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2848. null, //corrreplwhat
  2849. null, //corrreplwith
  2850. "\n", //separator
  2851. 'http://api.share-online.biz/linkcheck.php',
  2852. 'links=',
  2853. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2854. /\w+;OK/g,
  2855. /\w+;(?:NOTFOUND|DELETED)/g,
  2856. null,
  2857. null //function delegate
  2858. )
  2859. }
  2860. if (GM_getValue("Check_oboom_dot_com_links", false))
  2861. {
  2862. addHost(
  2863. "oboom", //hostname
  2864. "oboom\\.com\/#?\\w{8}", //linkregex
  2865. "//a[contains(@href,'oboom.com/')]", //xpath
  2866. null, //blocksize
  2867. /oboom\.com\/#?(\w{8})/, //corrmatch
  2868. null, //corrreplwhat
  2869. null, //corrreplwith
  2870. null, //separator
  2871. null,
  2872. null,
  2873. null,
  2874. null, //liveregex
  2875. null, //deadregex
  2876. null,
  2877. oboomBulk //function delegate
  2878. )
  2879. }
  2880. if (GM_getValue("Check_mega_dot_nz_links", false))
  2881. {
  2882. addHost(
  2883. "mega",
  2884. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2885. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2886. 100000, //blocksize
  2887. null, //corrmatch
  2888. null, //corrreplwhat
  2889. null, //corrreplwith
  2890. null, //separator
  2891. null,
  2892. null,
  2893. null,
  2894. null,
  2895. null,
  2896. null,
  2897. megaBulkCheck //function delegate
  2898. )
  2899. }
  2900.  
  2901. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2902.  
  2903. if (GM_getValue("Check_extabit_dot_com_links", false))
  2904. {
  2905. addHost(
  2906. "extabit", //hostname
  2907. "extabit\\.com\/file\/\\w+", //linkregex
  2908. "//a[contains(@href,'extabit.com')]", //xpath
  2909. null, //blocksize
  2910. null, //corrmatch
  2911. null, //corrreplwhat
  2912. null, //corrreplwith
  2913. "\n", //separator
  2914. "http://extabit.com/linkchecker.jsp", //api url
  2915. "url=", //postdata
  2916. /extabit\.com\/(file\/\w+)/, //linkregex
  2917. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2918. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2919. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2920. extabitBulkCheck //function delegate
  2921. )
  2922. }
  2923. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2924. {
  2925. addHost(
  2926. "junocloud", //hostname
  2927. "junocloud\\.me\/\\w+", //linkregex
  2928. "//a[contains(@href,'junocloud.me')]", //xpath
  2929. null, //blocksize
  2930. null, //corrmatch
  2931. null, //corrreplwhat
  2932. null, //corrreplwith
  2933. "\n", //separator
  2934. "http://junocloud.me/checkfiles.html", //api url
  2935. "op=checkfiles&process=Check+URLs&list=", //postdata
  2936. /(junocloud\.me\/\w+)/, //linkregex
  2937. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2938. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2939. null, //unavaregex
  2940. null //function delegate
  2941. )
  2942. }
  2943. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2944. {
  2945. addHost(
  2946. "webshare", //hostname
  2947. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2948. "//a[contains(@href,'webshare.cz')]", //xpath
  2949. 100000, //blocksize
  2950. null, //corrmatch
  2951. null, //corrreplwhat
  2952. null, //corrreplwith
  2953. null, //separator
  2954. null, //api url
  2955. null, //postdata
  2956. null, //linkregex
  2957. null, //liveregex
  2958. null, //deadregex
  2959. null, //unavaregex
  2960. webshareBulkCheck //function delegate
  2961. )
  2962. }
  2963. /////////////////////////////
  2964. // Common function delegate to send links to get checked by host linkchecker
  2965. /////////////////////////////
  2966. // If you define a new delegate, you may use following properties
  2967. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2968. // this.apiUrl [string] API or web linkchecker URL
  2969. // this.postData [string] POSTDATA for POST request
  2970. // this.resLiveRegex [regex] matches live substrings in the request response
  2971. // this.resDeadRegex [regex] matches dead substrings in the request response
  2972. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2973. //
  2974. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2975. //
  2976. // See the code below for standard bulkcheck handling reference.
  2977. //////////////////////////////
  2978. function genBulkCheck()
  2979. {
  2980. var blockIdx = this.links.length;
  2981. while (blockIdx--)
  2982. {
  2983. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2984. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2985. }
  2986. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2987. {
  2988. GM_xmlhttpRequest(
  2989. {
  2990. method: 'POST',
  2991. url: api,
  2992. headers: {
  2993. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2994. 'Content-type': 'application/x-www-form-urlencoded',
  2995. 'Referer': api,
  2996. 'X-Requested-With': 'XMLHttpRequest'
  2997. },
  2998. data: postData + encodeURIComponent(links),
  2999. onload: function (result)
  3000. {
  3001. var res = result.responseText;
  3002. // GM_log(res);
  3003. var i;
  3004.  
  3005. var livelinks = res.match(liveRegex);
  3006. var deadlinks = res.match(deadRegex);
  3007. // GM_log(livelinks);
  3008. // GM_log(deadlinks);
  3009. if (livelinks != null)
  3010. {
  3011. i = livelinks.length - 1;
  3012. do
  3013. {
  3014. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3015. }
  3016. while (i--);
  3017. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3018. }
  3019.  
  3020. if (deadlinks != null)
  3021. {
  3022. i = deadlinks.length - 1;
  3023. do
  3024. {
  3025. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3026. }
  3027. while (i--);
  3028. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3029. }
  3030.  
  3031. if (unavaRegex != null)
  3032. {
  3033. var unavalinks = res.match(unavaRegex);
  3034. if (unavalinks)
  3035. {
  3036. i = unavalinks.length - 1;
  3037. do
  3038. {
  3039. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3040. }
  3041. while (i--);
  3042. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3043. }
  3044. }
  3045. }
  3046. });
  3047. }
  3048. }
  3049. //specialized bulkchecking handlers follow
  3050. function webshareBulkCheck()
  3051. {
  3052. var arr = this.links[0].split("\r\n");
  3053. var i = arr.length;
  3054. while(i--)
  3055. {
  3056. postRequest(arr[i]);
  3057. }
  3058. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3059. function postRequest(wsLink)
  3060. {
  3061. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3062. GM_xmlhttpRequest(
  3063. {
  3064. method: 'POST',
  3065. url: "http://webshare.cz/api/file_info/",
  3066. headers: {
  3067. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3068. 'Content-type': 'application/x-www-form-urlencoded',
  3069. 'Referer': "",
  3070. },
  3071. data: "wst=&ident=" + id,
  3072. onload: function (result)
  3073. {
  3074. var res = result.responseText;
  3075. if (res.match(/<name>.+?<\/name>/))
  3076. {
  3077. DisplayTheCheckedLinks([id], 'alive_link');
  3078. }
  3079. else
  3080. {
  3081. DisplayTheCheckedLinks([id], 'adead_link');
  3082. }
  3083. }
  3084. });
  3085. }
  3086. }
  3087. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3088. //extabit also doesn't like requests in fast succession, so some delays are added.
  3089. function extabitBulkCheck()
  3090. {
  3091. var timeoutDelay = 0;
  3092. var blockIdx = this.links.length;
  3093. while (blockIdx--)
  3094. {
  3095. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3096. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3097. }
  3098. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3099. {
  3100. GM_xmlhttpRequest(
  3101. {
  3102. method: 'POST',
  3103. url: api,
  3104. headers: {
  3105. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3106. 'Content-type': 'application/x-www-form-urlencoded',
  3107. 'Referer': api,
  3108. 'X-Requested-With': 'XMLHttpRequest'
  3109. },
  3110. data: postData + encodeURIComponent(links),
  3111. onload: function (result)
  3112. {
  3113. var res = result.responseText;
  3114. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3115. {
  3116. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3117. {
  3118. //GM_log(tryID + ': ' + link);
  3119. GM_xmlhttpRequest(
  3120. {
  3121. method: 'GET',
  3122. url: link,
  3123. 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': ""},
  3124. onload: function(result2)
  3125. {
  3126. var res2 = result2.responseText;
  3127. var res2Status = result.status;
  3128. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3129. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3130. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3131. {
  3132. if (tryID < 7)
  3133. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3134. else
  3135. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3136. }
  3137. }
  3138. });
  3139. }
  3140. //split the hrefs and check them one by one
  3141. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3142. links = links.split('\n');
  3143. var i = links.length;
  3144. while (i--)
  3145. {
  3146. if (links[i])
  3147. {
  3148. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3149. timeoutDelay += 500;
  3150. }
  3151. }
  3152. return;
  3153. }
  3154. var i;
  3155.  
  3156. var livelinks = res.match(liveRegex);
  3157. var deadlinks = res.match(deadRegex);
  3158. if (livelinks != null)
  3159. {
  3160. i = livelinks.length - 1;
  3161. do
  3162. {
  3163. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3164. }
  3165. while (i--);
  3166. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3167. }
  3168.  
  3169. if (deadlinks != null)
  3170. {
  3171. i = deadlinks.length - 1;
  3172. do
  3173. {
  3174. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3175. }
  3176. while (i--);
  3177. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3178. }
  3179.  
  3180. if (unavaRegex != null)
  3181. {
  3182. var unavalinks = res.match(unavaRegex);
  3183. if (unavalinks)
  3184. {
  3185. i = unavalinks.length - 1;
  3186. do
  3187. {
  3188. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3189. }
  3190. while (i--);
  3191. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3192. }
  3193. }
  3194. }
  3195. });
  3196. }
  3197. }
  3198. function _1falBulkCheck()
  3199. {
  3200. var arr = this.links[0].split("\r\n");
  3201. var i = arr.length;
  3202. c=0;
  3203. arrIDs=[];
  3204. while(i--)
  3205. {
  3206. id = arr[i].match(/\/d\/(\w+)/)[1];
  3207.  
  3208. _1falalreadyexist=false;
  3209. for (j=0;j<arrIDs.length;j++)
  3210. {
  3211. if (arrIDs[j]==id)
  3212. {
  3213. _1falalreadyexist=g
  3214. break;
  3215. }
  3216. }
  3217. if (_1falalreadyexist) continue;
  3218. arrIDs.push(id);
  3219. c++;
  3220. setTimeout(_1falRequest,c*500,arr[i]);
  3221. }
  3222. }
  3223. function _1falRequest(_1falLink)
  3224. {
  3225. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3226. GM_xmlhttpRequest(
  3227. {
  3228. method: 'GET',
  3229. url: _1falLink,
  3230. headers: {
  3231. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3232. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3233. 'Referer': 'http://www.planetsuzy.org/'
  3234. },
  3235. onload: function (result)
  3236. {
  3237. var res = result.responseText;
  3238. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3239. if (FAarr!=null)
  3240. {
  3241. FALink=FAarr[1];
  3242. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3243. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3244. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3245. GM_xmlhttpRequest(
  3246. {
  3247. method: 'POST',
  3248. url: FALink,
  3249. headers: {
  3250. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3251. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3252. 'Content-Type': 'application/x-www-form-urlencoded',
  3253. 'Referer': _1falLink
  3254. },
  3255. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3256. onload: function (_2ndresult)
  3257. {
  3258. var newres = _2ndresult.responseText;
  3259. FAalivelink=new RegExp("method_free");
  3260. if (FAalivelink.test(newres))
  3261. {
  3262. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3263. return;
  3264. }
  3265. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3266. if (FAdeadlink.test(newres))
  3267. {
  3268. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3269. return;
  3270. }
  3271. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3272. return;
  3273. }
  3274. });
  3275. return;
  3276. }
  3277. else
  3278. {
  3279. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3280. return;
  3281. }
  3282. },
  3283. onerror: function ()
  3284. {
  3285. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3286. return;
  3287. }
  3288. });
  3289. }
  3290. function k2sBulkCheck()
  3291. {
  3292. var arr = this.links[0].split("\r\n");
  3293. var i = arr.length;
  3294. c=0;
  3295. arrIDs=[];
  3296. while(i--)
  3297. {
  3298. id = arr[i].match(/\/file\/(\w+)/)[1];
  3299. if (id=='info')
  3300. {
  3301. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3302. continue;
  3303. }
  3304. k2salreadyexist=false;
  3305. for (j=0;j<arrIDs.length;j++)
  3306. {
  3307. if (arrIDs[j]==id)
  3308. {
  3309. k2salreadyexist=g
  3310. break;
  3311. }
  3312. }
  3313. if (k2salreadyexist) continue;
  3314. arrIDs.push(id);
  3315. c++;
  3316. setTimeout(k2sRequest,c*500,arr[i]);
  3317. }
  3318. }
  3319. function k2sRequest(K2SLink)
  3320. {
  3321. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3322. GM_xmlhttpRequest(
  3323. {
  3324. method: 'GET',
  3325. url: K2SLink,
  3326. headers: {
  3327. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3328. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3329. 'Referer': ''
  3330. },
  3331. onload: function (result)
  3332. {
  3333. var res = result.responseText;
  3334. K2Dom='k2s.cc';
  3335. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3336. K2SLink2='http://'+K2Dom+'/file/'+id;
  3337.  
  3338. 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'))
  3339. {
  3340. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3341. return;
  3342. }
  3343. if (res.match('method="post">Displaying'))
  3344. {
  3345. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3346. return;
  3347. }
  3348. if (res.match('Premium only|only for premium members'))
  3349. {
  3350. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3351. return;
  3352. }
  3353. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3354. {
  3355. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3356. slID=slow_id.exec(res)[1];
  3357. GM_xmlhttpRequest(
  3358. {
  3359. method: 'POST',
  3360. url: K2SLink2,
  3361. headers: {
  3362. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3363. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3364. 'Content-Type': 'application/x-www-form-urlencoded',
  3365. 'Referer': K2SLink
  3366. },
  3367. data: 'slow_id='+slID+'&yt0=',
  3368. onload: function (result)
  3369. {
  3370. var newres = result.responseText;
  3371. newoversizedtest=new RegExp("Free user can't download large files.");
  3372. if (newoversizedtest.test(newres))
  3373. {
  3374. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3375. return;
  3376. }
  3377. else
  3378. {
  3379. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3380. return;
  3381. }
  3382. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3383. return;
  3384. }
  3385. });
  3386. /////////////////////end additional check for oversized links
  3387. return;
  3388. }
  3389. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3390. return;
  3391. },
  3392. onerror: function ()
  3393. {
  3394. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3395. return;
  3396. }
  3397. });
  3398. }
  3399. function fboomBulkCheck()
  3400. {
  3401. var arr = this.links[0].split("\r\n");
  3402. var i = arr.length;
  3403. c=0;
  3404. arrIDs=[];
  3405. while(i--)
  3406. {
  3407. id = arr[i].match(/\/file\/(\w+)/)[1];
  3408. if (id=='info')
  3409. {
  3410. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3411. continue;
  3412. }
  3413. fbalreadyexist=false;
  3414. for (j=0;j<arrIDs.length;j++)
  3415. {
  3416. if (arrIDs[j]==id)
  3417. {
  3418. fbalreadyexist=true;
  3419. break;
  3420. }
  3421. }
  3422. if (fbalreadyexist) continue;
  3423. arrIDs.push(id);
  3424. c++;
  3425. setTimeout(fboomRequest,c*500,arr[i]);
  3426. }
  3427. }
  3428. function fboomRequest(FBoomLink)
  3429. {
  3430. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3431. FBoomLink2='http://fboom.me/file/'+id;
  3432. GM_xmlhttpRequest(
  3433. {
  3434. method: 'GET',
  3435. url: FBoomLink,
  3436. headers: {
  3437. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3438. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3439. 'Referer': ''
  3440. },
  3441. onload: function (result)
  3442. {
  3443. var res = result.responseText;
  3444. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3445. {
  3446. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3447. return;
  3448. }
  3449. if (res.match('method="post">Displaying'))
  3450. {
  3451. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3452. return;
  3453. }
  3454. if (res.match('only for premium members'))
  3455. {
  3456. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3457. return;
  3458. }
  3459. if (res.match('id="download-free" href="#"'))
  3460. {
  3461. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3462. slID=slow_id.exec(res)[1];
  3463. GM_xmlhttpRequest(
  3464. {
  3465. method: 'POST',
  3466. url: FBoomLink2,
  3467. headers: {
  3468. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3469. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3470. 'Content-Type': 'application/x-www-form-urlencoded',
  3471. 'Referer': FBoomLink
  3472. },
  3473. data: 'slow_id='+slID,
  3474. onload: function (result)
  3475. {
  3476. var newres = result.responseText;
  3477. newoversizedtest=new RegExp("Downloading is not possible");
  3478. if (newoversizedtest.test(newres))
  3479. {
  3480. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3481. return;
  3482. }
  3483. else
  3484. {
  3485. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3486. return;
  3487. }
  3488. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3489. return;
  3490. }
  3491. });
  3492. /////////////////////end additional check for oversized links
  3493. return;
  3494. }
  3495. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3496. return;
  3497. },
  3498. onerror: function ()
  3499. {
  3500. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3501. return;
  3502. }
  3503. });
  3504. }
  3505. function dl4free_1fichier_BulkCheck()
  3506. {
  3507. var arr = this.links[0].split("\r\n");
  3508. var i = arr.length;
  3509. while(i--)
  3510. {
  3511. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3512. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3513. gethead_dl4free_1fichier(arr[i]);
  3514. }
  3515. }
  3516. function gethead_dl4free_1fichier(link)
  3517. {
  3518. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3519. GM_xmlhttpRequest(
  3520. {
  3521. method: 'HEAD',
  3522. url: link,
  3523. headers: {
  3524. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3525. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3526. 'Referer': ''
  3527. },
  3528. onload: function (result)
  3529. {
  3530. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3531. {
  3532. DisplayTheCheckedLinks([id], 'alive_link');
  3533. return;
  3534. }
  3535. else
  3536. {
  3537. getlink_dl4free_1fichier(link);
  3538. }
  3539. return;
  3540. },
  3541. onerror: function ()
  3542. {
  3543. DisplayTheCheckedLinks([id], 'unava_link');
  3544. }
  3545. });
  3546. }
  3547. function getlink_dl4free_1fichier(link)
  3548. {
  3549. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3550. GM_xmlhttpRequest(
  3551. {
  3552. method: 'GET',
  3553. url: link,
  3554. headers: {
  3555. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3556. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3557. 'Referer': ''
  3558. },
  3559. onload: function (result)
  3560. {
  3561. var res = result.responseText;
  3562. 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');
  3563. if (deadRegex.test(res))
  3564. {
  3565. DisplayTheCheckedLinks([id], 'adead_link');
  3566. return;
  3567. }
  3568. premiumRegex=new RegExp('only for premium users');
  3569. if (premiumRegex.test(res))
  3570. {
  3571. DisplayTheCheckedLinks([id], 'prem_link');
  3572. return;
  3573. }
  3574. 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="');
  3575. if (liveRegex.test(res))
  3576. {
  3577. DisplayTheCheckedLinks([id], 'alive_link');
  3578. return;
  3579. }
  3580. DisplayTheCheckedLinks([id], 'unava_link');
  3581. },
  3582. onerror: function ()
  3583. {
  3584. DisplayTheCheckedLinks([id], 'unava_link');
  3585. }
  3586. });
  3587. }
  3588. function nitroflareBulkCheck()
  3589. {
  3590. var arr = this.links[0].split("\r\n");
  3591. var i = arr.length;
  3592. while(i--)
  3593. {
  3594. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3595. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3596. NitroFlareRequest(arr[i]);
  3597. }
  3598. }
  3599. function NitroFlareRequest(NFLink)
  3600. {
  3601. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3602. GM_xmlhttpRequest(
  3603. {
  3604. method: "GET",
  3605. url: NFLink,
  3606. headers: {
  3607. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3608. 'Content-Type': 'application/x-www-form-urlencoded',
  3609. 'Referer': ""
  3610. },
  3611. onload: function (result)
  3612. {
  3613. var res = result.responseText;
  3614. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3615. {
  3616. DisplayTheCheckedLinks([NFID], 'adead_link');
  3617. return;
  3618. }
  3619. if (res.match('Report this file<\/a>'))
  3620. {
  3621. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3622. sizearr=measureRegex.exec(res);
  3623. if (sizearr[2]=='GB')
  3624. {
  3625. if (parseFloat(sizearr[1])>1)
  3626. {
  3627. DisplayTheCheckedLinks([NFID], 'prem_link');
  3628. }
  3629. else
  3630. {
  3631. DisplayTheCheckedLinks([NFID], 'alive_link');
  3632. }
  3633. }
  3634. else
  3635. {
  3636. DisplayTheCheckedLinks([NFID], 'alive_link');
  3637. }
  3638. return;
  3639. }
  3640. DisplayTheCheckedLinks([NFID], 'unava_link');
  3641. }
  3642. });
  3643. }
  3644. function depositfilesBulkCheck()
  3645. {
  3646. var arr = this.links[0].split("\r\n");
  3647. var i = arr.length;
  3648. var seqno = Math.floor(Math.random()*1000000000);
  3649. while(i--)
  3650. {
  3651. DFpostRequest(arr[i]);
  3652. }
  3653. }
  3654. function DFpostRequest(DFLink)
  3655. {
  3656. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3657. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3658. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3659. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3660. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3661. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3662. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3663. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3664. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3665. GM_xmlhttpRequest(
  3666. {
  3667. method: "GET",
  3668. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3669. headers: {
  3670. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3671. 'Content-Type': 'application/x-www-form-urlencoded',
  3672. 'Referer': ""
  3673. },
  3674. onload: function (result)
  3675. {
  3676. var res = result.responseText;
  3677. if (res.match('(?:no_file|file_ban)'))
  3678. {
  3679. DisplayTheCheckedLinks([id], 'adead_link');
  3680. return;
  3681. }
  3682. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3683. {
  3684. DisplayTheCheckedLinks([id], 'alive_link');
  3685. return;
  3686. }
  3687. DisplayTheCheckedLinks([id], 'unava_link');
  3688. }
  3689. });
  3690. }
  3691.  
  3692. function megaBulkCheck()
  3693. {
  3694. var arr = this.links[0].split("\r\n");
  3695. var i = arr.length;
  3696. var seqno = Math.floor(Math.random()*1000000000);
  3697. while(i--)
  3698. {
  3699. postRequest(arr[i]);
  3700. }
  3701. function postRequest(megaLink)
  3702. {
  3703. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3704. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3705. if (id=='F')
  3706. {
  3707. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3708. DisplayTheCheckedLinks([id], 'unava_link');
  3709. }
  3710. else
  3711. GM_xmlhttpRequest(
  3712. {
  3713. method: "POST",
  3714. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3715. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3716. headers: {
  3717. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3718. 'Content-Type': 'application/xml',
  3719. 'Referer': "https://mega.co.nz/"
  3720. },
  3721. onload: function (result)
  3722. {
  3723. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3724. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3725. {
  3726.  
  3727. DisplayTheCheckedLinks([id], 'adead_link');
  3728. }
  3729. if (res.at)
  3730. {
  3731. DisplayTheCheckedLinks([id], 'alive_link');
  3732. }
  3733. if (res.e == "ETEMPUNAVAIL")
  3734. {
  3735. DisplayTheCheckedLinks([id], 'unava_link');
  3736. }
  3737. }
  3738. });
  3739. }
  3740.  
  3741. }
  3742.  
  3743. function oboomBulk() {
  3744. var a = [], b = [], c = [];
  3745. var array = this.links;
  3746.  
  3747. GM_xmlhttpRequest({
  3748. method: 'GET',
  3749. url: 'https://www.oboom.com/1/guestsession',
  3750. headers: {
  3751. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3752. 'Content-type': 'application/x-www-form-urlencoded',
  3753. 'Referer': 'https://www.oboom.com',
  3754. 'X-Requested-With': 'XMLHttpRequest'
  3755. },
  3756. onload: function(result) {
  3757. var blockIdx = array.length;
  3758. var token = JSON.parse(result.responseText)[1];
  3759. while (blockIdx--) {
  3760. startCheck(array[blockIdx].split('\r\n'), token);
  3761. }
  3762. }
  3763. });
  3764.  
  3765. function startCheck(links, token) {
  3766. GM_xmlhttpRequest({
  3767. method: 'POST',
  3768. url: "https://api.oboom.com/1/info",
  3769. headers: {
  3770. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3771. 'Content-type': 'application/x-www-form-urlencoded',
  3772. 'Referer': 'https://www.oboom.com/',
  3773. 'X-Requested-With': 'XMLHttpRequest'
  3774. },
  3775. data: "token=" + token + "&items=" + links.join(","),
  3776. onload: function(result) {
  3777. var res = JSON.parse(result.responseText)[1];
  3778. var i = res.length, s;
  3779.  
  3780. while (i--) {
  3781. s = res[i].state;
  3782. if (s == 'online') a.push(res[i].id);
  3783. 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);
  3784. else c.push(res[i].id);
  3785. }
  3786.  
  3787. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3788. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3789. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3790. }
  3791. });
  3792. }
  3793. }
  3794. function linkcryptBulkCheck()
  3795. {
  3796. var arr = this.links[0].split("\r\n");
  3797. var i = arr.length;
  3798. while(i--)
  3799. {
  3800. postRequest(arr[i]);
  3801. }
  3802. function postRequest(lcLink)
  3803. {
  3804. GM_xmlhttpRequest(
  3805. {
  3806. method: "GET",
  3807. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3808. headers: {
  3809. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3810. 'Accept': 'text/xml',
  3811. 'Referer': ""
  3812. },
  3813. onload: function (result)
  3814. {
  3815. var res = result.responseText;
  3816. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3817. {
  3818. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3819. return;
  3820. }
  3821. if (res.match(/folderStatus>1/)) //Online status
  3822. {
  3823. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3824. }
  3825. else
  3826. {
  3827. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3828. }
  3829. }
  3830. });
  3831. }
  3832. }
  3833.  
  3834. /* function megashareBulkCheck()
  3835. {
  3836. var arr = this.links[0].split("\r\n");
  3837. var i = arr.length;
  3838. while(i--)
  3839. {
  3840. postRequest(arr[i]);
  3841. }
  3842. function postRequest(msLink)
  3843. {
  3844. GM_xmlhttpRequest(
  3845. {
  3846. method: "GET",
  3847. url: msLink,
  3848. headers: {
  3849. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3850. 'Content-Type': 'application/x-www-form-urlencoded',
  3851. 'Referer': ""
  3852. },
  3853. onload: function (result)
  3854. {
  3855. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3856. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3857. if ((prZVal == null) || (btn3Name == null))
  3858. {
  3859. return;
  3860. }
  3861. GM_xmlhttpRequest(
  3862. {
  3863. method: "POST",
  3864. url: msLink,
  3865. headers: {
  3866. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3867. 'Content-Type': 'application/x-www-form-urlencoded',
  3868. 'Referer': ""
  3869. },
  3870. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3871. onload: function (result)
  3872. {
  3873. var res = result.responseText;
  3874. if (res.match(/<div id="err">/))
  3875. {
  3876. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3877. }
  3878. else
  3879. {
  3880. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3881. }
  3882. }
  3883. });
  3884. }
  3885. });
  3886. }
  3887. } */
  3888. function hellshareBulkCheck()
  3889. {
  3890. var links = this.links;
  3891. GM_xmlhttpRequest(
  3892. {
  3893. method: "GET",
  3894. url: 'http://www.hellshare.com',
  3895. headers: {
  3896. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3897. 'Accept': 'text/xml',
  3898. 'Referer': ""
  3899. },
  3900. onload: function (result)
  3901. {
  3902. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3903.  
  3904. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3905. if (domain == 'sk')
  3906. loc = 'check=Skontrolova%C5%A5&links=';
  3907. if (domain == 'com')
  3908. loc = 'check=Check+availability&links=';
  3909. if (domain == 'hu')
  3910. loc = 'check=Kontrol%C3%A1lj&links=';
  3911. if (domain == 'pl')
  3912. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3913.  
  3914. genBulkCheck.call({ links: links,
  3915. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3916. postData: loc,
  3917. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3918. 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,
  3919. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3920. resUnavaRegex: null
  3921. });
  3922. }
  3923. });
  3924. }
  3925. /**
  3926. * Displays check result
  3927. * @param {Array} Array of links or link fragments.
  3928. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3929. */
  3930. function DisplayTheCheckedLinks(links, resultStatus)
  3931. {
  3932. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3933. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3934. if (Do_not_linkify_DL_links)
  3935. { //TODO into separate jQuery function
  3936. $links.replaceWith(function(){
  3937. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3938. });
  3939. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3940. }
  3941. $links.removeClass().addClass(resultStatus);
  3942. $links.each(function() {
  3943. this.href = Ref_anonymize_service + $(this).attr("href");
  3944. });
  3945. switch(resultStatus)
  3946. {
  3947. case "alive_link": cLinksAlive += $links.length;
  3948. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3949. break;
  3950. case "adead_link": cLinksDead += $links.length;
  3951. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3952. break;
  3953. case "prem_link": cLinksprem += $links.length;
  3954. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3955. break;
  3956. case "unava_link": cLinksUnava += $links.length; break;
  3957. default:
  3958. }
  3959. cLinksProcessed += $links.length;
  3960. }
  3961. }
  3962. // starts bulkchecking
  3963. //
  3964. // params
  3965. // filterId [string] restricts link detection with passed id attribute
  3966. function startBulkCheck(filterId)
  3967. {
  3968. var cHosts = bulkHosts.length;
  3969. if (cHosts == 0) //no filehostings selected
  3970. return;
  3971. // STEP 1 linkify the links
  3972. var linkifyRegex = '';
  3973. var hostIdx = cHosts;
  3974. while(hostIdx--)
  3975. {
  3976. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3977. }
  3978. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3979. linkify(linkifyRegex);
  3980. //
  3981. //STEP 2 detect link objects
  3982. var xpathAll = '';
  3983. var hostIdx = cHosts;
  3984. while(hostIdx--)
  3985. {
  3986. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3987. }
  3988. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3989. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3990. if (filterId != null) //insert id restriction in the xpath
  3991. {
  3992. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3993. }
  3994. else
  3995. {
  3996. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3997. }
  3998. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3999. if (filterId == null)
  4000. {
  4001. cLinksTotal += links.snapshotLength;
  4002. }
  4003. //
  4004. //STEP 3 bind links with hostings
  4005. var linkIdx = links.snapshotLength;
  4006. var href = null;
  4007. if (linkIdx == 0) // no links found
  4008. return;
  4009. var name;
  4010. while (linkIdx--)
  4011. {
  4012. href = links.snapshotItem(linkIdx).href;
  4013. try // DO NOT REMOVE, filters crap that went through xpath detection
  4014. {
  4015. name = gimmeHostName(href);
  4016. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4017. bulkHostNames[name].links.push(href);
  4018. }
  4019. catch(e)
  4020. {
  4021.  
  4022. }
  4023. }
  4024. //
  4025. //STEP 4 process the links for each filehosting
  4026. var hostIdx = cHosts;
  4027. var host;
  4028. var m,n;
  4029. var arr;
  4030. while (hostIdx--)
  4031. {
  4032. host = bulkHosts[hostIdx];
  4033. arr = host.links;
  4034. if (arr.length == 0) //no links for this hosting, skip
  4035. {
  4036. continue;
  4037. }
  4038. //links match corrections
  4039. if (host.corrMatch != null)
  4040. {
  4041. var idx = arr.length;
  4042. while (idx--)
  4043. {
  4044. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4045. }
  4046. }
  4047. //links replace corrections
  4048. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4049. {
  4050. var idx = arr.length;
  4051. while (idx--)
  4052. {
  4053. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4054. }
  4055. }
  4056. m = arr.length;
  4057. n = host.blockSize;
  4058. if (m > n)
  4059. {
  4060. //insert block separators (RAND_STRING) into the array
  4061. for(var i = n; i < m; i += n + 1)
  4062. {
  4063. arr.splice(i, 0, RAND_STRING);
  4064. }
  4065. }
  4066.  
  4067. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4068. apiUrl: host.apiUrl,
  4069. postData: host.postData,
  4070. resLinkRegex: host.resLinkRegex,
  4071. resLiveRegex: host.resLiveRegex,
  4072. resDeadRegex: host.resDeadRegex,
  4073. resUnavaRegex: host.resUnavaRegex
  4074. });
  4075. //clean up
  4076. arr.length = 0;
  4077. }
  4078. //
  4079.  
  4080. function gimmeHostName(link)
  4081. {
  4082. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4083. }
  4084. }
  4085. function checkLinks(filterId)
  4086. {
  4087. startBulkCheck(filterId);
  4088. start(filterId);
  4089. }
  4090.  
  4091. /**
  4092. * Initialises progress box including event binding and CSS
  4093. */
  4094. function initProgressBox()
  4095. {
  4096. if ($("#warlc-progressbox").length > 0)
  4097. return;
  4098. //progressbox css change size and color of progress box
  4099. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4100. "; opacity:" + (Progress_box_opacity / 100) +
  4101. "; bottom:" + Processbox_Pos_Y +
  4102. "%; left:" + Processbox_Pos_X +
  4103. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4104. \
  4105. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4106. \
  4107. .warlc-progressitem {}\
  4108. \
  4109. .alive {color:#00FF7F; " + Live_links_color +
  4110. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4111. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4112. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4113. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4114. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4115. //
  4116. if (Progressbox_Scaling != 100) {
  4117. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4118. 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
  4119. });
  4120. }
  4121. 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
  4122.  
  4123. GM_addStyle(progressboxCss);
  4124. $('body').append(' <div id="warlc-progressbox">\
  4125. <div class="warlc-progressbar"></div>\
  4126. <span class="warlc-progressitem alive"></span> - \
  4127. <span class="warlc-progressitem dead"></span> - \
  4128. <span class="warlc-progressitem unava"></span> - \
  4129. <span class="warlc-progressitem prem"></span> - \
  4130. <span class="warlc-progressitem processing"></span>\
  4131. </div>');
  4132. $('#warlc-progressbox').hide().click(function(){
  4133. clearInterval(intervalId);
  4134. $(this).hide();
  4135. return false;
  4136. });
  4137. $(".warlc-progressbar").progressbar({complete: function(){
  4138. $(this).fadeOut();
  4139. clearInterval(intervalId); //stop refreshing the stats
  4140. }
  4141. })
  4142. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4143. }
  4144. /**
  4145. * Updates progress data in progress box
  4146. */
  4147. function updateProgress()
  4148. {
  4149. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4150. if (cLinksTotal) // some links were detected on page
  4151. {
  4152. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4153. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4154. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4155. if ((cLinksTotal - cLinksProcessed) == 0)
  4156. {
  4157. $progressItems.first().text(cLinksAlive)
  4158. .next().text(cLinksDead)
  4159. .next().text(cLinksUnava)
  4160. .next().text(cLinksprem)
  4161. .next().remove();
  4162. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4163. $('#warlc-progressbox div:first-child').remove();
  4164. }
  4165. else
  4166. {
  4167. $progressItems.first().text(cLinksAlive)
  4168. .next().text(cLinksDead)
  4169. .next().text(cLinksUnava)
  4170. .next().text(cLinksprem)
  4171. .next().text(cLinksTotal - cLinksProcessed);
  4172. }
  4173. }
  4174. }
  4175.  
  4176. function check_all_links()
  4177. {
  4178. add_WARLC_style();
  4179.  
  4180. if (Show_progress_stats)
  4181. {
  4182. initProgressBox();
  4183. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4184. }
  4185.  
  4186. startBulkCheck(null);
  4187. start(null);
  4188.  
  4189. if (!containers_processed)
  4190. {
  4191. processContainers();
  4192. }
  4193. }
  4194.  
  4195. //Copies all found dead links to clipboard - right now for Scriptish only
  4196. function copy_dead_to_clipboard()
  4197. {
  4198. initClipBoardTools();
  4199.  
  4200. var deadlinksxpath = "//.[@class='adead_link']";
  4201.  
  4202. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4203. var foundlinkstext = '';
  4204.  
  4205. var foundlinkIdx = foundlinks.snapshotLength;
  4206.  
  4207. while(foundlinkIdx--)
  4208. {
  4209. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4210. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4211. }
  4212.  
  4213. GM_setClipboard(foundlinkstext);
  4214. }
  4215. //Copies all found live links to clipboard
  4216. function copy_live_to_clipboard()
  4217. {
  4218. initClipBoardTools();
  4219.  
  4220. var livelinksxpath = "//.[@class='alive_link']";
  4221.  
  4222. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4223. var foundlinks2text = '';
  4224.  
  4225. var foundlink2Idx = foundlinks2.snapshotLength;
  4226.  
  4227. while(foundlink2Idx--)
  4228. {
  4229. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4230. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4231. }
  4232.  
  4233. GM_setClipboard(foundlinks2text);
  4234. }
  4235.  
  4236. function toggle_autocheck()
  4237. {
  4238. var currentState = GM_getValue("Autocheck", false);
  4239. GM_setValue("Autocheck", !currentState);
  4240.  
  4241. if (currentState == true)
  4242. {
  4243. sendMessage('Autocheck disabled', 'red');
  4244. }
  4245. else
  4246. {
  4247. sendMessage('Autocheck enabled', 'SpringGreen');
  4248. }
  4249. }
  4250. function toggle_Enable_Anonymizer()
  4251. {
  4252. var currentState = GM_getValue("Enable_Anonymizer", false);
  4253. GM_setValue("Enable_Anonymizer", !currentState);
  4254.  
  4255. if (currentState == true)
  4256. {
  4257. GM_setValue("Ref_anonymize_service", "");
  4258. sendMessage('Anonymizer Disabled', 'red');
  4259. }
  4260. else
  4261. {
  4262. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4263. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4264. }
  4265. }
  4266.  
  4267. function KeyDownHandler(event)
  4268. {
  4269. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4270. if (event.ctrlKey && event.altKey)
  4271. {
  4272. switch(kcode)
  4273. {
  4274. case 65 : check_all_links(); break;
  4275. case 67 : configuration(); break;
  4276. case 68 : copy_dead_to_clipboard(); break;
  4277. case 76 : copy_live_to_clipboard(); break;
  4278. case 87 : toggle_autocheck(); break;
  4279. case 90 : toggle_Enable_Anonymizer(); break;
  4280. }
  4281. }
  4282. }
  4283.  
  4284. //
  4285. //
  4286. // SCRIPT EXECUTION START POINT
  4287. //
  4288. //
  4289. // Safari specific GM_getResourceText override
  4290. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4291. {
  4292. GM_getResourceText = function(res) {
  4293. var $cssText = GM_getValue("jquery_css", "");
  4294. if ($cssText == "")
  4295. {
  4296. GM_xmlhttpRequest(
  4297. {
  4298. method: 'GET',
  4299. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4300. onload: function (result)
  4301. {
  4302. GM_setValue("jquery_css", result.responseText);
  4303. window.location.reload();
  4304. }
  4305. });
  4306. }
  4307. else
  4308. {
  4309. return $cssText;
  4310. }
  4311. }
  4312. }
  4313. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4314. GM_addStyle(jQueryUICSS);
  4315. //init the stuff
  4316. setVariables();
  4317. initBulkCheck();
  4318. //init info boxes
  4319. messageBox.style.position = 'fixed';
  4320. messageBox.style.top = '20px';
  4321. messageBox.style.left = '10px';
  4322. messageBox.style.opacity = '0.85';
  4323. messageBox.style.background = 'DimGray';
  4324. messageBox.style.fontSize = '36px';
  4325. document.body.appendChild(messageBox);
  4326.  
  4327. //register GM menu commands & keyboard shortcut event handler
  4328. if (Keyboard_functions)
  4329. {
  4330. $(document).keydown(KeyDownHandler);
  4331. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4332. 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);
  4333. }
  4334. else
  4335. {
  4336. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4337. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4338. }
  4339.  
  4340. //start linkchecking
  4341. if (Autocheck)
  4342. {
  4343. $(document).ready(check_all_links);
  4344. }
  4345.  
  4346. //
  4347. //
  4348. // SCRIPT EXECUTION END POINT
  4349. //
  4350. //
  4351.  
  4352. //shows configuration box
  4353. function configuration()
  4354. {
  4355.  
  4356. //prevent multiple creating of config window
  4357. if ($("#hideshow").length)
  4358. {
  4359. $("#hideshow").show();
  4360. return;
  4361. }
  4362.  
  4363. var configcss = '\
  4364. .popup_block .popup fieldset{\
  4365. padding: 1%;\
  4366. border-style: solid;\
  4367. border-width: 1px;\
  4368. border-color: gray;\
  4369. margin-bottom: 1px;\
  4370. }\
  4371. #h3hideshowtitle{\
  4372. font-size: 2em;\
  4373. }\
  4374. #h3hideshow{\
  4375. font-size: 1.5em;\
  4376. }\
  4377. #imghideshow {\
  4378. border: none;\
  4379. }\
  4380. #plusimage{\
  4381. display:inline;\
  4382. }\
  4383. #hideshow {\
  4384. position: fixed;\
  4385. width: 100%;\
  4386. height: 100%;\
  4387. top: 0;\
  4388. left: 0;\
  4389. font-size:12px;\
  4390. z-index:2147483645;\
  4391. text-align:left;\
  4392. }\
  4393. #fade {\
  4394. background: #000;\
  4395. position: fixed;\
  4396. width: 100%;\
  4397. height: 100%;\
  4398. opacity: .80;\
  4399. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4400. left: 0;\
  4401. z-index: 10;\
  4402. }\
  4403. .popup_block {\
  4404. font-family:verdana;\
  4405. color:black;\
  4406. background: #ddd;\
  4407. padding: 10px 20px;\
  4408. border: 2px solid DarkOrange;\
  4409. float: left;\
  4410. width: 700px;\
  4411. position: absolute;\
  4412. top: 7%;\
  4413. left: 50%;\
  4414. bottom: 7%;\
  4415. margin: 0 0 0 -350px;\
  4416. -moz-border-radius:10px;\
  4417. z-index: 100;\
  4418. \
  4419. }\
  4420. .popup_block .popup {\
  4421. float: left;\
  4422. width: 100%;\
  4423. background: #fff;\
  4424. margin: 10px 0;\
  4425. padding: 0px 0 0px;\
  4426. border-left: 1px solid #bbb;\
  4427. border-top: 1px solid #bbb;\
  4428. border-right: 1px solid #bbb;\
  4429. }\
  4430. #h3hideshow{\
  4431. margin: 1px 0 0px;\
  4432. padding: 1px 10px;\
  4433. border-bottom: 1px solid #bbb;\
  4434. font-size: 1.5em;\
  4435. font-weight: normal;\
  4436. cursor:pointer;\
  4437. background:#DDDDDD none repeat scroll 0 0;\
  4438. }\
  4439. #h3hideshow:hover{\
  4440. background:#C0BEBE none repeat scroll 0 0;\
  4441. }\
  4442. #h3hideshowtitle{\
  4443. margin: 2px 0 0px;\
  4444. padding: 7px 10px;\
  4445. border-bottom: 1px solid #bbb;\
  4446. font-size: 1.5em;\
  4447. font-weight: normal;\
  4448. }\
  4449. .popup_block .popup a {\
  4450. color:DarkSkyBlue;\
  4451. text-decoration:none;\
  4452. }\
  4453. .popup p {\
  4454. padding: 1px 10px;\
  4455. margin: 0px 0;\
  4456. -x-system-font:none;\
  4457. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4458. font-size:10pt;\
  4459. font-size-adjust:none;\
  4460. font-stretch:normal;\
  4461. font-style:normal;\
  4462. font-variant:normal;\
  4463. font-weight:normal;\
  4464. line-height:normal;\
  4465. }\
  4466. #sites {\
  4467. padding: 1px 10px;\
  4468. margin: 0px 0;display:inline-block;width:16em;\
  4469. }\
  4470. #dev_ver {\
  4471. color: #00FF00;\
  4472. background: Black;\
  4473. text-align: right;\
  4474. }\
  4475. #sites_suspended {\
  4476. padding: 1px 10px;\
  4477. margin: 0px 0;display:inline-block;width:16em;\
  4478. text-decoration: line-through;\
  4479. }\
  4480. .popup img.cntrl {\
  4481. position: absolute;\
  4482. right: -15px;\
  4483. top: -15px;\
  4484. }\
  4485. #bulk {\
  4486. font-size:8pt;\
  4487. color:orange;\
  4488. padding: 1px 10px;\
  4489. margin: 0px 0;\
  4490. display:inline-block;\
  4491. width:100px;\
  4492. }\
  4493. #note {\
  4494. font-size:7pt;\
  4495. color:gray;\
  4496. padding: 1px 10px;\
  4497. margin: 0px 0;display:inline-block;\
  4498. min-width:100px;\
  4499. }\
  4500. #rednote {\
  4501. font-size:7pt;\
  4502. color:red;\
  4503. padding: 1px 10px;\
  4504. margin: 0px 0;display:inline-block;\
  4505. }\
  4506. #configinfo {\
  4507. font-size:8pt;\
  4508. color:gray;\
  4509. padding: 1px 10px;\
  4510. margin: 0px 0;display:inline-block;width:60em;\
  4511. }\
  4512. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4513. color:black;\
  4514. border-style: solid;\
  4515. border-width: 1px;\
  4516. border-color: gray;\
  4517. }\
  4518. #h3hideshowcontent {\
  4519. min-height:220px;\
  4520. max-height:220px;\
  4521. overflow:auto;\
  4522. display: none;\
  4523. padding: 10px 10px;\
  4524. }\
  4525. #specinfo{\
  4526. font-size:14px;\
  4527. }\
  4528. .warlc-ui-tab {\
  4529. height:300px;\
  4530. overflow:auto;\
  4531. }\
  4532. #warlcsitelist2, #warlcsitelist1 {\
  4533. height:220px;\
  4534. border-top: 1px solid #ddd;\
  4535. padding-top: 5px;\
  4536. overflow:auto;\
  4537. }\
  4538. input:hover+label {\
  4539. background:#F1F77C;\
  4540. font-size:110%;\
  4541. }\
  4542. ';
  4543.  
  4544. GM_addStyle(configcss);
  4545.  
  4546. var customRulesRefHTML =
  4547. '\
  4548. <br>\
  4549. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4550. <b>@keyword</b> <i>parameter</i>\
  4551. <br><br>\
  4552. 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. \
  4553. <br><br>\
  4554. 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.\
  4555. 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.\
  4556. 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.\
  4557. 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,\
  4558. but all commands until the next valid @customrule are ignored.<br><br>\
  4559. Available forms and types:\
  4560. <ul>\
  4561. <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.\
  4562. <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.\
  4563. <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.\
  4564. <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.\
  4565. </ul>\
  4566. Other available commands:<br>\
  4567. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4568. <ul>\
  4569. <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.\
  4570. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4571. <ul>examples:<br>\
  4572. <li>good: <i>filehost.com/download/</i><br>\
  4573. <li>good: <i>download.filehost.net/?d=</i><br>\
  4574. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4575. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4576. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4577. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4578. <li>bad: <i>filehost.com</i> - no slash<br>\
  4579. </ul>\
  4580. \
  4581. <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.\
  4582. 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 \
  4583. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4584. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4585. 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.)\
  4586. Two spaces again match any whitespace.\
  4587. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4588. Two spaces again match any whitespace.\
  4589. <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. \
  4590. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4591. </ul>\
  4592. \
  4593. ';
  4594.  
  4595. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4596. var configurationinnerHTML =
  4597. '<div id="fade"></div>\
  4598. <div class="popup_block">\
  4599. <div class="popup">\
  4600. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANS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26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4601. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+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/TBGCzABhzBBdzB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UmetW/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>\
  4602. <div id="warlc-conf-tabs">\
  4603. <ul>\
  4604. <li><a href="#tabs-1">Filehostings</a></li>\
  4605. <li><a href="#tabs-2">Containers</a></li>\
  4606. <li><a href="#tabs-5">Custom rules</a></li>\
  4607. <li><a href="#tabs-3">Settings</a></li>\
  4608. <li><a href="#tabs-4">About</a></li>\
  4609. </ul>\
  4610. <div id="tabs-1" class="warlc-ui-tab">\
  4611. <div class="warlc-ui-buttonset">\
  4612. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4613. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4614. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4615. </div><br>\
  4616. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4617. <div id="warlcsitelist1"><span>Empty</span></div>\
  4618. </div>\
  4619. <div id="tabs-2" class="warlc-ui-tab">\
  4620. <div class="warlc-ui-buttonset">\
  4621. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4622. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4623. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4624. </div><br>\
  4625. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4626. <div id="warlcsitelist2"><span>Empty</span></div>\
  4627. </div>\
  4628. <div id="tabs-5" class="warlc-ui-tab">\
  4629. <div class="warlcsettings">\
  4630. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4631. <br>\
  4632. <div>Edit custom rules: \
  4633. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4634. <div id="customRulesReference" style="display:none;">'
  4635. + customRulesRefHTML + '\
  4636. </div>\
  4637. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4638. </div>\
  4639. </div>\
  4640. </div>\
  4641. <div id="tabs-3" class="warlc-ui-tab">\
  4642. <div class="warlcsettings">\
  4643. <fieldset>\
  4644. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4645. <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>\
  4646. </fieldset>\
  4647. <fieldset>\
  4648. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4649. <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>\
  4650. <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>\
  4651. <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>\
  4652. <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>\
  4653. <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>\
  4654. <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>\
  4655. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4656. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4657. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4658. <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>\
  4659. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4660. <fieldset>\
  4661. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4662. <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>\
  4663. <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>\
  4664. <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>\
  4665. </fieldset>\
  4666. </fieldset>\
  4667. <fieldset>\
  4668. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4669. </fieldset>\
  4670. <fieldset>\
  4671. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4672. </fieldset>\
  4673. <fieldset>\
  4674. <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>\
  4675. </fieldset>\
  4676. <fieldset>\
  4677. <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>\
  4678. </fieldset>\
  4679. <fieldset>\
  4680. <legend>Progress box settings</legend>\
  4681. <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>\
  4682. <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>\
  4683. <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>\
  4684. </fieldset>\
  4685. </div>\
  4686. </div>\
  4687. <div id="tabs-4" class="warlc-ui-tab">\
  4688. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4689. <br />\
  4690. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4691. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4692. <br />\
  4693. <p><b>Currently supported:</b><br>\
  4694. Filehostings: ' + allHostNames.length + '<br />\
  4695. Containers: ' + allContainerNames.length + '<br />\
  4696. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4697. <br />\
  4698. <p><b>Based on:</b><br>\
  4699. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4700. <br />\
  4701. <p><b>Uses:</b></p>\
  4702. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4703. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4704. <br />\
  4705. <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>\
  4706. </div>\
  4707. </div>\
  4708. </div>\
  4709. </div>';
  4710. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4711. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4712. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4713. var elmHostList = document.getElementById("warlcsitelist1");
  4714. var elmContainerList = document.getElementById("warlcsitelist2");
  4715. buildSettings();
  4716. buildSitelist("", allHostNames, elmHostList);
  4717. buildSitelist("", allContainerNames, elmContainerList);
  4718. if (DEBUG_MODE)
  4719. {
  4720. //log all sites availability status
  4721. diagSites();
  4722. }
  4723. //handler for checkbox state change
  4724. function changeConfiguration(e)
  4725. {
  4726. var element = e.target;
  4727.  
  4728. if (element.type == 'checkbox')
  4729. {
  4730. if (element.checked == 1)
  4731. {
  4732. GM_setValue(element.id, true);
  4733. }
  4734. else
  4735. {
  4736. GM_setValue(element.id, false);
  4737. }
  4738.  
  4739. }
  4740. setVariables();
  4741. }
  4742.  
  4743. //Selects all filehosting checkboxes
  4744. function selectAll()
  4745. {
  4746. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4747. .each(function(index, element){GM_setValue(this.id, true)});
  4748. }
  4749.  
  4750. //Deselects all filehosting checkboxes
  4751. function selectNone()
  4752. {
  4753. $(":checkbox:visible:checked").prop("checked",false)
  4754. .each(function(index, element){GM_setValue(this.id, false)});
  4755. }
  4756. //Sets Processbox position setting
  4757. function changeProgBox(event) {
  4758. var setting;
  4759. switch(event.data.set) {
  4760. case "X": setting = "Processbox_Pos_X"; break;
  4761. case "Y": setting = "Processbox_Pos_Y"; break;
  4762. case "Scale": setting = "Progressbox_Scaling"; break;
  4763. }
  4764. var $setting = $("#" + setting);
  4765. var newSet = $setting.val().replace("%", "");
  4766. GM_setValue(setting, newSet);
  4767. }
  4768. //Sets value of Processbox position
  4769. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4770. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4771. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4772.  
  4773. //Inverts filehosting checkboxes selection
  4774. function selectInvert()
  4775. {
  4776. var $checked = $(":checkbox:visible:checked");
  4777. var $unchecked = $(":checkbox:visible:not(:checked)");
  4778. $unchecked.prop("checked",true)
  4779. .each(function(index, element){GM_setValue(this.id, true)});
  4780. $checked.prop("checked",false)
  4781. .each(function(index, element){GM_setValue(this.id, false)});
  4782. }
  4783. //toggles anonymizer on off
  4784. function Enable_Anonymizer()
  4785. {
  4786. var $checked = $(":checkbox:visible:checked");
  4787. var $unchecked = $(":checkbox:visible:not(:checked)");
  4788. $unchecked.prop("checked",true)
  4789. .each(function(index, element){GM_setValue(this.id, true)});
  4790. $checked.prop("checked",false)
  4791. .each(function(index, element){GM_setValue(this.id, false)});
  4792. }
  4793.  
  4794. function changeRefAnonymizer(){
  4795. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4796. }
  4797.  
  4798. //Sets live links color
  4799. function changeColorLive()
  4800. {
  4801. var inColorLive = document.getElementById("inputColorLive");
  4802. inColorLive.style.background = inColorLive.value;
  4803. GM_setValue("Live_links_color", inColorLive.value);
  4804. }
  4805.  
  4806. //Sets dead links color
  4807. function changeColorDead()
  4808. {
  4809. var inColorDead = document.getElementById("inputColorDead");
  4810. inColorDead.style.background = inColorDead.value;
  4811. GM_setValue("Dead_links_color", inColorDead.value);
  4812. }
  4813.  
  4814. //Sets temp. unavailable links color
  4815. function changeColorTemp()
  4816. {
  4817. var inColorTemp = document.getElementById("inputColorTemp");
  4818. inColorTemp.style.background = inColorTemp.value;
  4819. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4820. }
  4821.  
  4822. //Sets temp. unavailable links color
  4823. function changeColorCont()
  4824. {
  4825. var inColorCont = document.getElementById("inputColorCont");
  4826. inColorCont.style.background = inColorCont.value;
  4827. GM_setValue("Container_links_color", inColorCont.value);
  4828. }
  4829. //Sets premium. links color
  4830. function changeColorprem()
  4831. {
  4832. var inColorprem = document.getElementById("inputColorprem");
  4833. inColorprem.style.background = inColorprem.value;
  4834. GM_setValue("Premium_links_color", inColorprem.value);
  4835. }
  4836.  
  4837. //Diagnose sites for availability
  4838. function diagSites()
  4839. {
  4840. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4841.  
  4842. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4843. {
  4844. if (boxes[i].type == "checkbox")
  4845. {
  4846. checkAvailability(boxes[i]);
  4847. }
  4848. }
  4849.  
  4850. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4851.  
  4852. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4853. {
  4854. if (boxes[i].type == "checkbox")
  4855. {
  4856. checkAvailability(boxes[i]);
  4857. }
  4858. }
  4859.  
  4860. function checkAvailability(cbElm)
  4861. {
  4862. var cb = cbElm;
  4863. GM_xmlhttpRequest(
  4864. {
  4865. method: 'HEAD',
  4866. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4867. headers: {
  4868. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4869. 'Accept': 'text/xml',
  4870. 'Referer': ""
  4871. },
  4872. onload: function (result)
  4873. {
  4874. if (result.status != 200)
  4875. {
  4876. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4877. }
  4878. },
  4879. onerror: function (result)
  4880. {
  4881. if (result.status != 200)
  4882. {
  4883. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4884. //Sets Progress_box position setting
  4885. function changeProgBox(event) {
  4886. var setting;
  4887. switch(event.data.set) {
  4888. case "X": setting = "Progress_box_Pos_X"; break;
  4889. case "Y": setting = "Progress_box_Pos_Y"; break;
  4890. case "Scale": setting = "Progress_box_Scaling"; break;
  4891. }
  4892.  
  4893. var $setting = $("#" + setting);
  4894. var newSet = $setting.val().replace("%", "");
  4895. lsSetVal("general", setting, newSet);
  4896. }
  4897.  
  4898. //Sets value of Progress_box position
  4899. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4900. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4901. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4902. }
  4903. }
  4904. });
  4905. }
  4906. }
  4907. function buildSettings()
  4908. {
  4909. $(".warlcsettings :checkbox").each(function(){
  4910. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4911. .click(function(e){
  4912. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4913. setVariables();
  4914. });
  4915. })
  4916. }
  4917. //Dynamic build of host list
  4918. //param search [string] searches for hostnames matching search substring
  4919. //param siteNames [array] array of site names
  4920. //param targetNode [DOM Node] where the list should be built
  4921. // first child node is replaced
  4922. function buildSitelist(search, siteNames, targetNode)
  4923. {
  4924. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4925. var $targetNode = $(targetNode).empty();
  4926. var searchedSite = "";
  4927. $.each(siteNames, function(i, site){
  4928. if (searchedSite = site.match(searchRegex))
  4929. {
  4930. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4931. //ensuring backward compatibility with the rest of code, to be refactored later
  4932. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4933. //
  4934. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4935. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4936. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4937. );
  4938. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4939. .change(changeConfiguration);
  4940. $targetNode.append('<br />');
  4941. }
  4942. });
  4943. $targetNode.append("<hr>");
  4944. //obsolete hosts checkbox
  4945. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4946. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4947. .change(changeConfiguration);
  4948. $targetNode.append('<br />');
  4949. var foundName = "";
  4950. $.each(allObsoleteNames, function(i, site){
  4951. if (foundName = allObsoleteNames[i].match(searchRegex))
  4952. {
  4953. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4954. }
  4955. })
  4956. }
  4957. var hostSearchBox = document.getElementById("hostSearchBox");
  4958. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4959. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4960. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4961. $(".warlc-ui-select-all").click(selectAll).button();
  4962. $(".warlc-ui-select-none").click(selectNone).button();
  4963. $(".warlc-ui-select-invert").click(selectInvert).button();
  4964. $(".warlc-ui-buttonset").buttonset();
  4965. var inColorLive = document.getElementById("inputColorLive");
  4966. inColorLive.addEventListener('keyup', changeColorLive, false);
  4967.  
  4968. var inColorDead = document.getElementById("inputColorDead");
  4969. inColorDead.addEventListener('keyup', changeColorDead, false);
  4970.  
  4971. var inColorTemp = document.getElementById("inputColorTemp");
  4972. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4973.  
  4974. var inColorCont = document.getElementById("inputColorCont");
  4975. inColorCont.addEventListener('keyup', changeColorCont, false);
  4976. var inColorprem = document.getElementById("inputColorprem");
  4977. inColorprem.addEventListener('keyup', changeColorprem, false);
  4978. $("#refAnonymizer").change(changeRefAnonymizer);
  4979. //buttons and edit boxes init end
  4980.  
  4981. //icon sets radio buttons
  4982. var radioButtons = document.getElementsByName("warlciconset");
  4983. radioButtons[Icon_set].checked = "checked";
  4984.  
  4985. radioButtons[0].addEventListener("change", updateIconSet);
  4986. radioButtons[1].addEventListener("change", updateIconSet);
  4987. radioButtons[2].addEventListener("change", updateIconSet);
  4988. radioButtons[3].addEventListener("change", updateIconSet);
  4989. function updateIconSet()
  4990. {
  4991. GM_setValue("Icon_set", this.value * 1);
  4992. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  4993. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  4994. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  4995. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  4996. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  4997.  
  4998. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  4999. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5000.  
  5001. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5002. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5003. }
  5004. //
  5005. $('#showCustomRulesReference').click(function(e){
  5006. e.preventDefault();
  5007. $('#customRulesReference').toggle();
  5008. });
  5009. $('#Custom_rules_text')
  5010. .val(Custom_rules_text)
  5011. .change(saveCustomRules);
  5012. function saveCustomRules(e)
  5013. {
  5014. var cr = parseCustomRules(this.value);
  5015. if (cr.info.length)
  5016. 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, ' '));
  5017. GM_setValue('Custom_rules_text', this.value);
  5018. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5019. }
  5020. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5021. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5022. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5023. }
  5024.  
  5025. //begin standard link checking algorithm
  5026. function start(filterId)
  5027. {
  5028. var doNotLinkify = Do_not_linkify_DL_links;
  5029.  
  5030. // USER SELECTED FILE HOSTS INITIALIZATION START
  5031. var http_file_hosts = new Array(); //standard hostings
  5032. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5033. var http_file_hosts_obsolete = new Array(); //dead hostings
  5034. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5035.  
  5036. initFileHosts();
  5037. initFileHostsHeadersOnly();
  5038. initFileHostsCustom(); //CustomRules
  5039. // USER SELECTED FILE HOSTS INITIALIZATION END
  5040.  
  5041. // LINKIFICATION START
  5042. var totalxpath = '';
  5043. var totalxpathcoded = '';
  5044. var totalxpathobsolete = '';
  5045. var totalxpathheadersonly = '';
  5046. var totalourls = '';
  5047.  
  5048. var filehostLen = http_file_hosts.length;
  5049. var filehostCodedLen = http_file_hosts_coded.length;
  5050. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5051. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5052.  
  5053. var filehostIdx = filehostLen;
  5054. var filehostCodedIdx = filehostCodedLen;
  5055. var filehostObsoleteIdx = filehostObsoleteLen;
  5056. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5057.  
  5058. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5059. return;
  5060.  
  5061. while (filehostIdx--)
  5062. {
  5063. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5064. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5065. }
  5066.  
  5067. while (filehostCodedIdx--)
  5068. {
  5069. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5070. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5071. }
  5072.  
  5073. while (filehostObsoleteIdx--)
  5074. {
  5075. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5076. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5077. }
  5078.  
  5079. while (filehostHeadersOnlyIdx--)
  5080. {
  5081. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5082. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5083. }
  5084.  
  5085. totalourls = totalourls.replace(/\|$/g, "");
  5086. //TODO: further refactoring needed
  5087. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5088. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5089. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5090. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5091. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5092. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5093. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5094. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5095. if (filterId != null) //insert id restriction in the xpath
  5096. {
  5097. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5098. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5099. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5100. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5101. }
  5102. else
  5103. {
  5104. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5105. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5106. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5107. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5108. }
  5109. linkify(totalourls);
  5110. //LINKIFICATION END
  5111. //ENCRYPTED LINKS PROCESSING START
  5112. if (http_file_hosts_coded.length > 0)
  5113. {
  5114. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5115.  
  5116. // decrypt coded links (redirects, link protectors etc.)
  5117. if (linksCoded.snapshotLength > 0)
  5118. {
  5119. var link;
  5120. var reallinkreg;
  5121. var reallinkcorrection;
  5122.  
  5123. if (filterId == null)
  5124. {
  5125. cLinksTotal += linksCoded.snapshotLength;
  5126. }
  5127.  
  5128. var y = linksCoded.snapshotLength - 1;
  5129. do
  5130. {
  5131. // linksCoded.snapshotItem(y).id = 'processing_link';
  5132. link = linksCoded.snapshotItem(y);
  5133. filehostIdx = filehostCodedLen;
  5134. while (filehostIdx--)
  5135. {
  5136. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5137. {
  5138. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5139. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5140. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5141.  
  5142. decurl(link, reallinkreg, reallinkcorrection);
  5143. break;
  5144. }
  5145. }
  5146. }
  5147. while (y--);
  5148. }
  5149. }
  5150. //ENCRYPTED LINKS PROCESSING END
  5151.  
  5152. //STANDARD LINKCHECKING START
  5153. if (http_file_hosts.length > 0)
  5154. {
  5155. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5156.  
  5157. if (filterId == null)
  5158. {
  5159. cLinksTotal += lianks.snapshotLength;
  5160. }
  5161.  
  5162. if (lianks.snapshotLength > 0)
  5163. {
  5164. var link;
  5165.  
  5166. var URL = "";
  5167. var name = "";
  5168. var isAliveRegex = "";
  5169. var isDeadRegex = "";
  5170. var isUnavaRegex = "";
  5171. var ispremRegex = "";
  5172. var tryLoop = false;
  5173.  
  5174. var y = lianks.snapshotLength;
  5175.  
  5176. while (y--)
  5177. {
  5178. link = lianks.snapshotItem(y);
  5179.  
  5180. filehostIdx = filehostLen;
  5181. while (filehostIdx--)
  5182. {
  5183. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5184. {
  5185. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5186. isAliveRegex = http_file_hosts[filehostIdx][1];
  5187. isDeadRegex = http_file_hosts[filehostIdx][2];
  5188. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5189. ispremRegex = http_file_hosts[filehostIdx][6];
  5190. tryLoop = http_file_hosts[filehostIdx][5];
  5191.  
  5192. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5193.  
  5194. break;
  5195. }
  5196. }
  5197. }
  5198. }
  5199. }
  5200. //STANDARD LINKCHECKING END
  5201. //OBSOLETE FILE HOSTS PROCESSING START
  5202. if (filehostObsoleteLen > 0)
  5203. {
  5204. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5205.  
  5206. var obsoleteLink;
  5207.  
  5208. //check links
  5209. if (obsoletelinks.snapshotLength > 0)
  5210. {
  5211. var y = obsoletelinks.snapshotLength;
  5212.  
  5213. if (filterId == null)
  5214. {
  5215. cLinksTotal += y;
  5216. }
  5217.  
  5218. while (y--)
  5219. {
  5220. obsoleteLink = obsoletelinks.snapshotItem(y);
  5221.  
  5222. if (Display_tooltip_info)
  5223. {
  5224. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5225. }
  5226. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5227. }
  5228. }
  5229. }
  5230. //OBSOLETE FILE HOSTS PROCESSING END
  5231.  
  5232. //DIRECT LINKCHECKING START
  5233. if (http_file_hosts_headers_only.length > 0)
  5234. {
  5235. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5236.  
  5237. //check links
  5238. if (links.snapshotLength > 0)
  5239. {
  5240. var link;
  5241. var isAliveRegex;
  5242. var isDeadRegex;
  5243. var ispremRegex;
  5244.  
  5245. var y = links.snapshotLength;
  5246.  
  5247.  
  5248. if (filterId == null)
  5249. {
  5250. cLinksTotal += y;
  5251. }
  5252.  
  5253. while (y--)
  5254. {
  5255. // links.snapshotItem(y).id = 'processing_link';
  5256. link = links.snapshotItem(y);
  5257. filehostIdx = filehostHeadersOnlyLen;
  5258. while (filehostIdx--)
  5259. {
  5260. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5261. {
  5262. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5263. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5264. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5265. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5266.  
  5267. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5268.  
  5269. break;
  5270. }
  5271. }
  5272. }
  5273.  
  5274. }
  5275. }
  5276. //DIRECT LINKCHECKING END
  5277.  
  5278.  
  5279. //finds the real url on the page, replaces link.href with it and calls geturl
  5280. function decurl(link, reallinkreg, reallinkcorrection)
  5281. {
  5282.  
  5283. GM_xmlhttpRequest(
  5284. {
  5285. method: 'GET',
  5286. url: link.href,
  5287. headers: {
  5288. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5289. 'Accept': 'text/xml',
  5290. 'Referer': ""
  5291. },
  5292. onload: function (result)
  5293. {
  5294. // cLinksProcessed++;
  5295.  
  5296. var reallink = result.responseText.match(reallinkreg)[0];
  5297. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5298.  
  5299. link.href = reallink;
  5300.  
  5301. var i = http_file_hosts.length - 1;
  5302. do
  5303. {
  5304. if ((reallink.match(http_file_hosts[i][0])))
  5305. {
  5306. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5307. var isAliveRegex = http_file_hosts[i][1];
  5308. var isDeadRegex = http_file_hosts[i][2];
  5309. var isUnavaRegex = http_file_hosts[i][3];
  5310. var ispremRegex = http_file_hosts[i][4];
  5311.  
  5312. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5313.  
  5314. break;
  5315. }
  5316. }
  5317. while (i--);
  5318. }
  5319. });
  5320. }
  5321.  
  5322. function randUA()
  5323. {
  5324. //TODO
  5325. }
  5326. //Processes link
  5327. //
  5328. // [string] link link URL
  5329. // [string] isAliveRegex alive link regex
  5330. // [string] isDeadRegex dead link regex
  5331. // [string] isUnavaRegex unavailable link regex
  5332. // [string] ispremRegex premium link regex
  5333. // [boolean] tryLoop repeats request until succeeded
  5334. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5335. {
  5336. GM_xmlhttpRequest(
  5337. {
  5338. method: 'GET',
  5339. url: link.href,
  5340. headers: {
  5341. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5342. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5343. 'Referer': ""
  5344. },
  5345. onload: function (result)
  5346. {
  5347. var res = result.responseText;
  5348. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5349. {
  5350. displayTheCheckedLink(link, 'alive_link');
  5351. return;
  5352. }
  5353.  
  5354. if (res.match(isAliveRegex))
  5355. {
  5356. displayTheCheckedLink(link, 'alive_link');
  5357. return;
  5358. }
  5359.  
  5360. if (res.match(isDeadRegex))
  5361. {
  5362. displayTheCheckedLink(link, 'adead_link');
  5363. return;
  5364. }
  5365.  
  5366. if (isUnavaRegex && res.match(isUnavaRegex))
  5367. {
  5368. displayTheCheckedLink(link, 'unava_link');
  5369. return;
  5370. }
  5371. if (res.match(ispremRegex))
  5372. {
  5373. displayTheCheckedLink(link, 'prem_link');
  5374. return;
  5375. }
  5376.  
  5377. var resStatus = result.status;
  5378.  
  5379. if (resStatus == 404)
  5380. {
  5381. displayTheCheckedLink(link, 'adead_link');
  5382. }
  5383. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5384. {
  5385. if (tryLoop)
  5386. {
  5387. //wait 1-5 seconds and repeat the request
  5388. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5389. }
  5390. else
  5391. {
  5392. displayTheCheckedLink(link, 'unava_link');
  5393. }
  5394.  
  5395. return;
  5396. }
  5397. },
  5398. onerror: function ()
  5399. {
  5400. displayTheCheckedLink(link, 'unava_link');
  5401. }
  5402. });
  5403. }
  5404.  
  5405. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5406. {
  5407. GM_xmlhttpRequest(
  5408. {
  5409. method: 'HEAD',
  5410. url: link.href,
  5411. headers: {
  5412. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5413. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5414. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5415. 'Referer': ""
  5416. },
  5417. onload: function (result)
  5418. {
  5419. var resStatus = result.status;
  5420. var resHeaders = "";
  5421. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5422. {
  5423. displayTheCheckedLink(link, 'adead_link');
  5424. return;
  5425. }
  5426.  
  5427. resHeaders = result.responseHeaders;
  5428.  
  5429. if (resHeaders.match(isDeadRegex))
  5430. {
  5431. displayTheCheckedLink(link, 'adead_link');
  5432. return;
  5433. }
  5434.  
  5435. if (resHeaders.match(isAliveRegex))
  5436. {
  5437. displayTheCheckedLink(link, 'alive_link');
  5438. return;
  5439. }
  5440. if (resHeaders.match(ispremRegex))
  5441. {
  5442. displayTheCheckedLink(link, 'prem_link');
  5443. return;
  5444. }
  5445. },
  5446. onerror: function ()
  5447. {
  5448. displayTheCheckedLink(link, 'unava_link');
  5449. }
  5450. });
  5451. }
  5452.  
  5453. //Delinkfifies the <a> element object
  5454. function delinkifyLink(link)
  5455. {
  5456. var spanElm = document.createElement("span");
  5457. spanElm.className = link.className;
  5458. spanElm.innerHTML = link.innerHTML;
  5459.  
  5460. if (Display_tooltip_info)
  5461. {
  5462. spanElm.href = link.href;
  5463. spanElm.warlc_error = link.warlc_error;
  5464. switch (link.className){
  5465. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5466. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5467. case "unava_link": //reserved
  5468. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5469. default:
  5470. }
  5471. }
  5472. link.parentNode.replaceChild(spanElm, link);
  5473. }
  5474.  
  5475. //Assigns result status to the <a> element object and calls delinkifying eventually
  5476. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5477. function displayTheCheckedLink(link, resultStatus)
  5478. {
  5479. link.className = resultStatus;
  5480. link.href = Ref_anonymize_service + link.href;
  5481. if (Display_tooltip_info)
  5482. {
  5483. switch (resultStatus){
  5484. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5485. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5486. case "unava_link": //reserved
  5487. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5488. default:
  5489. }
  5490. }
  5491. if (doNotLinkify)
  5492. {
  5493. delinkifyLink(link);
  5494. }
  5495. cLinksProcessed++;
  5496.  
  5497. if (resultStatus == "alive_link")
  5498. {
  5499. cLinksAlive++;
  5500. return;
  5501. }
  5502.  
  5503. if (resultStatus == "adead_link")
  5504. {
  5505. cLinksDead++;
  5506. return;
  5507. }
  5508.  
  5509. if (resultStatus == "unava_link")
  5510. {
  5511. cLinksUnava++;
  5512. }
  5513. if (resultStatus == "prem_link")
  5514. {
  5515. cLinksprem++;
  5516. return;
  5517. }
  5518. }
  5519.  
  5520.  
  5521. function initFileHosts()
  5522. {
  5523.  
  5524. function addObsoleteHost(linkRegex, xpathEx)
  5525. {
  5526. var host = new Array(2);
  5527. host[0] = linkRegex;
  5528. host[1] = xpathEx;
  5529. http_file_hosts_obsolete.push(host);
  5530. }
  5531.  
  5532. //obsolete file hosts init start
  5533. if (Obsolete_file_hosts)
  5534. {
  5535. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5536. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5537. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5538. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5539. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5540. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5541. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5542. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5543. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5544. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5545. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5546. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5547. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5548. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5549. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5550. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5551. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5552. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5553. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5554. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5555. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5556. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5557. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5558. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5559. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5560. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5561. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5562. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5563. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5564. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5565. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5566. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5567. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5568. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5569. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5570. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5571. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5572. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5573. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5574. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5575. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5576. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5577. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5578. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5579. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5580. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5581. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5582. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5583. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5584. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5585. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5586. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5587. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5588. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5589. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5590. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5591. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5592. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5593. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5594. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5595. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5596. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5597. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5598. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5599. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5600. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5601. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5602. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5603. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5604. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5605. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5606. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5607. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5608. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5609. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5610. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5611. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5612. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5613. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5614. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5615. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5616. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5617. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5618. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5619. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5620. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5621. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5622. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5623. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5624. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5625. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5626. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5627. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5628. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5629. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5630. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5631. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5632. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5633. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5634. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5635. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5636. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5637. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5638. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5639. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5640. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5641. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5642. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5643. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5644. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5645. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5646. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5647. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5648. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5649. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5650. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5651. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5652. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5653. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5654. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5655. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5656. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5657. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5658. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5659. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5660. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5661. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5662. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5663. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5664. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5665. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5666. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5667. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5668. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5669. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5670. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5671. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5672. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5673. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5674. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5675. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5676. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5677. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5678. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5679. 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')]");
  5680. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5681. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5682. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5683. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5684. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5685. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5686. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5687. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5688. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5689. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5690. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5691. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5692. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5693. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5694. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5695. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5696. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5697. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5698. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5699. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5700. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5701. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5702. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5703. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5704. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5705. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5706. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5707. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5708. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5709. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5710. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5711. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5712. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5713. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5714. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5715. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5716. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5717. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5718. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5719. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5720. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5721. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5722. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5723. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5724. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5725. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5726. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5727. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5728. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5729. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5730. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5731. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5732. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5733. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5734. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5735. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5736. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5737. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5738. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5739. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5740. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5741. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5742. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5743. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5744. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5745. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5746. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5747. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5748. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5749. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5750. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5751. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5752. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5753. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5754. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5755. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5756. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5757. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5758. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5759. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5760. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5761. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5762. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5763. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5764. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5765. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5766. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5767. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5768. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5769. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5770. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5771. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5772. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5773. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5774. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5775. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5776. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5777. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5778. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5779. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5780. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5781. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5782. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5783. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5784. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5785. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5786. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5787. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5788. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5789. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5790. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5791. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5792. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5793. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5794. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5795. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5796. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5797. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5798. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5799. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5800. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5801. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5802. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5803. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5804. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5805. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5806. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5807. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5808. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5809. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5810. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5811. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5812. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5813. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5814. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5815. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5816. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5817. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5818. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5819. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5820. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5821. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5822. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5823. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5824. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5825. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5826. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5827. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5828. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5829. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5830. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5831. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5832. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5833. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5834. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5835. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5836. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5837. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5838. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5839. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5840. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5841. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5842. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5843. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5844. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5845. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5846. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5847. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5848. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5849. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5850. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5851. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5852. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5853. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5854. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5855. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5856. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5857. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5858. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5859. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5860. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5861. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5862. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5863. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5864. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5865. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5866. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5867. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5868. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5869. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5870. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5871. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5872. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5873. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5874. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5875. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5876. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5877. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5878. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5879. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5880. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5881. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5882. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5883. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5884. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5885. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5886. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5887. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5888. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5889. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5890. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5891. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5892. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5893. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5894. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5895. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5896. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5897. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5898. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5899. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5900. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5901. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5902. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5903. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5904. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5905. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5906. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5907. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5908. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5909. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5910. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5911. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5912. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5913. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5914. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5915. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5916. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5917. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5918. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5919. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5920. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5921. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5922. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5923. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5924. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5925. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5926. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5927. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5928. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5929. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5930. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5931. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5932. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5933. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5934. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5935. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5936. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5937. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5938. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5939. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5940. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5941. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5942. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5943. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5944. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5945. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5946. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5947. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5948. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5949. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5950. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5951. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5952. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5953. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5954. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5955. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5956. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5957. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5958. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5959. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5960. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5961. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5962. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5963. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5964. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5965. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5966. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5967. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5968. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5969. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5970. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5971. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5972. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5973. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5974. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5975. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5976. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5977. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5978. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5979. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5980. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5981. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5982. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5983. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5984. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5985. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5986. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5987. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5988. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5989. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5990. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5991. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5992. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5993. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5994. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5995. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5996. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5997. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5998. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5999. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6000. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6001. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6002. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6003. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6004. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6005. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6006. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6007. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6008. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6009. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6010. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6011. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6012. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6013. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6014. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6015. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6016. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6017. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6018. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6019. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6020. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6021. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6022. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6023. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6024. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6025. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6026. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6027. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6028. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6029. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6030. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6031. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6032. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6033. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6034. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6035. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6036. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6037. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6038. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6039. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6040. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6041. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6042. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6043. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6044. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6045. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6046. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6047. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6048. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6049. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6050. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6051. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6052. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6053. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6054. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6055. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6056. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6057. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6058. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6059. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6060. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6061. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6062. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6063. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6064. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6065. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6066. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6067. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6068. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6069. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6070. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6071. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6072. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6073. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6074. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6075. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6076. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6077.  
  6078. // obsolete start start2
  6079. }
  6080. //obsolete file hosts init end
  6081. //Add Host Example
  6082. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6083. {
  6084. addFileHost(
  6085. "datafile\.com\/\\w+",
  6086. 'var captchaPanel|<link href="/css/files_download.css"',
  6087. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6088. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6089. '<style type="text/css">',
  6090. "//a[contains(@href,'datafile.com')]",
  6091. true);
  6092. } */
  6093.  
  6094. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6095. {
  6096. var host = new Array(7);
  6097. host[0] = linkRegex;
  6098. host[1] = isAliveRegex;
  6099. host[2] = isDeadRegex;
  6100. host[3] = isUnavaRegex;
  6101. host[6] = ispremRegex;
  6102. host[4] = xpathEx;
  6103. tryLoop ? host[5] = true : host[5] = false;
  6104. http_file_hosts.push(host);
  6105. }
  6106. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6107. {
  6108. addFileHost(
  6109. "megafileupload\.com\/..\/file\/",
  6110. 'downloadbtn',
  6111. 'is not found',
  6112. 'optional--',
  6113. 'optional2--',
  6114. "//a[contains(@href,'megafileupload.com')]");
  6115. }
  6116. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6117. {
  6118. addFileHost(
  6119. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6120. 'download\\.gif"',
  6121. 'p_point">',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'demo.ovh.eu')]");
  6125. }*/
  6126. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6127. {
  6128. addFileHost(
  6129. "safelinking\\.net\/p\/\\w+",
  6130. 'color:green;"',
  6131. 'color:(?:red|orange);"',
  6132. 'color:(?:grey|brown);"',
  6133. 'optional2--',
  6134. "//a[contains(@href,'safelinking.net/p/')]",
  6135. true);
  6136. }
  6137. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6138. {
  6139. addFileHost(
  6140. "fastshare\\.cz\/\\d+\/\\w*",
  6141. 'dwntable">|speed-low',
  6142. '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',
  6143. 'optional--',
  6144. 'optional2--',
  6145. "//a[contains(@href,'fastshare.cz')]");
  6146. }
  6147. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6148. {
  6149. addFileHost(
  6150. "[fF]ast[sS]hare\\.org\/download",
  6151. 'Download ">',
  6152. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6153. 'optional--',
  6154. 'optional2--',
  6155. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6156. }
  6157. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6158. {
  6159. addFileHost(
  6160. "partage-facile\.com\/\\w+",
  6161. 'class="title"><strong>|colspan="2"',
  6162. 'Page introuvable|class="alert-message',
  6163. 'optional--',
  6164. 'optional2--',
  6165. "//a[contains(@href,'partage-facile.com')]");
  6166. }
  6167. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6168. {
  6169. addFileHost(
  6170. "rapidgator\\.net\/file\/\\w+",
  6171. '/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',
  6172. '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',
  6173. 'optional--',
  6174. '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',
  6175. "//a[contains(@href,'rapidgator.net/file')]",
  6176. true
  6177. );
  6178. }
  6179. if (GM_getValue("Check_rg_dot_to_links", false))
  6180. {
  6181. addFileHost(
  6182. "rg\.to\/\\w+",
  6183. '/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',
  6184. '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',
  6185. 'optional--',
  6186. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6187. "//a[contains(@href,'rg.to')]");
  6188. }
  6189. if (GM_getValue("Check_relink_dot_us_links", false))
  6190. {
  6191. addFileHost(
  6192. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6193. 'online_detail\\.png" alt="Status',
  6194. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6195. 'unknown_detail\\.png" alt="Status',
  6196. 'optional2--',
  6197. "//a[contains(@href,'relink.us/')]"
  6198. );
  6199. }
  6200. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6201. {
  6202. addFileHost(
  6203. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6204. 'div id="dl"',
  6205. 'Sie haben den Link falsch',
  6206. 'optional--',
  6207. 'optional2--',
  6208. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6212. {
  6213. addFileHost(
  6214. "flyfiles\\.net\/\\w+",
  6215. 'download_button"|"Download file"',
  6216. 'File not found!|Файл не найден',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'flyfiles.net/')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "wikiupload\\.com\/\\w+",
  6226. 'download-button">',
  6227. 'Sorry, File not found',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'wikiupload.com/')]"
  6231. );
  6232. }
  6233. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6234. {
  6235. addFileHost(
  6236. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6237. 'file\\.php">|Pobierz Plik',
  6238. 'Podany plik nie zosta',
  6239. 'optional--',
  6240. 'optional2--',
  6241. "//a[contains(@href,'hostuje.net/file')]"
  6242. );
  6243. }
  6244. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6245. {
  6246. addFileHost(
  6247. "gettyfile\\.ru\/\\d+",
  6248. 'download\\.gif border',
  6249. '<center><font size="3">',
  6250. 'optional--',
  6251. 'optional2--',
  6252. "//a[contains(@href,'gettyfile.ru/')]"
  6253. );
  6254. }
  6255. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6256. {
  6257. addFileHost(
  6258. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6259. 'download\\-file">',
  6260. 'col-1">\\s*<h1>',
  6261. 'optional--',
  6262. 'optional2--',
  6263. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6264. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6265. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6266. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6267. );
  6268. }
  6269. if (GM_getValue("Check_data_dot_hu_links", false))
  6270. {
  6271. addFileHost(
  6272. "data\\.hu",
  6273. 'download_box_button|Lassú letöltés',
  6274. 'missing\\.php|Az adott fájl nem létezik',
  6275. 'optional--',
  6276. 'optional2--',
  6277. "//a[contains(@href,'data.hu')]",
  6278. true
  6279. );
  6280. }
  6281. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6282. {
  6283. addFileHost(
  6284. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6285. 'premiumBtn"',
  6286. 'errorMessage"',
  6287. 'optional--',
  6288. 'optional2--',
  6289. "//a[contains(@href,'indowebster.com/download')]"
  6290. );
  6291. }
  6292. if (GM_getValue("Check_superload_dot_cz_links", false))
  6293. {
  6294. addFileHost(
  6295. "superload\\.cz\/dl\/\\w+",
  6296. 'icon-download">',
  6297. 'soubor nebyl nalezen',
  6298. 'optional--',
  6299. 'optional2--',
  6300. "//a[contains(@href,'superload.cz/dl')]"
  6301. );
  6302. }
  6303. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6304. {
  6305. addFileHost(
  6306. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6307. 'op" value="download',
  6308. 'class="err">|width:500px;text-align:left;">',
  6309. 'optional--',
  6310. 'optional2--',
  6311. "//a[contains(@href,'hulkfile.')]"
  6312. );
  6313. }
  6314. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6315. {
  6316. addFileHost(
  6317. "easybytez\\.com\/\\w+",
  6318. 'op" value="download',
  6319. 'stop_error\\.gif',
  6320. 'optional--',
  6321. 'optional2--',
  6322. "//a[contains(@href,'easybytez.com/')]"
  6323. );
  6324. }
  6325. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6326. {
  6327. addFileHost(
  6328. "filestore\\.com\\.ua\/\\?d=\\w+",
  6329. 'tdrow1>',
  6330. 'class=warn',
  6331. 'optional--',
  6332. 'optional2--',
  6333. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6334. );
  6335. }
  6336. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6337. {
  6338. addFileHost(
  6339. "openfile\\.ru\/(?:video\/|)\\d+",
  6340. 'videobox_left">',
  6341. 'blog_title">|not found on this server',
  6342. 'optional--',
  6343. 'optional2--',
  6344. "//a[contains(@href,'openfile.ru/')]"
  6345. );
  6346. }*/
  6347. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6348. {
  6349. addFileHost(
  6350. "extmatrix\\.com\/files\/\\w+",
  6351. 'div class="success"',
  6352. 'div class="error"',
  6353. 'optional--',
  6354. 'optional2--',
  6355. "//a[contains(@href,'extmatrix.com/files')]"
  6356. );
  6357. }
  6358. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6359. {
  6360. addFileHost(
  6361. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6362. 'content_lnkDownload',
  6363. 'error\\.aspx\\?',
  6364. 'optional--',
  6365. 'optional2--',
  6366. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6367. );
  6368. }
  6369. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6370. {
  6371. addFileHost(
  6372. "yourfilestore\\.com\/download\/\\d+\/",
  6373. 'download_data">',
  6374. 'may have been deleted|<h1>Sorry!<\/h1>',
  6375. 'optional--',
  6376. 'optional2--',
  6377. "//a[contains(@href,'yourfilestore.com/download')]"
  6378. );
  6379. }
  6380. if (GM_getValue("Check_filebig_dot_net_links", false))
  6381. {
  6382. addFileHost(
  6383. "filebig\\.net\/files\/\\w+",
  6384. 'downloadFile">',
  6385. '<p>File not found<\/p>',
  6386. 'optional--',
  6387. 'optional2--',
  6388. "//a[contains(@href,'filebig.net/files')]"
  6389. );
  6390. }
  6391. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6392. {
  6393. addFileHost(
  6394. "files\\.filefront\\.com\/\/;\\d+;;",
  6395. 'downloadLink">',
  6396. 'File not found, you',
  6397. 'optional--',
  6398. 'optional2--',
  6399. "//a[contains(@href,'files.filefront.com')]"
  6400. );
  6401.  
  6402. addFileHost(
  6403. "gamefront\\.com\/files\/\\d+",
  6404. 'downloadLink">',
  6405. 'File not found, you',
  6406. 'optional--',
  6407. 'optional2--',
  6408. "//a[contains(@href,'gamefront.com/files')]"
  6409. );
  6410. }
  6411. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6412. {
  6413. addFileHost(
  6414. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6415. 'dnlLnk"',
  6416. 'already been deleted',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6420. );
  6421. }
  6422. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6423. {
  6424. addFileHost(
  6425. "hellupload\\.com\/\\w+",
  6426. '<h3>Download File<br',
  6427. 'id="podstrona">|AVOID_IE_BUG',
  6428. 'optional--',
  6429. 'optional2--',
  6430. "//a[contains(@href,'hellupload.com/')]"
  6431. );
  6432. }
  6433. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6434. {
  6435. addFileHost(
  6436. "free\\-uploading\\.com\/\\w+",
  6437. 'op" value="download',
  6438. 'class="err">|width:500px;text-align:left;">',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'free-uploading.com/')]"
  6442. );
  6443. }
  6444. if (GM_getValue("Check_fileape_dot_com_links", false))
  6445. {
  6446. addFileHost(
  6447. "fileape\\.com\/download\\-",
  6448. 'button_dl\\.png',
  6449. 'does not exist\\.',
  6450. 'optional--',
  6451. 'optional2--',
  6452. "//a[contains(@href,'fileape.com/')]"
  6453. );
  6454. }
  6455. if (GM_getValue("Check_uppit_dot_com_links", false))
  6456. {
  6457. addFileHost(
  6458. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6459. 'op" value="download',
  6460. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6461. 'optional--',
  6462. 'optional2--',
  6463. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6464. true
  6465. );
  6466. }
  6467. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6468. {
  6469. addFileHost(
  6470. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6471. 'op" value="download',
  6472. '>File Not Found<',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'nosupload.com')]",
  6476. true
  6477. );
  6478. }
  6479. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6480. {
  6481. addFileHost(
  6482. "filesin\\.com\/\\w+\/download\\.html",
  6483. 'download_area">',
  6484. 'error_note">',
  6485. 'optional--',
  6486. 'optional2--',
  6487. "//a[contains(@href,'filesin.com/')]",
  6488. true
  6489. );
  6490. }*/
  6491. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6492. {
  6493. addFileHost(
  6494. "nowdownload\\.ch\/dl\/\\w+",
  6495. 'alert-success"',
  6496. 'This file does not exist!',
  6497. 'The file is being transfered',
  6498. 'optional2--',
  6499. "//a[contains(@href,'nowdownload.ch/dl')]"
  6500. );
  6501. }*/
  6502. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6503. {
  6504. addFileHost(
  6505. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6506. 'Dbutton_big"',
  6507. 'download\\-error\\.php',
  6508. 'optional--',
  6509. 'optional2--',
  6510. "//a[contains(@href,'axifile.com/')]"
  6511. );
  6512. }*/
  6513. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6514. {
  6515. addFileHost(
  6516. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6517. 'col-1">\\s*<s',
  6518. 'col-1">\\s*<h',
  6519. 'optional--',
  6520. 'optional2--',
  6521. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6522. );
  6523. }
  6524. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6525. {
  6526. addFileHost(
  6527. "turbobit\\.(?:net|pl)",
  6528. 'id="download-gate-info|id="file-list',
  6529. 'afterWait()|no files in this folder',
  6530. 'optional--',
  6531. 'optional2--',
  6532. "//a[contains(@href,'turbobit.net')]"
  6533. );
  6534. }
  6535. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6536. {
  6537. addFileHost(
  6538. "hitfile\\.net\/download\/folder\/\\d+",
  6539. 'content">\\s*<s',
  6540. 'content">\\s*<h',
  6541. 'optional--',
  6542. 'optional2--',
  6543. "//a[contains(@href,'hitfile.net/download/folder')]"
  6544. );
  6545. }
  6546. if (GM_getValue("Check_movshare_dot_net_links", false))
  6547. {
  6548. addFileHost(
  6549. "movshare\\.net\\/video\\/\\w+",
  6550. 'optional--"',
  6551. 'no longer exists',
  6552. 'optional--',
  6553. 'optional2--',
  6554. "//a[contains(@href,'movshare.net/video')]"
  6555. );
  6556. }
  6557. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6558. {
  6559. addFileHost(
  6560. "mafiastorage\\.com\/\\w+",
  6561. 'op" value="download',
  6562. 'class="err">|style="width:500px;text-align:left;"',
  6563. 'optional--',
  6564. 'optional2--',
  6565. "//a[contains(@href,'mafiastorage.com/')]"
  6566. );
  6567. }
  6568. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6569. {
  6570. addFileHost(
  6571. "uploadingit\\.com\/file\/\\w+",
  6572. 'downloadTitle">',
  6573. 'deleteContent">',
  6574. 'optional--',
  6575. 'optional2--',
  6576. "//a[contains(@href,'uploadingit.com/file')]"
  6577. );
  6578. }*/
  6579. if (GM_getValue("Check_rghost_dot_net_links", false))
  6580. {
  6581. addFileHost(
  6582. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6583. 'download_link|btn large download',
  6584. 'file is restricted|File is deleted|503 Service Unavailable',
  6585. 'optional--',
  6586. 'optional2--',
  6587. "//a[contains(@href,'rghost.')]"
  6588. );
  6589. }
  6590. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6591. {
  6592. addFileHost(
  6593. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6594. '">Staženo:\\s*<\/span>',
  6595. 'Soubor, který hledáte nenalezen',
  6596. 'optional--',
  6597. 'optional2--',
  6598. "//a[contains(@href,'xdisk.cz/')]"
  6599. );
  6600. }
  6601. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6602. {
  6603. addFileHost(
  6604. "2downloadz\.com\/\\w+",
  6605. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6606. 'color="#006DCC|File error',
  6607. 'optional--',
  6608. 'optional2--',
  6609. "//a[contains(@href,'2downloadz.com')]");
  6610. }
  6611. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6612. {
  6613. addFileHost(
  6614. "mightyupload\.com\/\\w+",
  6615. 'background:#ccc;text-align|CONTENT="Download File"',
  6616. 'style="background:#eee|var rr =|File Not Found',
  6617. 'error-code">1010',
  6618. 'optional2--',
  6619. "//a[contains(@href,'mightyupload.com')]");
  6620. }
  6621. if (GM_getValue("Check_anysend_dot_com_links", false))
  6622. {
  6623. addFileHost(
  6624. "anysend\.com\/\\w+",
  6625. 'var openCalled=false;|content="noindex"',
  6626. '_trackPageview',
  6627. 'optional--',
  6628. 'optional2--',
  6629. "//a[contains(@href,'anysend.com')]");
  6630. }
  6631. if (GM_getValue("Check_datafile_dot_com_links", false))
  6632. {
  6633. addFileHost(
  6634. "datafile\.com\/\\w+",
  6635. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6636. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6637. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6638. '; 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">
  6639. "//a[contains(@href,'datafile.com')]",
  6640. true);
  6641. }
  6642. if (GM_getValue("Check_upstore_dot_net_links", false))
  6643. {
  6644. addFileHost(
  6645. "upstore\.net\/\\w+",
  6646. 'name="free"',
  6647. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6648. 'optional--',
  6649. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6650. "//a[contains(@href,'upstore.net')]");
  6651. }
  6652. if (GM_getValue("Check_upsto_dot_re_links", false))
  6653. {
  6654. addFileHost(
  6655. "upsto\.re\/\\w+",
  6656. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6657. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6658. 'optional--',
  6659. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6660. "//a[contains(@href,'upsto.re')]");
  6661. }
  6662. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6663. {
  6664. addFileHost(
  6665. "speedy\.sh\/\\w+",
  6666. 'bgcolor=#eeeeee|class="addthis',
  6667. 'File not found|downloadfilenamenotfound>',
  6668. 'optional--',
  6669. 'optional2--',
  6670. "//a[contains(@href,'speedy.sh')]");
  6671. }
  6672. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6673. {
  6674. addFileHost(
  6675. "kingfiles\.net\/\\w+",
  6676. 'method_free|images/loading_small.gif"',
  6677. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6678. 'optional--',
  6679. 'optional2--',
  6680. "//a[contains(@href,'kingfiles.net')]");
  6681. }
  6682. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6683. {
  6684. addFileHost(
  6685. "secureupload\\.eu\/\\w+",
  6686. 'Downloading',
  6687. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6688. 'optional--',
  6689. 'optional2--',
  6690. "//a[contains(@href,'secureupload.eu')]"
  6691. );
  6692. }
  6693. if (GM_getValue("Check_ge_dot_tt_links", false))
  6694. {
  6695. addFileHost(
  6696. "ge\.tt\/\\w+",
  6697. 'downloads pic',
  6698. 'is NOT the same as',
  6699. 'optional--',
  6700. 'optional2--',
  6701. "//a[contains(@href,'ge.tt')]");
  6702. }
  6703. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6704. {
  6705. addFileHost(
  6706. "filefactory\\.com\/file\/\\w+",
  6707. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6708. '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">',
  6709. 'Server Maintenance|temporarily overloaded',
  6710. 'Premium Account Required',
  6711. "//a[contains(@href,'filefactory.com/file')]");
  6712. } */
  6713. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6714. {
  6715. addFileHost(
  6716. "filesflash\.net\/\\w+",
  6717. 'align:right">Filename:',
  6718. 'class="msg">',
  6719. 'optional--',
  6720. 'optional2--',
  6721. "//a[contains(@href,'filesflash.net')]");
  6722. }
  6723. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6724. {
  6725. addFileHost(
  6726. "rapidgator\\.net\/folder\/\\w+",
  6727. 'href="/folder/',
  6728. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6729. 'optional--',
  6730. 'optional2--',
  6731. "//a[contains(@href,'rapidgator.net/folder')]",
  6732. true
  6733. );
  6734. }
  6735. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6736. {
  6737. addFileHost(
  6738. "salefiles\.com\/\\w+",
  6739. 'name="method_free',
  6740. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6741. 'optional--',
  6742. 'optional2--',
  6743. "//a[contains(@href,'salefiles.com')]");
  6744. }
  6745. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6746. {
  6747. addFileHost(
  6748. "datoid\.cz\/\\w+",
  6749. 'btn-download|class="icon-download-large"',
  6750. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6751. 'optional--',
  6752. 'optional2--',
  6753. "//a[contains(@href,'datoid.cz')]");
  6754. }
  6755. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6756. {
  6757. addFileHost(
  6758. "stiahni\.si\/\\w+",
  6759. 'report_icon.png"|slow-download-button',
  6760. 'none.png|deleted|<h2>Error 500</h2>',
  6761. 'optional--',
  6762. 'optional2--',
  6763. "//a[contains(@href,'stiahni.si')]");
  6764. }
  6765. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6766. {
  6767. addFileHost(
  6768. "cloudstor\.es\/\\w+",
  6769. '"btn_download"',
  6770. '404: Page Not Found',
  6771. 'optional--',
  6772. 'optional2--',
  6773. "//a[contains(@href,'cloudstor.es')]");
  6774. }
  6775. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "streamfile\.com\/\\w+",
  6779. 'class="btn',
  6780. 'class="green-btn',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'streamfile.com')]");
  6784. }
  6785. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6786. {
  6787. addFileHost(
  6788. "eyesfile\.ca\/\\w+",
  6789. 'value="Get Link',
  6790. 'var rr =',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'eyesfile.ca')]");
  6794. }
  6795. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6796. {
  6797. addFileHost(
  6798. "filemoney\.com\/\\w+",
  6799. 'og:title',
  6800. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6801. 'error-code">1010',
  6802. 'optional2--',
  6803. "//a[contains(@href,'filemoney.com')]");
  6804. }
  6805. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6806. {
  6807. addFileHost(
  6808. "uploadboy\.com\/\\w+",
  6809. 'width="740">|method_free',
  6810. 'var rr =|background:#ffffff|not be found|file was removed',
  6811. 'optional--',
  6812. 'optional2--',
  6813. "//a[contains(@href,'uploadboy.com')]");
  6814. }
  6815. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6816. {
  6817. addFileHost(
  6818. "uploadboy\.com\/\\w+",
  6819. 'width="740">|method_free',
  6820. 'var rr =|background:#ffffff|not be found|file was removed',
  6821. 'optional--',
  6822. 'optional2--',
  6823. "//a[contains(@href,'uploadboy.me')]");
  6824. }
  6825. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6826. {
  6827. addFileHost(
  6828. "speedshare\.eu\/\\w+",
  6829. 'favicon.png|color:#3d87c0|cross.png"',
  6830. 'var rr =|File Not Found|style="background:#eee',
  6831. 'optional--',
  6832. 'optional2--',
  6833. "//a[contains(@href,'speedshare.eu')]");
  6834. }
  6835. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6836. {
  6837. addFileHost(
  6838. "unlimitzone\.com\/\\w+",
  6839. 'name="method_free',
  6840. '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',
  6841. 'optional--',
  6842. 'optional2--',
  6843. "//a[contains(@href,'unlimitzone.com')]");
  6844. }
  6845. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6846. {
  6847. addFileHost(
  6848. "rioupload\.com\/\\w+",
  6849. 'sell.jpg',
  6850. 'var rr =',
  6851. 'optional--',
  6852. 'optional2--',
  6853. "//a[contains(@href,'rioupload.com')]");
  6854. }
  6855. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6856. {
  6857. addFileHost(
  6858. "jumbofiles\.org\/\\w+",
  6859. 'H71C5.png|class="downloadtitle">',
  6860. 'var swfu|ViewSourceBIN.png',
  6861. 'optional--',
  6862. 'optional2--',
  6863. "//a[contains(@href,'jumbofiles.org')]");
  6864. }
  6865. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6866. {
  6867. addFileHost(
  6868. "fshare\\.vn\/file\/\\w+",
  6869. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6870. 'không tồn tại|class="color_red m_t_50"',
  6871. 'optional--',
  6872. 'optional2--',
  6873. "//a[contains(@href,'fshare.vn/file')]",
  6874. true
  6875. );
  6876. }
  6877. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6878. {
  6879. addFileHost(
  6880. "spaceforfiles\.com\/\\w+",
  6881. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6882. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6883. 'optional--',
  6884. 'optional2--',
  6885. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6886. }
  6887. if (GM_getValue("Check_google_dot_com_links", false))
  6888. {
  6889. addFileHost(
  6890. "google\\.com\/file\/\\w+",
  6891. 'content="!">|color:#2d2d2d',
  6892. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6893. 'optional--',
  6894. 'optional2--',
  6895. "//a[contains(@href,'google.com/file')]",
  6896. true
  6897. );
  6898. }
  6899. if (GM_getValue("Check_google_dot_com_links", false))
  6900. {
  6901. addFileHost(
  6902. "docs.google.com\/\\w+",
  6903. 'content="!">|color:#2d2d2d',
  6904. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6905. 'optional--',
  6906. 'optional2--',
  6907. "//a[contains(@href,'docs.google.com')]",
  6908. true
  6909. );
  6910. }
  6911. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6912. {
  6913. addFileHost(
  6914. "drive.google.com\/\\w+",
  6915. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6916. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6917. 'optional--',
  6918. 'optional2--',
  6919. "//a[contains(@href,'drive.google.com')]",
  6920. true
  6921. );
  6922. }
  6923. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6924. {
  6925. addFileHost(
  6926. "up.media1fire\.com\/\\w+",
  6927. 'class="addthis_|value="download',
  6928. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6929. 'optional--',
  6930. 'optional2--',
  6931. "//a[contains(@href,'up.media1fire.com')]");
  6932. }
  6933. if (GM_getValue("Check_depfile_dot_com_links", false))
  6934. {
  6935. addFileHost(
  6936. "depfile\.com\/\\w+",
  6937. 'logo_0.png|downloads.gif"|verifycode',
  6938. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6939. 'optional--',
  6940. 'available only for Premium users',
  6941. "//a[contains(@href,'depfile.com')]");
  6942. }
  6943. if (GM_getValue("Check_go4up_dot_com_links", false))
  6944. {
  6945. addFileHost(
  6946. "go4up\.com\/\\w+",
  6947. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6948. '<title>GO4UP|dmca',
  6949. 'optional--',
  6950. 'optional2--',
  6951. "//a[contains(@href,'go4up.com')]");
  6952. }
  6953. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6954. {
  6955. addFileHost(
  6956. "redbunker\.net\/\\w+",
  6957. 'name="method_free"',
  6958. 'color="red">Unknow / Bilinmiyor<',
  6959. 'optional--',
  6960. '2.3 GB',
  6961. "//a[contains(@href,'redbunker.net')]");
  6962. }
  6963. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6964. {
  6965. addFileHost(
  6966. "divxpress\.com\/\\w+",
  6967. 'btn_download|logo.png"',
  6968. 'AVOID_IE_BUG|var rr =',
  6969. 'optional--',
  6970. 'optional2--',
  6971. "//a[contains(@href,'divxpress.com')]");
  6972. }
  6973. if (GM_getValue("Check_anafile_dot_com_links", false))
  6974. {
  6975. addFileHost(
  6976. "anafile\.com\/\\w+",
  6977. 'width="881" valign="top|color="#800080"|name="go"',
  6978. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6979. 'optional--',
  6980. 'optional2--',
  6981. "//a[contains(@href,'anafile.com')]");
  6982. }
  6983. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6984. {
  6985. addFileHost(
  6986. "uploadable\\.ch\/file\/\\w+",
  6987. 'captcha.js"|payment.js"|class="btn_download"',
  6988. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6989. 'optional--',
  6990. 'optional2--',
  6991. "//a[contains(@href,'uploadable.ch/file')]",
  6992. true
  6993. );
  6994. }
  6995. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6996. {
  6997. addFileHost(
  6998. "bigfile\\.to\/file\/\\w+",
  6999. 'captcha.js"|payment.js"|class="btn_download"',
  7000. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'bigfile.to/file')]",
  7004. true
  7005. );
  7006. }
  7007. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7008. {
  7009. addFileHost(
  7010. "arabloads\.net\/\\w+",
  7011. 'name="method_free"|name="method_premium"',
  7012. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7013. 'optional--',
  7014. 'optional2--',
  7015. "//a[contains(@href,'arabloads.net')]");
  7016. }
  7017. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7018. {
  7019. addFileHost(
  7020. "sharerepo\.com\/\\w+",
  7021. 'name="method_free"',
  7022. 'var public_on=|The file you were looking for could not be found',
  7023. 'optional--',
  7024. 'optional2--',
  7025. "//a[contains(@href,'sharerepo.com')]");
  7026. }
  7027. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7028. {
  7029. addFileHost(
  7030. "sfshare\.se\/\\w+",
  7031. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7032. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7033. 'optional--',
  7034. 'optional2--',
  7035. "//a[contains(@href,'sfshare.se')]");
  7036. }
  7037. if (GM_getValue("Check_files_dot_fm_links", false))
  7038. {
  7039. addFileHost(
  7040. "files\.fm\/\\w+",
  7041. 'dl.png"|background-color: transparent',
  7042. 'margin: 40px 40px|background: none;',
  7043. 'optional--',
  7044. 'optional2--',
  7045. "//a[contains(@href,'files.fm')]");
  7046. }
  7047. if (GM_getValue("Check_koofile_dot_com_links", false))
  7048. {
  7049. addFileHost(
  7050. "koofile\.com\/\\w+",
  7051. 'value="download1">|name="method_free"',
  7052. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7053. 'optional--',
  7054. 'optional2--',
  7055. "//a[contains(@href,'koofile.com')]");
  7056. }
  7057. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7058. {
  7059. addFileHost(
  7060. "vidxden\\.com\/\\w+",
  7061. 'Continue to Video"',
  7062. 'No such file',
  7063. 'optional--',
  7064. 'optional2--',
  7065. "//a[contains(@href,'vidxden.com')]"
  7066. );
  7067. }*/
  7068. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7069. {
  7070. addFileHost(
  7071. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7072. 'Details zur Datei|Details page',
  7073. 'Jetzt hochladen|upload now',
  7074. 'optional--',
  7075. 'optional2--',
  7076. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7077. );
  7078. }
  7079. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7080. {
  7081. addFileHost(
  7082. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7083. 'downloadbtn"',
  7084. 'DL_FileNotFound',
  7085. 'optional--',
  7086. 'optional2--',
  7087. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7088. );
  7089. }
  7090. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7091. {
  7092. addFileHost(
  7093. "fileflyer\.com\/view\/\\w+",
  7094. '(?:dwl|locked)btn"',
  7095. 'error.gif"|link">Removed|removedlink">',
  7096. 'optional--',
  7097. 'optional2--',
  7098. "//a[contains(@href,'fileflyer.com')]"
  7099. );
  7100. }
  7101. if (GM_getValue("Check_filestore_dot_to_links", false))
  7102. {
  7103. addFileHost(
  7104. "filestore\.to\/\\?d=\\w+",
  7105. '"downloading"',
  7106. 'Datei wurde nicht gefunden',
  7107. 'optional--',
  7108. 'optional2--',
  7109. "//a[contains(@href,'filestore.to')]"
  7110. );
  7111. }
  7112. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7113. {
  7114. addFileHost(
  7115. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7116. 'fz24">Download|class="pl15">',
  7117. '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',
  7118. 'optional--',
  7119. 'optional2--',
  7120. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7121. );
  7122. }
  7123. if (GM_getValue("Check_datei_dot_to_links", false))
  7124. {
  7125. addFileHost(
  7126. "datei\\.to\/\\??\\w+",
  7127. 'icon_downloaden\\.png|>Download starten<',
  7128. 'Datei wurde nicht gefunden|icon_deleted.png',
  7129. 'optional--',
  7130. 'optional2--',
  7131. "//a[contains(@href,'datei.to')]"
  7132. );
  7133. }
  7134. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7135. {
  7136. addFileHost(
  7137. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7138. '<body class="body" id="body">|value="Slow Download"',
  7139. '<body class="body" >',
  7140. 'optional--',
  7141. 'optional2--',
  7142. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7143. );
  7144. }
  7145. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7146. {
  7147. addFileHost(
  7148. "unibytes\\.com\/[\\w\.]+",
  7149. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7150. 'File not found|Файл не найден|',
  7151. 'optional--',
  7152. 'optional2--',
  7153. "//a[contains(@href,'unibytes.com')]"
  7154. );
  7155. }
  7156. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7157. {
  7158. addFileHost(
  7159. "www\\.hellshare\\.com\/\\d+",
  7160. 'tab\\-details"',
  7161. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7162. 'optional--',
  7163. 'optional2--',
  7164. "//a[contains(@href,'www.hellshare.com')]"
  7165. );
  7166. }
  7167. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7168. {
  7169. addFileHost(
  7170. "www\\.download.cz.hellshare\\.com\/\\w+",
  7171. 'tab\\-details"',
  7172. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7173. 'optional--',
  7174. 'optional2--',
  7175. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7176. );
  7177. }
  7178. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7179. {
  7180. addFileHost(
  7181. "filefactory\\.com",
  7182. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7183. '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',
  7184. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7185. 'Premium Account Required',
  7186. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7187. );
  7188. }
  7189. if (GM_getValue("Check_load_dot_to_links", false))
  7190. {
  7191. addFileHost(
  7192. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7193. '"download_table_left">Size',
  7194. 'Can\'t find file',
  7195. 'optional--',
  7196. 'optional2--',
  7197. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7198. );
  7199. }
  7200. if (GM_getValue("Check_divshare_dot_com_links", false))
  7201. {
  7202. addFileHost(
  7203. "divshare\\.com\/download\/",
  7204. 'download_new\.png',
  7205. 'have been removed',
  7206. 'optional--',
  7207. 'optional2--',
  7208. "//a[contains(@href,'divshare.com')]"
  7209. );
  7210. }
  7211. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7212. {
  7213. addFileHost(
  7214. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7215. 'download=true"',
  7216. '<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>',
  7217. 'optional--',
  7218. 'optional2--',
  7219. "//a[contains(@href,'euroshare.eu/file')]"
  7220. );
  7221. }
  7222. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7223. {
  7224. addFileHost(
  7225. 'files\\.mail\\.ru/(?:\\w*)',
  7226. 'fileList',
  7227. 'errorMessage',
  7228. 'optional--',
  7229. 'optional2--',
  7230. "//a[contains(@href,'files.mail.ru')]"
  7231. );
  7232. }
  7233. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7234. {
  7235. addFileHost(
  7236. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7237. 'Filesize',
  7238. 'Invalid|deleted|Could not download file',
  7239. 'slots|scheduled maintenance',
  7240. 'optional2--',
  7241. "//a[contains(@href,'megashares.com/')]"
  7242. );
  7243. } */
  7244. if (GM_getValue("Check_narod_dot_ru_links", false))
  7245. {
  7246. addFileHost(
  7247. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7248. 'b-submit|action="resource.download"',
  7249. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7250. 'Внутренняя ошибка сервиса',
  7251. 'optional2--',
  7252. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7253. );
  7254. }
  7255. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7256. {
  7257. addFileHost(
  7258. "rayfile\\.com\/",
  7259. 'FILEtitleTXT',
  7260. 'blueRow',
  7261. 'optional--',
  7262. 'optional2--',
  7263. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7264. );
  7265. }
  7266. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7267. {
  7268. addFileHost(
  7269. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7270. 'button_green_body"',
  7271. 'error">',
  7272. 'optional--',
  7273. 'optional2--',
  7274. "//a[contains(@href,'filesmonster.com/download')]"
  7275. );
  7276. }
  7277. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7278. {
  7279. addFileHost(
  7280. 'usaupload\\.net\/d\/(?:\w*)',
  7281. '<strong>File size:</strong>',
  7282. 'is not available',
  7283. 'optional--',
  7284. 'optional2--',
  7285. "//a[contains(@href,'usaupload.net/d/')]"
  7286. );
  7287. }
  7288. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7289. {
  7290. addFileHost(
  7291. 'sendspace\\.com\/file\/\\w+',
  7292. 'file_description',
  7293. 'msg error"',
  7294. 'optional--',
  7295. 'optional2--',
  7296. "//a[contains(@href,'sendspace.com/file')]"
  7297. );
  7298. }
  7299. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7300. {
  7301. addFileHost(
  7302. 'sendspace\\.pl\/file\/\\w+',
  7303. 'download_file"',
  7304. 'Podany plik nie',
  7305. 'optional--',
  7306. 'optional2--',
  7307. "//a[contains(@href,'sendspace.pl/file')]"
  7308. );
  7309. }
  7310. if (GM_getValue("Check_uploading_dot_com_links", false))
  7311. {
  7312. addFileHost(
  7313. 'uploading\\.com\/(?:files\/)?\\w+',
  7314. 'free_method">',
  7315. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7316. 'optional--',
  7317. 'optional2--',
  7318. "//a[contains(@href,'uploading.com')]"
  7319. );
  7320. }
  7321. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7322. {
  7323. addFileHost(
  7324. "gigasize\.com\/\\w+",
  7325. 'fileId"|class="estimate">',
  7326. 'error">',
  7327. 'optional--',
  7328. 'optional2--',
  7329. "//a[contains(@href,'gigasize.com/get')]"
  7330. );
  7331. }
  7332. if (GM_getValue("Check_good_dot_com_links", false))
  7333. {
  7334. addFileHost(
  7335. 'good\\.net\/(?:_|dl)',
  7336. 'Free Download',
  7337. 'Not Found',
  7338. 'Forbidden',
  7339. 'optional2--',
  7340. "//a[contains(@href,'good.net')]"
  7341. );
  7342. }
  7343. if (GM_getValue("Check_2shared_dot_com_links", false))
  7344. {
  7345. addFileHost(
  7346. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7347. 'File size',
  7348. 'File not found|is not valid|/images/important.gif',
  7349. 'optional--',
  7350. 'optional2--',
  7351. // "//a[contains(@href,'2shared.com')]"
  7352. "//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/')]"
  7353. );
  7354. }
  7355. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7356. {
  7357. addFileHost(
  7358. 'turboupload\\.com\/\\w*',
  7359. 'You have requested',
  7360. 'File Not Found',
  7361. 'optional--',
  7362. 'optional2--',
  7363. "//a[contains(@href,'turboupload.com')]"
  7364. );
  7365. }
  7366. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7367. {
  7368. addFileHost(
  7369. 'gigapeta\\.com\/dl\/',
  7370. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7371. '404|page_error',
  7372. 'optional--',
  7373. 'optional2--',
  7374. "//a[contains(@href,'gigapeta.com/dl')]"
  7375. );
  7376. }
  7377. if (GM_getValue("Check_veehd_dot_com_links", false))
  7378. {
  7379. addFileHost(
  7380. 'veehd\.com\/video\/.*?',
  7381. 'No sound|Download video',
  7382. 'Featured Videos',
  7383. 'optional--',
  7384. 'optional2--',
  7385. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7386. );
  7387. }
  7388. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7389. {
  7390. addFileHost(
  7391. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7392. 'fast_download_form">|submit_sms_download',
  7393. '<p style="text-align:center">',
  7394. 'optional--',
  7395. 'optional2--',
  7396. "//a[contains(@href,'vip-file.com/download')]"
  7397. );
  7398. }
  7399. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7400. {
  7401. addFileHost(
  7402. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7403. 'download\\-pnl ',
  7404. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7405. 'optional--',
  7406. 'optional2--',
  7407. "//a[contains(@href,'letitbit.net/download')]"
  7408. );
  7409. }*/
  7410. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7411. {
  7412. addFileHost(
  7413. 'ifolder\.ru\/\\d+',
  7414. 'file-info',
  7415. 'ui-state-error',
  7416. 'optional--',
  7417. 'optional2--',
  7418. "//a[contains(@href,'ifolder.ru')]"
  7419. );
  7420. }
  7421. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7422. {
  7423. addFileHost(
  7424. 'fileswap\\.com\/dl\/\\w+',
  7425. 'bttnDownloadLink"',
  7426. 'rounded_block_error"',
  7427. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7428. 'optional2--',
  7429. "//a[contains(@href,'fileswap.com/dl')]"
  7430. );
  7431. }*/
  7432. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7433. {
  7434. addFileHost(
  7435. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7436. 'var __error = 0|id="recaptchaPanel">',
  7437. 'FILES__DOESNT_EXIST|removed or did not exist',
  7438. 'optional--',
  7439. 'optional2--',
  7440. "//a[contains(@href,'filecloud.io/')]"
  7441. );
  7442. addFileHost(
  7443. 'ifile\\.it\/\\w+',
  7444. 'var __error = 0',
  7445. 'FILES__DOESNT_EXIST',
  7446. 'optional--',
  7447. 'optional2--',
  7448. "//a[contains(@href,'ifile.it/')]"
  7449. );
  7450. }
  7451. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7452. {
  7453. addFileHost(
  7454. 'solidfiles\\.com\/\\w+',
  7455. 'id="download"|content="Download',
  7456. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7457. 'optional--',
  7458. 'optional2--',
  7459. "//a[contains(@href,'solidfiles.com/')]"
  7460. );
  7461. }
  7462. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7463. {
  7464. addFileHost(
  7465. "(?:.\\.|)shareflare\\.net",
  7466. 'download-pnl|<div class="premium-block">',
  7467. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7468. 'optional--',
  7469. 'optional2--',
  7470. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7471. );
  7472. }
  7473. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7474. {
  7475. addFileHost(
  7476. "u18116681.shareflare\\.net",
  7477. 'download-pnl|<div class="premium-block">',
  7478. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7479. 'optional--',
  7480. 'optional2--',
  7481. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7482. );
  7483. }
  7484. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7485. {
  7486. addFileHost(
  7487. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7488. 'file\\-list-orderby|section-filedetail">',
  7489. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7490. 'optional--',
  7491. 'optional2--',
  7492. "//a[contains(@href,'hellspy.')]"
  7493. );
  7494. }
  7495. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7496. {
  7497. addFileHost(
  7498. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7499. '<body onload="">',
  7500. 'neexistuje|not exist',
  7501. 'optional--',
  7502. 'optional2--',
  7503. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7504. );
  7505. }
  7506. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7507. {
  7508. addFileHost(
  7509. "stahovanizasms\\.cz\/\\w+",
  7510. 'download\\.png>|font-size:11px><tr>',
  7511. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7512. 'optional--',
  7513. 'optional2--',
  7514. "//a[contains(@href,'stahovanizasms.cz')]"
  7515. );
  7516. }
  7517. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7518. {
  7519. addFileHost(
  7520. "share-links\\.biz\/\\w*",
  7521. 'online\\.gif',
  7522. '(?:offline|parts)\\.gif',
  7523. 'optional--',
  7524. 'optional2--',
  7525. "//a[contains(@href,'share-links.biz')]"
  7526. );
  7527. }
  7528. if (GM_getValue("Check_4shared_dot_com_links", false))
  7529. {
  7530. addFileHost(
  7531. "4shared\\.com\/.+\/",
  7532. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7533. 'class="warn\"|big red"|GetDataBack',
  7534. 'Service Unavailable',
  7535. 'optional2--',
  7536. "//a[contains(@href,'4shared.com')]"
  7537. );
  7538. }
  7539. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7540. {
  7541. addFileHost(
  7542. "(?:www\\d+\.|)zippyshare\.com\/",
  7543. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7544. 'not exist|Status 404',
  7545. 'optional--',
  7546. 'optional2--',
  7547. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7548. );
  7549. }
  7550. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7551. {
  7552. addFileHost(
  7553. "mediafire\.com\/",
  7554. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7555. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7556. 'set to private',
  7557. 'optional2--',
  7558. "//a[contains(@href,'mediafire.com')]"
  7559. );
  7560. }
  7561. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7562. {
  7563. addFileHost(
  7564. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7565. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7566. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7567. 'optional--',
  7568. 'GB</small>',
  7569. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7570. );
  7571. }
  7572. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7573. {
  7574. addFileHost(
  7575. "ulozisko\.sk\/",
  7576. 'Detaily',
  7577. 'neexistuje',
  7578. 'optional--',
  7579. 'optional2--',
  7580. "//a[contains(@href,'ulozisko.sk')]"
  7581. );
  7582. }
  7583. if (GM_getValue("Check_box_dot_com_links", false))
  7584. {
  7585. addFileHost(
  7586. "box\.com\/\\w+",
  7587. 'download-file-btn|id="download_button|preview-download',
  7588. 'BIyMin.png| <div class="error_message|link has been removed',
  7589. 'optional--',
  7590. 'optional2--',
  7591. "//a[contains(@href,'app.box.com')]");
  7592. }
  7593. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7594. {
  7595. addFileHost(
  7596. "uptobox\\.com\/\\w+",
  7597. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7598. '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|لا يوجد أي ملف',
  7599. 'Maintenance',
  7600. 'optional2--',
  7601. "//a[contains(@href,'uptobox.com')]",
  7602. true
  7603. );
  7604. }
  7605. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7606. {
  7607. addFileHost(
  7608. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7609. 'FILE DOWNLOAD<',
  7610. 'File Does Not Exist',
  7611. 'optional--',
  7612. 'optional2--',
  7613. "//a[contains(@href,'sharecash.org/download.php')]"
  7614. );
  7615. }
  7616. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7617. {
  7618. addFileHost(
  7619. "1fichier\\.com\/dir\/\\w+",
  7620. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7621. 'Shared Folder Not Found',
  7622. 'optional--',
  7623. 'optional2--',
  7624. "//a[contains(@href,'1fichier.com/dir')]"
  7625. );
  7626. }
  7627. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7628. {
  7629. addFileHost(
  7630. "depositfiles\\.com\/folders\/\\w+",
  7631. '<div class="progressContainer">',
  7632. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7633. 'optional--',
  7634. 'optional2--',
  7635. "//a[contains(@href,'depositfiles.com/folders')]"
  7636. );
  7637. }
  7638. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7639. {
  7640. addFileHost(
  7641. "rapidfileshare\\.net/\\w+",
  7642. '<div id="upload-header-bg">',
  7643. '<div style="width:500px;text-align:left;">',
  7644. 'optional--',
  7645. 'optional2--',
  7646. "//a[contains(@href,'rapidfileshare.net/')]"
  7647. );
  7648. }
  7649. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7650. {
  7651. addFileHost(
  7652. "stiahnito\\.sk/",
  7653. '<span class="filesize right">',
  7654. '<ol class="list-purp-2">',
  7655. 'optional--',
  7656. 'optional2--',
  7657. "//a[contains(@href,'stiahnito.sk/')]"
  7658. );
  7659. }
  7660. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7661. {
  7662. addFileHost(
  7663. "rusfolder\\.(?:com|net)",
  7664. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7665. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7666. 'optional--',
  7667. 'optional2--',
  7668. "//a[contains(@href,'rusfolder')]"
  7669. );
  7670. }
  7671. if (GM_getValue("Check_catshare_dot_net_links", false))
  7672. {
  7673. addFileHost(
  7674. "catshare\\.net/\\w+",
  7675. '"icon-share',
  7676. 'alert alert-error',
  7677. 'optional--',
  7678. 'optional2--',
  7679. "//a[contains(@href,'catshare.net/')]"
  7680. );
  7681. }
  7682. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7683. {
  7684. addFileHost(
  7685. "anonfiles\\.com/\\w+",
  7686. '"download_button"',
  7687. '<legend><b>404</b>',
  7688. 'optional--',
  7689. 'optional2--',
  7690. "//a[contains(@href,'anonfiles.com')]"
  7691. );
  7692. }*/
  7693. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7694. {
  7695. addFileHost(
  7696. "mixturecloud\\.com/media/\\w+",
  7697. '"btn icon i_globe gray share_150',
  7698. '"s_cross_close"></span> 404:',
  7699. 'optional--',
  7700. 'optional2--',
  7701. "//a[contains(@href,'mixturecloud.com/media/')]"
  7702. );
  7703. }
  7704. if (GM_getValue("Check_akafile_dot_com_links", false))
  7705. {
  7706. addFileHost(
  7707. "akafile\\.com\/\\w+",
  7708. 'download1',
  7709. 'File Not Found',
  7710. 'optional--',
  7711. 'optional2--',
  7712. "//a[contains(@href,'akafile.com/')]"
  7713. );
  7714. }
  7715. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7716. {
  7717. addFileHost(
  7718. "creafile\\.net\/\\w+",
  7719. 'downloadblock',
  7720. 'errtitle',
  7721. 'optional--',
  7722. 'optional2--',
  7723. "//a[contains(@href,'creafile.net/')]"
  7724. );
  7725. }*/
  7726. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7727. {
  7728. addFileHost(
  7729. "hugefiles\\.net\/\\w+",
  7730. 'download1|class="btn-create-download" value="Create Download Link">',
  7731. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7732. 'optional--',
  7733. 'optional2--',
  7734. "//a[contains(@href,'hugefiles.net/')]"
  7735. );
  7736. }*/
  7737. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7738. {
  7739. addFileHost(
  7740. "sendmyway\\.com\/\\w+",
  7741. 'id="btn_download"',
  7742. '500px;text-align:left;"|<center><h3>',
  7743. 'optional--',
  7744. 'optional2--',
  7745. "//a[contains(@href,'sendmyway.com/')]"
  7746. );
  7747. }
  7748. if (GM_getValue("Check_upload_dot_ee_links", false))
  7749. {
  7750. addFileHost(
  7751. "upload\\.ee\/\\w+",
  7752. 'onmouseout="document.dllink.src',
  7753. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7754. 'optional--',
  7755. 'optional2--',
  7756. "//a[contains(@href,'upload.ee/')]"
  7757. );
  7758. }
  7759. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7760. {
  7761. addFileHost(
  7762. "shareplace\\.org\/\\?\\w+",
  7763. 'Download-Link',
  7764. 'Your requested file is not found|Select file to send',
  7765. 'optional--',
  7766. 'optional2--',
  7767. "//a[contains(@href,'shareplace.org/?')]"
  7768. );
  7769. }
  7770. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7771. {
  7772. addFileHost(
  7773. "uploadc\\.com\/\\w+",
  7774. 'id="prebut"',
  7775. 'File Not Found|This file has been removed due',
  7776. 'optional--',
  7777. 'optional2--',
  7778. "//a[contains(@href,'uploadc.com/')]"
  7779. );
  7780. }
  7781. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7782. {
  7783. addFileHost(
  7784. "uploadc\\.ch\/\\w+",
  7785. 'id="prebut"',
  7786. 'File Not Found|This file has been removed due',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'uploadc.ch/')]"
  7790. );
  7791. }
  7792. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7793. {
  7794. addFileHost(
  7795. "remixshare\\.com\/\\w+",
  7796. 'id="dl2"',
  7797. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'remixshare.com/')]"
  7801. );
  7802. }*/
  7803. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7804. {
  7805. addFileHost(
  7806. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7807. 'Last Download :',
  7808. 'img src="\\/404.jpg"',
  7809. 'optional--',
  7810. 'optional2--',
  7811. "//a[contains(@href,'exoshare.com/download.php')]"
  7812. );
  7813. }
  7814. if (GM_getValue("Check_borncash_dot_org_links", false))
  7815. {
  7816. addFileHost(
  7817. "borncash\\.org\/download\/\\?a=\\w+",
  7818. 'class="knop_1"',
  7819. '\/error\/er00',
  7820. 'optional--',
  7821. 'optional2--',
  7822. "//a[contains(@href,'borncash.org/download/')]"
  7823. );
  7824. }
  7825. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7826. {
  7827. addFileHost(
  7828. "vidplay\.net\/\\w+",
  7829. 'solvemedia puzzle widget',
  7830. 'File not found|AVOID_IE_BUG',
  7831. 'optional--',
  7832. 'optional2--',
  7833. "//a[contains(@href,'vidplay.net')]");
  7834. }*/
  7835. if (GM_getValue("Check_filedais_dot_com_links", false))
  7836. {
  7837. addFileHost(
  7838. "filedais\.com\/\\w+",
  7839. 'class="btn btn-info"|name="method_free"',
  7840. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7841. 'optional--',
  7842. 'optional2--',
  7843. "//a[contains(@href,'filedais.com')]");
  7844. }
  7845. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7846. {
  7847. addFileHost(
  7848. "up.4share\.vn\/\\w+",
  7849. '<font size="2" face="Verdana">',
  7850. 'font: 13px Tahoma; color: Brown',
  7851. 'optional--',
  7852. 'optional2--',
  7853. "//a[contains(@href,'up.4share.vn')]");
  7854. }
  7855. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7856. {
  7857. addFileHost(
  7858. "share.vnn\.vn\/\\w+",
  7859. '"index,follow"|<div class="main" id="download-box">',
  7860. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7861. 'optional--',
  7862. 'optional2--',
  7863. "//a[contains(@href,'share.vnn.vn')]");
  7864. }
  7865. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7866. {
  7867. addFileHost(
  7868. "upfile\.vn\/\\w+",
  7869. 'download-timer',
  7870. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7871. 'optional--',
  7872. 'optional2--',
  7873. "//a[contains(@href,'upfile.vn')]");
  7874. }
  7875. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7876. {
  7877. addFileHost(
  7878. "aisfile\.com\/\\w+",
  7879. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7880. '<div style="width:500px;text-align:left;">|File Not Found',
  7881. 'optional--',
  7882. 'optional2--',
  7883. "//a[contains(@href,'aisfile.com')]");
  7884. }
  7885. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7886. {
  7887. addFileHost(
  7888. "usersfiles\.com\/\\w+",
  7889. 'class="btn btn-success|id="btn_download" class="btn"',
  7890. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7891. 'optional--',
  7892. 'optional2--',
  7893. "//a[contains(@href,'usersfiles.com')]");
  7894. }
  7895. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7896. {
  7897. addFileHost(
  7898. "pan.baidu\.com\/\\w+",
  7899. 'target="_blank" title=|share-personal-info',
  7900. 'share_notfound.png|background:#f9f9f9',
  7901. 'optional--',
  7902. 'optional2--',
  7903. "//a[contains(@href,'pan.baidu.com')]");
  7904. }
  7905. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7906. {
  7907. addFileHost(
  7908. "yunpan\.cn\/\\w+",
  7909. 'class="icon icon-download',
  7910. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7911. 'optional--',
  7912. 'optional2--',
  7913. "//a[contains(@href,'yunpan.cn')]");
  7914. }
  7915. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7916. {
  7917. addFileHost(
  7918. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7919. 'getElementById("downbild")|style.display',
  7920. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7921. 'optional--',
  7922. 'optional2--',
  7923. "//a[contains(@href,'file-upload.net')]");
  7924. }
  7925. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7926. {
  7927. addFileHost(
  7928. "gulfup\.com\/",
  7929. '<!-- Downlod template -->|download.gif',
  7930. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7931. 'optional--',
  7932. 'optional2--',
  7933. "//a[contains(@href,'gulfup.com')]");
  7934. }*/
  7935. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7936. {
  7937. addFileHost(
  7938. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7939. 'dldtable">',
  7940. 'does not exist\\.',
  7941. 'optional--',
  7942. 'optional2--',
  7943. "//a[contains(@href,'datafilehost.com')]");
  7944. }
  7945. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7946. {
  7947. addFileHost(
  7948. "dropbox\.com\/s\/\\w+",
  7949. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7950. '>Nothing Here<|>Error (404)<',
  7951. 'title>Dropbox - 509|Error (403)|Error: 429',
  7952. 'optional2--',
  7953. "//a[contains(@href,'dropbox.com')]");
  7954. }
  7955. if (GM_getValue("Check_box_dot_net_links", false))
  7956. {
  7957. addFileHost(
  7958. "box\.net\/\\w+",
  7959. 'download-file-btn|id="download_button',
  7960. 'BIyMin.png| <div class="error_message',
  7961. 'optional--',
  7962. 'optional2--',
  7963. "//a[contains(@href,'box.net')]");
  7964. }
  7965. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7966. {
  7967. addFileHost(
  7968. "filedropper\.com\/\\w+",
  7969. 'background:#ddd;|width:985px; ',
  7970. 'background-color:#FFFFFF;|margin-left: -400px;',
  7971. 'optional--',
  7972. 'optional2--',
  7973. "//a[contains(@href,'filedropper.com')]");
  7974. }
  7975. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7976. {
  7977. addFileHost(
  7978. "tropicshare\\.com\/files\/\\d+",
  7979. 'MB</span>|GB</span>|KB</span>',
  7980. '>FNF<|size: </span>',
  7981. 'optional--',
  7982. 'optional2--',
  7983. "//a[contains(@href,'tropicshare.com')]");
  7984. }
  7985. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7986. {
  7987. addFileHost(
  7988. "worldbytez\.com",
  7989. '<div class="download_type">|method_free',
  7990. '<div style="width:500px;text-align:left;">',
  7991. 'optional--',
  7992. 'optional2--',
  7993. "//a[contains(@href,'worldbytez.com')]",
  7994. true);
  7995. }
  7996. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7997. {
  7998. addFileHost(
  7999. "freefilehosting\.net\/\\w+",
  8000. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8001. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8002. 'optional--',
  8003. 'optional2--',
  8004. "//a[contains(@href,'freefilehosting.net')]");
  8005. }
  8006. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8007. {
  8008. addFileHost(
  8009. "ziddu\.com\/\\w+",
  8010. 'downloads.ziddu.com|downloadfilelinkicon',
  8011. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8012. 'optional--',
  8013. 'optional2--',
  8014. "//a[contains(@href,'ziddu.com')]");
  8015. }
  8016. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8017. {
  8018. addFileHost(
  8019. "exclusiveloader\.com\/\\w+",
  8020. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8021. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8022. 'optional--',
  8023. 'optional2--',
  8024. "//a[contains(@href,'exclusiveloader.com')]");
  8025. }
  8026. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8027. {
  8028. addFileHost(
  8029. "sharerapid\.cz\/\\w+",
  8030. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8031. 'error_div">|404 - Not Found',
  8032. 'optional--',
  8033. 'optional2--',
  8034. "//a[contains(@href,'sharerapid.cz')]");
  8035. }
  8036. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8037. {
  8038. addFileHost(
  8039. "sdilej\.cz\/\\w+",
  8040. 'class="page-download"',
  8041. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8042. 'optional--',
  8043. 'optional2--',
  8044. "//a[contains(@href,'sdilej.cz')]");
  8045. }
  8046. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8047. {
  8048. addFileHost(
  8049. "lafiles\.com\/\\w+",
  8050. '<div id="pay_modes">',
  8051. '<b class="err"></b>',
  8052. 'optional--',
  8053. 'optional2--',
  8054. "//a[contains(@href,'lafiles.com')]");
  8055. }
  8056. if (GM_getValue("Check_acefile_dot_net_links", false))
  8057. {
  8058. addFileHost(
  8059. "acefile\.net\/\\w+",
  8060. 'align=right nowrap><b>',
  8061. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8062. 'optional--',
  8063. 'optional2--',
  8064. "//a[contains(@href,'acefile.net')]");
  8065. }
  8066. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8067. {
  8068. addFileHost(
  8069. "megarapid\.cz\/\\w+",
  8070. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8071. 'error_div">|404 - Not Found',
  8072. 'optional--',
  8073. 'optional2--',
  8074. "//a[contains(@href,'megarapid.cz')]");
  8075. }
  8076. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8077. {
  8078. addFileHost(
  8079. "yadi\.sk\/\\w+",
  8080. 'nb-button _nb-small-button',
  8081. 'error code|Nothing found',
  8082. 'optional--',
  8083. 'optional2--',
  8084. "//a[contains(@href,'yadi.sk')]");
  8085. }
  8086. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8087. {
  8088. addFileHost(
  8089. "hitfile\.net\/\\w+",
  8090. 'class="download-file',
  8091. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8092. 'optional--',
  8093. 'optional2--',
  8094. "//a[contains(@href,'hitfile.net')]");
  8095. }
  8096. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8097. {
  8098. addFileHost(
  8099. "up.top4top\.net\/\\w+",
  8100. 'start Downlod template',
  8101. 'start err template',
  8102. 'optional--',
  8103. 'optional2--',
  8104. "//a[contains(@href,'up.top4top.net')]");
  8105. }
  8106. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8107. {
  8108. addFileHost(
  8109. "filejoker\.net\/\\w+",
  8110. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8111. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8112. 'optional--',
  8113. 'id="download" class="premium-only">',
  8114. "//a[contains(@href,'filejoker.net')]");
  8115. }
  8116. if (GM_getValue("Check_free_dot_fr_links", false))
  8117. {
  8118. addFileHost(
  8119. "(?:dl.\\.|)free\\.fr",
  8120. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8121. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8122. 'optional--',
  8123. 'optional2--',
  8124. "//a[contains(@href,'dl.free.fr')]");
  8125. }
  8126. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8127. {
  8128. addFileHost(
  8129. "gboxes\.com\/\\w+",
  8130. 'You have requested|color="red">http://www.gboxes.com',
  8131. 'File Not Found|<div style="width:500px;text-align:left;">',
  8132. 'optional--',
  8133. 'optional2--',
  8134. "//a[contains(@href,'gboxes.com')]");
  8135. }
  8136. if (GM_getValue("Check_led_dot_wf_links", false))
  8137. {
  8138. addFileHost(
  8139. "led\.wf\/\\w+",
  8140. 'logo_0.png|downloads.gif"|verifycode',
  8141. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8142. 'optional--',
  8143. 'available only for Premium users',
  8144. "//a[contains(@href,'led.wf')]");
  8145. }
  8146. if (GM_getValue("Check_lan_dot_wf_links", false))
  8147. {
  8148. addFileHost(
  8149. "lan\.wf\/\\w+",
  8150. 'logo_0.png|downloads.gif"|verifycode',
  8151. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8152. 'optional--',
  8153. 'available only for Premium users',
  8154. "//a[contains(@href,'lan.wf')]");
  8155. }
  8156. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8157. {
  8158. addFileHost(
  8159. "adlink\.wf\/\\w+",
  8160. 'logo_0.png|downloads.gif"|verifycode',
  8161. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8162. 'optional--',
  8163. 'available only for Premium users',
  8164. "//a[contains(@href,'adlink.wf')]");
  8165. }
  8166. if (GM_getValue("Check_click_dot_tf_links", false))
  8167. {
  8168. addFileHost(
  8169. "click\.tf\/\\w+",
  8170. 'logo_0.png|downloads.gif"|verifycode',
  8171. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8172. 'optional--',
  8173. 'available only for Premium users',
  8174. "//a[contains(@href,'click.tf')]");
  8175. }
  8176. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8177. {
  8178. addFileHost(
  8179. "ssh\.tf\/\\w+",
  8180. 'logo_0.png|downloads.gif"|verifycode',
  8181. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8182. 'optional--',
  8183. 'available only for Premium users',
  8184. "//a[contains(@href,'ssh.tf')]");
  8185. }
  8186. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8187. {
  8188. addFileHost(
  8189. "ssh\.yt\/\\w+",
  8190. 'logo_0.png|downloads.gif"|verifycode',
  8191. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8192. 'optional--',
  8193. 'available only for Premium users',
  8194. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8195. }
  8196. if (GM_getValue("Check_yep_dot_pm_links", false))
  8197. {
  8198. addFileHost(
  8199. "yep\.pm\/\\w+",
  8200. 'logo_0.png|downloads.gif"|verifycode',
  8201. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8202. 'optional--',
  8203. 'available only for Premium users',
  8204. "//a[contains(@href,'yep.pm')]");
  8205. }
  8206. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8207. {
  8208. addFileHost(
  8209. "kyc\.pm\/\\w+",
  8210. 'logo_0.png|downloads.gif"|verifycode',
  8211. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8212. 'optional--',
  8213. 'available only for Premium users',
  8214. "//a[contains(@href,'kyc.pm')]");
  8215. }
  8216. if (GM_getValue("Check_brupload_dot_net_links", false))
  8217. {
  8218. addFileHost(
  8219. "brupload\.net\/\\w+",
  8220. 'Download Gratuito',
  8221. '<div style="width:500px;text-align:left;">',
  8222. 'optional--',
  8223. 'optional2--',
  8224. "//a[contains(@href,'brupload.net')]");
  8225. }
  8226. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8227. {
  8228. addFileHost(
  8229. "cloudzilla\.to\/\\w+",
  8230. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8231. 'File not found|/imgs/broken.png',
  8232. 'optional--',
  8233. 'optional2--',
  8234. "//a[contains(@href,'cloudzilla.to')]");
  8235. }
  8236. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8237. {
  8238. addFileHost(
  8239. "clicknupload\.com\/\\w+",
  8240. 'name="method_free',
  8241. 'File Not Found',
  8242. 'optional--',
  8243. 'optional2--',
  8244. "//a[contains(@href,'clicknupload.com')]");
  8245. }
  8246. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8247. {
  8248. addFileHost(
  8249. "clicknupload\.me\/\\w+",
  8250. 'name="method_free',
  8251. 'File Not Found',
  8252. 'optional--',
  8253. 'optional2--',
  8254. "//a[contains(@href,'clicknupload.me')]");
  8255. }
  8256. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8257. {
  8258. addFileHost(
  8259. "clicknupload\.link\/\\w+",
  8260. 'name="method_free',
  8261. 'File Not Found',
  8262. 'optional--',
  8263. 'optional2--',
  8264. "//a[contains(@href,'clicknupload.link')]");
  8265. }
  8266. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8267. {
  8268. addFileHost(
  8269. "ex-load\.com\/\\w+",
  8270. 'name="method_free|<p>Download File:</p>',
  8271. 'Folder Not Found|File Not Found|Error 404',
  8272. 'optional--',
  8273. 'class="downprem wow bounceInLeft',
  8274. "//a[contains(@href,'ex-load.com')]");
  8275. }
  8276. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8277. {
  8278. addFileHost(
  8279. "hexupload\.com\/\\w+",
  8280. 'button" value="Free|type="submit" value=""',
  8281. 'File Not Found|<div style="width:500px;text-align:left;">',
  8282. 'optional--',
  8283. 'optional2--',
  8284. "//a[contains(@href,'hexupload.com')]");
  8285. }*/
  8286. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8287. {
  8288. addFileHost(
  8289. "wizupload\.com\/\\w+",
  8290. 'btn_download|class="downloadbtn"',
  8291. '>File Not Found<',
  8292. 'optional--',
  8293. 'optional2--',
  8294. "//a[contains(@href,'wizupload.com')]");
  8295. }
  8296. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8297. {
  8298. addFileHost(
  8299. "inclouddrive\.com\/\\w+",
  8300. 'initfreedownload',
  8301. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8302. 'optional--',
  8303. 'optional2--',
  8304. "//a[contains(@href,'inclouddrive.com')]");
  8305. }
  8306. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8307. {
  8308. addFileHost(
  8309. "radicalshare\.com\/\\w+",
  8310. 'value="download1|name="method_free"',
  8311. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8312. 'optional--',
  8313. 'optional2--',
  8314. "//a[contains(@href,'radicalshare.com')]");
  8315. }*/
  8316. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8317. {
  8318. addFileHost(
  8319. "sharemods\.com\/\\w+",
  8320. 'name="method_free"',
  8321. 'File Not Found<',
  8322. 'optional--',
  8323. 'optional2--',
  8324. "//a[contains(@href,'sharemods.com')]");
  8325. }
  8326. if (GM_getValue("Check_hostr_dot_co_links", false))
  8327. {
  8328. addFileHost(
  8329. "hostr\.co\/\\w+",
  8330. 'method="get"',
  8331. 'File not found<|error-page',
  8332. 'optional--',
  8333. 'optional2--',
  8334. "//a[contains(@href,'hostr.co')]");
  8335. }
  8336. if (GM_getValue("Check_filepi_dot_com_links", false))
  8337. {
  8338. addFileHost(
  8339. "filepi\.com\/\\w+",
  8340. 'id="button_start">',
  8341. 'File not found',
  8342. 'optional--',
  8343. 'optional2--',
  8344. "//a[contains(@href,'filepi.com')]");
  8345. }
  8346. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8347. {
  8348. addFileHost(
  8349. "tikfile\.com\/\\w+",
  8350. 'btn_download',
  8351. 'File Not Found|file was removed|Reason for deletion',
  8352. 'optional--',
  8353. 'optional2--',
  8354. "//a[contains(@href,'tikfile.com')]");
  8355. }
  8356. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8357. {
  8358. addFileHost(
  8359. "cloudsix\.me\/\\w+",
  8360. 'name="method_free"',
  8361. 'File Not Found|width:500px;text-align:left;">',
  8362. 'optional--',
  8363. 'optional2--',
  8364. "//a[contains(@href,'cloudsix.me')]");
  8365. }
  8366. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8367. {
  8368. addFileHost(
  8369. "neodrive\.co\/\\w+",
  8370. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8371. 'File not found|/imgs/broken.png',
  8372. 'optional--',
  8373. 'optional2--',
  8374. "//a[contains(@href,'neodrive.co')]");
  8375. }
  8376. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8377. {
  8378. addFileHost(
  8379. "chayfile\.com\/\\w+",
  8380. 'name="method_free"',
  8381. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8382. 'optional--',
  8383. 'optional2--',
  8384. "//a[contains(@href,'chayfile.com')]");
  8385. }
  8386. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8387. {
  8388. addFileHost(
  8389. "xfileload\.com\/\\w+",
  8390. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8391. '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..|הקובץ שחיפשת לא נמצא.',
  8392. 'optional--',
  8393. 'optional2--',
  8394. "//a[contains(@href,'xfileload.com')]");
  8395. }*/
  8396. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8397. {
  8398. addFileHost(
  8399. "rockfile\.eu\/\\w+",
  8400. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8401. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8402. 'optional--',
  8403. 'optional2--',
  8404. "//a[contains(@href,'rockfile.eu')]",
  8405. true);
  8406. }
  8407. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8408. {
  8409. addFileHost(
  8410. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8411. 'i/icon/dll.png"|>Start download<br',
  8412. 'no longer available<|i/ino.png"',
  8413. 'optional--',
  8414. 'optional2--',
  8415. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8416. }
  8417. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8418. {
  8419. addFileHost(
  8420. "ozofiles\.com\/\\w+",
  8421. 'button" value="Free|name="method_free',
  8422. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8423. 'optional--',
  8424. 'optional2--',
  8425. "//a[contains(@href,'ozofiles.com')]");
  8426. }
  8427. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8428. {
  8429. addFileHost(
  8430. "userscloud\.com\/\\w+",
  8431. 'btn_download|class="label label-success">',
  8432. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8433. 'optional--',
  8434. 'optional2--',
  8435. "//a[contains(@href,'userscloud.com')]");
  8436. }
  8437. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8438. {
  8439. addFileHost(
  8440. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8441. 'class="button download',
  8442. 'internal server error',
  8443. 'optional--',
  8444. 'optional2--',
  8445. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8446. }
  8447. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8448. {
  8449. addFileHost(
  8450. "kb.simple-aja\.info\/\\w+",
  8451. 'class="button download',
  8452. 'internal server error|<p>404</p>',
  8453. 'optional--',
  8454. 'optional2--',
  8455. "//a[contains(@href,'kb.simple')]");
  8456. }
  8457. if (GM_getValue("Check_faststore_dot_org_links", false))
  8458. {
  8459. addFileHost(
  8460. "faststore\.org\/\\w+",
  8461. 'name="method_free',
  8462. 'File Not Found',
  8463. 'optional--',
  8464. 'optional2--',
  8465. "//a[contains(@href,'faststore.org')]");
  8466. }
  8467. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8468. {
  8469. addFileHost(
  8470. "prefiles\.com\/\\w+",
  8471. 'id="method_free',
  8472. 'File not Found',
  8473. 'optional--',
  8474. 'optional2--',
  8475. "//a[contains(@href,'prefiles.com')]");
  8476. }
  8477. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8478. {
  8479. addFileHost(
  8480. "doraupload\.com\/\\w+",
  8481. 'btn_download|name="method_free',
  8482. 'class="error-code|Could Not Be Found',
  8483. 'optional--',
  8484. 'optional2--',
  8485. "//a[contains(@href,'doraupload.com')]");
  8486. }
  8487. if (GM_getValue("Check_openload_dot_io_links", false))
  8488. {
  8489. addFileHost(
  8490. "openload\.io\/\\w+",
  8491. 'btn btn-primary|class="count">|secondsleftouter',
  8492. 'class="jumbotron">|We are sorry',
  8493. 'optional--',
  8494. 'optional2--',
  8495. "//a[contains(@href,'openload.io')]");
  8496. }
  8497. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8498. {
  8499. addFileHost(
  8500. "zxcfiles\.com\/\\w+",
  8501. 'class="downloadbtn',
  8502. 'File Not Found',
  8503. 'optional--',
  8504. 'optional2--',
  8505. "//a[contains(@href,'zxcfiles.com')]");
  8506. }
  8507. if (GM_getValue("Check_up07_dot_net_links", false))
  8508. {
  8509. addFileHost(
  8510. "up07\.net\/\\w+",
  8511. 'name="method_free',
  8512. 'File Not Found',
  8513. 'optional--',
  8514. 'optional2--',
  8515. "//a[contains(@href,'up07.net')]");
  8516. }
  8517. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8518. {
  8519. addFileHost(
  8520. "fileupload\.pw\/\\w+",
  8521. 'value="Free"',
  8522. 'File Not Found',
  8523. 'optional--',
  8524. 'optional2--',
  8525. "//a[contains(@href,'fileupload.pw')]");
  8526. }
  8527. if (GM_getValue("Check_4upld_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8531. 'alt="Download Now"|content="Download file">|btn-free-element',
  8532. '<title>Error|content="error|File not found',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8536. }
  8537. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8538. {
  8539. addFileHost(
  8540. "(?:.swoopshare)\\.com\/\\w+",
  8541. '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',
  8542. '<input type="file" name="f"',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'swoopshare.com')]"
  8546. );
  8547. }
  8548. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8549. {
  8550. addFileHost(
  8551. "cloudshares\.net\/\\w+",
  8552. '"method_free|"Low Speed Download|submit" name="go',
  8553. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8554. 'optional--',
  8555. 'optional2--',
  8556. "//a[contains(@href,'cloudshares.net')]"
  8557. );
  8558. }
  8559. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8560. {
  8561. addFileHost(
  8562. "allmyvideos\.net\/\\w+",
  8563. 'Continue to Video',
  8564. 'File Not Found|class="err">Removed for',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'allmyvideos.net')]"
  8568. );
  8569. } */
  8570. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8571. {
  8572. addFileHost(
  8573. "vodlocker\.com\/\\w+",
  8574. 'Proceed to video',
  8575. 'Not Found',
  8576. 'optional--',
  8577. 'optional2--',
  8578. "//a[contains(@href,'vodlocker.com')]"
  8579. );
  8580. }
  8581. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8582. {
  8583. addFileHost(
  8584. "vidbull\.com\/\\w+",
  8585. 'Verifying Video Request',
  8586. 'File Not Found',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'vidbull.com')]");
  8590. }
  8591. if (GM_getValue("Check_novamov_dot_com_links", false))
  8592. {
  8593. addFileHost(
  8594. "novamov\.com\/\\w+",
  8595. 'For version detection',
  8596. 'file no longer exists',
  8597. 'optional--',
  8598. 'optional2--',
  8599. "//a[contains(@href,'novamov.com')]"
  8600. );
  8601. }
  8602. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8603. {
  8604. addFileHost(
  8605. "filehoot\.com\/\\w+",
  8606. 'Continue to watch',
  8607. 'File Not Found',
  8608. 'optional--',
  8609. 'optional2--',
  8610. "//a[contains(@href,'filehoot.com')]"
  8611. );
  8612. }
  8613. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8614. {
  8615. addFileHost(
  8616. "stagevu\.com\/\\w+",
  8617. 'Video Info',
  8618. 'No video with the provided',
  8619. 'optional--',
  8620. 'optional2--',
  8621. "//a[contains(@href,'stagevu.com')]"
  8622. );
  8623. }
  8624. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8625. {
  8626. addFileHost(
  8627. "cloudtime\.to\/\\w+",
  8628. 'Download the video',
  8629. 'no longer exists',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'cloudtime.to')]"
  8633. );
  8634. }
  8635. if (GM_getValue("Check_streamin_dot_to_links", false))
  8636. {
  8637. addFileHost(
  8638. "streamin\.to\/\\w+",
  8639. 'id="btn_download',
  8640. 'Not Found|Copyright Infringement|File Deleted',
  8641. 'optional--',
  8642. 'optional2--',
  8643. "//a[contains(@href,'streamin.to')]"
  8644. );
  8645. }
  8646. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8647. {
  8648. addFileHost(
  8649. "videoweed\.es\/\\w+",
  8650. 'version detection',
  8651. 'no longer exists',
  8652. 'optional--',
  8653. 'optional2--',
  8654. "//a[contains(@href,'videoweed.es')]"
  8655. );
  8656. }
  8657. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8658. {
  8659. addFileHost(
  8660. "nowvideo\.sx\/\\w+",
  8661. 'Download this video|value="submit">Continue',
  8662. 'no longer exists',
  8663. 'optional--',
  8664. 'optional2--',
  8665. "//a[contains(@href,'nowvideo.sx')]"
  8666. );
  8667. }
  8668. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8669. {
  8670. addFileHost(
  8671. "thevideo\.me\/\\w+",
  8672. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8673. 'File Not Found',
  8674. 'optional--',
  8675. 'optional2--',
  8676. "//a[contains(@href,'thevideo.me')]"
  8677. );
  8678. }
  8679. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8680. {
  8681. addFileHost(
  8682. "gorillavid\.in\/\\w+",
  8683. 'Wait 5 seconds',
  8684. 'File Not Found',
  8685. 'optional--',
  8686. 'optional2--',
  8687. "//a[contains(@href,'gorillavid.in')]"
  8688. );
  8689. }
  8690. if (GM_getValue("Check_thefile_dot_me_links", false))
  8691. {
  8692. addFileHost(
  8693. "thefile\.me\/\\w+",
  8694. 'Choose free or',
  8695. '',
  8696. 'optional--',
  8697. 'optional2--',
  8698. "//a[contains(@href,'thefile.me')]"
  8699. );
  8700. }
  8701. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8702. {
  8703. addFileHost(
  8704. "vidzi\.tv\/\\w+",
  8705. 'video-embed-modal row',
  8706. 'File Not Found|file was deleted',
  8707. 'optional--',
  8708. 'optional2--',
  8709. "//a[contains(@href,'vidzi.tv')]"
  8710. );
  8711. }
  8712. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8713. {
  8714. addFileHost(
  8715. "filenuke\.com\/\\w+",
  8716. 'Download File',
  8717. 'Earn with us',
  8718. 'optional--',
  8719. 'optional2--',
  8720. "//a[contains(@href,'filenuke.com')]"
  8721. );
  8722. }
  8723. if (GM_getValue("Check_vidto_dot_me_links", false))
  8724. {
  8725. addFileHost(
  8726. "vidto\.me\/\\w+",
  8727. 'Proceed to video',
  8728. 'Not Found',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'vidto.me')]"
  8732. );
  8733. }
  8734. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8735. {
  8736. addFileHost(
  8737. "vidspot\.net\/\\w+",
  8738. 'Duration|method_free',
  8739. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'vidspot.net')]"
  8743. );
  8744. } */
  8745. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8746. {
  8747. addFileHost(
  8748. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8749. 'Download File',
  8750. 'File Not Found',
  8751. 'optional--',
  8752. 'optional2--',
  8753. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8754. );
  8755. }
  8756. if (GM_getValue("Check_movpod_dot_in_links", false))
  8757. {
  8758. addFileHost(
  8759. "movpod\.in\/\\w+",
  8760. 'Continue',
  8761. 'File Not Found',
  8762. 'optional--',
  8763. 'optional2--',
  8764. "//a[contains(@href,'movpod.in')]"
  8765. );
  8766. }
  8767. if (GM_getValue("Check_down4files_dot_com_links", false))
  8768. {
  8769. addFileHost(
  8770. "down4files\.com\/\\w+",
  8771. 'down_table.png',
  8772. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8773. 'optional--',
  8774. 'optional2--',
  8775. "//a[contains(@href,'down4files.com')]"
  8776. );
  8777. }
  8778. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8779. {
  8780. addFileHost(
  8781. "storefiles\.co\/\\w+",
  8782. 'btn_download',
  8783. 'No such file|>Error<|mqmaintitle">',
  8784. 'optional--',
  8785. 'optional2--',
  8786. "//a[contains(@href,'storefiles.co')]"
  8787. );
  8788. }*/
  8789. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8790. {
  8791. addFileHost(
  8792. "filehost\.pw\/\\w+",
  8793. 'name="method_free',
  8794. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8795. 'optional--',
  8796. 'optional2--',
  8797. "//a[contains(@href,'filehost.pw')]"
  8798. );
  8799. }
  8800. if (GM_getValue("Check_uplea_dot_com_links", false))
  8801. {
  8802. addFileHost(
  8803. "uplea\.com\/\\w+",
  8804. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8805. 'expired link|ou est invalide',
  8806. 'optional--',
  8807. 'optional2--',
  8808. "//a[contains(@href,'uplea.com/dl')]",
  8809. true);
  8810. }
  8811. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8812. {
  8813. addFileHost(
  8814. "toutbox\.fr\/\\w+",
  8815. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8816. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8817. 'Serviço temporariamente indisponível',
  8818. 'optional2--',
  8819. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8820. );
  8821. }*/
  8822. if (GM_getValue("Check_openload_dot_co_links", false))
  8823. {
  8824. addFileHost(
  8825. "openload\.co\/\\w+",
  8826. 'id="downloadTimer">|button dlbutton',
  8827. 'jumbotron{color|got deleted|center !important',
  8828. 'optional--',
  8829. 'optional2--',
  8830. "//a[contains(@href,'openload.co')]"
  8831. );
  8832. }
  8833. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8834. {
  8835. addFileHost(
  8836. "lolabits\.es\/\\w+",
  8837. 'Descargar:',
  8838. '<title>Archivos de usuario',
  8839. 'Service Unavailable',
  8840. 'optional2--',
  8841. "//a[contains(@href,'lolabits.es')]"
  8842. );
  8843. }*/
  8844. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8845. {
  8846. addFileHost(
  8847. "alfafile\.net\/\\w+",
  8848. 'id="slow_download_btn',
  8849. 'class="error-box">',
  8850. 'optional--',
  8851. 'optional2--',
  8852. "//a[contains(@href,'alfafile.net')]"
  8853. );
  8854. }
  8855. if (GM_getValue("Check_multiup_dot_org_links", false))
  8856. {
  8857. addFileHost(
  8858. "multiup\\.(?:org|eu)\/\\w+",
  8859. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8860. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8861. 'optional--',
  8862. 'optional2--',
  8863. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8864. );
  8865. }
  8866. if (GM_getValue("Check_file_dot_al_links", false))
  8867. {
  8868. addFileHost(
  8869. "file\\.al",
  8870. 'method_free',
  8871. 'style="width:500px;text-align:left;">',
  8872. 'optional--',
  8873. 'optional2--',
  8874. "//a[contains(@href,'file.al')]"
  8875. );
  8876. }
  8877. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8878. {
  8879. addFileHost(
  8880. "devilshare\.net\/\\w+",
  8881. '<div class="large-12" id="download">',
  8882. '(Link: 0 Invalid)|File Not Found',
  8883. 'optional--',
  8884. 'optional2--',
  8885. "//a[contains(@href,'devilshare.net')]"
  8886. );
  8887. }
  8888. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8889. {
  8890. addFileHost(
  8891. "dailyuploads\.net\/\\w+",
  8892. 'id="downloadBtnClickOrignal',
  8893. '<div style="width:500px;text-align:left;">',
  8894. 'optional--',
  8895. 'optional2--',
  8896. "//a[contains(@href,'dailyuploads.net')]"
  8897. );
  8898. }
  8899. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8900. {
  8901. addFileHost(
  8902. "datoteke\.com\/\\w+",
  8903. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8904. '&nbsp;File has been removed',
  8905. 'optional--',
  8906. '<title>Error - Datoteke',
  8907. "//a[contains(@href,'datoteke.com')]"
  8908. );
  8909. }
  8910. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8911. {
  8912. addFileHost(
  8913. "sharehost\.eu\/\\w+",
  8914. '/?v=download_free&',
  8915. 'Errors occured|Wystąpiły błędy',
  8916. 'optional--',
  8917. 'optional2--',
  8918. "//a[contains(@href,'sharehost.eu')]"
  8919. );
  8920. }
  8921. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8922. {
  8923. addFileHost(
  8924. "pornfile\.cz",
  8925. 'Stáhnout soubor|Stáhnout pomalu',
  8926. 'Soubor byl smazán|Stránka nenalezena',
  8927. 'optional--',
  8928. 'optional2--',
  8929. "//a[contains(@href,'pornfile.cz')]"
  8930. );
  8931. }
  8932. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8933. {
  8934. addFileHost(
  8935. "pornoid\.cz\/\\w+",
  8936. 'class="btn btn-large btn-download',
  8937. 'Soubor byl smazán',
  8938. 'optional--',
  8939. 'optional2--',
  8940. "//a[contains(@href,'pornoid.cz')]"
  8941. );
  8942. }
  8943. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8944. {
  8945. addFileHost(
  8946. "file-share\.top\/\\w+",
  8947. 'btn-success btn-lg download',
  8948. 'Stránka neexistuje|404 Not Found',
  8949. 'optional--',
  8950. 'optional2--',
  8951. "//a[contains(@href,'file-share.top')]"
  8952. );
  8953. }
  8954. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8955. {
  8956. addFileHost(
  8957. "bitster\.cz\/",
  8958. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8959. 'section" content=""',
  8960. 'optional--',
  8961. 'optional2--',
  8962. "//a[contains(@href,'bitster.cz')]"
  8963. );
  8964. }
  8965. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8966. {
  8967. addFileHost(
  8968. "rapidu\.net\/\\w+",
  8969. 'onclick="downloadFreeFile',
  8970. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8971. 'optional--',
  8972. 'optional2--',
  8973. "//a[contains(@href,'rapidu.net')]"
  8974. );
  8975. }
  8976. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8977. {
  8978. addFileHost(
  8979. "dinoshare\.cz\/\\w+",
  8980. 'class="download-button"',
  8981. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8982. 'optional--',
  8983. 'optional2--',
  8984. "//a[contains(@href,'dinoshare.cz')]"
  8985. );
  8986. }
  8987. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8988. {
  8989. addFileHost(
  8990. "bytewhale\.com\/\\w+",
  8991. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8992. 'var rawest = "0 MB|Copyrights Claim</div>',
  8993. 'optional--',
  8994. 'This file is available for premium members only',
  8995. "//a[contains(@href,'bytewhale.com')]"
  8996. );
  8997. }
  8998. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  8999. {
  9000. addFileHost(
  9001. "rapidrar\.com\/\\w+",
  9002. 'value="Free Download',
  9003. '<div style="width:500px;text-align:left;">',
  9004. 'optional--',
  9005. 'optional--',
  9006. "//a[contains(@href,'rapidrar.com')]"
  9007. );
  9008. }
  9009. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9010. {
  9011. addFileHost(
  9012. "filesupload\.org\/\\w+",
  9013. '<a href="/download-or-watch/',
  9014. 'File not found',
  9015. 'optional--',
  9016. 'optional--',
  9017. "//a[contains(@href,'filesupload.org')]"
  9018. );
  9019. }
  9020. if (GM_getValue("Check_filecad_dot_com_links", false))
  9021. {
  9022. addFileHost(
  9023. "filecad\.com\/\\w+",
  9024. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9025. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9026. 'optional--',
  9027. 'optional--',
  9028. "//a[contains(@href,'filecad.com')]"
  9029. );
  9030. }
  9031. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9032. {
  9033. addFileHost(
  9034. "file.up09\.com\/\\w+",
  9035. 'name="method_free',
  9036. 'style="width:500px;text-align:left;">',
  9037. 'optional--',
  9038. 'optional--',
  9039. "//a[contains(@href,'file.up09.com')]"
  9040. );
  9041. }
  9042. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9043. {
  9044. addFileHost(
  9045. "lunaticfiles\.com\/\\w+",
  9046. 'name="method_free"',
  9047. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9048. 'optional--',
  9049. 'optional--',
  9050. "//a[contains(@href,'lunaticfiles.com')]"
  9051. );
  9052. }
  9053. if (GM_getValue("Check_upload_dot_af_links", false))
  9054. {
  9055. addFileHost(
  9056. "upload\.af\/\\w+",
  9057. 'id="method_free"',
  9058. '<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|ファイルが見つかりません',
  9059. 'optional--',
  9060. 'optional--',
  9061. "//a[contains(@href,'upload.af')]"
  9062. );
  9063. }
  9064. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9065. {
  9066. addFileHost(
  9067. "filedwon\.info\/\\w+",
  9068. 'name="method_free"',
  9069. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9070. 'optional--',
  9071. 'optional--',
  9072. "//a[contains(@href,'filedwon.info')]"
  9073. );
  9074. }
  9075. if (GM_getValue("Check_uplod_dot_it_links", false))
  9076. {
  9077. addFileHost(
  9078. "uplod\.it\/\\w+",
  9079. 'value="download2">|name="method_free',
  9080. '<Title>Download </Title>',
  9081. 'optional--',
  9082. 'optional--',
  9083. "//a[contains(@href,'uplod.it')]"
  9084. );
  9085. }
  9086. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9087. {
  9088. addFileHost(
  9089. "abelhas\.pt\/\\w+",
  9090. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9091. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9092. 'optional--',
  9093. 'optional--',
  9094. "//a[contains(@href,'abelhas.pt')]"
  9095. );
  9096. } */
  9097. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9098. {
  9099. addFileHost(
  9100. "disk.yandex\.com\/\\w+",
  9101. 'nb-button _nb-small-button',
  9102. 'error code|Nothing found',
  9103. 'optional--',
  9104. 'optional2--',
  9105. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9106. }
  9107. if (GM_getValue("Check_filespace_dot_com_links", false))
  9108. {
  9109. addFileHost(
  9110. "filespace\.com\/\\w+",
  9111. '"method_free',
  9112. '<div style="text-align:left;"><ul>|>File not found.<',
  9113. 'optional1--',
  9114. 'optional2--',
  9115. "//a[contains(@href,'filespace.com')]");
  9116. }
  9117. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9118. {
  9119. addFileHost(
  9120. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9121. 'name="downloadFile|id="downloadFile|value="Wait',
  9122. '<title>File not found</title>|>Error:<',
  9123. 'optional1--',
  9124. 'optional2--',
  9125. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9126. }
  9127. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9128. {
  9129. addFileHost(
  9130. "ncrypt\.in\/\\w+",
  9131. 'Sicherheitsabfrage:|Securitycheck:',
  9132. 'does not exist|existiert nicht',
  9133. 'optional1--',
  9134. 'optional2--',
  9135. "//a[contains(@href,'ncrypt.in')]");
  9136. }
  9137. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9138. {
  9139. addFileHost(
  9140. "jeodrive\.com\/\\w+",
  9141. 'btn-lg regular',
  9142. 'Not found',
  9143. 'optional1--',
  9144. 'optional2--',
  9145. "//a[contains(@href,'jeodrive.com')]");
  9146. }
  9147. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9148. {
  9149. addFileHost(
  9150. "myfiles\.onl\/\\w+",
  9151. 'value="Free"',
  9152. '<div style="width:500px;text-align:left;">',
  9153. 'optional1--',
  9154. 'optional2--',
  9155. "//a[contains(@href,'myfiles.onl')]");
  9156. }
  9157. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9158. {
  9159. addFileHost(
  9160. "uploadserv\.com\/\\w+",
  9161. 'color="red">http://uploadserv.com/',
  9162. 'content="Download File ">|<title>Download </title>',
  9163. 'optional1--',
  9164. 'optional2--',
  9165. "//a[contains(@href,'uploadserv.com')]");
  9166. }
  9167. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9168. {
  9169. addFileHost(
  9170. "keepshare\.net\/\\w+",
  9171. 'method_free',
  9172. '<div style="width:500px;text-align:left;">',
  9173. 'optional1--',
  9174. 'optional2--',
  9175. "//a[contains(@href,'keepshare.net')]");
  9176. }
  9177. if (GM_getValue("Check_oload_dot_net_links", false))
  9178. {
  9179. addFileHost(
  9180. "oload\.net\/\\w+",
  9181. '<font color="red">http://oload.net',
  9182. 'class="page-ttl">',
  9183. 'optional1--',
  9184. 'optional2--',
  9185. "//a[contains(@href,'oload.net')]");
  9186. }
  9187. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9188. {
  9189. addFileHost(
  9190. "filescdn\.com\/\\w+",
  9191. 'btn bg-green-40|btn_download',
  9192. 'icon-warning text-danger',
  9193. 'optional1--',
  9194. 'optional2--',
  9195. "//a[contains(@href,'filescdn.com')]");
  9196. }
  9197. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9198. {
  9199. addFileHost(
  9200. "bankupload\.com\/\\w+",
  9201. 'id="btn_download"|1.0 GB',
  9202. '<div style="width:500px;text-align:left;">',
  9203. 'optional1--',
  9204. ' GB',
  9205. "//a[contains(@href,'bankupload.com')]");
  9206. }
  9207. if (GM_getValue("Check_katfile_dot_com_links", false))
  9208. {
  9209. addFileHost(
  9210. "katfile\.com\/\\w+",
  9211. 'KB| MB|1.0 GB',
  9212. 'images/file_not_found.png"',
  9213. 'optional1--',
  9214. ' GB',
  9215. "//a[contains(@href,'katfile.com')]");
  9216. }
  9217. if (GM_getValue("Check_filesin_dot_space_links", false))
  9218. {
  9219. addFileHost(
  9220. "filesin\.space\/\\w+",
  9221. 'id="btn_download"',
  9222. 'class="err">',
  9223. 'optional1--',
  9224. 'optional2',
  9225. "//a[contains(@href,'filesin.space')]");
  9226. }
  9227. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9228. {
  9229. addFileHost(
  9230. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9231. 'download.php',
  9232. 'notfound|upload\\-suborov\\.php"',
  9233. 'optional--',
  9234. 'optional2--',
  9235. "//a[contains(@href,'upnito.sk')]"
  9236. );
  9237. }
  9238. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9239. {
  9240. addFileHost(
  9241. "alltu\.eu\/\\w+",
  9242. 'download-timer',
  9243. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9244. 'optional1--',
  9245. 'optional2',
  9246. "//a[contains(@href,'alltu.eu')]");
  9247. }
  9248. if (GM_getValue("Check_novafile_dot_com_links", false))
  9249. {
  9250. addFileHost(
  9251. "novafile\.com\/\\w+",
  9252. 'id="regular-download',
  9253. 'id="file-not-found',
  9254. 'optional1--',
  9255. 'id="premium-only',
  9256. "//a[contains(@href,'novafile.com')]");
  9257. }
  9258. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9259. {
  9260. addFileHost(
  9261. "uploadgig\.com\/\\w+",
  9262. 'btn-default',
  9263. 'File not found',
  9264. 'optional1--',
  9265. 'optional2',
  9266. "//a[contains(@href,'uploadgig.com')]");
  9267. }
  9268. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9269. {
  9270. addFileHost(
  9271. "mexashare\.com\/\\w+",
  9272. 'method_free',
  9273. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9274. 'optional1--',
  9275. 'optional2',
  9276. "//a[contains(@href,'mexashare.com')]");
  9277. }
  9278. if (GM_getValue("Check_daofile_dot_com_links", false))
  9279. {
  9280. addFileHost(
  9281. "daofile\.com\/\\w+",
  9282. 'class="captcha_code',
  9283. 'style="width:500px;text-align:left;">',
  9284. 'optional1--',
  9285. 'optional2',
  9286. "//a[contains(@href,'daofile.com')]");
  9287. }
  9288. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9289. {
  9290. addFileHost(
  9291. "imagenetz\.de\/\\w+",
  9292. 'id="download',
  9293. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9294. 'optional1--',
  9295. 'optional2',
  9296. "//a[contains(@href,'imagenetz.de')]");
  9297. }
  9298. if (GM_getValue("Check_uloz_dot_to_links", false))
  9299. {
  9300. addFileHost(
  9301. "uloz\.to",
  9302. 'limitedDownloadButton|Stáhnout pomalu',
  9303. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9304. 'optional1--',
  9305. 'optional2',
  9306. "//a[contains(@href,'uloz.to')]");
  9307. }
  9308. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9309. {
  9310. addFileHost(
  9311. "ulozto.net",
  9312. 'limitedDownloadButton|Stáhnout pomalu',
  9313. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9314. 'optional1--',
  9315. 'optional2',
  9316. "//a[contains(@href,'ulozto.net')]");
  9317. }
  9318. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9319. {
  9320. addFileHost(
  9321. "ulozto\.sk",
  9322. 'limitedDownloadButton|Stáhnout pomalu',
  9323. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9324. 'optional1--',
  9325. 'optional2',
  9326. "//a[contains(@href,'ulozto.sk')]");
  9327. }
  9328. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9329. {
  9330. addFileHost(
  9331. "ulozto\.cz",
  9332. 'limitedDownloadButton|Stáhnout pomalu',
  9333. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9334. 'optional1--',
  9335. 'optional2',
  9336. "//a[contains(@href,'ulozto.cz')]");
  9337. }
  9338. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9339. {
  9340. addFileHost(
  9341. "subyshare\.com\/\\w+",
  9342. 'id="method_free',
  9343. 'file was removed|class="err">|1s">404',
  9344. 'optional1--',
  9345. 'optional2',
  9346. "//a[contains(@href,'subyshare.com')]",
  9347. true);
  9348. }
  9349. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9350. {
  9351. addFileHost(
  9352. "fileshareup\.com\/\\w+",
  9353. 'download-timer|btn-free-element|content="Download file',
  9354. 'content="Error"|content="error|heading-1">Error<',
  9355. 'optional1--',
  9356. 'optional2',
  9357. "//a[contains(@href,'fileshareup.com')]");
  9358. }
  9359. if (GM_getValue("Check_mystore_dot_to_links", false))
  9360. {
  9361. addFileHost(
  9362. "mystore\.to\/\\w+",
  9363. 'Download File',
  9364. 'file not found',
  9365. 'optional1--',
  9366. 'optional2',
  9367. "//a[contains(@href,'mystore.to/dl')]");
  9368. }
  9369. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9370. {
  9371. addFileHost(
  9372. "usercloud\.net\/\\w+",
  9373. 'content="download|var seconds = 60|type="password',
  9374. 'content="error|report_file.html">',
  9375. 'optional1--',
  9376. 'optional2',
  9377. "//a[contains(@href,'usercloud.net')]");
  9378. }
  9379. if (GM_getValue("Check_workupload_dot_com_links", false))
  9380. {
  9381. addFileHost(
  9382. "workupload\.com\/\\w+",
  9383. 'content="Download|id="download"',
  9384. 'File not found|img/not-found.jpg|Error message',
  9385. 'optional1--',
  9386. 'optional2',
  9387. "//a[contains(@href,'workupload.com')]");
  9388. }
  9389. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9390. {
  9391. addFileHost(
  9392. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9393. 'class="download">',
  9394. 'class="error center',
  9395. 'optional1--',
  9396. 'optional2',
  9397. "//a[contains(@href,'storageserver.co.uk')]");
  9398. }
  9399. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9400. {
  9401. addFileHost(
  9402. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9403. '"kind": "file"',
  9404. '"error": "not_exists"',
  9405. 'optional1--',
  9406. 'optional2',
  9407. "//a[contains(@href,'cloud.mail.ru')]");
  9408. }
  9409. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9410. {
  9411. addFileHost(
  9412. "bdupload\.info\/\\w+",
  9413. 'class="downloadbtn">|id="downloadbtn"',
  9414. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9415. 'optional1--',
  9416. 'optional2',
  9417. "//a[contains(@href,'bdupload.info')]");
  9418. }
  9419. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9420. {
  9421. addFileHost(
  9422. "wayupload\.com\/\\w+",
  9423. 'class="nopay-btn gray"',
  9424. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9425. 'optional1--',
  9426. 'optional2',
  9427. "//a[contains(@href,'wayupload.com')]");
  9428. }
  9429. if (GM_getValue("Check_exbit_dot_net_links", false))
  9430. {
  9431. addFileHost(
  9432. "exbit\.net\/\\w+",
  9433. 'class="nopay-btn|href="/download/free/',
  9434. 'File not found',
  9435. 'optional1--',
  9436. 'optional2',
  9437. "//a[contains(@href,'exbit.net')]");
  9438. }
  9439. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9440. {
  9441. addFileHost(
  9442. "uploadocean\.com\/\\w+",
  9443. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9444. 'deleted.png"',
  9445. 'optional1--',
  9446. 'optional2',
  9447. "//a[contains(@href,'uploadocean.com')]");
  9448. }
  9449. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9450. {
  9451. addFileHost(
  9452. "fileflares\.com\/\\w+",
  9453. 'id="downloadbtn"',
  9454. '<div style="width:500px;text-align:left;">',
  9455. 'optional1--',
  9456. 'optional2',
  9457. "//a[contains(@href,'fileflares.com')]");
  9458. }
  9459. if (GM_getValue("Check_erafile_dot_com_links", false))
  9460. {
  9461. addFileHost(
  9462. "erafile\.com\/\\w+",
  9463. 'id="method_free',
  9464. '<div style="width:500px;text-align:left;">',
  9465. 'optional1--',
  9466. 'optional2',
  9467. "//a[contains(@href,'erafile.com')]");
  9468. }
  9469. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9470. {
  9471. addFileHost(
  9472. "suprafiles\.net\/\\w+",
  9473. 'name="method_free"',
  9474. 'File Not Found|style="width:1000px; text-align: left;">',
  9475. 'optional1--',
  9476. 'optional2',
  9477. "//a[contains(@href,'suprafiles.net')]");
  9478. }
  9479. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9480. {
  9481. addFileHost(
  9482. "upfiles\.net\/\\w+",
  9483. 'id="recaptcha2"|snail.png"',
  9484. 'Ten plik został usunięty.|style="margin-top:50px',
  9485. 'optional1--',
  9486. 'optional2',
  9487. "//a[contains(@href,'upfiles.net/f/')]");
  9488. }
  9489. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9490. {
  9491. addFileHost(
  9492. "dailyfiles\.net\/\\w+",
  9493. 'onclick="dwn',
  9494. '<title>Error',
  9495. 'optional1--',
  9496. 'optional2',
  9497. "//a[contains(@href,'dailyfiles.net')]");
  9498. }
  9499. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9500. {
  9501. addFileHost(
  9502. "littlebyte\.net\/\\w+",
  9503. '>Free download<|>Скачать медленно<',
  9504. 'images/dmca.png">',
  9505. 'optional1--',
  9506. 'optional2',
  9507. "//a[contains(@href,'littlebyte.net')]");
  9508. }
  9509. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9510. {
  9511. addFileHost(
  9512. "black\\-label\\.pro\/\\w+",
  9513. 'slow_download_button.png"|td><td title="',
  9514. 'STILL NEED CODE FOR DEAD LINKS',
  9515. 'optional1--',
  9516. 'optional2',
  9517. "//a[contains(@href,'black-label.pro')]");
  9518. }
  9519. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9520. {
  9521. addFileHost(
  9522. "temp\\-share\\.com\/\\w+",
  9523. 'publickey',
  9524. 'STILL NEED CODE FOR DEAD LINKS',
  9525. 'optional1--',
  9526. 'optional2',
  9527. "//a[contains(@href,'temp-share.com')]");
  9528. }
  9529. if (GM_getValue("Check_filesha_dot_com_links", false))
  9530. {
  9531. addFileHost(
  9532. "filesha\.com\/\\w+",
  9533. '>Download Free<',
  9534. 'STILL NEED CODE FOR DEAD LINKS',
  9535. 'optional1--',
  9536. 'optional2',
  9537. "//a[contains(@href,'filesha.com')]");
  9538. }
  9539.  
  9540. }
  9541. //start here
  9542.  
  9543. //hosts with direct download, so they must be requested for headers only
  9544. function initFileHostsHeadersOnly()
  9545. {
  9546. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9547. {
  9548. var host = new Array(5);
  9549. host[0] = linkRegex;
  9550. host[1] = isAliveRegex;
  9551. host[2] = isDeadRegex;
  9552. host[4] = ispremRegex;
  9553. host[3] = xpathEx;
  9554. http_file_hosts_headers_only.push(host);
  9555. }
  9556. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9557. {
  9558. addFileHostHeadersOnly(
  9559. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9560. 'Connection: Keep-Alive',
  9561. 'Content-Length: 3857',
  9562. 'optional2',
  9563. "//a[contains(@href,'uloziste.com')]"
  9564. )
  9565. }
  9566. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9567. {
  9568. addFileHostHeadersOnly(
  9569. "filescdn\.com\/\\w+",
  9570. 'Connection: keep-alive',
  9571. 'Company</Title>',
  9572. 'optional2',
  9573. "//a[contains(@href,'filescdn.com')]"
  9574. )
  9575. } */
  9576. if (GM_getValue("Check_adrive_dot_com_links", false))
  9577. {
  9578. addFileHostHeadersOnly(
  9579. "adrive\\.com\/public\/\\w+",
  9580. 'Connection: keep-alive',
  9581. 'orig_ref=deleted',
  9582. 'optional2',
  9583. "//a[contains(@href,'adrive.com')]"
  9584. )
  9585. }
  9586. }
  9587.  
  9588. //CustomRules
  9589. //functions add...Host copied here
  9590. function addObsoleteHost(linkRegex, xpathEx)
  9591. {
  9592. var host = new Array(2);
  9593. host[0] = linkRegex;
  9594. host[1] = xpathEx;
  9595. http_file_hosts_obsolete.push(host);
  9596. }
  9597. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9598. {
  9599. var host = new Array(7);
  9600. host[0] = linkRegex;
  9601. host[1] = isAliveRegex;
  9602. host[2] = isDeadRegex;
  9603. host[3] = isUnavaRegex;
  9604. host[4] = xpathEx;
  9605. tryLoop ? host[5] = true : host[5] = false;
  9606. host[6] = ispremRegex;
  9607. http_file_hosts.push(host);
  9608. }
  9609. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9610. {
  9611. var host = new Array(5);
  9612. host[0] = linkRegex;
  9613. host[1] = isAliveRegex;
  9614. host[2] = isDeadRegex;
  9615. host[3] = xpathEx;
  9616. host[4] = ispremRegex;
  9617. http_file_hosts_headers_only.push(host);
  9618. }
  9619. //takes a fully built rules array and adds the rules to WARLC
  9620. function applyCustomRules(customRules)
  9621. {
  9622. if (!customRules) return;
  9623. var rules, r, i;
  9624. rules = customRules.rules;
  9625. for (i = 0 ; i < rules.length ; i++)
  9626. {
  9627. r = rules[i];
  9628. if (r.enabled)
  9629. {
  9630. switch (r.type)
  9631. {
  9632. case 'single':
  9633. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9634. break;
  9635. case 'headers':
  9636. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9637. break;
  9638. case 'obsolete':
  9639. addObsoleteHost(r.urlregex, r.xpath)
  9640. break;
  9641. }
  9642. }
  9643. }
  9644. }
  9645.  
  9646.  
  9647. function initFileHostsCustom()
  9648. {
  9649. if (Custom_rules && Custom_rules_text)
  9650. {
  9651. var msg = '';
  9652. if (newVersion)
  9653. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9654. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9655. msg = '60 or more days have passed since this notification.\n\n';
  9656. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9657. {
  9658. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9659. msg +=
  9660. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9661. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9662. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9663. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9664. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9665. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9666. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9667. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9668. setTimeout(function(){alert(msg)},0);
  9669. }
  9670. var customRules = parseCustomRules(Custom_rules_text);
  9671. if (customRules.warning || customRules.error)
  9672. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9673. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9674. JSON.stringify(customRules.info, null, ' '));
  9675. applyCustomRules(customRules);
  9676. }
  9677. }
  9678. //end of CustomRules processing
  9679.  
  9680.  
  9681.  
  9682. } //end of function start
  9683.  
  9684.  
  9685.  
  9686. function initClipBoardTools()
  9687. {
  9688. unsafeWindow.copyToClipboard = function(text)
  9689. {
  9690. try
  9691. {
  9692. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9693.  
  9694. var str = Components.classes["@mozilla.org/supports-string;1"].
  9695. createInstance(Components.interfaces.nsISupportsString);
  9696. if (!str) return false;
  9697.  
  9698. str.data = text;
  9699.  
  9700. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9701. createInstance(Components.interfaces.nsITransferable);
  9702. if (!trans) return false;
  9703.  
  9704. trans.addDataFlavor("text/unicode");
  9705. trans.setTransferData("text/unicode", str, text.length * 2);
  9706.  
  9707. var clipid = Components.interfaces.nsIClipboard;
  9708. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9709. if (!clip) return false;
  9710.  
  9711. clip.setData(trans, null, clipid.kGlobalClipboard);
  9712. } catch (e) {
  9713. GM_log("Error copyToClipboard : " + e);
  9714. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9715. }
  9716. }
  9717. }
  9718.  
  9719.  
  9720.  
  9721. //CustomRules
  9722.  
  9723. function escapeRegex(str)
  9724. {
  9725. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9726. }
  9727.  
  9728.  
  9729. //called internally from parseCustomRules.
  9730. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9731. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9732. function makeCustomRule(rule)
  9733. {
  9734. function makeMatchRegex(arrmatch)
  9735. {
  9736. return escapeRegex(arrmatch.join('\n'))
  9737. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9738. .replace(/\n/g,'|'); //join together
  9739. }
  9740. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9741. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9742. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9743. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9744. if (rule.baseurl)
  9745. {
  9746. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9747. for (i = 0 ; i < len ; i++)
  9748. {
  9749. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9750. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9751. {
  9752. 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'])
  9753. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9754. }
  9755. else //baseurl in the form: example.com/xxx
  9756. {
  9757. xpath.push(m[0]);
  9758. urlregex.push(escapeRegex(m[0]) + '.');
  9759. }
  9760. }
  9761. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9762. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9763. }
  9764. return rule;
  9765. } //function makeCustomRule
  9766.  
  9767.  
  9768. /*
  9769. Takes a string containing custom link checking rules.
  9770. Returns an object with fields:
  9771. info - contains notes, warnings and errors found during parsing
  9772. rules - the array of custom rules
  9773. note, warning, error - number of each of them found during parsing
  9774. Format of the input string:
  9775. One command per line. Command format: @keyword parameter
  9776. Keywords:
  9777. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9778. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9779. These keywords can be multiple (any of them will work):
  9780. @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...)
  9781. @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+
  9782. @alivelink, @deadlink - example links
  9783. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9784. Lines starting with // and empty lines are ignored.
  9785. Invalid parameters generate errors and those lines are skipped.
  9786. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9787. Example:
  9788. @customrule filehost
  9789. @baseurl filehost.com/download/
  9790. @baseurl filehost2. com net /d?=
  9791. @alivematch id="download">
  9792. @deadmatch File not found
  9793. @deadmatch File deleted
  9794. */
  9795. function parseCustomRules(rulesStr)
  9796. {
  9797. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9798. function addInfo(type, msg, ln){
  9799. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9800. customRules[type]++;
  9801. }
  9802. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9803. if (!lines) return null;
  9804. lines.push('@#customrule _'); //to save the last rule
  9805. var m, linecount = lines.length;
  9806. var keyword, param, constr, rule, err;
  9807. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9808. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9809. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9810. var constraints = {
  9811. 'baseurl': {
  9812. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9813. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9814. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9815. 'alivematch': {
  9816. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9817. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9818. 'deadmatch': {
  9819. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9820. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9821. 'unavamatch': {
  9822. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9823. 'alivelink': {
  9824. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9825. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9826. 'deadlink': {
  9827. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9828. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9829. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9830. };
  9831. for (linenum = 0 ; linenum < linecount ; linenum++)
  9832. {
  9833. //capturing groups: 1 23 4 5 6
  9834. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9835. if (m)
  9836. {
  9837. if (m[1] || !m[2])
  9838. continue; // ignore empty lines and lines starting with //
  9839. keyword = (m[4] || m[2]).toLowerCase();
  9840. param = m[6];
  9841. if (keyword == 'customrule')
  9842. {
  9843. //save the current rule if all required fields are provided
  9844. if (rule)
  9845. {
  9846. err = false;
  9847. $.each(constraints, function(kw, constraint){
  9848. var l, constr = constraint[rule.type];
  9849. if (constr)
  9850. {
  9851. l = rule[kw] ? rule[kw].length : 0;
  9852. if (l < constr.min || l > constr.max)
  9853. {
  9854. 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);
  9855. err = true;
  9856. }
  9857. }
  9858. });
  9859. if (!err)
  9860. customRules.rules.push(makeCustomRule(rule));
  9861. }
  9862. //start a new rule
  9863. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9864. {
  9865. rule = {
  9866. 'enabled': !m[3],
  9867. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9868. 'name': param
  9869. };
  9870. }
  9871. else
  9872. {
  9873. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9874. rule = null;
  9875. }
  9876. }
  9877. else //good line format, but keyword other than customrule
  9878. {
  9879. if (!rule)
  9880. {
  9881. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9882. continue;
  9883. }
  9884. if (constraints[keyword])
  9885. {
  9886. constr = constraints[keyword][rule.type];
  9887. if (constr)
  9888. {
  9889. if (constr.paramRE && !constr.paramRE.test(param))
  9890. {
  9891. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9892. continue;
  9893. }
  9894. }
  9895. else
  9896. {
  9897. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9898. continue;
  9899. }
  9900. }
  9901. //line OK, save
  9902. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9903. }
  9904. } //if (m)
  9905. else
  9906. addInfo('warning', 'Unknown line format. Line skipped.');
  9907. } //for loop
  9908. return customRules;
  9909. } //function parseCustomRules
  9910.  
  9911.  
  9912. /* ********************UPDATES********************
  9913.  
  9914. December 14, 2016
  9915. Version 1.3.5.6
  9916. restored kingfiles.net
  9917.  
  9918. December 14, 2016
  9919. Version 1.3.5.5
  9920. fixed some 1fichier links not checking (yurii)
  9921.  
  9922. December 01, 2016
  9923. Version 1.3.5.4
  9924. added temp-share.com & filesha.com
  9925.  
  9926. November 30, 2016
  9927. Version 1.3.5.3
  9928. fixed mexashare.com not detecting some dead links
  9929.  
  9930. November 29, 2016
  9931. Version 1.3.5.2
  9932. added black-label.pro (live links only)
  9933.  
  9934. November 27, 2016
  9935. Version 1.3.5.1
  9936. made changes to filefactory
  9937.  
  9938. November 23, 2016
  9939. Version 1.3.5.0
  9940. added megashares.com to obsolete hosts
  9941. fixed letitbit not showing as obsolete
  9942. added littlebyte.net
  9943.  
  9944. November 22, 2016
  9945. Version 1.3.4.9
  9946. added code for live links to rapidgator
  9947. added dailyfiles.net
  9948. added upfiles.net
  9949. added multiup.eu
  9950.  
  9951. November 17, 2016
  9952. Version 1.3.4.8
  9953. fixed filefactory, again
  9954.  
  9955. November 17, 2016
  9956. Version 1.3.4.7
  9957. fixed filefactory folders
  9958.  
  9959. November 15, 2016
  9960. Version 1.3.4.6
  9961. fixed filefactory
  9962.  
  9963. November 14, 2016
  9964. Version 1.3.4.5
  9965. fixed rapidgator
  9966. fixed filefactory folders
  9967.  
  9968.  
  9969. November 13, 2016
  9970. Version 1.3.4.4
  9971. fixed problem with drive.google.com
  9972. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  9973.  
  9974. November 06, 2016
  9975. Version 1.3.4.3
  9976. added to obsolete hosts (by love buzz)
  9977. 4up.me
  9978. a nonfiles.com
  9979. axifile.com
  9980. creafile.net
  9981. demo.ovh.eu
  9982. filesin.com
  9983. file swap.com
  9984. gulfup.com
  9985. hexupload.com
  9986. hugefiles.net
  9987. jumbofiles.com
  9988. kingfiles.net
  9989. letitbit.net
  9990. lolabits.es
  9991. nowdownload.ch
  9992. openfile.ru
  9993. radicalshare.com
  9994. remixshare.com
  9995. storefiles.co
  9996. toutbox.fr
  9997. uploadbaz.com
  9998. uploadingit.com
  9999. verzend.be
  10000. vidplay.net
  10001. vidxden.com
  10002. xfileload.com
  10003.  
  10004. November 04, 2016
  10005. Version 1.3.4.2
  10006. added french code for rapidgator premium links
  10007. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10008.  
  10009. November 03, 2016
  10010. Version 1.3.4.1
  10011. added Portuguese code for rapidgator premium links
  10012. added suprafiles.net
  10013.  
  10014. November 02, 2016
  10015. Version 1.3.4.0
  10016. fixed depositfiles not detecting depositfiles.com/de links
  10017.  
  10018. October 27, 2016
  10019. Version 1.3.3.9
  10020. fixed uploaded.net not detecting some dead links
  10021.  
  10022. October 24, 2016
  10023. Version 1.3.3.8
  10024. added more french code for upload.af dead links
  10025.  
  10026. October 23, 2016
  10027. Version 1.3.3.7
  10028. added french for upload.af dead links
  10029.  
  10030. October 17, 2016
  10031. Version 1.3.3.6
  10032. fixed error (by Yurii)
  10033.  
  10034. October 17, 2016
  10035. Version 1.3.3.5
  10036. fixed file.al (by Yurii)
  10037.  
  10038. October 16, 2016
  10039. Version 1.3.3.4
  10040. test
  10041.  
  10042. October 11, 2016
  10043. Version 1.3.3.3
  10044. fixed subyshare.com not detecting some dead links
  10045. fixed mexashare.com
  10046. fixed pornfile.cz
  10047.  
  10048. October 10, 2016
  10049. Version 1.3.3.2
  10050. added fileflares.com
  10051. added erafile.com
  10052. added loop to subyshare.com & rockfile.eu
  10053.  
  10054. September 26, 2016
  10055. Version 1.3.3.1
  10056. added uploadocean.com
  10057.  
  10058. September 25, 2016
  10059. Version 1.3.3.0
  10060. added exbit.net
  10061.  
  10062. September 25, 2016
  10063. Version 1.3.2.9
  10064. fixed uptobox
  10065. fixed google (by kubbbie)
  10066.  
  10067. September 23, 2016
  10068. Version 1.3.2.8
  10069. added danish to rapidgator
  10070.  
  10071. September 22, 2016
  10072. Version 1.3.2.7
  10073. added wayupload.com
  10074.  
  10075. September 18, 2016
  10076. Version 1.3.2.6
  10077. added Portuguese language to rapidgator
  10078.  
  10079. September 15, 2016
  10080. Version 1.3.2.5
  10081. added languages to rapidgator
  10082. french
  10083. german
  10084. spanish
  10085. Italian
  10086. russian
  10087. polish
  10088. dutch
  10089. czech
  10090. chinese
  10091. japanese
  10092.  
  10093. September 14, 2016
  10094. Version 1.3.2.4
  10095. fixed spaceforfiles.com
  10096.  
  10097. September 09, 2016
  10098. Version 1.3.2.3
  10099. added bdupload.info
  10100. added german & deutsch language to workupload.com
  10101.  
  10102. September 08, 2016
  10103. Version 1.3.2.2
  10104. added...
  10105. storageserver.co.uk
  10106. cloud.mail.ru
  10107. fixed depositfiles
  10108.  
  10109. September 08, 2016
  10110. Version 1.3.2.1
  10111. added workupload.com
  10112.  
  10113. September 04, 2016
  10114. Version 1.3.2.0
  10115. made changes to euroshare.eu
  10116.  
  10117. September 03, 2016
  10118. Version 1.3.1.9
  10119. added usercloud.net
  10120. made changes to euroshare.eu
  10121.  
  10122. August 31, 2016
  10123. Version 1.3.1.8
  10124. fixed uptobox.com
  10125.  
  10126. August 30, 2016
  10127. Version 1.3.1.7
  10128. made changes to euroshare.eu
  10129.  
  10130. August 29, 2016
  10131. Version 1.3.1.6
  10132. made changes to data.hu
  10133.  
  10134. August 29, 2016
  10135. Version 1.3.1.5
  10136. fixed euroshare.eu not detecting dead links
  10137.  
  10138. August 23, 2016
  10139. Version 1.3.1.4
  10140. added ulozto.sk
  10141. added ulozto.cz
  10142.  
  10143. August 19, 2016
  10144. Version 1.3.1.3
  10145. fixed euroshare.eu
  10146. fixed 2share.com
  10147.  
  10148. August 17, 2016
  10149. Version 1.3.1.2
  10150. added french code for 1fichier
  10151.  
  10152. August 16, 2016
  10153. Version 1.3.1.1
  10154. fix for 1fichier folder links, by yurii
  10155.  
  10156. August 15, 2016
  10157. Version 1.3.1.0
  10158. another fix for 1fichier
  10159. added mystore.to
  10160.  
  10161. August 12, 2016
  10162. Version 1.3.0.9
  10163. fixed 1fichier
  10164.  
  10165. August 01, 2016
  10166. Version 1.3.0.8
  10167. fixed tezfiles.com not detecting some premium links
  10168.  
  10169. July 24, 2016
  10170. Version 1.3.0.7
  10171. added fileshareup.com
  10172.  
  10173. July 17, 2016
  10174. Version 1.3.0.6
  10175. added subyshare.com
  10176.  
  10177. july 10, 2016
  10178. Version 1.3.0.5
  10179. fixed ulozto.net
  10180.  
  10181. july 07, 2016
  10182. Version 1.3.0.4
  10183. fixed uloz.to
  10184.  
  10185. july 07, 2016
  10186. Version 1.3.0.3
  10187. added imagenetz.de
  10188.  
  10189. June 23, 2016
  10190. Version 1.3.0.2
  10191. excluded nexcess.net
  10192.  
  10193. June 20, 2016
  10194. Version 1.3.0.1
  10195. added daofile.com
  10196.  
  10197. June 16, 2016
  10198. Version 1.3.0.0
  10199. added mexashare.com
  10200.  
  10201. June 16, 2016
  10202. Version 1.2.9.9
  10203. added novafile.com
  10204. added uploadgig.com
  10205.  
  10206. June 15, 2016
  10207. Version 1.2.9.8
  10208. fixed upload.af
  10209.  
  10210. June 10, 2016
  10211. Version 1.2.9.7
  10212. added alltu.eu
  10213.  
  10214. June 09, 2016
  10215. Version 1.2.9.6
  10216. added code for french language to rapidgator.net & rg.to
  10217.  
  10218. June 04, 2016
  10219. Version 1.2.9.5
  10220. added upnito.sk
  10221.  
  10222. May 31, 2016
  10223. Version 1.2.9.4
  10224. fixed mega.co (by yurii)
  10225.  
  10226. May 31, 2016
  10227. Version 1.2.9.3
  10228. code cleanup
  10229.  
  10230. May 27, 2016
  10231. Version 1.2.9.2
  10232. added filesin.space
  10233.  
  10234. May 27, 2016
  10235. Version 1.2.9.1
  10236. added
  10237. filescdn.com
  10238. bankupload.com
  10239. katfile.com
  10240.  
  10241. May 18, 2016
  10242. Version 1.2.9.0
  10243. added warped.co to obsolete hosts
  10244.  
  10245. May 17, 2016
  10246. Version 1.2.8.9
  10247. fixed mega.nz
  10248.  
  10249. May 16, 2016
  10250. Version 1.2.8.8
  10251. added to obsolete hosts
  10252. fileband.com
  10253. filecloud.cc
  10254. filesmelt.com
  10255. goldbytez.com
  10256. hulkshare.com
  10257. idup.in
  10258. loudupload.net
  10259. muchshare.net
  10260. myupload.dk
  10261. nekaka.com
  10262. netkups.com
  10263. plunder.com
  10264. uploads.xxx
  10265. uploadspace.pl
  10266. xkeepfile.com
  10267.  
  10268. May 16, 2016
  10269. Version 1.2.8.7
  10270. added upnito.sk to obsolete hosts
  10271.  
  10272. May 15, 2016
  10273. Version 1.2.8.6
  10274. fixed uploading.site
  10275.  
  10276. May 15, 2016
  10277. Version 1.2.8.5
  10278. added oload.net
  10279.  
  10280. May 14, 2016
  10281. Version 1.2.8.4
  10282. added uploading.site
  10283.  
  10284. May 13, 2016
  10285. Version 1.2.8.3
  10286. added uploadc.ch
  10287. fixed vidspot.net
  10288.  
  10289. May 13, 2016
  10290. Version 1.2.8.2
  10291. added keepshare.net
  10292.  
  10293. May 11, 2016
  10294. Version 1.2.8.1
  10295. added uploadserv.com
  10296.  
  10297. May 09, 2016
  10298. Version 1.2.8.0
  10299. fixed upstore.net & upsto.re
  10300. added 24uploading.com to obsolete hosts
  10301.  
  10302. May 06, 2016
  10303. Version 1.2.7.9
  10304. added storagon.com to obsolete hosts
  10305. fixed worldbytez.com
  10306.  
  10307. May 02, 2016
  10308. Version 1.2.7.8
  10309. added myfiles.onl
  10310.  
  10311. april 28, 2016
  10312. Version 1.2.7.7
  10313. fixed bytewhale.com
  10314.  
  10315. april 27, 2016
  10316. Version 1.2.7.6
  10317. fixed rapidgator not detecting some premium links.
  10318.  
  10319. april 27, 2016
  10320. Version 1.2.7.5
  10321. added jeodrive.com
  10322.  
  10323. april 26, 2016
  10324. Version 1.2.7.4
  10325. added sanshare.com to obsolete hosts
  10326.  
  10327. april 26, 2016
  10328. Version 1.2.7.3
  10329. fixed vidspot.net
  10330.  
  10331. april 26, 2016
  10332. Version 1.2.7.2
  10333. added upx.nz
  10334.  
  10335. april 25, 2016
  10336. Version 1.2.7.1
  10337. added rapidfilehost.com to obsolete hosts
  10338. fixed bitster.cz
  10339.  
  10340. april 12, 2016
  10341. Version 1.2.7.0
  10342. fixed rapidgator not detecting some premium links.
  10343.  
  10344. april 11, 2016
  10345. Version 1.2.6.9
  10346. changed code for ncrypt.in
  10347.  
  10348. april 07, 2016
  10349. Version 1.2.6.8
  10350. added fileinz.com to obsolete hosts.
  10351.  
  10352. april 06, 2016
  10353. Version 1.2.6.7
  10354. added sharingmaster.com to obsolete hosts.
  10355.  
  10356. april 05, 2016
  10357. Version 1.2.6.6
  10358. added 4upfiles.com & elffiles.com to obsolete hosts
  10359.  
  10360. april 03, 2016
  10361. Version 1.2.6.5
  10362. updates to configuration page
  10363.  
  10364. March 31, 2016
  10365. Version 1.2.6.4
  10366. added code for tampermonkey 4.0 compatibility
  10367.  
  10368. March 31, 2016
  10369. Version 1.2.6.3
  10370. fixed uloz.to
  10371. fixed copy dead links to clipboard feature
  10372. added copy live links to clipboard feature.
  10373.  
  10374. March 24, 2016
  10375. Version 1.2.6.2
  10376. changed made to nitroflare. (yurri)
  10377.  
  10378. March 20, 2016
  10379. Version 1.2.6.1
  10380. fixed rapidgator
  10381. fixed dfiles
  10382. fixed dl.free.fr
  10383. fixed nitroflare.com (Fixed by Yurii)
  10384.  
  10385. March 15, 2016
  10386. Version 1.2.6.0
  10387. fixed rapidgator.net
  10388. fixed uploaded.net
  10389.  
  10390. March 13, 2016
  10391. Version 1.2.5.9
  10392. added
  10393. uploads.ws
  10394. upl.me
  10395. clicknupload.link
  10396. added fileover.net to obsolete hosts
  10397. fixed kingfiles.net
  10398.  
  10399. March 09, 2016
  10400. Version 1.2.5.8
  10401. added kingfiles.net to obsolete hosts
  10402. fixed 4upld.com/expressleech.com
  10403.  
  10404. March 08, 2016
  10405. Version 1.2.5.7
  10406. fixed solidfiles.com
  10407.  
  10408. March 01, 2016
  10409. Version 1.2.5.6
  10410. added filespace.com
  10411. fixed depositfiles (by yurii)
  10412.  
  10413. February 29, 2016
  10414. Version 1.2.5.5
  10415. made change to keep2share
  10416.  
  10417. February 28, 2016
  10418. Version 1.2.5.4
  10419. removed down4files.com from obsolete hosts.
  10420.  
  10421. February 26, 2016
  10422. Version 1.2.5.3
  10423. fixed userscloud.com
  10424.  
  10425. February 24, 2016
  10426. Version 1.2.5.2
  10427. added yandex.com
  10428. fixed datafile.com
  10429.  
  10430. February 22, 2016
  10431. Version 1.2.5.1
  10432. added bigfile.to
  10433.  
  10434. February 20, 2016
  10435. Version 1.2.5.0
  10436. added abelhas.pt
  10437.  
  10438. February 18, 2016
  10439. Version 1.2.4.9
  10440. made change to uptobox
  10441.  
  10442. February 17, 2016
  10443. Version 1.2.4.8
  10444. fixed yadi.sk
  10445.  
  10446. February 16, 2016
  10447. Version 1.2.4.7
  10448. fixed datafile.com
  10449. fixed filecad.com
  10450. added filecore.co & filestorm.to to obsolete hosts
  10451. added upload.af, filedwon.in & uplod.it
  10452.  
  10453. February 15, 2016
  10454. Version 1.2.4.6
  10455. fixed kumpulbagi.id
  10456. added sangfile.com to obsolete hosts
  10457.  
  10458. February 14, 2016
  10459. Version 1.2.4.5
  10460. fixed yandex.ru
  10461.  
  10462. February 13, 2016
  10463. Version 1.2.4.4
  10464. added lunaticfiles.com.
  10465.  
  10466. February 09, 2016
  10467. Version 1.2.4.3
  10468. added file.up09.com.
  10469.  
  10470. February 09, 2016
  10471. Version 1.2.4.2
  10472. tezfiles.com premium links now detected.
  10473.  
  10474. February 09, 2016
  10475. Version 1.2.4.1
  10476. added seenupload.com to obsolete hosts
  10477. fixed 180upload.com to show obsolete
  10478.  
  10479. February 08, 2016
  10480. Version 1.2.4.0
  10481. added tusfiles.com
  10482. added filesupload.org
  10483. added gigasize.com
  10484. added filecad.com
  10485. fixed filecloud.io
  10486. added uploadnet.co to obsolete hosts
  10487.  
  10488. February 07,2016
  10489. Vession 1.2.3.9
  10490. fixed depositfiles.com folders
  10491. fixed turbobit.net folders
  10492.  
  10493. February 06, 2016
  10494. Version 1.2.3.8
  10495. fixed 1fichier false dead links
  10496.  
  10497. February 04, 2106
  10498. Version 1.2.3.7
  10499. added geupload and lenfile to obsolete hosts
  10500. fixed kyc.pm/depfile
  10501.  
  10502. February 03, 2016
  10503. Version 1.2.3.6
  10504. fixed some nitroflare.com dead links not being detected
  10505.  
  10506. February 01, 2016
  10507. Version 1.2.3.5
  10508. script moved to new site
  10509.  
  10510. January 20, 2016
  10511. Version 1.2.3.3
  10512. fixed some rapidgator premium link not being detected
  10513.  
  10514. January 17, 2016
  10515. Version 1.2.3.2
  10516. added bytewhale.com
  10517. added rapidrar.com
  10518.  
  10519. Version 1.2.3.1
  10520. added 180upload.com to obsolete hosts
  10521. fixed hellspy.com
  10522. added dinoshare.cz,
  10523.  
  10524. January 13, 2016
  10525. Version 1.2.3.0
  10526. added rapidu.net
  10527. added uploadboy.me
  10528. fixed euroshare.eu
  10529.  
  10530. January 12, 2016
  10531. Version 1.2.2.9
  10532. added kb.simple-aja.info
  10533.  
  10534. January 10, 2016
  10535. Version 1.2.2.8
  10536. made changes to fastshare.cz
  10537.  
  10538. January 10, 2016
  10539. Version 1.2.2.7
  10540. fixed uptobox.com
  10541.  
  10542. January 09, 2016
  10543. Version 1.2.2.6
  10544. datoteke.com now detects premium links
  10545. fixed turbobit.net
  10546. fixed uptobox.com
  10547. added pornfile.cz
  10548. added pornoid.cz
  10549. added file-share.top
  10550. added bitster.cz
  10551.  
  10552. January 05, 2016
  10553. Version 1.2.2.5
  10554. fixed salefiles.com
  10555. fixed ozofile.com
  10556.  
  10557. January 04, 2016
  10558. Version 1.2.2.4
  10559. added sharehost.eu
  10560.  
  10561. December 30, 2015
  10562. Version 1.2.2.3
  10563. added tezfiles.com
  10564.  
  10565. December 28, 2015
  10566. Version 1.2.2.2
  10567. fixed some k2s & fboom dead link not getting detected
  10568. fixed some k2s premium links not getting detected.
  10569. fixed ssh.yt not detecting some dead links
  10570. fixed ncrypt.in dead links showing yellow
  10571.  
  10572. December 20, 2015
  10573. Version 1.2.2.0
  10574. added datoteke.com
  10575.  
  10576. December 19, 2015
  10577. Version 1.2.1.9
  10578. added secured.in & linksave.in to obsolete hosts
  10579.  
  10580. December 17, 2015
  10581. Version 1.2.1.8
  10582. added german for dead links to secureupload.eu.
  10583.  
  10584. December 17, 2015
  10585. Version 1.2.1.7
  10586. added french for dead links to secureupload.eu.
  10587. fixed problem with tooltip display.
  10588.  
  10589. December 13, 2015
  10590. Version 1.2.1.6
  10591. added netload.me & fileparadox.in to obsolete hosts
  10592.  
  10593. December 09, 2015
  10594. Version 1.2.1.5
  10595. added rapidsonic.com & fileparadox.com to obsolete hosts
  10596.  
  10597. December 04, 2015
  10598. Version 1.2.1.4
  10599. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10600.  
  10601. December 03, 2015
  10602. Version 1.2.1.3
  10603. added dailyuploads.net
  10604.  
  10605. December 02, 2015
  10606. Version 1.2.1.2
  10607. fixed hitfile.net
  10608. fixed kingfiles.net
  10609.  
  10610. November 30, 2015
  10611. Version 1.2.1.1
  10612. added filepost.com to obsolete hosts
  10613. added devilshare.net
  10614.  
  10615. November 28, 2015
  10616. Version 1.2.1.0
  10617. fixed datafile.com not detecting some premium links.
  10618.  
  10619. November 25, 2015
  10620. Version 1.2.0.9
  10621. fixed filejoker.net
  10622. fixed toutbox.fr
  10623. fixed nowvideo.sx
  10624.  
  10625. November 24, 2015
  10626. Version 1.2.0.8
  10627. fixed openload.io
  10628.  
  10629. November 20, 2015
  10630. Version 1.2.0.7
  10631. //added file.al
  10632. //fixed nitroflare.com false live links
  10633. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10634.  
  10635. November 17, 2015
  10636. Version 1.2.0.6
  10637. added clicknupload.me
  10638.  
  10639. November 09, 2015
  10640. Version 1.2.0.5
  10641. fixed some depfile premium links not being detected
  10642.  
  10643. November 08, 2015
  10644. Version 1.2.0.4
  10645. fixed some rapidgator premium links not being detected
  10646. fixed doraupload.com
  10647.  
  10648. November 08, 2015
  10649. Version 1.2.0.3
  10650. fixed uploaded false premium
  10651.  
  10652. November 07, 2015
  10653. Version 1.2.0.2
  10654. fixed redbunker.net
  10655.  
  10656. November 05, 2015
  10657. Version 1.2.0.1
  10658. fixed app.box.com
  10659. added multiup.org (does not detect all dead links)
  10660.  
  10661. November 01, 2015
  10662. Version 1.2.0.0
  10663. added more languages to rockfile and 1fichier
  10664.  
  10665. November 01, 2015
  10666. Version 1.1.9.9
  10667. fixed rockfile.eu
  10668. changed 1fichier code (Thanks yurri)
  10669. added to obsolete hosts... (Thanks Love Buzz)
  10670. burnupload.com
  10671. cramit.in
  10672. cramitin.net
  10673. down4files.com
  10674. edoc.com
  10675. jumbofile.net
  10676. krotix.net
  10677. migahost.com
  10678. movreel.com
  10679. netload.in
  10680. newfileland.com
  10681. quickshare.cz
  10682.  
  10683. October 30, 2015
  10684. Version 1.1.9.8
  10685. added alfafile.net
  10686.  
  10687. October 26, 2015
  10688. Version 1.1.9.7
  10689. changed datafile.com and uplea.com
  10690. added lolabits.es
  10691.  
  10692. October 26, 2015
  10693. Version 1.1.9.6
  10694. added toutbox.fr
  10695.  
  10696. October 25, 2015
  10697. Version 1.1.9.5
  10698. fixed counter error
  10699.  
  10700. October 25, 2015
  10701. Version 1.1.9.4
  10702. changed uptobox.com code
  10703.  
  10704. October 21, 2015
  10705. Version 1.1.9.3
  10706. fixed uptobox.com
  10707.  
  10708. October 20, 2015
  10709. Version 1.1.9.2
  10710. bug fixes and new method of detecting premium links.
  10711.  
  10712. October 15, 2015
  10713. Version 1.1.9.1
  10714. fixed hugefiles.net false premium
  10715. changed uptobox.com code
  10716.  
  10717. October 06, 2015
  10718. Version 1.1.9.0
  10719. fixed filefactory
  10720. fixed rockfile false premium
  10721. keep2share & fileboom now detect premium links (fixed by yurii)
  10722.  
  10723. October 01, 2015
  10724. Version 1.1.8.9
  10725. fixed free.fr false premium
  10726. fixed thevideo.me false premium
  10727.  
  10728. September 28, 2015
  10729. Version 1.1.8.8
  10730. added uplea.com and openload.co
  10731.  
  10732. September 27, 2015
  10733. Version 1.1.8.7
  10734. fixed fileparadox.in false premium
  10735. added kingfiles.net to obsolete hosts
  10736. removed inafile.com from obsolete hosts
  10737.  
  10738. September 22, 2015
  10739. Version 1.1.8.6
  10740. fixed nitroflare false premium
  10741.  
  10742. September 22, 2015
  10743. Version 1.1.8.5
  10744. fixed userscloud.com false premium
  10745. fixed usersfiles.com false premium
  10746. changed arabloads.com to arabloads.net
  10747. changed nowdownloads.eu to nowdownloads.ch
  10748.  
  10749. September 21, 2015
  10750. Version 1.1.8.3
  10751. added ryushare.com to obsolete hosts.
  10752.  
  10753. September 20, 2015
  10754. Version 1.1.8.2
  10755. fixed nitroflare not showing premium links
  10756. added down4files.com,storfiles.co,filehost.pw
  10757.  
  10758. September 16, 2015
  10759. Version 1.1.8.1
  10760. added crisshare.com to obsolete hosts
  10761. fixed filemoney.com false premium
  10762. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10763.  
  10764. September 14, 2015
  10765. Version 1.1.8.0
  10766. added to obsolete hosts...
  10767. sharebeast.com
  10768. tufiles.ru
  10769.  
  10770. September 12, 2015
  10771. Version 1.1.7.9
  10772. fixed rghost.net false premium
  10773. fixed unlimitzone.com false premium
  10774. fixed turbobit.net false live link
  10775.  
  10776. September 11, 2015
  10777. Version 1.1.7.8
  10778. Fixed filefactory.com false premium.
  10779.  
  10780. September 07, 2015
  10781. Version 1.1.7.7
  10782. fixed "depositfiles.com/en/files" links not checking
  10783.  
  10784. September 06, 2015
  10785. Version 1.1.7.6
  10786. added French code for 1fichier
  10787.  
  10788. August 29, 2015
  10789. Version 1.1.7.5
  10790. fixed depositfiles
  10791. fixed mega.co.nz/mega.nz
  10792. (fixed by yurii)
  10793.  
  10794. August 23, 2015
  10795. Version 1.1.7.4
  10796. Fixed uploadrocket (by yurii)
  10797.  
  10798. August 20, 2015
  10799. Version 1.1.7.3
  10800. fixed depfile.com false premium
  10801. fixed 1fichier false premium
  10802. fixed rapidgator false premium
  10803.  
  10804. August 08, 2015
  10805. Version 1.1.7.1
  10806. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10807.  
  10808. August 07, 2015
  10809. Version 1.1.7.0
  10810. fixed...
  10811. streamin.to
  10812. thefile.me
  10813. vidzi.tv
  10814. added...
  10815. filenuke.com
  10816. vidto.me
  10817. vidspot.net
  10818. sharesix.com
  10819. sharesix.net
  10820. movpod.in,
  10821.  
  10822. August 07, 2015
  10823. Version 1.1.6.9 added...
  10824. thefile.me
  10825. vidzi.tv
  10826. videoweed.es
  10827. vodlocker.com
  10828. nowvideo.sx
  10829. cloudtime.to
  10830. thevideo.me
  10831. vidbull.com
  10832. allmyvideos.net
  10833. novamov.com
  10834. filehoot.com
  10835. stagevu.com
  10836. gorillavid.in
  10837. streamin.to
  10838.  
  10839. August 02, 2015
  10840. Version 1.1.6.8
  10841. added cloudshares.net
  10842.  
  10843. August 01, 2015
  10844. Version 1.1.6.7
  10845. fixed depfile redirectors false premium
  10846.  
  10847. July 31, 2015
  10848. Version 1.1.6.6
  10849. fixed depfile.com false premium
  10850. */