W.A.R. Links Checker Premium

detects live, dead and premium links.

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

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @match https://pizzaonline.dominos.co.in/*
  13. // @exclude https://pizzaonline.dominos.co.in*
  14. // @include http://*
  15. // @include https://*
  16. // @include file:///*
  17. // @grant GM_setValue
  18. // @grant GM_getValue
  19. // @grant GM_xmlhttpRequest
  20. // @grant GM_log
  21. // @grant GM_addStyle
  22. // @grant GM_registerMenuCommand
  23. // @grant GM_getResourceText
  24. // @grant GM_info
  25. // @grant GM_setClipboard
  26. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  27. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  28. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  29. // @homepage http://usa.x10host.com/mybb
  30. // @namespace war premium
  31. // @noframes
  32. // @version 1.3.6.2
  33. // ==/UserScript==
  34.  
  35. var War_version = "1.3.6.2 January 12, 2017";
  36.  
  37. //separate alternative domains with "|" char (first name is considered being main)
  38. var allHostNames = [
  39. "1fichier.com|dl4free.com",
  40. "black-label.pro",
  41. "temp-share.com",
  42. "ausfile.com",
  43. "filesha.com",
  44. "upfiles.net",
  45. "dailyfiles.net",
  46. "upfile.mobi",
  47. "share.az",
  48. "uploadocean.com",
  49. "drive.google.com",
  50. "suprafiles.net",
  51. "fileflares.com",
  52. "erafile.com",
  53. "mystore.to",
  54. "littlebyte.net",
  55. "exbit.net",
  56. "bdupload.info",
  57. "workupload.com",
  58. "wayupload.com",
  59. "cloud.mail.ru",
  60. "fileshareup.com",
  61. "usercloud.net",
  62. "daofile.com",
  63. "subyshare.com",
  64. "mexashare.com",
  65. "uploadgig.com",
  66. "upload.af",
  67. "alltu.eu",
  68. "filesin.space",
  69. "imagenetz.de",
  70. "katfile.com",
  71. "bankupload.com",
  72. "keepshare.net",
  73. "filescdn.com",
  74. "myfiles.onl",
  75. "uploadserv.com",
  76. "uploading.site",
  77. "filedwon.info",
  78. "jeodrive.com",
  79. "ncrypt.in",
  80. "yandex.com",
  81. "down4files.com",
  82. 'filespace.com',
  83. "uplod.it",
  84. "rapidu.net",
  85. "uploads.ws|upl.me",
  86. "file.up09.com",
  87. "lunaticfiles.com",
  88. "filecad.com",
  89. "filesupload.org",
  90. "bytewhale.com",
  91. "rapidrar.com",
  92. "download.cz.hellshare.com",
  93. "pornfile.cz",
  94. "dinoshare.cz",
  95. "kb.simple-aja.info",
  96. "bitster.cz",
  97. "file-share.top",
  98. "pornoid.cz",
  99. "dailyuploads.net",
  100. "sharehost.eu",
  101. "tezfiles.com",
  102. "devilshare.net",
  103. "alfafile.net",
  104. "openload.co",
  105. "multiup.org",
  106. "uplea.com",
  107. "filenuke.com",
  108. "file.al|1f.al",
  109. "vidto.me",
  110. "filehost.pw",
  111. "turbobit.ru",
  112. "sharesix.com|sharesix.net",
  113. "movpod.in",
  114. "thefile.me",
  115. "datoteke.com",
  116. "vidzi.tv",
  117. "videoweed.es",
  118. "vodlocker.com",
  119. "nowvideo.sx",
  120. "cloudtime.to",
  121. "thevideo.me",
  122. "vidbull.com",
  123. "novamov.com",
  124. "filehoot.com",
  125. "stagevu.com",
  126. "gorillavid.in",
  127. "streamin.to",
  128. "4upld.com|expressleech.com",
  129. "cloudshares.net",
  130. "swoopshare.com",
  131. "2shared.com",
  132. "fileupload.pw",
  133. "zxcfiles.com",
  134. "up07.net",
  135. "4shared.com",
  136. "adrive.com",
  137. "aisfile.com",
  138. "bezvadata.cz",
  139. "usersfiles.com",
  140. "pan.baidu.com",
  141. "datei.to",
  142. "daten-hoster.de|filehosting.org|xtraupload.de",
  143. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  144. "divshare.com",
  145. "easy-share.com|crocko.com",
  146. "easybytez.com",
  147. "edisk.cz",
  148. "euroshare.eu",
  149. "file-upload.net",
  150. "yadi.sk",
  151. "wizupload.com",
  152. "fastshare.cz",
  153. "filefactory.com",
  154. "share.vnn.vn",
  155. "yunpan.cn",
  156. "tropicshare.com",
  157. "cloudzilla.to",
  158. "inclouddrive.com",
  159. "fileflyer.com",
  160. "filerio.com|filekeen.com",
  161. "up.4share.vn",
  162. "upfile.vn",
  163. "datafilehost.com",
  164. "worldbytez.com",
  165. "files.mail.ru",
  166. "filesflash.com",
  167. "box.com",
  168. "uptobox.com",
  169. "box.net",
  170. "sdilej.cz",
  171. "ex-load.com",
  172. "filesmonster.com",
  173. "filestore.to",
  174. "hulkload.com",
  175. "filedropper.com",
  176. "free-uploading.com",
  177. "gamefront.com|filefront.com",
  178. "gettyfile.ru",
  179. "gigapeta.com",
  180. "gigasize.com",
  181. "hellshare.com",
  182. "hellspy.com",
  183. "hitfile.net",
  184. "hostuje.net",
  185. "freefilehosting.net",
  186. "free.fr",
  187. "hyperfileshare.com",
  188. "filecloud.io|ifile.it",
  189. "ifolder.ru",
  190. "uploadrocket.net",
  191. "lafiles.com",
  192. "leteckaposta.cz|sharegadget.com",
  193. "load.to",
  194. "mediafire.com",
  195. "megafileupload.com",
  196. "movshare.net",
  197. "narod.ru|narod.yandex.ru",
  198. "fboom.me|fileboom.me",
  199. "partage-facile.com",
  200. "sharerapid.cz",
  201. "exclusiveloader.com",
  202. "acefile.net",
  203. "queenshare.com",
  204. "rapidgator.net",
  205. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  206. "oboom.com",
  207. "filepi.com",
  208. "neodrive.co",
  209. "rarefile.net",
  210. "rayfile.com",
  211. "rghost.net",
  212. "sendmyway.com",
  213. "clicknupload.com",
  214. "clicknupload.me",
  215. "clicknupload.link",
  216. "uploadable.ch",
  217. "sharemods.com",
  218. "hostr.co",
  219. "sendspace.com",
  220. "sharecash.org",
  221. "share-links.biz",
  222. "share-online.biz|egoshare.com",
  223. "megarapid.cz",
  224. "shareflare.net",
  225. "solidfiles.com",
  226. "led.wf",
  227. "lan.wf",
  228. "adlink.wf",
  229. "click.tf",
  230. "kyc.pm",
  231. "ssh.tf",
  232. "ssh.yt",
  233. "yep.pm",
  234. "stahovanizasms.cz",
  235. "turbobit.net",
  236. "tikfile.com",
  237. "cloudsix.me",
  238. "turboupload.com",
  239. "uloz.to",
  240. "ulozto.net",
  241. "ulozto.sk",
  242. "ulozto.cz",
  243. "ulozisko.sk",
  244. "uloziste.com",
  245. "unibytes.com",
  246. "upload-il.net|przeslij.net",
  247. "uploaded.to|uploaded.net|ul.to",
  248. "uploading.com",
  249. "chayfile.com",
  250. "rockfile.eu",
  251. "usaupload.net",
  252. "veehd.com",
  253. "videobb.com",
  254. "vip-file.com",
  255. "webshare.cz",
  256. "xdisk.cz",
  257. "yunfile.com|filemarkets.com",
  258. "ziddu.com",
  259. "zippyshare.com",
  260. "rodfile.com",
  261. "wikiupload.com",
  262. "uploadstube.de",
  263. "faststore.org",
  264. "flyfiles.net",
  265. "prefiles.com",
  266. "hackerbox.org",
  267. "amonshare.com",
  268. "data.hu",
  269. "brupload.net",
  270. "kingfiles.net",
  271. "userscloud.com",
  272. "kumpulbagi.com|kumpulbagi.id",
  273. "uppit.com|up.ht|upx.nz",
  274. "downloadani.me",
  275. "filesabc.com",
  276. "extmatrix.com",
  277. "sendfiles.nl",
  278. "yourfilestore.com",
  279. "filebig.net",
  280. "file4safe.com",
  281. "tusfiles.net|tusfiles.com",
  282. "filemac.com",
  283. "ozofiles.com",
  284. "nosupload.com",
  285. "gboxes.com",
  286. "myvdrive.com|fileserving.com",
  287. "novafile.com",
  288. "longfiles.com",
  289. "bitupload.com",
  290. "indowebster.com",
  291. "superload.cz",
  292. "mafiastorage.com",
  293. "hellupload.com",
  294. "stiahni.si",
  295. "sendspace.pl",
  296. "fastshare.org",
  297. "filejoker.net",
  298. "filestore.com.ua",
  299. "rapidfileshare.net",
  300. "stiahnito.sk",
  301. "rusfolder.com",
  302. "catshare.net",
  303. "mixturecloud.com",
  304. "filedais.com",
  305. // "imdb.com",
  306. "nitroflare.com",
  307. "akafile.com",
  308. "up.top4top.net",
  309. "upload.ee",
  310. "shareplace.org",
  311. "uploadc.com",
  312. "uploadc.ch",
  313. "exoshare.com",
  314. "borncash.org",
  315. "junocloud.me",
  316. "2downloadz.com",
  317. "mightyupload.com",
  318. "anysend.com",
  319. "datafile.com",
  320. "upstore.net",
  321. "upsto.re",
  322. "speedy.sh",
  323. "ge.tt",
  324. "filesflash.net",
  325. "salefiles.com",
  326. "datoid.cz",
  327. "cloudstor.es",
  328. "streamfile.com",
  329. "eyesfile.ca",
  330. "filemoney.com",
  331. "uploadboy.com",
  332. "uploadboy.me",
  333. "speedshare.eu",
  334. "google.com|google.be",
  335. "unlimitzone.com",
  336. "rioupload.com",
  337. "rg.to",
  338. "jumbofiles.org",
  339. "fshare.vn",
  340. "spaceforfiles.com",
  341. "up.media1fire.com",
  342. "depfile.com",
  343. "go4up.com",
  344. "dropbox.com",
  345. "redbunker.net",
  346. "divxpress.com",
  347. "mega.nz|mega.co.nz",
  348. "storageserver.co.uk",
  349. "anafile.com",
  350. "bigfile.to",
  351. "arabloads.net",
  352. "sharerepo.com",
  353. "sfshare.se",
  354. "files.fm",
  355. "koofile.com",
  356. "doraupload.com",
  357. "openload.io",
  358. "upnito.sk",
  359. "oload.net",
  360. ];
  361.  
  362. try
  363. {
  364. //iframes excluded
  365. if (window.top != window.self)
  366. {
  367. return;
  368. }
  369. //allHostNames sites excluded
  370. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  371. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  372. ")"))
  373. {
  374. return;
  375. }
  376. }
  377. catch (e)
  378. {
  379. return;
  380. }
  381.  
  382. //separate alternative domains with "|" char (first name is considered being main)
  383. var allContainerNames = [
  384. "adf.ly",
  385. "linkcrypt.ws",
  386. "linksafe.me",
  387. // "linksave.in",
  388. "linkto.net",
  389. "madlink.sk",
  390. "multiload.cz",
  391. "mirrorcreator.com",
  392. // "ncrypt.in",
  393. "redi.re",
  394. "relink.us",
  395. "safelinking.net",
  396. "theloo.katt.it",
  397. "bit.ly",
  398.  
  399. ];
  400.  
  401. //separate alternative domains with "|" char (first name is considered being main)
  402. var allObsoleteNames = [
  403. "4up.me",
  404. "anonfiles.com",
  405. "axifile.com",
  406. "creafile.net",
  407. "demo.ovh.eu",
  408. "filesin.com",
  409. "fileswap.com",
  410. "gulfup.com",
  411. "hexupload.com",
  412. "secureupload.eu",
  413. "hugefiles.net",
  414. "jumbofiles.com",
  415. "letitbit.net",
  416. "lolabits.es",
  417. "nowdownload.ch",
  418. "openfile.ru",
  419. "radicalshare.com",
  420. "remixshare.com",
  421. "storefiles.co",
  422. "toutbox.fr",
  423. "uploadbaz.com",
  424. "uploadingit.com",
  425. "verzend.be",
  426. "vidplay.net",
  427. "vidxden.com",
  428. "xfileload.com",
  429. "warped.co",
  430. "xkeepfile.com",
  431. "abelhas.pt",
  432. "uploadspace.pl",
  433. "allmyvideos.net",
  434. "uploads.xxx",
  435. "netkups.com",
  436. "nekaka.com",
  437. "vidspot.net",
  438. "myupload.dk",
  439. "muchshare.net",
  440. "loudupload.net",
  441. "idup.in",
  442. "hulkshare.com",
  443. "goldbytez.com",
  444. "filesmelt.com",
  445. "fileband.com",
  446. "uloz.cz",
  447. "secured.in",
  448. "rapidfilehost.com",
  449. "fileover.net",
  450. "fileinz.com",
  451. "linksave.in",
  452. "seenupload.com",
  453. "sangfile.com",
  454. "filepost.com|fp.io",
  455. "sharingmaster.com ",
  456. "24uploading.com",
  457. "storagon.com",
  458. "sanshare.com",
  459. "filestorm.to",
  460. "uploadnet.co",
  461. "180upload.com",
  462. "rapidsonic.com",
  463. "fileparadox.com",
  464. "4upfiles.com",
  465. "geupload.com",
  466. "lenfile.com",
  467. "fileparadox.in",
  468. "uploadhero.co",
  469. "uploadhero.com",
  470. "newfileland.com",
  471. "quickshare.cz",
  472. "elffiles.com",
  473. "netload.in",
  474. "netload.me",
  475. "movreel.com",
  476. "migahost.com",
  477. "krotix.net",
  478. "jumbofile.net",
  479. "edoc.com",
  480. "cramit.in|cramitin.net",
  481. "freakshare.com",
  482. "burnupload.com|burnupload.ihiphop.com",
  483. "freakshare.net",
  484. "daj.to",
  485. "bl.st",
  486. "2drive.net",
  487. "ryushare.com",
  488. "crisshare.com",
  489. "tufiles.ru",
  490. "uncapped-downloads.com",
  491. "sockshare.com",
  492. "ddlstorage.com",
  493. "dataport.cz",
  494. "dizzcloud.com",
  495. "sharebeast.com",
  496. "stahovadlo.cz",
  497. "shared.com",
  498. "storage.to",
  499. "putlocker.com",
  500. "lumfile.com",
  501. "lumfile.se",
  502. "lumfile.eu",
  503. "firedrive.com",
  504. "fileshare.in.ua",
  505. "filecore.co.nz",
  506. "filecore.co",
  507. "iskladka.cz",
  508. "file-rack.com",
  509. "fast-load.net",
  510. "subory.sk",
  511. "bigandfree.com",
  512. "fileop.com",
  513. "mujsoubor.cz",
  514. "sendfile.to",
  515. "superfastfile.com",
  516. "quickyshare.com",
  517. "duckload.com",
  518. "uploadstore.net",
  519. "meinupload.com",
  520. "dualshare.com",
  521. "2xupload.to|2xupload.de",
  522. "oxedion.com",
  523. "uploadline.com",
  524. "dll.bz",
  525. "movieshare.in",
  526. "milledrive.com",
  527. "quickupload.net",
  528. "safelink.in",
  529. "metadivx.com",
  530. "divxlink.com",
  531. "uploadrack.com",
  532. "teradepot.com",
  533. "dataup.to",
  534. "upit.to",
  535. "driveway.com",
  536. "eatlime.com",
  537. "a2zuploads.com",
  538. "friendlyfiles.net",
  539. "flyfile.us",
  540. "speedyshare.com",
  541. "uploadspace.eu",
  542. "keepfile.com",
  543. "piggyshare.com",
  544. "uplly.com",
  545. "filecrown.com",
  546. "6giga.com",
  547. "uploadjockey.com",
  548. "bluehost.to",
  549. "filegu.ru",
  550. "filebase.to",
  551. "up-file.com",
  552. "xvideos.com",
  553. "ufox.com",
  554. "filebling.com",
  555. "loaded.it",
  556. "uploadcell.com",
  557. "uploadshare.cz",
  558. "mangoshare.com",
  559. "filestab.com",
  560. "crazyupload.com",
  561. "gaiafile.com",
  562. "sharejunky.com",
  563. "fileho.com",
  564. "bigandfree.com",
  565. "bigfile.in",
  566. "bigshare.eu",
  567. "dahosting.org",
  568. "digisofts.net",
  569. "file4save.com",
  570. "filechip.com",
  571. "filescloud.com",
  572. "saveqube.com",
  573. "turboshare.de",
  574. "z-upload.com",
  575. "youshare.com",
  576. "jiffyupload.com",
  577. "gigeshare.com",
  578. "datenklo.net",
  579. "upload.dj",
  580. "loadfiles.in",
  581. "upit.to",
  582. "dsfileshare.com",
  583. "sharesimple.net",
  584. "4files.net",
  585. "wooupload.com",
  586. "odsiebie.com",
  587. "filenavi.com",
  588. "3oof.com",
  589. "meshwaar.com",
  590. "maxupload.com",
  591. "share.cx",
  592. "atserver.eu",
  593. "hotfiles.ws",
  594. "esnips.com",
  595. "tuxfile.com",
  596. "file2upload.net",
  597. "filebling.com",
  598. "turboshare.com",
  599. "rarhost.com",
  600. "isharehd.com",
  601. "i741.com",
  602. "dataup.de",
  603. "fofly.com",
  604. "shareonall.com",
  605. "sexuploader.com",
  606. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  607. "uploadhyper.com",
  608. "filespawn.com",
  609. "caizzii.com",
  610. "volnyweb.cz",
  611. "usershare.net",
  612. "filescash.net",
  613. "metahyper.com",
  614. "combozip.com",
  615. "x7.to",
  616. "uploadbox.com",
  617. "enterupload.com|flyupload.com",
  618. "filepoint.de",
  619. "mystream.to",
  620. "x-fs.com",
  621. "shareator.com",
  622. "srapid.eu",
  623. "sosame.cz",
  624. "filesdump.com",
  625. "2-klicks.de",
  626. "uploking.com",
  627. "silofiles.com",
  628. "upfile.in",
  629. "filehook.com",
  630. "uploadking.com",
  631. "uploadhere.com",
  632. "kewlshare.com",
  633. "rapidable.com",
  634. "uploadwaste.com",
  635. "filemup.com",
  636. "filesonic.com|sharingmatrix.com",
  637. "fileserve.com",
  638. "wupload.com",
  639. "skipfile.com",
  640. "smartuploader.com",
  641. "dualshare.com",
  642. "storeandserve.com",
  643. "mountfile.com",
  644. "transitfiles.com",
  645. "uploadstation.com",
  646. "filejungle.com",
  647. "shareshared.com",
  648. "quickyshare.com",
  649. "save.am",
  650. "petandrive.com",
  651. "file2box.com",
  652. "flyshare.cz",
  653. "yabadaba.ru",
  654. "cloudcache.cc",
  655. "yourfilehost.com",
  656. "jakfile.com",
  657. "kickload.com",
  658. "pyramidfiles.com",
  659. "refile.net",
  660. "zshare.net",
  661. "ddlani.me|ddlanime.com",
  662. "ftp2share.com",
  663. "fooget.com",
  664. "rapidhide.com",
  665. "gotupload.com",
  666. "mooload.com",
  667. "zupload.com",
  668. "mytempdir.com",
  669. "onionshare.com",
  670. "stahnu.to",
  671. "oron.com",
  672. "badongo.com",
  673. "filereactor.com",
  674. "filegaze.com",
  675. "4bytez.com",
  676. "1hostclick.com",
  677. "anonstream.com",
  678. "batshare.com",
  679. "bitroad.net",
  680. "brontofile.com",
  681. "cloudnxt.net",
  682. "cloudnator.com|shragle.com",
  683. "filesfrog.net",
  684. "coolshare.cz",
  685. "dotavi.com",
  686. "ezyfile.net",
  687. "file-bit.net",
  688. "filecosy.com",
  689. "fileduct.com|fileduct.net",
  690. "filefat.com",
  691. "filelaser.com",
  692. "filemashine.com",
  693. "fileserver.cc",
  694. "filetechnology.com",
  695. "fireuploads.net",
  696. "gigfiles.net",
  697. "holderfile.com",
  698. "ihostia.com",
  699. "k2files.com",
  700. "mojofile.com",
  701. "ovfile.com",
  702. "qshare.com",
  703. "shafiles.me",
  704. "sharefilehost.com",
  705. "shareupload.com",
  706. "stahuj.to",
  707. "ugotfile.com",
  708. "uploadboost.com",
  709. "fileom.com",
  710. "vidhog.com",
  711. "xfileshare.eu",
  712. "bzlink.us",
  713. "bulletupload.com",
  714. "bloggerarticles.com",
  715. "mojedata.sk",
  716. "sharpfile.com",
  717. "upgrand.com",
  718. "nasdilej.cz",
  719. "mediatack.cz",
  720. "share-it.to",
  721. "primeupload.com",
  722. "filebeer.info",
  723. "baberepublic",
  724. "xtu.me",
  725. "sharebase.de",
  726. "luckyshare.net",
  727. "filerobo.com",
  728. "filevelocity.com",
  729. "filezpro.com",
  730. "file4sharing.com",
  731. "cing.be",
  732. "ufile.eu",
  733. "pigsonic.com",
  734. "fileupped.com",
  735. "sharerun.com",
  736. "filesaur.com",
  737. "rapidslnare.com",
  738. "bestsharing.com",
  739. "savefiles.net",
  740. "file2share.biz",
  741. "filecache.de",
  742. "monsteruploads.eu",
  743. "b9bb.com",
  744. "aiotool.net",
  745. "jamber.info",
  746. "megaftp.com",
  747. "desiupload.net",
  748. "file27.com",
  749. "yastorage.com",
  750. "filehost.ws",
  751. "copyload.com",
  752. "venusfile.com",
  753. "aieshare.com",
  754. "terafile.co",
  755. "terafile.com",
  756. "fileza.net",
  757. "filerose.com",
  758. "squillion.com",
  759. "fileprohost.com",
  760. "bitbonus.com",
  761. "warserver.cz",
  762. "uload.to",
  763. "sharedbit.net",
  764. "megaload.it",
  765. "filewinds.com",
  766. "uploadcore.com",
  767. "syfiles.com",
  768. "eyesfile.com",
  769. "hotfile.com",
  770. "superupl.com",
  771. "oteupload.com",
  772. "henchfile.com",
  773. "filegag.com",
  774. "HenchFile.com",
  775. "filedefend.com",
  776. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  777. "megabitshare.com",
  778. "cloudzer.com",
  779. "asfile.com",
  780. "cloudzer.net",
  781. "clz.to",
  782. "extabit.com",
  783. "247upload.com",
  784. "2download.de",
  785. "4fastfile.com",
  786. "asixfiles.com",
  787. "berofile.com",
  788. "bigupload.com",
  789. "cepzo.com",
  790. "clouds.to",
  791. "cobrashare.sk",
  792. "coraldrive.net",
  793. "cyberlocker.ch",
  794. "czshare.com",
  795. "darkport.org",
  796. "dark-uploads.com",
  797. "davvas.com",
  798. "enigmashare.com",
  799. "erofly.cz",
  800. "fastsonic.net",
  801. "filebox.com",
  802. "filecity.net",
  803. "filedap.com",
  804. "filedino.com",
  805. "filedownloads.org",
  806. "filefolks.com",
  807. "fileking.co",
  808. "filemates.com",
  809. "files.to",
  810. "files2k.eu",
  811. "filesector.cc",
  812. "bitshare.com",
  813. "filesega.com",
  814. "filesend.net",
  815. "filestay.com",
  816. "filestrum.com",
  817. "fileuplo.de",
  818. "fileupup.com",
  819. "forunesia.com",
  820. "freeuploads.fr",
  821. "uploa.dk",
  822. "getthebit.com",
  823. "getzilla.net",
  824. "goldfile.eu",
  825. "good.com",
  826. "grupload.com",
  827. "hellfile.com",
  828. "hipfile.com",
  829. "hitfile.com",
  830. "hulkfile.eu|duckfile.net",
  831. "i-filez.com",
  832. "ifile.ws",
  833. "kupload.org",
  834. "packupload.com",
  835. "lemuploads.com",
  836. "limelinx.com",
  837. "maxshare.pl",
  838. "megarelease.org",
  839. "megashares.com",
  840. "megashare.com",
  841. "minus.com",
  842. "mlfat4arab.com",
  843. "multishare.cz",
  844. "nirafile.com",
  845. "ok2upload.com",
  846. "peejeshare.com",
  847. "premiuns.org",
  848. "przeklej.net",
  849. "qkup.net",
  850. "rapidupload.sk",
  851. "rockdizfile.com",
  852. "rocketfile.net",
  853. "share-now.net",
  854. "share76.com",
  855. "sharebees.com",
  856. "sharefiles.co",
  857. "slingfile.com",
  858. "sms4file.com",
  859. "space4file.com",
  860. "tigershare.net",
  861. "toucansharing.com",
  862. "ubuntuone.com",
  863. "unextfiles.com",
  864. "upaj.pl",
  865. "upfile.biz",
  866. "uploadbin.net",
  867. "uploadic.com",
  868. "uploadinc.com",
  869. "uploading4u.eu",
  870. "uploadjet.net",
  871. "uploadorb.com",
  872. "upthe.net",
  873. "uptorch.com",
  874. "vidbox.yt",
  875. "videozer.com",
  876. "vreer.com",
  877. "wallobit.com",
  878. "zooupload.com",
  879. "privatefiles.com",
  880. "xerver.co",
  881. "BillionUploads.com",
  882. "rapidshare.com",
  883. "rapidshare.ru",
  884. "4savefile.com",
  885. "bayfiles.com",
  886. "bayfiles.net",
  887. "dodane.pl",
  888. "dotsemper.com",
  889. "egofiles.com",
  890. "epicshare.net",
  891. "fiberupload.net",
  892. "filemonkey.in",
  893. "filemonster.net",
  894. "filepom.com",
  895. "filesbb.com",
  896. "filevice.com",
  897. "gigaup.fr",
  898. "isavelink.com",
  899. "loombo.com",
  900. "megafiles.se",
  901. "migupload.com",
  902. "mydisc.net",
  903. "nitrobits.com",
  904. "potload.com",
  905. "redload.net",
  906. "shareprofi.com",
  907. "sharesuper.info",
  908. "sinhro.net",
  909. "speedfile.cz",
  910. "speedshare.org",
  911. "storage.novoro.net",
  912. "swankshare.com",
  913. "swatupload.com",
  914. "upafile.com",
  915. "uploadmachine.com",
  916. "uploadsat.com",
  917. "upshared.com",
  918. "usefile.com",
  919. "yourfiles.to",
  920. "zomgupload.com",
  921. "ultramegabit.com",
  922. "uploadto.us",
  923. "inafile.com",
  924. "megairon.net",
  925.  
  926. ];
  927. ///////////////////////////////////////////////////////////////////////////////////////
  928. var firstRun = GM_getValue("First_run", true);
  929.  
  930. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  931. //////////////////////////////////////////////////////////////////////////////////////
  932. try
  933. {
  934. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  935. var last_known_version = GM_getValue("last_known_version", "");
  936. if (!last_known_version)
  937. {
  938. last_known_version = thisVersion;
  939. GM_setValue("last_known_version", last_known_version);
  940. }
  941. //var newVersion = !(thisVersion == last_known_version);
  942. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  943. GM_setValue("last_known_version", thisVersion);
  944. }
  945. catch (err)
  946. {
  947. var newVersion = false;
  948. }
  949.  
  950. var now = (new Date()).getTime();
  951. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  952. if (!last_custom_rules_nag)
  953. {
  954. last_custom_rules_nag = now;
  955. GM_setValue('last_custom_rules_nag', ''+now);
  956. }
  957.  
  958.  
  959. allHostNames.sort();
  960. allContainerNames.sort();
  961. allObsoleteNames.sort();
  962.  
  963. var RAND_STRING = "8QyvpOSsRG3QWq";
  964. var DEBUG_MODE = false;
  965.  
  966. var TOOLTIP_MAXWIDTH = 600; //in pixels
  967. var TOOLTIP_THUMBWIDTH = 200;
  968. var containers_processed = false;
  969.  
  970. //settings for keyboard functions start
  971. var CHECK_ALL_LINKS_KEY = "A";
  972. var CONFIGURATION_KEY = "C";
  973. var copy_to_dead_key = "D";
  974. var copy_to_live_key = "L";
  975. var toggle_autocheck_key = "W";
  976. var toggle_Enable_Anonymizer_key = "Z";
  977. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  978. var first_key_keycodename = 'CTRL';
  979. var second_key_keycode = '18';
  980. var second_key_keycodename = 'ALT';
  981. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  982. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  983. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  984. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  985. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  986. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  987. //settings for keyboard functions end
  988.  
  989. //global settings start
  990. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  991. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  992. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  993. var Processbox_Pos_X, Processbox_Pos_Y, Progressbox_Scaling;
  994. var Show_progress_stats, Display_tooltip_info, Icon_set;
  995. var Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  996. var Progress_box_refresh_rate;
  997. var Obsolete_file_hosts;
  998. var Custom_rules, Custom_rules_text;
  999. var Progress_box_Pos_X, Progress_box_Pos_Y, Progress_box_Scaling;
  1000.  
  1001. var messageBox = document.createElement('b'); // top-left message box
  1002.  
  1003. var cLinksTotal = 0;
  1004. var cLinksDead = 0;
  1005. var cLinksAlive = 0;
  1006. var cLinksUnava = 0;
  1007. var cLinksprem = 0;
  1008. var cLinksProcessed = 0;
  1009.  
  1010. var intervalId; //for updateProgress()
  1011.  
  1012. //icon resources
  1013. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYS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kgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  1020. 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=';
  1021. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbG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f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  1026. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1027.  
  1028. //global settings end
  1029. if (window.opera && !window.console)
  1030. {
  1031. window.console = {};
  1032.  
  1033. function fn()
  1034. {
  1035. opera.postError(arguments);
  1036. };
  1037. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1038. {
  1039. window.console[name] = fn;
  1040. });
  1041. }
  1042.  
  1043. //displays colored text in message box
  1044. function sendMessage(text, color)
  1045. {
  1046. var msgDiv = document.createElement('div');
  1047. msgDiv.style.color = color;
  1048. msgDiv.innerHTML = text;
  1049. messageBox.appendChild(msgDiv);
  1050. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1051. }
  1052.  
  1053. function linkify(totalourls)
  1054. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1055. var ikkeTilladteTags;
  1056. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1057. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+" //instead of totalourls
  1058. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1059. allLinksRegex = new RegExp(allLinksRegex, "g");
  1060. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1061.  
  1062. if (Do_not_linkify_DL_links)
  1063. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1064. else
  1065. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1066.  
  1067. var regex = new RegExp(regexy);
  1068. var textNode, muligtLink;
  1069.  
  1070. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1071. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1072.  
  1073. var i = textNodes.snapshotLength;
  1074. while (i--)
  1075. {
  1076. textNode = textNodes.snapshotItem(i);
  1077.  
  1078. muligtLink = textNode.nodeValue; //all links on page
  1079.  
  1080. var myArray = null;
  1081. var span = null;
  1082. var lastLastIndex = 0;
  1083. allLinksRegex.lastIndex = 0;
  1084. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1085. {
  1086. if (textNode.parentNode.className == "adead_link") continue;
  1087. var censoredLink = muligtLink;
  1088. var span = document.createElement('span');
  1089. span.className = "adead_link";
  1090. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1091. $(span).html(censoredLink);
  1092. span.addEventListener("mouseover", displayTooltipError, false);
  1093. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1094. textNode.parentNode.replaceChild(span, textNode);
  1095. continue;
  1096. alert(censoredLink);
  1097. }
  1098. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1099. {
  1100. if (!regex.test(myArray[0])) //this link is not recognized
  1101. {
  1102.  
  1103. continue;
  1104. }
  1105. if (!span)
  1106. span = document.createElement('span');
  1107.  
  1108. var link = myArray[0];
  1109. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1110.  
  1111. var $a = $("<a>" + link + "</a>")
  1112. if (!link.match(/https?:\/\//))
  1113. {
  1114. link = 'http://' + link;
  1115. }
  1116.  
  1117. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1118. .addClass("processing_link")
  1119. .appendTo(span);
  1120. lastLastIndex = allLinksRegex.lastIndex;
  1121. }
  1122. if (span)
  1123. {
  1124. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1125. textNode.parentNode.replaceChild(span, textNode);
  1126. }
  1127. }
  1128. }
  1129.  
  1130. function add_WARLC_style()
  1131. {
  1132. if (!(document.getElementsByTagName('WARLC')[0]))
  1133. {
  1134. var meta_not_to_add_more_style = document.createElement("WARLC");
  1135. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1136. meta_not_to_add_more_style.setAttribute('name', 'description');
  1137. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1138. alive_link_png = "";
  1139. adead_link_png = "";
  1140. unava_link_png = "";
  1141. prem_link_png = "";
  1142. switch(Icon_set)
  1143. {
  1144. //no icons
  1145. case 0: break;
  1146. // cat paws
  1147. case 1: alive_link_png = PAW_ICON_GREEN;
  1148. adead_link_png = PAW_ICON_RED;
  1149. unava_link_png = PAW_ICON_YELLOW;
  1150. prem_link_png = PAW_ICON_PINK;
  1151. break;
  1152. // classic RSLC look
  1153. case 2: alive_link_png = RSLC_ICON_GREEN;
  1154. adead_link_png = RSLC_ICON_RED;
  1155. unava_link_png = RSLC_ICON_YELLOW;
  1156. prem_link_png = RSLC_ICON_PINK;
  1157. break;
  1158. // New Icons
  1159. case 3: alive_link_png = NEW_ICON_GREEN;
  1160. adead_link_png = NEW_ICON_RED;
  1161. unava_link_png = NEW_ICON_YELLOW;
  1162. prem_link_png = NEW_ICON_PINK;
  1163. break;
  1164. // cat paws
  1165. default:alive_link_png = PAW_ICON_GREEN;
  1166. adead_link_png = PAW_ICON_RED;
  1167. unava_link_png = PAW_ICON_YELLOW;
  1168. prem_link_png = PAW_ICON_PINK;
  1169. break;
  1170. }
  1171. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1172. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1173.  
  1174. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1175.  
  1176. if (Color_DL_links)
  1177. {
  1178. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1179. live_color_css = 'color:' + Live_links_color + ' !important;';
  1180. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1181. container_color_css = 'color:' + Container_links_color + ' !important;';
  1182. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1183. }
  1184. else
  1185. {
  1186. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1187. }
  1188.  
  1189. if (Show_black_background_in_DL_links)
  1190. {
  1191. black_background_css = 'background-color: black !important;';
  1192. }
  1193. else
  1194. {
  1195. black_background_css = '';
  1196. }
  1197.  
  1198. if (Show_line_through_in_dead_links)
  1199. {
  1200. line_through_css = 'text-decoration: line-through !important;';
  1201. }
  1202. else
  1203. {
  1204. line_through_css = '';
  1205. }
  1206.  
  1207. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1208. 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 + "}");
  1209. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1210. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1211. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1212. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1213. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1214. }
  1215. }
  1216.  
  1217. var warlcTooltip = null;
  1218. var mouseoverLink = null; //link href with mouse cursor over it
  1219.  
  1220. var lastX = 0;
  1221. var lastY = 0;
  1222.  
  1223. $(document).ready(initTooltip);
  1224. //inits tooltip
  1225. function initTooltip()
  1226. { warlcTooltip = document.createElement("div");
  1227. 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;");
  1228. warlcTooltip.style.visibility = "hidden";
  1229. document.body.appendChild(warlcTooltip);
  1230. }
  1231.  
  1232. //"mousemove" event handler for all links
  1233. function moveTooltip(event)
  1234. {
  1235. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1236. { //no need to reflow if the cursor moved just a little
  1237. return;
  1238. }
  1239. else
  1240. {
  1241. lastX = event.clientX;
  1242. lastY = event.clientY;
  1243. }
  1244.  
  1245. posX = event.clientX + window.pageXOffset + 10;
  1246. posY = event.clientY + window.pageYOffset;
  1247. var ttHeight = warlcTooltip.offsetHeight;
  1248. var ttFreeSpace = window.innerHeight - event.clientY;
  1249. if (ttHeight > ttFreeSpace)
  1250. { //prevents tooltip from getting out of the window
  1251. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1252. }
  1253. else
  1254. {
  1255. posY += 7;
  1256. }
  1257. warlcTooltip.style.top = posY + "px";
  1258. warlcTooltip.style.left = posX + "px";
  1259. }
  1260.  
  1261. //"mouseout" event handler for all links
  1262. function hideTooltip(){
  1263. warlcTooltip.style.visibility = "hidden";
  1264. mouseoverLink = null;
  1265. }
  1266.  
  1267.  
  1268. //"mouseover" event handler for dead links
  1269. //displays tooltip error message on dead links
  1270. function displayTooltipError()
  1271. {
  1272. mouseoverLink = this.href;
  1273. this.addEventListener("mouseout", hideTooltip);
  1274. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1275. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1276. warlcTooltip.style.minWidth = 0;
  1277. warlcTooltip.style.visibility = "visible";
  1278. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1279. {
  1280. warlcTooltip.innerHTML = this.warlc_error;
  1281. }
  1282. else
  1283. {
  1284. loadErrorInfo(this);
  1285. }
  1286. function loadErrorInfo(link)
  1287. {
  1288. var href = link.href;
  1289. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1290. GM_xmlhttpRequest({
  1291. method: 'GET',
  1292. url: href.replace(Ref_anonymize_service, ""),
  1293. headers: {
  1294. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1295. 'Accept': 'text/xml',
  1296. 'Referer': ""
  1297. },
  1298. onload: function(result) {
  1299. var res = result.responseText;
  1300. //TODO: errorRegexs -
  1301. var errorRegexs = [ //generic error messages follow
  1302. /(empty directory)/i,
  1303. /(soubor nebyl nalezen)/i,
  1304. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1305. //server specific error messages follow
  1306. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1307. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1308. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1309. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1310. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1311. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1312. /class="red">(.+?)<(?:span|br)>/, //czshare
  1313. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1314. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1315. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1316. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1317. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1318. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1319. /(File has been removed due to Copyright Claim)/, //filerio
  1320. ];
  1321. var errorIdx = errorRegexs.length;
  1322. var error = "Cause of error: <b>unknown</b>";
  1323. var errorCandidate = "";
  1324. while(errorIdx--)
  1325. {
  1326. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1327. if (errorCandidate != null)
  1328. {
  1329. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1330. break;
  1331. }
  1332. }
  1333. //link attributes
  1334. link.warlc_error = error;
  1335. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1336. {
  1337. warlcTooltip.innerHTML = error;
  1338. }
  1339. }
  1340. });
  1341. }
  1342. }
  1343.  
  1344. //"mouseover" event handler for alive links
  1345. //displays tooltip info (file size, file name,...) on alive links
  1346. function displayTooltipInfo()
  1347. {
  1348. mouseoverLink = this.href;
  1349. //exclude direct download filehostings
  1350. 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)/))
  1351. {
  1352. return;
  1353. }
  1354. this.addEventListener("mouseout", hideTooltip);
  1355. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1356. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1357. warlcTooltip.style.minWidth = 0;
  1358. warlcTooltip.style.visibility = "visible";
  1359. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1360. {
  1361. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1362. }
  1363. else
  1364. {
  1365. loadInfo(this);
  1366. }
  1367. function loadInfo(link)
  1368. {
  1369. var href = link.href;
  1370. GM_xmlhttpRequest({
  1371. method: 'GET',
  1372. url: href.replace(Ref_anonymize_service, ""),
  1373. headers: {
  1374. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1375. 'Accept': 'text/xml',
  1376. 'Referer': ""
  1377. },
  1378. onload: function(result) {
  1379. var res = result.responseText;
  1380. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1381. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1382. /fl" title="(.+?)">/, //edisk
  1383. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1384. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1385. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1386. /title="download (.+?)">/, //sendspace
  1387. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1388. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1389. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1390. /d0FileName = "(.+?)";/, //letitbit
  1391. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1392. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1393. /fname" value="(.+?)">/, //syfiles, grupload,
  1394. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1395. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1396. /Complete name : (.+?)<br \/>/, //bezvadata
  1397. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1398. ];
  1399. var nameIdx = nameRegexs.length;
  1400. // [sizeRegexs]
  1401. // / \ \?
  1402. // prefix (size) postfix
  1403. // / \
  1404. // val quant
  1405. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1406. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1407. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1408. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1409. var postSizeRegex = '(?:\\))?';
  1410. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1411. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1412. ];
  1413. var sizeIdx = sizeRegexs.length;
  1414. //
  1415. //
  1416. var tooltip = "File Name: <b>";
  1417. var fileName = "unknown";
  1418. var nameCandidate = "";
  1419. while(nameIdx--)
  1420. {
  1421. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1422. if (nameCandidate != null)
  1423. {
  1424. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1425. break;
  1426. }
  1427. }
  1428. tooltip += fileName + "</b><br>File Size: <b>";
  1429. var fileSize = "unknown";
  1430. var sizeCandidate = "";
  1431. while(sizeIdx--)
  1432. {
  1433. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1434. if (sizeCandidate != null)
  1435. {
  1436. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1437. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1438. {
  1439. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1440. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1441. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1442. }
  1443. break;
  1444. }
  1445. }
  1446. tooltip += fileSize + "</b>";
  1447. // PROTOTYPE
  1448. // video thumbnails
  1449. if (href.match('hellshare'))
  1450. {
  1451. var thumbs;
  1452. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1453. if (thumbs)
  1454. {
  1455. tooltip += '<br>';
  1456. var j = Math.min(thumbs.length, 9);
  1457. for (var i = 0; i < j; i++)
  1458. {
  1459. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1460. }
  1461. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1462. }
  1463. }
  1464. if (href.match('czshare'))
  1465. {
  1466. var thumbs;
  1467. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1468. if (thumbs)
  1469. {
  1470. var thumbsServer = thumbs[1];
  1471. var thumbsId = thumbs[2];
  1472. tooltip += '<br>';
  1473. for (var i = 1; i < 9; i++)
  1474. {
  1475. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1476. }
  1477. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1478. }
  1479. }
  1480. if (href.match('bezvadata'))
  1481. {
  1482. var thumbs;
  1483. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1484. if (thumbs)
  1485. {
  1486. tooltip += '<br>';
  1487. var j = Math.min(thumbs.length, 9);
  1488. for (var i = 0; i < j; i++)
  1489. {
  1490. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1491. }
  1492. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1493. }
  1494. }
  1495. link.warlc_tooltipcache = tooltip;
  1496. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1497. {
  1498. warlcTooltip.innerHTML = tooltip;
  1499. }
  1500. }
  1501. });
  1502. }
  1503. }
  1504.  
  1505. function setVariables()
  1506. {
  1507. if (firstRun)
  1508. {
  1509. GM_log('First run, applying default settings...');
  1510. GM_setValue("Icon_set",1);
  1511. GM_setValue("Display_tooltip_info",true);
  1512. GM_setValue("Show_black_background_in_DL_links",false);
  1513. GM_setValue("Show_line_through_in_dead_links",false);
  1514. GM_setValue("Display_full_links_in_link_containers",false);
  1515. GM_setValue("Allow_spaces_in_DL_links",false);
  1516. GM_setValue("Autocheck",true);
  1517. GM_setValue("Enable_Anonymizer",false);
  1518. GM_setValue("Do_not_linkify_DL_links",false);
  1519. GM_setValue("Show_progress_stats",true);
  1520. GM_setValue("Keyboard_functions",true);
  1521. GM_setValue("Obsolete_file_hosts",false);
  1522. GM_setValue("Color_DL_links",true);
  1523. GM_setValue("Live_links_color","Green");
  1524. GM_setValue("Dead_links_color","#FF3300");
  1525. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1526. GM_setValue("Container_links_color","DarkKhaki");
  1527. GM_setValue("Premium_links_color","DeepPink");
  1528. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1529. GM_setValue("Custom_rules",false);
  1530. GM_setValue("Custom_rules_text","");
  1531. GM_setValue("Processbox_Pos_Y", 0);
  1532. GM_setValue("Processbox_Pos_X", 88);
  1533. GM_setValue("Progressbox_Scaling", 100);
  1534. GM_setValue("First_run", false);
  1535. }
  1536. //hidden settings
  1537. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1538. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1539. GM_setValue("Progress_box_Scaling", Progress_box_Scaling = GM_getValue("Progress_box_Scaling", 100));
  1540. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1541. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1542. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1543. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1544. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1545. //hidden settings end
  1546.  
  1547. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1548. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1549. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1550. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1551. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1552. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1553. Autocheck = GM_getValue("Autocheck", true);
  1554. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1555. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1556. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1557. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1558. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1559. Color_DL_links = GM_getValue("Color_DL_links", true);
  1560. Live_links_color = GM_getValue("Live_links_color", "Green");
  1561. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1562. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1563. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1564. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1565. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1566. Custom_rules = GM_getValue("Custom_rules", false);
  1567. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1568. Processbox_Pos_Y = GM_getValue("Processbox_Pos_Y", 0);
  1569. Processbox_Pos_X = GM_getValue("Processbox_Pos_X", 88);
  1570. Progressbox_Scaling = GM_getValue("Progressbox_Scaling", 100);
  1571. }
  1572.  
  1573.  
  1574. // Delinkifies the links
  1575. // params:
  1576. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1577. // e.g. 'uloz.to/xs68skxl8')
  1578. function delinkifySnapshot(snapshot)
  1579. {
  1580. var n = snapshot.snapshotLength;
  1581.  
  1582. while (n--)
  1583. {
  1584. thisLink = snapshot.snapshotItem(n);
  1585.  
  1586. var spanElm = document.createElement("span");
  1587. spanElm.className = thisLink.className;
  1588. spanElm.innerHTML = thisLink.innerHTML;
  1589.  
  1590. if (Display_tooltip_info)
  1591. {
  1592. spanElm.href = thisLink.href;
  1593. switch (thisLink.className){
  1594. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1595. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1596. case "unava_link": //reserved
  1597. default:
  1598. }
  1599. }
  1600. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1601. }
  1602. }
  1603.  
  1604. function processContainers()
  1605. {
  1606. var redirectorTypes = { "HTTP_302": 0,
  1607. "INNER_LINK": 1,
  1608. "THELOO_KATT_IT": 2,
  1609. "CING_BE": 3,
  1610. "ADF_LY": 4};
  1611. var cMultiloadTotal = 0;
  1612. var cMultiloadProcessed = 0;
  1613.  
  1614. var cMirrorcreatorComTotal = 0;
  1615. var cMirrorcreatorComProcessed = 0;
  1616.  
  1617. var hostRestrictionRegex = "";
  1618. var multiloadComRestriction = "";
  1619. var multiloadComRestrictionRegex;
  1620.  
  1621. //
  1622. //HANDLING REDIRECTORS START
  1623. //
  1624.  
  1625. var redirectors = new Array();
  1626. initRedirectors();
  1627.  
  1628. var redirectorsCount = redirectors.length;
  1629.  
  1630. if (redirectorsCount > 0)
  1631. {
  1632. var allRedirectorsRegex = "";
  1633.  
  1634. //linkify redirector links
  1635. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1636. {
  1637. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1638. }
  1639. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1640. linkify(allRedirectorsRegex);
  1641. //
  1642. //process redirector links
  1643. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1644. {
  1645. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1646. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1647.  
  1648. cLinksTotal += redirectors[redirIdx].cTotal;
  1649. var linkIdx = redirectors[redirIdx].cTotal;
  1650.  
  1651. while(linkIdx--)
  1652. {
  1653. switch(redirectors[redirIdx].type)
  1654. {
  1655. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1656. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1657. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1658. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1659. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1660. default:
  1661. }
  1662. }
  1663. }
  1664. //
  1665. }
  1666.  
  1667. //HTTP_302
  1668. function processRedirectorLink(link, redirectorId)
  1669. {
  1670. link.className = 'container_link';
  1671.  
  1672. GM_xmlhttpRequest({
  1673. method: 'HEAD',
  1674. url: link.href,
  1675. headers: {
  1676. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1677. 'Accept': 'text/xml',
  1678. 'Referer': ""
  1679. },
  1680. onload: function(result) {
  1681. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1682. {
  1683. processRedirectorLink(link, redirectorId);
  1684. }
  1685. else
  1686. {
  1687. redirectors[redirectorId].cProcessed++;
  1688. link.href = result.finalUrl;
  1689. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1690. checkLinks('container_link');
  1691. }
  1692. },
  1693. onerror: function(result) { //probably caused by unresponsive filehosting
  1694. redirectors[redirectorId].cProcessed++;
  1695. link.className = 'unava_link';
  1696. cLinksProcessed++;
  1697. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1698. checkLinks('container_link');
  1699. }
  1700. });
  1701. }
  1702. //INNER_LINK
  1703. function processRedirectorLinkEx(link, redirectorId)
  1704. {
  1705. link.className = 'container_link';
  1706. GM_xmlhttpRequest({
  1707. method: 'GET',
  1708. url: link.href,
  1709. headers: {
  1710. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1711. 'Accept': 'text/xml',
  1712. 'Referer': ""
  1713. },
  1714. onload: function(result) {
  1715. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1716. redirectors[redirectorId].cProcessed++;
  1717. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1718. checkLinks('container_link');
  1719. }
  1720. });
  1721. }
  1722. //theloo.katt.it (wrapped safelinking.net)
  1723. function processThelooKattItLink(link, redirectorId)
  1724. {
  1725. link.className = 'container_link';
  1726. GM_xmlhttpRequest({
  1727. method: 'GET',
  1728. url: link.href,
  1729. headers: {
  1730. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1731. 'Accept': 'text/xml',
  1732. 'Referer': ""
  1733. },
  1734. onload: function(result) {
  1735. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1736. redirectors[redirectorId].cProcessed++;
  1737. //the inner links are safelinking.net links, so lets proceed with it
  1738. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1739. {
  1740. processRedirectorLink(link, 0);
  1741. }
  1742. }
  1743. });
  1744. }
  1745. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1746. function processAdfLyLink(link, redirectorId)
  1747. {
  1748. link.className = 'container_link';
  1749. GM_xmlhttpRequest({
  1750. method: 'GET',
  1751. url: link.href,
  1752. headers: {
  1753. 'User-agent': 'Mozilla/4.0',
  1754. 'Accept': 'text/xml',
  1755. 'Referer': ""
  1756. },
  1757. onload: function(result) {
  1758. if (result.finalUrl.match('/locked/'))
  1759. {
  1760. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1761. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1762. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1763. }
  1764. else
  1765. {
  1766. // GM_log('Processing... ' + link.href);
  1767. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1768. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1769. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1770. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1771. //confirm advert
  1772. GM_xmlhttpRequest(
  1773. {
  1774. method: 'POST',
  1775. url: 'http://adf.ly/l.php',
  1776. headers: {
  1777. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1778. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1779. 'Referer': link.href
  1780. },
  1781. data: users + '&lt=' + logToken,
  1782. onload: function(result) {
  1783. //retrieve final url from .../go/... link
  1784. GM_xmlhttpRequest({
  1785. method: 'GET',
  1786. url: directLink,
  1787. headers: {
  1788. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1789. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1790. 'Referer': link.href
  1791. },
  1792. onload: function(result) {
  1793. link.href = result.finalUrl;
  1794. redirectors[redirectorId].cProcessed++;
  1795. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1796. checkLinks('container_link');
  1797. }
  1798. });
  1799. }
  1800. });
  1801. }
  1802. }
  1803. });
  1804. function proceedOK()
  1805. {
  1806. }
  1807. }
  1808. //MULTILOAD.CZ START
  1809. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1810. {
  1811. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1812. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1813.  
  1814. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1815.  
  1816. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1817. hostRestrictionRegex += 'hellshare|';
  1818. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1819. hostRestrictionRegex += 'downloadhellshare|';
  1820. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1821. hostRestrictionRegex += 'share-rapid\\.com|';
  1822. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1823. hostRestrictionRegex += 'quickshare\\.cz|';
  1824. if (GM_getValue("Check_czshare_dot_com_links", false))
  1825. hostRestrictionRegex += 'czshare\\.com|';
  1826. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1827. hostRestrictionRegex += 'hellspy|';
  1828. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1829. hostRestrictionRegex += 'multishare\\.cz|';
  1830.  
  1831. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1832.  
  1833. linkify(mlRegex);
  1834.  
  1835. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1836. var mlCount = mlSnapshot.snapshotLength;
  1837.  
  1838. if (mlCount > 0)
  1839. {
  1840. cMultiloadTotal += mlCount;
  1841.  
  1842. mlIdx = mlCount - 1;
  1843. do
  1844. {
  1845. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1846. }
  1847. while(mlIdx--)
  1848. }
  1849. }
  1850. //MULTILOAD.CZ END
  1851.  
  1852.  
  1853.  
  1854. function processMultiloadLink(mlLink)
  1855. {
  1856. GM_xmlhttpRequest({
  1857. method: 'GET',
  1858. url: mlLink.href,
  1859. headers: {
  1860. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1861. 'Accept': 'text/xml',
  1862. 'Referer': ""
  1863. },
  1864. onload: function(result) {
  1865. var res = result.responseText;
  1866.  
  1867. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1868. 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;
  1869. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1870. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1871.  
  1872. var blocks; // blocks of links
  1873. var blockIdx;
  1874.  
  1875. mlLink.className = '';
  1876.  
  1877. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1878. {
  1879. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1880. return;
  1881. }
  1882.  
  1883. blocks = res.match(innerBlockRegex);
  1884.  
  1885. if (blocks == null) //no links found, cancel further processing
  1886. {
  1887. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1888. cMultiloadProcessed++;
  1889. if (cMultiloadTotal <= cMultiloadProcessed)
  1890. {
  1891. startBulkCheck('container_link');
  1892. start('container_link');
  1893. }
  1894. return;
  1895. }
  1896.  
  1897. blockIdx = blocks.length;
  1898.  
  1899. if (Display_full_links_in_link_containers)
  1900. {
  1901. var ulElm = document.createElement('ul');
  1902. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1903.  
  1904. while(blockIdx--)
  1905. {
  1906. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1907. {
  1908. continue;
  1909. }
  1910.  
  1911. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1912.  
  1913. var linkIdx = innerLinks.length;
  1914. while (linkIdx--)
  1915. {
  1916. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1917.  
  1918. var liElm = document.createElement('li');
  1919.  
  1920. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1921. {
  1922. liElm.appendChild(document.createTextNode(innerLink));
  1923. }
  1924. else
  1925. {
  1926. var aElm = document.createElement('a');
  1927. aElm.innerHTML = innerLink;
  1928. aElm.href = innerLink;
  1929. aElm.className = 'container_link';
  1930.  
  1931. liElm.appendChild(aElm);
  1932. }
  1933.  
  1934. ulElm.appendChild(liElm);
  1935. cLinksTotal++;
  1936. }
  1937. }
  1938.  
  1939. mlLink.parentNode.appendChild(ulElm);
  1940. }
  1941. else //compact view
  1942. {
  1943. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1944.  
  1945. while(blockIdx--)
  1946. {
  1947. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1948. {
  1949. continue;
  1950. }
  1951.  
  1952. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1953.  
  1954. var linkIdx = innerLinks.length;
  1955. while (linkIdx--)
  1956. {
  1957. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1958.  
  1959. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1960. {
  1961. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1962. }
  1963. else
  1964. {
  1965. var aElm = document.createElement('a');
  1966.  
  1967. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1968.  
  1969. //abbreviate host name
  1970. switch(hostName + ""){
  1971.  
  1972. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1973. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1974. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1975. case 'multishare': aElm.innerHTML = 'MS'; break;
  1976. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1977. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1978. case 'czshare': aElm.innerHTML = 'CS'; break;
  1979. default: aElm.innerHTML = 'xx';
  1980.  
  1981. }
  1982.  
  1983. aElm.href = innerLink;
  1984. aElm.className = 'container_link';
  1985.  
  1986. mlLink.parentNode.appendChild(aElm);
  1987. cLinksTotal++;
  1988. }
  1989. }
  1990.  
  1991. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1992.  
  1993. }
  1994. }
  1995.  
  1996. cMultiloadProcessed++;
  1997. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1998. {
  1999. if (Do_not_linkify_DL_links)
  2000. {
  2001. delinkifySnapshot(mlSnapshot);
  2002. }
  2003. startBulkCheck('container_link');
  2004. start('container_link');
  2005. }
  2006. }
  2007. });
  2008. }
  2009.  
  2010.  
  2011. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  2012. {
  2013. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  2014. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  2015. var mcShortHostNames =
  2016. '?? 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';
  2017. // 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
  2018. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2019. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2020. // megaupload badongo gamefront ifile ?????? letitbit ?????? ?????? filejungle
  2021. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2022.  
  2023. linkify(mcRegex);
  2024.  
  2025. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2026. var mcCount = mcSnapshot.snapshotLength;
  2027.  
  2028. cMirrorcreatorComTotal = mcCount;
  2029.  
  2030. if (mcCount > 0)
  2031. {
  2032. mcShortHostNames = mcShortHostNames.split(' ');
  2033. mcIdx = mcCount;
  2034. while(mcIdx--)
  2035. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2036. }
  2037.  
  2038. }
  2039. //MIRRORCREATOR.CZ END
  2040.  
  2041.  
  2042. //mirrorcreator.com checking works like this:
  2043. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2044. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2045. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2046. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2047. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2048. function processMirrorcreatorLink(mcLink)
  2049. {
  2050. var mcURL = mcLink.href.match(mcRegex);
  2051. if(!mcURL || !mcURL[1]) return;
  2052. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2053. GM_xmlhttpRequest({
  2054. method: 'GET',
  2055. url: mcURL,
  2056. headers: {
  2057. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2058. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2059. 'Referer': ""
  2060. },
  2061. onload: function(mcLinkResult) {
  2062. var mcLinkRes = mcLinkResult.responseText;
  2063.  
  2064. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2065. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2066.  
  2067. var mcRedirectors;
  2068. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2069. var m = mcLinkRes.match(mcLinkBlockRegex);
  2070. if (m)
  2071. mcHostsFound = m.length;
  2072. else
  2073. { //no files inside container
  2074. processMirrorcreatorFoundHosts(mcLink, []);
  2075. return;
  2076. }
  2077.  
  2078. var mcRedirectorURL, idx, timedOut = false;
  2079.  
  2080. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2081. GM_xmlhttpRequest({
  2082. method: 'GET',
  2083. url: mcRedirectorURL,
  2084. headers: {
  2085. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2086. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2087. 'Referer': ""
  2088. },
  2089. onload: function(mcHostResult) {
  2090. if (timedOut) return; //too late, the list is already displayed
  2091. var mcHostRes = mcHostResult.responseText;
  2092. var mcHost = mcHostRes.match(mcHostRegex);
  2093. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2094. if (mcHost && idx!=-1)
  2095. {
  2096. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2097. mcHostsRetrieved++;
  2098. mcHostsToProcess++;
  2099. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2100. {
  2101. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2102. mcHostsToProcess = 0;
  2103. }
  2104. }
  2105. } //end of onload: function
  2106. }); //end of GM_xmlhttpRequest call
  2107. };//end of var gmxhrFunc
  2108.  
  2109. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2110. { //load individual redirector pages
  2111. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2112. mcHostURLs.push(mcRedirectorURL);
  2113. mcRedirectorIDs.push(mcRedirectors[2]);
  2114. gmxhrFunc(mcRedirectorURL);
  2115. } //end of while block
  2116.  
  2117. setTimeout(function(){ //in case the last page fails to load and call the function
  2118. timedOut = true;
  2119. if (mcHostsToProcess)
  2120. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2121. }, 60000);
  2122.  
  2123. } //end of onload function
  2124. }); //end of GM_xmlhttpRequest call
  2125. } //end of function processMirrorcreatorLink
  2126.  
  2127.  
  2128. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2129. {
  2130. var aEl, liEl, docFrag;
  2131. var hostName, mcRedirectorID, trimFilename = false;
  2132. var i = mcHostURLs.length;
  2133. if (i == 0)
  2134. {
  2135. trimFilename = true;
  2136. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2137. }
  2138. else
  2139. {
  2140. if (Display_full_links_in_link_containers)
  2141. { //full view
  2142. var wrapperEl = document.createElement('span');
  2143. wrapperEl.style.display = 'block';
  2144. var ulistEl = document.createElement('ul');
  2145. ulistEl.className = 'container_list';
  2146. while (i--)
  2147. {
  2148. liEl = document.createElement('li');
  2149. aEl = document.createElement('a');
  2150. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2151. aEl.href = mcHostURLs[i];
  2152. aEl.className = 'container_link';
  2153. liEl.appendChild(aEl);
  2154. ulistEl.appendChild(liEl);
  2155. }
  2156. wrapperEl.appendChild(ulistEl);
  2157. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2158. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2159. }
  2160. else
  2161. { //compact view
  2162. trimFilename = true;
  2163. docFrag = document.createDocumentFragment();
  2164. docFrag.appendChild(document.createTextNode(' |'));
  2165. while (i--)
  2166. {
  2167. mcRedirectorID = mcRedirectorIDs[i];
  2168. hostName = mcHostURLs[i];
  2169. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2170. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2171. else
  2172. hostName = mcShortHostNames[mcRedirectorID];
  2173. aEl = document.createElement('a');
  2174. aEl.href = mcHostURLs[i];
  2175. aEl.className = 'container_link';
  2176. aEl.appendChild(document.createTextNode(hostName));
  2177. docFrag.appendChild(aEl);
  2178. docFrag.appendChild(document.createTextNode('|'));
  2179. }
  2180. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2181. } //end of else block
  2182. } //end of else block
  2183. mcLink.className = '';
  2184. if (trimFilename)
  2185. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2186. cMirrorcreatorComProcessed++;
  2187. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2188. {
  2189. if (Do_not_linkify_DL_links)
  2190. delinkifySnapshot(mcSnapshot);
  2191. startBulkCheck('container_link');
  2192. start('container_link');
  2193. }
  2194. } //end of function processMirrorcreatorFoundHosts
  2195.  
  2196. containers_processed = true;
  2197.  
  2198.  
  2199. function initRedirectors()
  2200. {
  2201. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2202. {
  2203. var redirector = new Object();
  2204. redirector.linkRegex = linkRegex;
  2205. redirector.xpath = xpathEx; //xpath expression
  2206. redirector.cProcessed = 0; //processed links count
  2207. redirector.cTotal = 0; //total links count
  2208. redirector.type = redirType; //redirectorTypes enum
  2209. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2210. redirectors.push(redirector);
  2211. }
  2212. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2213. {
  2214. addRedirector(
  2215. 'safelinking\\.net\/d\/\\w+',
  2216. "//a[contains(@href,'safelinking.net/d/')]",
  2217. redirectorTypes.HTTP_302,
  2218. null);
  2219. }
  2220. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2221. {
  2222. addRedirector(
  2223. 'linksafe\\.me\/d\/\\w+',
  2224. "//a[contains(@href,'linksafe.me/d/')]",
  2225. redirectorTypes.HTTP_302,
  2226. null);
  2227. }
  2228. if (GM_getValue("Check_linkto_dot_net_links", false))
  2229. {
  2230. addRedirector(
  2231. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2232. "//a[contains(@href,'linkto.net/?')]",
  2233. redirectorTypes.INNER_LINK,
  2234. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2235. }
  2236. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2237. {
  2238. addRedirector(
  2239. '(?:the)?loo\\.katt\\.it\/\\w+',
  2240. "//a[contains(@href,'loo.katt.it/')]",
  2241. redirectorTypes.THELOO_KATT_IT,
  2242. /Proceed to URL - <a href="(.+?)">/);
  2243. }
  2244. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2245. {
  2246. addRedirector(
  2247. 'madlink\\.sk\/\\w+',
  2248. "//a[contains(@href,'madlink.sk/')]",
  2249. redirectorTypes.INNER_LINK,
  2250. /name="url" value="(.+?)\s*"\/>/);
  2251. }
  2252. if (GM_getValue("Check_adf_dot_ly_links", false))
  2253. {
  2254. addRedirector(
  2255. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2256. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2257. redirectorTypes.ADF_LY,
  2258. null);
  2259. }
  2260. if (GM_getValue("Check_redi_dot_re_links", false))
  2261. {
  2262. addRedirector(
  2263. 'redi\\.re\/\\w+',
  2264. "//a[contains(@href,'redi.re/')]",
  2265. redirectorTypes.HTTP_302,
  2266. null);
  2267. }
  2268. if (GM_getValue("Check_bit_dot_ly_links", false))
  2269. {
  2270. addRedirector(
  2271. 'bit\\.ly\/\\w+',
  2272. "//a[contains(@href,'bit.ly/')]",
  2273. redirectorTypes.HTTP_302,
  2274. null);
  2275. }
  2276. }
  2277.  
  2278. }
  2279.  
  2280. var bulkHosts = new Array();
  2281. var bulkHostNames = new Array();
  2282. function initBulkCheck()
  2283. {
  2284. /////////////////////////////
  2285. // Inits filehost object
  2286. /////////////////////////////
  2287. // params :
  2288. // hostName -- [string] host name (multiple domains separated with coma)
  2289. // linkRegex -- [string] link regex
  2290. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2291. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2292. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2293. // corrReplWhat -- [regex] link correction regex (replace)
  2294. // corrReplWith -- [string]
  2295. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2296. //
  2297. // apiUrl -- [string] web linkchecker or API URL
  2298. // postData -- [string] POSTDATA of xmlhttprequest
  2299. // resLinkRegex -- [regex]
  2300. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2301. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2302. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2303. // func -- [function] bulkcheck handler, genBulkCheck if null
  2304. //
  2305. //////////////////////////////
  2306. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2307. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2308. {
  2309. var fileHost = new Object();
  2310.  
  2311. fileHost.linkRegex = linkRegex;
  2312. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2313. fileHost.xpath = xpath;
  2314. fileHost.cFound = 0; //found links counter
  2315. fileHost.links = new Array(); //found links
  2316. if (blockSize == null)
  2317. {
  2318. fileHost.blockSize = 50;
  2319. }
  2320. else
  2321. {
  2322. fileHost.blockSize = blockSize;
  2323. }
  2324. fileHost.corrMatch = corrMatch;
  2325. fileHost.corrReplWhat = corrReplWhat;
  2326. fileHost.corrReplWith = corrReplWith;
  2327. if (splitSeparator == null)
  2328. {
  2329. fileHost.splitSeparator = "\r\n";
  2330. }
  2331. else
  2332. {
  2333. fileHost.splitSeparator = splitSeparator;
  2334. }
  2335. fileHost.apiUrl = apiUrl;
  2336. fileHost.postData = postData;
  2337. fileHost.resLinkRegex = resLinkRegex;
  2338. fileHost.resLiveRegex = resLiveRegex;
  2339. fileHost.resDeadRegex = resDeadRegex;
  2340. fileHost.resUnavaRegex = resUnavaRegex;
  2341. if (func == null)
  2342. {
  2343. fileHost.func = genBulkCheck;
  2344. }
  2345. else
  2346. {
  2347. fileHost.func = func;
  2348. }
  2349. bulkHosts.push(fileHost);
  2350. var names = hostName.split(',');
  2351. var i = names.length;
  2352. while(i--)
  2353. {
  2354. bulkHostNames[names[i]] = fileHost;
  2355. }
  2356. }
  2357. var genType1 = [
  2358. "rodfile.com", "downloadani.me", //"migahost.com",
  2359. "rarefile.net",
  2360. "filesabc.com",
  2361. // "verzend.be",
  2362. // "movreel.com",
  2363. "file4safe.com", "filemac.com",
  2364. "longfiles.com",
  2365. "bitupload.com", //"4up.me",
  2366. //"uploadbaz.com"
  2367. ];
  2368. var genType2 = [ "queenshare.com",
  2369. "hulkload.com",
  2370. "amonshare.com", //"edoc.com",
  2371. ];
  2372. //xfilesharing 1.0
  2373. function addGenericType1()
  2374. {
  2375. var i = genType1.length;
  2376. while(i--)
  2377. {
  2378. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2379. {
  2380. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2381. addHost(
  2382. genType1[i].match(/[\w-]+/)[0], //hostname
  2383. regexSafe + "\/\\w+", //linkregex
  2384. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2385. null, //blocksize
  2386. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2387. null, //corrreplwhat
  2388. null, //corrreplwith
  2389. null, //separator
  2390. "http://" + genType1[i] + "/checkfiles.html", //api url
  2391. "op=checkfiles&process=Check+URLs&list=", //postdata
  2392. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2393. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2394. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2395. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2396. null //function delegate
  2397. )
  2398. }
  2399. }
  2400. }
  2401. //xfilesharing 2.0
  2402. function addGenericType2()
  2403. {
  2404. var i = genType2.length;
  2405. while(i--)
  2406. {
  2407. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2408. {
  2409. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2410. addHost(
  2411. genType2[i].match(/[\w-]+/)[0], //hostname
  2412. regexSafe + "\/\\w+", //linkregex
  2413. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2414. null, //blocksize
  2415. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2416. null, //corrreplwhat
  2417. null, //corrreplwith
  2418. null, //separator
  2419. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2420. "op=checkfiles&process=Check+URLs&list=", //postdata
  2421. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2422. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2423. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2424. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2425. null //function delegate
  2426. )
  2427. }
  2428. }
  2429. }
  2430. // TEMPLATE
  2431. // if (GM_getValue("Check__dot_com_links", false))
  2432. // {
  2433. // addHost(
  2434. // "", //hostname
  2435. // "", //linkregex
  2436. // "//a[contains(@href,'.com/')]", //xpath
  2437. // null, //blocksize
  2438. // null, //corrmatch
  2439. // null, //corrreplwhat
  2440. // null, //corrreplwith
  2441. // null, //separator
  2442. // "", //api url
  2443. // "", //postdata
  2444. // /()/, //linkregex
  2445. // //liveregex
  2446. // //deadregex
  2447. // //unavaregex
  2448. // null //function delegate
  2449. // )
  2450. // }
  2451. addGenericType1();
  2452. addGenericType2();
  2453.  
  2454. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2455. {
  2456. addHost(
  2457. "myvdrive,fileserving", //hostname
  2458. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2459. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2460. null, //blocksize
  2461. null, //corrmatch
  2462. null, //corrreplwhat
  2463. null, //corrreplwith
  2464. null, //separator
  2465. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2466. "links=", //postdata
  2467. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2468. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2469. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2470. null, //unavaregex
  2471. null //function delegate
  2472. )
  2473. }
  2474. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2475. {
  2476. addHost(
  2477. "hackerbox", //hostname
  2478. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2479. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2480. null, //blocksize
  2481. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2482. null, //corrreplwhat
  2483. null, //corrreplwith
  2484. null, //separator
  2485. "http://host.hackerbox.org/checkfiles.html", //api url
  2486. "op=checkfiles&process=Check+URLs&list=", //postdata
  2487. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2488. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2489. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2490. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2491. null //function delegate
  2492. )
  2493. }
  2494. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2495. {
  2496. addHost(
  2497. "hellshare", //hostname
  2498. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2499. "//a[contains(@href,'hellshare.')]", //xpath
  2500. 48, //blocksize
  2501. null, //corrmatch
  2502. null, //corrreplwhat
  2503. null, //corrreplwith
  2504. null, //separator
  2505. null, //api url
  2506. null, //postdata
  2507. null, //linkregex
  2508. null, //liveregex
  2509. null, //deadregex
  2510. null, //unavaregex
  2511. hellshareBulkCheck //function delegate
  2512. )
  2513. }
  2514. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2515. {
  2516. addHost(
  2517. "uploadrocket", //hostname
  2518. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2519. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2520. null, //blocksize
  2521. null, //corrmatch
  2522. null, //corrreplwhat
  2523. null, //corrreplwith
  2524. "\n", //separator
  2525. 'http://uploadrocket.net/?op=checkfiles',
  2526. 'op=checkfiles&process=Check+URLs&list=',
  2527. /uploadrocket.net\/(\w+)/,
  2528. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2529. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2530. null,
  2531. null //function delegate
  2532. )
  2533. }
  2534. if (GM_getValue("Check_uploading_dot_site_links", false))
  2535. {
  2536. addHost(
  2537. "uploading", //hostname
  2538. "(?:uploading\\.site)\/\\w+", //linkregex
  2539. "//a[contains(@href,'uploading.site/')]", //xpath
  2540. null, //blocksize
  2541. null, //corrmatch
  2542. null, //corrreplwhat
  2543. null, //corrreplwith
  2544. "\n", //separator
  2545. 'http://uploading.site/?op=checkfiles',
  2546. 'op=checkfiles&process=Check+URLs&list=',
  2547. /uploading.site\/(\w+)/,
  2548. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2549. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2550. null,
  2551. null //function delegate
  2552. )
  2553. }
  2554. if (GM_getValue("Check_1f_dot_al_links", false))
  2555. {
  2556. addHost(
  2557. "1f",
  2558. "(?:1f\\.al)\/d\/\\w+",
  2559. "//a[contains(@href,'1f.al/d/')]",
  2560. 100000, //blocksize
  2561. null, //corrmatch
  2562. null, //corrreplwhat
  2563. null, //corrreplwith
  2564. null, //separator
  2565. null,
  2566. null,
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. _1falBulkCheck //function delegate
  2572. )
  2573. }
  2574. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2575. {
  2576. addHost(
  2577. "k2s,keep2s,keep2share",
  2578. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2579. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2580. 100000, //blocksize
  2581. null, //corrmatch
  2582. null, //corrreplwhat
  2583. null, //corrreplwith
  2584. null, //separator
  2585. null,
  2586. null,
  2587. null,
  2588. null,
  2589. null,
  2590. null,
  2591. k2sBulkCheck //function delegate
  2592. )
  2593. }
  2594. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2595. {
  2596. addHost(
  2597. "tezfiles",
  2598. "(?:tezfiles\\.com)\/\\w+",
  2599. "//a[contains(@href,'tezfiles.com')]",
  2600. 100000, //blocksize
  2601. null, //corrmatch
  2602. null, //corrreplwhat
  2603. null, //corrreplwith
  2604. null, //separator
  2605. null,
  2606. null,
  2607. null,
  2608. null,
  2609. null,
  2610. null,
  2611. k2sBulkCheck //function delegate
  2612. )
  2613. }
  2614. if (GM_getValue("Check_fboom_dot_me_links", false))
  2615. {
  2616. addHost(
  2617. "fboom,fileboom",
  2618. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2619. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2620. 100000, //blocksize
  2621. null, //corrmatch
  2622. null, //corrreplwhat
  2623. null, //corrreplwith
  2624. null, //separator
  2625. null,
  2626. null,
  2627. null,
  2628. null,
  2629. null,
  2630. null,
  2631. fboomBulkCheck //function delegate
  2632. )
  2633. }
  2634. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2635. {
  2636. addHost(
  2637. "1fichier,dl4free",
  2638. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2639. "//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/?')]",
  2640. 100000, //blocksize
  2641. null, //corrmatch
  2642. null, //corrreplwhat
  2643. null, //corrreplwith
  2644. null, //separator
  2645. null,
  2646. null,
  2647. null,
  2648. null,
  2649. null,
  2650. null,
  2651. dl4free_1fichier_BulkCheck //function delegate
  2652. )
  2653. }
  2654. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2655. {
  2656. addHost(
  2657. "nitroflare",
  2658. "nitroflare\\.com\/\\w+",
  2659. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2660. 100000, //blocksize
  2661. null, //corrmatch
  2662. null, //corrreplwhat
  2663. null, //corrreplwith
  2664. null, //separator
  2665. null,
  2666. null,
  2667. null,
  2668. null,
  2669. null,
  2670. null,
  2671. nitroflareBulkCheck //function delegate
  2672. )
  2673. }
  2674. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2675. {
  2676. addHost(
  2677. "depositfiles,dfiles",
  2678. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2679. "//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/')]",
  2680. 100000, //blocksize
  2681. null, //corrmatch
  2682. null, //corrreplwhat
  2683. null, //corrreplwith
  2684. null, //separator
  2685. null,
  2686. null,
  2687. null,
  2688. null,
  2689. null,
  2690. null,
  2691. depositfilesBulkCheck //function delegate
  2692. )
  2693. }
  2694. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2695. {
  2696. addHost(
  2697. "filesflash", //hostname
  2698. "filesflash\\.com\/\\w+", //linkregex
  2699. "//a[contains(@href,'filesflash.com')]", //xpath
  2700. null, //blocksize
  2701. null, //corrmatch
  2702. /http:\/\//, //corrreplwhat
  2703. '', //corrreplwith
  2704. null, //separator
  2705. 'http://filesflash.com/checklinks.php',
  2706. 'submit=Go&links=',
  2707. /filesflash\.com\/(\w+)/,
  2708. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2709. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|That is not a valid url|Banned)?<\/td>/g,
  2710. null,
  2711. null //function delegate
  2712. )
  2713. }
  2714. /* if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2715. {
  2716. addHost(
  2717. "jumbofiles", //hostname
  2718. "jumbofiles\\.com\/\\w+", //linkregex
  2719. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2720. null, //blocksize
  2721. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2722. null, //corrreplwhat
  2723. null, //corrreplwith
  2724. null, //separator
  2725. "http://jumbofiles.com/checkfiles.html", //api url
  2726. "op=checkfiles&process=Check+URLs&list=", //postdata
  2727. /(jumbofiles\.com\/\w+)/, //linkregex
  2728. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2729. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2730. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2731. null //function delegate
  2732. )
  2733. }*/
  2734. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2735. {
  2736. addHost(
  2737. "edisk", //hostname
  2738. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2739. "//a[contains(@href,'edisk.')]", //xpath
  2740. null, //blocksize
  2741. null, //corrmatch
  2742. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2743. 'edisk.cz/stahni', //corrreplwith
  2744. null, //separator
  2745. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2746. 'submitBtn=Zkontrolovat&checkFiles=',
  2747. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2748. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2749. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2750. null,
  2751. null //function delegate
  2752. )
  2753. }
  2754. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2755. {
  2756. GM_xmlhttpRequest( //age check skip
  2757. {
  2758. method: 'POST',
  2759. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2760. headers: {
  2761. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2762. 'Content-type': 'application/x-www-form-urlencoded',
  2763. 'Referer': ""
  2764. }
  2765. });
  2766. addHost(
  2767. "bezvadata", //hostname
  2768. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2769. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2770. null, //blocksize
  2771. null, //corrmatch
  2772. null, //corrreplwhat
  2773. null, //corrreplwith
  2774. null, //separator
  2775. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2776. 'zkontrolovat=Zkontrolovat&odkazy=',
  2777. /(bezvadata\.cz\/stahnout\/\d+)/,
  2778. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2779. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2780. null,
  2781. null //function delegate
  2782. )
  2783. }
  2784. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2785. {
  2786. addHost(
  2787. "linkcrypt", //hostname
  2788. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2789. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2790. 100000, //blocksize
  2791. null, //corrmatch
  2792. null, //corrreplwhat
  2793. null, //corrreplwith
  2794. null, //separator
  2795. null,
  2796. null,
  2797. null,
  2798. null,
  2799. null,
  2800. null,
  2801. linkcryptBulkCheck //function delegate
  2802. )
  2803. }
  2804. if (GM_getValue("Check_videobb_dot_com_links", false))
  2805. {
  2806. addHost(
  2807. "videobb", //hostname
  2808. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2809. "//a[contains(@href,'videobb.com')]", //xpath
  2810. null, //blocksize
  2811. null, //corrmatch
  2812. /watch_video\.php\?v=/, //corrreplwhat
  2813. 'video/', //corrreplwith
  2814. null, //separator
  2815. 'http://www.videobb.com/link_checker.php',
  2816. 'links=',
  2817. /videobb\.com\/video\/(\w+)/,
  2818. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2819. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2820. null,
  2821. null //function delegate
  2822. )
  2823. }
  2824. if (GM_getValue("Check_filerio_dot_com_links", false))
  2825. {
  2826. addHost(
  2827. "filekeen,filerio", //hostname
  2828. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2829. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2830. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2831. null, //blocksize
  2832. null, //corrmatch
  2833. null, //corrreplwhat
  2834. null, //corrreplwith
  2835. null, //separator
  2836. 'http://filerio.in/checkfiles.html',
  2837. 'op=checkfiles&process=Check+URLs&list=',
  2838. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2839. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2840. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2841. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2842. null //function delegate
  2843. )
  2844. }
  2845. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2846. {
  2847. addHost(
  2848. "share-online,egoshare", //hostname
  2849. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2850. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2851. null, //blocksize
  2852. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2853. null, //corrreplwhat
  2854. null, //corrreplwith
  2855. "\n", //separator
  2856. 'http://api.share-online.biz/linkcheck.php',
  2857. 'links=',
  2858. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2859. /\w+;OK/g,
  2860. /\w+;(?:NOTFOUND|DELETED)/g,
  2861. null,
  2862. null //function delegate
  2863. )
  2864. }
  2865. if (GM_getValue("Check_oboom_dot_com_links", false))
  2866. {
  2867. addHost(
  2868. "oboom", //hostname
  2869. "oboom\\.com\/#?\\w{8}", //linkregex
  2870. "//a[contains(@href,'oboom.com/')]", //xpath
  2871. null, //blocksize
  2872. /oboom\.com\/#?(\w{8})/, //corrmatch
  2873. null, //corrreplwhat
  2874. null, //corrreplwith
  2875. null, //separator
  2876. null,
  2877. null,
  2878. null,
  2879. null, //liveregex
  2880. null, //deadregex
  2881. null,
  2882. oboomBulk //function delegate
  2883. )
  2884. }
  2885. if (GM_getValue("Check_mega_dot_nz_links", false))
  2886. {
  2887. addHost(
  2888. "mega",
  2889. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2890. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2891. 100000, //blocksize
  2892. null, //corrmatch
  2893. null, //corrreplwhat
  2894. null, //corrreplwith
  2895. null, //separator
  2896. null,
  2897. null,
  2898. null,
  2899. null,
  2900. null,
  2901. null,
  2902. megaBulkCheck //function delegate
  2903. )
  2904. }
  2905.  
  2906. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2907.  
  2908. if (GM_getValue("Check_extabit_dot_com_links", false))
  2909. {
  2910. addHost(
  2911. "extabit", //hostname
  2912. "extabit\\.com\/file\/\\w+", //linkregex
  2913. "//a[contains(@href,'extabit.com')]", //xpath
  2914. null, //blocksize
  2915. null, //corrmatch
  2916. null, //corrreplwhat
  2917. null, //corrreplwith
  2918. "\n", //separator
  2919. "http://extabit.com/linkchecker.jsp", //api url
  2920. "url=", //postdata
  2921. /extabit\.com\/(file\/\w+)/, //linkregex
  2922. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2923. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2924. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2925. extabitBulkCheck //function delegate
  2926. )
  2927. }
  2928. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2929. {
  2930. addHost(
  2931. "junocloud", //hostname
  2932. "junocloud\\.me\/\\w+", //linkregex
  2933. "//a[contains(@href,'junocloud.me')]", //xpath
  2934. null, //blocksize
  2935. null, //corrmatch
  2936. null, //corrreplwhat
  2937. null, //corrreplwith
  2938. "\n", //separator
  2939. "http://junocloud.me/checkfiles.html", //api url
  2940. "op=checkfiles&process=Check+URLs&list=", //postdata
  2941. /(junocloud\.me\/\w+)/, //linkregex
  2942. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2943. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2944. null, //unavaregex
  2945. null //function delegate
  2946. )
  2947. }
  2948. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2949. {
  2950. addHost(
  2951. "webshare", //hostname
  2952. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2953. "//a[contains(@href,'webshare.cz')]", //xpath
  2954. 100000, //blocksize
  2955. null, //corrmatch
  2956. null, //corrreplwhat
  2957. null, //corrreplwith
  2958. null, //separator
  2959. null, //api url
  2960. null, //postdata
  2961. null, //linkregex
  2962. null, //liveregex
  2963. null, //deadregex
  2964. null, //unavaregex
  2965. webshareBulkCheck //function delegate
  2966. )
  2967. }
  2968. /////////////////////////////
  2969. // Common function delegate to send links to get checked by host linkchecker
  2970. /////////////////////////////
  2971. // If you define a new delegate, you may use following properties
  2972. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2973. // this.apiUrl [string] API or web linkchecker URL
  2974. // this.postData [string] POSTDATA for POST request
  2975. // this.resLiveRegex [regex] matches live substrings in the request response
  2976. // this.resDeadRegex [regex] matches dead substrings in the request response
  2977. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2978. //
  2979. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2980. //
  2981. // See the code below for standard bulkcheck handling reference.
  2982. //////////////////////////////
  2983. function genBulkCheck()
  2984. {
  2985. var blockIdx = this.links.length;
  2986. while (blockIdx--)
  2987. {
  2988. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2989. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2990. }
  2991. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2992. {
  2993. GM_xmlhttpRequest(
  2994. {
  2995. method: 'POST',
  2996. url: api,
  2997. headers: {
  2998. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2999. 'Content-type': 'application/x-www-form-urlencoded',
  3000. 'Referer': api,
  3001. 'X-Requested-With': 'XMLHttpRequest'
  3002. },
  3003. data: postData + encodeURIComponent(links),
  3004. onload: function (result)
  3005. {
  3006. var res = result.responseText;
  3007. // GM_log(res);
  3008. var i;
  3009.  
  3010. var livelinks = res.match(liveRegex);
  3011. var deadlinks = res.match(deadRegex);
  3012. // GM_log(livelinks);
  3013. // GM_log(deadlinks);
  3014. if (livelinks != null)
  3015. {
  3016. i = livelinks.length - 1;
  3017. do
  3018. {
  3019. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3020. }
  3021. while (i--);
  3022. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3023. }
  3024.  
  3025. if (deadlinks != null)
  3026. {
  3027. i = deadlinks.length - 1;
  3028. do
  3029. {
  3030. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3031. }
  3032. while (i--);
  3033. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3034. }
  3035.  
  3036. if (unavaRegex != null)
  3037. {
  3038. var unavalinks = res.match(unavaRegex);
  3039. if (unavalinks)
  3040. {
  3041. i = unavalinks.length - 1;
  3042. do
  3043. {
  3044. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3045. }
  3046. while (i--);
  3047. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3048. }
  3049. }
  3050. }
  3051. });
  3052. }
  3053. }
  3054. //specialized bulkchecking handlers follow
  3055. function webshareBulkCheck()
  3056. {
  3057. var arr = this.links[0].split("\r\n");
  3058. var i = arr.length;
  3059. while(i--)
  3060. {
  3061. postRequest(arr[i]);
  3062. }
  3063. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3064. function postRequest(wsLink)
  3065. {
  3066. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3067. GM_xmlhttpRequest(
  3068. {
  3069. method: 'POST',
  3070. url: "http://webshare.cz/api/file_info/",
  3071. headers: {
  3072. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3073. 'Content-type': 'application/x-www-form-urlencoded',
  3074. 'Referer': "",
  3075. },
  3076. data: "wst=&ident=" + id,
  3077. onload: function (result)
  3078. {
  3079. var res = result.responseText;
  3080. if (res.match(/<name>.+?<\/name>/))
  3081. {
  3082. DisplayTheCheckedLinks([id], 'alive_link');
  3083. }
  3084. else
  3085. {
  3086. DisplayTheCheckedLinks([id], 'adead_link');
  3087. }
  3088. }
  3089. });
  3090. }
  3091. }
  3092. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3093. //extabit also doesn't like requests in fast succession, so some delays are added.
  3094. function extabitBulkCheck()
  3095. {
  3096. var timeoutDelay = 0;
  3097. var blockIdx = this.links.length;
  3098. while (blockIdx--)
  3099. {
  3100. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3101. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3102. }
  3103. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3104. {
  3105. GM_xmlhttpRequest(
  3106. {
  3107. method: 'POST',
  3108. url: api,
  3109. headers: {
  3110. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3111. 'Content-type': 'application/x-www-form-urlencoded',
  3112. 'Referer': api,
  3113. 'X-Requested-With': 'XMLHttpRequest'
  3114. },
  3115. data: postData + encodeURIComponent(links),
  3116. onload: function (result)
  3117. {
  3118. var res = result.responseText;
  3119. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3120. {
  3121. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3122. {
  3123. //GM_log(tryID + ': ' + link);
  3124. GM_xmlhttpRequest(
  3125. {
  3126. method: 'GET',
  3127. url: link,
  3128. 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': ""},
  3129. onload: function(result2)
  3130. {
  3131. var res2 = result2.responseText;
  3132. var res2Status = result.status;
  3133. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3134. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3135. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3136. {
  3137. if (tryID < 7)
  3138. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3139. else
  3140. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3141. }
  3142. }
  3143. });
  3144. }
  3145. //split the hrefs and check them one by one
  3146. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3147. links = links.split('\n');
  3148. var i = links.length;
  3149. while (i--)
  3150. {
  3151. if (links[i])
  3152. {
  3153. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3154. timeoutDelay += 500;
  3155. }
  3156. }
  3157. return;
  3158. }
  3159. var i;
  3160.  
  3161. var livelinks = res.match(liveRegex);
  3162. var deadlinks = res.match(deadRegex);
  3163. if (livelinks != null)
  3164. {
  3165. i = livelinks.length - 1;
  3166. do
  3167. {
  3168. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3169. }
  3170. while (i--);
  3171. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3172. }
  3173.  
  3174. if (deadlinks != null)
  3175. {
  3176. i = deadlinks.length - 1;
  3177. do
  3178. {
  3179. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3180. }
  3181. while (i--);
  3182. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3183. }
  3184.  
  3185. if (unavaRegex != null)
  3186. {
  3187. var unavalinks = res.match(unavaRegex);
  3188. if (unavalinks)
  3189. {
  3190. i = unavalinks.length - 1;
  3191. do
  3192. {
  3193. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3194. }
  3195. while (i--);
  3196. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3197. }
  3198. }
  3199. }
  3200. });
  3201. }
  3202. }
  3203. function _1falBulkCheck()
  3204. {
  3205. var arr = this.links[0].split("\r\n");
  3206. var i = arr.length;
  3207. c=0;
  3208. arrIDs=[];
  3209. while(i--)
  3210. {
  3211. id = arr[i].match(/\/d\/(\w+)/)[1];
  3212.  
  3213. _1falalreadyexist=false;
  3214. for (j=0;j<arrIDs.length;j++)
  3215. {
  3216. if (arrIDs[j]==id)
  3217. {
  3218. _1falalreadyexist=g
  3219. break;
  3220. }
  3221. }
  3222. if (_1falalreadyexist) continue;
  3223. arrIDs.push(id);
  3224. c++;
  3225. setTimeout(_1falRequest,c*500,arr[i]);
  3226. }
  3227. }
  3228. function _1falRequest(_1falLink)
  3229. {
  3230. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3231. GM_xmlhttpRequest(
  3232. {
  3233. method: 'GET',
  3234. url: _1falLink,
  3235. headers: {
  3236. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3237. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3238. 'Referer': 'http://www.planetsuzy.org/'
  3239. },
  3240. onload: function (result)
  3241. {
  3242. var res = result.responseText;
  3243. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3244. if (FAarr!=null)
  3245. {
  3246. FALink=FAarr[1];
  3247. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3248. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3249. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3250. GM_xmlhttpRequest(
  3251. {
  3252. method: 'POST',
  3253. url: FALink,
  3254. headers: {
  3255. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3256. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3257. 'Content-Type': 'application/x-www-form-urlencoded',
  3258. 'Referer': _1falLink
  3259. },
  3260. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3261. onload: function (_2ndresult)
  3262. {
  3263. var newres = _2ndresult.responseText;
  3264. FAalivelink=new RegExp("method_free");
  3265. if (FAalivelink.test(newres))
  3266. {
  3267. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3268. return;
  3269. }
  3270. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3271. if (FAdeadlink.test(newres))
  3272. {
  3273. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3274. return;
  3275. }
  3276. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3277. return;
  3278. }
  3279. });
  3280. return;
  3281. }
  3282. else
  3283. {
  3284. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3285. return;
  3286. }
  3287. },
  3288. onerror: function ()
  3289. {
  3290. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3291. return;
  3292. }
  3293. });
  3294. }
  3295. function k2sBulkCheck()
  3296. {
  3297. var arr = this.links[0].split("\r\n");
  3298. var i = arr.length;
  3299. c=0;
  3300. arrIDs=[];
  3301. while(i--)
  3302. {
  3303. id = arr[i].match(/\/file\/(\w+)/)[1];
  3304. if (id=='info')
  3305. {
  3306. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3307. continue;
  3308. }
  3309. k2salreadyexist=false;
  3310. for (j=0;j<arrIDs.length;j++)
  3311. {
  3312. if (arrIDs[j]==id)
  3313. {
  3314. k2salreadyexist=g
  3315. break;
  3316. }
  3317. }
  3318. if (k2salreadyexist) continue;
  3319. arrIDs.push(id);
  3320. c++;
  3321. setTimeout(k2sRequest,c*500,arr[i]);
  3322. }
  3323. }
  3324. function k2sRequest(K2SLink)
  3325. {
  3326. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3327. GM_xmlhttpRequest(
  3328. {
  3329. method: 'GET',
  3330. url: K2SLink,
  3331. headers: {
  3332. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3333. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3334. 'Referer': ''
  3335. },
  3336. onload: function (result)
  3337. {
  3338. var res = result.responseText;
  3339. K2Dom='k2s.cc';
  3340. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3341. K2SLink2='http://'+K2Dom+'/file/'+id;
  3342.  
  3343. 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'))
  3344. {
  3345. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3346. return;
  3347. }
  3348. if (res.match('method="post">Displaying'))
  3349. {
  3350. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3351. return;
  3352. }
  3353. if (res.match('Premium only|only for premium members'))
  3354. {
  3355. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3356. return;
  3357. }
  3358. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3359. {
  3360. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3361. slID=slow_id.exec(res)[1];
  3362. GM_xmlhttpRequest(
  3363. {
  3364. method: 'POST',
  3365. url: K2SLink2,
  3366. headers: {
  3367. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3368. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3369. 'Content-Type': 'application/x-www-form-urlencoded',
  3370. 'Referer': K2SLink
  3371. },
  3372. data: 'slow_id='+slID+'&yt0=',
  3373. onload: function (result)
  3374. {
  3375. var newres = result.responseText;
  3376. newoversizedtest=new RegExp("Free user can't download large files.");
  3377. if (newoversizedtest.test(newres))
  3378. {
  3379. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3380. return;
  3381. }
  3382. else
  3383. {
  3384. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3385. return;
  3386. }
  3387. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3388. return;
  3389. }
  3390. });
  3391. /////////////////////end additional check for oversized links
  3392. return;
  3393. }
  3394. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3395. return;
  3396. },
  3397. onerror: function ()
  3398. {
  3399. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3400. return;
  3401. }
  3402. });
  3403. }
  3404. function fboomBulkCheck()
  3405. {
  3406. var arr = this.links[0].split("\r\n");
  3407. var i = arr.length;
  3408. c=0;
  3409. arrIDs=[];
  3410. while(i--)
  3411. {
  3412. id = arr[i].match(/\/file\/(\w+)/)[1];
  3413. if (id=='info')
  3414. {
  3415. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3416. continue;
  3417. }
  3418. fbalreadyexist=false;
  3419. for (j=0;j<arrIDs.length;j++)
  3420. {
  3421. if (arrIDs[j]==id)
  3422. {
  3423. fbalreadyexist=true;
  3424. break;
  3425. }
  3426. }
  3427. if (fbalreadyexist) continue;
  3428. arrIDs.push(id);
  3429. c++;
  3430. setTimeout(fboomRequest,c*500,arr[i]);
  3431. }
  3432. }
  3433. function fboomRequest(FBoomLink)
  3434. {
  3435. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3436. FBoomLink2='http://fboom.me/file/'+id;
  3437. GM_xmlhttpRequest(
  3438. {
  3439. method: 'GET',
  3440. url: FBoomLink,
  3441. headers: {
  3442. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3443. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3444. 'Referer': ''
  3445. },
  3446. onload: function (result)
  3447. {
  3448. var res = result.responseText;
  3449. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3450. {
  3451. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3452. return;
  3453. }
  3454. if (res.match('method="post">Displaying'))
  3455. {
  3456. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3457. return;
  3458. }
  3459. if (res.match('only for premium members'))
  3460. {
  3461. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3462. return;
  3463. }
  3464. if (res.match('id="download-free" href="#"'))
  3465. {
  3466. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3467. slID=slow_id.exec(res)[1];
  3468. GM_xmlhttpRequest(
  3469. {
  3470. method: 'POST',
  3471. url: FBoomLink2,
  3472. headers: {
  3473. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3474. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3475. 'Content-Type': 'application/x-www-form-urlencoded',
  3476. 'Referer': FBoomLink
  3477. },
  3478. data: 'slow_id='+slID,
  3479. onload: function (result)
  3480. {
  3481. var newres = result.responseText;
  3482. newoversizedtest=new RegExp("Downloading is not possible");
  3483. if (newoversizedtest.test(newres))
  3484. {
  3485. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3486. return;
  3487. }
  3488. else
  3489. {
  3490. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3491. return;
  3492. }
  3493. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3494. return;
  3495. }
  3496. });
  3497. /////////////////////end additional check for oversized links
  3498. return;
  3499. }
  3500. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3501. return;
  3502. },
  3503. onerror: function ()
  3504. {
  3505. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3506. return;
  3507. }
  3508. });
  3509. }
  3510. function dl4free_1fichier_BulkCheck()
  3511. {
  3512. var arr = this.links[0].split("\r\n");
  3513. var i = arr.length;
  3514. while(i--)
  3515. {
  3516. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3517. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3518. gethead_dl4free_1fichier(arr[i]);
  3519. }
  3520. }
  3521. function gethead_dl4free_1fichier(link)
  3522. {
  3523. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3524. GM_xmlhttpRequest(
  3525. {
  3526. method: 'HEAD',
  3527. url: link,
  3528. headers: {
  3529. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3530. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3531. 'Referer': ''
  3532. },
  3533. onload: function (result)
  3534. {
  3535. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3536. {
  3537. DisplayTheCheckedLinks([id], 'alive_link');
  3538. return;
  3539. }
  3540. else
  3541. {
  3542. getlink_dl4free_1fichier(link);
  3543. }
  3544. return;
  3545. },
  3546. onerror: function ()
  3547. {
  3548. DisplayTheCheckedLinks([id], 'unava_link');
  3549. }
  3550. });
  3551. }
  3552. function getlink_dl4free_1fichier(link)
  3553. {
  3554. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3555. GM_xmlhttpRequest(
  3556. {
  3557. method: 'GET',
  3558. url: link,
  3559. headers: {
  3560. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3561. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3562. 'Referer': ''
  3563. },
  3564. onload: function (result)
  3565. {
  3566. var res = result.responseText;
  3567. 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');
  3568. if (deadRegex.test(res))
  3569. {
  3570. DisplayTheCheckedLinks([id], 'adead_link');
  3571. return;
  3572. }
  3573. premiumRegex=new RegExp('only for premium users');
  3574. if (premiumRegex.test(res))
  3575. {
  3576. DisplayTheCheckedLinks([id], 'prem_link');
  3577. return;
  3578. }
  3579. 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="');
  3580. if (liveRegex.test(res))
  3581. {
  3582. DisplayTheCheckedLinks([id], 'alive_link');
  3583. return;
  3584. }
  3585. DisplayTheCheckedLinks([id], 'unava_link');
  3586. },
  3587. onerror: function ()
  3588. {
  3589. DisplayTheCheckedLinks([id], 'unava_link');
  3590. }
  3591. });
  3592. }
  3593. function nitroflareBulkCheck()
  3594. {
  3595. var arr = this.links[0].split("\r\n");
  3596. var i = arr.length;
  3597. while(i--)
  3598. {
  3599. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3600. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3601. NitroFlareRequest(arr[i]);
  3602. }
  3603. }
  3604. function NitroFlareRequest(NFLink)
  3605. {
  3606. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3607. GM_xmlhttpRequest(
  3608. {
  3609. method: "GET",
  3610. url: NFLink,
  3611. headers: {
  3612. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3613. 'Content-Type': 'application/x-www-form-urlencoded',
  3614. 'Referer': ""
  3615. },
  3616. onload: function (result)
  3617. {
  3618. var res = result.responseText;
  3619. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3620. {
  3621. DisplayTheCheckedLinks([NFID], 'adead_link');
  3622. return;
  3623. }
  3624. if (res.match('Report this file<\/a>'))
  3625. {
  3626. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3627. sizearr=measureRegex.exec(res);
  3628. if (sizearr[2]=='GB')
  3629. {
  3630. if (parseFloat(sizearr[1])>1)
  3631. {
  3632. DisplayTheCheckedLinks([NFID], 'prem_link');
  3633. }
  3634. else
  3635. {
  3636. DisplayTheCheckedLinks([NFID], 'alive_link');
  3637. }
  3638. }
  3639. else
  3640. {
  3641. DisplayTheCheckedLinks([NFID], 'alive_link');
  3642. }
  3643. return;
  3644. }
  3645. DisplayTheCheckedLinks([NFID], 'unava_link');
  3646. }
  3647. });
  3648. }
  3649. function depositfilesBulkCheck()
  3650. {
  3651. var arr = this.links[0].split("\r\n");
  3652. var i = arr.length;
  3653. var seqno = Math.floor(Math.random()*1000000000);
  3654. while(i--)
  3655. {
  3656. DFpostRequest(arr[i]);
  3657. }
  3658. }
  3659. function DFpostRequest(DFLink)
  3660. {
  3661. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3662. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3663. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3664. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3665. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3666. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3667. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3668. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3669. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3670. GM_xmlhttpRequest(
  3671. {
  3672. method: "GET",
  3673. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3674. headers: {
  3675. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3676. 'Content-Type': 'application/x-www-form-urlencoded',
  3677. 'Referer': ""
  3678. },
  3679. onload: function (result)
  3680. {
  3681. var res = result.responseText;
  3682. if (res.match('(?:no_file|file_ban)'))
  3683. {
  3684. DisplayTheCheckedLinks([id], 'adead_link');
  3685. return;
  3686. }
  3687. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3688. {
  3689. DisplayTheCheckedLinks([id], 'alive_link');
  3690. return;
  3691. }
  3692. DisplayTheCheckedLinks([id], 'unava_link');
  3693. }
  3694. });
  3695. }
  3696.  
  3697. function megaBulkCheck()
  3698. {
  3699. var arr = this.links[0].split("\r\n");
  3700. var i = arr.length;
  3701. var seqno = Math.floor(Math.random()*1000000000);
  3702. while(i--)
  3703. {
  3704. postRequest(arr[i]);
  3705. }
  3706. function postRequest(megaLink)
  3707. {
  3708. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3709. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3710. if (id=='F')
  3711. {
  3712. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3713. DisplayTheCheckedLinks([id], 'unava_link');
  3714. }
  3715. else
  3716. GM_xmlhttpRequest(
  3717. {
  3718. method: "POST",
  3719. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3720. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3721. headers: {
  3722. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3723. 'Content-Type': 'application/xml',
  3724. 'Referer': "https://mega.co.nz/"
  3725. },
  3726. onload: function (result)
  3727. {
  3728. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3729. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3730. {
  3731.  
  3732. DisplayTheCheckedLinks([id], 'adead_link');
  3733. }
  3734. if (res.at)
  3735. {
  3736. DisplayTheCheckedLinks([id], 'alive_link');
  3737. }
  3738. if (res.e == "ETEMPUNAVAIL")
  3739. {
  3740. DisplayTheCheckedLinks([id], 'unava_link');
  3741. }
  3742. }
  3743. });
  3744. }
  3745.  
  3746. }
  3747.  
  3748. function oboomBulk() {
  3749. var a = [], b = [], c = [];
  3750. var array = this.links;
  3751.  
  3752. GM_xmlhttpRequest({
  3753. method: 'GET',
  3754. url: 'https://www.oboom.com/1/guestsession',
  3755. headers: {
  3756. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3757. 'Content-type': 'application/x-www-form-urlencoded',
  3758. 'Referer': 'https://www.oboom.com',
  3759. 'X-Requested-With': 'XMLHttpRequest'
  3760. },
  3761. onload: function(result) {
  3762. var blockIdx = array.length;
  3763. var token = JSON.parse(result.responseText)[1];
  3764. while (blockIdx--) {
  3765. startCheck(array[blockIdx].split('\r\n'), token);
  3766. }
  3767. }
  3768. });
  3769.  
  3770. function startCheck(links, token) {
  3771. GM_xmlhttpRequest({
  3772. method: 'POST',
  3773. url: "https://api.oboom.com/1/info",
  3774. headers: {
  3775. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3776. 'Content-type': 'application/x-www-form-urlencoded',
  3777. 'Referer': 'https://www.oboom.com/',
  3778. 'X-Requested-With': 'XMLHttpRequest'
  3779. },
  3780. data: "token=" + token + "&items=" + links.join(","),
  3781. onload: function(result) {
  3782. var res = JSON.parse(result.responseText)[1];
  3783. var i = res.length, s;
  3784.  
  3785. while (i--) {
  3786. s = res[i].state;
  3787. if (s == 'online') a.push(res[i].id);
  3788. 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);
  3789. else c.push(res[i].id);
  3790. }
  3791.  
  3792. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3793. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3794. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3795. }
  3796. });
  3797. }
  3798. }
  3799. function linkcryptBulkCheck()
  3800. {
  3801. var arr = this.links[0].split("\r\n");
  3802. var i = arr.length;
  3803. while(i--)
  3804. {
  3805. postRequest(arr[i]);
  3806. }
  3807. function postRequest(lcLink)
  3808. {
  3809. GM_xmlhttpRequest(
  3810. {
  3811. method: "GET",
  3812. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3813. headers: {
  3814. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3815. 'Accept': 'text/xml',
  3816. 'Referer': ""
  3817. },
  3818. onload: function (result)
  3819. {
  3820. var res = result.responseText;
  3821. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3822. {
  3823. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3824. return;
  3825. }
  3826. if (res.match(/folderStatus>1/)) //Online status
  3827. {
  3828. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3829. }
  3830. else
  3831. {
  3832. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3833. }
  3834. }
  3835. });
  3836. }
  3837. }
  3838.  
  3839. /* function megashareBulkCheck()
  3840. {
  3841. var arr = this.links[0].split("\r\n");
  3842. var i = arr.length;
  3843. while(i--)
  3844. {
  3845. postRequest(arr[i]);
  3846. }
  3847. function postRequest(msLink)
  3848. {
  3849. GM_xmlhttpRequest(
  3850. {
  3851. method: "GET",
  3852. url: msLink,
  3853. headers: {
  3854. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3855. 'Content-Type': 'application/x-www-form-urlencoded',
  3856. 'Referer': ""
  3857. },
  3858. onload: function (result)
  3859. {
  3860. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3861. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3862. if ((prZVal == null) || (btn3Name == null))
  3863. {
  3864. return;
  3865. }
  3866. GM_xmlhttpRequest(
  3867. {
  3868. method: "POST",
  3869. url: msLink,
  3870. headers: {
  3871. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3872. 'Content-Type': 'application/x-www-form-urlencoded',
  3873. 'Referer': ""
  3874. },
  3875. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3876. onload: function (result)
  3877. {
  3878. var res = result.responseText;
  3879. if (res.match(/<div id="err">/))
  3880. {
  3881. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3882. }
  3883. else
  3884. {
  3885. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3886. }
  3887. }
  3888. });
  3889. }
  3890. });
  3891. }
  3892. } */
  3893. function hellshareBulkCheck()
  3894. {
  3895. var links = this.links;
  3896. GM_xmlhttpRequest(
  3897. {
  3898. method: "GET",
  3899. url: 'http://www.hellshare.com',
  3900. headers: {
  3901. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3902. 'Accept': 'text/xml',
  3903. 'Referer': ""
  3904. },
  3905. onload: function (result)
  3906. {
  3907. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3908.  
  3909. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3910. if (domain == 'sk')
  3911. loc = 'check=Skontrolova%C5%A5&links=';
  3912. if (domain == 'com')
  3913. loc = 'check=Check+availability&links=';
  3914. if (domain == 'hu')
  3915. loc = 'check=Kontrol%C3%A1lj&links=';
  3916. if (domain == 'pl')
  3917. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3918.  
  3919. genBulkCheck.call({ links: links,
  3920. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3921. postData: loc,
  3922. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3923. 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,
  3924. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3925. resUnavaRegex: null
  3926. });
  3927. }
  3928. });
  3929. }
  3930. /**
  3931. * Displays check result
  3932. * @param {Array} Array of links or link fragments.
  3933. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3934. */
  3935. function DisplayTheCheckedLinks(links, resultStatus)
  3936. {
  3937. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3938. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3939. if (Do_not_linkify_DL_links)
  3940. { //TODO into separate jQuery function
  3941. $links.replaceWith(function(){
  3942. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3943. });
  3944. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3945. }
  3946. $links.removeClass().addClass(resultStatus);
  3947. $links.each(function() {
  3948. this.href = Ref_anonymize_service + $(this).attr("href");
  3949. });
  3950. switch(resultStatus)
  3951. {
  3952. case "alive_link": cLinksAlive += $links.length;
  3953. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3954. break;
  3955. case "adead_link": cLinksDead += $links.length;
  3956. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3957. break;
  3958. case "prem_link": cLinksprem += $links.length;
  3959. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3960. break;
  3961. case "unava_link": cLinksUnava += $links.length; break;
  3962. default:
  3963. }
  3964. cLinksProcessed += $links.length;
  3965. }
  3966. }
  3967. // starts bulkchecking
  3968. //
  3969. // params
  3970. // filterId [string] restricts link detection with passed id attribute
  3971. function startBulkCheck(filterId)
  3972. {
  3973. var cHosts = bulkHosts.length;
  3974. if (cHosts == 0) //no filehostings selected
  3975. return;
  3976. // STEP 1 linkify the links
  3977. var linkifyRegex = '';
  3978. var hostIdx = cHosts;
  3979. while(hostIdx--)
  3980. {
  3981. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3982. }
  3983. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3984. linkify(linkifyRegex);
  3985. //
  3986. //STEP 2 detect link objects
  3987. var xpathAll = '';
  3988. var hostIdx = cHosts;
  3989. while(hostIdx--)
  3990. {
  3991. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3992. }
  3993. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3994. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3995. if (filterId != null) //insert id restriction in the xpath
  3996. {
  3997. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3998. }
  3999. else
  4000. {
  4001. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4002. }
  4003. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4004. if (filterId == null)
  4005. {
  4006. cLinksTotal += links.snapshotLength;
  4007. }
  4008. //
  4009. //STEP 3 bind links with hostings
  4010. var linkIdx = links.snapshotLength;
  4011. var href = null;
  4012. if (linkIdx == 0) // no links found
  4013. return;
  4014. var name;
  4015. while (linkIdx--)
  4016. {
  4017. href = links.snapshotItem(linkIdx).href;
  4018. try // DO NOT REMOVE, filters crap that went through xpath detection
  4019. {
  4020. name = gimmeHostName(href);
  4021. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4022. bulkHostNames[name].links.push(href);
  4023. }
  4024. catch(e)
  4025. {
  4026.  
  4027. }
  4028. }
  4029. //
  4030. //STEP 4 process the links for each filehosting
  4031. var hostIdx = cHosts;
  4032. var host;
  4033. var m,n;
  4034. var arr;
  4035. while (hostIdx--)
  4036. {
  4037. host = bulkHosts[hostIdx];
  4038. arr = host.links;
  4039. if (arr.length == 0) //no links for this hosting, skip
  4040. {
  4041. continue;
  4042. }
  4043. //links match corrections
  4044. if (host.corrMatch != null)
  4045. {
  4046. var idx = arr.length;
  4047. while (idx--)
  4048. {
  4049. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4050. }
  4051. }
  4052. //links replace corrections
  4053. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4054. {
  4055. var idx = arr.length;
  4056. while (idx--)
  4057. {
  4058. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4059. }
  4060. }
  4061. m = arr.length;
  4062. n = host.blockSize;
  4063. if (m > n)
  4064. {
  4065. //insert block separators (RAND_STRING) into the array
  4066. for(var i = n; i < m; i += n + 1)
  4067. {
  4068. arr.splice(i, 0, RAND_STRING);
  4069. }
  4070. }
  4071.  
  4072. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4073. apiUrl: host.apiUrl,
  4074. postData: host.postData,
  4075. resLinkRegex: host.resLinkRegex,
  4076. resLiveRegex: host.resLiveRegex,
  4077. resDeadRegex: host.resDeadRegex,
  4078. resUnavaRegex: host.resUnavaRegex
  4079. });
  4080. //clean up
  4081. arr.length = 0;
  4082. }
  4083. //
  4084.  
  4085. function gimmeHostName(link)
  4086. {
  4087. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4088. }
  4089. }
  4090. function checkLinks(filterId)
  4091. {
  4092. startBulkCheck(filterId);
  4093. start(filterId);
  4094. }
  4095.  
  4096. /**
  4097. * Initialises progress box including event binding and CSS
  4098. */
  4099. function initProgressBox()
  4100. {
  4101. if ($("#warlc-progressbox").length > 0)
  4102. return;
  4103. //progressbox css change size and color of progress box
  4104. var progressboxCss = "#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4105. "; opacity:" + (Progress_box_opacity / 100) +
  4106. "; bottom:" + Processbox_Pos_Y +
  4107. "%; left:" + Processbox_Pos_X +
  4108. "%; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4109. \
  4110. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4111. \
  4112. .warlc-progressitem {}\
  4113. \
  4114. .alive {color:#00FF7F; " + Live_links_color +
  4115. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4116. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4117. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4118. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4119. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}";
  4120. //
  4121. if (Progressbox_Scaling != 100) {
  4122. $.each(progressboxCss.match(/[\d\.]+px/g), function(i, el) { //dynamic rescaling of the progressbox according to user settings
  4123. 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
  4124. });
  4125. }
  4126. 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
  4127.  
  4128. GM_addStyle(progressboxCss);
  4129. $('body').append(' <div id="warlc-progressbox">\
  4130. <div class="warlc-progressbar"></div>\
  4131. <span class="warlc-progressitem alive"></span> - \
  4132. <span class="warlc-progressitem dead"></span> - \
  4133. <span class="warlc-progressitem unava"></span> - \
  4134. <span class="warlc-progressitem prem"></span> - \
  4135. <span class="warlc-progressitem processing"></span>\
  4136. </div>');
  4137. $('#warlc-progressbox').hide().click(function(){
  4138. clearInterval(intervalId);
  4139. $(this).hide();
  4140. return false;
  4141. });
  4142. $(".warlc-progressbar").progressbar({complete: function(){
  4143. $(this).fadeOut();
  4144. clearInterval(intervalId); //stop refreshing the stats
  4145. }
  4146. })
  4147. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4148. }
  4149. /**
  4150. * Updates progress data in progress box
  4151. */
  4152. function updateProgress()
  4153. {
  4154. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4155. if (cLinksTotal) // some links were detected on page
  4156. {
  4157. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4158. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4159. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4160. if ((cLinksTotal - cLinksProcessed) == 0)
  4161. {
  4162. $progressItems.first().text(cLinksAlive)
  4163. .next().text(cLinksDead)
  4164. .next().text(cLinksUnava)
  4165. .next().text(cLinksprem)
  4166. .next().remove();
  4167. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4168. $('#warlc-progressbox div:first-child').remove();
  4169. }
  4170. else
  4171. {
  4172. $progressItems.first().text(cLinksAlive)
  4173. .next().text(cLinksDead)
  4174. .next().text(cLinksUnava)
  4175. .next().text(cLinksprem)
  4176. .next().text(cLinksTotal - cLinksProcessed);
  4177. }
  4178. }
  4179. }
  4180.  
  4181. function check_all_links()
  4182. {
  4183. add_WARLC_style();
  4184.  
  4185. if (Show_progress_stats)
  4186. {
  4187. initProgressBox();
  4188. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4189. }
  4190.  
  4191. startBulkCheck(null);
  4192. start(null);
  4193.  
  4194. if (!containers_processed)
  4195. {
  4196. processContainers();
  4197. }
  4198. }
  4199.  
  4200. //Copies all found dead links to clipboard - right now for Scriptish only
  4201. function copy_dead_to_clipboard()
  4202. {
  4203. initClipBoardTools();
  4204.  
  4205. var deadlinksxpath = "//.[@class='adead_link']";
  4206.  
  4207. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4208. var foundlinkstext = '';
  4209.  
  4210. var foundlinkIdx = foundlinks.snapshotLength;
  4211.  
  4212. while(foundlinkIdx--)
  4213. {
  4214. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4215. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4216. }
  4217.  
  4218. GM_setClipboard(foundlinkstext);
  4219. }
  4220. //Copies all found live links to clipboard
  4221. function copy_live_to_clipboard()
  4222. {
  4223. initClipBoardTools();
  4224.  
  4225. var livelinksxpath = "//.[@class='alive_link']";
  4226.  
  4227. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4228. var foundlinks2text = '';
  4229.  
  4230. var foundlink2Idx = foundlinks2.snapshotLength;
  4231.  
  4232. while(foundlink2Idx--)
  4233. {
  4234. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4235. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4236. }
  4237.  
  4238. GM_setClipboard(foundlinks2text);
  4239. }
  4240.  
  4241. function toggle_autocheck()
  4242. {
  4243. var currentState = GM_getValue("Autocheck", false);
  4244. GM_setValue("Autocheck", !currentState);
  4245.  
  4246. if (currentState == true)
  4247. {
  4248. sendMessage('Autocheck disabled', 'red');
  4249. }
  4250. else
  4251. {
  4252. sendMessage('Autocheck enabled', 'SpringGreen');
  4253. }
  4254. }
  4255. function toggle_Enable_Anonymizer()
  4256. {
  4257. var currentState = GM_getValue("Enable_Anonymizer", false);
  4258. GM_setValue("Enable_Anonymizer", !currentState);
  4259.  
  4260. if (currentState == true)
  4261. {
  4262. GM_setValue("Ref_anonymize_service", "");
  4263. sendMessage('Anonymizer Disabled', 'red');
  4264. }
  4265. else
  4266. {
  4267. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4268. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4269. }
  4270. }
  4271.  
  4272. function KeyDownHandler(event)
  4273. {
  4274. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4275. if (event.ctrlKey && event.altKey)
  4276. {
  4277. switch(kcode)
  4278. {
  4279. case 65 : check_all_links(); break;
  4280. case 67 : configuration(); break;
  4281. case 68 : copy_dead_to_clipboard(); break;
  4282. case 76 : copy_live_to_clipboard(); break;
  4283. case 87 : toggle_autocheck(); break;
  4284. case 90 : toggle_Enable_Anonymizer(); break;
  4285. }
  4286. }
  4287. }
  4288.  
  4289. //
  4290. //
  4291. // SCRIPT EXECUTION START POINT
  4292. //
  4293. //
  4294. // Safari specific GM_getResourceText override
  4295. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4296. {
  4297. GM_getResourceText = function(res) {
  4298. var $cssText = GM_getValue("jquery_css", "");
  4299. if ($cssText == "")
  4300. {
  4301. GM_xmlhttpRequest(
  4302. {
  4303. method: 'GET',
  4304. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4305. onload: function (result)
  4306. {
  4307. GM_setValue("jquery_css", result.responseText);
  4308. window.location.reload();
  4309. }
  4310. });
  4311. }
  4312. else
  4313. {
  4314. return $cssText;
  4315. }
  4316. }
  4317. }
  4318. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4319. GM_addStyle(jQueryUICSS);
  4320. //init the stuff
  4321. setVariables();
  4322. initBulkCheck();
  4323. //init info boxes
  4324. messageBox.style.position = 'fixed';
  4325. messageBox.style.top = '20px';
  4326. messageBox.style.left = '10px';
  4327. messageBox.style.opacity = '0.85';
  4328. messageBox.style.background = 'DimGray';
  4329. messageBox.style.fontSize = '36px';
  4330. document.body.appendChild(messageBox);
  4331.  
  4332. //register GM menu commands & keyboard shortcut event handler
  4333. if (Keyboard_functions)
  4334. {
  4335. $(document).keydown(KeyDownHandler);
  4336. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4337. 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);
  4338. }
  4339. else
  4340. {
  4341. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4342. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4343. }
  4344.  
  4345. //start linkchecking
  4346. if (Autocheck)
  4347. {
  4348. $(document).ready(check_all_links);
  4349. }
  4350.  
  4351. //
  4352. //
  4353. // SCRIPT EXECUTION END POINT
  4354. //
  4355. //
  4356.  
  4357. //shows configuration box
  4358. function configuration()
  4359. {
  4360.  
  4361. //prevent multiple creating of config window
  4362. if ($("#hideshow").length)
  4363. {
  4364. $("#hideshow").show();
  4365. return;
  4366. }
  4367.  
  4368. var configcss = '\
  4369. .popup_block .popup fieldset{\
  4370. padding: 1%;\
  4371. border-style: solid;\
  4372. border-width: 1px;\
  4373. border-color: gray;\
  4374. margin-bottom: 1px;\
  4375. }\
  4376. #h3hideshowtitle{\
  4377. font-size: 2em;\
  4378. }\
  4379. #h3hideshow{\
  4380. font-size: 1.5em;\
  4381. }\
  4382. #imghideshow {\
  4383. border: none;\
  4384. }\
  4385. #plusimage{\
  4386. display:inline;\
  4387. }\
  4388. #hideshow {\
  4389. position: fixed;\
  4390. width: 100%;\
  4391. height: 100%;\
  4392. top: 0;\
  4393. left: 0;\
  4394. font-size:12px;\
  4395. z-index:2147483645;\
  4396. text-align:left;\
  4397. }\
  4398. #fade {\
  4399. background: #000;\
  4400. position: fixed;\
  4401. width: 100%;\
  4402. height: 100%;\
  4403. opacity: .80;\
  4404. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4405. left: 0;\
  4406. z-index: 10;\
  4407. }\
  4408. .popup_block {\
  4409. font-family:verdana;\
  4410. color:black;\
  4411. background: #ddd;\
  4412. padding: 10px 20px;\
  4413. border: 2px solid DarkOrange;\
  4414. float: left;\
  4415. width: 700px;\
  4416. position: absolute;\
  4417. top: 7%;\
  4418. left: 50%;\
  4419. bottom: 7%;\
  4420. margin: 0 0 0 -350px;\
  4421. -moz-border-radius:10px;\
  4422. z-index: 100;\
  4423. \
  4424. }\
  4425. .popup_block .popup {\
  4426. float: left;\
  4427. width: 100%;\
  4428. background: #fff;\
  4429. margin: 10px 0;\
  4430. padding: 0px 0 0px;\
  4431. border-left: 1px solid #bbb;\
  4432. border-top: 1px solid #bbb;\
  4433. border-right: 1px solid #bbb;\
  4434. }\
  4435. #h3hideshow{\
  4436. margin: 1px 0 0px;\
  4437. padding: 1px 10px;\
  4438. border-bottom: 1px solid #bbb;\
  4439. font-size: 1.5em;\
  4440. font-weight: normal;\
  4441. cursor:pointer;\
  4442. background:#DDDDDD none repeat scroll 0 0;\
  4443. }\
  4444. #h3hideshow:hover{\
  4445. background:#C0BEBE none repeat scroll 0 0;\
  4446. }\
  4447. #h3hideshowtitle{\
  4448. margin: 2px 0 0px;\
  4449. padding: 7px 10px;\
  4450. border-bottom: 1px solid #bbb;\
  4451. font-size: 1.5em;\
  4452. font-weight: normal;\
  4453. }\
  4454. .popup_block .popup a {\
  4455. color:DarkSkyBlue;\
  4456. text-decoration:none;\
  4457. }\
  4458. .popup p {\
  4459. padding: 1px 10px;\
  4460. margin: 0px 0;\
  4461. -x-system-font:none;\
  4462. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4463. font-size:10pt;\
  4464. font-size-adjust:none;\
  4465. font-stretch:normal;\
  4466. font-style:normal;\
  4467. font-variant:normal;\
  4468. font-weight:normal;\
  4469. line-height:normal;\
  4470. }\
  4471. #sites {\
  4472. padding: 1px 10px;\
  4473. margin: 0px 0;display:inline-block;width:16em;\
  4474. }\
  4475. #dev_ver {\
  4476. color: #00FF00;\
  4477. background: Black;\
  4478. text-align: right;\
  4479. }\
  4480. #sites_suspended {\
  4481. padding: 1px 10px;\
  4482. margin: 0px 0;display:inline-block;width:16em;\
  4483. text-decoration: line-through;\
  4484. }\
  4485. .popup img.cntrl {\
  4486. position: absolute;\
  4487. right: -15px;\
  4488. top: -15px;\
  4489. }\
  4490. #bulk {\
  4491. font-size:8pt;\
  4492. color:orange;\
  4493. padding: 1px 10px;\
  4494. margin: 0px 0;\
  4495. display:inline-block;\
  4496. width:100px;\
  4497. }\
  4498. #note {\
  4499. font-size:7pt;\
  4500. color:gray;\
  4501. padding: 1px 10px;\
  4502. margin: 0px 0;display:inline-block;\
  4503. min-width:100px;\
  4504. }\
  4505. #rednote {\
  4506. font-size:7pt;\
  4507. color:red;\
  4508. padding: 1px 10px;\
  4509. margin: 0px 0;display:inline-block;\
  4510. }\
  4511. #configinfo {\
  4512. font-size:8pt;\
  4513. color:gray;\
  4514. padding: 1px 10px;\
  4515. margin: 0px 0;display:inline-block;width:60em;\
  4516. }\
  4517. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4518. color:black;\
  4519. border-style: solid;\
  4520. border-width: 1px;\
  4521. border-color: gray;\
  4522. }\
  4523. #h3hideshowcontent {\
  4524. min-height:220px;\
  4525. max-height:220px;\
  4526. overflow:auto;\
  4527. display: none;\
  4528. padding: 10px 10px;\
  4529. }\
  4530. #specinfo{\
  4531. font-size:14px;\
  4532. }\
  4533. .warlc-ui-tab {\
  4534. height:300px;\
  4535. overflow:auto;\
  4536. }\
  4537. #warlcsitelist2, #warlcsitelist1 {\
  4538. height:220px;\
  4539. border-top: 1px solid #ddd;\
  4540. padding-top: 5px;\
  4541. overflow:auto;\
  4542. }\
  4543. input:hover+label {\
  4544. background:#F1F77C;\
  4545. font-size:110%;\
  4546. }\
  4547. ';
  4548.  
  4549. GM_addStyle(configcss);
  4550.  
  4551. var customRulesRefHTML =
  4552. '\
  4553. <br>\
  4554. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4555. <b>@keyword</b> <i>parameter</i>\
  4556. <br><br>\
  4557. 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. \
  4558. <br><br>\
  4559. 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.\
  4560. 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.\
  4561. 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.\
  4562. 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,\
  4563. but all commands until the next valid @customrule are ignored.<br><br>\
  4564. Available forms and types:\
  4565. <ul>\
  4566. <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.\
  4567. <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.\
  4568. <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.\
  4569. <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.\
  4570. </ul>\
  4571. Other available commands:<br>\
  4572. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4573. <ul>\
  4574. <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.\
  4575. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4576. <ul>examples:<br>\
  4577. <li>good: <i>filehost.com/download/</i><br>\
  4578. <li>good: <i>download.filehost.net/?d=</i><br>\
  4579. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4580. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4581. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4582. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4583. <li>bad: <i>filehost.com</i> - no slash<br>\
  4584. </ul>\
  4585. \
  4586. <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.\
  4587. 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 \
  4588. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4589. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4590. 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.)\
  4591. Two spaces again match any whitespace.\
  4592. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4593. Two spaces again match any whitespace.\
  4594. <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. \
  4595. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4596. </ul>\
  4597. \
  4598. ';
  4599.  
  4600. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4601. var configurationinnerHTML =
  4602. '<div id="fade"></div>\
  4603. <div class="popup_block">\
  4604. <div class="popup">\
  4605. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEWsp/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5RK8ctlKq6ZpHFSKdBzCwSVjQRILAz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zR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4607. <div id="warlc-conf-tabs">\
  4608. <ul>\
  4609. <li><a href="#tabs-1">Filehostings</a></li>\
  4610. <li><a href="#tabs-2">Containers</a></li>\
  4611. <li><a href="#tabs-5">Custom rules</a></li>\
  4612. <li><a href="#tabs-3">Settings</a></li>\
  4613. <li><a href="#tabs-4">About</a></li>\
  4614. </ul>\
  4615. <div id="tabs-1" class="warlc-ui-tab">\
  4616. <div class="warlc-ui-buttonset">\
  4617. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4618. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4619. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4620. </div><br>\
  4621. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4622. <div id="warlcsitelist1"><span>Empty</span></div>\
  4623. </div>\
  4624. <div id="tabs-2" class="warlc-ui-tab">\
  4625. <div class="warlc-ui-buttonset">\
  4626. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4627. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4628. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4629. </div><br>\
  4630. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4631. <div id="warlcsitelist2"><span>Empty</span></div>\
  4632. </div>\
  4633. <div id="tabs-5" class="warlc-ui-tab">\
  4634. <div class="warlcsettings">\
  4635. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4636. <br>\
  4637. <div>Edit custom rules: \
  4638. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4639. <div id="customRulesReference" style="display:none;">'
  4640. + customRulesRefHTML + '\
  4641. </div>\
  4642. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4643. </div>\
  4644. </div>\
  4645. </div>\
  4646. <div id="tabs-3" class="warlc-ui-tab">\
  4647. <div class="warlcsettings">\
  4648. <fieldset>\
  4649. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4650. <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>\
  4651. </fieldset>\
  4652. <fieldset>\
  4653. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4654. <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>\
  4655. <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>\
  4656. <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>\
  4657. <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>\
  4658. <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>\
  4659. <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>\
  4660. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4661. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4662. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4663. <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>\
  4664. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4665. <fieldset>\
  4666. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4667. <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>\
  4668. <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>\
  4669. <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>\
  4670. </fieldset>\
  4671. </fieldset>\
  4672. <fieldset>\
  4673. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4674. </fieldset>\
  4675. <fieldset>\
  4676. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4677. </fieldset>\
  4678. <fieldset>\
  4679. <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>\
  4680. </fieldset>\
  4681. <fieldset>\
  4682. <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>\
  4683. </fieldset>\
  4684. <fieldset>\
  4685. <legend>Progress box settings</legend>\
  4686. <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>\
  4687. <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>\
  4688. <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>\
  4689. </fieldset>\
  4690. </div>\
  4691. </div>\
  4692. <div id="tabs-4" class="warlc-ui-tab">\
  4693. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4694. <br />\
  4695. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4696. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4697. <br />\
  4698. <p><b>Currently supported:</b><br>\
  4699. Filehostings: ' + allHostNames.length + '<br />\
  4700. Containers: ' + allContainerNames.length + '<br />\
  4701. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4702. <br />\
  4703. <p><b>Based on:</b><br>\
  4704. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4705. <br />\
  4706. <p><b>Uses:</b></p>\
  4707. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4708. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4709. <br />\
  4710. <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>\
  4711. </div>\
  4712. </div>\
  4713. </div>\
  4714. </div>';
  4715. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4716. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4717. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4718. var elmHostList = document.getElementById("warlcsitelist1");
  4719. var elmContainerList = document.getElementById("warlcsitelist2");
  4720. buildSettings();
  4721. buildSitelist("", allHostNames, elmHostList);
  4722. buildSitelist("", allContainerNames, elmContainerList);
  4723. if (DEBUG_MODE)
  4724. {
  4725. //log all sites availability status
  4726. diagSites();
  4727. }
  4728. //handler for checkbox state change
  4729. function changeConfiguration(e)
  4730. {
  4731. var element = e.target;
  4732.  
  4733. if (element.type == 'checkbox')
  4734. {
  4735. if (element.checked == 1)
  4736. {
  4737. GM_setValue(element.id, true);
  4738. }
  4739. else
  4740. {
  4741. GM_setValue(element.id, false);
  4742. }
  4743.  
  4744. }
  4745. setVariables();
  4746. }
  4747.  
  4748. //Selects all filehosting checkboxes
  4749. function selectAll()
  4750. {
  4751. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4752. .each(function(index, element){GM_setValue(this.id, true)});
  4753. }
  4754.  
  4755. //Deselects all filehosting checkboxes
  4756. function selectNone()
  4757. {
  4758. $(":checkbox:visible:checked").prop("checked",false)
  4759. .each(function(index, element){GM_setValue(this.id, false)});
  4760. }
  4761. //Sets Processbox position setting
  4762. function changeProgBox(event) {
  4763. var setting;
  4764. switch(event.data.set) {
  4765. case "X": setting = "Processbox_Pos_X"; break;
  4766. case "Y": setting = "Processbox_Pos_Y"; break;
  4767. case "Scale": setting = "Progressbox_Scaling"; break;
  4768. }
  4769. var $setting = $("#" + setting);
  4770. var newSet = $setting.val().replace("%", "");
  4771. GM_setValue(setting, newSet);
  4772. }
  4773. //Sets value of Processbox position
  4774. $("#Processbox_Pos_X").val(Processbox_Pos_X + "%");
  4775. $("#Processbox_Pos_Y").val(Processbox_Pos_Y + "%");
  4776. $("#Progressbox_Scaling").val(Progressbox_Scaling + "%");
  4777.  
  4778. //Inverts filehosting checkboxes selection
  4779. function selectInvert()
  4780. {
  4781. var $checked = $(":checkbox:visible:checked");
  4782. var $unchecked = $(":checkbox:visible:not(:checked)");
  4783. $unchecked.prop("checked",true)
  4784. .each(function(index, element){GM_setValue(this.id, true)});
  4785. $checked.prop("checked",false)
  4786. .each(function(index, element){GM_setValue(this.id, false)});
  4787. }
  4788. //toggles anonymizer on off
  4789. function Enable_Anonymizer()
  4790. {
  4791. var $checked = $(":checkbox:visible:checked");
  4792. var $unchecked = $(":checkbox:visible:not(:checked)");
  4793. $unchecked.prop("checked",true)
  4794. .each(function(index, element){GM_setValue(this.id, true)});
  4795. $checked.prop("checked",false)
  4796. .each(function(index, element){GM_setValue(this.id, false)});
  4797. }
  4798.  
  4799. function changeRefAnonymizer(){
  4800. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4801. }
  4802.  
  4803. //Sets live links color
  4804. function changeColorLive()
  4805. {
  4806. var inColorLive = document.getElementById("inputColorLive");
  4807. inColorLive.style.background = inColorLive.value;
  4808. GM_setValue("Live_links_color", inColorLive.value);
  4809. }
  4810.  
  4811. //Sets dead links color
  4812. function changeColorDead()
  4813. {
  4814. var inColorDead = document.getElementById("inputColorDead");
  4815. inColorDead.style.background = inColorDead.value;
  4816. GM_setValue("Dead_links_color", inColorDead.value);
  4817. }
  4818.  
  4819. //Sets temp. unavailable links color
  4820. function changeColorTemp()
  4821. {
  4822. var inColorTemp = document.getElementById("inputColorTemp");
  4823. inColorTemp.style.background = inColorTemp.value;
  4824. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4825. }
  4826.  
  4827. //Sets temp. unavailable links color
  4828. function changeColorCont()
  4829. {
  4830. var inColorCont = document.getElementById("inputColorCont");
  4831. inColorCont.style.background = inColorCont.value;
  4832. GM_setValue("Container_links_color", inColorCont.value);
  4833. }
  4834. //Sets premium. links color
  4835. function changeColorprem()
  4836. {
  4837. var inColorprem = document.getElementById("inputColorprem");
  4838. inColorprem.style.background = inColorprem.value;
  4839. GM_setValue("Premium_links_color", inColorprem.value);
  4840. }
  4841.  
  4842. //Diagnose sites for availability
  4843. function diagSites()
  4844. {
  4845. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4846.  
  4847. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4848. {
  4849. if (boxes[i].type == "checkbox")
  4850. {
  4851. checkAvailability(boxes[i]);
  4852. }
  4853. }
  4854.  
  4855. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4856.  
  4857. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4858. {
  4859. if (boxes[i].type == "checkbox")
  4860. {
  4861. checkAvailability(boxes[i]);
  4862. }
  4863. }
  4864.  
  4865. function checkAvailability(cbElm)
  4866. {
  4867. var cb = cbElm;
  4868. GM_xmlhttpRequest(
  4869. {
  4870. method: 'HEAD',
  4871. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4872. headers: {
  4873. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4874. 'Accept': 'text/xml',
  4875. 'Referer': ""
  4876. },
  4877. onload: function (result)
  4878. {
  4879. if (result.status != 200)
  4880. {
  4881. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4882. }
  4883. },
  4884. onerror: function (result)
  4885. {
  4886. if (result.status != 200)
  4887. {
  4888. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4889. //Sets Progress_box position setting
  4890. function changeProgBox(event) {
  4891. var setting;
  4892. switch(event.data.set) {
  4893. case "X": setting = "Progress_box_Pos_X"; break;
  4894. case "Y": setting = "Progress_box_Pos_Y"; break;
  4895. case "Scale": setting = "Progress_box_Scaling"; break;
  4896. }
  4897.  
  4898. var $setting = $("#" + setting);
  4899. var newSet = $setting.val().replace("%", "");
  4900. lsSetVal("general", setting, newSet);
  4901. }
  4902.  
  4903. //Sets value of Progress_box position
  4904. $("#Progress_box_Pos_X").val(Progress_box_Pos_X + "%");
  4905. $("#Progress_box_Pos_Y").val(Progress_box_Pos_Y + "%");
  4906. $("#Progress_box_Scaling").val(Progress_box_Scaling + "%");
  4907. }
  4908. }
  4909. });
  4910. }
  4911. }
  4912. function buildSettings()
  4913. {
  4914. $(".warlcsettings :checkbox").each(function(){
  4915. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4916. .click(function(e){
  4917. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4918. setVariables();
  4919. });
  4920. })
  4921. }
  4922. //Dynamic build of host list
  4923. //param search [string] searches for hostnames matching search substring
  4924. //param siteNames [array] array of site names
  4925. //param targetNode [DOM Node] where the list should be built
  4926. // first child node is replaced
  4927. function buildSitelist(search, siteNames, targetNode)
  4928. {
  4929. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4930. var $targetNode = $(targetNode).empty();
  4931. var searchedSite = "";
  4932. $.each(siteNames, function(i, site){
  4933. if (searchedSite = site.match(searchRegex))
  4934. {
  4935. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4936. //ensuring backward compatibility with the rest of code, to be refactored later
  4937. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4938. //
  4939. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4940. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4941. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4942. );
  4943. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4944. .change(changeConfiguration);
  4945. $targetNode.append('<br />');
  4946. }
  4947. });
  4948. $targetNode.append("<hr>");
  4949. //obsolete hosts checkbox
  4950. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4951. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4952. .change(changeConfiguration);
  4953. $targetNode.append('<br />');
  4954. var foundName = "";
  4955. $.each(allObsoleteNames, function(i, site){
  4956. if (foundName = allObsoleteNames[i].match(searchRegex))
  4957. {
  4958. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4959. }
  4960. })
  4961. }
  4962. var hostSearchBox = document.getElementById("hostSearchBox");
  4963. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4964. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4965. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4966. $(".warlc-ui-select-all").click(selectAll).button();
  4967. $(".warlc-ui-select-none").click(selectNone).button();
  4968. $(".warlc-ui-select-invert").click(selectInvert).button();
  4969. $(".warlc-ui-buttonset").buttonset();
  4970. var inColorLive = document.getElementById("inputColorLive");
  4971. inColorLive.addEventListener('keyup', changeColorLive, false);
  4972.  
  4973. var inColorDead = document.getElementById("inputColorDead");
  4974. inColorDead.addEventListener('keyup', changeColorDead, false);
  4975.  
  4976. var inColorTemp = document.getElementById("inputColorTemp");
  4977. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4978.  
  4979. var inColorCont = document.getElementById("inputColorCont");
  4980. inColorCont.addEventListener('keyup', changeColorCont, false);
  4981. var inColorprem = document.getElementById("inputColorprem");
  4982. inColorprem.addEventListener('keyup', changeColorprem, false);
  4983. $("#refAnonymizer").change(changeRefAnonymizer);
  4984. //buttons and edit boxes init end
  4985.  
  4986. //icon sets radio buttons
  4987. var radioButtons = document.getElementsByName("warlciconset");
  4988. radioButtons[Icon_set].checked = "checked";
  4989.  
  4990. radioButtons[0].addEventListener("change", updateIconSet);
  4991. radioButtons[1].addEventListener("change", updateIconSet);
  4992. radioButtons[2].addEventListener("change", updateIconSet);
  4993. radioButtons[3].addEventListener("change", updateIconSet);
  4994. function updateIconSet()
  4995. {
  4996. GM_setValue("Icon_set", this.value * 1);
  4997. $("#Progress_box_Pos_X").change({ set: "X" }, changeProgBox);
  4998. $("#Progress_box_Pos_Y").change({ set: "Y" }, changeProgBox);
  4999. $("#Progress_box_Scaling").change({ set: "Scale" }, changeProgBox);
  5000. /* var Progress_box_Pos_X = document.getElementById("Progress_box_Pos_X");
  5001. Progress_box_Pos_X.addEventListener('keyup', changeProgress_box_Pos_X, false);
  5002.  
  5003. var Progress_box_Pos_Y = document.getElementById("Progress_box_Pos_Y");
  5004. Progress_box_Pos_Y.addEventListener('keyup', changeProgress_box_Pos_Y, false);
  5005.  
  5006. var Progress_box_Scaling = document.getElementById("Progress_box_Scaling");
  5007. Progress_box_Scaling.addEventListener('keyup', changeProgress_box_Scaling, false); */
  5008. }
  5009. //
  5010. $('#showCustomRulesReference').click(function(e){
  5011. e.preventDefault();
  5012. $('#customRulesReference').toggle();
  5013. });
  5014. $('#Custom_rules_text')
  5015. .val(Custom_rules_text)
  5016. .change(saveCustomRules);
  5017. function saveCustomRules(e)
  5018. {
  5019. var cr = parseCustomRules(this.value);
  5020. if (cr.info.length)
  5021. 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, ' '));
  5022. GM_setValue('Custom_rules_text', this.value);
  5023. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  5024. }
  5025. $("#Processbox_Pos_X").change({ set: "X" }, changeProgBox);
  5026. $("#Processbox_Pos_Y").change({ set: "Y" }, changeProgBox);
  5027. $("#Progressbox_Scaling").change({ set: "Scale" }, changeProgBox);
  5028. }
  5029.  
  5030. //begin standard link checking algorithm
  5031. function start(filterId)
  5032. {
  5033. var doNotLinkify = Do_not_linkify_DL_links;
  5034.  
  5035. // USER SELECTED FILE HOSTS INITIALIZATION START
  5036. var http_file_hosts = new Array(); //standard hostings
  5037. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  5038. var http_file_hosts_obsolete = new Array(); //dead hostings
  5039. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  5040.  
  5041. initFileHosts();
  5042. initFileHostsHeadersOnly();
  5043. initFileHostsCustom(); //CustomRules
  5044. // USER SELECTED FILE HOSTS INITIALIZATION END
  5045.  
  5046. // LINKIFICATION START
  5047. var totalxpath = '';
  5048. var totalxpathcoded = '';
  5049. var totalxpathobsolete = '';
  5050. var totalxpathheadersonly = '';
  5051. var totalourls = '';
  5052.  
  5053. var filehostLen = http_file_hosts.length;
  5054. var filehostCodedLen = http_file_hosts_coded.length;
  5055. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  5056. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  5057.  
  5058. var filehostIdx = filehostLen;
  5059. var filehostCodedIdx = filehostCodedLen;
  5060. var filehostObsoleteIdx = filehostObsoleteLen;
  5061. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  5062.  
  5063. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  5064. return;
  5065.  
  5066. while (filehostIdx--)
  5067. {
  5068. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5069. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5070. }
  5071.  
  5072. while (filehostCodedIdx--)
  5073. {
  5074. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5075. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5076. }
  5077.  
  5078. while (filehostObsoleteIdx--)
  5079. {
  5080. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5081. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5082. }
  5083.  
  5084. while (filehostHeadersOnlyIdx--)
  5085. {
  5086. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5087. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5088. }
  5089.  
  5090. totalourls = totalourls.replace(/\|$/g, "");
  5091. //TODO: further refactoring needed
  5092. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5093. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5094. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5095. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5096. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5097. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5098. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5099. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5100. if (filterId != null) //insert id restriction in the xpath
  5101. {
  5102. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5103. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5104. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5105. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5106. }
  5107. else
  5108. {
  5109. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5110. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5111. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5112. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5113. }
  5114. linkify(totalourls);
  5115. //LINKIFICATION END
  5116. //ENCRYPTED LINKS PROCESSING START
  5117. if (http_file_hosts_coded.length > 0)
  5118. {
  5119. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5120.  
  5121. // decrypt coded links (redirects, link protectors etc.)
  5122. if (linksCoded.snapshotLength > 0)
  5123. {
  5124. var link;
  5125. var reallinkreg;
  5126. var reallinkcorrection;
  5127.  
  5128. if (filterId == null)
  5129. {
  5130. cLinksTotal += linksCoded.snapshotLength;
  5131. }
  5132.  
  5133. var y = linksCoded.snapshotLength - 1;
  5134. do
  5135. {
  5136. // linksCoded.snapshotItem(y).id = 'processing_link';
  5137. link = linksCoded.snapshotItem(y);
  5138. filehostIdx = filehostCodedLen;
  5139. while (filehostIdx--)
  5140. {
  5141. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5142. {
  5143. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5144. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5145. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5146.  
  5147. decurl(link, reallinkreg, reallinkcorrection);
  5148. break;
  5149. }
  5150. }
  5151. }
  5152. while (y--);
  5153. }
  5154. }
  5155. //ENCRYPTED LINKS PROCESSING END
  5156.  
  5157. //STANDARD LINKCHECKING START
  5158. if (http_file_hosts.length > 0)
  5159. {
  5160. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5161.  
  5162. if (filterId == null)
  5163. {
  5164. cLinksTotal += lianks.snapshotLength;
  5165. }
  5166.  
  5167. if (lianks.snapshotLength > 0)
  5168. {
  5169. var link;
  5170.  
  5171. var URL = "";
  5172. var name = "";
  5173. var isAliveRegex = "";
  5174. var isDeadRegex = "";
  5175. var isUnavaRegex = "";
  5176. var ispremRegex = "";
  5177. var tryLoop = false;
  5178.  
  5179. var y = lianks.snapshotLength;
  5180.  
  5181. while (y--)
  5182. {
  5183. link = lianks.snapshotItem(y);
  5184.  
  5185. filehostIdx = filehostLen;
  5186. while (filehostIdx--)
  5187. {
  5188. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5189. {
  5190. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5191. isAliveRegex = http_file_hosts[filehostIdx][1];
  5192. isDeadRegex = http_file_hosts[filehostIdx][2];
  5193. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5194. ispremRegex = http_file_hosts[filehostIdx][6];
  5195. tryLoop = http_file_hosts[filehostIdx][5];
  5196.  
  5197. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5198.  
  5199. break;
  5200. }
  5201. }
  5202. }
  5203. }
  5204. }
  5205. //STANDARD LINKCHECKING END
  5206. //OBSOLETE FILE HOSTS PROCESSING START
  5207. if (filehostObsoleteLen > 0)
  5208. {
  5209. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5210.  
  5211. var obsoleteLink;
  5212.  
  5213. //check links
  5214. if (obsoletelinks.snapshotLength > 0)
  5215. {
  5216. var y = obsoletelinks.snapshotLength;
  5217.  
  5218. if (filterId == null)
  5219. {
  5220. cLinksTotal += y;
  5221. }
  5222.  
  5223. while (y--)
  5224. {
  5225. obsoleteLink = obsoletelinks.snapshotItem(y);
  5226.  
  5227. if (Display_tooltip_info)
  5228. {
  5229. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5230. }
  5231. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5232. }
  5233. }
  5234. }
  5235. //OBSOLETE FILE HOSTS PROCESSING END
  5236.  
  5237. //DIRECT LINKCHECKING START
  5238. if (http_file_hosts_headers_only.length > 0)
  5239. {
  5240. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5241.  
  5242. //check links
  5243. if (links.snapshotLength > 0)
  5244. {
  5245. var link;
  5246. var isAliveRegex;
  5247. var isDeadRegex;
  5248. var ispremRegex;
  5249.  
  5250. var y = links.snapshotLength;
  5251.  
  5252.  
  5253. if (filterId == null)
  5254. {
  5255. cLinksTotal += y;
  5256. }
  5257.  
  5258. while (y--)
  5259. {
  5260. // links.snapshotItem(y).id = 'processing_link';
  5261. link = links.snapshotItem(y);
  5262. filehostIdx = filehostHeadersOnlyLen;
  5263. while (filehostIdx--)
  5264. {
  5265. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5266. {
  5267. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5268. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5269. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5270. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5271.  
  5272. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5273.  
  5274. break;
  5275. }
  5276. }
  5277. }
  5278.  
  5279. }
  5280. }
  5281. //DIRECT LINKCHECKING END
  5282.  
  5283.  
  5284. //finds the real url on the page, replaces link.href with it and calls geturl
  5285. function decurl(link, reallinkreg, reallinkcorrection)
  5286. {
  5287.  
  5288. GM_xmlhttpRequest(
  5289. {
  5290. method: 'GET',
  5291. url: link.href,
  5292. headers: {
  5293. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5294. 'Accept': 'text/xml',
  5295. 'Referer': ""
  5296. },
  5297. onload: function (result)
  5298. {
  5299. // cLinksProcessed++;
  5300.  
  5301. var reallink = result.responseText.match(reallinkreg)[0];
  5302. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5303.  
  5304. link.href = reallink;
  5305.  
  5306. var i = http_file_hosts.length - 1;
  5307. do
  5308. {
  5309. if ((reallink.match(http_file_hosts[i][0])))
  5310. {
  5311. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5312. var isAliveRegex = http_file_hosts[i][1];
  5313. var isDeadRegex = http_file_hosts[i][2];
  5314. var isUnavaRegex = http_file_hosts[i][3];
  5315. var ispremRegex = http_file_hosts[i][4];
  5316.  
  5317. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5318.  
  5319. break;
  5320. }
  5321. }
  5322. while (i--);
  5323. }
  5324. });
  5325. }
  5326.  
  5327. function randUA()
  5328. {
  5329. //TODO
  5330. }
  5331. //Processes link
  5332. //
  5333. // [string] link link URL
  5334. // [string] isAliveRegex alive link regex
  5335. // [string] isDeadRegex dead link regex
  5336. // [string] isUnavaRegex unavailable link regex
  5337. // [string] ispremRegex premium link regex
  5338. // [boolean] tryLoop repeats request until succeeded
  5339. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5340. {
  5341. GM_xmlhttpRequest(
  5342. {
  5343. method: 'GET',
  5344. url: link.href,
  5345. headers: {
  5346. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5347. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5348. 'Referer': ""
  5349. },
  5350. onload: function (result)
  5351. {
  5352. var res = result.responseText;
  5353. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5354. {
  5355. displayTheCheckedLink(link, 'alive_link');
  5356. return;
  5357. }
  5358.  
  5359. if (res.match(isAliveRegex))
  5360. {
  5361. displayTheCheckedLink(link, 'alive_link');
  5362. return;
  5363. }
  5364.  
  5365. if (res.match(isDeadRegex))
  5366. {
  5367. displayTheCheckedLink(link, 'adead_link');
  5368. return;
  5369. }
  5370.  
  5371. if (isUnavaRegex && res.match(isUnavaRegex))
  5372. {
  5373. displayTheCheckedLink(link, 'unava_link');
  5374. return;
  5375. }
  5376. if (res.match(ispremRegex))
  5377. {
  5378. displayTheCheckedLink(link, 'prem_link');
  5379. return;
  5380. }
  5381.  
  5382. var resStatus = result.status;
  5383.  
  5384. if (resStatus == 404)
  5385. {
  5386. displayTheCheckedLink(link, 'adead_link');
  5387. }
  5388. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5389. {
  5390. if (tryLoop)
  5391. {
  5392. //wait 1-5 seconds and repeat the request
  5393. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5394. }
  5395. else
  5396. {
  5397. displayTheCheckedLink(link, 'unava_link');
  5398. }
  5399.  
  5400. return;
  5401. }
  5402. },
  5403. onerror: function ()
  5404. {
  5405. displayTheCheckedLink(link, 'unava_link');
  5406. }
  5407. });
  5408. }
  5409.  
  5410. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5411. {
  5412. GM_xmlhttpRequest(
  5413. {
  5414. method: 'HEAD',
  5415. url: link.href,
  5416. headers: {
  5417. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5418. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5419. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5420. 'Referer': ""
  5421. },
  5422. onload: function (result)
  5423. {
  5424. var resStatus = result.status;
  5425. var resHeaders = "";
  5426. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5427. {
  5428. displayTheCheckedLink(link, 'adead_link');
  5429. return;
  5430. }
  5431.  
  5432. resHeaders = result.responseHeaders;
  5433.  
  5434. if (resHeaders.match(isDeadRegex))
  5435. {
  5436. displayTheCheckedLink(link, 'adead_link');
  5437. return;
  5438. }
  5439.  
  5440. if (resHeaders.match(isAliveRegex))
  5441. {
  5442. displayTheCheckedLink(link, 'alive_link');
  5443. return;
  5444. }
  5445. if (resHeaders.match(ispremRegex))
  5446. {
  5447. displayTheCheckedLink(link, 'prem_link');
  5448. return;
  5449. }
  5450. },
  5451. onerror: function ()
  5452. {
  5453. displayTheCheckedLink(link, 'unava_link');
  5454. }
  5455. });
  5456. }
  5457.  
  5458. //Delinkfifies the <a> element object
  5459. function delinkifyLink(link)
  5460. {
  5461. var spanElm = document.createElement("span");
  5462. spanElm.className = link.className;
  5463. spanElm.innerHTML = link.innerHTML;
  5464.  
  5465. if (Display_tooltip_info)
  5466. {
  5467. spanElm.href = link.href;
  5468. spanElm.warlc_error = link.warlc_error;
  5469. switch (link.className){
  5470. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5471. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5472. case "unava_link": //reserved
  5473. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5474. default:
  5475. }
  5476. }
  5477. link.parentNode.replaceChild(spanElm, link);
  5478. }
  5479.  
  5480. //Assigns result status to the <a> element object and calls delinkifying eventually
  5481. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5482. function displayTheCheckedLink(link, resultStatus)
  5483. {
  5484. link.className = resultStatus;
  5485. link.href = Ref_anonymize_service + link.href;
  5486. if (Display_tooltip_info)
  5487. {
  5488. switch (resultStatus){
  5489. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5490. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5491. case "unava_link": //reserved
  5492. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5493. default:
  5494. }
  5495. }
  5496. if (doNotLinkify)
  5497. {
  5498. delinkifyLink(link);
  5499. }
  5500. cLinksProcessed++;
  5501.  
  5502. if (resultStatus == "alive_link")
  5503. {
  5504. cLinksAlive++;
  5505. return;
  5506. }
  5507.  
  5508. if (resultStatus == "adead_link")
  5509. {
  5510. cLinksDead++;
  5511. return;
  5512. }
  5513.  
  5514. if (resultStatus == "unava_link")
  5515. {
  5516. cLinksUnava++;
  5517. }
  5518. if (resultStatus == "prem_link")
  5519. {
  5520. cLinksprem++;
  5521. return;
  5522. }
  5523. }
  5524.  
  5525.  
  5526. function initFileHosts()
  5527. {
  5528.  
  5529. function addObsoleteHost(linkRegex, xpathEx)
  5530. {
  5531. var host = new Array(2);
  5532. host[0] = linkRegex;
  5533. host[1] = xpathEx;
  5534. http_file_hosts_obsolete.push(host);
  5535. }
  5536.  
  5537. //obsolete file hosts init start
  5538. if (Obsolete_file_hosts)
  5539. {
  5540. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5541. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5542. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5543. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5544. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5545. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5546. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5547. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5548. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5549. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5550. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5551. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5552. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5553. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5554. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5555. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5556. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5557. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5558. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5559. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5560. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5561. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5562. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5563. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5564. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5565. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5566. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5567. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5568. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5569. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5570. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5571. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5572. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5573. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5574. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5575. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5576. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5577. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5578. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5579. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5580. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5581. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5582. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5583. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5584. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5585. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5586. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5587. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5588. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5589. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5590. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5591. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5592. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5593. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5594. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5595. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5596. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5597. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5598. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5599. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5600. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5601. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5602. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5603. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5604. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5605. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5606. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5607. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5608. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5609. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5610. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5611. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5612. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5613. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5614. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5615. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5616. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5617. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5618. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5619. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5620. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5621. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5622. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5623. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5624. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5625. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5626. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5627. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5628. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5629. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5630. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5631. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5632. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5633. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5634. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5635. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5636. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5637. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5638. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5639. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5640. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5641. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5642. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5643. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5644. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5645. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5646. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5647. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5648. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5649. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5650. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5651. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5652. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5653. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5654. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5655. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5656. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5657. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5658. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5659. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5660. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5661. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5662. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5663. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5664. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5665. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5666. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5667. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5668. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5669. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5670. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5671. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5672. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5673. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5674. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5675. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5676. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5677. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5678. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5679. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5680. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5681. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5682. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5683. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5684. 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')]");
  5685. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5686. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5687. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5688. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5689. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5690. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5691. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5692. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5693. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5694. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5695. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5696. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5697. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5698. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5699. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5700. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5701. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5702. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5703. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5704. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5705. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5706. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5707. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5708. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5709. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5710. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5711. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5712. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5713. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5714. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5715. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5716. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5717. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5718. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5719. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5720. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5721. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5722. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5723. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5724. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5725. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5726. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5727. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5728. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5729. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5730. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5731. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5732. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5733. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5734. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5735. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5736. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5737. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5738. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5739. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5740. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5741. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5742. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5743. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5744. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5745. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5746. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5747. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5748. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5749. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5750. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5751. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5752. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5753. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5754. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5755. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5756. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5757. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5758. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5759. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5760. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5761. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5762. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5763. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5764. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5765. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5766. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5767. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5768. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5769. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5770. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5771. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5772. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5773. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5774. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5775. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5776. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5777. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5778. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5779. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5780. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5781. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5782. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5783. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5784. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5785. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5786. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5787. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5788. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5789. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5790. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5791. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5792. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5793. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5794. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5795. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5796. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5797. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5798. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5799. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5800. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5801. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5802. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5803. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5804. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5805. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5806. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5807. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5808. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5809. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5810. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5811. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5812. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5813. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5814. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5815. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5816. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5817. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5818. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5819. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5820. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5821. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5822. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5823. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5824. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5825. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5826. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5827. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5828. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5829. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5830. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5831. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5832. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5833. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5834. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5835. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5836. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5837. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5838. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5839. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5840. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5841. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5842. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5843. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5844. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5845. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5846. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5847. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5848. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5849. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5850. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5851. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5852. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5853. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5854. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5855. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5856. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5857. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5858. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5859. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5860. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5861. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5862. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5863. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5864. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5865. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5866. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5867. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5868. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5869. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5870. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5871. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5872. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5873. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5874. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5875. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5876. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5877. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5878. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5879. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5880. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5881. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5882. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5883. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5884. addObsoleteHost("(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)","//a[contains(@href,'megashares.com/')]");
  5885. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5886. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5887. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5888. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5889. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5890. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5891. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5892. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5893. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5894. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5895. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5896. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5897. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5898. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5899. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5900. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5901. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5902. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5903. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5904. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5905. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5906. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5907. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5908. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5909. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5910. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5911. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5912. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5913. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5914. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5915. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5916. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5917. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5918. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5919. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5920. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5921. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5922. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5923. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5924. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5925. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5926. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5927. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5928. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5929. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5930. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5931. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5932. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5933. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5934. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5935. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5936. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5937. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5938. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5939. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5940. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5941. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5942. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5943. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5944. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5945. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5946. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5947. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5948. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5949. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5950. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5951. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5952. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5953. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5954. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5955. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5956. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5957. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5958. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5959. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5960. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5961. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5962. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5963. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5964. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5965. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5966. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5967. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5968. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5969. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5970. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5971. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5972. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5973. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5974. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5975. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5976. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5977. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5978. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5979. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5980. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5981. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5982. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5983. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5984. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5985. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5986. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5987. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5988. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5989. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5990. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5991. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5992. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5993. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5994. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5995. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5996. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5997. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5998. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5999. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  6000. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  6001. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  6002. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  6003. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  6004. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  6005. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  6006. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  6007. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  6008. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  6009. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  6010. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  6011. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  6012. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  6013. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  6014. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  6015. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  6016. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  6017. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  6018. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  6019. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  6020. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  6021. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  6022. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  6023. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  6024. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  6025. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  6026. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  6027. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  6028. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  6029. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  6030. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  6031. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  6032. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  6033. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  6034. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  6035. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  6036. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  6037. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  6038. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  6039. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  6040. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  6041. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  6042. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  6043. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  6044. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  6045. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  6046. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  6047. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  6048. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  6049. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  6050. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  6051. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  6052. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  6053. addObsoleteHost("abelhas\\.pt\/\\w+","//a[contains(@href,'abelhas.pt/')]");
  6054. addObsoleteHost("allmyvideos\\.net\/\\w+","//a[contains(@href,'allmyvideos.net/')]");
  6055. addObsoleteHost("4up\\.me\/\\w+","//a[contains(@href,'4up.me/')]");
  6056. addObsoleteHost("anonfiles\\.com\/\\w+","//a[contains(@href,'anonfiles.com/')]");
  6057. addObsoleteHost("axifile\\.com\/\\w+","//a[contains(@href,'axifile.com/')]");
  6058. addObsoleteHost("vidspot\\.net\/\\w+","//a[contains(@href,'vidspot.net/')]");
  6059. addObsoleteHost("creafile\\.net\/\\w+","//a[contains(@href,'creafile.net/')]");
  6060. addObsoleteHost("demo.ovh\\.eu\/\\w+","//a[contains(@href,'demo.ovh.eu/')]");
  6061. addObsoleteHost("filesin\\.com\/\\w+","//a[contains(@href,'filesin.com/')]");
  6062. addObsoleteHost("fileswap\\.com\/\\w+","//a[contains(@href,'fileswap.com/')]");
  6063. addObsoleteHost("gulfup\\.com\/\\w+","//a[contains(@href,'gulfup.com/')]");
  6064. addObsoleteHost("hexupload\\.com\/\\w+","//a[contains(@href,'hexupload.com/')]");
  6065. addObsoleteHost("hugefiles\\.net\/\\w+","//a[contains(@href,'hugefiles.net/')]");
  6066. addObsoleteHost("jumbofiles\\.com\/\\w+","//a[contains(@href,'jumbofiles.com/')]");
  6067. addObsoleteHost('(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',"//a[contains(@href,'letitbit.net/')]");
  6068. addObsoleteHost("lolabits\\.es\/\\w+","//a[contains(@href,'lolabits.es/')]");
  6069. addObsoleteHost("nowdownload\\.ch\/\\w+","//a[contains(@href,'nowdownload.ch/')]");
  6070. addObsoleteHost("openfile\\.ru\/\\w+","//a[contains(@href,'openfile.ru/')]");
  6071. addObsoleteHost("radicalshare\\.com\/\\w+","//a[contains(@href,'radicalshare.com/')]");
  6072. addObsoleteHost("remixshare\\.com\/\\w+","//a[contains(@href,'remixshare.com/')]");
  6073. addObsoleteHost("storefiles\\.co\/\\w+","//a[contains(@href,'storefiles.co/')]");
  6074. addObsoleteHost("toutbox\\.fr\/\\w+","//a[contains(@href,'toutbox.fr/')]");
  6075. addObsoleteHost("uploadbaz\\.com\/\\w+","//a[contains(@href,'uploadbaz.com/')]");
  6076. addObsoleteHost("uploadingit\\.com\/\\w+","//a[contains(@href,'uploadingit.com/')]");
  6077. addObsoleteHost("verzend\\.be\/\\w+","//a[contains(@href,'verzend.be/')]");
  6078. addObsoleteHost("vidplay\\.net\/\\w+","//a[contains(@href,'vidplay.net/')]");
  6079. addObsoleteHost("vidxden\\.com\/\\w+","//a[contains(@href,'vidxden.com/')]");
  6080. addObsoleteHost("xfileload\\.com\/\\w+","//a[contains(@href,'xfileload.com/')]");
  6081. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  6082. addObsoleteHost("secureupload\\.eu\/\\w+","//a[contains(@href,'secureupload.eu/')]");
  6083.  
  6084. // obsolete start start2
  6085. }
  6086. //obsolete file hosts init end
  6087. //Add Host Example
  6088. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  6089. {
  6090. addFileHost(
  6091. "datafile\.com\/\\w+",
  6092. 'var captchaPanel|<link href="/css/files_download.css"',
  6093. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6094. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6095. '<style type="text/css">',
  6096. "//a[contains(@href,'datafile.com')]",
  6097. true);
  6098. } */
  6099.  
  6100. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  6101. {
  6102. var host = new Array(7);
  6103. host[0] = linkRegex;
  6104. host[1] = isAliveRegex;
  6105. host[2] = isDeadRegex;
  6106. host[3] = isUnavaRegex;
  6107. host[6] = ispremRegex;
  6108. host[4] = xpathEx;
  6109. tryLoop ? host[5] = true : host[5] = false;
  6110. http_file_hosts.push(host);
  6111. }
  6112. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6113. {
  6114. addFileHost(
  6115. "megafileupload\.com\/..\/file\/",
  6116. 'downloadbtn',
  6117. 'is not found',
  6118. 'optional--',
  6119. 'optional2--',
  6120. "//a[contains(@href,'megafileupload.com')]");
  6121. }
  6122. /* if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6123. {
  6124. addFileHost(
  6125. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6126. 'download\\.gif"',
  6127. 'p_point">',
  6128. 'optional--',
  6129. 'optional2--',
  6130. "//a[contains(@href,'demo.ovh.eu')]");
  6131. }*/
  6132. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6133. {
  6134. addFileHost(
  6135. "safelinking\\.net\/p\/\\w+",
  6136. 'color:green;"',
  6137. 'color:(?:red|orange);"',
  6138. 'color:(?:grey|brown);"',
  6139. 'optional2--',
  6140. "//a[contains(@href,'safelinking.net/p/')]",
  6141. true);
  6142. }
  6143. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6144. {
  6145. addFileHost(
  6146. "fastshare\\.cz\/\\d+\/\\w*",
  6147. 'dwntable">|speed-low',
  6148. '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',
  6149. 'optional--',
  6150. 'optional2--',
  6151. "//a[contains(@href,'fastshare.cz')]");
  6152. }
  6153. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6154. {
  6155. addFileHost(
  6156. "[fF]ast[sS]hare\\.org\/download",
  6157. 'Download ">',
  6158. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6159. 'optional--',
  6160. 'optional2--',
  6161. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6162. }
  6163. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6164. {
  6165. addFileHost(
  6166. "partage-facile\.com\/\\w+",
  6167. 'class="title"><strong>|colspan="2"',
  6168. 'Page introuvable|class="alert-message',
  6169. 'optional--',
  6170. 'optional2--',
  6171. "//a[contains(@href,'partage-facile.com')]");
  6172. }
  6173. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6174. {
  6175. addFileHost(
  6176. "rapidgator\\.net\/file\/\\w+",
  6177. '/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',
  6178. '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',
  6179. 'optional--',
  6180. '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',
  6181. "//a[contains(@href,'rapidgator.net/file')]",
  6182. true
  6183. );
  6184. }
  6185. if (GM_getValue("Check_rg_dot_to_links", false))
  6186. {
  6187. addFileHost(
  6188. "rg\.to\/\\w+",
  6189. '/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',
  6190. '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',
  6191. 'optional--',
  6192. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6193. "//a[contains(@href,'rg.to')]");
  6194. }
  6195. if (GM_getValue("Check_relink_dot_us_links", false))
  6196. {
  6197. addFileHost(
  6198. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6199. 'online_detail\\.png" alt="Status',
  6200. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6201. 'unknown_detail\\.png" alt="Status',
  6202. 'optional2--',
  6203. "//a[contains(@href,'relink.us/')]"
  6204. );
  6205. }
  6206. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6207. {
  6208. addFileHost(
  6209. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6210. 'div id="dl"',
  6211. 'Sie haben den Link falsch',
  6212. 'optional--',
  6213. 'optional2--',
  6214. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6215. );
  6216. }
  6217. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6218. {
  6219. addFileHost(
  6220. "flyfiles\\.net\/\\w+",
  6221. 'download_button"|"Download file"',
  6222. 'File not found!|Файл не найден',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'flyfiles.net/')]"
  6226. );
  6227. }
  6228. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6229. {
  6230. addFileHost(
  6231. "wikiupload\\.com\/\\w+",
  6232. 'download-button">',
  6233. 'Sorry, File not found',
  6234. 'optional--',
  6235. 'optional2--',
  6236. "//a[contains(@href,'wikiupload.com/')]"
  6237. );
  6238. }
  6239. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6240. {
  6241. addFileHost(
  6242. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6243. 'file\\.php">|Pobierz Plik',
  6244. 'Podany plik nie zosta',
  6245. 'optional--',
  6246. 'optional2--',
  6247. "//a[contains(@href,'hostuje.net/file')]"
  6248. );
  6249. }
  6250. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6251. {
  6252. addFileHost(
  6253. "gettyfile\\.ru\/\\d+",
  6254. 'download\\.gif border',
  6255. '<center><font size="3">',
  6256. 'optional--',
  6257. 'optional2--',
  6258. "//a[contains(@href,'gettyfile.ru/')]"
  6259. );
  6260. }
  6261. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6262. {
  6263. addFileHost(
  6264. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6265. 'download\\-file">',
  6266. 'col-1">\\s*<h1>',
  6267. 'optional--',
  6268. 'optional2--',
  6269. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6270. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6271. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6272. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6273. );
  6274. }
  6275. if (GM_getValue("Check_data_dot_hu_links", false))
  6276. {
  6277. addFileHost(
  6278. "data\\.hu",
  6279. 'download_box_button|Lassú letöltés',
  6280. 'missing\\.php|Az adott fájl nem létezik',
  6281. 'optional--',
  6282. 'optional2--',
  6283. "//a[contains(@href,'data.hu')]",
  6284. true
  6285. );
  6286. }
  6287. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6288. {
  6289. addFileHost(
  6290. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6291. 'premiumBtn"',
  6292. 'errorMessage"',
  6293. 'optional--',
  6294. 'optional2--',
  6295. "//a[contains(@href,'indowebster.com/download')]"
  6296. );
  6297. }
  6298. if (GM_getValue("Check_superload_dot_cz_links", false))
  6299. {
  6300. addFileHost(
  6301. "superload\\.cz\/dl\/\\w+",
  6302. 'icon-download">',
  6303. 'soubor nebyl nalezen',
  6304. 'optional--',
  6305. 'optional2--',
  6306. "//a[contains(@href,'superload.cz/dl')]"
  6307. );
  6308. }
  6309. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6310. {
  6311. addFileHost(
  6312. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6313. 'op" value="download',
  6314. 'class="err">|width:500px;text-align:left;">',
  6315. 'optional--',
  6316. 'optional2--',
  6317. "//a[contains(@href,'hulkfile.')]"
  6318. );
  6319. }
  6320. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6321. {
  6322. addFileHost(
  6323. "easybytez\\.com\/\\w+",
  6324. 'op" value="download',
  6325. 'stop_error\\.gif',
  6326. 'optional--',
  6327. 'optional2--',
  6328. "//a[contains(@href,'easybytez.com/')]"
  6329. );
  6330. }
  6331. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6332. {
  6333. addFileHost(
  6334. "filestore\\.com\\.ua\/\\?d=\\w+",
  6335. 'tdrow1>',
  6336. 'class=warn',
  6337. 'optional--',
  6338. 'optional2--',
  6339. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6340. );
  6341. }
  6342. /* if (GM_getValue("Check_openfile_dot_ru_links", false))
  6343. {
  6344. addFileHost(
  6345. "openfile\\.ru\/(?:video\/|)\\d+",
  6346. 'videobox_left">',
  6347. 'blog_title">|not found on this server',
  6348. 'optional--',
  6349. 'optional2--',
  6350. "//a[contains(@href,'openfile.ru/')]"
  6351. );
  6352. }*/
  6353. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6354. {
  6355. addFileHost(
  6356. "extmatrix\\.com\/files\/\\w+",
  6357. 'div class="success"',
  6358. 'div class="error"',
  6359. 'optional--',
  6360. 'optional2--',
  6361. "//a[contains(@href,'extmatrix.com/files')]"
  6362. );
  6363. }
  6364. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6365. {
  6366. addFileHost(
  6367. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6368. 'content_lnkDownload',
  6369. 'error\\.aspx\\?',
  6370. 'optional--',
  6371. 'optional2--',
  6372. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6373. );
  6374. }
  6375. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6376. {
  6377. addFileHost(
  6378. "yourfilestore\\.com\/download\/\\d+\/",
  6379. 'download_data">',
  6380. 'may have been deleted|<h1>Sorry!<\/h1>',
  6381. 'optional--',
  6382. 'optional2--',
  6383. "//a[contains(@href,'yourfilestore.com/download')]"
  6384. );
  6385. }
  6386. if (GM_getValue("Check_filebig_dot_net_links", false))
  6387. {
  6388. addFileHost(
  6389. "filebig\\.net\/files\/\\w+",
  6390. 'downloadFile">',
  6391. '<p>File not found<\/p>',
  6392. 'optional--',
  6393. 'optional2--',
  6394. "//a[contains(@href,'filebig.net/files')]"
  6395. );
  6396. }
  6397. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6398. {
  6399. addFileHost(
  6400. "files\\.filefront\\.com\/\/;\\d+;;",
  6401. 'downloadLink">',
  6402. 'File not found, you',
  6403. 'optional--',
  6404. 'optional2--',
  6405. "//a[contains(@href,'files.filefront.com')]"
  6406. );
  6407.  
  6408. addFileHost(
  6409. "gamefront\\.com\/files\/\\d+",
  6410. 'downloadLink">',
  6411. 'File not found, you',
  6412. 'optional--',
  6413. 'optional2--',
  6414. "//a[contains(@href,'gamefront.com/files')]"
  6415. );
  6416. }
  6417. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6418. {
  6419. addFileHost(
  6420. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6421. 'dnlLnk"',
  6422. 'already been deleted',
  6423. 'optional--',
  6424. 'optional2--',
  6425. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6426. );
  6427. }
  6428. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6429. {
  6430. addFileHost(
  6431. "hellupload\\.com\/\\w+",
  6432. '<h3>Download File<br',
  6433. 'id="podstrona">|AVOID_IE_BUG',
  6434. 'optional--',
  6435. 'optional2--',
  6436. "//a[contains(@href,'hellupload.com/')]"
  6437. );
  6438. }
  6439. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6440. {
  6441. addFileHost(
  6442. "free\\-uploading\\.com\/\\w+",
  6443. 'op" value="download',
  6444. 'class="err">|width:500px;text-align:left;">',
  6445. 'optional--',
  6446. 'optional2--',
  6447. "//a[contains(@href,'free-uploading.com/')]"
  6448. );
  6449. }
  6450. if (GM_getValue("Check_fileape_dot_com_links", false))
  6451. {
  6452. addFileHost(
  6453. "fileape\\.com\/download\\-",
  6454. 'button_dl\\.png',
  6455. 'does not exist\\.',
  6456. 'optional--',
  6457. 'optional2--',
  6458. "//a[contains(@href,'fileape.com/')]"
  6459. );
  6460. }
  6461. if (GM_getValue("Check_uppit_dot_com_links", false))
  6462. {
  6463. addFileHost(
  6464. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6465. 'op" value="download',
  6466. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6467. 'optional--',
  6468. 'optional2--',
  6469. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6470. true
  6471. );
  6472. }
  6473. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6474. {
  6475. addFileHost(
  6476. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6477. 'op" value="download',
  6478. '>File Not Found<',
  6479. 'optional--',
  6480. 'optional2--',
  6481. "//a[contains(@href,'nosupload.com')]",
  6482. true
  6483. );
  6484. }
  6485. /* if (GM_getValue("Check_filesin_dot_com_links", false))
  6486. {
  6487. addFileHost(
  6488. "filesin\\.com\/\\w+\/download\\.html",
  6489. 'download_area">',
  6490. 'error_note">',
  6491. 'optional--',
  6492. 'optional2--',
  6493. "//a[contains(@href,'filesin.com/')]",
  6494. true
  6495. );
  6496. }*/
  6497. /* if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6498. {
  6499. addFileHost(
  6500. "nowdownload\\.ch\/dl\/\\w+",
  6501. 'alert-success"',
  6502. 'This file does not exist!',
  6503. 'The file is being transfered',
  6504. 'optional2--',
  6505. "//a[contains(@href,'nowdownload.ch/dl')]"
  6506. );
  6507. }*/
  6508. /* if (GM_getValue("Check_axifile_dot_com_links", false))
  6509. {
  6510. addFileHost(
  6511. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6512. 'Dbutton_big"',
  6513. 'download\\-error\\.php',
  6514. 'optional--',
  6515. 'optional2--',
  6516. "//a[contains(@href,'axifile.com/')]"
  6517. );
  6518. }*/
  6519. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6520. {
  6521. addFileHost(
  6522. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6523. 'col-1">\\s*<s',
  6524. 'col-1">\\s*<h',
  6525. 'optional--',
  6526. 'optional2--',
  6527. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6528. );
  6529. }
  6530. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6531. {
  6532. addFileHost(
  6533. "turbobit\\.(?:net|pl)",
  6534. 'id="download-gate-info|id="file-list',
  6535. 'afterWait()|no files in this folder',
  6536. 'optional--',
  6537. 'optional2--',
  6538. "//a[contains(@href,'turbobit.net')]"
  6539. );
  6540. }
  6541. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6542. {
  6543. addFileHost(
  6544. "hitfile\\.net\/download\/folder\/\\d+",
  6545. 'content">\\s*<s',
  6546. 'content">\\s*<h',
  6547. 'optional--',
  6548. 'optional2--',
  6549. "//a[contains(@href,'hitfile.net/download/folder')]"
  6550. );
  6551. }
  6552. if (GM_getValue("Check_movshare_dot_net_links", false))
  6553. {
  6554. addFileHost(
  6555. "movshare\\.net\\/video\\/\\w+",
  6556. 'optional--"',
  6557. 'no longer exists',
  6558. 'optional--',
  6559. 'optional2--',
  6560. "//a[contains(@href,'movshare.net/video')]"
  6561. );
  6562. }
  6563. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6564. {
  6565. addFileHost(
  6566. "mafiastorage\\.com\/\\w+",
  6567. 'op" value="download',
  6568. 'class="err">|style="width:500px;text-align:left;"',
  6569. 'optional--',
  6570. 'optional2--',
  6571. "//a[contains(@href,'mafiastorage.com/')]"
  6572. );
  6573. }
  6574. /* if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6575. {
  6576. addFileHost(
  6577. "uploadingit\\.com\/file\/\\w+",
  6578. 'downloadTitle">',
  6579. 'deleteContent">',
  6580. 'optional--',
  6581. 'optional2--',
  6582. "//a[contains(@href,'uploadingit.com/file')]"
  6583. );
  6584. }*/
  6585. if (GM_getValue("Check_rghost_dot_net_links", false))
  6586. {
  6587. addFileHost(
  6588. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6589. 'download_link|btn large download',
  6590. 'file is restricted|File is deleted|503 Service Unavailable',
  6591. 'optional--',
  6592. 'optional2--',
  6593. "//a[contains(@href,'rghost.')]"
  6594. );
  6595. }
  6596. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6597. {
  6598. addFileHost(
  6599. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6600. '">Staženo:\\s*<\/span>',
  6601. 'Soubor, který hledáte nenalezen',
  6602. 'optional--',
  6603. 'optional2--',
  6604. "//a[contains(@href,'xdisk.cz/')]"
  6605. );
  6606. }
  6607. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6608. {
  6609. addFileHost(
  6610. "2downloadz\.com\/\\w+",
  6611. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6612. 'color="#006DCC|File error',
  6613. 'optional--',
  6614. 'optional2--',
  6615. "//a[contains(@href,'2downloadz.com')]");
  6616. }
  6617. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6618. {
  6619. addFileHost(
  6620. "mightyupload\.com\/\\w+",
  6621. 'background:#ccc;text-align|CONTENT="Download File"',
  6622. 'style="background:#eee|var rr =|File Not Found',
  6623. 'error-code">1010',
  6624. 'optional2--',
  6625. "//a[contains(@href,'mightyupload.com')]");
  6626. }
  6627. if (GM_getValue("Check_anysend_dot_com_links", false))
  6628. {
  6629. addFileHost(
  6630. "anysend\.com\/\\w+",
  6631. 'var openCalled=false;|content="noindex"',
  6632. '_trackPageview',
  6633. 'optional--',
  6634. 'optional2--',
  6635. "//a[contains(@href,'anysend.com')]");
  6636. }
  6637. if (GM_getValue("Check_datafile_dot_com_links", false))
  6638. {
  6639. addFileHost(
  6640. "datafile\.com\/\\w+",
  6641. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6642. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6643. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6644. '; 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">
  6645. "//a[contains(@href,'datafile.com')]",
  6646. true);
  6647. }
  6648. if (GM_getValue("Check_upstore_dot_net_links", false))
  6649. {
  6650. addFileHost(
  6651. "upstore\.net\/\\w+",
  6652. 'name="free"',
  6653. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6654. 'optional--',
  6655. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6656. "//a[contains(@href,'upstore.net')]");
  6657. }
  6658. if (GM_getValue("Check_upsto_dot_re_links", false))
  6659. {
  6660. addFileHost(
  6661. "upsto\.re\/\\w+",
  6662. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6663. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6664. 'optional--',
  6665. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6666. "//a[contains(@href,'upsto.re')]");
  6667. }
  6668. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6669. {
  6670. addFileHost(
  6671. "speedy\.sh\/\\w+",
  6672. 'bgcolor=#eeeeee|class="addthis',
  6673. 'File not found|downloadfilenamenotfound>',
  6674. 'optional--',
  6675. 'optional2--',
  6676. "//a[contains(@href,'speedy.sh')]");
  6677. }
  6678. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6679. {
  6680. addFileHost(
  6681. "kingfiles\.net\/\\w+",
  6682. 'method_free|images/loading_small.gif"',
  6683. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6684. 'optional--',
  6685. 'optional2--',
  6686. "//a[contains(@href,'kingfiles.net')]");
  6687. }
  6688. /* if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6689. {
  6690. addFileHost(
  6691. "secureupload\\.eu\/\\w+",
  6692. 'Downloading',
  6693. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6694. 'optional--',
  6695. 'optional2--',
  6696. "//a[contains(@href,'secureupload.eu')]"
  6697. );
  6698. } */
  6699. if (GM_getValue("Check_ge_dot_tt_links", false))
  6700. {
  6701. addFileHost(
  6702. "ge\.tt\/\\w+",
  6703. 'downloads pic',
  6704. 'is NOT the same as',
  6705. 'optional--',
  6706. 'optional2--',
  6707. "//a[contains(@href,'ge.tt')]");
  6708. }
  6709. /* if (GM_getValue("Check_filefactory_dot_com_links", false))
  6710. {
  6711. addFileHost(
  6712. "filefactory\\.com\/file\/\\w+",
  6713. 'div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  6714. '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">',
  6715. 'Server Maintenance|temporarily overloaded',
  6716. 'Premium Account Required',
  6717. "//a[contains(@href,'filefactory.com/file')]");
  6718. } */
  6719. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6720. {
  6721. addFileHost(
  6722. "filesflash\.net\/\\w+",
  6723. 'align:right">Filename:',
  6724. 'class="msg">',
  6725. 'optional--',
  6726. 'optional2--',
  6727. "//a[contains(@href,'filesflash.net')]");
  6728. }
  6729. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6730. {
  6731. addFileHost(
  6732. "rapidgator\\.net\/folder\/\\w+",
  6733. 'href="/folder/',
  6734. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6735. 'optional--',
  6736. 'optional2--',
  6737. "//a[contains(@href,'rapidgator.net/folder')]",
  6738. true
  6739. );
  6740. }
  6741. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6742. {
  6743. addFileHost(
  6744. "salefiles\.com\/\\w+",
  6745. 'name="method_free',
  6746. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6747. 'optional--',
  6748. 'optional2--',
  6749. "//a[contains(@href,'salefiles.com')]");
  6750. }
  6751. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6752. {
  6753. addFileHost(
  6754. "datoid\.cz\/\\w+",
  6755. 'btn-download|class="icon-download-large"',
  6756. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6757. 'optional--',
  6758. 'optional2--',
  6759. "//a[contains(@href,'datoid.cz')]");
  6760. }
  6761. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6762. {
  6763. addFileHost(
  6764. "stiahni\.si\/\\w+",
  6765. 'report_icon.png"|slow-download-button',
  6766. 'none.png|deleted|<h2>Error 500</h2>',
  6767. 'optional--',
  6768. 'optional2--',
  6769. "//a[contains(@href,'stiahni.si')]");
  6770. }
  6771. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6772. {
  6773. addFileHost(
  6774. "cloudstor\.es\/\\w+",
  6775. '"btn_download"',
  6776. '404: Page Not Found',
  6777. 'optional--',
  6778. 'optional2--',
  6779. "//a[contains(@href,'cloudstor.es')]");
  6780. }
  6781. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6782. {
  6783. addFileHost(
  6784. "streamfile\.com\/\\w+",
  6785. 'class="btn',
  6786. 'class="green-btn',
  6787. 'optional--',
  6788. 'optional2--',
  6789. "//a[contains(@href,'streamfile.com')]");
  6790. }
  6791. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6792. {
  6793. addFileHost(
  6794. "eyesfile\.ca\/\\w+",
  6795. 'value="Get Link',
  6796. 'var rr =',
  6797. 'optional--',
  6798. 'optional2--',
  6799. "//a[contains(@href,'eyesfile.ca')]");
  6800. }
  6801. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6802. {
  6803. addFileHost(
  6804. "filemoney\.com\/\\w+",
  6805. 'og:title',
  6806. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6807. 'error-code">1010',
  6808. 'optional2--',
  6809. "//a[contains(@href,'filemoney.com')]");
  6810. }
  6811. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6812. {
  6813. addFileHost(
  6814. "uploadboy\.com\/\\w+",
  6815. 'width="740">|method_free',
  6816. 'var rr =|background:#ffffff|not be found|file was removed',
  6817. 'optional--',
  6818. 'optional2--',
  6819. "//a[contains(@href,'uploadboy.com')]");
  6820. }
  6821. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6822. {
  6823. addFileHost(
  6824. "uploadboy\.com\/\\w+",
  6825. 'width="740">|method_free',
  6826. 'var rr =|background:#ffffff|not be found|file was removed',
  6827. 'optional--',
  6828. 'optional2--',
  6829. "//a[contains(@href,'uploadboy.me')]");
  6830. }
  6831. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6832. {
  6833. addFileHost(
  6834. "speedshare\.eu\/\\w+",
  6835. 'favicon.png|color:#3d87c0|cross.png"',
  6836. 'var rr =|File Not Found|style="background:#eee',
  6837. 'optional--',
  6838. 'optional2--',
  6839. "//a[contains(@href,'speedshare.eu')]");
  6840. }
  6841. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6842. {
  6843. addFileHost(
  6844. "unlimitzone\.com\/\\w+",
  6845. 'name="method_free',
  6846. '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',
  6847. 'optional--',
  6848. 'optional2--',
  6849. "//a[contains(@href,'unlimitzone.com')]");
  6850. }
  6851. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6852. {
  6853. addFileHost(
  6854. "rioupload\.com\/\\w+",
  6855. 'sell.jpg',
  6856. 'var rr =',
  6857. 'optional--',
  6858. 'optional2--',
  6859. "//a[contains(@href,'rioupload.com')]");
  6860. }
  6861. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6862. {
  6863. addFileHost(
  6864. "jumbofiles\.org\/\\w+",
  6865. 'H71C5.png|class="downloadtitle">',
  6866. 'var swfu|ViewSourceBIN.png',
  6867. 'optional--',
  6868. 'optional2--',
  6869. "//a[contains(@href,'jumbofiles.org')]");
  6870. }
  6871. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6872. {
  6873. addFileHost(
  6874. "fshare\\.vn\/file\/\\w+",
  6875. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6876. 'không tồn tại|class="color_red m_t_50"',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'fshare.vn/file')]",
  6880. true
  6881. );
  6882. }
  6883. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6884. {
  6885. addFileHost(
  6886. "spaceforfiles\.com\/\\w+",
  6887. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6888. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6889. 'optional--',
  6890. 'optional2--',
  6891. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6892. }
  6893. if (GM_getValue("Check_google_dot_com_links", false))
  6894. {
  6895. addFileHost(
  6896. "google\\.com\/file\/\\w+",
  6897. 'content="!">|color:#2d2d2d',
  6898. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6899. 'optional--',
  6900. 'optional2--',
  6901. "//a[contains(@href,'google.com/file')]",
  6902. true
  6903. );
  6904. }
  6905. if (GM_getValue("Check_google_dot_com_links", false))
  6906. {
  6907. addFileHost(
  6908. "docs.google.com\/\\w+",
  6909. 'content="!">|color:#2d2d2d',
  6910. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'docs.google.com')]",
  6914. true
  6915. );
  6916. }
  6917. if (GM_getValue("Check_drive_dot_google_dot_com_links", false))
  6918. {
  6919. addFileHost(
  6920. "drive.google.com\/\\w+",
  6921. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6922. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6923. 'optional--',
  6924. 'optional2--',
  6925. "//a[contains(@href,'drive.google.com')]",
  6926. true
  6927. );
  6928. }
  6929. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6930. {
  6931. addFileHost(
  6932. "up.media1fire\.com\/\\w+",
  6933. 'class="addthis_|value="download',
  6934. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6935. 'optional--',
  6936. 'optional2--',
  6937. "//a[contains(@href,'up.media1fire.com')]");
  6938. }
  6939. if (GM_getValue("Check_depfile_dot_com_links", false))
  6940. {
  6941. addFileHost(
  6942. "depfile\.com\/\\w+",
  6943. 'logo_0.png|downloads.gif"|verifycode',
  6944. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6945. 'optional--',
  6946. 'available only for Premium users',
  6947. "//a[contains(@href,'depfile.com')]");
  6948. }
  6949. if (GM_getValue("Check_go4up_dot_com_links", false))
  6950. {
  6951. addFileHost(
  6952. "go4up\.com\/\\w+",
  6953. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6954. '<title>GO4UP|dmca',
  6955. 'optional--',
  6956. 'optional2--',
  6957. "//a[contains(@href,'go4up.com')]");
  6958. }
  6959. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6960. {
  6961. addFileHost(
  6962. "redbunker\.net\/\\w+",
  6963. 'name="method_free"',
  6964. 'color="red">Unknow / Bilinmiyor<',
  6965. 'optional--',
  6966. '2.3 GB',
  6967. "//a[contains(@href,'redbunker.net')]");
  6968. }
  6969. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6970. {
  6971. addFileHost(
  6972. "divxpress\.com\/\\w+",
  6973. 'btn_download|logo.png"',
  6974. 'AVOID_IE_BUG|var rr =',
  6975. 'optional--',
  6976. 'optional2--',
  6977. "//a[contains(@href,'divxpress.com')]");
  6978. }
  6979. if (GM_getValue("Check_anafile_dot_com_links", false))
  6980. {
  6981. addFileHost(
  6982. "anafile\.com\/\\w+",
  6983. 'width="881" valign="top|color="#800080"|name="go"',
  6984. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6985. 'optional--',
  6986. 'optional2--',
  6987. "//a[contains(@href,'anafile.com')]");
  6988. }
  6989. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6990. {
  6991. addFileHost(
  6992. "uploadable\\.ch\/file\/\\w+",
  6993. 'captcha.js"|payment.js"|class="btn_download"',
  6994. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6995. 'optional--',
  6996. 'optional2--',
  6997. "//a[contains(@href,'uploadable.ch/file')]",
  6998. true
  6999. );
  7000. }
  7001. if (GM_getValue("Check_bigfile_dot_to_links", false))
  7002. {
  7003. addFileHost(
  7004. "bigfile\\.to\/file\/\\w+",
  7005. 'captcha.js"|payment.js"|class="btn_download"',
  7006. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7007. 'optional--',
  7008. 'optional2--',
  7009. "//a[contains(@href,'bigfile.to/file')]",
  7010. true
  7011. );
  7012. }
  7013. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7014. {
  7015. addFileHost(
  7016. "arabloads\.net\/\\w+",
  7017. 'name="method_free"|name="method_premium"',
  7018. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7019. 'optional--',
  7020. 'optional2--',
  7021. "//a[contains(@href,'arabloads.net')]");
  7022. }
  7023. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7024. {
  7025. addFileHost(
  7026. "sharerepo\.com\/\\w+",
  7027. 'name="method_free"',
  7028. 'var public_on=|The file you were looking for could not be found',
  7029. 'optional--',
  7030. 'optional2--',
  7031. "//a[contains(@href,'sharerepo.com')]");
  7032. }
  7033. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7034. {
  7035. addFileHost(
  7036. "sfshare\.se\/\\w+",
  7037. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7038. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7039. 'optional--',
  7040. 'optional2--',
  7041. "//a[contains(@href,'sfshare.se')]");
  7042. }
  7043. if (GM_getValue("Check_files_dot_fm_links", false))
  7044. {
  7045. addFileHost(
  7046. "files\.fm\/\\w+",
  7047. 'dl.png"|background-color: transparent',
  7048. 'margin: 40px 40px|background: none;',
  7049. 'optional--',
  7050. 'optional2--',
  7051. "//a[contains(@href,'files.fm')]");
  7052. }
  7053. if (GM_getValue("Check_koofile_dot_com_links", false))
  7054. {
  7055. addFileHost(
  7056. "koofile\.com\/\\w+",
  7057. 'value="download1">|name="method_free"',
  7058. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7059. 'optional--',
  7060. 'optional2--',
  7061. "//a[contains(@href,'koofile.com')]");
  7062. }
  7063. /* if (GM_getValue("Check_vidxden_dot_com_links", false))
  7064. {
  7065. addFileHost(
  7066. "vidxden\\.com\/\\w+",
  7067. 'Continue to Video"',
  7068. 'No such file',
  7069. 'optional--',
  7070. 'optional2--',
  7071. "//a[contains(@href,'vidxden.com')]"
  7072. );
  7073. }*/
  7074. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7075. {
  7076. addFileHost(
  7077. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7078. 'Details zur Datei|Details page',
  7079. 'Jetzt hochladen|upload now',
  7080. 'optional--',
  7081. 'optional2--',
  7082. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7083. );
  7084. }
  7085. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7086. {
  7087. addFileHost(
  7088. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7089. 'downloadbtn"',
  7090. 'DL_FileNotFound',
  7091. 'optional--',
  7092. 'optional2--',
  7093. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7094. );
  7095. }
  7096. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7097. {
  7098. addFileHost(
  7099. "fileflyer\.com\/view\/\\w+",
  7100. '(?:dwl|locked)btn"',
  7101. 'error.gif"|link">Removed|removedlink">',
  7102. 'optional--',
  7103. 'optional2--',
  7104. "//a[contains(@href,'fileflyer.com')]"
  7105. );
  7106. }
  7107. if (GM_getValue("Check_filestore_dot_to_links", false))
  7108. {
  7109. addFileHost(
  7110. "filestore\.to\/\\?d=\\w+",
  7111. '"downloading"',
  7112. 'Datei wurde nicht gefunden',
  7113. 'optional--',
  7114. 'optional2--',
  7115. "//a[contains(@href,'filestore.to')]"
  7116. );
  7117. }
  7118. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7119. {
  7120. addFileHost(
  7121. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7122. 'fz24">Download|class="pl15">',
  7123. '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',
  7124. 'optional--',
  7125. 'optional2--',
  7126. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7127. );
  7128. }
  7129. if (GM_getValue("Check_datei_dot_to_links", false))
  7130. {
  7131. addFileHost(
  7132. "datei\\.to\/\\??\\w+",
  7133. 'icon_downloaden\\.png|>Download starten<',
  7134. 'Datei wurde nicht gefunden|icon_deleted.png',
  7135. 'optional--',
  7136. 'optional2--',
  7137. "//a[contains(@href,'datei.to')]"
  7138. );
  7139. }
  7140. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7141. {
  7142. addFileHost(
  7143. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7144. '<body class="body" id="body">|value="Slow Download"',
  7145. '<body class="body" >',
  7146. 'optional--',
  7147. 'optional2--',
  7148. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7149. );
  7150. }
  7151. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7152. {
  7153. addFileHost(
  7154. "unibytes\\.com\/[\\w\.]+",
  7155. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7156. 'File not found|Файл не найден|',
  7157. 'optional--',
  7158. 'optional2--',
  7159. "//a[contains(@href,'unibytes.com')]"
  7160. );
  7161. }
  7162. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7163. {
  7164. addFileHost(
  7165. "www\\.hellshare\\.com\/\\d+",
  7166. 'tab\\-details"',
  7167. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7168. 'optional--',
  7169. 'optional2--',
  7170. "//a[contains(@href,'www.hellshare.com')]"
  7171. );
  7172. }
  7173. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7174. {
  7175. addFileHost(
  7176. "www\\.download.cz.hellshare\\.com\/\\w+",
  7177. 'tab\\-details"',
  7178. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7179. 'optional--',
  7180. 'optional2--',
  7181. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_filefactory_dot_com_links", false)) //pics & folders
  7185. {
  7186. addFileHost(
  7187. "filefactory\\.com",
  7188. 'folderFileList">|<tr id=|div id="file_holder"|id="download-free"|danger countdown|id="file_name"',
  7189. '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',
  7190. 'Server Maintenance|temporarily overloaded|Server überlastet|Unerwarteter Fehler|予期せぬエラー|Erro inesperado|Carga do Servidor Muito Alta',
  7191. 'Premium Account Required',
  7192. "//a[contains(@href,'filefactory.com/file/') or contains(@href,'filefactory.com/folder/')]"
  7193. );
  7194. }
  7195. if (GM_getValue("Check_load_dot_to_links", false))
  7196. {
  7197. addFileHost(
  7198. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7199. '"download_table_left">Size',
  7200. 'Can\'t find file',
  7201. 'optional--',
  7202. 'optional2--',
  7203. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7204. );
  7205. }
  7206. if (GM_getValue("Check_divshare_dot_com_links", false))
  7207. {
  7208. addFileHost(
  7209. "divshare\\.com\/download\/",
  7210. 'download_new\.png',
  7211. 'have been removed',
  7212. 'optional--',
  7213. 'optional2--',
  7214. "//a[contains(@href,'divshare.com')]"
  7215. );
  7216. }
  7217. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7218. {
  7219. addFileHost(
  7220. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7221. 'download=true"',
  7222. '<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>',
  7223. 'optional--',
  7224. 'optional2--',
  7225. "//a[contains(@href,'euroshare.eu/file')]"
  7226. );
  7227. }
  7228. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7229. {
  7230. addFileHost(
  7231. 'files\\.mail\\.ru/(?:\\w*)',
  7232. 'fileList',
  7233. 'errorMessage',
  7234. 'optional--',
  7235. 'optional2--',
  7236. "//a[contains(@href,'files.mail.ru')]"
  7237. );
  7238. }
  7239. /* if (GM_getValue("Check_megashares_dot_com_links", false))
  7240. {
  7241. addFileHost(
  7242. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7243. 'Filesize',
  7244. 'Invalid|deleted|Could not download file',
  7245. 'slots|scheduled maintenance',
  7246. 'optional2--',
  7247. "//a[contains(@href,'megashares.com/')]"
  7248. );
  7249. } */
  7250. if (GM_getValue("Check_narod_dot_ru_links", false))
  7251. {
  7252. addFileHost(
  7253. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7254. 'b-submit|action="resource.download"',
  7255. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7256. 'Внутренняя ошибка сервиса',
  7257. 'optional2--',
  7258. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7259. );
  7260. }
  7261. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7262. {
  7263. addFileHost(
  7264. "rayfile\\.com\/",
  7265. 'FILEtitleTXT',
  7266. 'blueRow',
  7267. 'optional--',
  7268. 'optional2--',
  7269. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7270. );
  7271. }
  7272. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7273. {
  7274. addFileHost(
  7275. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7276. 'button_green_body"',
  7277. 'error">',
  7278. 'optional--',
  7279. 'optional2--',
  7280. "//a[contains(@href,'filesmonster.com/download')]"
  7281. );
  7282. }
  7283. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7284. {
  7285. addFileHost(
  7286. 'usaupload\\.net\/d\/(?:\w*)',
  7287. '<strong>File size:</strong>',
  7288. 'is not available',
  7289. 'optional--',
  7290. 'optional2--',
  7291. "//a[contains(@href,'usaupload.net/d/')]"
  7292. );
  7293. }
  7294. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7295. {
  7296. addFileHost(
  7297. 'sendspace\\.com\/file\/\\w+',
  7298. 'file_description',
  7299. 'msg error"',
  7300. 'optional--',
  7301. 'optional2--',
  7302. "//a[contains(@href,'sendspace.com/file')]"
  7303. );
  7304. }
  7305. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7306. {
  7307. addFileHost(
  7308. 'sendspace\\.pl\/file\/\\w+',
  7309. 'download_file"',
  7310. 'Podany plik nie',
  7311. 'optional--',
  7312. 'optional2--',
  7313. "//a[contains(@href,'sendspace.pl/file')]"
  7314. );
  7315. }
  7316. if (GM_getValue("Check_uploading_dot_com_links", false))
  7317. {
  7318. addFileHost(
  7319. 'uploading\\.com\/(?:files\/)?\\w+',
  7320. 'free_method">',
  7321. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7322. 'optional--',
  7323. 'optional2--',
  7324. "//a[contains(@href,'uploading.com')]"
  7325. );
  7326. }
  7327. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7328. {
  7329. addFileHost(
  7330. "gigasize\.com\/\\w+",
  7331. 'fileId"|class="estimate">',
  7332. 'error">',
  7333. 'optional--',
  7334. 'optional2--',
  7335. "//a[contains(@href,'gigasize.com/get')]"
  7336. );
  7337. }
  7338. if (GM_getValue("Check_good_dot_com_links", false))
  7339. {
  7340. addFileHost(
  7341. 'good\\.net\/(?:_|dl)',
  7342. 'Free Download',
  7343. 'Not Found',
  7344. 'Forbidden',
  7345. 'optional2--',
  7346. "//a[contains(@href,'good.net')]"
  7347. );
  7348. }
  7349. if (GM_getValue("Check_2shared_dot_com_links", false))
  7350. {
  7351. addFileHost(
  7352. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7353. 'File size',
  7354. 'File not found|is not valid|/images/important.gif',
  7355. 'optional--',
  7356. 'optional2--',
  7357. // "//a[contains(@href,'2shared.com')]"
  7358. "//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/')]"
  7359. );
  7360. }
  7361. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7362. {
  7363. addFileHost(
  7364. 'turboupload\\.com\/\\w*',
  7365. 'You have requested',
  7366. 'File Not Found',
  7367. 'optional--',
  7368. 'optional2--',
  7369. "//a[contains(@href,'turboupload.com')]"
  7370. );
  7371. }
  7372. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7373. {
  7374. addFileHost(
  7375. 'gigapeta\\.com\/dl\/',
  7376. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7377. '404|page_error',
  7378. 'optional--',
  7379. 'optional2--',
  7380. "//a[contains(@href,'gigapeta.com/dl')]"
  7381. );
  7382. }
  7383. if (GM_getValue("Check_veehd_dot_com_links", false))
  7384. {
  7385. addFileHost(
  7386. 'veehd\.com\/video\/.*?',
  7387. 'No sound|Download video',
  7388. 'Featured Videos',
  7389. 'optional--',
  7390. 'optional2--',
  7391. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7392. );
  7393. }
  7394. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7395. {
  7396. addFileHost(
  7397. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7398. 'fast_download_form">|submit_sms_download',
  7399. '<p style="text-align:center">',
  7400. 'optional--',
  7401. 'optional2--',
  7402. "//a[contains(@href,'vip-file.com/download')]"
  7403. );
  7404. }
  7405. /* if (GM_getValue("Check_letitbit_dot_net_links", false))
  7406. {
  7407. addFileHost(
  7408. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7409. 'download\\-pnl ',
  7410. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7411. 'optional--',
  7412. 'optional2--',
  7413. "//a[contains(@href,'letitbit.net/download')]"
  7414. );
  7415. }*/
  7416. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7417. {
  7418. addFileHost(
  7419. 'ifolder\.ru\/\\d+',
  7420. 'file-info',
  7421. 'ui-state-error',
  7422. 'optional--',
  7423. 'optional2--',
  7424. "//a[contains(@href,'ifolder.ru')]"
  7425. );
  7426. }
  7427. /* if (GM_getValue("Check_fileswap_dot_com_links", false))
  7428. {
  7429. addFileHost(
  7430. 'fileswap\\.com\/dl\/\\w+',
  7431. 'bttnDownloadLink"',
  7432. 'rounded_block_error"',
  7433. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7434. 'optional2--',
  7435. "//a[contains(@href,'fileswap.com/dl')]"
  7436. );
  7437. }*/
  7438. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7439. {
  7440. addFileHost(
  7441. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7442. 'var __error = 0|id="recaptchaPanel">',
  7443. 'FILES__DOESNT_EXIST|removed or did not exist',
  7444. 'optional--',
  7445. 'optional2--',
  7446. "//a[contains(@href,'filecloud.io/')]"
  7447. );
  7448. addFileHost(
  7449. 'ifile\\.it\/\\w+',
  7450. 'var __error = 0',
  7451. 'FILES__DOESNT_EXIST',
  7452. 'optional--',
  7453. 'optional2--',
  7454. "//a[contains(@href,'ifile.it/')]"
  7455. );
  7456. }
  7457. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7458. {
  7459. addFileHost(
  7460. 'solidfiles\\.com\/\\w+',
  7461. 'id="download"|content="Download',
  7462. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'solidfiles.com/')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7469. {
  7470. addFileHost(
  7471. "(?:.\\.|)shareflare\\.net",
  7472. 'download-pnl|<div class="premium-block">',
  7473. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7474. 'optional--',
  7475. 'optional2--',
  7476. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7477. );
  7478. }
  7479. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7480. {
  7481. addFileHost(
  7482. "u18116681.shareflare\\.net",
  7483. 'download-pnl|<div class="premium-block">',
  7484. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7485. 'optional--',
  7486. 'optional2--',
  7487. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7488. );
  7489. }
  7490. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7491. {
  7492. addFileHost(
  7493. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7494. 'file\\-list-orderby|section-filedetail">',
  7495. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7496. 'optional--',
  7497. 'optional2--',
  7498. "//a[contains(@href,'hellspy.')]"
  7499. );
  7500. }
  7501. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7502. {
  7503. addFileHost(
  7504. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7505. '<body onload="">',
  7506. 'neexistuje|not exist',
  7507. 'optional--',
  7508. 'optional2--',
  7509. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7510. );
  7511. }
  7512. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7513. {
  7514. addFileHost(
  7515. "stahovanizasms\\.cz\/\\w+",
  7516. 'download\\.png>|font-size:11px><tr>',
  7517. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7518. 'optional--',
  7519. 'optional2--',
  7520. "//a[contains(@href,'stahovanizasms.cz')]"
  7521. );
  7522. }
  7523. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7524. {
  7525. addFileHost(
  7526. "share-links\\.biz\/\\w*",
  7527. 'online\\.gif',
  7528. '(?:offline|parts)\\.gif',
  7529. 'optional--',
  7530. 'optional2--',
  7531. "//a[contains(@href,'share-links.biz')]"
  7532. );
  7533. }
  7534. if (GM_getValue("Check_4shared_dot_com_links", false))
  7535. {
  7536. addFileHost(
  7537. "4shared\\.com\/.+\/",
  7538. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7539. 'class="warn\"|big red"|GetDataBack',
  7540. 'Service Unavailable',
  7541. 'optional2--',
  7542. "//a[contains(@href,'4shared.com')]"
  7543. );
  7544. }
  7545. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7546. {
  7547. addFileHost(
  7548. "(?:www\\d+\.|)zippyshare\.com\/",
  7549. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7550. 'not exist|Status 404',
  7551. 'optional--',
  7552. 'optional2--',
  7553. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7554. );
  7555. }
  7556. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7557. {
  7558. addFileHost(
  7559. "mediafire\.com\/",
  7560. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7561. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7562. 'set to private',
  7563. 'optional2--',
  7564. "//a[contains(@href,'mediafire.com')]"
  7565. );
  7566. }
  7567. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7568. {
  7569. addFileHost(
  7570. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7571. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7572. 'box_red|Error: 404|Error: 410|Error: 451|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7573. 'optional--',
  7574. 'GB</small>',
  7575. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7576. );
  7577. }
  7578. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7579. {
  7580. addFileHost(
  7581. "ulozisko\.sk\/",
  7582. 'Detaily',
  7583. 'neexistuje',
  7584. 'optional--',
  7585. 'optional2--',
  7586. "//a[contains(@href,'ulozisko.sk')]"
  7587. );
  7588. }
  7589. if (GM_getValue("Check_box_dot_com_links", false))
  7590. {
  7591. addFileHost(
  7592. "box\.com\/\\w+",
  7593. 'download-file-btn|id="download_button|preview-download',
  7594. 'BIyMin.png| <div class="error_message|link has been removed',
  7595. 'optional--',
  7596. 'optional2--',
  7597. "//a[contains(@href,'app.box.com')]");
  7598. }
  7599. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7600. {
  7601. addFileHost(
  7602. "uptobox\\.com\/\\w+",
  7603. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7604. '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|لا يوجد أي ملف',
  7605. 'Maintenance',
  7606. 'optional2--',
  7607. "//a[contains(@href,'uptobox.com')]",
  7608. true
  7609. );
  7610. }
  7611. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7612. {
  7613. addFileHost(
  7614. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7615. 'FILE DOWNLOAD<',
  7616. 'File Does Not Exist',
  7617. 'optional--',
  7618. 'optional2--',
  7619. "//a[contains(@href,'sharecash.org/download.php')]"
  7620. );
  7621. }
  7622. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7623. {
  7624. addFileHost(
  7625. "1fichier\\.com\/dir\/\\w+",
  7626. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7627. 'Shared Folder Not Found',
  7628. 'optional--',
  7629. 'optional2--',
  7630. "//a[contains(@href,'1fichier.com/dir')]"
  7631. );
  7632. }
  7633. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7634. {
  7635. addFileHost(
  7636. "depositfiles\\.com\/folders\/\\w+",
  7637. '<div class="progressContainer">',
  7638. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7639. 'optional--',
  7640. 'optional2--',
  7641. "//a[contains(@href,'depositfiles.com/folders')]"
  7642. );
  7643. }
  7644. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7645. {
  7646. addFileHost(
  7647. "rapidfileshare\\.net/\\w+",
  7648. '<div id="upload-header-bg">',
  7649. '<div style="width:500px;text-align:left;">',
  7650. 'optional--',
  7651. 'optional2--',
  7652. "//a[contains(@href,'rapidfileshare.net/')]"
  7653. );
  7654. }
  7655. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7656. {
  7657. addFileHost(
  7658. "stiahnito\\.sk/",
  7659. '<span class="filesize right">',
  7660. '<ol class="list-purp-2">',
  7661. 'optional--',
  7662. 'optional2--',
  7663. "//a[contains(@href,'stiahnito.sk/')]"
  7664. );
  7665. }
  7666. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7667. {
  7668. addFileHost(
  7669. "rusfolder\\.(?:com|net)",
  7670. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7671. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7672. 'optional--',
  7673. 'optional2--',
  7674. "//a[contains(@href,'rusfolder')]"
  7675. );
  7676. }
  7677. if (GM_getValue("Check_catshare_dot_net_links", false))
  7678. {
  7679. addFileHost(
  7680. "catshare\\.net/\\w+",
  7681. '"icon-share',
  7682. 'alert alert-error',
  7683. 'optional--',
  7684. 'optional2--',
  7685. "//a[contains(@href,'catshare.net/')]"
  7686. );
  7687. }
  7688. /* if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7689. {
  7690. addFileHost(
  7691. "anonfiles\\.com/\\w+",
  7692. '"download_button"',
  7693. '<legend><b>404</b>',
  7694. 'optional--',
  7695. 'optional2--',
  7696. "//a[contains(@href,'anonfiles.com')]"
  7697. );
  7698. }*/
  7699. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7700. {
  7701. addFileHost(
  7702. "mixturecloud\\.com/media/\\w+",
  7703. '"btn icon i_globe gray share_150',
  7704. '"s_cross_close"></span> 404:',
  7705. 'optional--',
  7706. 'optional2--',
  7707. "//a[contains(@href,'mixturecloud.com/media/')]"
  7708. );
  7709. }
  7710. if (GM_getValue("Check_akafile_dot_com_links", false))
  7711. {
  7712. addFileHost(
  7713. "akafile\\.com\/\\w+",
  7714. 'download1',
  7715. 'File Not Found',
  7716. 'optional--',
  7717. 'optional2--',
  7718. "//a[contains(@href,'akafile.com/')]"
  7719. );
  7720. }
  7721. /* if (GM_getValue("Check_creafile_dot_net_links", false))
  7722. {
  7723. addFileHost(
  7724. "creafile\\.net\/\\w+",
  7725. 'downloadblock',
  7726. 'errtitle',
  7727. 'optional--',
  7728. 'optional2--',
  7729. "//a[contains(@href,'creafile.net/')]"
  7730. );
  7731. }*/
  7732. /* if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7733. {
  7734. addFileHost(
  7735. "hugefiles\\.net\/\\w+",
  7736. 'download1|class="btn-create-download" value="Create Download Link">',
  7737. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7738. 'optional--',
  7739. 'optional2--',
  7740. "//a[contains(@href,'hugefiles.net/')]"
  7741. );
  7742. }*/
  7743. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7744. {
  7745. addFileHost(
  7746. "sendmyway\\.com\/\\w+",
  7747. 'id="btn_download"',
  7748. '500px;text-align:left;"|<center><h3>',
  7749. 'optional--',
  7750. 'optional2--',
  7751. "//a[contains(@href,'sendmyway.com/')]"
  7752. );
  7753. }
  7754. if (GM_getValue("Check_upload_dot_ee_links", false))
  7755. {
  7756. addFileHost(
  7757. "upload\\.ee\/\\w+",
  7758. 'onmouseout="document.dllink.src',
  7759. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7760. 'optional--',
  7761. 'optional2--',
  7762. "//a[contains(@href,'upload.ee/')]"
  7763. );
  7764. }
  7765. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7766. {
  7767. addFileHost(
  7768. "shareplace\\.org\/\\?\\w+",
  7769. 'Download-Link',
  7770. 'Your requested file is not found|Select file to send',
  7771. 'optional--',
  7772. 'optional2--',
  7773. "//a[contains(@href,'shareplace.org/?')]"
  7774. );
  7775. }
  7776. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7777. {
  7778. addFileHost(
  7779. "uploadc\\.com\/\\w+",
  7780. 'id="prebut"',
  7781. 'File Not Found|This file has been removed due',
  7782. 'optional--',
  7783. 'optional2--',
  7784. "//a[contains(@href,'uploadc.com/')]"
  7785. );
  7786. }
  7787. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7788. {
  7789. addFileHost(
  7790. "uploadc\\.ch\/\\w+",
  7791. 'id="prebut"',
  7792. 'File Not Found|This file has been removed due',
  7793. 'optional--',
  7794. 'optional2--',
  7795. "//a[contains(@href,'uploadc.ch/')]"
  7796. );
  7797. }
  7798. /* if (GM_getValue("Check_remixshare_dot_com_links", false))
  7799. {
  7800. addFileHost(
  7801. "remixshare\\.com\/\\w+",
  7802. 'id="dl2"',
  7803. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7804. 'optional--',
  7805. 'optional2--',
  7806. "//a[contains(@href,'remixshare.com/')]"
  7807. );
  7808. }*/
  7809. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7810. {
  7811. addFileHost(
  7812. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7813. 'Last Download :',
  7814. 'img src="\\/404.jpg"',
  7815. 'optional--',
  7816. 'optional2--',
  7817. "//a[contains(@href,'exoshare.com/download.php')]"
  7818. );
  7819. }
  7820. if (GM_getValue("Check_borncash_dot_org_links", false))
  7821. {
  7822. addFileHost(
  7823. "borncash\\.org\/download\/\\?a=\\w+",
  7824. 'class="knop_1"',
  7825. '\/error\/er00',
  7826. 'optional--',
  7827. 'optional2--',
  7828. "//a[contains(@href,'borncash.org/download/')]"
  7829. );
  7830. }
  7831. /* if (GM_getValue("Check_vidplay_dot_net_links", false))
  7832. {
  7833. addFileHost(
  7834. "vidplay\.net\/\\w+",
  7835. 'solvemedia puzzle widget',
  7836. 'File not found|AVOID_IE_BUG',
  7837. 'optional--',
  7838. 'optional2--',
  7839. "//a[contains(@href,'vidplay.net')]");
  7840. }*/
  7841. if (GM_getValue("Check_filedais_dot_com_links", false))
  7842. {
  7843. addFileHost(
  7844. "filedais\.com\/\\w+",
  7845. 'class="btn btn-info"|name="method_free"',
  7846. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7847. 'optional--',
  7848. 'optional2--',
  7849. "//a[contains(@href,'filedais.com')]");
  7850. }
  7851. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7852. {
  7853. addFileHost(
  7854. "up.4share\.vn\/\\w+",
  7855. '<font size="2" face="Verdana">',
  7856. 'font: 13px Tahoma; color: Brown',
  7857. 'optional--',
  7858. 'optional2--',
  7859. "//a[contains(@href,'up.4share.vn')]");
  7860. }
  7861. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7862. {
  7863. addFileHost(
  7864. "share.vnn\.vn\/\\w+",
  7865. '"index,follow"|<div class="main" id="download-box">',
  7866. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'share.vnn.vn')]");
  7870. }
  7871. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7872. {
  7873. addFileHost(
  7874. "upfile\.vn\/\\w+",
  7875. 'download-timer',
  7876. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'upfile.vn')]");
  7880. }
  7881. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7882. {
  7883. addFileHost(
  7884. "aisfile\.com\/\\w+",
  7885. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7886. '<div style="width:500px;text-align:left;">|File Not Found',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'aisfile.com')]");
  7890. }
  7891. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "usersfiles\.com\/\\w+",
  7895. 'class="btn btn-success|id="btn_download" class="btn"',
  7896. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'usersfiles.com')]");
  7900. }
  7901. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7902. {
  7903. addFileHost(
  7904. "pan.baidu\.com\/\\w+",
  7905. 'target="_blank" title=|share-personal-info',
  7906. 'share_notfound.png|background:#f9f9f9',
  7907. 'optional--',
  7908. 'optional2--',
  7909. "//a[contains(@href,'pan.baidu.com')]");
  7910. }
  7911. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7912. {
  7913. addFileHost(
  7914. "yunpan\.cn\/\\w+",
  7915. 'class="icon icon-download',
  7916. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'yunpan.cn')]");
  7920. }
  7921. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7922. {
  7923. addFileHost(
  7924. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7925. 'getElementById("downbild")|style.display',
  7926. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'file-upload.net')]");
  7930. }
  7931. /* if (GM_getValue("Check_gulfup_dot_com_links", false))
  7932. {
  7933. addFileHost(
  7934. "gulfup\.com\/",
  7935. '<!-- Downlod template -->|download.gif',
  7936. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'gulfup.com')]");
  7940. }*/
  7941. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7945. 'dldtable">',
  7946. 'does not exist\\.',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'datafilehost.com')]");
  7950. }
  7951. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7952. {
  7953. addFileHost(
  7954. "dropbox\.com\/s\/\\w+",
  7955. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7956. '>Nothing Here<|>Error (404)<',
  7957. 'title>Dropbox - 509|Error (403)|Error: 429',
  7958. 'optional2--',
  7959. "//a[contains(@href,'dropbox.com')]");
  7960. }
  7961. if (GM_getValue("Check_box_dot_net_links", false))
  7962. {
  7963. addFileHost(
  7964. "box\.net\/\\w+",
  7965. 'download-file-btn|id="download_button',
  7966. 'BIyMin.png| <div class="error_message',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'box.net')]");
  7970. }
  7971. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7972. {
  7973. addFileHost(
  7974. "filedropper\.com\/\\w+",
  7975. 'background:#ddd;|width:985px; ',
  7976. 'background-color:#FFFFFF;|margin-left: -400px;',
  7977. 'optional--',
  7978. 'optional2--',
  7979. "//a[contains(@href,'filedropper.com')]");
  7980. }
  7981. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7982. {
  7983. addFileHost(
  7984. "tropicshare\\.com\/files\/\\d+",
  7985. 'MB</span>|GB</span>|KB</span>',
  7986. '>FNF<|size: </span>',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'tropicshare.com')]");
  7990. }
  7991. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7992. {
  7993. addFileHost(
  7994. "worldbytez\.com",
  7995. '<div class="download_type">|method_free',
  7996. '<div style="width:500px;text-align:left;">',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'worldbytez.com')]",
  8000. true);
  8001. }
  8002. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8003. {
  8004. addFileHost(
  8005. "freefilehosting\.net\/\\w+",
  8006. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8007. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8008. 'optional--',
  8009. 'optional2--',
  8010. "//a[contains(@href,'freefilehosting.net')]");
  8011. }
  8012. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8013. {
  8014. addFileHost(
  8015. "ziddu\.com\/\\w+",
  8016. 'downloads.ziddu.com|downloadfilelinkicon',
  8017. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8018. 'optional--',
  8019. 'optional2--',
  8020. "//a[contains(@href,'ziddu.com')]");
  8021. }
  8022. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8023. {
  8024. addFileHost(
  8025. "exclusiveloader\.com\/\\w+",
  8026. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8027. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8028. 'optional--',
  8029. 'optional2--',
  8030. "//a[contains(@href,'exclusiveloader.com')]");
  8031. }
  8032. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8033. {
  8034. addFileHost(
  8035. "sharerapid\.cz\/\\w+",
  8036. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8037. 'error_div">|404 - Not Found',
  8038. 'optional--',
  8039. 'optional2--',
  8040. "//a[contains(@href,'sharerapid.cz')]");
  8041. }
  8042. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8043. {
  8044. addFileHost(
  8045. "sdilej\.cz\/\\w+",
  8046. 'class="page-download"',
  8047. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8048. 'optional--',
  8049. 'optional2--',
  8050. "//a[contains(@href,'sdilej.cz')]");
  8051. }
  8052. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8053. {
  8054. addFileHost(
  8055. "lafiles\.com\/\\w+",
  8056. '<div id="pay_modes">',
  8057. '<b class="err"></b>',
  8058. 'optional--',
  8059. 'optional2--',
  8060. "//a[contains(@href,'lafiles.com')]");
  8061. }
  8062. if (GM_getValue("Check_acefile_dot_net_links", false))
  8063. {
  8064. addFileHost(
  8065. "acefile\.net\/\\w+",
  8066. 'align=right nowrap><b>',
  8067. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8068. 'optional--',
  8069. 'optional2--',
  8070. "//a[contains(@href,'acefile.net')]");
  8071. }
  8072. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8073. {
  8074. addFileHost(
  8075. "megarapid\.cz\/\\w+",
  8076. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8077. 'error_div">|404 - Not Found',
  8078. 'optional--',
  8079. 'optional2--',
  8080. "//a[contains(@href,'megarapid.cz')]");
  8081. }
  8082. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8083. {
  8084. addFileHost(
  8085. "yadi\.sk\/\\w+",
  8086. 'nb-button _nb-small-button',
  8087. 'error code|Nothing found',
  8088. 'optional--',
  8089. 'optional2--',
  8090. "//a[contains(@href,'yadi.sk')]");
  8091. }
  8092. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8093. {
  8094. addFileHost(
  8095. "hitfile\.net\/\\w+",
  8096. 'class="download-file',
  8097. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8098. 'optional--',
  8099. 'optional2--',
  8100. "//a[contains(@href,'hitfile.net')]");
  8101. }
  8102. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8103. {
  8104. addFileHost(
  8105. "up.top4top\.net\/\\w+",
  8106. 'start Downlod template',
  8107. 'start err template',
  8108. 'optional--',
  8109. 'optional2--',
  8110. "//a[contains(@href,'up.top4top.net')]");
  8111. }
  8112. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8113. {
  8114. addFileHost(
  8115. "filejoker\.net",
  8116. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8117. 'File Not Found|class="not_found|"err">DMCA Complaint<',
  8118. 'optional--',
  8119. 'id="download" class="premium-only">',
  8120. "//a[contains(@href,'filejoker.net')]");
  8121. }
  8122. if (GM_getValue("Check_free_dot_fr_links", false))
  8123. {
  8124. addFileHost(
  8125. "(?:dl.\\.|)free\\.fr",
  8126. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8127. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8128. 'optional--',
  8129. 'optional2--',
  8130. "//a[contains(@href,'dl.free.fr')]");
  8131. }
  8132. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8133. {
  8134. addFileHost(
  8135. "gboxes\.com\/\\w+",
  8136. 'You have requested|color="red">http://www.gboxes.com',
  8137. 'File Not Found|<div style="width:500px;text-align:left;">',
  8138. 'optional--',
  8139. 'optional2--',
  8140. "//a[contains(@href,'gboxes.com')]");
  8141. }
  8142. if (GM_getValue("Check_led_dot_wf_links", false))
  8143. {
  8144. addFileHost(
  8145. "led\.wf\/\\w+",
  8146. 'logo_0.png|downloads.gif"|verifycode',
  8147. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8148. 'optional--',
  8149. 'available only for Premium users',
  8150. "//a[contains(@href,'led.wf')]");
  8151. }
  8152. if (GM_getValue("Check_lan_dot_wf_links", false))
  8153. {
  8154. addFileHost(
  8155. "lan\.wf\/\\w+",
  8156. 'logo_0.png|downloads.gif"|verifycode',
  8157. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8158. 'optional--',
  8159. 'available only for Premium users',
  8160. "//a[contains(@href,'lan.wf')]");
  8161. }
  8162. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8163. {
  8164. addFileHost(
  8165. "adlink\.wf\/\\w+",
  8166. 'logo_0.png|downloads.gif"|verifycode',
  8167. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8168. 'optional--',
  8169. 'available only for Premium users',
  8170. "//a[contains(@href,'adlink.wf')]");
  8171. }
  8172. if (GM_getValue("Check_click_dot_tf_links", false))
  8173. {
  8174. addFileHost(
  8175. "click\.tf\/\\w+",
  8176. 'logo_0.png|downloads.gif"|verifycode',
  8177. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8178. 'optional--',
  8179. 'available only for Premium users',
  8180. "//a[contains(@href,'click.tf')]");
  8181. }
  8182. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8183. {
  8184. addFileHost(
  8185. "ssh\.tf\/\\w+",
  8186. 'logo_0.png|downloads.gif"|verifycode',
  8187. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8188. 'optional--',
  8189. 'available only for Premium users',
  8190. "//a[contains(@href,'ssh.tf')]");
  8191. }
  8192. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8193. {
  8194. addFileHost(
  8195. "ssh\.yt\/\\w+",
  8196. 'logo_0.png|downloads.gif"|verifycode',
  8197. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8198. 'optional--',
  8199. 'available only for Premium users',
  8200. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8201. }
  8202. if (GM_getValue("Check_yep_dot_pm_links", false))
  8203. {
  8204. addFileHost(
  8205. "yep\.pm\/\\w+",
  8206. 'logo_0.png|downloads.gif"|verifycode',
  8207. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8208. 'optional--',
  8209. 'available only for Premium users',
  8210. "//a[contains(@href,'yep.pm')]");
  8211. }
  8212. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8213. {
  8214. addFileHost(
  8215. "kyc\.pm\/\\w+",
  8216. 'logo_0.png|downloads.gif"|verifycode',
  8217. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8218. 'optional--',
  8219. 'available only for Premium users',
  8220. "//a[contains(@href,'kyc.pm')]");
  8221. }
  8222. if (GM_getValue("Check_brupload_dot_net_links", false))
  8223. {
  8224. addFileHost(
  8225. "brupload\.net\/\\w+",
  8226. 'Download Gratuito',
  8227. '<div style="width:500px;text-align:left;">',
  8228. 'optional--',
  8229. 'optional2--',
  8230. "//a[contains(@href,'brupload.net')]");
  8231. }
  8232. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8233. {
  8234. addFileHost(
  8235. "cloudzilla\.to\/\\w+",
  8236. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8237. 'File not found|/imgs/broken.png',
  8238. 'optional--',
  8239. 'optional2--',
  8240. "//a[contains(@href,'cloudzilla.to')]");
  8241. }
  8242. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8243. {
  8244. addFileHost(
  8245. "clicknupload\.com\/\\w+",
  8246. 'name="method_free',
  8247. 'File Not Found',
  8248. 'optional--',
  8249. 'optional2--',
  8250. "//a[contains(@href,'clicknupload.com')]");
  8251. }
  8252. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8253. {
  8254. addFileHost(
  8255. "clicknupload\.me\/\\w+",
  8256. 'name="method_free',
  8257. 'File Not Found',
  8258. 'optional--',
  8259. 'optional2--',
  8260. "//a[contains(@href,'clicknupload.me')]");
  8261. }
  8262. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8263. {
  8264. addFileHost(
  8265. "clicknupload\.link\/\\w+",
  8266. 'name="method_free',
  8267. 'File Not Found',
  8268. 'optional--',
  8269. 'optional2--',
  8270. "//a[contains(@href,'clicknupload.link')]");
  8271. }
  8272. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8273. {
  8274. addFileHost(
  8275. "ex-load\.com\/\\w+",
  8276. 'name="method_free|<p>Download File:</p>',
  8277. 'Folder Not Found|File Not Found|Error 404',
  8278. 'optional--',
  8279. 'class="downprem wow bounceInLeft',
  8280. "//a[contains(@href,'ex-load.com')]");
  8281. }
  8282. /* if (GM_getValue("Check_hexupload_dot_com_links", false))
  8283. {
  8284. addFileHost(
  8285. "hexupload\.com\/\\w+",
  8286. 'button" value="Free|type="submit" value=""',
  8287. 'File Not Found|<div style="width:500px;text-align:left;">',
  8288. 'optional--',
  8289. 'optional2--',
  8290. "//a[contains(@href,'hexupload.com')]");
  8291. }*/
  8292. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8293. {
  8294. addFileHost(
  8295. "wizupload\.com\/\\w+",
  8296. 'btn_download|class="downloadbtn"',
  8297. '>File Not Found<',
  8298. 'optional--',
  8299. 'optional2--',
  8300. "//a[contains(@href,'wizupload.com')]");
  8301. }
  8302. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8303. {
  8304. addFileHost(
  8305. "inclouddrive\.com\/\\w+",
  8306. 'initfreedownload',
  8307. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8308. 'optional--',
  8309. 'optional2--',
  8310. "//a[contains(@href,'inclouddrive.com')]");
  8311. }
  8312. /* if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8313. {
  8314. addFileHost(
  8315. "radicalshare\.com\/\\w+",
  8316. 'value="download1|name="method_free"',
  8317. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8318. 'optional--',
  8319. 'optional2--',
  8320. "//a[contains(@href,'radicalshare.com')]");
  8321. }*/
  8322. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8323. {
  8324. addFileHost(
  8325. "sharemods\.com\/\\w+",
  8326. 'name="method_free"',
  8327. 'File Not Found<',
  8328. 'optional--',
  8329. 'optional2--',
  8330. "//a[contains(@href,'sharemods.com')]");
  8331. }
  8332. if (GM_getValue("Check_hostr_dot_co_links", false))
  8333. {
  8334. addFileHost(
  8335. "hostr\.co\/\\w+",
  8336. 'method="get"',
  8337. 'File not found<|error-page',
  8338. 'optional--',
  8339. 'optional2--',
  8340. "//a[contains(@href,'hostr.co')]");
  8341. }
  8342. if (GM_getValue("Check_filepi_dot_com_links", false))
  8343. {
  8344. addFileHost(
  8345. "filepi\.com\/\\w+",
  8346. 'id="button_start">',
  8347. 'File not found',
  8348. 'optional--',
  8349. 'optional2--',
  8350. "//a[contains(@href,'filepi.com')]");
  8351. }
  8352. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8353. {
  8354. addFileHost(
  8355. "tikfile\.com\/\\w+",
  8356. 'btn_download',
  8357. 'File Not Found|file was removed|Reason for deletion',
  8358. 'optional--',
  8359. 'optional2--',
  8360. "//a[contains(@href,'tikfile.com')]");
  8361. }
  8362. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8363. {
  8364. addFileHost(
  8365. "cloudsix\.me\/\\w+",
  8366. 'name="method_free"',
  8367. 'File Not Found|width:500px;text-align:left;">',
  8368. 'optional--',
  8369. 'optional2--',
  8370. "//a[contains(@href,'cloudsix.me')]");
  8371. }
  8372. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8373. {
  8374. addFileHost(
  8375. "neodrive\.co\/\\w+",
  8376. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8377. 'File not found|/imgs/broken.png',
  8378. 'optional--',
  8379. 'optional2--',
  8380. "//a[contains(@href,'neodrive.co')]");
  8381. }
  8382. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8383. {
  8384. addFileHost(
  8385. "chayfile\.com\/\\w+",
  8386. 'name="method_free"',
  8387. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8388. 'optional--',
  8389. 'optional2--',
  8390. "//a[contains(@href,'chayfile.com')]");
  8391. }
  8392. /* if (GM_getValue("Check_xfileload_dot_com_links", false))
  8393. {
  8394. addFileHost(
  8395. "xfileload\.com\/\\w+",
  8396. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8397. '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..|הקובץ שחיפשת לא נמצא.',
  8398. 'optional--',
  8399. 'optional2--',
  8400. "//a[contains(@href,'xfileload.com')]");
  8401. }*/
  8402. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8403. {
  8404. addFileHost(
  8405. "rockfile\.eu\/\\w+",
  8406. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8407. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8408. 'optional--',
  8409. 'optional2--',
  8410. "//a[contains(@href,'rockfile.eu')]",
  8411. true);
  8412. }
  8413. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8414. {
  8415. addFileHost(
  8416. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8417. 'i/icon/dll.png"|>Start download<br',
  8418. 'no longer available<|i/ino.png"',
  8419. 'optional--',
  8420. 'optional2--',
  8421. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8422. }
  8423. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8424. {
  8425. addFileHost(
  8426. "ozofiles\.com\/\\w+",
  8427. 'button" value="Free|name="method_free',
  8428. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8429. 'optional--',
  8430. 'optional2--',
  8431. "//a[contains(@href,'ozofiles.com')]");
  8432. }
  8433. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8434. {
  8435. addFileHost(
  8436. "userscloud\.com\/\\w+",
  8437. 'btn_download|class="label label-success">',
  8438. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8439. 'optional--',
  8440. 'optional2--',
  8441. "//a[contains(@href,'userscloud.com')]");
  8442. }
  8443. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8444. {
  8445. addFileHost(
  8446. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8447. 'class="button download',
  8448. 'internal server error',
  8449. 'optional--',
  8450. 'optional2--',
  8451. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8452. }
  8453. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8454. {
  8455. addFileHost(
  8456. "kb.simple-aja\.info\/\\w+",
  8457. 'class="button download',
  8458. 'internal server error|<p>404</p>',
  8459. 'optional--',
  8460. 'optional2--',
  8461. "//a[contains(@href,'kb.simple')]");
  8462. }
  8463. if (GM_getValue("Check_faststore_dot_org_links", false))
  8464. {
  8465. addFileHost(
  8466. "faststore\.org\/\\w+",
  8467. 'name="method_free',
  8468. 'File Not Found',
  8469. 'optional--',
  8470. 'optional2--',
  8471. "//a[contains(@href,'faststore.org')]");
  8472. }
  8473. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8474. {
  8475. addFileHost(
  8476. "prefiles\.com\/\\w+",
  8477. 'id="method_free',
  8478. 'File not Found',
  8479. 'optional--',
  8480. 'optional2--',
  8481. "//a[contains(@href,'prefiles.com')]");
  8482. }
  8483. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8484. {
  8485. addFileHost(
  8486. "doraupload\.com\/\\w+",
  8487. 'btn_download|name="method_free',
  8488. 'class="error-code|Could Not Be Found',
  8489. 'optional--',
  8490. 'optional2--',
  8491. "//a[contains(@href,'doraupload.com')]");
  8492. }
  8493. if (GM_getValue("Check_openload_dot_io_links", false))
  8494. {
  8495. addFileHost(
  8496. "openload\.io\/\\w+",
  8497. 'btn btn-primary|class="count">|secondsleftouter',
  8498. 'class="jumbotron">|We are sorry',
  8499. 'optional--',
  8500. 'optional2--',
  8501. "//a[contains(@href,'openload.io')]");
  8502. }
  8503. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8504. {
  8505. addFileHost(
  8506. "zxcfiles\.com\/\\w+",
  8507. 'class="downloadbtn',
  8508. 'File Not Found',
  8509. 'optional--',
  8510. 'optional2--',
  8511. "//a[contains(@href,'zxcfiles.com')]");
  8512. }
  8513. if (GM_getValue("Check_up07_dot_net_links", false))
  8514. {
  8515. addFileHost(
  8516. "up07\.net\/\\w+",
  8517. 'name="method_free',
  8518. 'File Not Found',
  8519. 'optional--',
  8520. 'optional2--',
  8521. "//a[contains(@href,'up07.net')]");
  8522. }
  8523. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8524. {
  8525. addFileHost(
  8526. "fileupload\.pw\/\\w+",
  8527. 'value="Free"',
  8528. 'File Not Found',
  8529. 'optional--',
  8530. 'optional2--',
  8531. "//a[contains(@href,'fileupload.pw')]");
  8532. }
  8533. if (GM_getValue("Check_4upld_dot_com_links", false))
  8534. {
  8535. addFileHost(
  8536. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8537. 'alt="Download Now"|content="Download file">|btn-free-element',
  8538. '<title>Error|content="error|File not found',
  8539. 'optional--',
  8540. 'optional2--',
  8541. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8542. }
  8543. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8544. {
  8545. addFileHost(
  8546. "(?:.swoopshare)\\.com\/\\w+",
  8547. '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',
  8548. '<input type="file" name="f"',
  8549. 'optional--',
  8550. 'optional2--',
  8551. "//a[contains(@href,'swoopshare.com')]"
  8552. );
  8553. }
  8554. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8555. {
  8556. addFileHost(
  8557. "cloudshares\.net\/\\w+",
  8558. '"method_free|"Low Speed Download|submit" name="go',
  8559. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8560. 'optional--',
  8561. 'optional2--',
  8562. "//a[contains(@href,'cloudshares.net')]"
  8563. );
  8564. }
  8565. /* if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8566. {
  8567. addFileHost(
  8568. "allmyvideos\.net\/\\w+",
  8569. 'Continue to Video',
  8570. 'File Not Found|class="err">Removed for',
  8571. 'optional--',
  8572. 'optional2--',
  8573. "//a[contains(@href,'allmyvideos.net')]"
  8574. );
  8575. } */
  8576. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8577. {
  8578. addFileHost(
  8579. "vodlocker\.com\/\\w+",
  8580. 'Proceed to video',
  8581. 'Not Found',
  8582. 'optional--',
  8583. 'optional2--',
  8584. "//a[contains(@href,'vodlocker.com')]"
  8585. );
  8586. }
  8587. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8588. {
  8589. addFileHost(
  8590. "vidbull\.com\/\\w+",
  8591. 'Verifying Video Request',
  8592. 'File Not Found',
  8593. 'optional--',
  8594. 'optional2--',
  8595. "//a[contains(@href,'vidbull.com')]");
  8596. }
  8597. if (GM_getValue("Check_novamov_dot_com_links", false))
  8598. {
  8599. addFileHost(
  8600. "novamov\.com\/\\w+",
  8601. 'For version detection',
  8602. 'file no longer exists',
  8603. 'optional--',
  8604. 'optional2--',
  8605. "//a[contains(@href,'novamov.com')]"
  8606. );
  8607. }
  8608. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8609. {
  8610. addFileHost(
  8611. "filehoot\.com\/\\w+",
  8612. 'Continue to watch',
  8613. 'File Not Found',
  8614. 'optional--',
  8615. 'optional2--',
  8616. "//a[contains(@href,'filehoot.com')]"
  8617. );
  8618. }
  8619. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8620. {
  8621. addFileHost(
  8622. "stagevu\.com\/\\w+",
  8623. 'Video Info',
  8624. 'No video with the provided',
  8625. 'optional--',
  8626. 'optional2--',
  8627. "//a[contains(@href,'stagevu.com')]"
  8628. );
  8629. }
  8630. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8631. {
  8632. addFileHost(
  8633. "cloudtime\.to\/\\w+",
  8634. 'Download the video',
  8635. 'no longer exists',
  8636. 'optional--',
  8637. 'optional2--',
  8638. "//a[contains(@href,'cloudtime.to')]"
  8639. );
  8640. }
  8641. if (GM_getValue("Check_streamin_dot_to_links", false))
  8642. {
  8643. addFileHost(
  8644. "streamin\.to\/\\w+",
  8645. 'id="btn_download',
  8646. 'Not Found|Copyright Infringement|File Deleted',
  8647. 'optional--',
  8648. 'optional2--',
  8649. "//a[contains(@href,'streamin.to')]"
  8650. );
  8651. }
  8652. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8653. {
  8654. addFileHost(
  8655. "videoweed\.es\/\\w+",
  8656. 'version detection',
  8657. 'no longer exists',
  8658. 'optional--',
  8659. 'optional2--',
  8660. "//a[contains(@href,'videoweed.es')]"
  8661. );
  8662. }
  8663. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8664. {
  8665. addFileHost(
  8666. "nowvideo\.sx\/\\w+",
  8667. 'Download this video|value="submit">Continue',
  8668. 'no longer exists',
  8669. 'optional--',
  8670. 'optional2--',
  8671. "//a[contains(@href,'nowvideo.sx')]"
  8672. );
  8673. }
  8674. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8675. {
  8676. addFileHost(
  8677. "thevideo\.me\/\\w+",
  8678. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8679. 'File Not Found',
  8680. 'optional--',
  8681. 'optional2--',
  8682. "//a[contains(@href,'thevideo.me')]"
  8683. );
  8684. }
  8685. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8686. {
  8687. addFileHost(
  8688. "gorillavid\.in\/\\w+",
  8689. 'Wait 5 seconds',
  8690. 'File Not Found',
  8691. 'optional--',
  8692. 'optional2--',
  8693. "//a[contains(@href,'gorillavid.in')]"
  8694. );
  8695. }
  8696. if (GM_getValue("Check_thefile_dot_me_links", false))
  8697. {
  8698. addFileHost(
  8699. "thefile\.me\/\\w+",
  8700. 'Choose free or',
  8701. '',
  8702. 'optional--',
  8703. 'optional2--',
  8704. "//a[contains(@href,'thefile.me')]"
  8705. );
  8706. }
  8707. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8708. {
  8709. addFileHost(
  8710. "vidzi\.tv\/\\w+",
  8711. 'video-embed-modal row',
  8712. 'File Not Found|file was deleted',
  8713. 'optional--',
  8714. 'optional2--',
  8715. "//a[contains(@href,'vidzi.tv')]"
  8716. );
  8717. }
  8718. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8719. {
  8720. addFileHost(
  8721. "filenuke\.com\/\\w+",
  8722. 'Download File',
  8723. 'Earn with us',
  8724. 'optional--',
  8725. 'optional2--',
  8726. "//a[contains(@href,'filenuke.com')]"
  8727. );
  8728. }
  8729. if (GM_getValue("Check_vidto_dot_me_links", false))
  8730. {
  8731. addFileHost(
  8732. "vidto\.me\/\\w+",
  8733. 'Proceed to video',
  8734. 'Not Found',
  8735. 'optional--',
  8736. 'optional2--',
  8737. "//a[contains(@href,'vidto.me')]"
  8738. );
  8739. }
  8740. /* if (GM_getValue("Check_vidspot_dot_net_links", false))
  8741. {
  8742. addFileHost(
  8743. "vidspot\.net\/\\w+",
  8744. 'Duration|method_free',
  8745. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8746. 'optional--',
  8747. 'optional2--',
  8748. "//a[contains(@href,'vidspot.net')]"
  8749. );
  8750. } */
  8751. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8752. {
  8753. addFileHost(
  8754. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8755. 'Download File',
  8756. 'File Not Found',
  8757. 'optional--',
  8758. 'optional2--',
  8759. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8760. );
  8761. }
  8762. if (GM_getValue("Check_movpod_dot_in_links", false))
  8763. {
  8764. addFileHost(
  8765. "movpod\.in\/\\w+",
  8766. 'Continue',
  8767. 'File Not Found',
  8768. 'optional--',
  8769. 'optional2--',
  8770. "//a[contains(@href,'movpod.in')]"
  8771. );
  8772. }
  8773. if (GM_getValue("Check_down4files_dot_com_links", false))
  8774. {
  8775. addFileHost(
  8776. "down4files\.com\/\\w+",
  8777. 'down_table.png',
  8778. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8779. 'optional--',
  8780. 'optional2--',
  8781. "//a[contains(@href,'down4files.com')]"
  8782. );
  8783. }
  8784. /* if (GM_getValue("Check_storefiles_dot_co_links", false))
  8785. {
  8786. addFileHost(
  8787. "storefiles\.co\/\\w+",
  8788. 'btn_download',
  8789. 'No such file|>Error<|mqmaintitle">',
  8790. 'optional--',
  8791. 'optional2--',
  8792. "//a[contains(@href,'storefiles.co')]"
  8793. );
  8794. }*/
  8795. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8796. {
  8797. addFileHost(
  8798. "filehost\.pw\/\\w+",
  8799. 'name="method_free',
  8800. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8801. 'optional--',
  8802. 'optional2--',
  8803. "//a[contains(@href,'filehost.pw')]"
  8804. );
  8805. }
  8806. if (GM_getValue("Check_uplea_dot_com_links", false))
  8807. {
  8808. addFileHost(
  8809. "uplea\.com\/\\w+",
  8810. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8811. 'expired link|ou est invalide',
  8812. 'optional--',
  8813. 'optional2--',
  8814. "//a[contains(@href,'uplea.com/dl')]",
  8815. true);
  8816. }
  8817. /* if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8818. {
  8819. addFileHost(
  8820. "toutbox\.fr\/\\w+",
  8821. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8822. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8823. 'Serviço temporariamente indisponível',
  8824. 'optional2--',
  8825. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8826. );
  8827. }*/
  8828. if (GM_getValue("Check_openload_dot_co_links", false))
  8829. {
  8830. addFileHost(
  8831. "openload\.co\/\\w+",
  8832. 'id="downloadTimer">|button dlbutton',
  8833. 'jumbotron{color|got deleted|center !important',
  8834. 'optional--',
  8835. 'optional2--',
  8836. "//a[contains(@href,'openload.co')]"
  8837. );
  8838. }
  8839. /* if (GM_getValue("Check_lolabits_dot_es_links", false))
  8840. {
  8841. addFileHost(
  8842. "lolabits\.es\/\\w+",
  8843. 'Descargar:',
  8844. '<title>Archivos de usuario',
  8845. 'Service Unavailable',
  8846. 'optional2--',
  8847. "//a[contains(@href,'lolabits.es')]"
  8848. );
  8849. }*/
  8850. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8851. {
  8852. addFileHost(
  8853. "alfafile\.net\/\\w+",
  8854. 'id="slow_download_btn',
  8855. 'class="error-box">',
  8856. 'optional--',
  8857. 'optional2--',
  8858. "//a[contains(@href,'alfafile.net')]"
  8859. );
  8860. }
  8861. if (GM_getValue("Check_multiup_dot_org_links", false))
  8862. {
  8863. addFileHost(
  8864. "multiup\\.(?:org|eu)\/\\w+",
  8865. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8866. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8867. 'optional--',
  8868. 'optional2--',
  8869. "//a[contains(@href,'multiup.org') or contains(@href,'multiup.eu')]"
  8870. );
  8871. }
  8872. if (GM_getValue("Check_file_dot_al_links", false))
  8873. {
  8874. addFileHost(
  8875. "file\\.al",
  8876. 'method_free',
  8877. 'style="width:500px;text-align:left;">',
  8878. 'optional--',
  8879. 'optional2--',
  8880. "//a[contains(@href,'file.al')]"
  8881. );
  8882. }
  8883. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8884. {
  8885. addFileHost(
  8886. "devilshare\.net\/\\w+",
  8887. '<div class="large-12" id="download">',
  8888. '(Link: 0 Invalid)|File Not Found',
  8889. 'optional--',
  8890. 'optional2--',
  8891. "//a[contains(@href,'devilshare.net')]"
  8892. );
  8893. }
  8894. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8895. {
  8896. addFileHost(
  8897. "dailyuploads\.net\/\\w+",
  8898. 'id="downloadBtnClickOrignal',
  8899. '<div style="width:500px;text-align:left;">',
  8900. 'optional--',
  8901. 'optional2--',
  8902. "//a[contains(@href,'dailyuploads.net')]"
  8903. );
  8904. }
  8905. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8906. {
  8907. addFileHost(
  8908. "datoteke\.com\/\\w+",
  8909. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8910. '&nbsp;File has been removed',
  8911. 'optional--',
  8912. '<title>Error - Datoteke',
  8913. "//a[contains(@href,'datoteke.com')]"
  8914. );
  8915. }
  8916. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8917. {
  8918. addFileHost(
  8919. "sharehost\.eu\/\\w+",
  8920. '/?v=download_free&',
  8921. 'Errors occured|Wystąpiły błędy',
  8922. 'optional--',
  8923. 'optional2--',
  8924. "//a[contains(@href,'sharehost.eu')]"
  8925. );
  8926. }
  8927. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8928. {
  8929. addFileHost(
  8930. "pornfile\.cz",
  8931. 'Stáhnout soubor|Stáhnout pomalu',
  8932. 'Soubor byl smazán|Stránka nenalezena',
  8933. 'optional--',
  8934. 'optional2--',
  8935. "//a[contains(@href,'pornfile.cz')]"
  8936. );
  8937. }
  8938. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8939. {
  8940. addFileHost(
  8941. "pornoid\.cz\/\\w+",
  8942. 'class="btn btn-large btn-download',
  8943. 'Soubor byl smazán',
  8944. 'optional--',
  8945. 'optional2--',
  8946. "//a[contains(@href,'pornoid.cz')]"
  8947. );
  8948. }
  8949. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8950. {
  8951. addFileHost(
  8952. "file-share\.top\/\\w+",
  8953. 'btn-success btn-lg download',
  8954. 'Stránka neexistuje|404 Not Found',
  8955. 'optional--',
  8956. 'optional2--',
  8957. "//a[contains(@href,'file-share.top')]"
  8958. );
  8959. }
  8960. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8961. {
  8962. addFileHost(
  8963. "bitster\.cz\/",
  8964. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8965. 'section" content=""',
  8966. 'optional--',
  8967. 'optional2--',
  8968. "//a[contains(@href,'bitster.cz')]"
  8969. );
  8970. }
  8971. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8972. {
  8973. addFileHost(
  8974. "rapidu\.net\/\\w+",
  8975. 'onclick="downloadFreeFile',
  8976. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8977. 'optional--',
  8978. 'optional2--',
  8979. "//a[contains(@href,'rapidu.net')]"
  8980. );
  8981. }
  8982. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8983. {
  8984. addFileHost(
  8985. "dinoshare\.cz\/\\w+",
  8986. 'class="download-button"',
  8987. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8988. 'optional--',
  8989. 'optional2--',
  8990. "//a[contains(@href,'dinoshare.cz')]"
  8991. );
  8992. }
  8993. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8994. {
  8995. addFileHost(
  8996. "bytewhale\.com\/\\w+",
  8997. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8998. 'var rawest = "0 MB|Copyrights Claim</div>',
  8999. 'optional--',
  9000. 'This file is available for premium members only',
  9001. "//a[contains(@href,'bytewhale.com')]"
  9002. );
  9003. }
  9004. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9005. {
  9006. addFileHost(
  9007. "rapidrar\.com\/\\w+",
  9008. 'value="Free Download',
  9009. '<div style="width:500px;text-align:left;">',
  9010. 'optional--',
  9011. 'optional--',
  9012. "//a[contains(@href,'rapidrar.com')]"
  9013. );
  9014. }
  9015. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9016. {
  9017. addFileHost(
  9018. "filesupload\.org\/\\w+",
  9019. '<a href="/download-or-watch/',
  9020. 'File not found',
  9021. 'optional--',
  9022. 'optional--',
  9023. "//a[contains(@href,'filesupload.org')]"
  9024. );
  9025. }
  9026. if (GM_getValue("Check_filecad_dot_com_links", false))
  9027. {
  9028. addFileHost(
  9029. "filecad\.com\/\\w+",
  9030. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9031. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9032. 'optional--',
  9033. 'optional--',
  9034. "//a[contains(@href,'filecad.com')]"
  9035. );
  9036. }
  9037. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9038. {
  9039. addFileHost(
  9040. "file.up09\.com\/\\w+",
  9041. 'name="method_free',
  9042. 'style="width:500px;text-align:left;">',
  9043. 'optional--',
  9044. 'optional--',
  9045. "//a[contains(@href,'file.up09.com')]"
  9046. );
  9047. }
  9048. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9049. {
  9050. addFileHost(
  9051. "lunaticfiles\.com\/\\w+",
  9052. 'name="method_free"',
  9053. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9054. 'optional--',
  9055. 'optional--',
  9056. "//a[contains(@href,'lunaticfiles.com')]"
  9057. );
  9058. }
  9059. if (GM_getValue("Check_upload_dot_af_links", false))
  9060. {
  9061. addFileHost(
  9062. "upload\.af\/\\w+",
  9063. 'id="method_free"',
  9064. '<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|ファイルが見つかりません',
  9065. 'optional--',
  9066. 'optional--',
  9067. "//a[contains(@href,'upload.af')]"
  9068. );
  9069. }
  9070. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9071. {
  9072. addFileHost(
  9073. "filedwon\.info\/\\w+",
  9074. 'name="method_free"',
  9075. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9076. 'optional--',
  9077. 'optional--',
  9078. "//a[contains(@href,'filedwon.info')]"
  9079. );
  9080. }
  9081. if (GM_getValue("Check_uplod_dot_it_links", false))
  9082. {
  9083. addFileHost(
  9084. "uplod\.it\/\\w+",
  9085. 'value="download2">|name="method_free',
  9086. '<Title>Download </Title>',
  9087. 'optional--',
  9088. 'optional--',
  9089. "//a[contains(@href,'uplod.it')]"
  9090. );
  9091. }
  9092. /* if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9093. {
  9094. addFileHost(
  9095. "abelhas\.pt\/\\w+",
  9096. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9097. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9098. 'optional--',
  9099. 'optional--',
  9100. "//a[contains(@href,'abelhas.pt')]"
  9101. );
  9102. } */
  9103. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9104. {
  9105. addFileHost(
  9106. "disk.yandex\.com\/\\w+",
  9107. 'nb-button _nb-small-button',
  9108. 'error code|Nothing found',
  9109. 'optional--',
  9110. 'optional2--',
  9111. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9112. }
  9113. if (GM_getValue("Check_filespace_dot_com_links", false))
  9114. {
  9115. addFileHost(
  9116. "filespace\.com\/\\w+",
  9117. '"method_free',
  9118. '<div style="text-align:left;"><ul>|>File not found.<',
  9119. 'optional1--',
  9120. 'optional2--',
  9121. "//a[contains(@href,'filespace.com')]");
  9122. }
  9123. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9124. {
  9125. addFileHost(
  9126. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9127. 'name="downloadFile|id="downloadFile|value="Wait',
  9128. '<title>File not found</title>|>Error:<',
  9129. 'optional1--',
  9130. 'optional2--',
  9131. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9132. }
  9133. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9134. {
  9135. addFileHost(
  9136. "ncrypt\.in\/\\w+",
  9137. 'Sicherheitsabfrage:|Securitycheck:',
  9138. 'does not exist|existiert nicht',
  9139. 'optional1--',
  9140. 'optional2--',
  9141. "//a[contains(@href,'ncrypt.in')]");
  9142. }
  9143. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9144. {
  9145. addFileHost(
  9146. "jeodrive\.com\/\\w+",
  9147. 'btn-lg regular',
  9148. 'Not found',
  9149. 'optional1--',
  9150. 'optional2--',
  9151. "//a[contains(@href,'jeodrive.com')]");
  9152. }
  9153. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9154. {
  9155. addFileHost(
  9156. "myfiles\.onl\/\\w+",
  9157. 'value="Free"',
  9158. '<div style="width:500px;text-align:left;">',
  9159. 'optional1--',
  9160. 'optional2--',
  9161. "//a[contains(@href,'myfiles.onl')]");
  9162. }
  9163. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9164. {
  9165. addFileHost(
  9166. "uploadserv\.com\/\\w+",
  9167. 'color="red">http://uploadserv.com/',
  9168. 'content="Download File ">|<title>Download </title>',
  9169. 'optional1--',
  9170. 'optional2--',
  9171. "//a[contains(@href,'uploadserv.com')]");
  9172. }
  9173. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9174. {
  9175. addFileHost(
  9176. "keepshare\.net\/\\w+",
  9177. 'method_free',
  9178. '<div style="width:500px;text-align:left;">',
  9179. 'optional1--',
  9180. 'optional2--',
  9181. "//a[contains(@href,'keepshare.net')]");
  9182. }
  9183. if (GM_getValue("Check_oload_dot_net_links", false))
  9184. {
  9185. addFileHost(
  9186. "oload\.net\/\\w+",
  9187. '<font color="red">http://oload.net',
  9188. 'class="page-ttl">',
  9189. 'optional1--',
  9190. 'optional2--',
  9191. "//a[contains(@href,'oload.net')]");
  9192. }
  9193. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9194. {
  9195. addFileHost(
  9196. "filescdn\.com\/\\w+",
  9197. 'btn bg-green-40|btn_download',
  9198. 'icon-warning text-danger',
  9199. 'optional1--',
  9200. 'optional2--',
  9201. "//a[contains(@href,'filescdn.com')]");
  9202. }
  9203. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9204. {
  9205. addFileHost(
  9206. "bankupload\.com\/\\w+",
  9207. 'id="btn_download"|1.0 GB',
  9208. '<div style="width:500px;text-align:left;">',
  9209. 'optional1--',
  9210. ' GB',
  9211. "//a[contains(@href,'bankupload.com')]");
  9212. }
  9213. if (GM_getValue("Check_katfile_dot_com_links", false))
  9214. {
  9215. addFileHost(
  9216. "katfile\.com\/\\w+",
  9217. 'KB| MB|1.0 GB',
  9218. 'images/file_not_found.png"',
  9219. 'optional1--',
  9220. ' GB',
  9221. "//a[contains(@href,'katfile.com')]");
  9222. }
  9223. if (GM_getValue("Check_filesin_dot_space_links", false))
  9224. {
  9225. addFileHost(
  9226. "filesin\.space\/\\w+",
  9227. 'id="btn_download"',
  9228. 'class="err">',
  9229. 'optional1--',
  9230. 'optional2',
  9231. "//a[contains(@href,'filesin.space')]");
  9232. }
  9233. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9234. {
  9235. addFileHost(
  9236. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9237. 'download.php',
  9238. 'notfound|upload\\-suborov\\.php"',
  9239. 'optional--',
  9240. 'optional2--',
  9241. "//a[contains(@href,'upnito.sk')]"
  9242. );
  9243. }
  9244. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9245. {
  9246. addFileHost(
  9247. "alltu\.eu\/\\w+",
  9248. 'download-timer',
  9249. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9250. 'optional1--',
  9251. 'optional2',
  9252. "//a[contains(@href,'alltu.eu')]");
  9253. }
  9254. if (GM_getValue("Check_novafile_dot_com_links", false))
  9255. {
  9256. addFileHost(
  9257. "novafile\.com\/\\w+",
  9258. 'id="regular-download',
  9259. 'id="file-not-found',
  9260. 'optional1--',
  9261. 'id="premium-only',
  9262. "//a[contains(@href,'novafile.com')]");
  9263. }
  9264. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9265. {
  9266. addFileHost(
  9267. "uploadgig\.com\/\\w+",
  9268. 'btn-default',
  9269. 'File not found',
  9270. 'optional1--',
  9271. 'optional2',
  9272. "//a[contains(@href,'uploadgig.com')]");
  9273. }
  9274. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9275. {
  9276. addFileHost(
  9277. "mexashare\.com\/\\w+",
  9278. 'method_free',
  9279. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"|>File Not Found<',
  9280. 'optional1--',
  9281. 'optional2',
  9282. "//a[contains(@href,'mexashare.com')]");
  9283. }
  9284. if (GM_getValue("Check_daofile_dot_com_links", false))
  9285. {
  9286. addFileHost(
  9287. "daofile\.com\/\\w+",
  9288. 'class="captcha_code',
  9289. 'style="width:500px;text-align:left;">',
  9290. 'optional1--',
  9291. 'optional2',
  9292. "//a[contains(@href,'daofile.com')]");
  9293. }
  9294. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9295. {
  9296. addFileHost(
  9297. "imagenetz\.de\/\\w+",
  9298. 'id="download',
  9299. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9300. 'optional1--',
  9301. 'optional2',
  9302. "//a[contains(@href,'imagenetz.de')]");
  9303. }
  9304. if (GM_getValue("Check_uloz_dot_to_links", false))
  9305. {
  9306. addFileHost(
  9307. "uloz\.to",
  9308. 'limitedDownloadButton|Stáhnout pomalu',
  9309. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9310. 'optional1--',
  9311. 'optional2',
  9312. "//a[contains(@href,'uloz.to')]");
  9313. }
  9314. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9315. {
  9316. addFileHost(
  9317. "ulozto.net",
  9318. 'limitedDownloadButton|Stáhnout pomalu',
  9319. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9320. 'optional1--',
  9321. 'optional2',
  9322. "//a[contains(@href,'ulozto.net')]");
  9323. }
  9324. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9325. {
  9326. addFileHost(
  9327. "ulozto\.sk",
  9328. 'limitedDownloadButton|Stáhnout pomalu',
  9329. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9330. 'optional1--',
  9331. 'optional2',
  9332. "//a[contains(@href,'ulozto.sk')]");
  9333. }
  9334. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9335. {
  9336. addFileHost(
  9337. "ulozto\.cz",
  9338. 'limitedDownloadButton|Stáhnout pomalu',
  9339. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9340. 'optional1--',
  9341. 'optional2',
  9342. "//a[contains(@href,'ulozto.cz')]");
  9343. }
  9344. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9345. {
  9346. addFileHost(
  9347. "subyshare\.com\/\\w+",
  9348. 'id="method_free',
  9349. 'file was removed|class="err">|1s">404',
  9350. 'optional1--',
  9351. 'optional2',
  9352. "//a[contains(@href,'subyshare.com')]",
  9353. true);
  9354. }
  9355. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9356. {
  9357. addFileHost(
  9358. "fileshareup\.com\/\\w+",
  9359. 'download-timer|btn-free-element|content="Download file',
  9360. 'content="Error"|content="error|heading-1">Error<',
  9361. 'optional1--',
  9362. 'optional2',
  9363. "//a[contains(@href,'fileshareup.com')]");
  9364. }
  9365. if (GM_getValue("Check_mystore_dot_to_links", false))
  9366. {
  9367. addFileHost(
  9368. "mystore\.to\/\\w+",
  9369. 'Download File',
  9370. 'file not found',
  9371. 'optional1--',
  9372. 'optional2',
  9373. "//a[contains(@href,'mystore.to/dl')]");
  9374. }
  9375. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9376. {
  9377. addFileHost(
  9378. "usercloud\.net\/\\w+",
  9379. 'content="download|var seconds = 60|type="password',
  9380. 'content="error|report_file.html">',
  9381. 'optional1--',
  9382. 'optional2',
  9383. "//a[contains(@href,'usercloud.net')]");
  9384. }
  9385. if (GM_getValue("Check_workupload_dot_com_links", false))
  9386. {
  9387. addFileHost(
  9388. "workupload\.com\/\\w+",
  9389. 'content="Download|id="download"',
  9390. 'File not found|img/not-found.jpg|Error message',
  9391. 'optional1--',
  9392. 'optional2',
  9393. "//a[contains(@href,'workupload.com')]");
  9394. }
  9395. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9396. {
  9397. addFileHost(
  9398. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9399. 'class="download">',
  9400. 'class="error center',
  9401. 'optional1--',
  9402. 'optional2',
  9403. "//a[contains(@href,'storageserver.co.uk')]");
  9404. }
  9405. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9406. {
  9407. addFileHost(
  9408. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9409. '"kind": "file"',
  9410. '"error": "not_exists"',
  9411. 'optional1--',
  9412. 'optional2',
  9413. "//a[contains(@href,'cloud.mail.ru')]");
  9414. }
  9415. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9416. {
  9417. addFileHost(
  9418. "bdupload\.info\/\\w+",
  9419. 'class="downloadbtn">|id="downloadbtn"',
  9420. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9421. 'optional1--',
  9422. 'optional2',
  9423. "//a[contains(@href,'bdupload.info')]");
  9424. }
  9425. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9426. {
  9427. addFileHost(
  9428. "wayupload\.com\/\\w+",
  9429. 'class="nopay-btn gray"',
  9430. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9431. 'optional1--',
  9432. 'optional2',
  9433. "//a[contains(@href,'wayupload.com')]");
  9434. }
  9435. if (GM_getValue("Check_exbit_dot_net_links", false))
  9436. {
  9437. addFileHost(
  9438. "exbit\.net\/\\w+",
  9439. 'class="nopay-btn|href="/download/free/',
  9440. 'File not found',
  9441. 'optional1--',
  9442. 'optional2',
  9443. "//a[contains(@href,'exbit.net')]");
  9444. }
  9445. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9446. {
  9447. addFileHost(
  9448. "uploadocean\.com\/\\w+",
  9449. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9450. 'deleted.png"',
  9451. 'optional1--',
  9452. 'optional2',
  9453. "//a[contains(@href,'uploadocean.com')]");
  9454. }
  9455. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9456. {
  9457. addFileHost(
  9458. "fileflares\.com\/\\w+",
  9459. 'id="downloadbtn"',
  9460. '<div style="width:500px;text-align:left;">',
  9461. 'optional1--',
  9462. 'optional2',
  9463. "//a[contains(@href,'fileflares.com')]");
  9464. }
  9465. if (GM_getValue("Check_erafile_dot_com_links", false))
  9466. {
  9467. addFileHost(
  9468. "erafile\.com\/\\w+",
  9469. 'id="method_free',
  9470. '<div style="width:500px;text-align:left;">',
  9471. 'optional1--',
  9472. 'optional2',
  9473. "//a[contains(@href,'erafile.com')]");
  9474. }
  9475. if (GM_getValue("Check_suprafiles_dot_net_links", false))
  9476. {
  9477. addFileHost(
  9478. "suprafiles\.net\/\\w+",
  9479. 'name="method_free"',
  9480. 'File Not Found|style="width:1000px; text-align: left;">',
  9481. 'optional1--',
  9482. 'optional2',
  9483. "//a[contains(@href,'suprafiles.net')]");
  9484. }
  9485. if (GM_getValue("Check_upfiles_dot_net_links", false))
  9486. {
  9487. addFileHost(
  9488. "upfiles\.net\/\\w+",
  9489. 'id="recaptcha2"|snail.png"',
  9490. 'Ten plik został usunięty.|style="margin-top:50px',
  9491. 'optional1--',
  9492. 'optional2',
  9493. "//a[contains(@href,'upfiles.net/f/')]");
  9494. }
  9495. if (GM_getValue("Check_dailyfiles_dot_net_links", false))
  9496. {
  9497. addFileHost(
  9498. "dailyfiles\.net\/\\w+",
  9499. 'onclick="dwn',
  9500. '<title>Error',
  9501. 'optional1--',
  9502. 'optional2',
  9503. "//a[contains(@href,'dailyfiles.net')]");
  9504. }
  9505. if (GM_getValue("Check_littlebyte_dot_net_links", false))
  9506. {
  9507. addFileHost(
  9508. "littlebyte\.net\/\\w+",
  9509. '>Free download<|>Скачать медленно<',
  9510. 'images/dmca.png">',
  9511. 'optional1--',
  9512. 'optional2',
  9513. "//a[contains(@href,'littlebyte.net')]");
  9514. }
  9515. if (GM_getValue("Check_black_dash_label_dot_pro_links", false))
  9516. {
  9517. addFileHost(
  9518. "black\\-label\\.pro\/\\w+",
  9519. 'slow_download_button.png"|td><td title="',
  9520. 'STILL NEED CODE FOR DEAD LINKS',
  9521. 'optional1--',
  9522. 'optional2',
  9523. "//a[contains(@href,'black-label.pro')]");
  9524. }
  9525. if (GM_getValue("Check_temp_dash_share_dot_com_links", false))
  9526. {
  9527. addFileHost(
  9528. "temp\\-share\\.com\/\\w+",
  9529. 'publickey',
  9530. 'STILL NEED CODE FOR DEAD LINKS',
  9531. 'optional1--',
  9532. 'optional2',
  9533. "//a[contains(@href,'temp-share.com')]");
  9534. }
  9535. if (GM_getValue("Check_filesha_dot_com_links", false))
  9536. {
  9537. addFileHost(
  9538. "filesha\.com\/\\w+",
  9539. '>Download Free<',
  9540. 'STILL NEED CODE FOR DEAD LINKS',
  9541. 'optional1--',
  9542. 'optional2',
  9543. "//a[contains(@href,'filesha.com')]");
  9544. }
  9545. if (GM_getValue("Check_ausfile_dot_com_links", false))
  9546. {
  9547. addFileHost(
  9548. "ausfile\.com\/\\w+",
  9549. 'class="slow-download',
  9550. 'File Not Found',
  9551. 'optional1--',
  9552. 'optional2',
  9553. "//a[contains(@href,'ausfile.com')]");
  9554. }
  9555. if (GM_getValue("Check_upfile_dot_mobi_links", false))
  9556. {
  9557. addFileHost(
  9558. "upfile\.mobi\/\\w+",
  9559. 'class="download_button"',
  9560. 'File Not Found|Possible causes:|Possíveis causas:|Nguyên nhân cháu nó bị xóa có thể do :|عرض پوزش، فایل های حذف شده|可能的原因:',
  9561. 'optional1--',
  9562. 'optional2',
  9563. "//a[contains(@href,'upfile.mobi')]");
  9564. }
  9565. if (GM_getValue("Check_share_dot_az_links", false))
  9566. {
  9567. addFileHost(
  9568. "share\.az\/\\w+",
  9569. 'id="btn_download"',
  9570. 'File Not Found|We are sorry',
  9571. 'optional1--',
  9572. 'optional2',
  9573. "//a[contains(@href,'share.az')]");
  9574. }
  9575.  
  9576. }
  9577. //start here
  9578.  
  9579. //hosts with direct download, so they must be requested for headers only
  9580. function initFileHostsHeadersOnly()
  9581. {
  9582. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, ispremRegex, xpathEx)
  9583. {
  9584. var host = new Array(5);
  9585. host[0] = linkRegex;
  9586. host[1] = isAliveRegex;
  9587. host[2] = isDeadRegex;
  9588. host[4] = ispremRegex;
  9589. host[3] = xpathEx;
  9590. http_file_hosts_headers_only.push(host);
  9591. }
  9592. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9593. {
  9594. addFileHostHeadersOnly(
  9595. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9596. 'Connection: Keep-Alive',
  9597. 'Content-Length: 3857',
  9598. 'optional2',
  9599. "//a[contains(@href,'uloziste.com')]"
  9600. )
  9601. }
  9602. /* if (GM_getValue("Check_filescdn_dot_com_links", false))
  9603. {
  9604. addFileHostHeadersOnly(
  9605. "filescdn\.com\/\\w+",
  9606. 'Connection: keep-alive',
  9607. 'Company</Title>',
  9608. 'optional2',
  9609. "//a[contains(@href,'filescdn.com')]"
  9610. )
  9611. } */
  9612. if (GM_getValue("Check_adrive_dot_com_links", false))
  9613. {
  9614. addFileHostHeadersOnly(
  9615. "adrive\\.com\/public\/\\w+",
  9616. 'Connection: keep-alive',
  9617. 'orig_ref=deleted',
  9618. 'optional2',
  9619. "//a[contains(@href,'adrive.com')]"
  9620. )
  9621. }
  9622. }
  9623.  
  9624. //CustomRules
  9625. //functions add...Host copied here
  9626. function addObsoleteHost(linkRegex, xpathEx)
  9627. {
  9628. var host = new Array(2);
  9629. host[0] = linkRegex;
  9630. host[1] = xpathEx;
  9631. http_file_hosts_obsolete.push(host);
  9632. }
  9633. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9634. {
  9635. var host = new Array(7);
  9636. host[0] = linkRegex;
  9637. host[1] = isAliveRegex;
  9638. host[2] = isDeadRegex;
  9639. host[3] = isUnavaRegex;
  9640. host[4] = xpathEx;
  9641. tryLoop ? host[5] = true : host[5] = false;
  9642. host[6] = ispremRegex;
  9643. http_file_hosts.push(host);
  9644. }
  9645. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9646. {
  9647. var host = new Array(5);
  9648. host[0] = linkRegex;
  9649. host[1] = isAliveRegex;
  9650. host[2] = isDeadRegex;
  9651. host[3] = xpathEx;
  9652. host[4] = ispremRegex;
  9653. http_file_hosts_headers_only.push(host);
  9654. }
  9655. //takes a fully built rules array and adds the rules to WARLC
  9656. function applyCustomRules(customRules)
  9657. {
  9658. if (!customRules) return;
  9659. var rules, r, i;
  9660. rules = customRules.rules;
  9661. for (i = 0 ; i < rules.length ; i++)
  9662. {
  9663. r = rules[i];
  9664. if (r.enabled)
  9665. {
  9666. switch (r.type)
  9667. {
  9668. case 'single':
  9669. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9670. break;
  9671. case 'headers':
  9672. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9673. break;
  9674. case 'obsolete':
  9675. addObsoleteHost(r.urlregex, r.xpath)
  9676. break;
  9677. }
  9678. }
  9679. }
  9680. }
  9681.  
  9682.  
  9683. function initFileHostsCustom()
  9684. {
  9685. if (Custom_rules && Custom_rules_text)
  9686. {
  9687. var msg = '';
  9688. if (newVersion)
  9689. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9690. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9691. msg = '60 or more days have passed since this notification.\n\n';
  9692. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9693. {
  9694. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9695. msg +=
  9696. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9697. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9698. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9699. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9700. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9701. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9702. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9703. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9704. setTimeout(function(){alert(msg)},0);
  9705. }
  9706. var customRules = parseCustomRules(Custom_rules_text);
  9707. if (customRules.warning || customRules.error)
  9708. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9709. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9710. JSON.stringify(customRules.info, null, ' '));
  9711. applyCustomRules(customRules);
  9712. }
  9713. }
  9714. //end of CustomRules processing
  9715.  
  9716.  
  9717.  
  9718. } //end of function start
  9719.  
  9720.  
  9721.  
  9722. function initClipBoardTools()
  9723. {
  9724. unsafeWindow.copyToClipboard = function(text)
  9725. {
  9726. try
  9727. {
  9728. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9729.  
  9730. var str = Components.classes["@mozilla.org/supports-string;1"].
  9731. createInstance(Components.interfaces.nsISupportsString);
  9732. if (!str) return false;
  9733.  
  9734. str.data = text;
  9735.  
  9736. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9737. createInstance(Components.interfaces.nsITransferable);
  9738. if (!trans) return false;
  9739.  
  9740. trans.addDataFlavor("text/unicode");
  9741. trans.setTransferData("text/unicode", str, text.length * 2);
  9742.  
  9743. var clipid = Components.interfaces.nsIClipboard;
  9744. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9745. if (!clip) return false;
  9746.  
  9747. clip.setData(trans, null, clipid.kGlobalClipboard);
  9748. } catch (e) {
  9749. GM_log("Error copyToClipboard : " + e);
  9750. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9751. }
  9752. }
  9753. }
  9754.  
  9755.  
  9756.  
  9757. //CustomRules
  9758.  
  9759. function escapeRegex(str)
  9760. {
  9761. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9762. }
  9763.  
  9764.  
  9765. //called internally from parseCustomRules.
  9766. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9767. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9768. function makeCustomRule(rule)
  9769. {
  9770. function makeMatchRegex(arrmatch)
  9771. {
  9772. return escapeRegex(arrmatch.join('\n'))
  9773. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9774. .replace(/\n/g,'|'); //join together
  9775. }
  9776. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9777. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9778. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9779. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9780. if (rule.baseurl)
  9781. {
  9782. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9783. for (i = 0 ; i < len ; i++)
  9784. {
  9785. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9786. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9787. {
  9788. 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'])
  9789. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9790. }
  9791. else //baseurl in the form: example.com/xxx
  9792. {
  9793. xpath.push(m[0]);
  9794. urlregex.push(escapeRegex(m[0]) + '.');
  9795. }
  9796. }
  9797. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9798. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9799. }
  9800. return rule;
  9801. } //function makeCustomRule
  9802.  
  9803.  
  9804. /*
  9805. Takes a string containing custom link checking rules.
  9806. Returns an object with fields:
  9807. info - contains notes, warnings and errors found during parsing
  9808. rules - the array of custom rules
  9809. note, warning, error - number of each of them found during parsing
  9810. Format of the input string:
  9811. One command per line. Command format: @keyword parameter
  9812. Keywords:
  9813. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9814. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9815. These keywords can be multiple (any of them will work):
  9816. @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...)
  9817. @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+
  9818. @alivelink, @deadlink - example links
  9819. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9820. Lines starting with // and empty lines are ignored.
  9821. Invalid parameters generate errors and those lines are skipped.
  9822. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9823. Example:
  9824. @customrule filehost
  9825. @baseurl filehost.com/download/
  9826. @baseurl filehost2. com net /d?=
  9827. @alivematch id="download">
  9828. @deadmatch File not found
  9829. @deadmatch File deleted
  9830. */
  9831. function parseCustomRules(rulesStr)
  9832. {
  9833. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9834. function addInfo(type, msg, ln){
  9835. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9836. customRules[type]++;
  9837. }
  9838. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9839. if (!lines) return null;
  9840. lines.push('@#customrule _'); //to save the last rule
  9841. var m, linecount = lines.length;
  9842. var keyword, param, constr, rule, err;
  9843. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9844. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9845. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9846. var constraints = {
  9847. 'baseurl': {
  9848. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9849. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9850. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9851. 'alivematch': {
  9852. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9853. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9854. 'deadmatch': {
  9855. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9856. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9857. 'unavamatch': {
  9858. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9859. 'alivelink': {
  9860. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9861. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9862. 'deadlink': {
  9863. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9864. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9865. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9866. };
  9867. for (linenum = 0 ; linenum < linecount ; linenum++)
  9868. {
  9869. //capturing groups: 1 23 4 5 6
  9870. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9871. if (m)
  9872. {
  9873. if (m[1] || !m[2])
  9874. continue; // ignore empty lines and lines starting with //
  9875. keyword = (m[4] || m[2]).toLowerCase();
  9876. param = m[6];
  9877. if (keyword == 'customrule')
  9878. {
  9879. //save the current rule if all required fields are provided
  9880. if (rule)
  9881. {
  9882. err = false;
  9883. $.each(constraints, function(kw, constraint){
  9884. var l, constr = constraint[rule.type];
  9885. if (constr)
  9886. {
  9887. l = rule[kw] ? rule[kw].length : 0;
  9888. if (l < constr.min || l > constr.max)
  9889. {
  9890. 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);
  9891. err = true;
  9892. }
  9893. }
  9894. });
  9895. if (!err)
  9896. customRules.rules.push(makeCustomRule(rule));
  9897. }
  9898. //start a new rule
  9899. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9900. {
  9901. rule = {
  9902. 'enabled': !m[3],
  9903. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9904. 'name': param
  9905. };
  9906. }
  9907. else
  9908. {
  9909. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9910. rule = null;
  9911. }
  9912. }
  9913. else //good line format, but keyword other than customrule
  9914. {
  9915. if (!rule)
  9916. {
  9917. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9918. continue;
  9919. }
  9920. if (constraints[keyword])
  9921. {
  9922. constr = constraints[keyword][rule.type];
  9923. if (constr)
  9924. {
  9925. if (constr.paramRE && !constr.paramRE.test(param))
  9926. {
  9927. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9928. continue;
  9929. }
  9930. }
  9931. else
  9932. {
  9933. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9934. continue;
  9935. }
  9936. }
  9937. //line OK, save
  9938. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9939. }
  9940. } //if (m)
  9941. else
  9942. addInfo('warning', 'Unknown line format. Line skipped.');
  9943. } //for loop
  9944. return customRules;
  9945. } //function parseCustomRules
  9946.  
  9947.  
  9948. /* ********************UPDATES********************
  9949.  
  9950. January 12, 2016
  9951. Version 1.3.6.2
  9952. added share.az & upfile.mobi
  9953.  
  9954. January 07, 2016
  9955. Version 1.3.6.1
  9956. added ausfile.com
  9957.  
  9958. January 05, 2016
  9959. Version 1.3.6.0
  9960. removed uploadable.ch from obsolete hosts
  9961.  
  9962. January 04, 2017
  9963. Version 1.3.5.9
  9964. added secureupload.eu to obsolete hosts
  9965.  
  9966. December 31, 2016
  9967. Version 1.3.5.8
  9968. disabled on pizzaonline.dominos
  9969.  
  9970. December 31, 2016
  9971. Version 1.3.5.7
  9972. added uploadable.ch to obsolete hosts
  9973.  
  9974. December 30, 2016
  9975. Version 1.3.5.6
  9976. restored kingfiles.net
  9977.  
  9978. December 14, 2016
  9979. Version 1.3.5.5
  9980. fixed some 1fichier links not checking (yurii)
  9981.  
  9982. December 01, 2016
  9983. Version 1.3.5.4
  9984. added temp-share.com & filesha.com
  9985.  
  9986. November 30, 2016
  9987. Version 1.3.5.3
  9988. fixed mexashare.com not detecting some dead links
  9989.  
  9990. November 29, 2016
  9991. Version 1.3.5.2
  9992. added black-label.pro (live links only)
  9993.  
  9994. November 27, 2016
  9995. Version 1.3.5.1
  9996. made changes to filefactory
  9997.  
  9998. November 23, 2016
  9999. Version 1.3.5.0
  10000. added megashares.com to obsolete hosts
  10001. fixed letitbit not showing as obsolete
  10002. added littlebyte.net
  10003.  
  10004. November 22, 2016
  10005. Version 1.3.4.9
  10006. added code for live links to rapidgator
  10007. added dailyfiles.net
  10008. added upfiles.net
  10009. added multiup.eu
  10010.  
  10011. November 17, 2016
  10012. Version 1.3.4.8
  10013. fixed filefactory, again
  10014.  
  10015. November 17, 2016
  10016. Version 1.3.4.7
  10017. fixed filefactory folders
  10018.  
  10019. November 15, 2016
  10020. Version 1.3.4.6
  10021. fixed filefactory
  10022.  
  10023. November 14, 2016
  10024. Version 1.3.4.5
  10025. fixed rapidgator
  10026. fixed filefactory folders
  10027.  
  10028.  
  10029. November 13, 2016
  10030. Version 1.3.4.4
  10031. fixed problem with drive.google.com
  10032. added function to move and resize the progressbox (Big thanks to yurri for adding this)
  10033.  
  10034. November 06, 2016
  10035. Version 1.3.4.3
  10036. added to obsolete hosts (by love buzz)
  10037. 4up.me
  10038. a nonfiles.com
  10039. axifile.com
  10040. creafile.net
  10041. demo.ovh.eu
  10042. filesin.com
  10043. file swap.com
  10044. gulfup.com
  10045. hexupload.com
  10046. hugefiles.net
  10047. jumbofiles.com
  10048. kingfiles.net
  10049. letitbit.net
  10050. lolabits.es
  10051. nowdownload.ch
  10052. openfile.ru
  10053. radicalshare.com
  10054. remixshare.com
  10055. storefiles.co
  10056. toutbox.fr
  10057. uploadbaz.com
  10058. uploadingit.com
  10059. verzend.be
  10060. vidplay.net
  10061. vidxden.com
  10062. xfileload.com
  10063.  
  10064. November 04, 2016
  10065. Version 1.3.4.2
  10066. added french code for rapidgator premium links
  10067. added abelhas.pt, allmyvideos.net, vidspot.net to obsolete hosts
  10068.  
  10069. November 03, 2016
  10070. Version 1.3.4.1
  10071. added Portuguese code for rapidgator premium links
  10072. added suprafiles.net
  10073.  
  10074. November 02, 2016
  10075. Version 1.3.4.0
  10076. fixed depositfiles not detecting depositfiles.com/de links
  10077.  
  10078. October 27, 2016
  10079. Version 1.3.3.9
  10080. fixed uploaded.net not detecting some dead links
  10081.  
  10082. October 24, 2016
  10083. Version 1.3.3.8
  10084. added more french code for upload.af dead links
  10085.  
  10086. October 23, 2016
  10087. Version 1.3.3.7
  10088. added french for upload.af dead links
  10089.  
  10090. October 17, 2016
  10091. Version 1.3.3.6
  10092. fixed error (by Yurii)
  10093.  
  10094. October 17, 2016
  10095. Version 1.3.3.5
  10096. fixed file.al (by Yurii)
  10097.  
  10098. October 16, 2016
  10099. Version 1.3.3.4
  10100. test
  10101.  
  10102. October 11, 2016
  10103. Version 1.3.3.3
  10104. fixed subyshare.com not detecting some dead links
  10105. fixed mexashare.com
  10106. fixed pornfile.cz
  10107.  
  10108. October 10, 2016
  10109. Version 1.3.3.2
  10110. added fileflares.com
  10111. added erafile.com
  10112. added loop to subyshare.com & rockfile.eu
  10113.  
  10114. September 26, 2016
  10115. Version 1.3.3.1
  10116. added uploadocean.com
  10117.  
  10118. September 25, 2016
  10119. Version 1.3.3.0
  10120. added exbit.net
  10121.  
  10122. September 25, 2016
  10123. Version 1.3.2.9
  10124. fixed uptobox
  10125. fixed google (by kubbbie)
  10126.  
  10127. September 23, 2016
  10128. Version 1.3.2.8
  10129. added danish to rapidgator
  10130.  
  10131. September 22, 2016
  10132. Version 1.3.2.7
  10133. added wayupload.com
  10134.  
  10135. September 18, 2016
  10136. Version 1.3.2.6
  10137. added Portuguese language to rapidgator
  10138.  
  10139. September 15, 2016
  10140. Version 1.3.2.5
  10141. added languages to rapidgator
  10142. french
  10143. german
  10144. spanish
  10145. Italian
  10146. russian
  10147. polish
  10148. dutch
  10149. czech
  10150. chinese
  10151. japanese
  10152.  
  10153. September 14, 2016
  10154. Version 1.3.2.4
  10155. fixed spaceforfiles.com
  10156.  
  10157. September 09, 2016
  10158. Version 1.3.2.3
  10159. added bdupload.info
  10160. added german & deutsch language to workupload.com
  10161.  
  10162. September 08, 2016
  10163. Version 1.3.2.2
  10164. added...
  10165. storageserver.co.uk
  10166. cloud.mail.ru
  10167. fixed depositfiles
  10168.  
  10169. September 08, 2016
  10170. Version 1.3.2.1
  10171. added workupload.com
  10172.  
  10173. September 04, 2016
  10174. Version 1.3.2.0
  10175. made changes to euroshare.eu
  10176.  
  10177. September 03, 2016
  10178. Version 1.3.1.9
  10179. added usercloud.net
  10180. made changes to euroshare.eu
  10181.  
  10182. August 31, 2016
  10183. Version 1.3.1.8
  10184. fixed uptobox.com
  10185.  
  10186. August 30, 2016
  10187. Version 1.3.1.7
  10188. made changes to euroshare.eu
  10189.  
  10190. August 29, 2016
  10191. Version 1.3.1.6
  10192. made changes to data.hu
  10193.  
  10194. August 29, 2016
  10195. Version 1.3.1.5
  10196. fixed euroshare.eu not detecting dead links
  10197.  
  10198. August 23, 2016
  10199. Version 1.3.1.4
  10200. added ulozto.sk
  10201. added ulozto.cz
  10202.  
  10203. August 19, 2016
  10204. Version 1.3.1.3
  10205. fixed euroshare.eu
  10206. fixed 2share.com
  10207.  
  10208. August 17, 2016
  10209. Version 1.3.1.2
  10210. added french code for 1fichier
  10211.  
  10212. August 16, 2016
  10213. Version 1.3.1.1
  10214. fix for 1fichier folder links, by yurii
  10215.  
  10216. August 15, 2016
  10217. Version 1.3.1.0
  10218. another fix for 1fichier
  10219. added mystore.to
  10220.  
  10221. August 12, 2016
  10222. Version 1.3.0.9
  10223. fixed 1fichier
  10224.  
  10225. August 01, 2016
  10226. Version 1.3.0.8
  10227. fixed tezfiles.com not detecting some premium links
  10228.  
  10229. July 24, 2016
  10230. Version 1.3.0.7
  10231. added fileshareup.com
  10232.  
  10233. July 17, 2016
  10234. Version 1.3.0.6
  10235. added subyshare.com
  10236.  
  10237. july 10, 2016
  10238. Version 1.3.0.5
  10239. fixed ulozto.net
  10240.  
  10241. july 07, 2016
  10242. Version 1.3.0.4
  10243. fixed uloz.to
  10244.  
  10245. july 07, 2016
  10246. Version 1.3.0.3
  10247. added imagenetz.de
  10248.  
  10249. June 23, 2016
  10250. Version 1.3.0.2
  10251. excluded nexcess.net
  10252.  
  10253. June 20, 2016
  10254. Version 1.3.0.1
  10255. added daofile.com
  10256.  
  10257. June 16, 2016
  10258. Version 1.3.0.0
  10259. added mexashare.com
  10260.  
  10261. June 16, 2016
  10262. Version 1.2.9.9
  10263. added novafile.com
  10264. added uploadgig.com
  10265.  
  10266. June 15, 2016
  10267. Version 1.2.9.8
  10268. fixed upload.af
  10269.  
  10270. June 10, 2016
  10271. Version 1.2.9.7
  10272. added alltu.eu
  10273.  
  10274. June 09, 2016
  10275. Version 1.2.9.6
  10276. added code for french language to rapidgator.net & rg.to
  10277.  
  10278. June 04, 2016
  10279. Version 1.2.9.5
  10280. added upnito.sk
  10281.  
  10282. May 31, 2016
  10283. Version 1.2.9.4
  10284. fixed mega.co (by yurii)
  10285.  
  10286. May 31, 2016
  10287. Version 1.2.9.3
  10288. code cleanup
  10289.  
  10290. May 27, 2016
  10291. Version 1.2.9.2
  10292. added filesin.space
  10293.  
  10294. May 27, 2016
  10295. Version 1.2.9.1
  10296. added
  10297. filescdn.com
  10298. bankupload.com
  10299. katfile.com
  10300.  
  10301. May 18, 2016
  10302. Version 1.2.9.0
  10303. added warped.co to obsolete hosts
  10304.  
  10305. May 17, 2016
  10306. Version 1.2.8.9
  10307. fixed mega.nz
  10308.  
  10309. May 16, 2016
  10310. Version 1.2.8.8
  10311. added to obsolete hosts
  10312. fileband.com
  10313. filecloud.cc
  10314. filesmelt.com
  10315. goldbytez.com
  10316. hulkshare.com
  10317. idup.in
  10318. loudupload.net
  10319. muchshare.net
  10320. myupload.dk
  10321. nekaka.com
  10322. netkups.com
  10323. plunder.com
  10324. uploads.xxx
  10325. uploadspace.pl
  10326. xkeepfile.com
  10327.  
  10328. May 16, 2016
  10329. Version 1.2.8.7
  10330. added upnito.sk to obsolete hosts
  10331.  
  10332. May 15, 2016
  10333. Version 1.2.8.6
  10334. fixed uploading.site
  10335.  
  10336. May 15, 2016
  10337. Version 1.2.8.5
  10338. added oload.net
  10339.  
  10340. May 14, 2016
  10341. Version 1.2.8.4
  10342. added uploading.site
  10343.  
  10344. May 13, 2016
  10345. Version 1.2.8.3
  10346. added uploadc.ch
  10347. fixed vidspot.net
  10348.  
  10349. May 13, 2016
  10350. Version 1.2.8.2
  10351. added keepshare.net
  10352.  
  10353. May 11, 2016
  10354. Version 1.2.8.1
  10355. added uploadserv.com
  10356.  
  10357. May 09, 2016
  10358. Version 1.2.8.0
  10359. fixed upstore.net & upsto.re
  10360. added 24uploading.com to obsolete hosts
  10361.  
  10362. May 06, 2016
  10363. Version 1.2.7.9
  10364. added storagon.com to obsolete hosts
  10365. fixed worldbytez.com
  10366.  
  10367. May 02, 2016
  10368. Version 1.2.7.8
  10369. added myfiles.onl
  10370.  
  10371. april 28, 2016
  10372. Version 1.2.7.7
  10373. fixed bytewhale.com
  10374.  
  10375. april 27, 2016
  10376. Version 1.2.7.6
  10377. fixed rapidgator not detecting some premium links.
  10378.  
  10379. april 27, 2016
  10380. Version 1.2.7.5
  10381. added jeodrive.com
  10382.  
  10383. april 26, 2016
  10384. Version 1.2.7.4
  10385. added sanshare.com to obsolete hosts
  10386.  
  10387. april 26, 2016
  10388. Version 1.2.7.3
  10389. fixed vidspot.net
  10390.  
  10391. april 26, 2016
  10392. Version 1.2.7.2
  10393. added upx.nz
  10394.  
  10395. april 25, 2016
  10396. Version 1.2.7.1
  10397. added rapidfilehost.com to obsolete hosts
  10398. fixed bitster.cz
  10399.  
  10400. april 12, 2016
  10401. Version 1.2.7.0
  10402. fixed rapidgator not detecting some premium links.
  10403.  
  10404. april 11, 2016
  10405. Version 1.2.6.9
  10406. changed code for ncrypt.in
  10407.  
  10408. april 07, 2016
  10409. Version 1.2.6.8
  10410. added fileinz.com to obsolete hosts.
  10411.  
  10412. april 06, 2016
  10413. Version 1.2.6.7
  10414. added sharingmaster.com to obsolete hosts.
  10415.  
  10416. april 05, 2016
  10417. Version 1.2.6.6
  10418. added 4upfiles.com & elffiles.com to obsolete hosts
  10419.  
  10420. april 03, 2016
  10421. Version 1.2.6.5
  10422. updates to configuration page
  10423.  
  10424. March 31, 2016
  10425. Version 1.2.6.4
  10426. added code for tampermonkey 4.0 compatibility
  10427.  
  10428. March 31, 2016
  10429. Version 1.2.6.3
  10430. fixed uloz.to
  10431. fixed copy dead links to clipboard feature
  10432. added copy live links to clipboard feature.
  10433.  
  10434. March 24, 2016
  10435. Version 1.2.6.2
  10436. changed made to nitroflare. (yurri)
  10437.  
  10438. March 20, 2016
  10439. Version 1.2.6.1
  10440. fixed rapidgator
  10441. fixed dfiles
  10442. fixed dl.free.fr
  10443. fixed nitroflare.com (Fixed by Yurii)
  10444.  
  10445. March 15, 2016
  10446. Version 1.2.6.0
  10447. fixed rapidgator.net
  10448. fixed uploaded.net
  10449.  
  10450. March 13, 2016
  10451. Version 1.2.5.9
  10452. added
  10453. uploads.ws
  10454. upl.me
  10455. clicknupload.link
  10456. added fileover.net to obsolete hosts
  10457. fixed kingfiles.net
  10458.  
  10459. March 09, 2016
  10460. Version 1.2.5.8
  10461. added kingfiles.net to obsolete hosts
  10462. fixed 4upld.com/expressleech.com
  10463.  
  10464. March 08, 2016
  10465. Version 1.2.5.7
  10466. fixed solidfiles.com
  10467.  
  10468. March 01, 2016
  10469. Version 1.2.5.6
  10470. added filespace.com
  10471. fixed depositfiles (by yurii)
  10472.  
  10473. February 29, 2016
  10474. Version 1.2.5.5
  10475. made change to keep2share
  10476.  
  10477. February 28, 2016
  10478. Version 1.2.5.4
  10479. removed down4files.com from obsolete hosts.
  10480.  
  10481. February 26, 2016
  10482. Version 1.2.5.3
  10483. fixed userscloud.com
  10484.  
  10485. February 24, 2016
  10486. Version 1.2.5.2
  10487. added yandex.com
  10488. fixed datafile.com
  10489.  
  10490. February 22, 2016
  10491. Version 1.2.5.1
  10492. added bigfile.to
  10493.  
  10494. February 20, 2016
  10495. Version 1.2.5.0
  10496. added abelhas.pt
  10497.  
  10498. February 18, 2016
  10499. Version 1.2.4.9
  10500. made change to uptobox
  10501.  
  10502. February 17, 2016
  10503. Version 1.2.4.8
  10504. fixed yadi.sk
  10505.  
  10506. February 16, 2016
  10507. Version 1.2.4.7
  10508. fixed datafile.com
  10509. fixed filecad.com
  10510. added filecore.co & filestorm.to to obsolete hosts
  10511. added upload.af, filedwon.in & uplod.it
  10512.  
  10513. February 15, 2016
  10514. Version 1.2.4.6
  10515. fixed kumpulbagi.id
  10516. added sangfile.com to obsolete hosts
  10517.  
  10518. February 14, 2016
  10519. Version 1.2.4.5
  10520. fixed yandex.ru
  10521.  
  10522. February 13, 2016
  10523. Version 1.2.4.4
  10524. added lunaticfiles.com.
  10525.  
  10526. February 09, 2016
  10527. Version 1.2.4.3
  10528. added file.up09.com.
  10529.  
  10530. February 09, 2016
  10531. Version 1.2.4.2
  10532. tezfiles.com premium links now detected.
  10533.  
  10534. February 09, 2016
  10535. Version 1.2.4.1
  10536. added seenupload.com to obsolete hosts
  10537. fixed 180upload.com to show obsolete
  10538.  
  10539. February 08, 2016
  10540. Version 1.2.4.0
  10541. added tusfiles.com
  10542. added filesupload.org
  10543. added gigasize.com
  10544. added filecad.com
  10545. fixed filecloud.io
  10546. added uploadnet.co to obsolete hosts
  10547.  
  10548. February 07,2016
  10549. Vession 1.2.3.9
  10550. fixed depositfiles.com folders
  10551. fixed turbobit.net folders
  10552.  
  10553. February 06, 2016
  10554. Version 1.2.3.8
  10555. fixed 1fichier false dead links
  10556.  
  10557. February 04, 2106
  10558. Version 1.2.3.7
  10559. added geupload and lenfile to obsolete hosts
  10560. fixed kyc.pm/depfile
  10561.  
  10562. February 03, 2016
  10563. Version 1.2.3.6
  10564. fixed some nitroflare.com dead links not being detected
  10565.  
  10566. February 01, 2016
  10567. Version 1.2.3.5
  10568. script moved to new site
  10569.  
  10570. January 20, 2016
  10571. Version 1.2.3.3
  10572. fixed some rapidgator premium link not being detected
  10573.  
  10574. January 17, 2016
  10575. Version 1.2.3.2
  10576. added bytewhale.com
  10577. added rapidrar.com
  10578.  
  10579. Version 1.2.3.1
  10580. added 180upload.com to obsolete hosts
  10581. fixed hellspy.com
  10582. added dinoshare.cz,
  10583.  
  10584. January 13, 2016
  10585. Version 1.2.3.0
  10586. added rapidu.net
  10587. added uploadboy.me
  10588. fixed euroshare.eu
  10589.  
  10590. January 12, 2016
  10591. Version 1.2.2.9
  10592. added kb.simple-aja.info
  10593.  
  10594. January 10, 2016
  10595. Version 1.2.2.8
  10596. made changes to fastshare.cz
  10597.  
  10598. January 10, 2016
  10599. Version 1.2.2.7
  10600. fixed uptobox.com
  10601.  
  10602. January 09, 2016
  10603. Version 1.2.2.6
  10604. datoteke.com now detects premium links
  10605. fixed turbobit.net
  10606. fixed uptobox.com
  10607. added pornfile.cz
  10608. added pornoid.cz
  10609. added file-share.top
  10610. added bitster.cz
  10611.  
  10612. January 05, 2016
  10613. Version 1.2.2.5
  10614. fixed salefiles.com
  10615. fixed ozofile.com
  10616.  
  10617. January 04, 2016
  10618. Version 1.2.2.4
  10619. added sharehost.eu
  10620.  
  10621. December 30, 2015
  10622. Version 1.2.2.3
  10623. added tezfiles.com
  10624.  
  10625. December 28, 2015
  10626. Version 1.2.2.2
  10627. fixed some k2s & fboom dead link not getting detected
  10628. fixed some k2s premium links not getting detected.
  10629. fixed ssh.yt not detecting some dead links
  10630. fixed ncrypt.in dead links showing yellow
  10631.  
  10632. December 20, 2015
  10633. Version 1.2.2.0
  10634. added datoteke.com
  10635.  
  10636. December 19, 2015
  10637. Version 1.2.1.9
  10638. added secured.in & linksave.in to obsolete hosts
  10639.  
  10640. December 17, 2015
  10641. Version 1.2.1.8
  10642. added german for dead links to secureupload.eu.
  10643.  
  10644. December 17, 2015
  10645. Version 1.2.1.7
  10646. added french for dead links to secureupload.eu.
  10647. fixed problem with tooltip display.
  10648.  
  10649. December 13, 2015
  10650. Version 1.2.1.6
  10651. added netload.me & fileparadox.in to obsolete hosts
  10652.  
  10653. December 09, 2015
  10654. Version 1.2.1.5
  10655. added rapidsonic.com & fileparadox.com to obsolete hosts
  10656.  
  10657. December 04, 2015
  10658. Version 1.2.1.4
  10659. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10660.  
  10661. December 03, 2015
  10662. Version 1.2.1.3
  10663. added dailyuploads.net
  10664.  
  10665. December 02, 2015
  10666. Version 1.2.1.2
  10667. fixed hitfile.net
  10668. fixed kingfiles.net
  10669.  
  10670. November 30, 2015
  10671. Version 1.2.1.1
  10672. added filepost.com to obsolete hosts
  10673. added devilshare.net
  10674.  
  10675. November 28, 2015
  10676. Version 1.2.1.0
  10677. fixed datafile.com not detecting some premium links.
  10678.  
  10679. November 25, 2015
  10680. Version 1.2.0.9
  10681. fixed filejoker.net
  10682. fixed toutbox.fr
  10683. fixed nowvideo.sx
  10684.  
  10685. November 24, 2015
  10686. Version 1.2.0.8
  10687. fixed openload.io
  10688.  
  10689. November 20, 2015
  10690. Version 1.2.0.7
  10691. //added file.al
  10692. //fixed nitroflare.com false live links
  10693. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10694.  
  10695. November 17, 2015
  10696. Version 1.2.0.6
  10697. added clicknupload.me
  10698.  
  10699. November 09, 2015
  10700. Version 1.2.0.5
  10701. fixed some depfile premium links not being detected
  10702.  
  10703. November 08, 2015
  10704. Version 1.2.0.4
  10705. fixed some rapidgator premium links not being detected
  10706. fixed doraupload.com
  10707.  
  10708. November 08, 2015
  10709. Version 1.2.0.3
  10710. fixed uploaded false premium
  10711.  
  10712. November 07, 2015
  10713. Version 1.2.0.2
  10714. fixed redbunker.net
  10715.  
  10716. November 05, 2015
  10717. Version 1.2.0.1
  10718. fixed app.box.com
  10719. added multiup.org (does not detect all dead links)
  10720.  
  10721. November 01, 2015
  10722. Version 1.2.0.0
  10723. added more languages to rockfile and 1fichier
  10724.  
  10725. November 01, 2015
  10726. Version 1.1.9.9
  10727. fixed rockfile.eu
  10728. changed 1fichier code (Thanks yurri)
  10729. added to obsolete hosts... (Thanks Love Buzz)
  10730. burnupload.com
  10731. cramit.in
  10732. cramitin.net
  10733. down4files.com
  10734. edoc.com
  10735. jumbofile.net
  10736. krotix.net
  10737. migahost.com
  10738. movreel.com
  10739. netload.in
  10740. newfileland.com
  10741. quickshare.cz
  10742.  
  10743. October 30, 2015
  10744. Version 1.1.9.8
  10745. added alfafile.net
  10746.  
  10747. October 26, 2015
  10748. Version 1.1.9.7
  10749. changed datafile.com and uplea.com
  10750. added lolabits.es
  10751.  
  10752. October 26, 2015
  10753. Version 1.1.9.6
  10754. added toutbox.fr
  10755.  
  10756. October 25, 2015
  10757. Version 1.1.9.5
  10758. fixed counter error
  10759.  
  10760. October 25, 2015
  10761. Version 1.1.9.4
  10762. changed uptobox.com code
  10763.  
  10764. October 21, 2015
  10765. Version 1.1.9.3
  10766. fixed uptobox.com
  10767.  
  10768. October 20, 2015
  10769. Version 1.1.9.2
  10770. bug fixes and new method of detecting premium links.
  10771.  
  10772. October 15, 2015
  10773. Version 1.1.9.1
  10774. fixed hugefiles.net false premium
  10775. changed uptobox.com code
  10776.  
  10777. October 06, 2015
  10778. Version 1.1.9.0
  10779. fixed filefactory
  10780. fixed rockfile false premium
  10781. keep2share & fileboom now detect premium links (fixed by yurii)
  10782.  
  10783. October 01, 2015
  10784. Version 1.1.8.9
  10785. fixed free.fr false premium
  10786. fixed thevideo.me false premium
  10787.  
  10788. September 28, 2015
  10789. Version 1.1.8.8
  10790. added uplea.com and openload.co
  10791.  
  10792. September 27, 2015
  10793. Version 1.1.8.7
  10794. fixed fileparadox.in false premium
  10795. added kingfiles.net to obsolete hosts
  10796. removed inafile.com from obsolete hosts
  10797.  
  10798. September 22, 2015
  10799. Version 1.1.8.6
  10800. fixed nitroflare false premium
  10801.  
  10802. September 22, 2015
  10803. Version 1.1.8.5
  10804. fixed userscloud.com false premium
  10805. fixed usersfiles.com false premium
  10806. changed arabloads.com to arabloads.net
  10807. changed nowdownloads.eu to nowdownloads.ch
  10808.  
  10809. September 21, 2015
  10810. Version 1.1.8.3
  10811. added ryushare.com to obsolete hosts.
  10812.  
  10813. September 20, 2015
  10814. Version 1.1.8.2
  10815. fixed nitroflare not showing premium links
  10816. added down4files.com,storfiles.co,filehost.pw
  10817.  
  10818. September 16, 2015
  10819. Version 1.1.8.1
  10820. added crisshare.com to obsolete hosts
  10821. fixed filemoney.com false premium
  10822. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10823.  
  10824. September 14, 2015
  10825. Version 1.1.8.0
  10826. added to obsolete hosts...
  10827. sharebeast.com
  10828. tufiles.ru
  10829.  
  10830. September 12, 2015
  10831. Version 1.1.7.9
  10832. fixed rghost.net false premium
  10833. fixed unlimitzone.com false premium
  10834. fixed turbobit.net false live link
  10835.  
  10836. September 11, 2015
  10837. Version 1.1.7.8
  10838. Fixed filefactory.com false premium.
  10839.  
  10840. September 07, 2015
  10841. Version 1.1.7.7
  10842. fixed "depositfiles.com/en/files" links not checking
  10843.  
  10844. September 06, 2015
  10845. Version 1.1.7.6
  10846. added French code for 1fichier
  10847.  
  10848. August 29, 2015
  10849. Version 1.1.7.5
  10850. fixed depositfiles
  10851. fixed mega.co.nz/mega.nz
  10852. (fixed by yurii)
  10853.  
  10854. August 23, 2015
  10855. Version 1.1.7.4
  10856. Fixed uploadrocket (by yurii)
  10857.  
  10858. August 20, 2015
  10859. Version 1.1.7.3
  10860. fixed depfile.com false premium
  10861. fixed 1fichier false premium
  10862. fixed rapidgator false premium
  10863.  
  10864. August 08, 2015
  10865. Version 1.1.7.1
  10866. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10867.  
  10868. August 07, 2015
  10869. Version 1.1.7.0
  10870. fixed...
  10871. streamin.to
  10872. thefile.me
  10873. vidzi.tv
  10874. added...
  10875. filenuke.com
  10876. vidto.me
  10877. vidspot.net
  10878. sharesix.com
  10879. sharesix.net
  10880. movpod.in,
  10881.  
  10882. August 07, 2015
  10883. Version 1.1.6.9 added...
  10884. thefile.me
  10885. vidzi.tv
  10886. videoweed.es
  10887. vodlocker.com
  10888. nowvideo.sx
  10889. cloudtime.to
  10890. thevideo.me
  10891. vidbull.com
  10892. allmyvideos.net
  10893. novamov.com
  10894. filehoot.com
  10895. stagevu.com
  10896. gorillavid.in
  10897. streamin.to
  10898.  
  10899. August 02, 2015
  10900. Version 1.1.6.8
  10901. added cloudshares.net
  10902.  
  10903. August 01, 2015
  10904. Version 1.1.6.7
  10905. fixed depfile redirectors false premium
  10906.  
  10907. July 31, 2015
  10908. Version 1.1.6.6
  10909. fixed depfile.com false premium
  10910. */