W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  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.5
  31. // ==/UserScript==
  32.  
  33. var War_version = "1.3.5.5 December 14, 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. "userscloud.com",
  265. "kumpulbagi.com|kumpulbagi.id",
  266. "uppit.com|up.ht|upx.nz",
  267. "downloadani.me",
  268. "filesabc.com",
  269. "extmatrix.com",
  270. "sendfiles.nl",
  271. "yourfilestore.com",
  272. "filebig.net",
  273. "file4safe.com",
  274. "tusfiles.net|tusfiles.com",
  275. "filemac.com",
  276. "ozofiles.com",
  277. "nosupload.com",
  278. "gboxes.com",
  279. "myvdrive.com|fileserving.com",
  280. "novafile.com",
  281. "longfiles.com",
  282. "bitupload.com",
  283. "indowebster.com",
  284. "superload.cz",
  285. "mafiastorage.com",
  286. "hellupload.com",
  287. "stiahni.si",
  288. "sendspace.pl",
  289. "fastshare.org",
  290. "filejoker.net",
  291. "filestore.com.ua",
  292. "secureupload.eu",
  293. "rapidfileshare.net",
  294. "stiahnito.sk",
  295. "rusfolder.com",
  296. "catshare.net",
  297. "mixturecloud.com",
  298. "filedais.com",
  299. // "imdb.com",
  300. "nitroflare.com",
  301. "akafile.com",
  302. "up.top4top.net",
  303. "upload.ee",
  304. "shareplace.org",
  305. "uploadc.com",
  306. "uploadc.ch",
  307. "exoshare.com",
  308. "borncash.org",
  309. "junocloud.me",
  310. "2downloadz.com",
  311. "mightyupload.com",
  312. "anysend.com",
  313. "datafile.com",
  314. "upstore.net",
  315. "upsto.re",
  316. "speedy.sh",
  317. "ge.tt",
  318. "filesflash.net",
  319. "salefiles.com",
  320. "datoid.cz",
  321. "cloudstor.es",
  322. "streamfile.com",
  323. "eyesfile.ca",
  324. "filemoney.com",
  325. "uploadboy.com",
  326. "uploadboy.me",
  327. "speedshare.eu",
  328. "google.com|google.be",
  329. "unlimitzone.com",
  330. "rioupload.com",
  331. "rg.to",
  332. "jumbofiles.org",
  333. "fshare.vn",
  334. "spaceforfiles.com",
  335. "up.media1fire.com",
  336. "depfile.com",
  337. "go4up.com",
  338. "dropbox.com",
  339. "redbunker.net",
  340. "divxpress.com",
  341. "mega.nz|mega.co.nz",
  342. "storageserver.co.uk",
  343. "anafile.com",
  344. "uploadable.ch",
  345. "bigfile.to",
  346. "arabloads.net",
  347. "sharerepo.com",
  348. "sfshare.se",
  349. "files.fm",
  350. "koofile.com",
  351. "doraupload.com",
  352. "openload.io",
  353. "upnito.sk",
  354. "oload.net",
  355. ];
  356.  
  357. try
  358. {
  359. //iframes excluded
  360. if (window.top != window.self)
  361. {
  362. return;
  363. }
  364. //allHostNames sites excluded
  365. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  366. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  367. ")"))
  368. {
  369. return;
  370. }
  371. }
  372. catch (e)
  373. {
  374. return;
  375. }
  376.  
  377. //separate alternative domains with "|" char (first name is considered being main)
  378. var allContainerNames = [
  379. "adf.ly",
  380. "linkcrypt.ws",
  381. "linksafe.me",
  382. // "linksave.in",
  383. "linkto.net",
  384. "madlink.sk",
  385. "multiload.cz",
  386. "mirrorcreator.com",
  387. // "ncrypt.in",
  388. "redi.re",
  389. "relink.us",
  390. "safelinking.net",
  391. "theloo.katt.it",
  392. "bit.ly",
  393.  
  394. ];
  395.  
  396. //separate alternative domains with "|" char (first name is considered being main)
  397. var allObsoleteNames = [
  398. "4up.me",
  399. "anonfiles.com",
  400. "axifile.com",
  401. "creafile.net",
  402. "demo.ovh.eu",
  403. "filesin.com",
  404. "fileswap.com",
  405. "gulfup.com",
  406. "hexupload.com",
  407. "hugefiles.net",
  408. "jumbofiles.com",
  409. "kingfiles.net",
  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("kingfiles\\.net\/\\w+","//a[contains(@href,'kingfiles.net/')]");
  6063. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6064. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6065. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6066. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6067. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6068. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6069. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6070. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6071. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6072. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6073. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6074. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6075. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6076. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6077. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6078.  
  6079. // obsolete start start2
  6080. }
  6081. //obsolete file hosts init end
  6082. //Add Host Example
  6083. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6084. {
  6085. addFileHost(
  6086. "datafile\.com\/\\w+",
  6087. 'var captchaPanel|<link href="/css/files_download.css"',
  6088. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6089. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6090. '<style type="text/css">',
  6091. "//a[contains(@href,'datafile.com')]",
  6092. true);
  6093. } */
  6094.  
  6095. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6096. {
  6097. var host = new Array(7);
  6098. host[0] = linkRegex;
  6099. host[1] = isAliveRegex;
  6100. host[2] = isDeadRegex;
  6101. host[3] = isUnavaRegex;
  6102. host[6] = ispremRegex;
  6103. host[4] = xpathEx;
  6104. tryLoop ? host[5] = true : host[5] = false;
  6105. http_file_hosts.push(host);
  6106. }
  6107. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6108. {
  6109. addFileHost(
  6110. "megafileupload\.com\/..\/file\/",
  6111. 'downloadbtn',
  6112. 'is not found',
  6113. 'optional--',
  6114. 'optional2--',
  6115. "//a[contains(@href,'megafileupload.com')]");
  6116. }
  6117. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6118. {
  6119. addFileHost(
  6120. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6121. 'download\\.gif"',
  6122. 'p_point">',
  6123. 'optional--',
  6124. 'optional2--',
  6125. "//a[contains(@href,'demo.ovh.eu')]");
  6126. }*/
  6127. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6128. {
  6129. addFileHost(
  6130. "safelinking\\.net\/p\/\\w+",
  6131. 'color:green;"',
  6132. 'color:(?:red|orange);"',
  6133. 'color:(?:grey|brown);"',
  6134. 'optional2--',
  6135. "//a[contains(@href,'safelinking.net/p/')]",
  6136. true);
  6137. }
  6138. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6139. {
  6140. addFileHost(
  6141. "fastshare\\.cz\/\\d+\/\\w*",
  6142. 'dwntable">|speed-low',
  6143. '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',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'fastshare.cz')]");
  6147. }
  6148. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6149. {
  6150. addFileHost(
  6151. "[fF]ast[sS]hare\\.org\/download",
  6152. 'Download ">',
  6153. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6154. 'optional--',
  6155. 'optional2--',
  6156. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6157. }
  6158. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6159. {
  6160. addFileHost(
  6161. "partage-facile\.com\/\\w+",
  6162. 'class="title"><strong>|colspan="2"',
  6163. 'Page introuvable|class="alert-message',
  6164. 'optional--',
  6165. 'optional2--',
  6166. "//a[contains(@href,'partage-facile.com')]");
  6167. }
  6168. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6169. {
  6170. addFileHost(
  6171. "rapidgator\\.net\/file\/\\w+",
  6172. '/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',
  6173. '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',
  6174. 'optional--',
  6175. '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',
  6176. "//a[contains(@href,'rapidgator.net/file')]",
  6177. true
  6178. );
  6179. }
  6180. if (GM_getValue("Check_rg_dot_to_links", false))
  6181. {
  6182. addFileHost(
  6183. "rg\.to\/\\w+",
  6184. '/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',
  6185. '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',
  6186. 'optional--',
  6187. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6188. "//a[contains(@href,'rg.to')]");
  6189. }
  6190. if (GM_getValue("Check_relink_dot_us_links", false))
  6191. {
  6192. addFileHost(
  6193. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6194. 'online_detail\\.png" alt="Status',
  6195. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6196. 'unknown_detail\\.png" alt="Status',
  6197. 'optional2--',
  6198. "//a[contains(@href,'relink.us/')]"
  6199. );
  6200. }
  6201. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6202. {
  6203. addFileHost(
  6204. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6205. 'div id="dl"',
  6206. 'Sie haben den Link falsch',
  6207. 'optional--',
  6208. 'optional2--',
  6209. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6210. );
  6211. }
  6212. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6213. {
  6214. addFileHost(
  6215. "flyfiles\\.net\/\\w+",
  6216. 'download_button"|"Download file"',
  6217. 'File not found!|Файл не найден',
  6218. 'optional--',
  6219. 'optional2--',
  6220. "//a[contains(@href,'flyfiles.net/')]"
  6221. );
  6222. }
  6223. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6224. {
  6225. addFileHost(
  6226. "wikiupload\\.com\/\\w+",
  6227. 'download-button">',
  6228. 'Sorry, File not found',
  6229. 'optional--',
  6230. 'optional2--',
  6231. "//a[contains(@href,'wikiupload.com/')]"
  6232. );
  6233. }
  6234. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6235. {
  6236. addFileHost(
  6237. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6238. 'file\\.php">|Pobierz Plik',
  6239. 'Podany plik nie zosta',
  6240. 'optional--',
  6241. 'optional2--',
  6242. "//a[contains(@href,'hostuje.net/file')]"
  6243. );
  6244. }
  6245. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6246. {
  6247. addFileHost(
  6248. "gettyfile\\.ru\/\\d+",
  6249. 'download\\.gif border',
  6250. '<center><font size="3">',
  6251. 'optional--',
  6252. 'optional2--',
  6253. "//a[contains(@href,'gettyfile.ru/')]"
  6254. );
  6255. }
  6256. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6257. {
  6258. addFileHost(
  6259. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6260. 'download\\-file">',
  6261. 'col-1">\\s*<h1>',
  6262. 'optional--',
  6263. 'optional2--',
  6264. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6265. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6266. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6267. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6268. );
  6269. }
  6270. if (GM_getValue("Check_data_dot_hu_links", false))
  6271. {
  6272. addFileHost(
  6273. "data\\.hu",
  6274. 'download_box_button|Lassú letöltés',
  6275. 'missing\\.php|Az adott fájl nem létezik',
  6276. 'optional--',
  6277. 'optional2--',
  6278. "//a[contains(@href,'data.hu')]",
  6279. true
  6280. );
  6281. }
  6282. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6283. {
  6284. addFileHost(
  6285. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6286. 'premiumBtn"',
  6287. 'errorMessage"',
  6288. 'optional--',
  6289. 'optional2--',
  6290. "//a[contains(@href,'indowebster.com/download')]"
  6291. );
  6292. }
  6293. if (GM_getValue("Check_superload_dot_cz_links", false))
  6294. {
  6295. addFileHost(
  6296. "superload\\.cz\/dl\/\\w+",
  6297. 'icon-download">',
  6298. 'soubor nebyl nalezen',
  6299. 'optional--',
  6300. 'optional2--',
  6301. "//a[contains(@href,'superload.cz/dl')]"
  6302. );
  6303. }
  6304. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6305. {
  6306. addFileHost(
  6307. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6308. 'op" value="download',
  6309. 'class="err">|width:500px;text-align:left;">',
  6310. 'optional--',
  6311. 'optional2--',
  6312. "//a[contains(@href,'hulkfile.')]"
  6313. );
  6314. }
  6315. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6316. {
  6317. addFileHost(
  6318. "easybytez\\.com\/\\w+",
  6319. 'op" value="download',
  6320. 'stop_error\\.gif',
  6321. 'optional--',
  6322. 'optional2--',
  6323. "//a[contains(@href,'easybytez.com/')]"
  6324. );
  6325. }
  6326. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6327. {
  6328. addFileHost(
  6329. "filestore\\.com\\.ua\/\\?d=\\w+",
  6330. 'tdrow1>',
  6331. 'class=warn',
  6332. 'optional--',
  6333. 'optional2--',
  6334. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6335. );
  6336. }
  6337. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6338. {
  6339. addFileHost(
  6340. "openfile\\.ru\/(?:video\/|)\\d+",
  6341. 'videobox_left">',
  6342. 'blog_title">|not found on this server',
  6343. 'optional--',
  6344. 'optional2--',
  6345. "//a[contains(@href,'openfile.ru/')]"
  6346. );
  6347. }*/
  6348. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6349. {
  6350. addFileHost(
  6351. "extmatrix\\.com\/files\/\\w+",
  6352. 'div class="success"',
  6353. 'div class="error"',
  6354. 'optional--',
  6355. 'optional2--',
  6356. "//a[contains(@href,'extmatrix.com/files')]"
  6357. );
  6358. }
  6359. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6360. {
  6361. addFileHost(
  6362. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6363. 'content_lnkDownload',
  6364. 'error\\.aspx\\?',
  6365. 'optional--',
  6366. 'optional2--',
  6367. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6368. );
  6369. }
  6370. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6371. {
  6372. addFileHost(
  6373. "yourfilestore\\.com\/download\/\\d+\/",
  6374. 'download_data">',
  6375. 'may have been deleted|<h1>Sorry!<\/h1>',
  6376. 'optional--',
  6377. 'optional2--',
  6378. "//a[contains(@href,'yourfilestore.com/download')]"
  6379. );
  6380. }
  6381. if (GM_getValue("Check_filebig_dot_net_links", false))
  6382. {
  6383. addFileHost(
  6384. "filebig\\.net\/files\/\\w+",
  6385. 'downloadFile">',
  6386. '<p>File not found<\/p>',
  6387. 'optional--',
  6388. 'optional2--',
  6389. "//a[contains(@href,'filebig.net/files')]"
  6390. );
  6391. }
  6392. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6393. {
  6394. addFileHost(
  6395. "files\\.filefront\\.com\/\/;\\d+;;",
  6396. 'downloadLink">',
  6397. 'File not found, you',
  6398. 'optional--',
  6399. 'optional2--',
  6400. "//a[contains(@href,'files.filefront.com')]"
  6401. );
  6402.  
  6403. addFileHost(
  6404. "gamefront\\.com\/files\/\\d+",
  6405. 'downloadLink">',
  6406. 'File not found, you',
  6407. 'optional--',
  6408. 'optional2--',
  6409. "//a[contains(@href,'gamefront.com/files')]"
  6410. );
  6411. }
  6412. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6413. {
  6414. addFileHost(
  6415. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6416. 'dnlLnk"',
  6417. 'already been deleted',
  6418. 'optional--',
  6419. 'optional2--',
  6420. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6421. );
  6422. }
  6423. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6424. {
  6425. addFileHost(
  6426. "hellupload\\.com\/\\w+",
  6427. '<h3>Download File<br',
  6428. 'id="podstrona">|AVOID_IE_BUG',
  6429. 'optional--',
  6430. 'optional2--',
  6431. "//a[contains(@href,'hellupload.com/')]"
  6432. );
  6433. }
  6434. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6435. {
  6436. addFileHost(
  6437. "free\\-uploading\\.com\/\\w+",
  6438. 'op" value="download',
  6439. 'class="err">|width:500px;text-align:left;">',
  6440. 'optional--',
  6441. 'optional2--',
  6442. "//a[contains(@href,'free-uploading.com/')]"
  6443. );
  6444. }
  6445. if (GM_getValue("Check_fileape_dot_com_links", false))
  6446. {
  6447. addFileHost(
  6448. "fileape\\.com\/download\\-",
  6449. 'button_dl\\.png',
  6450. 'does not exist\\.',
  6451. 'optional--',
  6452. 'optional2--',
  6453. "//a[contains(@href,'fileape.com/')]"
  6454. );
  6455. }
  6456. if (GM_getValue("Check_uppit_dot_com_links", false))
  6457. {
  6458. addFileHost(
  6459. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6460. 'op" value="download',
  6461. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6462. 'optional--',
  6463. 'optional2--',
  6464. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6465. true
  6466. );
  6467. }
  6468. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6469. {
  6470. addFileHost(
  6471. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6472. 'op" value="download',
  6473. '>File Not Found<',
  6474. 'optional--',
  6475. 'optional2--',
  6476. "//a[contains(@href,'nosupload.com')]",
  6477. true
  6478. );
  6479. }
  6480. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6481. {
  6482. addFileHost(
  6483. "filesin\\.com\/\\w+\/download\\.html",
  6484. 'download_area">',
  6485. 'error_note">',
  6486. 'optional--',
  6487. 'optional2--',
  6488. "//a[contains(@href,'filesin.com/')]",
  6489. true
  6490. );
  6491. }*/
  6492. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6493. {
  6494. addFileHost(
  6495. "nowdownload\\.ch\/dl\/\\w+",
  6496. 'alert-success"',
  6497. 'This file does not exist!',
  6498. 'The file is being transfered',
  6499. 'optional2--',
  6500. "//a[contains(@href,'nowdownload.ch/dl')]"
  6501. );
  6502. }*/
  6503. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6504. {
  6505. addFileHost(
  6506. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6507. 'Dbutton_big"',
  6508. 'download\\-error\\.php',
  6509. 'optional--',
  6510. 'optional2--',
  6511. "//a[contains(@href,'axifile.com/')]"
  6512. );
  6513. }*/
  6514. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6515. {
  6516. addFileHost(
  6517. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6518. 'col-1">\\s*<s',
  6519. 'col-1">\\s*<h',
  6520. 'optional--',
  6521. 'optional2--',
  6522. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6523. );
  6524. }
  6525. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6526. {
  6527. addFileHost(
  6528. "turbobit\\.(?:net|pl)",
  6529. 'id="download-gate-info|id="file-list',
  6530. 'afterWait()|no files in this folder',
  6531. 'optional--',
  6532. 'optional2--',
  6533. "//a[contains(@href,'turbobit.net')]"
  6534. );
  6535. }
  6536. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6537. {
  6538. addFileHost(
  6539. "hitfile\\.net\/download\/folder\/\\d+",
  6540. 'content">\\s*<s',
  6541. 'content">\\s*<h',
  6542. 'optional--',
  6543. 'optional2--',
  6544. "//a[contains(@href,'hitfile.net/download/folder')]"
  6545. );
  6546. }
  6547. if (GM_getValue("Check_movshare_dot_net_links", false))
  6548. {
  6549. addFileHost(
  6550. "movshare\\.net\\/video\\/\\w+",
  6551. 'optional--"',
  6552. 'no longer exists',
  6553. 'optional--',
  6554. 'optional2--',
  6555. "//a[contains(@href,'movshare.net/video')]"
  6556. );
  6557. }
  6558. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6559. {
  6560. addFileHost(
  6561. "mafiastorage\\.com\/\\w+",
  6562. 'op" value="download',
  6563. 'class="err">|style="width:500px;text-align:left;"',
  6564. 'optional--',
  6565. 'optional2--',
  6566. "//a[contains(@href,'mafiastorage.com/')]"
  6567. );
  6568. }
  6569. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6570. {
  6571. addFileHost(
  6572. "uploadingit\\.com\/file\/\\w+",
  6573. 'downloadTitle">',
  6574. 'deleteContent">',
  6575. 'optional--',
  6576. 'optional2--',
  6577. "//a[contains(@href,'uploadingit.com/file')]"
  6578. );
  6579. }*/
  6580. if (GM_getValue("Check_rghost_dot_net_links", false))
  6581. {
  6582. addFileHost(
  6583. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6584. 'download_link|btn large download',
  6585. 'file is restricted|File is deleted|503 Service Unavailable',
  6586. 'optional--',
  6587. 'optional2--',
  6588. "//a[contains(@href,'rghost.')]"
  6589. );
  6590. }
  6591. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6592. {
  6593. addFileHost(
  6594. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6595. '">Staženo:\\s*<\/span>',
  6596. 'Soubor, který hledáte nenalezen',
  6597. 'optional--',
  6598. 'optional2--',
  6599. "//a[contains(@href,'xdisk.cz/')]"
  6600. );
  6601. }
  6602. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6603. {
  6604. addFileHost(
  6605. "2downloadz\.com\/\\w+",
  6606. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6607. 'color="#006DCC|File error',
  6608. 'optional--',
  6609. 'optional2--',
  6610. "//a[contains(@href,'2downloadz.com')]");
  6611. }
  6612. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6613. {
  6614. addFileHost(
  6615. "mightyupload\.com\/\\w+",
  6616. 'background:#ccc;text-align|CONTENT="Download File"',
  6617. 'style="background:#eee|var rr =|File Not Found',
  6618. 'error-code">1010',
  6619. 'optional2--',
  6620. "//a[contains(@href,'mightyupload.com')]");
  6621. }
  6622. if (GM_getValue("Check_anysend_dot_com_links", false))
  6623. {
  6624. addFileHost(
  6625. "anysend\.com\/\\w+",
  6626. 'var openCalled=false;|content="noindex"',
  6627. '_trackPageview',
  6628. 'optional--',
  6629. 'optional2--',
  6630. "//a[contains(@href,'anysend.com')]");
  6631. }
  6632. if (GM_getValue("Check_datafile_dot_com_links", false))
  6633. {
  6634. addFileHost(
  6635. "datafile\.com\/\\w+",
  6636. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6637. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6638. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6639. '; 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">
  6640. "//a[contains(@href,'datafile.com')]",
  6641. true);
  6642. }
  6643. if (GM_getValue("Check_upstore_dot_net_links", false))
  6644. {
  6645. addFileHost(
  6646. "upstore\.net\/\\w+",
  6647. 'name="free"',
  6648. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6649. 'optional--',
  6650. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6651. "//a[contains(@href,'upstore.net')]");
  6652. }
  6653. if (GM_getValue("Check_upsto_dot_re_links", false))
  6654. {
  6655. addFileHost(
  6656. "upsto\.re\/\\w+",
  6657. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6658. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6659. 'optional--',
  6660. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6661. "//a[contains(@href,'upsto.re')]");
  6662. }
  6663. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6664. {
  6665. addFileHost(
  6666. "speedy\.sh\/\\w+",
  6667. 'bgcolor=#eeeeee|class="addthis',
  6668. 'File not found|downloadfilenamenotfound>',
  6669. 'optional--',
  6670. 'optional2--',
  6671. "//a[contains(@href,'speedy.sh')]");
  6672. }
  6673. /* if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6674. {
  6675. addFileHost(
  6676. "kingfiles\.net\/\\w+",
  6677. 'method_free|images/loading_small.gif"',
  6678. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6679. 'optional--',
  6680. 'optional2--',
  6681. "//a[contains(@href,'kingfiles.net')]");
  6682. }*/
  6683. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6684. {
  6685. addFileHost(
  6686. "secureupload\\.eu\/\\w+",
  6687. 'Downloading',
  6688. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6689. 'optional--',
  6690. 'optional2--',
  6691. "//a[contains(@href,'secureupload.eu')]"
  6692. );
  6693. }
  6694. if (GM_getValue("Check_ge_dot_tt_links", false))
  6695. {
  6696. addFileHost(
  6697. "ge\.tt\/\\w+",
  6698. 'downloads pic',
  6699. 'is NOT the same as',
  6700. 'optional--',
  6701. 'optional2--',
  6702. "//a[contains(@href,'ge.tt')]");
  6703. }
  6704. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6705. {
  6706. addFileHost(
  6707. "filefactory\\.com\/file\/\\w+",
  6708. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6709. '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">',
  6710. 'Server Maintenance|temporarily overloaded',
  6711. 'Premium Account Required',
  6712. "//a[contains(@href,'filefactory.com/file')]");
  6713. } */
  6714. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6715. {
  6716. addFileHost(
  6717. "filesflash\.net\/\\w+",
  6718. 'align:right">Filename:',
  6719. 'class="msg">',
  6720. 'optional--',
  6721. 'optional2--',
  6722. "//a[contains(@href,'filesflash.net')]");
  6723. }
  6724. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6725. {
  6726. addFileHost(
  6727. "rapidgator\\.net\/folder\/\\w+",
  6728. 'href="/folder/',
  6729. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6730. 'optional--',
  6731. 'optional2--',
  6732. "//a[contains(@href,'rapidgator.net/folder')]",
  6733. true
  6734. );
  6735. }
  6736. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6737. {
  6738. addFileHost(
  6739. "salefiles\.com\/\\w+",
  6740. 'name="method_free',
  6741. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6742. 'optional--',
  6743. 'optional2--',
  6744. "//a[contains(@href,'salefiles.com')]");
  6745. }
  6746. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6747. {
  6748. addFileHost(
  6749. "datoid\.cz\/\\w+",
  6750. 'btn-download|class="icon-download-large"',
  6751. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6752. 'optional--',
  6753. 'optional2--',
  6754. "//a[contains(@href,'datoid.cz')]");
  6755. }
  6756. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6757. {
  6758. addFileHost(
  6759. "stiahni\.si\/\\w+",
  6760. 'report_icon.png"|slow-download-button',
  6761. 'none.png|deleted|<h2>Error 500</h2>',
  6762. 'optional--',
  6763. 'optional2--',
  6764. "//a[contains(@href,'stiahni.si')]");
  6765. }
  6766. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6767. {
  6768. addFileHost(
  6769. "cloudstor\.es\/\\w+",
  6770. '"btn_download"',
  6771. '404: Page Not Found',
  6772. 'optional--',
  6773. 'optional2--',
  6774. "//a[contains(@href,'cloudstor.es')]");
  6775. }
  6776. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6777. {
  6778. addFileHost(
  6779. "streamfile\.com\/\\w+",
  6780. 'class="btn',
  6781. 'class="green-btn',
  6782. 'optional--',
  6783. 'optional2--',
  6784. "//a[contains(@href,'streamfile.com')]");
  6785. }
  6786. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6787. {
  6788. addFileHost(
  6789. "eyesfile\.ca\/\\w+",
  6790. 'value="Get Link',
  6791. 'var rr =',
  6792. 'optional--',
  6793. 'optional2--',
  6794. "//a[contains(@href,'eyesfile.ca')]");
  6795. }
  6796. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6797. {
  6798. addFileHost(
  6799. "filemoney\.com\/\\w+",
  6800. 'og:title',
  6801. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6802. 'error-code">1010',
  6803. 'optional2--',
  6804. "//a[contains(@href,'filemoney.com')]");
  6805. }
  6806. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6807. {
  6808. addFileHost(
  6809. "uploadboy\.com\/\\w+",
  6810. 'width="740">|method_free',
  6811. 'var rr =|background:#ffffff|not be found|file was removed',
  6812. 'optional--',
  6813. 'optional2--',
  6814. "//a[contains(@href,'uploadboy.com')]");
  6815. }
  6816. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6817. {
  6818. addFileHost(
  6819. "uploadboy\.com\/\\w+",
  6820. 'width="740">|method_free',
  6821. 'var rr =|background:#ffffff|not be found|file was removed',
  6822. 'optional--',
  6823. 'optional2--',
  6824. "//a[contains(@href,'uploadboy.me')]");
  6825. }
  6826. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6827. {
  6828. addFileHost(
  6829. "speedshare\.eu\/\\w+",
  6830. 'favicon.png|color:#3d87c0|cross.png"',
  6831. 'var rr =|File Not Found|style="background:#eee',
  6832. 'optional--',
  6833. 'optional2--',
  6834. "//a[contains(@href,'speedshare.eu')]");
  6835. }
  6836. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6837. {
  6838. addFileHost(
  6839. "unlimitzone\.com\/\\w+",
  6840. 'name="method_free',
  6841. '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',
  6842. 'optional--',
  6843. 'optional2--',
  6844. "//a[contains(@href,'unlimitzone.com')]");
  6845. }
  6846. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6847. {
  6848. addFileHost(
  6849. "rioupload\.com\/\\w+",
  6850. 'sell.jpg',
  6851. 'var rr =',
  6852. 'optional--',
  6853. 'optional2--',
  6854. "//a[contains(@href,'rioupload.com')]");
  6855. }
  6856. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6857. {
  6858. addFileHost(
  6859. "jumbofiles\.org\/\\w+",
  6860. 'H71C5.png|class="downloadtitle">',
  6861. 'var swfu|ViewSourceBIN.png',
  6862. 'optional--',
  6863. 'optional2--',
  6864. "//a[contains(@href,'jumbofiles.org')]");
  6865. }
  6866. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6867. {
  6868. addFileHost(
  6869. "fshare\\.vn\/file\/\\w+",
  6870. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6871. 'không tồn tại|class="color_red m_t_50"',
  6872. 'optional--',
  6873. 'optional2--',
  6874. "//a[contains(@href,'fshare.vn/file')]",
  6875. true
  6876. );
  6877. }
  6878. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6879. {
  6880. addFileHost(
  6881. "spaceforfiles\.com\/\\w+",
  6882. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6883. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6884. 'optional--',
  6885. 'optional2--',
  6886. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6887. }
  6888. if (GM_getValue("Check_google_dot_com_links", false))
  6889. {
  6890. addFileHost(
  6891. "google\\.com\/file\/\\w+",
  6892. 'content="!">|color:#2d2d2d',
  6893. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6894. 'optional--',
  6895. 'optional2--',
  6896. "//a[contains(@href,'google.com/file')]",
  6897. true
  6898. );
  6899. }
  6900. if (GM_getValue("Check_google_dot_com_links", false))
  6901. {
  6902. addFileHost(
  6903. "docs.google.com\/\\w+",
  6904. 'content="!">|color:#2d2d2d',
  6905. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6906. 'optional--',
  6907. 'optional2--',
  6908. "//a[contains(@href,'docs.google.com')]",
  6909. true
  6910. );
  6911. }
  6912. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6913. {
  6914. addFileHost(
  6915. "drive.google.com\/\\w+",
  6916. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6917. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6918. 'optional--',
  6919. 'optional2--',
  6920. "//a[contains(@href,'drive.google.com')]",
  6921. true
  6922. );
  6923. }
  6924. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6925. {
  6926. addFileHost(
  6927. "up.media1fire\.com\/\\w+",
  6928. 'class="addthis_|value="download',
  6929. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6930. 'optional--',
  6931. 'optional2--',
  6932. "//a[contains(@href,'up.media1fire.com')]");
  6933. }
  6934. if (GM_getValue("Check_depfile_dot_com_links", false))
  6935. {
  6936. addFileHost(
  6937. "depfile\.com\/\\w+",
  6938. 'logo_0.png|downloads.gif"|verifycode',
  6939. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6940. 'optional--',
  6941. 'available only for Premium users',
  6942. "//a[contains(@href,'depfile.com')]");
  6943. }
  6944. if (GM_getValue("Check_go4up_dot_com_links", false))
  6945. {
  6946. addFileHost(
  6947. "go4up\.com\/\\w+",
  6948. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6949. '<title>GO4UP|dmca',
  6950. 'optional--',
  6951. 'optional2--',
  6952. "//a[contains(@href,'go4up.com')]");
  6953. }
  6954. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6955. {
  6956. addFileHost(
  6957. "redbunker\.net\/\\w+",
  6958. 'name="method_free"',
  6959. 'color="red">Unknow / Bilinmiyor<',
  6960. 'optional--',
  6961. '2.3 GB',
  6962. "//a[contains(@href,'redbunker.net')]");
  6963. }
  6964. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6965. {
  6966. addFileHost(
  6967. "divxpress\.com\/\\w+",
  6968. 'btn_download|logo.png"',
  6969. 'AVOID_IE_BUG|var rr =',
  6970. 'optional--',
  6971. 'optional2--',
  6972. "//a[contains(@href,'divxpress.com')]");
  6973. }
  6974. if (GM_getValue("Check_anafile_dot_com_links", false))
  6975. {
  6976. addFileHost(
  6977. "anafile\.com\/\\w+",
  6978. 'width="881" valign="top|color="#800080"|name="go"',
  6979. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6980. 'optional--',
  6981. 'optional2--',
  6982. "//a[contains(@href,'anafile.com')]");
  6983. }
  6984. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6985. {
  6986. addFileHost(
  6987. "uploadable\\.ch\/file\/\\w+",
  6988. 'captcha.js"|payment.js"|class="btn_download"',
  6989. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6990. 'optional--',
  6991. 'optional2--',
  6992. "//a[contains(@href,'uploadable.ch/file')]",
  6993. true
  6994. );
  6995. }
  6996. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6997. {
  6998. addFileHost(
  6999. "bigfile\\.to\/file\/\\w+",
  7000. 'captcha.js"|payment.js"|class="btn_download"',
  7001. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7002. 'optional--',
  7003. 'optional2--',
  7004. "//a[contains(@href,'bigfile.to/file')]",
  7005. true
  7006. );
  7007. }
  7008. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7009. {
  7010. addFileHost(
  7011. "arabloads\.net\/\\w+",
  7012. 'name="method_free"|name="method_premium"',
  7013. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7014. 'optional--',
  7015. 'optional2--',
  7016. "//a[contains(@href,'arabloads.net')]");
  7017. }
  7018. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7019. {
  7020. addFileHost(
  7021. "sharerepo\.com\/\\w+",
  7022. 'name="method_free"',
  7023. 'var public_on=|The file you were looking for could not be found',
  7024. 'optional--',
  7025. 'optional2--',
  7026. "//a[contains(@href,'sharerepo.com')]");
  7027. }
  7028. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7029. {
  7030. addFileHost(
  7031. "sfshare\.se\/\\w+",
  7032. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7033. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7034. 'optional--',
  7035. 'optional2--',
  7036. "//a[contains(@href,'sfshare.se')]");
  7037. }
  7038. if (GM_getValue("Check_files_dot_fm_links", false))
  7039. {
  7040. addFileHost(
  7041. "files\.fm\/\\w+",
  7042. 'dl.png"|background-color: transparent',
  7043. 'margin: 40px 40px|background: none;',
  7044. 'optional--',
  7045. 'optional2--',
  7046. "//a[contains(@href,'files.fm')]");
  7047. }
  7048. if (GM_getValue("Check_koofile_dot_com_links", false))
  7049. {
  7050. addFileHost(
  7051. "koofile\.com\/\\w+",
  7052. 'value="download1">|name="method_free"',
  7053. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7054. 'optional--',
  7055. 'optional2--',
  7056. "//a[contains(@href,'koofile.com')]");
  7057. }
  7058. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7059. {
  7060. addFileHost(
  7061. "vidxden\\.com\/\\w+",
  7062. 'Continue to Video"',
  7063. 'No such file',
  7064. 'optional--',
  7065. 'optional2--',
  7066. "//a[contains(@href,'vidxden.com')]"
  7067. );
  7068. }*/
  7069. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7070. {
  7071. addFileHost(
  7072. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7073. 'Details zur Datei|Details page',
  7074. 'Jetzt hochladen|upload now',
  7075. 'optional--',
  7076. 'optional2--',
  7077. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7078. );
  7079. }
  7080. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7081. {
  7082. addFileHost(
  7083. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7084. 'downloadbtn"',
  7085. 'DL_FileNotFound',
  7086. 'optional--',
  7087. 'optional2--',
  7088. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7089. );
  7090. }
  7091. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7092. {
  7093. addFileHost(
  7094. "fileflyer\.com\/view\/\\w+",
  7095. '(?:dwl|locked)btn"',
  7096. 'error.gif"|link">Removed|removedlink">',
  7097. 'optional--',
  7098. 'optional2--',
  7099. "//a[contains(@href,'fileflyer.com')]"
  7100. );
  7101. }
  7102. if (GM_getValue("Check_filestore_dot_to_links", false))
  7103. {
  7104. addFileHost(
  7105. "filestore\.to\/\\?d=\\w+",
  7106. '"downloading"',
  7107. 'Datei wurde nicht gefunden',
  7108. 'optional--',
  7109. 'optional2--',
  7110. "//a[contains(@href,'filestore.to')]"
  7111. );
  7112. }
  7113. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7114. {
  7115. addFileHost(
  7116. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7117. 'fz24">Download|class="pl15">',
  7118. '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',
  7119. 'optional--',
  7120. 'optional2--',
  7121. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7122. );
  7123. }
  7124. if (GM_getValue("Check_datei_dot_to_links", false))
  7125. {
  7126. addFileHost(
  7127. "datei\\.to\/\\??\\w+",
  7128. 'icon_downloaden\\.png|>Download starten<',
  7129. 'Datei wurde nicht gefunden|icon_deleted.png',
  7130. 'optional--',
  7131. 'optional2--',
  7132. "//a[contains(@href,'datei.to')]"
  7133. );
  7134. }
  7135. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7136. {
  7137. addFileHost(
  7138. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7139. '<body class="body" id="body">|value="Slow Download"',
  7140. '<body class="body" >',
  7141. 'optional--',
  7142. 'optional2--',
  7143. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7144. );
  7145. }
  7146. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7147. {
  7148. addFileHost(
  7149. "unibytes\\.com\/[\\w\.]+",
  7150. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7151. 'File not found|Файл не найден|',
  7152. 'optional--',
  7153. 'optional2--',
  7154. "//a[contains(@href,'unibytes.com')]"
  7155. );
  7156. }
  7157. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7158. {
  7159. addFileHost(
  7160. "www\\.hellshare\\.com\/\\d+",
  7161. 'tab\\-details"',
  7162. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7163. 'optional--',
  7164. 'optional2--',
  7165. "//a[contains(@href,'www.hellshare.com')]"
  7166. );
  7167. }
  7168. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7169. {
  7170. addFileHost(
  7171. "www\\.download.cz.hellshare\\.com\/\\w+",
  7172. 'tab\\-details"',
  7173. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7174. 'optional--',
  7175. 'optional2--',
  7176. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7177. );
  7178. }
  7179. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7180. {
  7181. addFileHost(
  7182. "filefactory\\.com",
  7183. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7184. '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',
  7185. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7186. 'Premium Account Required',
  7187. "//a[contains(@href,'filefactory.com')]"
  7188. );
  7189. }
  7190. if (GM_getValue("Check_load_dot_to_links", false))
  7191. {
  7192. addFileHost(
  7193. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7194. '"download_table_left">Size',
  7195. 'Can\'t find file',
  7196. 'optional--',
  7197. 'optional2--',
  7198. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7199. );
  7200. }
  7201. if (GM_getValue("Check_divshare_dot_com_links", false))
  7202. {
  7203. addFileHost(
  7204. "divshare\\.com\/download\/",
  7205. 'download_new\.png',
  7206. 'have been removed',
  7207. 'optional--',
  7208. 'optional2--',
  7209. "//a[contains(@href,'divshare.com')]"
  7210. );
  7211. }
  7212. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7213. {
  7214. addFileHost(
  7215. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7216. 'download=true"',
  7217. '<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>',
  7218. 'optional--',
  7219. 'optional2--',
  7220. "//a[contains(@href,'euroshare.eu/file')]"
  7221. );
  7222. }
  7223. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7224. {
  7225. addFileHost(
  7226. 'files\\.mail\\.ru/(?:\\w*)',
  7227. 'fileList',
  7228. 'errorMessage',
  7229. 'optional--',
  7230. 'optional2--',
  7231. "//a[contains(@href,'files.mail.ru')]"
  7232. );
  7233. }
  7234. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7235. {
  7236. addFileHost(
  7237. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7238. 'Filesize',
  7239. 'Invalid|deleted|Could not download file',
  7240. 'slots|scheduled maintenance',
  7241. 'optional2--',
  7242. "//a[contains(@href,'megashares.com/')]"
  7243. );
  7244. } */
  7245. if (GM_getValue("Check_narod_dot_ru_links", false))
  7246. {
  7247. addFileHost(
  7248. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7249. 'b-submit|action="resource.download"',
  7250. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7251. 'Внутренняя ошибка сервиса',
  7252. 'optional2--',
  7253. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7254. );
  7255. }
  7256. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7257. {
  7258. addFileHost(
  7259. "rayfile\\.com\/",
  7260. 'FILEtitleTXT',
  7261. 'blueRow',
  7262. 'optional--',
  7263. 'optional2--',
  7264. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7265. );
  7266. }
  7267. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7268. {
  7269. addFileHost(
  7270. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7271. 'button_green_body"',
  7272. 'error">',
  7273. 'optional--',
  7274. 'optional2--',
  7275. "//a[contains(@href,'filesmonster.com/download')]"
  7276. );
  7277. }
  7278. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7279. {
  7280. addFileHost(
  7281. 'usaupload\\.net\/d\/(?:\w*)',
  7282. '<strong>File size:</strong>',
  7283. 'is not available',
  7284. 'optional--',
  7285. 'optional2--',
  7286. "//a[contains(@href,'usaupload.net/d/')]"
  7287. );
  7288. }
  7289. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7290. {
  7291. addFileHost(
  7292. 'sendspace\\.com\/file\/\\w+',
  7293. 'file_description',
  7294. 'msg error"',
  7295. 'optional--',
  7296. 'optional2--',
  7297. "//a[contains(@href,'sendspace.com/file')]"
  7298. );
  7299. }
  7300. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7301. {
  7302. addFileHost(
  7303. 'sendspace\\.pl\/file\/\\w+',
  7304. 'download_file"',
  7305. 'Podany plik nie',
  7306. 'optional--',
  7307. 'optional2--',
  7308. "//a[contains(@href,'sendspace.pl/file')]"
  7309. );
  7310. }
  7311. if (GM_getValue("Check_uploading_dot_com_links", false))
  7312. {
  7313. addFileHost(
  7314. 'uploading\\.com\/(?:files\/)?\\w+',
  7315. 'free_method">',
  7316. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7317. 'optional--',
  7318. 'optional2--',
  7319. "//a[contains(@href,'uploading.com')]"
  7320. );
  7321. }
  7322. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7323. {
  7324. addFileHost(
  7325. "gigasize\.com\/\\w+",
  7326. 'fileId"|class="estimate">',
  7327. 'error">',
  7328. 'optional--',
  7329. 'optional2--',
  7330. "//a[contains(@href,'gigasize.com/get')]"
  7331. );
  7332. }
  7333. if (GM_getValue("Check_good_dot_com_links", false))
  7334. {
  7335. addFileHost(
  7336. 'good\\.net\/(?:_|dl)',
  7337. 'Free Download',
  7338. 'Not Found',
  7339. 'Forbidden',
  7340. 'optional2--',
  7341. "//a[contains(@href,'good.net')]"
  7342. );
  7343. }
  7344. if (GM_getValue("Check_2shared_dot_com_links", false))
  7345. {
  7346. addFileHost(
  7347. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7348. 'File size',
  7349. 'File not found|is not valid|/images/important.gif',
  7350. 'optional--',
  7351. 'optional2--',
  7352. // "//a[contains(@href,'2shared.com')]"
  7353. "//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/')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. 'turboupload\\.com\/\\w*',
  7360. 'You have requested',
  7361. 'File Not Found',
  7362. 'optional--',
  7363. 'optional2--',
  7364. "//a[contains(@href,'turboupload.com')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. 'gigapeta\\.com\/dl\/',
  7371. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7372. '404|page_error',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'gigapeta.com/dl')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_veehd_dot_com_links", false))
  7379. {
  7380. addFileHost(
  7381. 'veehd\.com\/video\/.*?',
  7382. 'No sound|Download video',
  7383. 'Featured Videos',
  7384. 'optional--',
  7385. 'optional2--',
  7386. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7390. {
  7391. addFileHost(
  7392. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7393. 'fast_download_form">|submit_sms_download',
  7394. '<p style="text-align:center">',
  7395. 'optional--',
  7396. 'optional2--',
  7397. "//a[contains(@href,'vip-file.com/download')]"
  7398. );
  7399. }
  7400. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7401. {
  7402. addFileHost(
  7403. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7404. 'download\\-pnl ',
  7405. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'letitbit.net/download')]"
  7409. );
  7410. }*/
  7411. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7412. {
  7413. addFileHost(
  7414. 'ifolder\.ru\/\\d+',
  7415. 'file-info',
  7416. 'ui-state-error',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'ifolder.ru')]"
  7420. );
  7421. }
  7422. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7423. {
  7424. addFileHost(
  7425. 'fileswap\\.com\/dl\/\\w+',
  7426. 'bttnDownloadLink"',
  7427. 'rounded_block_error"',
  7428. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7429. 'optional2--',
  7430. "//a[contains(@href,'fileswap.com/dl')]"
  7431. );
  7432. }*/
  7433. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7434. {
  7435. addFileHost(
  7436. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7437. 'var __error = 0|id="recaptchaPanel">',
  7438. 'FILES__DOESNT_EXIST|removed or did not exist',
  7439. 'optional--',
  7440. 'optional2--',
  7441. "//a[contains(@href,'filecloud.io/')]"
  7442. );
  7443. addFileHost(
  7444. 'ifile\\.it\/\\w+',
  7445. 'var __error = 0',
  7446. 'FILES__DOESNT_EXIST',
  7447. 'optional--',
  7448. 'optional2--',
  7449. "//a[contains(@href,'ifile.it/')]"
  7450. );
  7451. }
  7452. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7453. {
  7454. addFileHost(
  7455. 'solidfiles\\.com\/\\w+',
  7456. 'id="download"|content="Download',
  7457. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7458. 'optional--',
  7459. 'optional2--',
  7460. "//a[contains(@href,'solidfiles.com/')]"
  7461. );
  7462. }
  7463. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7464. {
  7465. addFileHost(
  7466. "(?:.\\.|)shareflare\\.net",
  7467. 'download-pnl|<div class="premium-block">',
  7468. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7469. 'optional--',
  7470. 'optional2--',
  7471. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7472. );
  7473. }
  7474. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7475. {
  7476. addFileHost(
  7477. "u18116681.shareflare\\.net",
  7478. 'download-pnl|<div class="premium-block">',
  7479. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7480. 'optional--',
  7481. 'optional2--',
  7482. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7483. );
  7484. }
  7485. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7486. {
  7487. addFileHost(
  7488. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7489. 'file\\-list-orderby|section-filedetail">',
  7490. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7491. 'optional--',
  7492. 'optional2--',
  7493. "//a[contains(@href,'hellspy.')]"
  7494. );
  7495. }
  7496. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7497. {
  7498. addFileHost(
  7499. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7500. '<body onload="">',
  7501. 'neexistuje|not exist',
  7502. 'optional--',
  7503. 'optional2--',
  7504. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7505. );
  7506. }
  7507. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7508. {
  7509. addFileHost(
  7510. "stahovanizasms\\.cz\/\\w+",
  7511. 'download\\.png>|font-size:11px><tr>',
  7512. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7513. 'optional--',
  7514. 'optional2--',
  7515. "//a[contains(@href,'stahovanizasms.cz')]"
  7516. );
  7517. }
  7518. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7519. {
  7520. addFileHost(
  7521. "share-links\\.biz\/\\w*",
  7522. 'online\\.gif',
  7523. '(?:offline|parts)\\.gif',
  7524. 'optional--',
  7525. 'optional2--',
  7526. "//a[contains(@href,'share-links.biz')]"
  7527. );
  7528. }
  7529. if (GM_getValue("Check_4shared_dot_com_links", false))
  7530. {
  7531. addFileHost(
  7532. "4shared\\.com\/.+\/",
  7533. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7534. 'class="warn\"|big red"|GetDataBack',
  7535. 'Service Unavailable',
  7536. 'optional2--',
  7537. "//a[contains(@href,'4shared.com')]"
  7538. );
  7539. }
  7540. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7541. {
  7542. addFileHost(
  7543. "(?:www\\d+\.|)zippyshare\.com\/",
  7544. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7545. 'not exist|Status 404',
  7546. 'optional--',
  7547. 'optional2--',
  7548. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7549. );
  7550. }
  7551. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7552. {
  7553. addFileHost(
  7554. "mediafire\.com\/",
  7555. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7556. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7557. 'set to private',
  7558. 'optional2--',
  7559. "//a[contains(@href,'mediafire.com')]"
  7560. );
  7561. }
  7562. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7563. {
  7564. addFileHost(
  7565. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7566. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7567. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7568. 'optional--',
  7569. 'GB</small>',
  7570. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7571. );
  7572. }
  7573. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7574. {
  7575. addFileHost(
  7576. "ulozisko\.sk\/",
  7577. 'Detaily',
  7578. 'neexistuje',
  7579. 'optional--',
  7580. 'optional2--',
  7581. "//a[contains(@href,'ulozisko.sk')]"
  7582. );
  7583. }
  7584. if (GM_getValue("Check_box_dot_com_links", false))
  7585. {
  7586. addFileHost(
  7587. "box\.com\/\\w+",
  7588. 'download-file-btn|id="download_button|preview-download',
  7589. 'BIyMin.png| <div class="error_message|link has been removed',
  7590. 'optional--',
  7591. 'optional2--',
  7592. "//a[contains(@href,'app.box.com')]");
  7593. }
  7594. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7595. {
  7596. addFileHost(
  7597. "uptobox\\.com\/\\w+",
  7598. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7599. '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|لا يوجد أي ملف',
  7600. 'Maintenance',
  7601. 'optional2--',
  7602. "//a[contains(@href,'uptobox.com')]",
  7603. true
  7604. );
  7605. }
  7606. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7607. {
  7608. addFileHost(
  7609. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7610. 'FILE DOWNLOAD<',
  7611. 'File Does Not Exist',
  7612. 'optional--',
  7613. 'optional2--',
  7614. "//a[contains(@href,'sharecash.org/download.php')]"
  7615. );
  7616. }
  7617. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7618. {
  7619. addFileHost(
  7620. "1fichier\\.com\/dir\/\\w+",
  7621. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7622. 'Shared Folder Not Found',
  7623. 'optional--',
  7624. 'optional2--',
  7625. "//a[contains(@href,'1fichier.com/dir')]"
  7626. );
  7627. }
  7628. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7629. {
  7630. addFileHost(
  7631. "depositfiles\\.com\/folders\/\\w+",
  7632. '<div class="progressContainer">',
  7633. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7634. 'optional--',
  7635. 'optional2--',
  7636. "//a[contains(@href,'depositfiles.com/folders')]"
  7637. );
  7638. }
  7639. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7640. {
  7641. addFileHost(
  7642. "rapidfileshare\\.net/\\w+",
  7643. '<div id="upload-header-bg">',
  7644. '<div style="width:500px;text-align:left;">',
  7645. 'optional--',
  7646. 'optional2--',
  7647. "//a[contains(@href,'rapidfileshare.net/')]"
  7648. );
  7649. }
  7650. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7651. {
  7652. addFileHost(
  7653. "stiahnito\\.sk/",
  7654. '<span class="filesize right">',
  7655. '<ol class="list-purp-2">',
  7656. 'optional--',
  7657. 'optional2--',
  7658. "//a[contains(@href,'stiahnito.sk/')]"
  7659. );
  7660. }
  7661. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7662. {
  7663. addFileHost(
  7664. "rusfolder\\.(?:com|net)",
  7665. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7666. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7667. 'optional--',
  7668. 'optional2--',
  7669. "//a[contains(@href,'rusfolder')]"
  7670. );
  7671. }
  7672. if (GM_getValue("Check_catshare_dot_net_links", false))
  7673. {
  7674. addFileHost(
  7675. "catshare\\.net/\\w+",
  7676. '"icon-share',
  7677. 'alert alert-error',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'catshare.net/')]"
  7681. );
  7682. }
  7683. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7684. {
  7685. addFileHost(
  7686. "anonfiles\\.com/\\w+",
  7687. '"download_button"',
  7688. '<legend><b>404</b>',
  7689. 'optional--',
  7690. 'optional2--',
  7691. "//a[contains(@href,'anonfiles.com')]"
  7692. );
  7693. }*/
  7694. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7695. {
  7696. addFileHost(
  7697. "mixturecloud\\.com/media/\\w+",
  7698. '"btn icon i_globe gray share_150',
  7699. '"s_cross_close"></span> 404:',
  7700. 'optional--',
  7701. 'optional2--',
  7702. "//a[contains(@href,'mixturecloud.com/media/')]"
  7703. );
  7704. }
  7705. if (GM_getValue("Check_akafile_dot_com_links", false))
  7706. {
  7707. addFileHost(
  7708. "akafile\\.com\/\\w+",
  7709. 'download1',
  7710. 'File Not Found',
  7711. 'optional--',
  7712. 'optional2--',
  7713. "//a[contains(@href,'akafile.com/')]"
  7714. );
  7715. }
  7716. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7717. {
  7718. addFileHost(
  7719. "creafile\\.net\/\\w+",
  7720. 'downloadblock',
  7721. 'errtitle',
  7722. 'optional--',
  7723. 'optional2--',
  7724. "//a[contains(@href,'creafile.net/')]"
  7725. );
  7726. }*/
  7727. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7728. {
  7729. addFileHost(
  7730. "hugefiles\\.net\/\\w+",
  7731. 'download1|class="btn-create-download" value="Create Download Link">',
  7732. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7733. 'optional--',
  7734. 'optional2--',
  7735. "//a[contains(@href,'hugefiles.net/')]"
  7736. );
  7737. }*/
  7738. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7739. {
  7740. addFileHost(
  7741. "sendmyway\\.com\/\\w+",
  7742. 'id="btn_download"',
  7743. '500px;text-align:left;"|<center><h3>',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'sendmyway.com/')]"
  7747. );
  7748. }
  7749. if (GM_getValue("Check_upload_dot_ee_links", false))
  7750. {
  7751. addFileHost(
  7752. "upload\\.ee\/\\w+",
  7753. 'onmouseout="document.dllink.src',
  7754. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'upload.ee/')]"
  7758. );
  7759. }
  7760. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7761. {
  7762. addFileHost(
  7763. "shareplace\\.org\/\\?\\w+",
  7764. 'Download-Link',
  7765. 'Your requested file is not found|Select file to send',
  7766. 'optional--',
  7767. 'optional2--',
  7768. "//a[contains(@href,'shareplace.org/?')]"
  7769. );
  7770. }
  7771. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7772. {
  7773. addFileHost(
  7774. "uploadc\\.com\/\\w+",
  7775. 'id="prebut"',
  7776. 'File Not Found|This file has been removed due',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'uploadc.com/')]"
  7780. );
  7781. }
  7782. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7783. {
  7784. addFileHost(
  7785. "uploadc\\.ch\/\\w+",
  7786. 'id="prebut"',
  7787. 'File Not Found|This file has been removed due',
  7788. 'optional--',
  7789. 'optional2--',
  7790. "//a[contains(@href,'uploadc.ch/')]"
  7791. );
  7792. }
  7793. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7794. {
  7795. addFileHost(
  7796. "remixshare\\.com\/\\w+",
  7797. 'id="dl2"',
  7798. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7799. 'optional--',
  7800. 'optional2--',
  7801. "//a[contains(@href,'remixshare.com/')]"
  7802. );
  7803. }*/
  7804. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7805. {
  7806. addFileHost(
  7807. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7808. 'Last Download :',
  7809. 'img src="\\/404.jpg"',
  7810. 'optional--',
  7811. 'optional2--',
  7812. "//a[contains(@href,'exoshare.com/download.php')]"
  7813. );
  7814. }
  7815. if (GM_getValue("Check_borncash_dot_org_links", false))
  7816. {
  7817. addFileHost(
  7818. "borncash\\.org\/download\/\\?a=\\w+",
  7819. 'class="knop_1"',
  7820. '\/error\/er00',
  7821. 'optional--',
  7822. 'optional2--',
  7823. "//a[contains(@href,'borncash.org/download/')]"
  7824. );
  7825. }
  7826. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7827. {
  7828. addFileHost(
  7829. "vidplay\.net\/\\w+",
  7830. 'solvemedia puzzle widget',
  7831. 'File not found|AVOID_IE_BUG',
  7832. 'optional--',
  7833. 'optional2--',
  7834. "//a[contains(@href,'vidplay.net')]");
  7835. }*/
  7836. if (GM_getValue("Check_filedais_dot_com_links", false))
  7837. {
  7838. addFileHost(
  7839. "filedais\.com\/\\w+",
  7840. 'class="btn btn-info"|name="method_free"',
  7841. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7842. 'optional--',
  7843. 'optional2--',
  7844. "//a[contains(@href,'filedais.com')]");
  7845. }
  7846. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7847. {
  7848. addFileHost(
  7849. "up.4share\.vn\/\\w+",
  7850. '<font size="2" face="Verdana">',
  7851. 'font: 13px Tahoma; color: Brown',
  7852. 'optional--',
  7853. 'optional2--',
  7854. "//a[contains(@href,'up.4share.vn')]");
  7855. }
  7856. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7857. {
  7858. addFileHost(
  7859. "share.vnn\.vn\/\\w+",
  7860. '"index,follow"|<div class="main" id="download-box">',
  7861. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7862. 'optional--',
  7863. 'optional2--',
  7864. "//a[contains(@href,'share.vnn.vn')]");
  7865. }
  7866. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7867. {
  7868. addFileHost(
  7869. "upfile\.vn\/\\w+",
  7870. 'download-timer',
  7871. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7872. 'optional--',
  7873. 'optional2--',
  7874. "//a[contains(@href,'upfile.vn')]");
  7875. }
  7876. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7877. {
  7878. addFileHost(
  7879. "aisfile\.com\/\\w+",
  7880. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7881. '<div style="width:500px;text-align:left;">|File Not Found',
  7882. 'optional--',
  7883. 'optional2--',
  7884. "//a[contains(@href,'aisfile.com')]");
  7885. }
  7886. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7887. {
  7888. addFileHost(
  7889. "usersfiles\.com\/\\w+",
  7890. 'class="btn btn-success|id="btn_download" class="btn"',
  7891. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7892. 'optional--',
  7893. 'optional2--',
  7894. "//a[contains(@href,'usersfiles.com')]");
  7895. }
  7896. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7897. {
  7898. addFileHost(
  7899. "pan.baidu\.com\/\\w+",
  7900. 'target="_blank" title=|share-personal-info',
  7901. 'share_notfound.png|background:#f9f9f9',
  7902. 'optional--',
  7903. 'optional2--',
  7904. "//a[contains(@href,'pan.baidu.com')]");
  7905. }
  7906. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7907. {
  7908. addFileHost(
  7909. "yunpan\.cn\/\\w+",
  7910. 'class="icon icon-download',
  7911. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7912. 'optional--',
  7913. 'optional2--',
  7914. "//a[contains(@href,'yunpan.cn')]");
  7915. }
  7916. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7917. {
  7918. addFileHost(
  7919. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7920. 'getElementById("downbild")|style.display',
  7921. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7922. 'optional--',
  7923. 'optional2--',
  7924. "//a[contains(@href,'file-upload.net')]");
  7925. }
  7926. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7927. {
  7928. addFileHost(
  7929. "gulfup\.com\/",
  7930. '<!-- Downlod template -->|download.gif',
  7931. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7932. 'optional--',
  7933. 'optional2--',
  7934. "//a[contains(@href,'gulfup.com')]");
  7935. }*/
  7936. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7937. {
  7938. addFileHost(
  7939. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7940. 'dldtable">',
  7941. 'does not exist\\.',
  7942. 'optional--',
  7943. 'optional2--',
  7944. "//a[contains(@href,'datafilehost.com')]");
  7945. }
  7946. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7947. {
  7948. addFileHost(
  7949. "dropbox\.com\/s\/\\w+",
  7950. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7951. '>Nothing Here<|>Error (404)<',
  7952. 'title>Dropbox - 509|Error (403)|Error: 429',
  7953. 'optional2--',
  7954. "//a[contains(@href,'dropbox.com')]");
  7955. }
  7956. if (GM_getValue("Check_box_dot_net_links", false))
  7957. {
  7958. addFileHost(
  7959. "box\.net\/\\w+",
  7960. 'download-file-btn|id="download_button',
  7961. 'BIyMin.png| <div class="error_message',
  7962. 'optional--',
  7963. 'optional2--',
  7964. "//a[contains(@href,'box.net')]");
  7965. }
  7966. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7967. {
  7968. addFileHost(
  7969. "filedropper\.com\/\\w+",
  7970. 'background:#ddd;|width:985px; ',
  7971. 'background-color:#FFFFFF;|margin-left: -400px;',
  7972. 'optional--',
  7973. 'optional2--',
  7974. "//a[contains(@href,'filedropper.com')]");
  7975. }
  7976. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7977. {
  7978. addFileHost(
  7979. "tropicshare\\.com\/files\/\\d+",
  7980. 'MB</span>|GB</span>|KB</span>',
  7981. '>FNF<|size: </span>',
  7982. 'optional--',
  7983. 'optional2--',
  7984. "//a[contains(@href,'tropicshare.com')]");
  7985. }
  7986. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7987. {
  7988. addFileHost(
  7989. "worldbytez\.com",
  7990. '<div class="download_type">|method_free',
  7991. '<div style="width:500px;text-align:left;">',
  7992. 'optional--',
  7993. 'optional2--',
  7994. "//a[contains(@href,'worldbytez.com')]",
  7995. true);
  7996. }
  7997. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7998. {
  7999. addFileHost(
  8000. "freefilehosting\.net\/\\w+",
  8001. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8002. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8003. 'optional--',
  8004. 'optional2--',
  8005. "//a[contains(@href,'freefilehosting.net')]");
  8006. }
  8007. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8008. {
  8009. addFileHost(
  8010. "ziddu\.com\/\\w+",
  8011. 'downloads.ziddu.com|downloadfilelinkicon',
  8012. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8013. 'optional--',
  8014. 'optional2--',
  8015. "//a[contains(@href,'ziddu.com')]");
  8016. }
  8017. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8018. {
  8019. addFileHost(
  8020. "exclusiveloader\.com\/\\w+",
  8021. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8022. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8023. 'optional--',
  8024. 'optional2--',
  8025. "//a[contains(@href,'exclusiveloader.com')]");
  8026. }
  8027. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8028. {
  8029. addFileHost(
  8030. "sharerapid\.cz\/\\w+",
  8031. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8032. 'error_div">|404 - Not Found',
  8033. 'optional--',
  8034. 'optional2--',
  8035. "//a[contains(@href,'sharerapid.cz')]");
  8036. }
  8037. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8038. {
  8039. addFileHost(
  8040. "sdilej\.cz\/\\w+",
  8041. 'class="page-download"',
  8042. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8043. 'optional--',
  8044. 'optional2--',
  8045. "//a[contains(@href,'sdilej.cz')]");
  8046. }
  8047. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8048. {
  8049. addFileHost(
  8050. "lafiles\.com\/\\w+",
  8051. '<div id="pay_modes">',
  8052. '<b class="err"></b>',
  8053. 'optional--',
  8054. 'optional2--',
  8055. "//a[contains(@href,'lafiles.com')]");
  8056. }
  8057. if (GM_getValue("Check_acefile_dot_net_links", false))
  8058. {
  8059. addFileHost(
  8060. "acefile\.net\/\\w+",
  8061. 'align=right nowrap><b>',
  8062. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8063. 'optional--',
  8064. 'optional2--',
  8065. "//a[contains(@href,'acefile.net')]");
  8066. }
  8067. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8068. {
  8069. addFileHost(
  8070. "megarapid\.cz\/\\w+",
  8071. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8072. 'error_div">|404 - Not Found',
  8073. 'optional--',
  8074. 'optional2--',
  8075. "//a[contains(@href,'megarapid.cz')]");
  8076. }
  8077. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8078. {
  8079. addFileHost(
  8080. "yadi\.sk\/\\w+",
  8081. 'nb-button _nb-small-button',
  8082. 'error code|Nothing found',
  8083. 'optional--',
  8084. 'optional2--',
  8085. "//a[contains(@href,'yadi.sk')]");
  8086. }
  8087. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8088. {
  8089. addFileHost(
  8090. "hitfile\.net\/\\w+",
  8091. 'class="download-file',
  8092. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8093. 'optional--',
  8094. 'optional2--',
  8095. "//a[contains(@href,'hitfile.net')]");
  8096. }
  8097. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8098. {
  8099. addFileHost(
  8100. "up.top4top\.net\/\\w+",
  8101. 'start Downlod template',
  8102. 'start err template',
  8103. 'optional--',
  8104. 'optional2--',
  8105. "//a[contains(@href,'up.top4top.net')]");
  8106. }
  8107. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8108. {
  8109. addFileHost(
  8110. "filejoker\.net\/\\w+",
  8111. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8112. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8113. 'optional--',
  8114. 'id="download" class="premium-only">',
  8115. "//a[contains(@href,'filejoker.net')]");
  8116. }
  8117. if (GM_getValue("Check_free_dot_fr_links", false))
  8118. {
  8119. addFileHost(
  8120. "(?:dl.\\.|)free\\.fr",
  8121. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8122. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8123. 'optional--',
  8124. 'optional2--',
  8125. "//a[contains(@href,'dl.free.fr')]");
  8126. }
  8127. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8128. {
  8129. addFileHost(
  8130. "gboxes\.com\/\\w+",
  8131. 'You have requested|color="red">http://www.gboxes.com',
  8132. 'File Not Found|<div style="width:500px;text-align:left;">',
  8133. 'optional--',
  8134. 'optional2--',
  8135. "//a[contains(@href,'gboxes.com')]");
  8136. }
  8137. if (GM_getValue("Check_led_dot_wf_links", false))
  8138. {
  8139. addFileHost(
  8140. "led\.wf\/\\w+",
  8141. 'logo_0.png|downloads.gif"|verifycode',
  8142. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8143. 'optional--',
  8144. 'available only for Premium users',
  8145. "//a[contains(@href,'led.wf')]");
  8146. }
  8147. if (GM_getValue("Check_lan_dot_wf_links", false))
  8148. {
  8149. addFileHost(
  8150. "lan\.wf\/\\w+",
  8151. 'logo_0.png|downloads.gif"|verifycode',
  8152. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8153. 'optional--',
  8154. 'available only for Premium users',
  8155. "//a[contains(@href,'lan.wf')]");
  8156. }
  8157. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8158. {
  8159. addFileHost(
  8160. "adlink\.wf\/\\w+",
  8161. 'logo_0.png|downloads.gif"|verifycode',
  8162. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8163. 'optional--',
  8164. 'available only for Premium users',
  8165. "//a[contains(@href,'adlink.wf')]");
  8166. }
  8167. if (GM_getValue("Check_click_dot_tf_links", false))
  8168. {
  8169. addFileHost(
  8170. "click\.tf\/\\w+",
  8171. 'logo_0.png|downloads.gif"|verifycode',
  8172. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8173. 'optional--',
  8174. 'available only for Premium users',
  8175. "//a[contains(@href,'click.tf')]");
  8176. }
  8177. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8178. {
  8179. addFileHost(
  8180. "ssh\.tf\/\\w+",
  8181. 'logo_0.png|downloads.gif"|verifycode',
  8182. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8183. 'optional--',
  8184. 'available only for Premium users',
  8185. "//a[contains(@href,'ssh.tf')]");
  8186. }
  8187. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8188. {
  8189. addFileHost(
  8190. "ssh\.yt\/\\w+",
  8191. 'logo_0.png|downloads.gif"|verifycode',
  8192. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8193. 'optional--',
  8194. 'available only for Premium users',
  8195. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8196. }
  8197. if (GM_getValue("Check_yep_dot_pm_links", false))
  8198. {
  8199. addFileHost(
  8200. "yep\.pm\/\\w+",
  8201. 'logo_0.png|downloads.gif"|verifycode',
  8202. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8203. 'optional--',
  8204. 'available only for Premium users',
  8205. "//a[contains(@href,'yep.pm')]");
  8206. }
  8207. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8208. {
  8209. addFileHost(
  8210. "kyc\.pm\/\\w+",
  8211. 'logo_0.png|downloads.gif"|verifycode',
  8212. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8213. 'optional--',
  8214. 'available only for Premium users',
  8215. "//a[contains(@href,'kyc.pm')]");
  8216. }
  8217. if (GM_getValue("Check_brupload_dot_net_links", false))
  8218. {
  8219. addFileHost(
  8220. "brupload\.net\/\\w+",
  8221. 'Download Gratuito',
  8222. '<div style="width:500px;text-align:left;">',
  8223. 'optional--',
  8224. 'optional2--',
  8225. "//a[contains(@href,'brupload.net')]");
  8226. }
  8227. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8228. {
  8229. addFileHost(
  8230. "cloudzilla\.to\/\\w+",
  8231. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8232. 'File not found|/imgs/broken.png',
  8233. 'optional--',
  8234. 'optional2--',
  8235. "//a[contains(@href,'cloudzilla.to')]");
  8236. }
  8237. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8238. {
  8239. addFileHost(
  8240. "clicknupload\.com\/\\w+",
  8241. 'name="method_free',
  8242. 'File Not Found',
  8243. 'optional--',
  8244. 'optional2--',
  8245. "//a[contains(@href,'clicknupload.com')]");
  8246. }
  8247. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8248. {
  8249. addFileHost(
  8250. "clicknupload\.me\/\\w+",
  8251. 'name="method_free',
  8252. 'File Not Found',
  8253. 'optional--',
  8254. 'optional2--',
  8255. "//a[contains(@href,'clicknupload.me')]");
  8256. }
  8257. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8258. {
  8259. addFileHost(
  8260. "clicknupload\.link\/\\w+",
  8261. 'name="method_free',
  8262. 'File Not Found',
  8263. 'optional--',
  8264. 'optional2--',
  8265. "//a[contains(@href,'clicknupload.link')]");
  8266. }
  8267. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8268. {
  8269. addFileHost(
  8270. "ex-load\.com\/\\w+",
  8271. 'name="method_free|<p>Download File:</p>',
  8272. 'Folder Not Found|File Not Found|Error 404',
  8273. 'optional--',
  8274. 'class="downprem wow bounceInLeft',
  8275. "//a[contains(@href,'ex-load.com')]");
  8276. }
  8277. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8278. {
  8279. addFileHost(
  8280. "hexupload\.com\/\\w+",
  8281. 'button" value="Free|type="submit" value=""',
  8282. 'File Not Found|<div style="width:500px;text-align:left;">',
  8283. 'optional--',
  8284. 'optional2--',
  8285. "//a[contains(@href,'hexupload.com')]");
  8286. }*/
  8287. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8288. {
  8289. addFileHost(
  8290. "wizupload\.com\/\\w+",
  8291. 'btn_download|class="downloadbtn"',
  8292. '>File Not Found<',
  8293. 'optional--',
  8294. 'optional2--',
  8295. "//a[contains(@href,'wizupload.com')]");
  8296. }
  8297. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8298. {
  8299. addFileHost(
  8300. "inclouddrive\.com\/\\w+",
  8301. 'initfreedownload',
  8302. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8303. 'optional--',
  8304. 'optional2--',
  8305. "//a[contains(@href,'inclouddrive.com')]");
  8306. }
  8307. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8308. {
  8309. addFileHost(
  8310. "radicalshare\.com\/\\w+",
  8311. 'value="download1|name="method_free"',
  8312. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8313. 'optional--',
  8314. 'optional2--',
  8315. "//a[contains(@href,'radicalshare.com')]");
  8316. }*/
  8317. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8318. {
  8319. addFileHost(
  8320. "sharemods\.com\/\\w+",
  8321. 'name="method_free"',
  8322. 'File Not Found<',
  8323. 'optional--',
  8324. 'optional2--',
  8325. "//a[contains(@href,'sharemods.com')]");
  8326. }
  8327. if (GM_getValue("Check_hostr_dot_co_links", false))
  8328. {
  8329. addFileHost(
  8330. "hostr\.co\/\\w+",
  8331. 'method="get"',
  8332. 'File not found<|error-page',
  8333. 'optional--',
  8334. 'optional2--',
  8335. "//a[contains(@href,'hostr.co')]");
  8336. }
  8337. if (GM_getValue("Check_filepi_dot_com_links", false))
  8338. {
  8339. addFileHost(
  8340. "filepi\.com\/\\w+",
  8341. 'id="button_start">',
  8342. 'File not found',
  8343. 'optional--',
  8344. 'optional2--',
  8345. "//a[contains(@href,'filepi.com')]");
  8346. }
  8347. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8348. {
  8349. addFileHost(
  8350. "tikfile\.com\/\\w+",
  8351. 'btn_download',
  8352. 'File Not Found|file was removed|Reason for deletion',
  8353. 'optional--',
  8354. 'optional2--',
  8355. "//a[contains(@href,'tikfile.com')]");
  8356. }
  8357. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8358. {
  8359. addFileHost(
  8360. "cloudsix\.me\/\\w+",
  8361. 'name="method_free"',
  8362. 'File Not Found|width:500px;text-align:left;">',
  8363. 'optional--',
  8364. 'optional2--',
  8365. "//a[contains(@href,'cloudsix.me')]");
  8366. }
  8367. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8368. {
  8369. addFileHost(
  8370. "neodrive\.co\/\\w+",
  8371. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8372. 'File not found|/imgs/broken.png',
  8373. 'optional--',
  8374. 'optional2--',
  8375. "//a[contains(@href,'neodrive.co')]");
  8376. }
  8377. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8378. {
  8379. addFileHost(
  8380. "chayfile\.com\/\\w+",
  8381. 'name="method_free"',
  8382. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8383. 'optional--',
  8384. 'optional2--',
  8385. "//a[contains(@href,'chayfile.com')]");
  8386. }
  8387. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8388. {
  8389. addFileHost(
  8390. "xfileload\.com\/\\w+",
  8391. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8392. '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..|הקובץ שחיפשת לא נמצא.',
  8393. 'optional--',
  8394. 'optional2--',
  8395. "//a[contains(@href,'xfileload.com')]");
  8396. }*/
  8397. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8398. {
  8399. addFileHost(
  8400. "rockfile\.eu\/\\w+",
  8401. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8402. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8403. 'optional--',
  8404. 'optional2--',
  8405. "//a[contains(@href,'rockfile.eu')]",
  8406. true);
  8407. }
  8408. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8409. {
  8410. addFileHost(
  8411. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8412. 'i/icon/dll.png"|>Start download<br',
  8413. 'no longer available<|i/ino.png"',
  8414. 'optional--',
  8415. 'optional2--',
  8416. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8417. }
  8418. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8419. {
  8420. addFileHost(
  8421. "ozofiles\.com\/\\w+",
  8422. 'button" value="Free|name="method_free',
  8423. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8424. 'optional--',
  8425. 'optional2--',
  8426. "//a[contains(@href,'ozofiles.com')]");
  8427. }
  8428. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8429. {
  8430. addFileHost(
  8431. "userscloud\.com\/\\w+",
  8432. 'btn_download|class="label label-success">',
  8433. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8434. 'optional--',
  8435. 'optional2--',
  8436. "//a[contains(@href,'userscloud.com')]");
  8437. }
  8438. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8439. {
  8440. addFileHost(
  8441. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8442. 'class="button download',
  8443. 'internal server error',
  8444. 'optional--',
  8445. 'optional2--',
  8446. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8447. }
  8448. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8449. {
  8450. addFileHost(
  8451. "kb.simple-aja\.info\/\\w+",
  8452. 'class="button download',
  8453. 'internal server error|<p>404</p>',
  8454. 'optional--',
  8455. 'optional2--',
  8456. "//a[contains(@href,'kb.simple')]");
  8457. }
  8458. if (GM_getValue("Check_faststore_dot_org_links", false))
  8459. {
  8460. addFileHost(
  8461. "faststore\.org\/\\w+",
  8462. 'name="method_free',
  8463. 'File Not Found',
  8464. 'optional--',
  8465. 'optional2--',
  8466. "//a[contains(@href,'faststore.org')]");
  8467. }
  8468. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8469. {
  8470. addFileHost(
  8471. "prefiles\.com\/\\w+",
  8472. 'id="method_free',
  8473. 'File not Found',
  8474. 'optional--',
  8475. 'optional2--',
  8476. "//a[contains(@href,'prefiles.com')]");
  8477. }
  8478. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8479. {
  8480. addFileHost(
  8481. "doraupload\.com\/\\w+",
  8482. 'btn_download|name="method_free',
  8483. 'class="error-code|Could Not Be Found',
  8484. 'optional--',
  8485. 'optional2--',
  8486. "//a[contains(@href,'doraupload.com')]");
  8487. }
  8488. if (GM_getValue("Check_openload_dot_io_links", false))
  8489. {
  8490. addFileHost(
  8491. "openload\.io\/\\w+",
  8492. 'btn btn-primary|class="count">|secondsleftouter',
  8493. 'class="jumbotron">|We are sorry',
  8494. 'optional--',
  8495. 'optional2--',
  8496. "//a[contains(@href,'openload.io')]");
  8497. }
  8498. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8499. {
  8500. addFileHost(
  8501. "zxcfiles\.com\/\\w+",
  8502. 'class="downloadbtn',
  8503. 'File Not Found',
  8504. 'optional--',
  8505. 'optional2--',
  8506. "//a[contains(@href,'zxcfiles.com')]");
  8507. }
  8508. if (GM_getValue("Check_up07_dot_net_links", false))
  8509. {
  8510. addFileHost(
  8511. "up07\.net\/\\w+",
  8512. 'name="method_free',
  8513. 'File Not Found',
  8514. 'optional--',
  8515. 'optional2--',
  8516. "//a[contains(@href,'up07.net')]");
  8517. }
  8518. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8519. {
  8520. addFileHost(
  8521. "fileupload\.pw\/\\w+",
  8522. 'value="Free"',
  8523. 'File Not Found',
  8524. 'optional--',
  8525. 'optional2--',
  8526. "//a[contains(@href,'fileupload.pw')]");
  8527. }
  8528. if (GM_getValue("Check_4upld_dot_com_links", false))
  8529. {
  8530. addFileHost(
  8531. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8532. 'alt="Download Now"|content="Download file">|btn-free-element',
  8533. '<title>Error|content="error|File not found',
  8534. 'optional--',
  8535. 'optional2--',
  8536. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8537. }
  8538. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8539. {
  8540. addFileHost(
  8541. "(?:.swoopshare)\\.com\/\\w+",
  8542. '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',
  8543. '<input type="file" name="f"',
  8544. 'optional--',
  8545. 'optional2--',
  8546. "//a[contains(@href,'swoopshare.com')]"
  8547. );
  8548. }
  8549. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8550. {
  8551. addFileHost(
  8552. "cloudshares\.net\/\\w+",
  8553. '"method_free|"Low Speed Download|submit" name="go',
  8554. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8555. 'optional--',
  8556. 'optional2--',
  8557. "//a[contains(@href,'cloudshares.net')]"
  8558. );
  8559. }
  8560. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8561. {
  8562. addFileHost(
  8563. "allmyvideos\.net\/\\w+",
  8564. 'Continue to Video',
  8565. 'File Not Found|class="err">Removed for',
  8566. 'optional--',
  8567. 'optional2--',
  8568. "//a[contains(@href,'allmyvideos.net')]"
  8569. );
  8570. } */
  8571. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8572. {
  8573. addFileHost(
  8574. "vodlocker\.com\/\\w+",
  8575. 'Proceed to video',
  8576. 'Not Found',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'vodlocker.com')]"
  8580. );
  8581. }
  8582. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8583. {
  8584. addFileHost(
  8585. "vidbull\.com\/\\w+",
  8586. 'Verifying Video Request',
  8587. 'File Not Found',
  8588. 'optional--',
  8589. 'optional2--',
  8590. "//a[contains(@href,'vidbull.com')]");
  8591. }
  8592. if (GM_getValue("Check_novamov_dot_com_links", false))
  8593. {
  8594. addFileHost(
  8595. "novamov\.com\/\\w+",
  8596. 'For version detection',
  8597. 'file no longer exists',
  8598. 'optional--',
  8599. 'optional2--',
  8600. "//a[contains(@href,'novamov.com')]"
  8601. );
  8602. }
  8603. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8604. {
  8605. addFileHost(
  8606. "filehoot\.com\/\\w+",
  8607. 'Continue to watch',
  8608. 'File Not Found',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'filehoot.com')]"
  8612. );
  8613. }
  8614. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8615. {
  8616. addFileHost(
  8617. "stagevu\.com\/\\w+",
  8618. 'Video Info',
  8619. 'No video with the provided',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'stagevu.com')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8626. {
  8627. addFileHost(
  8628. "cloudtime\.to\/\\w+",
  8629. 'Download the video',
  8630. 'no longer exists',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'cloudtime.to')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_streamin_dot_to_links", false))
  8637. {
  8638. addFileHost(
  8639. "streamin\.to\/\\w+",
  8640. 'id="btn_download',
  8641. 'Not Found|Copyright Infringement|File Deleted',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'streamin.to')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8648. {
  8649. addFileHost(
  8650. "videoweed\.es\/\\w+",
  8651. 'version detection',
  8652. 'no longer exists',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'videoweed.es')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8659. {
  8660. addFileHost(
  8661. "nowvideo\.sx\/\\w+",
  8662. 'Download this video|value="submit">Continue',
  8663. 'no longer exists',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'nowvideo.sx')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8670. {
  8671. addFileHost(
  8672. "thevideo\.me\/\\w+",
  8673. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8674. 'File Not Found',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'thevideo.me')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8681. {
  8682. addFileHost(
  8683. "gorillavid\.in\/\\w+",
  8684. 'Wait 5 seconds',
  8685. 'File Not Found',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'gorillavid.in')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_thefile_dot_me_links", false))
  8692. {
  8693. addFileHost(
  8694. "thefile\.me\/\\w+",
  8695. 'Choose free or',
  8696. '',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'thefile.me')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8703. {
  8704. addFileHost(
  8705. "vidzi\.tv\/\\w+",
  8706. 'video-embed-modal row',
  8707. 'File Not Found|file was deleted',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'vidzi.tv')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8714. {
  8715. addFileHost(
  8716. "filenuke\.com\/\\w+",
  8717. 'Download File',
  8718. 'Earn with us',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'filenuke.com')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_vidto_dot_me_links", false))
  8725. {
  8726. addFileHost(
  8727. "vidto\.me\/\\w+",
  8728. 'Proceed to video',
  8729. 'Not Found',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'vidto.me')]"
  8733. );
  8734. }
  8735. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8736. {
  8737. addFileHost(
  8738. "vidspot\.net\/\\w+",
  8739. 'Duration|method_free',
  8740. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'vidspot.net')]"
  8744. );
  8745. } */
  8746. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8747. {
  8748. addFileHost(
  8749. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8750. 'Download File',
  8751. 'File Not Found',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_movpod_dot_in_links", false))
  8758. {
  8759. addFileHost(
  8760. "movpod\.in\/\\w+",
  8761. 'Continue',
  8762. 'File Not Found',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'movpod.in')]"
  8766. );
  8767. }
  8768. if (GM_getValue("Check_down4files_dot_com_links", false))
  8769. {
  8770. addFileHost(
  8771. "down4files\.com\/\\w+",
  8772. 'down_table.png',
  8773. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'down4files.com')]"
  8777. );
  8778. }
  8779. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8780. {
  8781. addFileHost(
  8782. "storefiles\.co\/\\w+",
  8783. 'btn_download',
  8784. 'No such file|>Error<|mqmaintitle">',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'storefiles.co')]"
  8788. );
  8789. }*/
  8790. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8791. {
  8792. addFileHost(
  8793. "filehost\.pw\/\\w+",
  8794. 'name="method_free',
  8795. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'filehost.pw')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_uplea_dot_com_links", false))
  8802. {
  8803. addFileHost(
  8804. "uplea\.com\/\\w+",
  8805. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8806. 'expired link|ou est invalide',
  8807. 'optional--',
  8808. 'optional2--',
  8809. "//a[contains(@href,'uplea.com/dl')]",
  8810. true);
  8811. }
  8812. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8813. {
  8814. addFileHost(
  8815. "toutbox\.fr\/\\w+",
  8816. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8817. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8818. 'Serviço temporariamente indisponível',
  8819. 'optional2--',
  8820. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8821. );
  8822. }*/
  8823. if (GM_getValue("Check_openload_dot_co_links", false))
  8824. {
  8825. addFileHost(
  8826. "openload\.co\/\\w+",
  8827. 'id="downloadTimer">|button dlbutton',
  8828. 'jumbotron{color|got deleted|center !important',
  8829. 'optional--',
  8830. 'optional2--',
  8831. "//a[contains(@href,'openload.co')]"
  8832. );
  8833. }
  8834. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8835. {
  8836. addFileHost(
  8837. "lolabits\.es\/\\w+",
  8838. 'Descargar:',
  8839. '<title>Archivos de usuario',
  8840. 'Service Unavailable',
  8841. 'optional2--',
  8842. "//a[contains(@href,'lolabits.es')]"
  8843. );
  8844. }*/
  8845. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8846. {
  8847. addFileHost(
  8848. "alfafile\.net\/\\w+",
  8849. 'id="slow_download_btn',
  8850. 'class="error-box">',
  8851. 'optional--',
  8852. 'optional2--',
  8853. "//a[contains(@href,'alfafile.net')]"
  8854. );
  8855. }
  8856. if (GM_getValue("Check_multiup_dot_org_links", false))
  8857. {
  8858. addFileHost(
  8859. "multiup\\.(?:org|eu)\/\\w+",
  8860. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8861. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8865. );
  8866. }
  8867. if (GM_getValue("Check_file_dot_al_links", false))
  8868. {
  8869. addFileHost(
  8870. "file\\.al",
  8871. 'method_free',
  8872. 'style="width:500px;text-align:left;">',
  8873. 'optional--',
  8874. 'optional2--',
  8875. "//a[contains(@href,'file.al')]"
  8876. );
  8877. }
  8878. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8879. {
  8880. addFileHost(
  8881. "devilshare\.net\/\\w+",
  8882. '<div class="large-12" id="download">',
  8883. '(Link: 0 Invalid)|File Not Found',
  8884. 'optional--',
  8885. 'optional2--',
  8886. "//a[contains(@href,'devilshare.net')]"
  8887. );
  8888. }
  8889. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8890. {
  8891. addFileHost(
  8892. "dailyuploads\.net\/\\w+",
  8893. 'id="downloadBtnClickOrignal',
  8894. '<div style="width:500px;text-align:left;">',
  8895. 'optional--',
  8896. 'optional2--',
  8897. "//a[contains(@href,'dailyuploads.net')]"
  8898. );
  8899. }
  8900. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8901. {
  8902. addFileHost(
  8903. "datoteke\.com\/\\w+",
  8904. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8905. '&nbsp;File has been removed',
  8906. 'optional--',
  8907. '<title>Error - Datoteke',
  8908. "//a[contains(@href,'datoteke.com')]"
  8909. );
  8910. }
  8911. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8912. {
  8913. addFileHost(
  8914. "sharehost\.eu\/\\w+",
  8915. '/?v=download_free&',
  8916. 'Errors occured|Wystąpiły błędy',
  8917. 'optional--',
  8918. 'optional2--',
  8919. "//a[contains(@href,'sharehost.eu')]"
  8920. );
  8921. }
  8922. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8923. {
  8924. addFileHost(
  8925. "pornfile\.cz",
  8926. 'Stáhnout soubor|Stáhnout pomalu',
  8927. 'Soubor byl smazán|Stránka nenalezena',
  8928. 'optional--',
  8929. 'optional2--',
  8930. "//a[contains(@href,'pornfile.cz')]"
  8931. );
  8932. }
  8933. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8934. {
  8935. addFileHost(
  8936. "pornoid\.cz\/\\w+",
  8937. 'class="btn btn-large btn-download',
  8938. 'Soubor byl smazán',
  8939. 'optional--',
  8940. 'optional2--',
  8941. "//a[contains(@href,'pornoid.cz')]"
  8942. );
  8943. }
  8944. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8945. {
  8946. addFileHost(
  8947. "file-share\.top\/\\w+",
  8948. 'btn-success btn-lg download',
  8949. 'Stránka neexistuje|404 Not Found',
  8950. 'optional--',
  8951. 'optional2--',
  8952. "//a[contains(@href,'file-share.top')]"
  8953. );
  8954. }
  8955. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8956. {
  8957. addFileHost(
  8958. "bitster\.cz\/",
  8959. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8960. 'section" content=""',
  8961. 'optional--',
  8962. 'optional2--',
  8963. "//a[contains(@href,'bitster.cz')]"
  8964. );
  8965. }
  8966. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8967. {
  8968. addFileHost(
  8969. "rapidu\.net\/\\w+",
  8970. 'onclick="downloadFreeFile',
  8971. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8972. 'optional--',
  8973. 'optional2--',
  8974. "//a[contains(@href,'rapidu.net')]"
  8975. );
  8976. }
  8977. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8978. {
  8979. addFileHost(
  8980. "dinoshare\.cz\/\\w+",
  8981. 'class="download-button"',
  8982. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8983. 'optional--',
  8984. 'optional2--',
  8985. "//a[contains(@href,'dinoshare.cz')]"
  8986. );
  8987. }
  8988. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8989. {
  8990. addFileHost(
  8991. "bytewhale\.com\/\\w+",
  8992. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8993. 'var rawest = "0 MB|Copyrights Claim</div>',
  8994. 'optional--',
  8995. 'This file is available for premium members only',
  8996. "//a[contains(@href,'bytewhale.com')]"
  8997. );
  8998. }
  8999. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9000. {
  9001. addFileHost(
  9002. "rapidrar\.com\/\\w+",
  9003. 'value="Free Download',
  9004. '<div style="width:500px;text-align:left;">',
  9005. 'optional--',
  9006. 'optional--',
  9007. "//a[contains(@href,'rapidrar.com')]"
  9008. );
  9009. }
  9010. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9011. {
  9012. addFileHost(
  9013. "filesupload\.org\/\\w+",
  9014. '<a href="/download-or-watch/',
  9015. 'File not found',
  9016. 'optional--',
  9017. 'optional--',
  9018. "//a[contains(@href,'filesupload.org')]"
  9019. );
  9020. }
  9021. if (GM_getValue("Check_filecad_dot_com_links", false))
  9022. {
  9023. addFileHost(
  9024. "filecad\.com\/\\w+",
  9025. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9026. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9027. 'optional--',
  9028. 'optional--',
  9029. "//a[contains(@href,'filecad.com')]"
  9030. );
  9031. }
  9032. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9033. {
  9034. addFileHost(
  9035. "file.up09\.com\/\\w+",
  9036. 'name="method_free',
  9037. 'style="width:500px;text-align:left;">',
  9038. 'optional--',
  9039. 'optional--',
  9040. "//a[contains(@href,'file.up09.com')]"
  9041. );
  9042. }
  9043. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9044. {
  9045. addFileHost(
  9046. "lunaticfiles\.com\/\\w+",
  9047. 'name="method_free"',
  9048. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9049. 'optional--',
  9050. 'optional--',
  9051. "//a[contains(@href,'lunaticfiles.com')]"
  9052. );
  9053. }
  9054. if (GM_getValue("Check_upload_dot_af_links", false))
  9055. {
  9056. addFileHost(
  9057. "upload\.af\/\\w+",
  9058. 'id="method_free"',
  9059. '<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|ファイルが見つかりません',
  9060. 'optional--',
  9061. 'optional--',
  9062. "//a[contains(@href,'upload.af')]"
  9063. );
  9064. }
  9065. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9066. {
  9067. addFileHost(
  9068. "filedwon\.info\/\\w+",
  9069. 'name="method_free"',
  9070. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9071. 'optional--',
  9072. 'optional--',
  9073. "//a[contains(@href,'filedwon.info')]"
  9074. );
  9075. }
  9076. if (GM_getValue("Check_uplod_dot_it_links", false))
  9077. {
  9078. addFileHost(
  9079. "uplod\.it\/\\w+",
  9080. 'value="download2">|name="method_free',
  9081. '<Title>Download </Title>',
  9082. 'optional--',
  9083. 'optional--',
  9084. "//a[contains(@href,'uplod.it')]"
  9085. );
  9086. }
  9087. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9088. {
  9089. addFileHost(
  9090. "abelhas\.pt\/\\w+",
  9091. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9092. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9093. 'optional--',
  9094. 'optional--',
  9095. "//a[contains(@href,'abelhas.pt')]"
  9096. );
  9097. } */
  9098. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9099. {
  9100. addFileHost(
  9101. "disk.yandex\.com\/\\w+",
  9102. 'nb-button _nb-small-button',
  9103. 'error code|Nothing found',
  9104. 'optional--',
  9105. 'optional2--',
  9106. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9107. }
  9108. if (GM_getValue("Check_filespace_dot_com_links", false))
  9109. {
  9110. addFileHost(
  9111. "filespace\.com\/\\w+",
  9112. '"method_free',
  9113. '<div style="text-align:left;"><ul>|>File not found.<',
  9114. 'optional1--',
  9115. 'optional2--',
  9116. "//a[contains(@href,'filespace.com')]");
  9117. }
  9118. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9119. {
  9120. addFileHost(
  9121. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9122. 'name="downloadFile|id="downloadFile|value="Wait',
  9123. '<title>File not found</title>|>Error:<',
  9124. 'optional1--',
  9125. 'optional2--',
  9126. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9127. }
  9128. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9129. {
  9130. addFileHost(
  9131. "ncrypt\.in\/\\w+",
  9132. 'Sicherheitsabfrage:|Securitycheck:',
  9133. 'does not exist|existiert nicht',
  9134. 'optional1--',
  9135. 'optional2--',
  9136. "//a[contains(@href,'ncrypt.in')]");
  9137. }
  9138. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9139. {
  9140. addFileHost(
  9141. "jeodrive\.com\/\\w+",
  9142. 'btn-lg regular',
  9143. 'Not found',
  9144. 'optional1--',
  9145. 'optional2--',
  9146. "//a[contains(@href,'jeodrive.com')]");
  9147. }
  9148. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9149. {
  9150. addFileHost(
  9151. "myfiles\.onl\/\\w+",
  9152. 'value="Free"',
  9153. '<div style="width:500px;text-align:left;">',
  9154. 'optional1--',
  9155. 'optional2--',
  9156. "//a[contains(@href,'myfiles.onl')]");
  9157. }
  9158. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9159. {
  9160. addFileHost(
  9161. "uploadserv\.com\/\\w+",
  9162. 'color="red">http://uploadserv.com/',
  9163. 'content="Download File ">|<title>Download </title>',
  9164. 'optional1--',
  9165. 'optional2--',
  9166. "//a[contains(@href,'uploadserv.com')]");
  9167. }
  9168. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9169. {
  9170. addFileHost(
  9171. "keepshare\.net\/\\w+",
  9172. 'method_free',
  9173. '<div style="width:500px;text-align:left;">',
  9174. 'optional1--',
  9175. 'optional2--',
  9176. "//a[contains(@href,'keepshare.net')]");
  9177. }
  9178. if (GM_getValue("Check_oload_dot_net_links", false))
  9179. {
  9180. addFileHost(
  9181. "oload\.net\/\\w+",
  9182. '<font color="red">http://oload.net',
  9183. 'class="page-ttl">',
  9184. 'optional1--',
  9185. 'optional2--',
  9186. "//a[contains(@href,'oload.net')]");
  9187. }
  9188. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9189. {
  9190. addFileHost(
  9191. "filescdn\.com\/\\w+",
  9192. 'btn bg-green-40|btn_download',
  9193. 'icon-warning text-danger',
  9194. 'optional1--',
  9195. 'optional2--',
  9196. "//a[contains(@href,'filescdn.com')]");
  9197. }
  9198. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9199. {
  9200. addFileHost(
  9201. "bankupload\.com\/\\w+",
  9202. 'id="btn_download"|1.0 GB',
  9203. '<div style="width:500px;text-align:left;">',
  9204. 'optional1--',
  9205. ' GB',
  9206. "//a[contains(@href,'bankupload.com')]");
  9207. }
  9208. if (GM_getValue("Check_katfile_dot_com_links", false))
  9209. {
  9210. addFileHost(
  9211. "katfile\.com\/\\w+",
  9212. 'KB| MB|1.0 GB',
  9213. 'images/file_not_found.png"',
  9214. 'optional1--',
  9215. ' GB',
  9216. "//a[contains(@href,'katfile.com')]");
  9217. }
  9218. if (GM_getValue("Check_filesin_dot_space_links", false))
  9219. {
  9220. addFileHost(
  9221. "filesin\.space\/\\w+",
  9222. 'id="btn_download"',
  9223. 'class="err">',
  9224. 'optional1--',
  9225. 'optional2',
  9226. "//a[contains(@href,'filesin.space')]");
  9227. }
  9228. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9229. {
  9230. addFileHost(
  9231. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9232. 'download.php',
  9233. 'notfound|upload\\-suborov\\.php"',
  9234. 'optional--',
  9235. 'optional2--',
  9236. "//a[contains(@href,'upnito.sk')]"
  9237. );
  9238. }
  9239. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9240. {
  9241. addFileHost(
  9242. "alltu\.eu\/\\w+",
  9243. 'download-timer',
  9244. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9245. 'optional1--',
  9246. 'optional2',
  9247. "//a[contains(@href,'alltu.eu')]");
  9248. }
  9249. if (GM_getValue("Check_novafile_dot_com_links", false))
  9250. {
  9251. addFileHost(
  9252. "novafile\.com\/\\w+",
  9253. 'id="regular-download',
  9254. 'id="file-not-found',
  9255. 'optional1--',
  9256. 'id="premium-only',
  9257. "//a[contains(@href,'novafile.com')]");
  9258. }
  9259. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9260. {
  9261. addFileHost(
  9262. "uploadgig\.com\/\\w+",
  9263. 'btn-default',
  9264. 'File not found',
  9265. 'optional1--',
  9266. 'optional2',
  9267. "//a[contains(@href,'uploadgig.com')]");
  9268. }
  9269. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9270. {
  9271. addFileHost(
  9272. "mexashare\.com\/\\w+",
  9273. 'method_free',
  9274. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9275. 'optional1--',
  9276. 'optional2',
  9277. "//a[contains(@href,'mexashare.com')]");
  9278. }
  9279. if (GM_getValue("Check_daofile_dot_com_links", false))
  9280. {
  9281. addFileHost(
  9282. "daofile\.com\/\\w+",
  9283. 'class="captcha_code',
  9284. 'style="width:500px;text-align:left;">',
  9285. 'optional1--',
  9286. 'optional2',
  9287. "//a[contains(@href,'daofile.com')]");
  9288. }
  9289. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9290. {
  9291. addFileHost(
  9292. "imagenetz\.de\/\\w+",
  9293. 'id="download',
  9294. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9295. 'optional1--',
  9296. 'optional2',
  9297. "//a[contains(@href,'imagenetz.de')]");
  9298. }
  9299. if (GM_getValue("Check_uloz_dot_to_links", false))
  9300. {
  9301. addFileHost(
  9302. "uloz\.to",
  9303. 'limitedDownloadButton|Stáhnout pomalu',
  9304. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9305. 'optional1--',
  9306. 'optional2',
  9307. "//a[contains(@href,'uloz.to')]");
  9308. }
  9309. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9310. {
  9311. addFileHost(
  9312. "ulozto.net",
  9313. 'limitedDownloadButton|Stáhnout pomalu',
  9314. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9315. 'optional1--',
  9316. 'optional2',
  9317. "//a[contains(@href,'ulozto.net')]");
  9318. }
  9319. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9320. {
  9321. addFileHost(
  9322. "ulozto\.sk",
  9323. 'limitedDownloadButton|Stáhnout pomalu',
  9324. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9325. 'optional1--',
  9326. 'optional2',
  9327. "//a[contains(@href,'ulozto.sk')]");
  9328. }
  9329. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9330. {
  9331. addFileHost(
  9332. "ulozto\.cz",
  9333. 'limitedDownloadButton|Stáhnout pomalu',
  9334. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9335. 'optional1--',
  9336. 'optional2',
  9337. "//a[contains(@href,'ulozto.cz')]");
  9338. }
  9339. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9340. {
  9341. addFileHost(
  9342. "subyshare\.com\/\\w+",
  9343. 'id="method_free',
  9344. 'file was removed|class="err">|1s">404',
  9345. 'optional1--',
  9346. 'optional2',
  9347. "//a[contains(@href,'subyshare.com')]",
  9348. true);
  9349. }
  9350. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9351. {
  9352. addFileHost(
  9353. "fileshareup\.com\/\\w+",
  9354. 'download-timer|btn-free-element|content="Download file',
  9355. 'content="Error"|content="error|heading-1">Error<',
  9356. 'optional1--',
  9357. 'optional2',
  9358. "//a[contains(@href,'fileshareup.com')]");
  9359. }
  9360. if (GM_getValue("Check_mystore_dot_to_links", false))
  9361. {
  9362. addFileHost(
  9363. "mystore\.to\/\\w+",
  9364. 'Download File',
  9365. 'file not found',
  9366. 'optional1--',
  9367. 'optional2',
  9368. "//a[contains(@href,'mystore.to/dl')]");
  9369. }
  9370. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9371. {
  9372. addFileHost(
  9373. "usercloud\.net\/\\w+",
  9374. 'content="download|var seconds = 60|type="password',
  9375. 'content="error|report_file.html">',
  9376. 'optional1--',
  9377. 'optional2',
  9378. "//a[contains(@href,'usercloud.net')]");
  9379. }
  9380. if (GM_getValue("Check_workupload_dot_com_links", false))
  9381. {
  9382. addFileHost(
  9383. "workupload\.com\/\\w+",
  9384. 'content="Download|id="download"',
  9385. 'File not found|img/not-found.jpg|Error message',
  9386. 'optional1--',
  9387. 'optional2',
  9388. "//a[contains(@href,'workupload.com')]");
  9389. }
  9390. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9391. {
  9392. addFileHost(
  9393. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9394. 'class="download">',
  9395. 'class="error center',
  9396. 'optional1--',
  9397. 'optional2',
  9398. "//a[contains(@href,'storageserver.co.uk')]");
  9399. }
  9400. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9401. {
  9402. addFileHost(
  9403. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9404. '"kind": "file"',
  9405. '"error": "not_exists"',
  9406. 'optional1--',
  9407. 'optional2',
  9408. "//a[contains(@href,'cloud.mail.ru')]");
  9409. }
  9410. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9411. {
  9412. addFileHost(
  9413. "bdupload\.info\/\\w+",
  9414. 'class="downloadbtn">|id="downloadbtn"',
  9415. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9416. 'optional1--',
  9417. 'optional2',
  9418. "//a[contains(@href,'bdupload.info')]");
  9419. }
  9420. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9421. {
  9422. addFileHost(
  9423. "wayupload\.com\/\\w+",
  9424. 'class="nopay-btn gray"',
  9425. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9426. 'optional1--',
  9427. 'optional2',
  9428. "//a[contains(@href,'wayupload.com')]");
  9429. }
  9430. if (GM_getValue("Check_exbit_dot_net_links", false))
  9431. {
  9432. addFileHost(
  9433. "exbit\.net\/\\w+",
  9434. 'class="nopay-btn|href="/download/free/',
  9435. 'File not found',
  9436. 'optional1--',
  9437. 'optional2',
  9438. "//a[contains(@href,'exbit.net')]");
  9439. }
  9440. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9441. {
  9442. addFileHost(
  9443. "uploadocean\.com\/\\w+",
  9444. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9445. 'deleted.png"',
  9446. 'optional1--',
  9447. 'optional2',
  9448. "//a[contains(@href,'uploadocean.com')]");
  9449. }
  9450. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9451. {
  9452. addFileHost(
  9453. "fileflares\.com\/\\w+",
  9454. 'id="downloadbtn"',
  9455. '<div style="width:500px;text-align:left;">',
  9456. 'optional1--',
  9457. 'optional2',
  9458. "//a[contains(@href,'fileflares.com')]");
  9459. }
  9460. if (GM_getValue("Check_erafile_dot_com_links", false))
  9461. {
  9462. addFileHost(
  9463. "erafile\.com\/\\w+",
  9464. 'id="method_free',
  9465. '<div style="width:500px;text-align:left;">',
  9466. 'optional1--',
  9467. 'optional2',
  9468. "//a[contains(@href,'erafile.com')]");
  9469. }
  9470. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9471. {
  9472. addFileHost(
  9473. "suprafiles\.net\/\\w+",
  9474. 'name="method_free"',
  9475. 'File Not Found|style="width:1000px; text-align: left;">',
  9476. 'optional1--',
  9477. 'optional2',
  9478. "//a[contains(@href,'suprafiles.net')]");
  9479. }
  9480. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9481. {
  9482. addFileHost(
  9483. "upfiles\.net\/\\w+",
  9484. 'id="recaptcha2"|snail.png"',
  9485. 'Ten plik został usunięty.|style="margin-top:50px',
  9486. 'optional1--',
  9487. 'optional2',
  9488. "//a[contains(@href,'upfiles.net/f/')]");
  9489. }
  9490. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9491. {
  9492. addFileHost(
  9493. "dailyfiles\.net\/\\w+",
  9494. 'onclick="dwn',
  9495. '<title>Error',
  9496. 'optional1--',
  9497. 'optional2',
  9498. "//a[contains(@href,'dailyfiles.net')]");
  9499. }
  9500. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9501. {
  9502. addFileHost(
  9503. "littlebyte\.net\/\\w+",
  9504. '>Free download<|>Скачать медленно<',
  9505. 'images/dmca.png">',
  9506. 'optional1--',
  9507. 'optional2',
  9508. "//a[contains(@href,'littlebyte.net')]");
  9509. }
  9510. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9511. {
  9512. addFileHost(
  9513. "black\\-label\\.pro\/\\w+",
  9514. 'slow_download_button.png"|td><td title="',
  9515. 'STILL NEED CODE FOR DEAD LINKS',
  9516. 'optional1--',
  9517. 'optional2',
  9518. "//a[contains(@href,'black-label.pro')]");
  9519. }
  9520. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9521. {
  9522. addFileHost(
  9523. "temp\\-share\\.com\/\\w+",
  9524. 'publickey',
  9525. 'STILL NEED CODE FOR DEAD LINKS',
  9526. 'optional1--',
  9527. 'optional2',
  9528. "//a[contains(@href,'temp-share.com')]");
  9529. }
  9530. if (GM_getValue("Check_filesha_dot_com_links", false))
  9531. {
  9532. addFileHost(
  9533. "filesha\.com\/\\w+",
  9534. '>Download Free<',
  9535. 'STILL NEED CODE FOR DEAD LINKS',
  9536. 'optional1--',
  9537. 'optional2',
  9538. "//a[contains(@href,'filesha.com')]");
  9539. }
  9540.  
  9541. }
  9542. //start here
  9543.  
  9544. //hosts with direct download, so they must be requested for headers only
  9545. function initFileHostsHeadersOnly()
  9546. {
  9547. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9548. {
  9549. var host = new Array(5);
  9550. host[0] = linkRegex;
  9551. host[1] = isAliveRegex;
  9552. host[2] = isDeadRegex;
  9553. host[4] = ispremRegex;
  9554. host[3] = xpathEx;
  9555. http_file_hosts_headers_only.push(host);
  9556. }
  9557. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9558. {
  9559. addFileHostHeadersOnly(
  9560. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9561. 'Connection: Keep-Alive',
  9562. 'Content-Length: 3857',
  9563. 'optional2',
  9564. "//a[contains(@href,'uloziste.com')]"
  9565. )
  9566. }
  9567. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9568. {
  9569. addFileHostHeadersOnly(
  9570. "filescdn\.com\/\\w+",
  9571. 'Connection: keep-alive',
  9572. 'Company</Title>',
  9573. 'optional2',
  9574. "//a[contains(@href,'filescdn.com')]"
  9575. )
  9576. } */
  9577. if (GM_getValue("Check_adrive_dot_com_links", false))
  9578. {
  9579. addFileHostHeadersOnly(
  9580. "adrive\\.com\/public\/\\w+",
  9581. 'Connection: keep-alive',
  9582. 'orig_ref=deleted',
  9583. 'optional2',
  9584. "//a[contains(@href,'adrive.com')]"
  9585. )
  9586. }
  9587. }
  9588.  
  9589. //CustomRules
  9590. //functions add...Host copied here
  9591. function addObsoleteHost(linkRegex, xpathEx)
  9592. {
  9593. var host = new Array(2);
  9594. host[0] = linkRegex;
  9595. host[1] = xpathEx;
  9596. http_file_hosts_obsolete.push(host);
  9597. }
  9598. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9599. {
  9600. var host = new Array(7);
  9601. host[0] = linkRegex;
  9602. host[1] = isAliveRegex;
  9603. host[2] = isDeadRegex;
  9604. host[3] = isUnavaRegex;
  9605. host[4] = xpathEx;
  9606. tryLoop ? host[5] = true : host[5] = false;
  9607. host[6] = ispremRegex;
  9608. http_file_hosts.push(host);
  9609. }
  9610. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9611. {
  9612. var host = new Array(5);
  9613. host[0] = linkRegex;
  9614. host[1] = isAliveRegex;
  9615. host[2] = isDeadRegex;
  9616. host[3] = xpathEx;
  9617. host[4] = ispremRegex;
  9618. http_file_hosts_headers_only.push(host);
  9619. }
  9620. //takes a fully built rules array and adds the rules to WARLC
  9621. function applyCustomRules(customRules)
  9622. {
  9623. if (!customRules) return;
  9624. var rules, r, i;
  9625. rules = customRules.rules;
  9626. for (i = 0 ; i < rules.length ; i++)
  9627. {
  9628. r = rules[i];
  9629. if (r.enabled)
  9630. {
  9631. switch (r.type)
  9632. {
  9633. case 'single':
  9634. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9635. break;
  9636. case 'headers':
  9637. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9638. break;
  9639. case 'obsolete':
  9640. addObsoleteHost(r.urlregex, r.xpath)
  9641. break;
  9642. }
  9643. }
  9644. }
  9645. }
  9646.  
  9647.  
  9648. function initFileHostsCustom()
  9649. {
  9650. if (Custom_rules && Custom_rules_text)
  9651. {
  9652. var msg = '';
  9653. if (newVersion)
  9654. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9655. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9656. msg = '60 or more days have passed since this notification.\n\n';
  9657. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9658. {
  9659. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9660. msg +=
  9661. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9662. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9663. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9664. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9665. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9666. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9667. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9668. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9669. setTimeout(function(){alert(msg)},0);
  9670. }
  9671. var customRules = parseCustomRules(Custom_rules_text);
  9672. if (customRules.warning || customRules.error)
  9673. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9674. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9675. JSON.stringify(customRules.info, null, ' '));
  9676. applyCustomRules(customRules);
  9677. }
  9678. }
  9679. //end of CustomRules processing
  9680.  
  9681.  
  9682.  
  9683. } //end of function start
  9684.  
  9685.  
  9686.  
  9687. function initClipBoardTools()
  9688. {
  9689. unsafeWindow.copyToClipboard = function(text)
  9690. {
  9691. try
  9692. {
  9693. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9694.  
  9695. var str = Components.classes["@mozilla.org/supports-string;1"].
  9696. createInstance(Components.interfaces.nsISupportsString);
  9697. if (!str) return false;
  9698.  
  9699. str.data = text;
  9700.  
  9701. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9702. createInstance(Components.interfaces.nsITransferable);
  9703. if (!trans) return false;
  9704.  
  9705. trans.addDataFlavor("text/unicode");
  9706. trans.setTransferData("text/unicode", str, text.length * 2);
  9707.  
  9708. var clipid = Components.interfaces.nsIClipboard;
  9709. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9710. if (!clip) return false;
  9711.  
  9712. clip.setData(trans, null, clipid.kGlobalClipboard);
  9713. } catch (e) {
  9714. GM_log("Error copyToClipboard : " + e);
  9715. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9716. }
  9717. }
  9718. }
  9719.  
  9720.  
  9721.  
  9722. //CustomRules
  9723.  
  9724. function escapeRegex(str)
  9725. {
  9726. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9727. }
  9728.  
  9729.  
  9730. //called internally from parseCustomRules.
  9731. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9732. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9733. function makeCustomRule(rule)
  9734. {
  9735. function makeMatchRegex(arrmatch)
  9736. {
  9737. return escapeRegex(arrmatch.join('\n'))
  9738. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9739. .replace(/\n/g,'|'); //join together
  9740. }
  9741. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9742. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9743. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9744. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9745. if (rule.baseurl)
  9746. {
  9747. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9748. for (i = 0 ; i < len ; i++)
  9749. {
  9750. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9751. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9752. {
  9753. 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'])
  9754. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9755. }
  9756. else //baseurl in the form: example.com/xxx
  9757. {
  9758. xpath.push(m[0]);
  9759. urlregex.push(escapeRegex(m[0]) + '.');
  9760. }
  9761. }
  9762. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9763. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9764. }
  9765. return rule;
  9766. } //function makeCustomRule
  9767.  
  9768.  
  9769. /*
  9770. Takes a string containing custom link checking rules.
  9771. Returns an object with fields:
  9772. info - contains notes, warnings and errors found during parsing
  9773. rules - the array of custom rules
  9774. note, warning, error - number of each of them found during parsing
  9775. Format of the input string:
  9776. One command per line. Command format: @keyword parameter
  9777. Keywords:
  9778. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9779. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9780. These keywords can be multiple (any of them will work):
  9781. @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...)
  9782. @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+
  9783. @alivelink, @deadlink - example links
  9784. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9785. Lines starting with // and empty lines are ignored.
  9786. Invalid parameters generate errors and those lines are skipped.
  9787. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9788. Example:
  9789. @customrule filehost
  9790. @baseurl filehost.com/download/
  9791. @baseurl filehost2. com net /d?=
  9792. @alivematch id="download">
  9793. @deadmatch File not found
  9794. @deadmatch File deleted
  9795. */
  9796. function parseCustomRules(rulesStr)
  9797. {
  9798. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9799. function addInfo(type, msg, ln){
  9800. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9801. customRules[type]++;
  9802. }
  9803. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9804. if (!lines) return null;
  9805. lines.push('@#customrule _'); //to save the last rule
  9806. var m, linecount = lines.length;
  9807. var keyword, param, constr, rule, err;
  9808. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9809. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9810. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9811. var constraints = {
  9812. 'baseurl': {
  9813. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9814. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9815. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9816. 'alivematch': {
  9817. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9818. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9819. 'deadmatch': {
  9820. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9821. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9822. 'unavamatch': {
  9823. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9824. 'alivelink': {
  9825. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9826. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9827. 'deadlink': {
  9828. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9829. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9830. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9831. };
  9832. for (linenum = 0 ; linenum < linecount ; linenum++)
  9833. {
  9834. //capturing groups: 1 23 4 5 6
  9835. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9836. if (m)
  9837. {
  9838. if (m[1] || !m[2])
  9839. continue; // ignore empty lines and lines starting with //
  9840. keyword = (m[4] || m[2]).toLowerCase();
  9841. param = m[6];
  9842. if (keyword == 'customrule')
  9843. {
  9844. //save the current rule if all required fields are provided
  9845. if (rule)
  9846. {
  9847. err = false;
  9848. $.each(constraints, function(kw, constraint){
  9849. var l, constr = constraint[rule.type];
  9850. if (constr)
  9851. {
  9852. l = rule[kw] ? rule[kw].length : 0;
  9853. if (l < constr.min || l > constr.max)
  9854. {
  9855. 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);
  9856. err = true;
  9857. }
  9858. }
  9859. });
  9860. if (!err)
  9861. customRules.rules.push(makeCustomRule(rule));
  9862. }
  9863. //start a new rule
  9864. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9865. {
  9866. rule = {
  9867. 'enabled': !m[3],
  9868. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9869. 'name': param
  9870. };
  9871. }
  9872. else
  9873. {
  9874. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9875. rule = null;
  9876. }
  9877. }
  9878. else //good line format, but keyword other than customrule
  9879. {
  9880. if (!rule)
  9881. {
  9882. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9883. continue;
  9884. }
  9885. if (constraints[keyword])
  9886. {
  9887. constr = constraints[keyword][rule.type];
  9888. if (constr)
  9889. {
  9890. if (constr.paramRE && !constr.paramRE.test(param))
  9891. {
  9892. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9893. continue;
  9894. }
  9895. }
  9896. else
  9897. {
  9898. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9899. continue;
  9900. }
  9901. }
  9902. //line OK, save
  9903. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9904. }
  9905. } //if (m)
  9906. else
  9907. addInfo('warning', 'Unknown line format. Line skipped.');
  9908. } //for loop
  9909. return customRules;
  9910. } //function parseCustomRules
  9911.  
  9912.  
  9913. /* ********************UPDATES********************
  9914.  
  9915. December 14, 2016
  9916. Version 1.3.5.5
  9917. fixed some links not checking (yurii)
  9918.  
  9919. December 01, 2016
  9920. Version 1.3.5.4
  9921. added temp-share.com & filesha.com
  9922.  
  9923. November 30, 2016
  9924. Version 1.3.5.3
  9925. fixed mexashare.com not detecting some dead links
  9926.  
  9927. November 29, 2016
  9928. Version 1.3.5.2
  9929. added black-label.pro (live links only)
  9930.  
  9931. November 27, 2016
  9932. Version 1.3.5.1
  9933. made changes to filefactory
  9934.  
  9935. November 23, 2016
  9936. Version 1.3.5.0
  9937. added megashares.com to obsolete hosts
  9938. fixed letitbit not showing as obsolete
  9939. added littlebyte.net
  9940.  
  9941. November 22, 2016
  9942. Version 1.3.4.9
  9943. added code for live links to rapidgator
  9944. added dailyfiles.net
  9945. added upfiles.net
  9946. added multiup.eu
  9947.  
  9948. November 17, 2016
  9949. Version 1.3.4.8
  9950. fixed filefactory, again
  9951.  
  9952. November 17, 2016
  9953. Version 1.3.4.7
  9954. fixed filefactory folders
  9955.  
  9956. November 15, 2016
  9957. Version 1.3.4.6
  9958. fixed filefactory
  9959.  
  9960. November 14, 2016
  9961. Version 1.3.4.5
  9962. fixed rapidgator
  9963. fixed filefactory folders
  9964.  
  9965.  
  9966. November 13, 2016
  9967. Version 1.3.4.4
  9968. fixed problem with drive.google.com
  9969. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  9970.  
  9971. November 06, 2016
  9972. Version 1.3.4.3
  9973. added to obsolete hosts (by love buzz)
  9974. 4up.me
  9975. a nonfiles.com
  9976. axifile.com
  9977. creafile.net
  9978. demo.ovh.eu
  9979. filesin.com
  9980. file swap.com
  9981. gulfup.com
  9982. hexupload.com
  9983. hugefiles.net
  9984. jumbofiles.com
  9985. kingfiles.net
  9986. letitbit.net
  9987. lolabits.es
  9988. nowdownload.ch
  9989. openfile.ru
  9990. radicalshare.com
  9991. remixshare.com
  9992. storefiles.co
  9993. toutbox.fr
  9994. uploadbaz.com
  9995. uploadingit.com
  9996. verzend.be
  9997. vidplay.net
  9998. vidxden.com
  9999. xfileload.com
  10000.  
  10001. November 04, 2016
  10002. Version 1.3.4.2
  10003. added french code for rapidgator premium links
  10004. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10005.  
  10006. November 03, 2016
  10007. Version 1.3.4.1
  10008. added Portuguese code for rapidgator premium links
  10009. added suprafiles.net
  10010.  
  10011. November 02, 2016
  10012. Version 1.3.4.0
  10013. fixed depositfiles not detecting depositfiles.com/de links
  10014.  
  10015. October 27, 2016
  10016. Version 1.3.3.9
  10017. fixed uploaded.net not detecting some dead links
  10018.  
  10019. October 24, 2016
  10020. Version 1.3.3.8
  10021. added more french code for upload.af dead links
  10022.  
  10023. October 23, 2016
  10024. Version 1.3.3.7
  10025. added french for upload.af dead links
  10026.  
  10027. October 17, 2016
  10028. Version 1.3.3.6
  10029. fixed error (by Yurii)
  10030.  
  10031. October 17, 2016
  10032. Version 1.3.3.5
  10033. fixed file.al (by Yurii)
  10034.  
  10035. October 16, 2016
  10036. Version 1.3.3.4
  10037. test
  10038.  
  10039. October 11, 2016
  10040. Version 1.3.3.3
  10041. fixed subyshare.com not detecting some dead links
  10042. fixed mexashare.com
  10043. fixed pornfile.cz
  10044.  
  10045. October 10, 2016
  10046. Version 1.3.3.2
  10047. added fileflares.com
  10048. added erafile.com
  10049. added loop to subyshare.com & rockfile.eu
  10050.  
  10051. September 26, 2016
  10052. Version 1.3.3.1
  10053. added uploadocean.com
  10054.  
  10055. September 25, 2016
  10056. Version 1.3.3.0
  10057. added exbit.net
  10058.  
  10059. September 25, 2016
  10060. Version 1.3.2.9
  10061. fixed uptobox
  10062. fixed google (by kubbbie)
  10063.  
  10064. September 23, 2016
  10065. Version 1.3.2.8
  10066. added danish to rapidgator
  10067.  
  10068. September 22, 2016
  10069. Version 1.3.2.7
  10070. added wayupload.com
  10071.  
  10072. September 18, 2016
  10073. Version 1.3.2.6
  10074. added Portuguese language to rapidgator
  10075.  
  10076. September 15, 2016
  10077. Version 1.3.2.5
  10078. added languages to rapidgator
  10079. french
  10080. german
  10081. spanish
  10082. Italian
  10083. russian
  10084. polish
  10085. dutch
  10086. czech
  10087. chinese
  10088. japanese
  10089.  
  10090. September 14, 2016
  10091. Version 1.3.2.4
  10092. fixed spaceforfiles.com
  10093.  
  10094. September 09, 2016
  10095. Version 1.3.2.3
  10096. added bdupload.info
  10097. added german & deutsch language to workupload.com
  10098.  
  10099. September 08, 2016
  10100. Version 1.3.2.2
  10101. added...
  10102. storageserver.co.uk
  10103. cloud.mail.ru
  10104. fixed depositfiles
  10105.  
  10106. September 08, 2016
  10107. Version 1.3.2.1
  10108. added workupload.com
  10109.  
  10110. September 04, 2016
  10111. Version 1.3.2.0
  10112. made changes to euroshare.eu
  10113.  
  10114. September 03, 2016
  10115. Version 1.3.1.9
  10116. added usercloud.net
  10117. made changes to euroshare.eu
  10118.  
  10119. August 31, 2016
  10120. Version 1.3.1.8
  10121. fixed uptobox.com
  10122.  
  10123. August 30, 2016
  10124. Version 1.3.1.7
  10125. made changes to euroshare.eu
  10126.  
  10127. August 29, 2016
  10128. Version 1.3.1.6
  10129. made changes to data.hu
  10130.  
  10131. August 29, 2016
  10132. Version 1.3.1.5
  10133. fixed euroshare.eu not detecting dead links
  10134.  
  10135. August 23, 2016
  10136. Version 1.3.1.4
  10137. added ulozto.sk
  10138. added ulozto.cz
  10139.  
  10140. August 19, 2016
  10141. Version 1.3.1.3
  10142. fixed euroshare.eu
  10143. fixed 2share.com
  10144.  
  10145. August 17, 2016
  10146. Version 1.3.1.2
  10147. added french code for 1fichier
  10148.  
  10149. August 16, 2016
  10150. Version 1.3.1.1
  10151. fix for 1fichier folder links, by yurii
  10152.  
  10153. August 15, 2016
  10154. Version 1.3.1.0
  10155. another fix for 1fichier
  10156. added mystore.to
  10157.  
  10158. August 12, 2016
  10159. Version 1.3.0.9
  10160. fixed 1fichier
  10161.  
  10162. August 01, 2016
  10163. Version 1.3.0.8
  10164. fixed tezfiles.com not detecting some premium links
  10165.  
  10166. July 24, 2016
  10167. Version 1.3.0.7
  10168. added fileshareup.com
  10169.  
  10170. July 17, 2016
  10171. Version 1.3.0.6
  10172. added subyshare.com
  10173.  
  10174. july 10, 2016
  10175. Version 1.3.0.5
  10176. fixed ulozto.net
  10177.  
  10178. july 07, 2016
  10179. Version 1.3.0.4
  10180. fixed uloz.to
  10181.  
  10182. july 07, 2016
  10183. Version 1.3.0.3
  10184. added imagenetz.de
  10185.  
  10186. June 23, 2016
  10187. Version 1.3.0.2
  10188. excluded nexcess.net
  10189.  
  10190. June 20, 2016
  10191. Version 1.3.0.1
  10192. added daofile.com
  10193.  
  10194. June 16, 2016
  10195. Version 1.3.0.0
  10196. added mexashare.com
  10197.  
  10198. June 16, 2016
  10199. Version 1.2.9.9
  10200. added novafile.com
  10201. added uploadgig.com
  10202.  
  10203. June 15, 2016
  10204. Version 1.2.9.8
  10205. fixed upload.af
  10206.  
  10207. June 10, 2016
  10208. Version 1.2.9.7
  10209. added alltu.eu
  10210.  
  10211. June 09, 2016
  10212. Version 1.2.9.6
  10213. added code for french language to rapidgator.net & rg.to
  10214.  
  10215. June 04, 2016
  10216. Version 1.2.9.5
  10217. added upnito.sk
  10218.  
  10219. May 31, 2016
  10220. Version 1.2.9.4
  10221. fixed mega.co (by yurii)
  10222.  
  10223. May 31, 2016
  10224. Version 1.2.9.3
  10225. code cleanup
  10226.  
  10227. May 27, 2016
  10228. Version 1.2.9.2
  10229. added filesin.space
  10230.  
  10231. May 27, 2016
  10232. Version 1.2.9.1
  10233. added
  10234. filescdn.com
  10235. bankupload.com
  10236. katfile.com
  10237.  
  10238. May 18, 2016
  10239. Version 1.2.9.0
  10240. added warped.co to obsolete hosts
  10241.  
  10242. May 17, 2016
  10243. Version 1.2.8.9
  10244. fixed mega.nz
  10245.  
  10246. May 16, 2016
  10247. Version 1.2.8.8
  10248. added to obsolete hosts
  10249. fileband.com
  10250. filecloud.cc
  10251. filesmelt.com
  10252. goldbytez.com
  10253. hulkshare.com
  10254. idup.in
  10255. loudupload.net
  10256. muchshare.net
  10257. myupload.dk
  10258. nekaka.com
  10259. netkups.com
  10260. plunder.com
  10261. uploads.xxx
  10262. uploadspace.pl
  10263. xkeepfile.com
  10264.  
  10265. May 16, 2016
  10266. Version 1.2.8.7
  10267. added upnito.sk to obsolete hosts
  10268.  
  10269. May 15, 2016
  10270. Version 1.2.8.6
  10271. fixed uploading.site
  10272.  
  10273. May 15, 2016
  10274. Version 1.2.8.5
  10275. added oload.net
  10276.  
  10277. May 14, 2016
  10278. Version 1.2.8.4
  10279. added uploading.site
  10280.  
  10281. May 13, 2016
  10282. Version 1.2.8.3
  10283. added uploadc.ch
  10284. fixed vidspot.net
  10285.  
  10286. May 13, 2016
  10287. Version 1.2.8.2
  10288. added keepshare.net
  10289.  
  10290. May 11, 2016
  10291. Version 1.2.8.1
  10292. added uploadserv.com
  10293.  
  10294. May 09, 2016
  10295. Version 1.2.8.0
  10296. fixed upstore.net & upsto.re
  10297. added 24uploading.com to obsolete hosts
  10298.  
  10299. May 06, 2016
  10300. Version 1.2.7.9
  10301. added storagon.com to obsolete hosts
  10302. fixed worldbytez.com
  10303.  
  10304. May 02, 2016
  10305. Version 1.2.7.8
  10306. added myfiles.onl
  10307.  
  10308. april 28, 2016
  10309. Version 1.2.7.7
  10310. fixed bytewhale.com
  10311.  
  10312. april 27, 2016
  10313. Version 1.2.7.6
  10314. fixed rapidgator not detecting some premium links.
  10315.  
  10316. april 27, 2016
  10317. Version 1.2.7.5
  10318. added jeodrive.com
  10319.  
  10320. april 26, 2016
  10321. Version 1.2.7.4
  10322. added sanshare.com to obsolete hosts
  10323.  
  10324. april 26, 2016
  10325. Version 1.2.7.3
  10326. fixed vidspot.net
  10327.  
  10328. april 26, 2016
  10329. Version 1.2.7.2
  10330. added upx.nz
  10331.  
  10332. april 25, 2016
  10333. Version 1.2.7.1
  10334. added rapidfilehost.com to obsolete hosts
  10335. fixed bitster.cz
  10336.  
  10337. april 12, 2016
  10338. Version 1.2.7.0
  10339. fixed rapidgator not detecting some premium links.
  10340.  
  10341. april 11, 2016
  10342. Version 1.2.6.9
  10343. changed code for ncrypt.in
  10344.  
  10345. april 07, 2016
  10346. Version 1.2.6.8
  10347. added fileinz.com to obsolete hosts.
  10348.  
  10349. april 06, 2016
  10350. Version 1.2.6.7
  10351. added sharingmaster.com to obsolete hosts.
  10352.  
  10353. april 05, 2016
  10354. Version 1.2.6.6
  10355. added 4upfiles.com & elffiles.com to obsolete hosts
  10356.  
  10357. april 03, 2016
  10358. Version 1.2.6.5
  10359. updates to configuration page
  10360.  
  10361. March 31, 2016
  10362. Version 1.2.6.4
  10363. added code for tampermonkey 4.0 compatibility
  10364.  
  10365. March 31, 2016
  10366. Version 1.2.6.3
  10367. fixed uloz.to
  10368. fixed copy dead links to clipboard feature
  10369. added copy live links to clipboard feature.
  10370.  
  10371. March 24, 2016
  10372. Version 1.2.6.2
  10373. changed made to nitroflare. (yurri)
  10374.  
  10375. March 20, 2016
  10376. Version 1.2.6.1
  10377. fixed rapidgator
  10378. fixed dfiles
  10379. fixed dl.free.fr
  10380. fixed nitroflare.com (Fixed by Yurii)
  10381.  
  10382. March 15, 2016
  10383. Version 1.2.6.0
  10384. fixed rapidgator.net
  10385. fixed uploaded.net
  10386.  
  10387. March 13, 2016
  10388. Version 1.2.5.9
  10389. added
  10390. uploads.ws
  10391. upl.me
  10392. clicknupload.link
  10393. added fileover.net to obsolete hosts
  10394. fixed kingfiles.net
  10395.  
  10396. March 09, 2016
  10397. Version 1.2.5.8
  10398. added kingfiles.net to obsolete hosts
  10399. fixed 4upld.com/expressleech.com
  10400.  
  10401. March 08, 2016
  10402. Version 1.2.5.7
  10403. fixed solidfiles.com
  10404.  
  10405. March 01, 2016
  10406. Version 1.2.5.6
  10407. added filespace.com
  10408. fixed depositfiles (by yurii)
  10409.  
  10410. February 29, 2016
  10411. Version 1.2.5.5
  10412. made change to keep2share
  10413.  
  10414. February 28, 2016
  10415. Version 1.2.5.4
  10416. removed down4files.com from obsolete hosts.
  10417.  
  10418. February 26, 2016
  10419. Version 1.2.5.3
  10420. fixed userscloud.com
  10421.  
  10422. February 24, 2016
  10423. Version 1.2.5.2
  10424. added yandex.com
  10425. fixed datafile.com
  10426.  
  10427. February 22, 2016
  10428. Version 1.2.5.1
  10429. added bigfile.to
  10430.  
  10431. February 20, 2016
  10432. Version 1.2.5.0
  10433. added abelhas.pt
  10434.  
  10435. February 18, 2016
  10436. Version 1.2.4.9
  10437. made change to uptobox
  10438.  
  10439. February 17, 2016
  10440. Version 1.2.4.8
  10441. fixed yadi.sk
  10442.  
  10443. February 16, 2016
  10444. Version 1.2.4.7
  10445. fixed datafile.com
  10446. fixed filecad.com
  10447. added filecore.co & filestorm.to to obsolete hosts
  10448. added upload.af, filedwon.in & uplod.it
  10449.  
  10450. February 15, 2016
  10451. Version 1.2.4.6
  10452. fixed kumpulbagi.id
  10453. added sangfile.com to obsolete hosts
  10454.  
  10455. February 14, 2016
  10456. Version 1.2.4.5
  10457. fixed yandex.ru
  10458.  
  10459. February 13, 2016
  10460. Version 1.2.4.4
  10461. added lunaticfiles.com.
  10462.  
  10463. February 09, 2016
  10464. Version 1.2.4.3
  10465. added file.up09.com.
  10466.  
  10467. February 09, 2016
  10468. Version 1.2.4.2
  10469. tezfiles.com premium links now detected.
  10470.  
  10471. February 09, 2016
  10472. Version 1.2.4.1
  10473. added seenupload.com to obsolete hosts
  10474. fixed 180upload.com to show obsolete
  10475.  
  10476. February 08, 2016
  10477. Version 1.2.4.0
  10478. added tusfiles.com
  10479. added filesupload.org
  10480. added gigasize.com
  10481. added filecad.com
  10482. fixed filecloud.io
  10483. added uploadnet.co to obsolete hosts
  10484.  
  10485. February 07,2016
  10486. Vession 1.2.3.9
  10487. fixed depositfiles.com folders
  10488. fixed turbobit.net folders
  10489.  
  10490. February 06, 2016
  10491. Version 1.2.3.8
  10492. fixed 1fichier false dead links
  10493.  
  10494. February 04, 2106
  10495. Version 1.2.3.7
  10496. added geupload and lenfile to obsolete hosts
  10497. fixed kyc.pm/depfile
  10498.  
  10499. February 03, 2016
  10500. Version 1.2.3.6
  10501. fixed some nitroflare.com dead links not being detected
  10502.  
  10503. February 01, 2016
  10504. Version 1.2.3.5
  10505. script moved to new site
  10506.  
  10507. January 20, 2016
  10508. Version 1.2.3.3
  10509. fixed some rapidgator premium link not being detected
  10510.  
  10511. January 17, 2016
  10512. Version 1.2.3.2
  10513. added bytewhale.com
  10514. added rapidrar.com
  10515.  
  10516. Version 1.2.3.1
  10517. added 180upload.com to obsolete hosts
  10518. fixed hellspy.com
  10519. added dinoshare.cz,
  10520.  
  10521. January 13, 2016
  10522. Version 1.2.3.0
  10523. added rapidu.net
  10524. added uploadboy.me
  10525. fixed euroshare.eu
  10526.  
  10527. January 12, 2016
  10528. Version 1.2.2.9
  10529. added kb.simple-aja.info
  10530.  
  10531. January 10, 2016
  10532. Version 1.2.2.8
  10533. made changes to fastshare.cz
  10534.  
  10535. January 10, 2016
  10536. Version 1.2.2.7
  10537. fixed uptobox.com
  10538.  
  10539. January 09, 2016
  10540. Version 1.2.2.6
  10541. datoteke.com now detects premium links
  10542. fixed turbobit.net
  10543. fixed uptobox.com
  10544. added pornfile.cz
  10545. added pornoid.cz
  10546. added file-share.top
  10547. added bitster.cz
  10548.  
  10549. January 05, 2016
  10550. Version 1.2.2.5
  10551. fixed salefiles.com
  10552. fixed ozofile.com
  10553.  
  10554. January 04, 2016
  10555. Version 1.2.2.4
  10556. added sharehost.eu
  10557.  
  10558. December 30, 2015
  10559. Version 1.2.2.3
  10560. added tezfiles.com
  10561.  
  10562. December 28, 2015
  10563. Version 1.2.2.2
  10564. fixed some k2s & fboom dead link not getting detected
  10565. fixed some k2s premium links not getting detected.
  10566. fixed ssh.yt not detecting some dead links
  10567. fixed ncrypt.in dead links showing yellow
  10568.  
  10569. December 20, 2015
  10570. Version 1.2.2.0
  10571. added datoteke.com
  10572.  
  10573. December 19, 2015
  10574. Version 1.2.1.9
  10575. added secured.in & linksave.in to obsolete hosts
  10576.  
  10577. December 17, 2015
  10578. Version 1.2.1.8
  10579. added german for dead links to secureupload.eu.
  10580.  
  10581. December 17, 2015
  10582. Version 1.2.1.7
  10583. added french for dead links to secureupload.eu.
  10584. fixed problem with tooltip display.
  10585.  
  10586. December 13, 2015
  10587. Version 1.2.1.6
  10588. added netload.me & fileparadox.in to obsolete hosts
  10589.  
  10590. December 09, 2015
  10591. Version 1.2.1.5
  10592. added rapidsonic.com & fileparadox.com to obsolete hosts
  10593.  
  10594. December 04, 2015
  10595. Version 1.2.1.4
  10596. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10597.  
  10598. December 03, 2015
  10599. Version 1.2.1.3
  10600. added dailyuploads.net
  10601.  
  10602. December 02, 2015
  10603. Version 1.2.1.2
  10604. fixed hitfile.net
  10605. fixed kingfiles.net
  10606.  
  10607. November 30, 2015
  10608. Version 1.2.1.1
  10609. added filepost.com to obsolete hosts
  10610. added devilshare.net
  10611.  
  10612. November 28, 2015
  10613. Version 1.2.1.0
  10614. fixed datafile.com not detecting some premium links.
  10615.  
  10616. November 25, 2015
  10617. Version 1.2.0.9
  10618. fixed filejoker.net
  10619. fixed toutbox.fr
  10620. fixed nowvideo.sx
  10621.  
  10622. November 24, 2015
  10623. Version 1.2.0.8
  10624. fixed openload.io
  10625.  
  10626. November 20, 2015
  10627. Version 1.2.0.7
  10628. //added file.al
  10629. //fixed nitroflare.com false live links
  10630. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10631.  
  10632. November 17, 2015
  10633. Version 1.2.0.6
  10634. added clicknupload.me
  10635.  
  10636. November 09, 2015
  10637. Version 1.2.0.5
  10638. fixed some depfile premium links not being detected
  10639.  
  10640. November 08, 2015
  10641. Version 1.2.0.4
  10642. fixed some rapidgator premium links not being detected
  10643. fixed doraupload.com
  10644.  
  10645. November 08, 2015
  10646. Version 1.2.0.3
  10647. fixed uploaded false premium
  10648.  
  10649. November 07, 2015
  10650. Version 1.2.0.2
  10651. fixed redbunker.net
  10652.  
  10653. November 05, 2015
  10654. Version 1.2.0.1
  10655. fixed app.box.com
  10656. added multiup.org (does not detect all dead links)
  10657.  
  10658. November 01, 2015
  10659. Version 1.2.0.0
  10660. added more languages to rockfile and 1fichier
  10661.  
  10662. November 01, 2015
  10663. Version 1.1.9.9
  10664. fixed rockfile.eu
  10665. changed 1fichier code (Thanks yurri)
  10666. added to obsolete hosts... (Thanks Love Buzz)
  10667. burnupload.com
  10668. cramit.in
  10669. cramitin.net
  10670. down4files.com
  10671. edoc.com
  10672. jumbofile.net
  10673. krotix.net
  10674. migahost.com
  10675. movreel.com
  10676. netload.in
  10677. newfileland.com
  10678. quickshare.cz
  10679.  
  10680. October 30, 2015
  10681. Version 1.1.9.8
  10682. added alfafile.net
  10683.  
  10684. October 26, 2015
  10685. Version 1.1.9.7
  10686. changed datafile.com and uplea.com
  10687. added lolabits.es
  10688.  
  10689. October 26, 2015
  10690. Version 1.1.9.6
  10691. added toutbox.fr
  10692.  
  10693. October 25, 2015
  10694. Version 1.1.9.5
  10695. fixed counter error
  10696.  
  10697. October 25, 2015
  10698. Version 1.1.9.4
  10699. changed uptobox.com code
  10700.  
  10701. October 21, 2015
  10702. Version 1.1.9.3
  10703. fixed uptobox.com
  10704.  
  10705. October 20, 2015
  10706. Version 1.1.9.2
  10707. bug fixes and new method of detecting premium links.
  10708.  
  10709. October 15, 2015
  10710. Version 1.1.9.1
  10711. fixed hugefiles.net false premium
  10712. changed uptobox.com code
  10713.  
  10714. October 06, 2015
  10715. Version 1.1.9.0
  10716. fixed filefactory
  10717. fixed rockfile false premium
  10718. keep2share & fileboom now detect premium links (fixed by yurii)
  10719.  
  10720. October 01, 2015
  10721. Version 1.1.8.9
  10722. fixed free.fr false premium
  10723. fixed thevideo.me false premium
  10724.  
  10725. September 28, 2015
  10726. Version 1.1.8.8
  10727. added uplea.com and openload.co
  10728.  
  10729. September 27, 2015
  10730. Version 1.1.8.7
  10731. fixed fileparadox.in false premium
  10732. added kingfiles.net to obsolete hosts
  10733. removed inafile.com from obsolete hosts
  10734.  
  10735. September 22, 2015
  10736. Version 1.1.8.6
  10737. fixed nitroflare false premium
  10738.  
  10739. September 22, 2015
  10740. Version 1.1.8.5
  10741. fixed userscloud.com false premium
  10742. fixed usersfiles.com false premium
  10743. changed arabloads.com to arabloads.net
  10744. changed nowdownloads.eu to nowdownloads.ch
  10745.  
  10746. September 21, 2015
  10747. Version 1.1.8.3
  10748. added ryushare.com to obsolete hosts.
  10749.  
  10750. September 20, 2015
  10751. Version 1.1.8.2
  10752. fixed nitroflare not showing premium links
  10753. added down4files.com,storfiles.co,filehost.pw
  10754.  
  10755. September 16, 2015
  10756. Version 1.1.8.1
  10757. added crisshare.com to obsolete hosts
  10758. fixed filemoney.com false premium
  10759. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10760.  
  10761. September 14, 2015
  10762. Version 1.1.8.0
  10763. added to obsolete hosts...
  10764. sharebeast.com
  10765. tufiles.ru
  10766.  
  10767. September 12, 2015
  10768. Version 1.1.7.9
  10769. fixed rghost.net false premium
  10770. fixed unlimitzone.com false premium
  10771. fixed turbobit.net false live link
  10772.  
  10773. September 11, 2015
  10774. Version 1.1.7.8
  10775. Fixed filefactory.com false premium.
  10776.  
  10777. September 07, 2015
  10778. Version 1.1.7.7
  10779. fixed "depositfiles.com/en/files" links not checking
  10780.  
  10781. September 06, 2015
  10782. Version 1.1.7.6
  10783. added French code for 1fichier
  10784.  
  10785. August 29, 2015
  10786. Version 1.1.7.5
  10787. fixed depositfiles
  10788. fixed mega.co.nz/mega.nz
  10789. (fixed by yurii)
  10790.  
  10791. August 23, 2015
  10792. Version 1.1.7.4
  10793. Fixed uploadrocket (by yurii)
  10794.  
  10795. August 20, 2015
  10796. Version 1.1.7.3
  10797. fixed depfile.com false premium
  10798. fixed 1fichier false premium
  10799. fixed rapidgator false premium
  10800.  
  10801. August 08, 2015
  10802. Version 1.1.7.1
  10803. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10804.  
  10805. August 07, 2015
  10806. Version 1.1.7.0
  10807. fixed...
  10808. streamin.to
  10809. thefile.me
  10810. vidzi.tv
  10811. added...
  10812. filenuke.com
  10813. vidto.me
  10814. vidspot.net
  10815. sharesix.com
  10816. sharesix.net
  10817. movpod.in,
  10818.  
  10819. August 07, 2015
  10820. Version 1.1.6.9 added...
  10821. thefile.me
  10822. vidzi.tv
  10823. videoweed.es
  10824. vodlocker.com
  10825. nowvideo.sx
  10826. cloudtime.to
  10827. thevideo.me
  10828. vidbull.com
  10829. allmyvideos.net
  10830. novamov.com
  10831. filehoot.com
  10832. stagevu.com
  10833. gorillavid.in
  10834. streamin.to
  10835.  
  10836. August 02, 2015
  10837. Version 1.1.6.8
  10838. added cloudshares.net
  10839.  
  10840. August 01, 2015
  10841. Version 1.1.6.7
  10842. fixed depfile redirectors false premium
  10843.  
  10844. July 31, 2015
  10845. Version 1.1.6.6
  10846. fixed depfile.com false premium
  10847. */