W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-10-19 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @include http://*
  13. // @include https://*
  14. // @include file:///*
  15. // @grant GM_setValue
  16. // @grant GM_getValue
  17. // @grant GM_xmlhttpRequest
  18. // @grant GM_log
  19. // @grant GM_addStyle
  20. // @grant GM_registerMenuCommand
  21. // @grant GM_getResourceText
  22. // @grant GM_info
  23. // @grant GM_setClipboard
  24. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  25. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  26. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  27. // @homepage http://usa.x10host.com/mybb
  28. // @namespace war premium
  29. // @noframes
  30. // @version 1.3.3.6
  31. // ==/UserScript==
  32.  
  33. var War_version = "1.3.3.6 October 17, 2016";
  34.  
  35. //separate alternative domains with "|" char (first name is considered being main)
  36. var allHostNames = [
  37. "1fichier.com|dl4free.com",
  38. "uploadocean.com",
  39. "fileflares.com",
  40. "erafile.com",
  41. "mystore.to",
  42. "exbit.net",
  43. "bdupload.info",
  44. "workupload.com",
  45. "wayupload.com",
  46. "cloud.mail.ru",
  47. "fileshareup.com",
  48. "usercloud.net",
  49. "daofile.com",
  50. "subyshare.com",
  51. "mexashare.com",
  52. "uploadgig.com",
  53. "upload.af",
  54. "alltu.eu",
  55. "filesin.space",
  56. "imagenetz.de",
  57. "katfile.com",
  58. "bankupload.com",
  59. "kingfiles.net",
  60. "keepshare.net",
  61. "filescdn.com",
  62. "myfiles.onl",
  63. "uploadserv.com",
  64. "uploading.site",
  65. "abelhas.pt",
  66. "filedwon.info",
  67. "jeodrive.com",
  68. "ncrypt.in",
  69. "yandex.com",
  70. "down4files.com",
  71. 'filespace.com',
  72. "uplod.it",
  73. "rapidu.net",
  74. "uploads.ws|upl.me",
  75. "file.up09.com",
  76. "lunaticfiles.com",
  77. "filecad.com",
  78. "filesupload.org",
  79. "bytewhale.com",
  80. "rapidrar.com",
  81. "download.cz.hellshare.com",
  82. "pornfile.cz",
  83. "dinoshare.cz",
  84. "kb.simple-aja.info",
  85. "bitster.cz",
  86. "file-share.top",
  87. "pornoid.cz",
  88. "dailyuploads.net",
  89. "sharehost.eu",
  90. "tezfiles.com",
  91. "devilshare.net",
  92. "alfafile.net",
  93. "openload.co",
  94. "multiup.org",
  95. "uplea.com",
  96. "filenuke.com",
  97. "file.al|1f.al",
  98. // "inafile.com",
  99. "lolabits.es",
  100. "vidto.me",
  101. "storefiles.co",
  102. "filehost.pw",
  103. "vidspot.net",
  104. "turbobit.ru",
  105. "sharesix.com|sharesix.net",
  106. "movpod.in",
  107. "thefile.me",
  108. "datoteke.com",
  109. "vidzi.tv",
  110. "videoweed.es",
  111. "vodlocker.com",
  112. "nowvideo.sx",
  113. "cloudtime.to",
  114. "thevideo.me",
  115. "vidbull.com",
  116. "allmyvideos.net",
  117. "novamov.com",
  118. "filehoot.com",
  119. "stagevu.com",
  120. "gorillavid.in",
  121. "streamin.to",
  122. "4upld.com|expressleech.com",
  123. "cloudshares.net",
  124. "swoopshare.com",
  125. "2shared.com",
  126. "fileupload.pw",
  127. "zxcfiles.com",
  128. "up07.net",
  129. "4shared.com",
  130. "adrive.com",
  131. "aisfile.com",
  132. "hexupload.com",
  133. "bezvadata.cz",
  134. "usersfiles.com",
  135. "pan.baidu.com",
  136. "radicalshare.com",
  137. "datei.to",
  138. "daten-hoster.de|filehosting.org|xtraupload.de",
  139. "demo.ovh.eu",
  140. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  141. "divshare.com",
  142. "easy-share.com|crocko.com",
  143. "easybytez.com",
  144. "edisk.cz",
  145. "euroshare.eu",
  146. "file-upload.net",
  147. "yadi.sk",
  148. "wizupload.com",
  149. "fastshare.cz",
  150. "filefactory.com",
  151. "share.vnn.vn",
  152. "yunpan.cn",
  153. "gulfup.com",
  154. "tropicshare.com",
  155. "cloudzilla.to",
  156. "inclouddrive.com",
  157. "fileflyer.com",
  158. "filerio.com|filekeen.com",
  159. "up.4share.vn",
  160. "upfile.vn",
  161. "datafilehost.com",
  162. "worldbytez.com",
  163. "files.mail.ru",
  164. "filesflash.com",
  165. "box.com",
  166. "uptobox.com",
  167. "box.net",
  168. "sdilej.cz",
  169. "ex-load.com",
  170. "filesmonster.com",
  171. "filestore.to",
  172. "hulkload.com",
  173. "filedropper.com",
  174. "free-uploading.com",
  175. "gamefront.com|filefront.com",
  176. "gettyfile.ru",
  177. "gigapeta.com",
  178. "gigasize.com",
  179. "hellshare.com",
  180. "hellspy.com",
  181. "hitfile.net",
  182. "hostuje.net",
  183. "freefilehosting.net",
  184. "free.fr",
  185. "hyperfileshare.com",
  186. "filecloud.io|ifile.it",
  187. "ifolder.ru",
  188. "jumbofiles.com",
  189. "uploadrocket.net",
  190. "lafiles.com",
  191. "leteckaposta.cz|sharegadget.com",
  192. "letitbit.net",
  193. "load.to",
  194. "mediafire.com",
  195. "megafileupload.com",
  196. "megashares.com",
  197. "movshare.net",
  198. "narod.ru|narod.yandex.ru",
  199. "fboom.me|fileboom.me",
  200. "openfile.ru",
  201. "partage-facile.com",
  202. "sharerapid.cz",
  203. "exclusiveloader.com",
  204. "acefile.net",
  205. "queenshare.com",
  206. "rapidgator.net",
  207. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  208. "oboom.com",
  209. "filepi.com",
  210. "neodrive.co",
  211. "rarefile.net",
  212. "rayfile.com",
  213. "rghost.net",
  214. "sendmyway.com",
  215. "clicknupload.com",
  216. "clicknupload.me",
  217. "clicknupload.link",
  218. "sharemods.com",
  219. "hostr.co",
  220. "sendspace.com",
  221. "sharecash.org",
  222. "share-links.biz",
  223. "share-online.biz|egoshare.com",
  224. "megarapid.cz",
  225. "shareflare.net",
  226. "solidfiles.com",
  227. "led.wf",
  228. "lan.wf",
  229. "adlink.wf",
  230. "click.tf",
  231. "kyc.pm",
  232. "ssh.tf",
  233. "ssh.yt",
  234. "yep.pm",
  235. "stahovanizasms.cz",
  236. "turbobit.net",
  237. "tikfile.com",
  238. "cloudsix.me",
  239. "turboupload.com",
  240. "uloz.to",
  241. "ulozto.net",
  242. "ulozto.sk",
  243. "ulozto.cz",
  244. "ulozisko.sk",
  245. "uloziste.com",
  246. "unibytes.com",
  247. "upload-il.net|przeslij.net",
  248. "uploaded.to|uploaded.net|ul.to",
  249. "uploading.com",
  250. "chayfile.com",
  251. "rockfile.eu",
  252. "usaupload.net",
  253. "veehd.com",
  254. "videobb.com",
  255. "vip-file.com",
  256. "webshare.cz",
  257. "xdisk.cz",
  258. "yunfile.com|filemarkets.com",
  259. "ziddu.com",
  260. "zippyshare.com",
  261. "rodfile.com",
  262. "wikiupload.com",
  263. "uploadstube.de",
  264. "faststore.org",
  265. "flyfiles.net",
  266. "nowdownload.ch",
  267. "prefiles.com",
  268. "axifile.com",
  269. "hackerbox.org",
  270. "amonshare.com",
  271. "data.hu",
  272. "brupload.net",
  273. "userscloud.com",
  274. "xfileload.com",
  275. "kumpulbagi.com|kumpulbagi.id",
  276. "uppit.com|up.ht|upx.nz",
  277. "downloadani.me",
  278. "filesabc.com",
  279. "verzend.be",
  280. "4up.me",
  281. "extmatrix.com",
  282. "sendfiles.nl",
  283. "yourfilestore.com",
  284. "filebig.net",
  285. "file4safe.com",
  286. "tusfiles.net|tusfiles.com",
  287. "filemac.com",
  288. "fileswap.com",
  289. "ozofiles.com",
  290. "nosupload.com",
  291. "gboxes.com",
  292. "myvdrive.com|fileserving.com",
  293. "filesin.com",
  294. "novafile.com",
  295. "longfiles.com",
  296. // "uploadhero.com",
  297. "uploadbaz.com",
  298. "bitupload.com",
  299. "indowebster.com",
  300. "superload.cz",
  301. "mafiastorage.com",
  302. "hellupload.com",
  303. "uploadingit.com",
  304. "stiahni.si",
  305. "sendspace.pl",
  306. "fastshare.org",
  307. "filejoker.net",
  308. "filestore.com.ua",
  309. "secureupload.eu",
  310. "rapidfileshare.net",
  311. "stiahnito.sk",
  312. "rusfolder.com",
  313. "catshare.net",
  314. "anonfiles.com",
  315. "mixturecloud.com",
  316. "filedais.com",
  317. // "imdb.com",
  318. "nitroflare.com",
  319. "akafile.com",
  320. "creafile.net",
  321. "hugefiles.net",
  322. "vidxden.com",
  323. "up.top4top.net",
  324. "upload.ee",
  325. "shareplace.org",
  326. "uploadc.com",
  327. "uploadc.ch",
  328. "remixshare.com",
  329. "exoshare.com",
  330. "borncash.org",
  331. "junocloud.me",
  332. "2downloadz.com",
  333. "mightyupload.com",
  334. "anysend.com",
  335. "datafile.com",
  336. "upstore.net",
  337. "upsto.re",
  338. "speedy.sh",
  339. // "sanshare.com",
  340. // "uploadhero.co",
  341. "ge.tt",
  342. "filesflash.net",
  343. "salefiles.com",
  344. // "megairon.net",
  345. "datoid.cz",
  346. "cloudstor.es",
  347. "streamfile.com",
  348. "eyesfile.ca",
  349. "filemoney.com",
  350. "uploadboy.com",
  351. "uploadboy.me",
  352. "speedshare.eu",
  353. "google.com|google.be",
  354. "unlimitzone.com",
  355. "rioupload.com",
  356. "rg.to",
  357. "jumbofiles.org",
  358. "fshare.vn",
  359. "spaceforfiles.com",
  360. "up.media1fire.com",
  361. "depfile.com",
  362. "go4up.com",
  363. "dropbox.com",
  364. "redbunker.net",
  365. "divxpress.com",
  366. "mega.nz|mega.co.nz",
  367. "storageserver.co.uk",
  368. "anafile.com",
  369. "uploadable.ch",
  370. "bigfile.to",
  371. "arabloads.net",
  372. "sharerepo.com",
  373. "sfshare.se",
  374. "files.fm",
  375. "koofile.com",
  376. "vidplay.net",
  377. "doraupload.com",
  378. "openload.io",
  379. "toutbox.fr",
  380. "upnito.sk",
  381. "oload.net",
  382. ];
  383.  
  384. try
  385. {
  386. //iframes excluded
  387. if (window.top != window.self)
  388. {
  389. return;
  390. }
  391. //allHostNames sites excluded
  392. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  393. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  394. ")"))
  395. {
  396. return;
  397. }
  398. }
  399. catch (e)
  400. {
  401. return;
  402. }
  403.  
  404. //separate alternative domains with "|" char (first name is considered being main)
  405. var allContainerNames = [
  406. "adf.ly",
  407. "linkcrypt.ws",
  408. "linksafe.me",
  409. // "linksave.in",
  410. "linkto.net",
  411. "madlink.sk",
  412. "multiload.cz",
  413. "mirrorcreator.com",
  414. // "ncrypt.in",
  415. "redi.re",
  416. "relink.us",
  417. "safelinking.net",
  418. "theloo.katt.it",
  419. "bit.ly",
  420.  
  421. ];
  422.  
  423. //separate alternative domains with "|" char (first name is considered being main)
  424. var allObsoleteNames = [
  425. "warped.co",
  426. "xkeepfile.com",
  427. "uploadspace.pl",
  428. "uploads.xxx",
  429. "netkups.com",
  430. "nekaka.com",
  431. "myupload.dk",
  432. "muchshare.net",
  433. "loudupload.net",
  434. "idup.in",
  435. "hulkshare.com",
  436. "goldbytez.com",
  437. "filesmelt.com",
  438. "fileband.com",
  439. "uloz.cz",
  440. "secured.in",
  441. "rapidfilehost.com",
  442. "fileover.net",
  443. "fileinz.com",
  444. "linksave.in",
  445. "seenupload.com",
  446. "sangfile.com",
  447. "filepost.com|fp.io",
  448. "sharingmaster.com ",
  449. "24uploading.com",
  450. "storagon.com",
  451. "sanshare.com",
  452. "filestorm.to",
  453. "uploadnet.co",
  454. "180upload.com",
  455. "rapidsonic.com",
  456. "fileparadox.com",
  457. "4upfiles.com",
  458. "geupload.com",
  459. "lenfile.com",
  460. "fileparadox.in",
  461. "uploadhero.co",
  462. "uploadhero.com",
  463. "newfileland.com",
  464. "quickshare.cz",
  465. "elffiles.com",
  466. "netload.in",
  467. "netload.me",
  468. "movreel.com",
  469. "migahost.com",
  470. "krotix.net",
  471. "jumbofile.net",
  472. "edoc.com",
  473. "cramit.in|cramitin.net",
  474. "freakshare.com",
  475. "burnupload.com|burnupload.ihiphop.com",
  476. "freakshare.net",
  477. "daj.to",
  478. "bl.st",
  479. "2drive.net",
  480. "ryushare.com",
  481. "crisshare.com",
  482. "tufiles.ru",
  483. "uncapped-downloads.com",
  484. "sockshare.com",
  485. "ddlstorage.com",
  486. "dataport.cz",
  487. "dizzcloud.com",
  488. "sharebeast.com",
  489. "stahovadlo.cz",
  490. "shared.com",
  491. "storage.to",
  492. "putlocker.com",
  493. "lumfile.com",
  494. "lumfile.se",
  495. "lumfile.eu",
  496. "firedrive.com",
  497. "fileshare.in.ua",
  498. "filecore.co.nz",
  499. "filecore.co",
  500. "iskladka.cz",
  501. "file-rack.com",
  502. "fast-load.net",
  503. "subory.sk",
  504. "bigandfree.com",
  505. "fileop.com",
  506. "mujsoubor.cz",
  507. "sendfile.to",
  508. "superfastfile.com",
  509. "quickyshare.com",
  510. "duckload.com",
  511. "uploadstore.net",
  512. "meinupload.com",
  513. "dualshare.com",
  514. "2xupload.to|2xupload.de",
  515. "oxedion.com",
  516. "uploadline.com",
  517. "dll.bz",
  518. "movieshare.in",
  519. "milledrive.com",
  520. "quickupload.net",
  521. "safelink.in",
  522. "metadivx.com",
  523. "divxlink.com",
  524. "uploadrack.com",
  525. "teradepot.com",
  526. "dataup.to",
  527. "upit.to",
  528. "driveway.com",
  529. "eatlime.com",
  530. "a2zuploads.com",
  531. "friendlyfiles.net",
  532. "flyfile.us",
  533. "speedyshare.com",
  534. "uploadspace.eu",
  535. "keepfile.com",
  536. "piggyshare.com",
  537. "uplly.com",
  538. "filecrown.com",
  539. "6giga.com",
  540. "uploadjockey.com",
  541. "bluehost.to",
  542. "filegu.ru",
  543. "filebase.to",
  544. "up-file.com",
  545. "xvideos.com",
  546. "ufox.com",
  547. "filebling.com",
  548. "loaded.it",
  549. "uploadcell.com",
  550. "uploadshare.cz",
  551. "mangoshare.com",
  552. "filestab.com",
  553. "crazyupload.com",
  554. "gaiafile.com",
  555. "sharejunky.com",
  556. "fileho.com",
  557. "bigandfree.com",
  558. "bigfile.in",
  559. "bigshare.eu",
  560. "dahosting.org",
  561. "digisofts.net",
  562. "file4save.com",
  563. "filechip.com",
  564. "filescloud.com",
  565. "saveqube.com",
  566. "turboshare.de",
  567. "z-upload.com",
  568. "youshare.com",
  569. "jiffyupload.com",
  570. "gigeshare.com",
  571. "datenklo.net",
  572. "upload.dj",
  573. "loadfiles.in",
  574. "upit.to",
  575. "dsfileshare.com",
  576. "sharesimple.net",
  577. "4files.net",
  578. "wooupload.com",
  579. "odsiebie.com",
  580. "filenavi.com",
  581. "3oof.com",
  582. "meshwaar.com",
  583. "maxupload.com",
  584. "share.cx",
  585. "atserver.eu",
  586. "hotfiles.ws",
  587. "esnips.com",
  588. "tuxfile.com",
  589. "file2upload.net",
  590. "filebling.com",
  591. "turboshare.com",
  592. "rarhost.com",
  593. "isharehd.com",
  594. "i741.com",
  595. "dataup.de",
  596. "fofly.com",
  597. "shareonall.com",
  598. "sexuploader.com",
  599. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  600. "uploadhyper.com",
  601. "filespawn.com",
  602. "caizzii.com",
  603. "volnyweb.cz",
  604. "usershare.net",
  605. "filescash.net",
  606. "metahyper.com",
  607. "combozip.com",
  608. "x7.to",
  609. "uploadbox.com",
  610. "enterupload.com|flyupload.com",
  611. "filepoint.de",
  612. "mystream.to",
  613. "x-fs.com",
  614. "shareator.com",
  615. "srapid.eu",
  616. "sosame.cz",
  617. "filesdump.com",
  618. "2-klicks.de",
  619. "uploking.com",
  620. "silofiles.com",
  621. "upfile.in",
  622. "filehook.com",
  623. "uploadking.com",
  624. "uploadhere.com",
  625. "kewlshare.com",
  626. "rapidable.com",
  627. "uploadwaste.com",
  628. "filemup.com",
  629. "filesonic.com|sharingmatrix.com",
  630. "fileserve.com",
  631. "wupload.com",
  632. "skipfile.com",
  633. "smartuploader.com",
  634. "dualshare.com",
  635. "storeandserve.com",
  636. "mountfile.com",
  637. "transitfiles.com",
  638. "uploadstation.com",
  639. "filejungle.com",
  640. "shareshared.com",
  641. "quickyshare.com",
  642. "save.am",
  643. "petandrive.com",
  644. "file2box.com",
  645. "flyshare.cz",
  646. "yabadaba.ru",
  647. "cloudcache.cc",
  648. "yourfilehost.com",
  649. "jakfile.com",
  650. "kickload.com",
  651. "pyramidfiles.com",
  652. "refile.net",
  653. "zshare.net",
  654. "ddlani.me|ddlanime.com",
  655. "ftp2share.com",
  656. "fooget.com",
  657. "rapidhide.com",
  658. "gotupload.com",
  659. "mooload.com",
  660. "zupload.com",
  661. "mytempdir.com",
  662. "onionshare.com",
  663. "stahnu.to",
  664. "oron.com",
  665. "badongo.com",
  666. "filereactor.com",
  667. "filegaze.com",
  668. "4bytez.com",
  669. "1hostclick.com",
  670. "anonstream.com",
  671. "batshare.com",
  672. "bitroad.net",
  673. "brontofile.com",
  674. "cloudnxt.net",
  675. "cloudnator.com|shragle.com",
  676. "filesfrog.net",
  677. "coolshare.cz",
  678. "dotavi.com",
  679. "ezyfile.net",
  680. "file-bit.net",
  681. "filecosy.com",
  682. "fileduct.com|fileduct.net",
  683. "filefat.com",
  684. "filelaser.com",
  685. "filemashine.com",
  686. "fileserver.cc",
  687. "filetechnology.com",
  688. "fireuploads.net",
  689. "gigfiles.net",
  690. "holderfile.com",
  691. "ihostia.com",
  692. "k2files.com",
  693. "mojofile.com",
  694. "ovfile.com",
  695. "qshare.com",
  696. "shafiles.me",
  697. "sharefilehost.com",
  698. "shareupload.com",
  699. "stahuj.to",
  700. "ugotfile.com",
  701. "uploadboost.com",
  702. "fileom.com",
  703. "vidhog.com",
  704. "xfileshare.eu",
  705. "bzlink.us",
  706. "bulletupload.com",
  707. "bloggerarticles.com",
  708. "mojedata.sk",
  709. "sharpfile.com",
  710. "upgrand.com",
  711. "nasdilej.cz",
  712. "mediatack.cz",
  713. "share-it.to",
  714. "primeupload.com",
  715. "filebeer.info",
  716. "baberepublic",
  717. "xtu.me",
  718. "sharebase.de",
  719. "luckyshare.net",
  720. "filerobo.com",
  721. "filevelocity.com",
  722. "filezpro.com",
  723. "file4sharing.com",
  724. "cing.be",
  725. "ufile.eu",
  726. "pigsonic.com",
  727. "fileupped.com",
  728. "sharerun.com",
  729. "filesaur.com",
  730. "rapidslnare.com",
  731. "bestsharing.com",
  732. "savefiles.net",
  733. "file2share.biz",
  734. "filecache.de",
  735. "monsteruploads.eu",
  736. "b9bb.com",
  737. "aiotool.net",
  738. "jamber.info",
  739. "megaftp.com",
  740. "desiupload.net",
  741. "file27.com",
  742. "yastorage.com",
  743. "filehost.ws",
  744. "copyload.com",
  745. "venusfile.com",
  746. "aieshare.com",
  747. "terafile.co",
  748. "terafile.com",
  749. "fileza.net",
  750. "filerose.com",
  751. "squillion.com",
  752. "fileprohost.com",
  753. "bitbonus.com",
  754. "warserver.cz",
  755. "uload.to",
  756. "sharedbit.net",
  757. "megaload.it",
  758. "filewinds.com",
  759. "uploadcore.com",
  760. "syfiles.com",
  761. "eyesfile.com",
  762. "hotfile.com",
  763. "superupl.com",
  764. "oteupload.com",
  765. "henchfile.com",
  766. "filegag.com",
  767. "HenchFile.com",
  768. "filedefend.com",
  769. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  770. "megabitshare.com",
  771. "cloudzer.com",
  772. "asfile.com",
  773. "cloudzer.net",
  774. "clz.to",
  775. "extabit.com",
  776. "247upload.com",
  777. "2download.de",
  778. "4fastfile.com",
  779. "asixfiles.com",
  780. "berofile.com",
  781. "bigupload.com",
  782. "cepzo.com",
  783. "clouds.to",
  784. "cobrashare.sk",
  785. "coraldrive.net",
  786. "cyberlocker.ch",
  787. "czshare.com",
  788. "darkport.org",
  789. "dark-uploads.com",
  790. "davvas.com",
  791. "enigmashare.com",
  792. "erofly.cz",
  793. "fastsonic.net",
  794. "filebox.com",
  795. "filecity.net",
  796. "filedap.com",
  797. "filedino.com",
  798. "filedownloads.org",
  799. "filefolks.com",
  800. "fileking.co",
  801. "filemates.com",
  802. "files.to",
  803. "files2k.eu",
  804. "filesector.cc",
  805. "bitshare.com",
  806. "filesega.com",
  807. "filesend.net",
  808. "filestay.com",
  809. "filestrum.com",
  810. "fileuplo.de",
  811. "fileupup.com",
  812. "forunesia.com",
  813. "freeuploads.fr",
  814. "uploa.dk",
  815. "getthebit.com",
  816. "getzilla.net",
  817. "goldfile.eu",
  818. "good.com",
  819. "grupload.com",
  820. "hellfile.com",
  821. "hipfile.com",
  822. "hitfile.com",
  823. "hulkfile.eu|duckfile.net",
  824. "i-filez.com",
  825. "ifile.ws",
  826. "kupload.org",
  827. "packupload.com",
  828. "lemuploads.com",
  829. "limelinx.com",
  830. "maxshare.pl",
  831. "megarelease.org",
  832. "megashare.com",
  833. "minus.com",
  834. "mlfat4arab.com",
  835. "multishare.cz",
  836. "nirafile.com",
  837. "ok2upload.com",
  838. "peejeshare.com",
  839. "premiuns.org",
  840. "przeklej.net",
  841. "qkup.net",
  842. "rapidupload.sk",
  843. "rockdizfile.com",
  844. "rocketfile.net",
  845. "share-now.net",
  846. "share76.com",
  847. "sharebees.com",
  848. "sharefiles.co",
  849. "slingfile.com",
  850. "sms4file.com",
  851. "space4file.com",
  852. "tigershare.net",
  853. "toucansharing.com",
  854. "ubuntuone.com",
  855. "unextfiles.com",
  856. "upaj.pl",
  857. "upfile.biz",
  858. "uploadbin.net",
  859. "uploadic.com",
  860. "uploadinc.com",
  861. "uploading4u.eu",
  862. "uploadjet.net",
  863. "uploadorb.com",
  864. "upthe.net",
  865. "uptorch.com",
  866. "vidbox.yt",
  867. "videozer.com",
  868. "vreer.com",
  869. "wallobit.com",
  870. "zooupload.com",
  871. "privatefiles.com",
  872. "xerver.co",
  873. "BillionUploads.com",
  874. "rapidshare.com",
  875. "rapidshare.ru",
  876. "4savefile.com",
  877. "bayfiles.com",
  878. "bayfiles.net",
  879. "dodane.pl",
  880. "dotsemper.com",
  881. "egofiles.com",
  882. "epicshare.net",
  883. "fiberupload.net",
  884. "filemonkey.in",
  885. "filemonster.net",
  886. "filepom.com",
  887. "filesbb.com",
  888. "filevice.com",
  889. "gigaup.fr",
  890. "isavelink.com",
  891. "loombo.com",
  892. "megafiles.se",
  893. "migupload.com",
  894. "mydisc.net",
  895. "nitrobits.com",
  896. "potload.com",
  897. "redload.net",
  898. "shareprofi.com",
  899. "sharesuper.info",
  900. "sinhro.net",
  901. "speedfile.cz",
  902. "speedshare.org",
  903. "storage.novoro.net",
  904. "swankshare.com",
  905. "swatupload.com",
  906. "upafile.com",
  907. "uploadmachine.com",
  908. "uploadsat.com",
  909. "upshared.com",
  910. "usefile.com",
  911. "yourfiles.to",
  912. "zomgupload.com",
  913. "ultramegabit.com",
  914. "uploadto.us",
  915. "inafile.com",
  916. "megairon.net",
  917.  
  918. ];
  919. ///////////////////////////////////////////////////////////////////////////////////////
  920. var firstRun = GM_getValue("First_run", true);
  921.  
  922. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  923. //////////////////////////////////////////////////////////////////////////////////////
  924. try
  925. {
  926. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  927. var last_known_version = GM_getValue("last_known_version", "");
  928. if (!last_known_version)
  929. {
  930. last_known_version = thisVersion;
  931. GM_setValue("last_known_version", last_known_version);
  932. }
  933. //var newVersion = !(thisVersion == last_known_version);
  934. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  935. GM_setValue("last_known_version", thisVersion);
  936. }
  937. catch (err)
  938. {
  939. var newVersion = false;
  940. }
  941.  
  942. var now = (new Date()).getTime();
  943. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  944. if (!last_custom_rules_nag)
  945. {
  946. last_custom_rules_nag = now;
  947. GM_setValue('last_custom_rules_nag', ''+now);
  948. }
  949.  
  950.  
  951. allHostNames.sort();
  952. allContainerNames.sort();
  953. allObsoleteNames.sort();
  954.  
  955. var RAND_STRING = "8QyvpOSsRG3QWq";
  956. var DEBUG_MODE = false;
  957.  
  958. var TOOLTIP_MAXWIDTH = 600; //in pixels
  959. var TOOLTIP_THUMBWIDTH = 200;
  960. var containers_processed = false;
  961.  
  962. //settings for keyboard functions start
  963. var CHECK_ALL_LINKS_KEY = "A";
  964. var CONFIGURATION_KEY = "C";
  965. var copy_to_dead_key = "D";
  966. var copy_to_live_key = "L";
  967. var toggle_autocheck_key = "W";
  968. var toggle_Enable_Anonymizer_key = "Z";
  969. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  970. var first_key_keycodename = 'CTRL';
  971. var second_key_keycode = '18';
  972. var second_key_keycodename = 'ALT';
  973. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  974. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  975. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  976. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  977. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  978. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  979. //settings for keyboard functions end
  980.  
  981. //global settings start
  982. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  983. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  984. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  985. var Show_progress_stats, Display_tooltip_info, Icon_set;
  986. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  987. var Progress_box_refresh_rate;
  988. var Obsolete_file_hosts;
  989. var Custom_rules, Custom_rules_text;
  990.  
  991. var messageBox = document.createElement('b'); // top-left message box
  992.  
  993. var cLinksTotal = 0;
  994. var cLinksDead = 0;
  995. var cLinksAlive = 0;
  996. var cLinksUnava = 0;
  997. var cLinksprem = 0;
  998. var cLinksProcessed = 0;
  999.  
  1000. var intervalId; //for updateProgress()
  1001.  
  1002. //icon resources
  1003. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVF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3dtAAAAAElFTkSuQmCC';
  1010. 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=';
  1011. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZ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4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1014. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1015. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkV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png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1017.  
  1018. //global settings end
  1019. if (window.opera && !window.console)
  1020. {
  1021. window.console = {};
  1022.  
  1023. function fn()
  1024. {
  1025. opera.postError(arguments);
  1026. };
  1027. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1028. {
  1029. window.console[name] = fn;
  1030. });
  1031. }
  1032.  
  1033. //displays colored text in message box
  1034. function sendMessage(text, color)
  1035. {
  1036. var msgDiv = document.createElement('div');
  1037. msgDiv.style.color = color;
  1038. msgDiv.innerHTML = text;
  1039. messageBox.appendChild(msgDiv);
  1040. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1041. }
  1042.  
  1043. function linkify(totalourls)
  1044. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1045. var ikkeTilladteTags;
  1046. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1047. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1048. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1049. allLinksRegex = new RegExp(allLinksRegex, "g");
  1050. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1051.  
  1052. if (Do_not_linkify_DL_links)
  1053. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1054. else
  1055. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1056.  
  1057. var regex = new RegExp(regexy);
  1058. var textNode, muligtLink;
  1059.  
  1060. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1061. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1062.  
  1063. var i = textNodes.snapshotLength;
  1064. while (i--)
  1065. {
  1066. textNode = textNodes.snapshotItem(i);
  1067.  
  1068. muligtLink = textNode.nodeValue; //all links on page
  1069.  
  1070. var myArray = null;
  1071. var span = null;
  1072. var lastLastIndex = 0;
  1073. allLinksRegex.lastIndex = 0;
  1074. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1075. {
  1076. if (textNode.parentNode.className == "adead_link") continue;
  1077. var censoredLink = muligtLink;
  1078. var span = document.createElement('span');
  1079. span.className = "adead_link";
  1080. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1081. $(span).html(censoredLink);
  1082. span.addEventListener("mouseover", displayTooltipError, false);
  1083. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1084. textNode.parentNode.replaceChild(span, textNode);
  1085. continue;
  1086. alert(censoredLink);
  1087. }
  1088. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1089. {
  1090. if (!regex.test(myArray[0])) //this link is not recognized
  1091. {
  1092.  
  1093. continue;
  1094. }
  1095. if (!span)
  1096. span = document.createElement('span');
  1097.  
  1098. var link = myArray[0];
  1099. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1100.  
  1101. var $a = $("<a>" + link + "</a>")
  1102. if (!link.match(/https?:\/\//))
  1103. {
  1104. link = 'http://' + link;
  1105. }
  1106.  
  1107. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1108. .addClass("processing_link")
  1109. .appendTo(span);
  1110. lastLastIndex = allLinksRegex.lastIndex;
  1111. }
  1112. if (span)
  1113. {
  1114. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1115. textNode.parentNode.replaceChild(span, textNode);
  1116. }
  1117. }
  1118. }
  1119.  
  1120. function add_WARLC_style()
  1121. {
  1122. if (!(document.getElementsByTagName('WARLC')[0]))
  1123. {
  1124. var meta_not_to_add_more_style = document.createElement("WARLC");
  1125. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1126. meta_not_to_add_more_style.setAttribute('name', 'description');
  1127. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1128. alive_link_png = "";
  1129. adead_link_png = "";
  1130. unava_link_png = "";
  1131. prem_link_png = "";
  1132. switch(Icon_set)
  1133. {
  1134. //no icons
  1135. case 0: break;
  1136. // cat paws
  1137. case 1: alive_link_png = PAW_ICON_GREEN;
  1138. adead_link_png = PAW_ICON_RED;
  1139. unava_link_png = PAW_ICON_YELLOW;
  1140. prem_link_png = PAW_ICON_PINK;
  1141. break;
  1142. // classic RSLC look
  1143. case 2: alive_link_png = RSLC_ICON_GREEN;
  1144. adead_link_png = RSLC_ICON_RED;
  1145. unava_link_png = RSLC_ICON_YELLOW;
  1146. prem_link_png = RSLC_ICON_PINK;
  1147. break;
  1148. // New Icons
  1149. case 3: alive_link_png = NEW_ICON_GREEN;
  1150. adead_link_png = NEW_ICON_RED;
  1151. unava_link_png = NEW_ICON_YELLOW;
  1152. prem_link_png = NEW_ICON_PINK;
  1153. break;
  1154. // cat paws
  1155. default:alive_link_png = PAW_ICON_GREEN;
  1156. adead_link_png = PAW_ICON_RED;
  1157. unava_link_png = PAW_ICON_YELLOW;
  1158. prem_link_png = PAW_ICON_PINK;
  1159. break;
  1160. }
  1161. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1162. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1163.  
  1164. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1165.  
  1166. if (Color_DL_links)
  1167. {
  1168. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1169. live_color_css = 'color:' + Live_links_color + ' !important;';
  1170. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1171. container_color_css = 'color:' + Container_links_color + ' !important;';
  1172. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1173. }
  1174. else
  1175. {
  1176. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1177. }
  1178.  
  1179. if (Show_black_background_in_DL_links)
  1180. {
  1181. black_background_css = 'background-color: black !important;';
  1182. }
  1183. else
  1184. {
  1185. black_background_css = '';
  1186. }
  1187.  
  1188. if (Show_line_through_in_dead_links)
  1189. {
  1190. line_through_css = 'text-decoration: line-through !important;';
  1191. }
  1192. else
  1193. {
  1194. line_through_css = '';
  1195. }
  1196.  
  1197. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1198. 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 + "}");
  1199. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1200. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1201. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1202. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1203. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1204. }
  1205. }
  1206.  
  1207. var warlcTooltip = null;
  1208. var mouseoverLink = null; //link href with mouse cursor over it
  1209.  
  1210. var lastX = 0;
  1211. var lastY = 0;
  1212.  
  1213. $(document).ready(initTooltip);
  1214. //inits tooltip
  1215. function initTooltip()
  1216. { warlcTooltip = document.createElement("div");
  1217. 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;");
  1218. warlcTooltip.style.visibility = "hidden";
  1219. document.body.appendChild(warlcTooltip);
  1220. }
  1221.  
  1222. //"mousemove" event handler for all links
  1223. function moveTooltip(event)
  1224. {
  1225. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1226. { //no need to reflow if the cursor moved just a little
  1227. return;
  1228. }
  1229. else
  1230. {
  1231. lastX = event.clientX;
  1232. lastY = event.clientY;
  1233. }
  1234.  
  1235. posX = event.clientX + window.pageXOffset + 10;
  1236. posY = event.clientY + window.pageYOffset;
  1237. var ttHeight = warlcTooltip.offsetHeight;
  1238. var ttFreeSpace = window.innerHeight - event.clientY;
  1239. if (ttHeight > ttFreeSpace)
  1240. { //prevents tooltip from getting out of the window
  1241. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1242. }
  1243. else
  1244. {
  1245. posY += 7;
  1246. }
  1247. warlcTooltip.style.top = posY + "px";
  1248. warlcTooltip.style.left = posX + "px";
  1249. }
  1250.  
  1251. //"mouseout" event handler for all links
  1252. function hideTooltip(){
  1253. warlcTooltip.style.visibility = "hidden";
  1254. mouseoverLink = null;
  1255. }
  1256.  
  1257.  
  1258. //"mouseover" event handler for dead links
  1259. //displays tooltip error message on dead links
  1260. function displayTooltipError()
  1261. {
  1262. mouseoverLink = this.href;
  1263. this.addEventListener("mouseout", hideTooltip);
  1264. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1265. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1266. warlcTooltip.style.minWidth = 0;
  1267. warlcTooltip.style.visibility = "visible";
  1268. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1269. {
  1270. warlcTooltip.innerHTML = this.warlc_error;
  1271. }
  1272. else
  1273. {
  1274. loadErrorInfo(this);
  1275. }
  1276. function loadErrorInfo(link)
  1277. {
  1278. var href = link.href;
  1279. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1280. GM_xmlhttpRequest({
  1281. method: 'GET',
  1282. url: href.replace(Ref_anonymize_service, ""),
  1283. headers: {
  1284. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1285. 'Accept': 'text/xml',
  1286. 'Referer': ""
  1287. },
  1288. onload: function(result) {
  1289. var res = result.responseText;
  1290. //TODO: errorRegexs -
  1291. var errorRegexs = [ //generic error messages follow
  1292. /(empty directory)/i,
  1293. /(soubor nebyl nalezen)/i,
  1294. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1295. //server specific error messages follow
  1296. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1297. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1298. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1299. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1300. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1301. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1302. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1303. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1304. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1305. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1306. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1307. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1308. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1309. /(File has been removed due to Copyright Claim)/, //filerio
  1310. ];
  1311. var errorIdx = errorRegexs.length;
  1312. var error = "Cause of error: <b>unknown</b>";
  1313. var errorCandidate = "";
  1314. while(errorIdx--)
  1315. {
  1316. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1317. if (errorCandidate != null)
  1318. {
  1319. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1320. break;
  1321. }
  1322. }
  1323. //link attributes
  1324. link.warlc_error = error;
  1325. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1326. {
  1327. warlcTooltip.innerHTML = error;
  1328. }
  1329. }
  1330. });
  1331. }
  1332. }
  1333.  
  1334. //"mouseover" event handler for alive links
  1335. //displays tooltip info (file size, file name,...) on alive links
  1336. function displayTooltipInfo()
  1337. {
  1338. mouseoverLink = this.href;
  1339. //exclude direct download filehostings
  1340. 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)/))
  1341. {
  1342. return;
  1343. }
  1344. this.addEventListener("mouseout", hideTooltip);
  1345. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1346. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1347. warlcTooltip.style.minWidth = 0;
  1348. warlcTooltip.style.visibility = "visible";
  1349. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1350. {
  1351. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1352. }
  1353. else
  1354. {
  1355. loadInfo(this);
  1356. }
  1357. function loadInfo(link)
  1358. {
  1359. var href = link.href;
  1360. GM_xmlhttpRequest({
  1361. method: 'GET',
  1362. url: href.replace(Ref_anonymize_service, ""),
  1363. headers: {
  1364. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1365. 'Accept': 'text/xml',
  1366. 'Referer': ""
  1367. },
  1368. onload: function(result) {
  1369. var res = result.responseText;
  1370. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1371. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1372. /fl" title="(.+?)">/, //edisk
  1373. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1374. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1375. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1376. /title="download (.+?)">/, //sendspace
  1377. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1378. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1379. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1380. /d0FileName = "(.+?)";/, //letitbit
  1381. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1382. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1383. /fname" value="(.+?)">/, //syfiles, grupload,
  1384. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1385. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1386. /Complete name : (.+?)<br \/>/, //bezvadata
  1387. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1388. ];
  1389. var nameIdx = nameRegexs.length;
  1390. // [sizeRegexs]
  1391. // / \ \?
  1392. // prefix (size) postfix
  1393. // / \
  1394. // val quant
  1395. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1396. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1397. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1398. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1399. var postSizeRegex = '(?:\\))?';
  1400. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1401. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1402. ];
  1403. var sizeIdx = sizeRegexs.length;
  1404. //
  1405. //
  1406. var tooltip = "File Name: <b>";
  1407. var fileName = "unknown";
  1408. var nameCandidate = "";
  1409. while(nameIdx--)
  1410. {
  1411. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1412. if (nameCandidate != null)
  1413. {
  1414. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1415. break;
  1416. }
  1417. }
  1418. tooltip += fileName + "</b><br>File Size: <b>";
  1419. var fileSize = "unknown";
  1420. var sizeCandidate = "";
  1421. while(sizeIdx--)
  1422. {
  1423. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1424. if (sizeCandidate != null)
  1425. {
  1426. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1427. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1428. {
  1429. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1430. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1431. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1432. }
  1433. break;
  1434. }
  1435. }
  1436. tooltip += fileSize + "</b>";
  1437. // PROTOTYPE
  1438. // video thumbnails
  1439. if (href.match('hellshare'))
  1440. {
  1441. var thumbs;
  1442. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1443. if (thumbs)
  1444. {
  1445. tooltip += '<br>';
  1446. var j = Math.min(thumbs.length, 9);
  1447. for (var i = 0; i < j; i++)
  1448. {
  1449. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1450. }
  1451. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1452. }
  1453. }
  1454. if (href.match('czshare'))
  1455. {
  1456. var thumbs;
  1457. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1458. if (thumbs)
  1459. {
  1460. var thumbsServer = thumbs[1];
  1461. var thumbsId = thumbs[2];
  1462. tooltip += '<br>';
  1463. for (var i = 1; i < 9; i++)
  1464. {
  1465. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1466. }
  1467. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1468. }
  1469. }
  1470. if (href.match('bezvadata'))
  1471. {
  1472. var thumbs;
  1473. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1474. if (thumbs)
  1475. {
  1476. tooltip += '<br>';
  1477. var j = Math.min(thumbs.length, 9);
  1478. for (var i = 0; i < j; i++)
  1479. {
  1480. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1481. }
  1482. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1483. }
  1484. }
  1485. link.warlc_tooltipcache = tooltip;
  1486. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1487. {
  1488. warlcTooltip.innerHTML = tooltip;
  1489. }
  1490. }
  1491. });
  1492. }
  1493. }
  1494.  
  1495. function setVariables()
  1496. {
  1497. if (firstRun)
  1498. {
  1499. GM_log('First run, applying default settings...');
  1500. GM_setValue("Icon_set",1);
  1501. GM_setValue("Display_tooltip_info",true);
  1502. GM_setValue("Show_black_background_in_DL_links",false);
  1503. GM_setValue("Show_line_through_in_dead_links",false);
  1504. GM_setValue("Display_full_links_in_link_containers",false);
  1505. GM_setValue("Allow_spaces_in_DL_links",false);
  1506. GM_setValue("Autocheck",true);
  1507. GM_setValue("Enable_Anonymizer",false);
  1508. GM_setValue("Do_not_linkify_DL_links",false);
  1509. GM_setValue("Show_progress_stats",true);
  1510. GM_setValue("Keyboard_functions",true);
  1511. GM_setValue("Obsolete_file_hosts",false);
  1512. GM_setValue("Color_DL_links",true);
  1513. GM_setValue("Live_links_color","Green");
  1514. GM_setValue("Dead_links_color","#FF3300");
  1515. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1516. GM_setValue("Container_links_color","DarkKhaki");
  1517. GM_setValue("Premium_links_color","DeepPink");
  1518. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1519. GM_setValue("Custom_rules",false);
  1520. GM_setValue("Custom_rules_text","");
  1521. GM_setValue("First_run", false);
  1522. }
  1523. //hidden settings
  1524. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1525. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1526. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1527. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1528. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1529. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1530. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1531. //hidden settings end
  1532.  
  1533. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1534. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1535. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1536. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1537. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1538. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1539. Autocheck = GM_getValue("Autocheck", true);
  1540. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1541. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1542. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1543. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1544. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1545. Color_DL_links = GM_getValue("Color_DL_links", true);
  1546. Live_links_color = GM_getValue("Live_links_color", "Green");
  1547. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1548. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1549. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1550. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1551. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1552. Custom_rules = GM_getValue("Custom_rules", false);
  1553. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1554. }
  1555.  
  1556.  
  1557. // Delinkifies the links
  1558. // params:
  1559. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1560. // e.g. 'uloz.to/xs68skxl8')
  1561. function delinkifySnapshot(snapshot)
  1562. {
  1563. var n = snapshot.snapshotLength;
  1564.  
  1565. while (n--)
  1566. {
  1567. thisLink = snapshot.snapshotItem(n);
  1568.  
  1569. var spanElm = document.createElement("span");
  1570. spanElm.className = thisLink.className;
  1571. spanElm.innerHTML = thisLink.innerHTML;
  1572.  
  1573. if (Display_tooltip_info)
  1574. {
  1575. spanElm.href = thisLink.href;
  1576. switch (thisLink.className){
  1577. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1578. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1579. case "unava_link": //reserved
  1580. default:
  1581. }
  1582. }
  1583. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1584. }
  1585. }
  1586.  
  1587. function processContainers()
  1588. {
  1589. var redirectorTypes = { "HTTP_302": 0,
  1590. "INNER_LINK": 1,
  1591. "THELOO_KATT_IT": 2,
  1592. "CING_BE": 3,
  1593. "ADF_LY": 4};
  1594. var cMultiloadTotal = 0;
  1595. var cMultiloadProcessed = 0;
  1596.  
  1597. var cMirrorcreatorComTotal = 0;
  1598. var cMirrorcreatorComProcessed = 0;
  1599.  
  1600. var hostRestrictionRegex = "";
  1601. var multiloadComRestriction = "";
  1602. var multiloadComRestrictionRegex;
  1603.  
  1604. //
  1605. //HANDLING REDIRECTORS START
  1606. //
  1607.  
  1608. var redirectors = new Array();
  1609. initRedirectors();
  1610.  
  1611. var redirectorsCount = redirectors.length;
  1612.  
  1613. if (redirectorsCount > 0)
  1614. {
  1615. var allRedirectorsRegex = "";
  1616.  
  1617. //linkify redirector links
  1618. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1619. {
  1620. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1621. }
  1622. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1623. linkify(allRedirectorsRegex);
  1624. //
  1625. //process redirector links
  1626. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1627. {
  1628. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1629. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1630.  
  1631. cLinksTotal += redirectors[redirIdx].cTotal;
  1632. var linkIdx = redirectors[redirIdx].cTotal;
  1633.  
  1634. while(linkIdx--)
  1635. {
  1636. switch(redirectors[redirIdx].type)
  1637. {
  1638. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1639. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1640. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1641. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1642. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1643. default:
  1644. }
  1645. }
  1646. }
  1647. //
  1648. }
  1649.  
  1650. //HTTP_302
  1651. function processRedirectorLink(link, redirectorId)
  1652. {
  1653. link.className = 'container_link';
  1654.  
  1655. GM_xmlhttpRequest({
  1656. method: 'HEAD',
  1657. url: link.href,
  1658. headers: {
  1659. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1660. 'Accept': 'text/xml',
  1661. 'Referer': ""
  1662. },
  1663. onload: function(result) {
  1664. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1665. {
  1666. processRedirectorLink(link, redirectorId);
  1667. }
  1668. else
  1669. {
  1670. redirectors[redirectorId].cProcessed++;
  1671. link.href = result.finalUrl;
  1672. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1673. checkLinks('container_link');
  1674. }
  1675. },
  1676. onerror: function(result) { //probably caused by unresponsive filehosting
  1677. redirectors[redirectorId].cProcessed++;
  1678. link.className = 'unava_link';
  1679. cLinksProcessed++;
  1680. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1681. checkLinks('container_link');
  1682. }
  1683. });
  1684. }
  1685. //INNER_LINK
  1686. function processRedirectorLinkEx(link, redirectorId)
  1687. {
  1688. link.className = 'container_link';
  1689. GM_xmlhttpRequest({
  1690. method: 'GET',
  1691. url: link.href,
  1692. headers: {
  1693. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1694. 'Accept': 'text/xml',
  1695. 'Referer': ""
  1696. },
  1697. onload: function(result) {
  1698. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1699. redirectors[redirectorId].cProcessed++;
  1700. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1701. checkLinks('container_link');
  1702. }
  1703. });
  1704. }
  1705. //theloo.katt.it (wrapped safelinking.net)
  1706. function processThelooKattItLink(link, redirectorId)
  1707. {
  1708. link.className = 'container_link';
  1709. GM_xmlhttpRequest({
  1710. method: 'GET',
  1711. url: link.href,
  1712. headers: {
  1713. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1714. 'Accept': 'text/xml',
  1715. 'Referer': ""
  1716. },
  1717. onload: function(result) {
  1718. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1719. redirectors[redirectorId].cProcessed++;
  1720. //the inner links are safelinking.net links, so lets proceed with it
  1721. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1722. {
  1723. processRedirectorLink(link, 0);
  1724. }
  1725. }
  1726. });
  1727. }
  1728. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1729. function processAdfLyLink(link, redirectorId)
  1730. {
  1731. link.className = 'container_link';
  1732. GM_xmlhttpRequest({
  1733. method: 'GET',
  1734. url: link.href,
  1735. headers: {
  1736. 'User-agent': 'Mozilla/4.0',
  1737. 'Accept': 'text/xml',
  1738. 'Referer': ""
  1739. },
  1740. onload: function(result) {
  1741. if (result.finalUrl.match('/locked/'))
  1742. {
  1743. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1744. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1745. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1746. }
  1747. else
  1748. {
  1749. // GM_log('Processing... ' + link.href);
  1750. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1751. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1752. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1753. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1754. //confirm advert
  1755. GM_xmlhttpRequest(
  1756. {
  1757. method: 'POST',
  1758. url: 'http://adf.ly/l.php',
  1759. headers: {
  1760. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1761. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1762. 'Referer': link.href
  1763. },
  1764. data: users + '&lt=' + logToken,
  1765. onload: function(result) {
  1766. //retrieve final url from .../go/... link
  1767. GM_xmlhttpRequest({
  1768. method: 'GET',
  1769. url: directLink,
  1770. headers: {
  1771. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1772. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1773. 'Referer': link.href
  1774. },
  1775. onload: function(result) {
  1776. link.href = result.finalUrl;
  1777. redirectors[redirectorId].cProcessed++;
  1778. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1779. checkLinks('container_link');
  1780. }
  1781. });
  1782. }
  1783. });
  1784. }
  1785. }
  1786. });
  1787. function proceedOK()
  1788. {
  1789. }
  1790. }
  1791. //MULTILOAD.CZ START
  1792. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1793. {
  1794. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1795. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1796.  
  1797. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1798.  
  1799. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1800. hostRestrictionRegex += 'hellshare|';
  1801. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1802. hostRestrictionRegex += 'downloadhellshare|';
  1803. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1804. hostRestrictionRegex += 'share-rapid\\.com|';
  1805. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1806. hostRestrictionRegex += 'quickshare\\.cz|';
  1807. if (GM_getValue("Check_czshare_dot_com_links", false))
  1808. hostRestrictionRegex += 'czshare\\.com|';
  1809. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1810. hostRestrictionRegex += 'hellspy|';
  1811. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1812. hostRestrictionRegex += 'multishare\\.cz|';
  1813.  
  1814. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1815.  
  1816. linkify(mlRegex);
  1817.  
  1818. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1819. var mlCount = mlSnapshot.snapshotLength;
  1820.  
  1821. if (mlCount > 0)
  1822. {
  1823. cMultiloadTotal += mlCount;
  1824.  
  1825. mlIdx = mlCount - 1;
  1826. do
  1827. {
  1828. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1829. }
  1830. while(mlIdx--)
  1831. }
  1832. }
  1833. //MULTILOAD.CZ END
  1834.  
  1835.  
  1836.  
  1837. function processMultiloadLink(mlLink)
  1838. {
  1839. GM_xmlhttpRequest({
  1840. method: 'GET',
  1841. url: mlLink.href,
  1842. headers: {
  1843. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1844. 'Accept': 'text/xml',
  1845. 'Referer': ""
  1846. },
  1847. onload: function(result) {
  1848. var res = result.responseText;
  1849.  
  1850. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1851. 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;
  1852. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1853. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1854.  
  1855. var blocks; // blocks of links
  1856. var blockIdx;
  1857.  
  1858. mlLink.className = '';
  1859.  
  1860. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1861. {
  1862. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1863. return;
  1864. }
  1865.  
  1866. blocks = res.match(innerBlockRegex);
  1867.  
  1868. if (blocks == null) //no links found, cancel further processing
  1869. {
  1870. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1871. cMultiloadProcessed++;
  1872. if (cMultiloadTotal <= cMultiloadProcessed)
  1873. {
  1874. startBulkCheck('container_link');
  1875. start('container_link');
  1876. }
  1877. return;
  1878. }
  1879.  
  1880. blockIdx = blocks.length;
  1881.  
  1882. if (Display_full_links_in_link_containers)
  1883. {
  1884. var ulElm = document.createElement('ul');
  1885. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1886.  
  1887. while(blockIdx--)
  1888. {
  1889. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1890. {
  1891. continue;
  1892. }
  1893.  
  1894. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1895.  
  1896. var linkIdx = innerLinks.length;
  1897. while (linkIdx--)
  1898. {
  1899. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1900.  
  1901. var liElm = document.createElement('li');
  1902.  
  1903. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1904. {
  1905. liElm.appendChild(document.createTextNode(innerLink));
  1906. }
  1907. else
  1908. {
  1909. var aElm = document.createElement('a');
  1910. aElm.innerHTML = innerLink;
  1911. aElm.href = innerLink;
  1912. aElm.className = 'container_link';
  1913.  
  1914. liElm.appendChild(aElm);
  1915. }
  1916.  
  1917. ulElm.appendChild(liElm);
  1918. cLinksTotal++;
  1919. }
  1920. }
  1921.  
  1922. mlLink.parentNode.appendChild(ulElm);
  1923. }
  1924. else //compact view
  1925. {
  1926. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1927.  
  1928. while(blockIdx--)
  1929. {
  1930. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1931. {
  1932. continue;
  1933. }
  1934.  
  1935. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1936.  
  1937. var linkIdx = innerLinks.length;
  1938. while (linkIdx--)
  1939. {
  1940. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1941.  
  1942. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1943. {
  1944. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1945. }
  1946. else
  1947. {
  1948. var aElm = document.createElement('a');
  1949.  
  1950. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1951.  
  1952. //abbreviate host name
  1953. switch(hostName + ""){
  1954.  
  1955. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1956. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1957. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1958. case 'multishare': aElm.innerHTML = 'MS'; break;
  1959. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1960. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1961. case 'czshare': aElm.innerHTML = 'CS'; break;
  1962. default: aElm.innerHTML = 'xx';
  1963.  
  1964. }
  1965.  
  1966. aElm.href = innerLink;
  1967. aElm.className = 'container_link';
  1968.  
  1969. mlLink.parentNode.appendChild(aElm);
  1970. cLinksTotal++;
  1971. }
  1972. }
  1973.  
  1974. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1975.  
  1976. }
  1977. }
  1978.  
  1979. cMultiloadProcessed++;
  1980. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1981. {
  1982. if (Do_not_linkify_DL_links)
  1983. {
  1984. delinkifySnapshot(mlSnapshot);
  1985. }
  1986. startBulkCheck('container_link');
  1987. start('container_link');
  1988. }
  1989. }
  1990. });
  1991. }
  1992.  
  1993.  
  1994. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1995. {
  1996. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1997. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1998. var mcShortHostNames =
  1999. '?? 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';
  2000. // 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
  2001. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  2002. // zshare ?????? uploading ugotfile extabit oron eyvx uploadstation putlocker
  2003. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  2004. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  2005.  
  2006. linkify(mcRegex);
  2007.  
  2008. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  2009. var mcCount = mcSnapshot.snapshotLength;
  2010.  
  2011. cMirrorcreatorComTotal = mcCount;
  2012.  
  2013. if (mcCount > 0)
  2014. {
  2015. mcShortHostNames = mcShortHostNames.split(' ');
  2016. mcIdx = mcCount;
  2017. while(mcIdx--)
  2018. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2019. }
  2020.  
  2021. }
  2022. //MIRRORCREATOR.CZ END
  2023.  
  2024.  
  2025. //mirrorcreator.com checking works like this:
  2026. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2027. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2028. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2029. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2030. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2031. function processMirrorcreatorLink(mcLink)
  2032. {
  2033. var mcURL = mcLink.href.match(mcRegex);
  2034. if(!mcURL || !mcURL[1]) return;
  2035. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2036. GM_xmlhttpRequest({
  2037. method: 'GET',
  2038. url: mcURL,
  2039. headers: {
  2040. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2041. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2042. 'Referer': ""
  2043. },
  2044. onload: function(mcLinkResult) {
  2045. var mcLinkRes = mcLinkResult.responseText;
  2046.  
  2047. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2048. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2049.  
  2050. var mcRedirectors;
  2051. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2052. var m = mcLinkRes.match(mcLinkBlockRegex);
  2053. if (m)
  2054. mcHostsFound = m.length;
  2055. else
  2056. { //no files inside container
  2057. processMirrorcreatorFoundHosts(mcLink, []);
  2058. return;
  2059. }
  2060.  
  2061. var mcRedirectorURL, idx, timedOut = false;
  2062.  
  2063. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2064. GM_xmlhttpRequest({
  2065. method: 'GET',
  2066. url: mcRedirectorURL,
  2067. headers: {
  2068. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2069. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2070. 'Referer': ""
  2071. },
  2072. onload: function(mcHostResult) {
  2073. if (timedOut) return; //too late, the list is already displayed
  2074. var mcHostRes = mcHostResult.responseText;
  2075. var mcHost = mcHostRes.match(mcHostRegex);
  2076. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2077. if (mcHost && idx!=-1)
  2078. {
  2079. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2080. mcHostsRetrieved++;
  2081. mcHostsToProcess++;
  2082. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2083. {
  2084. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2085. mcHostsToProcess = 0;
  2086. }
  2087. }
  2088. } //end of onload: function
  2089. }); //end of GM_xmlhttpRequest call
  2090. };//end of var gmxhrFunc
  2091.  
  2092. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2093. { //load individual redirector pages
  2094. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2095. mcHostURLs.push(mcRedirectorURL);
  2096. mcRedirectorIDs.push(mcRedirectors[2]);
  2097. gmxhrFunc(mcRedirectorURL);
  2098. } //end of while block
  2099.  
  2100. setTimeout(function(){ //in case the last page fails to load and call the function
  2101. timedOut = true;
  2102. if (mcHostsToProcess)
  2103. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2104. }, 60000);
  2105.  
  2106. } //end of onload function
  2107. }); //end of GM_xmlhttpRequest call
  2108. } //end of function processMirrorcreatorLink
  2109.  
  2110.  
  2111. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2112. {
  2113. var aEl, liEl, docFrag;
  2114. var hostName, mcRedirectorID, trimFilename = false;
  2115. var i = mcHostURLs.length;
  2116. if (i == 0)
  2117. {
  2118. trimFilename = true;
  2119. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2120. }
  2121. else
  2122. {
  2123. if (Display_full_links_in_link_containers)
  2124. { //full view
  2125. var wrapperEl = document.createElement('span');
  2126. wrapperEl.style.display = 'block';
  2127. var ulistEl = document.createElement('ul');
  2128. ulistEl.className = 'container_list';
  2129. while (i--)
  2130. {
  2131. liEl = document.createElement('li');
  2132. aEl = document.createElement('a');
  2133. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2134. aEl.href = mcHostURLs[i];
  2135. aEl.className = 'container_link';
  2136. liEl.appendChild(aEl);
  2137. ulistEl.appendChild(liEl);
  2138. }
  2139. wrapperEl.appendChild(ulistEl);
  2140. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2141. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2142. }
  2143. else
  2144. { //compact view
  2145. trimFilename = true;
  2146. docFrag = document.createDocumentFragment();
  2147. docFrag.appendChild(document.createTextNode(' |'));
  2148. while (i--)
  2149. {
  2150. mcRedirectorID = mcRedirectorIDs[i];
  2151. hostName = mcHostURLs[i];
  2152. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2153. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2154. else
  2155. hostName = mcShortHostNames[mcRedirectorID];
  2156. aEl = document.createElement('a');
  2157. aEl.href = mcHostURLs[i];
  2158. aEl.className = 'container_link';
  2159. aEl.appendChild(document.createTextNode(hostName));
  2160. docFrag.appendChild(aEl);
  2161. docFrag.appendChild(document.createTextNode('|'));
  2162. }
  2163. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2164. } //end of else block
  2165. } //end of else block
  2166. mcLink.className = '';
  2167. if (trimFilename)
  2168. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2169. cMirrorcreatorComProcessed++;
  2170. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2171. {
  2172. if (Do_not_linkify_DL_links)
  2173. delinkifySnapshot(mcSnapshot);
  2174. startBulkCheck('container_link');
  2175. start('container_link');
  2176. }
  2177. } //end of function processMirrorcreatorFoundHosts
  2178.  
  2179. containers_processed = true;
  2180.  
  2181.  
  2182. function initRedirectors()
  2183. {
  2184. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2185. {
  2186. var redirector = new Object();
  2187. redirector.linkRegex = linkRegex;
  2188. redirector.xpath = xpathEx; //xpath expression
  2189. redirector.cProcessed = 0; //processed links count
  2190. redirector.cTotal = 0; //total links count
  2191. redirector.type = redirType; //redirectorTypes enum
  2192. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2193. redirectors.push(redirector);
  2194. }
  2195. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2196. {
  2197. addRedirector(
  2198. 'safelinking\\.net\/d\/\\w+',
  2199. "//a[contains(@href,'safelinking.net/d/')]",
  2200. redirectorTypes.HTTP_302,
  2201. null);
  2202. }
  2203. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2204. {
  2205. addRedirector(
  2206. 'linksafe\\.me\/d\/\\w+',
  2207. "//a[contains(@href,'linksafe.me/d/')]",
  2208. redirectorTypes.HTTP_302,
  2209. null);
  2210. }
  2211. if (GM_getValue("Check_linkto_dot_net_links", false))
  2212. {
  2213. addRedirector(
  2214. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2215. "//a[contains(@href,'linkto.net/?')]",
  2216. redirectorTypes.INNER_LINK,
  2217. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2218. }
  2219. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2220. {
  2221. addRedirector(
  2222. '(?:the)?loo\\.katt\\.it\/\\w+',
  2223. "//a[contains(@href,'loo.katt.it/')]",
  2224. redirectorTypes.THELOO_KATT_IT,
  2225. /Proceed to URL - <a href="(.+?)">/);
  2226. }
  2227. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2228. {
  2229. addRedirector(
  2230. 'madlink\\.sk\/\\w+',
  2231. "//a[contains(@href,'madlink.sk/')]",
  2232. redirectorTypes.INNER_LINK,
  2233. /name="url" value="(.+?)\s*"\/>/);
  2234. }
  2235. if (GM_getValue("Check_adf_dot_ly_links", false))
  2236. {
  2237. addRedirector(
  2238. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2239. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2240. redirectorTypes.ADF_LY,
  2241. null);
  2242. }
  2243. if (GM_getValue("Check_redi_dot_re_links", false))
  2244. {
  2245. addRedirector(
  2246. 'redi\\.re\/\\w+',
  2247. "//a[contains(@href,'redi.re/')]",
  2248. redirectorTypes.HTTP_302,
  2249. null);
  2250. }
  2251. if (GM_getValue("Check_bit_dot_ly_links", false))
  2252. {
  2253. addRedirector(
  2254. 'bit\\.ly\/\\w+',
  2255. "//a[contains(@href,'bit.ly/')]",
  2256. redirectorTypes.HTTP_302,
  2257. null);
  2258. }
  2259. }
  2260.  
  2261. }
  2262.  
  2263. var bulkHosts = new Array();
  2264. var bulkHostNames = new Array();
  2265. function initBulkCheck()
  2266. {
  2267. /////////////////////////////
  2268. // Inits filehost object
  2269. /////////////////////////////
  2270. // params :
  2271. // hostName -- [string] host name (multiple domains separated with coma)
  2272. // linkRegex -- [string] link regex
  2273. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2274. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2275. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2276. // corrReplWhat -- [regex] link correction regex (replace)
  2277. // corrReplWith -- [string]
  2278. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2279. //
  2280. // apiUrl -- [string] web linkchecker or API URL
  2281. // postData -- [string] POSTDATA of xmlhttprequest
  2282. // resLinkRegex -- [regex]
  2283. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2284. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2285. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2286. // func -- [function] bulkcheck handler, genBulkCheck if null
  2287. //
  2288. //////////////////////////////
  2289. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2290. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2291. {
  2292. var fileHost = new Object();
  2293.  
  2294. fileHost.linkRegex = linkRegex;
  2295. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2296. fileHost.xpath = xpath;
  2297. fileHost.cFound = 0; //found links counter
  2298. fileHost.links = new Array(); //found links
  2299. if (blockSize == null)
  2300. {
  2301. fileHost.blockSize = 50;
  2302. }
  2303. else
  2304. {
  2305. fileHost.blockSize = blockSize;
  2306. }
  2307. fileHost.corrMatch = corrMatch;
  2308. fileHost.corrReplWhat = corrReplWhat;
  2309. fileHost.corrReplWith = corrReplWith;
  2310. if (splitSeparator == null)
  2311. {
  2312. fileHost.splitSeparator = "\r\n";
  2313. }
  2314. else
  2315. {
  2316. fileHost.splitSeparator = splitSeparator;
  2317. }
  2318. fileHost.apiUrl = apiUrl;
  2319. fileHost.postData = postData;
  2320. fileHost.resLinkRegex = resLinkRegex;
  2321. fileHost.resLiveRegex = resLiveRegex;
  2322. fileHost.resDeadRegex = resDeadRegex;
  2323. fileHost.resUnavaRegex = resUnavaRegex;
  2324. if (func == null)
  2325. {
  2326. fileHost.func = genBulkCheck;
  2327. }
  2328. else
  2329. {
  2330. fileHost.func = func;
  2331. }
  2332. bulkHosts.push(fileHost);
  2333. var names = hostName.split(',');
  2334. var i = names.length;
  2335. while(i--)
  2336. {
  2337. bulkHostNames[names[i]] = fileHost;
  2338. }
  2339. }
  2340. var genType1 = [
  2341. "rodfile.com", "downloadani.me", //"migahost.com",
  2342. "rarefile.net",
  2343. "filesabc.com",
  2344. "verzend.be",
  2345. // "movreel.com",
  2346. "4up.me",
  2347. "file4safe.com", "filemac.com",
  2348. "longfiles.com",
  2349. "bitupload.com",
  2350. "uploadbaz.com"
  2351. ];
  2352. var genType2 = [ "queenshare.com",
  2353. "hulkload.com",
  2354. "amonshare.com", //"edoc.com",
  2355. ];
  2356. //xfilesharing 1.0
  2357. function addGenericType1()
  2358. {
  2359. var i = genType1.length;
  2360. while(i--)
  2361. {
  2362. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2363. {
  2364. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2365. addHost(
  2366. genType1[i].match(/[\w-]+/)[0], //hostname
  2367. regexSafe + "\/\\w+", //linkregex
  2368. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2369. null, //blocksize
  2370. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2371. null, //corrreplwhat
  2372. null, //corrreplwith
  2373. null, //separator
  2374. "http://" + genType1[i] + "/checkfiles.html", //api url
  2375. "op=checkfiles&process=Check+URLs&list=", //postdata
  2376. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2377. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2378. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2379. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2380. null //function delegate
  2381. )
  2382. }
  2383. }
  2384. }
  2385. //xfilesharing 2.0
  2386. function addGenericType2()
  2387. {
  2388. var i = genType2.length;
  2389. while(i--)
  2390. {
  2391. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2392. {
  2393. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2394. addHost(
  2395. genType2[i].match(/[\w-]+/)[0], //hostname
  2396. regexSafe + "\/\\w+", //linkregex
  2397. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2398. null, //blocksize
  2399. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2400. null, //corrreplwhat
  2401. null, //corrreplwith
  2402. null, //separator
  2403. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2404. "op=checkfiles&process=Check+URLs&list=", //postdata
  2405. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2406. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2407. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2408. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2409. null //function delegate
  2410. )
  2411. }
  2412. }
  2413. }
  2414. // TEMPLATE
  2415. // if (GM_getValue("Check__dot_com_links", false))
  2416. // {
  2417. // addHost(
  2418. // "", //hostname
  2419. // "", //linkregex
  2420. // "//a[contains(@href,'.com/')]", //xpath
  2421. // null, //blocksize
  2422. // null, //corrmatch
  2423. // null, //corrreplwhat
  2424. // null, //corrreplwith
  2425. // null, //separator
  2426. // "", //api url
  2427. // "", //postdata
  2428. // /()/, //linkregex
  2429. // //liveregex
  2430. // //deadregex
  2431. // //unavaregex
  2432. // null //function delegate
  2433. // )
  2434. // }
  2435. addGenericType1();
  2436. addGenericType2();
  2437.  
  2438. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2439. {
  2440. addHost(
  2441. "myvdrive,fileserving", //hostname
  2442. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2443. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2444. null, //blocksize
  2445. null, //corrmatch
  2446. null, //corrreplwhat
  2447. null, //corrreplwith
  2448. null, //separator
  2449. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2450. "links=", //postdata
  2451. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2452. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2453. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2454. null, //unavaregex
  2455. null //function delegate
  2456. )
  2457. }
  2458. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2459. {
  2460. addHost(
  2461. "hackerbox", //hostname
  2462. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2463. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2464. null, //blocksize
  2465. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2466. null, //corrreplwhat
  2467. null, //corrreplwith
  2468. null, //separator
  2469. "http://host.hackerbox.org/checkfiles.html", //api url
  2470. "op=checkfiles&process=Check+URLs&list=", //postdata
  2471. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2472. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2473. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2474. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2475. null //function delegate
  2476. )
  2477. }
  2478. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2479. {
  2480. addHost(
  2481. "hellshare", //hostname
  2482. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2483. "//a[contains(@href,'hellshare.')]", //xpath
  2484. 48, //blocksize
  2485. null, //corrmatch
  2486. null, //corrreplwhat
  2487. null, //corrreplwith
  2488. null, //separator
  2489. null, //api url
  2490. null, //postdata
  2491. null, //linkregex
  2492. null, //liveregex
  2493. null, //deadregex
  2494. null, //unavaregex
  2495. hellshareBulkCheck //function delegate
  2496. )
  2497. }
  2498. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2499. {
  2500. addHost(
  2501. "uploadrocket", //hostname
  2502. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2503. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2504. null, //blocksize
  2505. null, //corrmatch
  2506. null, //corrreplwhat
  2507. null, //corrreplwith
  2508. "\n", //separator
  2509. 'http://uploadrocket.net/?op=checkfiles',
  2510. 'op=checkfiles&process=Check+URLs&list=',
  2511. /uploadrocket.net\/(\w+)/,
  2512. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2513. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2514. null,
  2515. null //function delegate
  2516. )
  2517. }
  2518. if (GM_getValue("Check_uploading_dot_site_links", false))
  2519. {
  2520. addHost(
  2521. "uploading", //hostname
  2522. "(?:uploading\\.site)\/\\w+", //linkregex
  2523. "//a[contains(@href,'uploading.site/')]", //xpath
  2524. null, //blocksize
  2525. null, //corrmatch
  2526. null, //corrreplwhat
  2527. null, //corrreplwith
  2528. "\n", //separator
  2529. 'http://uploading.site/?op=checkfiles',
  2530. 'op=checkfiles&process=Check+URLs&list=',
  2531. /uploading.site\/(\w+)/,
  2532. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2533. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2534. null,
  2535. null //function delegate
  2536. )
  2537. }
  2538. if (GM_getValue("Check_1f_dot_al_links", false))
  2539. {
  2540. addHost(
  2541. "1f",
  2542. "(?:1f\\.al)\/d\/\\w+",
  2543. "//a[contains(@href,'1f.al/d/')]",
  2544. 100000, //blocksize
  2545. null, //corrmatch
  2546. null, //corrreplwhat
  2547. null, //corrreplwith
  2548. null, //separator
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. null,
  2554. null,
  2555. _1falBulkCheck //function delegate
  2556. )
  2557. }
  2558. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2559. {
  2560. addHost(
  2561. "k2s,keep2s,keep2share",
  2562. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2563. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2564. 100000, //blocksize
  2565. null, //corrmatch
  2566. null, //corrreplwhat
  2567. null, //corrreplwith
  2568. null, //separator
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. k2sBulkCheck //function delegate
  2576. )
  2577. }
  2578. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2579. {
  2580. addHost(
  2581. "tezfiles",
  2582. "(?:tezfiles\\.com)\/\\w+",
  2583. "//a[contains(@href,'tezfiles.com')]",
  2584. 100000, //blocksize
  2585. null, //corrmatch
  2586. null, //corrreplwhat
  2587. null, //corrreplwith
  2588. null, //separator
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. null,
  2594. null,
  2595. k2sBulkCheck //function delegate
  2596. )
  2597. }
  2598. if (GM_getValue("Check_fboom_dot_me_links", false))
  2599. {
  2600. addHost(
  2601. "fboom,fileboom",
  2602. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2603. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2604. 100000, //blocksize
  2605. null, //corrmatch
  2606. null, //corrreplwhat
  2607. null, //corrreplwith
  2608. null, //separator
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. null,
  2614. null,
  2615. fboomBulkCheck //function delegate
  2616. )
  2617. }
  2618. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2619. {
  2620. addHost(
  2621. "1fichier,dl4free",
  2622. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com|(?:\\w+\\.)?1fichier\\.com(?:\/\\?\\w{6,10})",
  2623. "//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/?')]",
  2624. 100000, //blocksize
  2625. null, //corrmatch
  2626. null, //corrreplwhat
  2627. null, //corrreplwith
  2628. null, //separator
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. null,
  2634. null,
  2635. dl4free_1fichier_BulkCheck //function delegate
  2636. )
  2637. }
  2638. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2639. {
  2640. addHost(
  2641. "nitroflare",
  2642. "nitroflare\\.com\/\\w+",
  2643. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2644. 100000, //blocksize
  2645. null, //corrmatch
  2646. null, //corrreplwhat
  2647. null, //corrreplwith
  2648. null, //separator
  2649. null,
  2650. null,
  2651. null,
  2652. null,
  2653. null,
  2654. null,
  2655. nitroflareBulkCheck //function delegate
  2656. )
  2657. }
  2658. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2659. {
  2660. addHost(
  2661. "depositfiles,dfiles",
  2662. "(?:depositfiles\\.(?:com|lt|org)|dfiles\\.(?:eu|ru))\/(?:en\/|ru\/|de\/|es\/|pt\/|)files\/\\w+",
  2663. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/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/')]",
  2664. 100000, //blocksize
  2665. null, //corrmatch
  2666. null, //corrreplwhat
  2667. null, //corrreplwith
  2668. null, //separator
  2669. null,
  2670. null,
  2671. null,
  2672. null,
  2673. null,
  2674. null,
  2675. depositfilesBulkCheck //function delegate
  2676. )
  2677. }
  2678. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2679. {
  2680. addHost(
  2681. "filesflash", //hostname
  2682. "filesflash\\.com\/\\w+", //linkregex
  2683. "//a[contains(@href,'filesflash.com')]", //xpath
  2684. null, //blocksize
  2685. null, //corrmatch
  2686. /http:\/\//, //corrreplwhat
  2687. '', //corrreplwith
  2688. null, //separator
  2689. 'http://filesflash.com/checklinks.php',
  2690. 'submit=Go&links=',
  2691. /filesflash\.com\/(\w+)/,
  2692. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2693. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2694. null,
  2695. null //function delegate
  2696. )
  2697. }
  2698. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2699. {
  2700. addHost(
  2701. "jumbofiles", //hostname
  2702. "jumbofiles\\.com\/\\w+", //linkregex
  2703. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2704. null, //blocksize
  2705. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2706. null, //corrreplwhat
  2707. null, //corrreplwith
  2708. null, //separator
  2709. "http://jumbofiles.com/checkfiles.html", //api url
  2710. "op=checkfiles&process=Check+URLs&list=", //postdata
  2711. /(jumbofiles\.com\/\w+)/, //linkregex
  2712. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2713. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2714. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2715. null //function delegate
  2716. )
  2717. }
  2718. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2719. {
  2720. addHost(
  2721. "edisk", //hostname
  2722. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2723. "//a[contains(@href,'edisk.')]", //xpath
  2724. null, //blocksize
  2725. null, //corrmatch
  2726. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2727. 'edisk.cz/stahni', //corrreplwith
  2728. null, //separator
  2729. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2730. 'submitBtn=Zkontrolovat&checkFiles=',
  2731. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2732. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2733. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2734. null,
  2735. null //function delegate
  2736. )
  2737. }
  2738. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2739. {
  2740. GM_xmlhttpRequest( //age check skip
  2741. {
  2742. method: 'POST',
  2743. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2744. headers: {
  2745. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2746. 'Content-type': 'application/x-www-form-urlencoded',
  2747. 'Referer': ""
  2748. }
  2749. });
  2750. addHost(
  2751. "bezvadata", //hostname
  2752. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2753. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2754. null, //blocksize
  2755. null, //corrmatch
  2756. null, //corrreplwhat
  2757. null, //corrreplwith
  2758. null, //separator
  2759. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2760. 'zkontrolovat=Zkontrolovat&odkazy=',
  2761. /(bezvadata\.cz\/stahnout\/\d+)/,
  2762. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2763. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2764. null,
  2765. null //function delegate
  2766. )
  2767. }
  2768. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2769. {
  2770. addHost(
  2771. "linkcrypt", //hostname
  2772. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2773. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2774. 100000, //blocksize
  2775. null, //corrmatch
  2776. null, //corrreplwhat
  2777. null, //corrreplwith
  2778. null, //separator
  2779. null,
  2780. null,
  2781. null,
  2782. null,
  2783. null,
  2784. null,
  2785. linkcryptBulkCheck //function delegate
  2786. )
  2787. }
  2788. if (GM_getValue("Check_videobb_dot_com_links", false))
  2789. {
  2790. addHost(
  2791. "videobb", //hostname
  2792. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2793. "//a[contains(@href,'videobb.com')]", //xpath
  2794. null, //blocksize
  2795. null, //corrmatch
  2796. /watch_video\.php\?v=/, //corrreplwhat
  2797. 'video/', //corrreplwith
  2798. null, //separator
  2799. 'http://www.videobb.com/link_checker.php',
  2800. 'links=',
  2801. /videobb\.com\/video\/(\w+)/,
  2802. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2803. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2804. null,
  2805. null //function delegate
  2806. )
  2807. }
  2808. if (GM_getValue("Check_filerio_dot_com_links", false))
  2809. {
  2810. addHost(
  2811. "filekeen,filerio", //hostname
  2812. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2813. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2814. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2815. null, //blocksize
  2816. null, //corrmatch
  2817. null, //corrreplwhat
  2818. null, //corrreplwith
  2819. null, //separator
  2820. 'http://filerio.in/checkfiles.html',
  2821. 'op=checkfiles&process=Check+URLs&list=',
  2822. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2823. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2824. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2825. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2826. null //function delegate
  2827. )
  2828. }
  2829. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2830. {
  2831. addHost(
  2832. "share-online,egoshare", //hostname
  2833. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2834. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2835. null, //blocksize
  2836. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2837. null, //corrreplwhat
  2838. null, //corrreplwith
  2839. "\n", //separator
  2840. 'http://api.share-online.biz/linkcheck.php',
  2841. 'links=',
  2842. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2843. /\w+;OK/g,
  2844. /\w+;(?:NOTFOUND|DELETED)/g,
  2845. null,
  2846. null //function delegate
  2847. )
  2848. }
  2849. if (GM_getValue("Check_oboom_dot_com_links", false))
  2850. {
  2851. addHost(
  2852. "oboom", //hostname
  2853. "oboom\\.com\/#?\\w{8}", //linkregex
  2854. "//a[contains(@href,'oboom.com/')]", //xpath
  2855. null, //blocksize
  2856. /oboom\.com\/#?(\w{8})/, //corrmatch
  2857. null, //corrreplwhat
  2858. null, //corrreplwith
  2859. null, //separator
  2860. null,
  2861. null,
  2862. null,
  2863. null, //liveregex
  2864. null, //deadregex
  2865. null,
  2866. oboomBulk //function delegate
  2867. )
  2868. }
  2869. if (GM_getValue("Check_mega_dot_nz_links", false))
  2870. {
  2871. addHost(
  2872. "mega",
  2873. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2874. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2875. 100000, //blocksize
  2876. null, //corrmatch
  2877. null, //corrreplwhat
  2878. null, //corrreplwith
  2879. null, //separator
  2880. null,
  2881. null,
  2882. null,
  2883. null,
  2884. null,
  2885. null,
  2886. megaBulkCheck //function delegate
  2887. )
  2888. }
  2889.  
  2890. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2891.  
  2892. if (GM_getValue("Check_extabit_dot_com_links", false))
  2893. {
  2894. addHost(
  2895. "extabit", //hostname
  2896. "extabit\\.com\/file\/\\w+", //linkregex
  2897. "//a[contains(@href,'extabit.com')]", //xpath
  2898. null, //blocksize
  2899. null, //corrmatch
  2900. null, //corrreplwhat
  2901. null, //corrreplwith
  2902. "\n", //separator
  2903. "http://extabit.com/linkchecker.jsp", //api url
  2904. "url=", //postdata
  2905. /extabit\.com\/(file\/\w+)/, //linkregex
  2906. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2907. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2908. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2909. extabitBulkCheck //function delegate
  2910. )
  2911. }
  2912. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2913. {
  2914. addHost(
  2915. "junocloud", //hostname
  2916. "junocloud\\.me\/\\w+", //linkregex
  2917. "//a[contains(@href,'junocloud.me')]", //xpath
  2918. null, //blocksize
  2919. null, //corrmatch
  2920. null, //corrreplwhat
  2921. null, //corrreplwith
  2922. "\n", //separator
  2923. "http://junocloud.me/checkfiles.html", //api url
  2924. "op=checkfiles&process=Check+URLs&list=", //postdata
  2925. /(junocloud\.me\/\w+)/, //linkregex
  2926. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2927. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2928. null, //unavaregex
  2929. null //function delegate
  2930. )
  2931. }
  2932. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2933. {
  2934. addHost(
  2935. "webshare", //hostname
  2936. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2937. "//a[contains(@href,'webshare.cz')]", //xpath
  2938. 100000, //blocksize
  2939. null, //corrmatch
  2940. null, //corrreplwhat
  2941. null, //corrreplwith
  2942. null, //separator
  2943. null, //api url
  2944. null, //postdata
  2945. null, //linkregex
  2946. null, //liveregex
  2947. null, //deadregex
  2948. null, //unavaregex
  2949. webshareBulkCheck //function delegate
  2950. )
  2951. }
  2952. /////////////////////////////
  2953. // Common function delegate to send links to get checked by host linkchecker
  2954. /////////////////////////////
  2955. // If you define a new delegate, you may use following properties
  2956. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2957. // this.apiUrl [string] API or web linkchecker URL
  2958. // this.postData [string] POSTDATA for POST request
  2959. // this.resLiveRegex [regex] matches live substrings in the request response
  2960. // this.resDeadRegex [regex] matches dead substrings in the request response
  2961. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2962. //
  2963. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2964. //
  2965. // See the code below for standard bulkcheck handling reference.
  2966. //////////////////////////////
  2967. function genBulkCheck()
  2968. {
  2969. var blockIdx = this.links.length;
  2970. while (blockIdx--)
  2971. {
  2972. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2973. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2974. }
  2975. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2976. {
  2977. GM_xmlhttpRequest(
  2978. {
  2979. method: 'POST',
  2980. url: api,
  2981. headers: {
  2982. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2983. 'Content-type': 'application/x-www-form-urlencoded',
  2984. 'Referer': api,
  2985. 'X-Requested-With': 'XMLHttpRequest'
  2986. },
  2987. data: postData + encodeURIComponent(links),
  2988. onload: function (result)
  2989. {
  2990. var res = result.responseText;
  2991. // GM_log(res);
  2992. var i;
  2993.  
  2994. var livelinks = res.match(liveRegex);
  2995. var deadlinks = res.match(deadRegex);
  2996. // GM_log(livelinks);
  2997. // GM_log(deadlinks);
  2998. if (livelinks != null)
  2999. {
  3000. i = livelinks.length - 1;
  3001. do
  3002. {
  3003. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3004. }
  3005. while (i--);
  3006. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3007. }
  3008.  
  3009. if (deadlinks != null)
  3010. {
  3011. i = deadlinks.length - 1;
  3012. do
  3013. {
  3014. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3015. }
  3016. while (i--);
  3017. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3018. }
  3019.  
  3020. if (unavaRegex != null)
  3021. {
  3022. var unavalinks = res.match(unavaRegex);
  3023. if (unavalinks)
  3024. {
  3025. i = unavalinks.length - 1;
  3026. do
  3027. {
  3028. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3029. }
  3030. while (i--);
  3031. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3032. }
  3033. }
  3034. }
  3035. });
  3036. }
  3037. }
  3038. //specialized bulkchecking handlers follow
  3039. function webshareBulkCheck()
  3040. {
  3041. var arr = this.links[0].split("\r\n");
  3042. var i = arr.length;
  3043. while(i--)
  3044. {
  3045. postRequest(arr[i]);
  3046. }
  3047. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3048. function postRequest(wsLink)
  3049. {
  3050. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3051. GM_xmlhttpRequest(
  3052. {
  3053. method: 'POST',
  3054. url: "http://webshare.cz/api/file_info/",
  3055. headers: {
  3056. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3057. 'Content-type': 'application/x-www-form-urlencoded',
  3058. 'Referer': "",
  3059. },
  3060. data: "wst=&ident=" + id,
  3061. onload: function (result)
  3062. {
  3063. var res = result.responseText;
  3064. if (res.match(/<name>.+?<\/name>/))
  3065. {
  3066. DisplayTheCheckedLinks([id], 'alive_link');
  3067. }
  3068. else
  3069. {
  3070. DisplayTheCheckedLinks([id], 'adead_link');
  3071. }
  3072. }
  3073. });
  3074. }
  3075. }
  3076. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3077. //extabit also doesn't like requests in fast succession, so some delays are added.
  3078. function extabitBulkCheck()
  3079. {
  3080. var timeoutDelay = 0;
  3081. var blockIdx = this.links.length;
  3082. while (blockIdx--)
  3083. {
  3084. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3085. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3086. }
  3087. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3088. {
  3089. GM_xmlhttpRequest(
  3090. {
  3091. method: 'POST',
  3092. url: api,
  3093. headers: {
  3094. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3095. 'Content-type': 'application/x-www-form-urlencoded',
  3096. 'Referer': api,
  3097. 'X-Requested-With': 'XMLHttpRequest'
  3098. },
  3099. data: postData + encodeURIComponent(links),
  3100. onload: function (result)
  3101. {
  3102. var res = result.responseText;
  3103. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3104. {
  3105. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3106. {
  3107. //GM_log(tryID + ': ' + link);
  3108. GM_xmlhttpRequest(
  3109. {
  3110. method: 'GET',
  3111. url: link,
  3112. 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': ""},
  3113. onload: function(result2)
  3114. {
  3115. var res2 = result2.responseText;
  3116. var res2Status = result.status;
  3117. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3118. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3119. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3120. {
  3121. if (tryID < 7)
  3122. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3123. else
  3124. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3125. }
  3126. }
  3127. });
  3128. }
  3129. //split the hrefs and check them one by one
  3130. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3131. links = links.split('\n');
  3132. var i = links.length;
  3133. while (i--)
  3134. {
  3135. if (links[i])
  3136. {
  3137. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3138. timeoutDelay += 500;
  3139. }
  3140. }
  3141. return;
  3142. }
  3143. var i;
  3144.  
  3145. var livelinks = res.match(liveRegex);
  3146. var deadlinks = res.match(deadRegex);
  3147. if (livelinks != null)
  3148. {
  3149. i = livelinks.length - 1;
  3150. do
  3151. {
  3152. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3153. }
  3154. while (i--);
  3155. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3156. }
  3157.  
  3158. if (deadlinks != null)
  3159. {
  3160. i = deadlinks.length - 1;
  3161. do
  3162. {
  3163. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3164. }
  3165. while (i--);
  3166. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3167. }
  3168.  
  3169. if (unavaRegex != null)
  3170. {
  3171. var unavalinks = res.match(unavaRegex);
  3172. if (unavalinks)
  3173. {
  3174. i = unavalinks.length - 1;
  3175. do
  3176. {
  3177. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3178. }
  3179. while (i--);
  3180. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3181. }
  3182. }
  3183. }
  3184. });
  3185. }
  3186. }
  3187. function _1falBulkCheck()
  3188. {
  3189. var arr = this.links[0].split("\r\n");
  3190. var i = arr.length;
  3191. c=0;
  3192. arrIDs=[];
  3193. while(i--)
  3194. {
  3195. id = arr[i].match(/\/d\/(\w+)/)[1];
  3196.  
  3197. _1falalreadyexist=false;
  3198. for (j=0;j<arrIDs.length;j++)
  3199. {
  3200. if (arrIDs[j]==id)
  3201. {
  3202. _1falalreadyexist=g
  3203. break;
  3204. }
  3205. }
  3206. if (_1falalreadyexist) continue;
  3207. arrIDs.push(id);
  3208. c++;
  3209. setTimeout(_1falRequest,c*500,arr[i]);
  3210. }
  3211. }
  3212. function _1falRequest(_1falLink)
  3213. {
  3214. var id = _1falLink.match(/\/d\/(\w+)/)[1];
  3215. GM_xmlhttpRequest(
  3216. {
  3217. method: 'GET',
  3218. url: _1falLink,
  3219. headers: {
  3220. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3221. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3222. 'Referer': 'http://www.planetsuzy.org/'
  3223. },
  3224. onload: function (result)
  3225. {
  3226. var res = result.responseText;
  3227. FAarr=res.match(/action=\"([\w\:\/\.]+)\"/);
  3228. if (FAarr!=null)
  3229. {
  3230. FALink=FAarr[1];
  3231. D_OP=res.match(/name=\"op\" value=\"(\w+)\"/)[1];
  3232. D_id=res.match(/name=\"id\" value=\"(\w+)\"/)[1];
  3233. D_referer=res.match(/name=\"referer\" value=\"([\w\:\/\.\?\&]+)\"/)[1];
  3234. GM_xmlhttpRequest(
  3235. {
  3236. method: 'POST',
  3237. url: FALink,
  3238. headers: {
  3239. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3240. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3241. 'Content-Type': 'application/x-www-form-urlencoded',
  3242. 'Referer': _1falLink
  3243. },
  3244. data: 'op='+D_OP+'&id='+D_id+'&referer='+encodeURIComponent(D_referer),
  3245. onload: function (_2ndresult)
  3246. {
  3247. var newres = _2ndresult.responseText;
  3248. FAalivelink=new RegExp("method_free");
  3249. if (FAalivelink.test(newres))
  3250. {
  3251. DisplayTheCheckedLinks([_1falLink], 'alive_link');
  3252. return;
  3253. }
  3254. FAdeadlink=new RegExp("style=\"width:500px;text-align:left;\">");
  3255. if (FAdeadlink.test(newres))
  3256. {
  3257. DisplayTheCheckedLinks([_1falLink], 'adead_link');
  3258. return;
  3259. }
  3260. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3261. return;
  3262. }
  3263. });
  3264. return;
  3265. }
  3266. else
  3267. {
  3268. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3269. return;
  3270. }
  3271. },
  3272. onerror: function ()
  3273. {
  3274. DisplayTheCheckedLinks([_1falLink], 'unava_link');
  3275. return;
  3276. }
  3277. });
  3278. }
  3279. function k2sBulkCheck()
  3280. {
  3281. var arr = this.links[0].split("\r\n");
  3282. var i = arr.length;
  3283. c=0;
  3284. arrIDs=[];
  3285. while(i--)
  3286. {
  3287. id = arr[i].match(/\/file\/(\w+)/)[1];
  3288. if (id=='info')
  3289. {
  3290. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3291. continue;
  3292. }
  3293. k2salreadyexist=false;
  3294. for (j=0;j<arrIDs.length;j++)
  3295. {
  3296. if (arrIDs[j]==id)
  3297. {
  3298. k2salreadyexist=g
  3299. break;
  3300. }
  3301. }
  3302. if (k2salreadyexist) continue;
  3303. arrIDs.push(id);
  3304. c++;
  3305. setTimeout(k2sRequest,c*500,arr[i]);
  3306. }
  3307. }
  3308. function k2sRequest(K2SLink)
  3309. {
  3310. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3311. GM_xmlhttpRequest(
  3312. {
  3313. method: 'GET',
  3314. url: K2SLink,
  3315. headers: {
  3316. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3317. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3318. 'Referer': ''
  3319. },
  3320. onload: function (result)
  3321. {
  3322. var res = result.responseText;
  3323. K2Dom='k2s.cc';
  3324. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3325. K2SLink2='http://'+K2Dom+'/file/'+id;
  3326.  
  3327. 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'))
  3328. {
  3329. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3330. return;
  3331. }
  3332. if (res.match('method="post">Displaying'))
  3333. {
  3334. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3335. return;
  3336. }
  3337. if (res.match('Premium only|only for premium members'))
  3338. {
  3339. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3340. return;
  3341. }
  3342. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3343. {
  3344. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3345. slID=slow_id.exec(res)[1];
  3346. GM_xmlhttpRequest(
  3347. {
  3348. method: 'POST',
  3349. url: K2SLink2,
  3350. headers: {
  3351. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3352. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3353. 'Content-Type': 'application/x-www-form-urlencoded',
  3354. 'Referer': K2SLink
  3355. },
  3356. data: 'slow_id='+slID+'&yt0=',
  3357. onload: function (result)
  3358. {
  3359. var newres = result.responseText;
  3360. newoversizedtest=new RegExp("Free user can't download large files.");
  3361. if (newoversizedtest.test(newres))
  3362. {
  3363. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3364. return;
  3365. }
  3366. else
  3367. {
  3368. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3369. return;
  3370. }
  3371. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3372. return;
  3373. }
  3374. });
  3375. /////////////////////end additional check for oversized links
  3376. return;
  3377. }
  3378. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3379. return;
  3380. },
  3381. onerror: function ()
  3382. {
  3383. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3384. return;
  3385. }
  3386. });
  3387. }
  3388. function fboomBulkCheck()
  3389. {
  3390. var arr = this.links[0].split("\r\n");
  3391. var i = arr.length;
  3392. c=0;
  3393. arrIDs=[];
  3394. while(i--)
  3395. {
  3396. id = arr[i].match(/\/file\/(\w+)/)[1];
  3397. if (id=='info')
  3398. {
  3399. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3400. continue;
  3401. }
  3402. fbalreadyexist=false;
  3403. for (j=0;j<arrIDs.length;j++)
  3404. {
  3405. if (arrIDs[j]==id)
  3406. {
  3407. fbalreadyexist=true;
  3408. break;
  3409. }
  3410. }
  3411. if (fbalreadyexist) continue;
  3412. arrIDs.push(id);
  3413. c++;
  3414. setTimeout(fboomRequest,c*500,arr[i]);
  3415. }
  3416. }
  3417. function fboomRequest(FBoomLink)
  3418. {
  3419. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3420. FBoomLink2='http://fboom.me/file/'+id;
  3421. GM_xmlhttpRequest(
  3422. {
  3423. method: 'GET',
  3424. url: FBoomLink,
  3425. headers: {
  3426. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3427. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3428. 'Referer': ''
  3429. },
  3430. onload: function (result)
  3431. {
  3432. var res = result.responseText;
  3433. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3434. {
  3435. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3436. return;
  3437. }
  3438. if (res.match('method="post">Displaying'))
  3439. {
  3440. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3441. return;
  3442. }
  3443. if (res.match('only for premium members'))
  3444. {
  3445. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3446. return;
  3447. }
  3448. if (res.match('id="download-free" href="#"'))
  3449. {
  3450. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3451. slID=slow_id.exec(res)[1];
  3452. GM_xmlhttpRequest(
  3453. {
  3454. method: 'POST',
  3455. url: FBoomLink2,
  3456. headers: {
  3457. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3458. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3459. 'Content-Type': 'application/x-www-form-urlencoded',
  3460. 'Referer': FBoomLink
  3461. },
  3462. data: 'slow_id='+slID,
  3463. onload: function (result)
  3464. {
  3465. var newres = result.responseText;
  3466. newoversizedtest=new RegExp("Downloading is not possible");
  3467. if (newoversizedtest.test(newres))
  3468. {
  3469. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3470. return;
  3471. }
  3472. else
  3473. {
  3474. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3475. return;
  3476. }
  3477. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3478. return;
  3479. }
  3480. });
  3481. /////////////////////end additional check for oversized links
  3482. return;
  3483. }
  3484. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3485. return;
  3486. },
  3487. onerror: function ()
  3488. {
  3489. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3490. return;
  3491. }
  3492. });
  3493. }
  3494. function dl4free_1fichier_BulkCheck()
  3495. {
  3496. var arr = this.links[0].split("\r\n");
  3497. var i = arr.length;
  3498. while(i--)
  3499. {
  3500. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3501. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3502. gethead_dl4free_1fichier(arr[i]);
  3503. }
  3504. }
  3505. function gethead_dl4free_1fichier(link)
  3506. {
  3507. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3508. GM_xmlhttpRequest(
  3509. {
  3510. method: 'HEAD',
  3511. url: link,
  3512. headers: {
  3513. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3514. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3515. 'Referer': ''
  3516. },
  3517. onload: function (result)
  3518. {
  3519. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3520. {
  3521. DisplayTheCheckedLinks([id], 'alive_link');
  3522. return;
  3523. }
  3524. else
  3525. {
  3526. getlink_dl4free_1fichier(link);
  3527. }
  3528. return;
  3529. },
  3530. onerror: function ()
  3531. {
  3532. DisplayTheCheckedLinks([id], 'unava_link');
  3533. }
  3534. });
  3535. }
  3536. function getlink_dl4free_1fichier(link)
  3537. {
  3538. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3539. GM_xmlhttpRequest(
  3540. {
  3541. method: 'GET',
  3542. url: link,
  3543. headers: {
  3544. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3545. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3546. 'Referer': ''
  3547. },
  3548. onload: function (result)
  3549. {
  3550. var res = result.responseText;
  3551. 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');
  3552. if (deadRegex.test(res))
  3553. {
  3554. DisplayTheCheckedLinks([id], 'adead_link');
  3555. return;
  3556. }
  3557. premiumRegex=new RegExp('only for premium users');
  3558. if (premiumRegex.test(res))
  3559. {
  3560. DisplayTheCheckedLinks([id], 'prem_link');
  3561. return;
  3562. }
  3563. 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="');
  3564. if (liveRegex.test(res))
  3565. {
  3566. DisplayTheCheckedLinks([id], 'alive_link');
  3567. return;
  3568. }
  3569. DisplayTheCheckedLinks([id], 'unava_link');
  3570. },
  3571. onerror: function ()
  3572. {
  3573. DisplayTheCheckedLinks([id], 'unava_link');
  3574. }
  3575. });
  3576. }
  3577. function nitroflareBulkCheck()
  3578. {
  3579. var arr = this.links[0].split("\r\n");
  3580. var i = arr.length;
  3581. while(i--)
  3582. {
  3583. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3584. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3585. NitroFlareRequest(arr[i]);
  3586. }
  3587. }
  3588. function NitroFlareRequest(NFLink)
  3589. {
  3590. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3591. GM_xmlhttpRequest(
  3592. {
  3593. method: "GET",
  3594. url: NFLink,
  3595. headers: {
  3596. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3597. 'Content-Type': 'application/x-www-form-urlencoded',
  3598. 'Referer': ""
  3599. },
  3600. onload: function (result)
  3601. {
  3602. var res = result.responseText;
  3603. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3604. {
  3605. DisplayTheCheckedLinks([NFID], 'adead_link');
  3606. return;
  3607. }
  3608. if (res.match('Report this file<\/a>'))
  3609. {
  3610. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3611. sizearr=measureRegex.exec(res);
  3612. if (sizearr[2]=='GB')
  3613. {
  3614. if (parseFloat(sizearr[1])>1)
  3615. {
  3616. DisplayTheCheckedLinks([NFID], 'prem_link');
  3617. }
  3618. else
  3619. {
  3620. DisplayTheCheckedLinks([NFID], 'alive_link');
  3621. }
  3622. }
  3623. else
  3624. {
  3625. DisplayTheCheckedLinks([NFID], 'alive_link');
  3626. }
  3627. return;
  3628. }
  3629. DisplayTheCheckedLinks([NFID], 'unava_link');
  3630. }
  3631. });
  3632. }
  3633. function depositfilesBulkCheck()
  3634. {
  3635. var arr = this.links[0].split("\r\n");
  3636. var i = arr.length;
  3637. var seqno = Math.floor(Math.random()*1000000000);
  3638. while(i--)
  3639. {
  3640. DFpostRequest(arr[i]);
  3641. }
  3642. }
  3643. function DFpostRequest(DFLink)
  3644. {
  3645. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3646. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3647. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3648. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3649. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3650. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3651. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3652. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3653. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3654. GM_xmlhttpRequest(
  3655. {
  3656. method: "GET",
  3657. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3658. headers: {
  3659. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3660. 'Content-Type': 'application/x-www-form-urlencoded',
  3661. 'Referer': ""
  3662. },
  3663. onload: function (result)
  3664. {
  3665. var res = result.responseText;
  3666. if (res.match('(?:no_file|file_ban)'))
  3667. {
  3668. DisplayTheCheckedLinks([id], 'adead_link');
  3669. return;
  3670. }
  3671. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3672. {
  3673. DisplayTheCheckedLinks([id], 'alive_link');
  3674. return;
  3675. }
  3676. DisplayTheCheckedLinks([id], 'unava_link');
  3677. }
  3678. });
  3679. }
  3680.  
  3681. function megaBulkCheck()
  3682. {
  3683. var arr = this.links[0].split("\r\n");
  3684. var i = arr.length;
  3685. var seqno = Math.floor(Math.random()*1000000000);
  3686. while(i--)
  3687. {
  3688. postRequest(arr[i]);
  3689. }
  3690. function postRequest(megaLink)
  3691. {
  3692. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3693. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3694. if (id=='F')
  3695. {
  3696. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3697. DisplayTheCheckedLinks([id], 'unava_link');
  3698. }
  3699. else
  3700. GM_xmlhttpRequest(
  3701. {
  3702. method: "POST",
  3703. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3704. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3705. headers: {
  3706. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3707. 'Content-Type': 'application/xml',
  3708. 'Referer': "https://mega.co.nz/"
  3709. },
  3710. onload: function (result)
  3711. {
  3712. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3713. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3714. {
  3715.  
  3716. DisplayTheCheckedLinks([id], 'adead_link');
  3717. }
  3718. if (res.at)
  3719. {
  3720. DisplayTheCheckedLinks([id], 'alive_link');
  3721. }
  3722. if (res.e == "ETEMPUNAVAIL")
  3723. {
  3724. DisplayTheCheckedLinks([id], 'unava_link');
  3725. }
  3726. }
  3727. });
  3728. }
  3729.  
  3730. }
  3731.  
  3732. function oboomBulk() {
  3733. var a = [], b = [], c = [];
  3734. var array = this.links;
  3735.  
  3736. GM_xmlhttpRequest({
  3737. method: 'GET',
  3738. url: 'https://www.oboom.com/1/guestsession',
  3739. headers: {
  3740. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3741. 'Content-type': 'application/x-www-form-urlencoded',
  3742. 'Referer': 'https://www.oboom.com',
  3743. 'X-Requested-With': 'XMLHttpRequest'
  3744. },
  3745. onload: function(result) {
  3746. var blockIdx = array.length;
  3747. var token = JSON.parse(result.responseText)[1];
  3748. while (blockIdx--) {
  3749. startCheck(array[blockIdx].split('\r\n'), token);
  3750. }
  3751. }
  3752. });
  3753.  
  3754. function startCheck(links, token) {
  3755. GM_xmlhttpRequest({
  3756. method: 'POST',
  3757. url: "https://api.oboom.com/1/info",
  3758. headers: {
  3759. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3760. 'Content-type': 'application/x-www-form-urlencoded',
  3761. 'Referer': 'https://www.oboom.com/',
  3762. 'X-Requested-With': 'XMLHttpRequest'
  3763. },
  3764. data: "token=" + token + "&items=" + links.join(","),
  3765. onload: function(result) {
  3766. var res = JSON.parse(result.responseText)[1];
  3767. var i = res.length, s;
  3768.  
  3769. while (i--) {
  3770. s = res[i].state;
  3771. if (s == 'online') a.push(res[i].id);
  3772. 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);
  3773. else c.push(res[i].id);
  3774. }
  3775.  
  3776. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3777. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3778. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3779. }
  3780. });
  3781. }
  3782. }
  3783. function linkcryptBulkCheck()
  3784. {
  3785. var arr = this.links[0].split("\r\n");
  3786. var i = arr.length;
  3787. while(i--)
  3788. {
  3789. postRequest(arr[i]);
  3790. }
  3791. function postRequest(lcLink)
  3792. {
  3793. GM_xmlhttpRequest(
  3794. {
  3795. method: "GET",
  3796. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3797. headers: {
  3798. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3799. 'Accept': 'text/xml',
  3800. 'Referer': ""
  3801. },
  3802. onload: function (result)
  3803. {
  3804. var res = result.responseText;
  3805. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3806. {
  3807. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3808. return;
  3809. }
  3810. if (res.match(/folderStatus>1/)) //Online status
  3811. {
  3812. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3813. }
  3814. else
  3815. {
  3816. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3817. }
  3818. }
  3819. });
  3820. }
  3821. }
  3822.  
  3823. function megashareBulkCheck()
  3824. {
  3825. var arr = this.links[0].split("\r\n");
  3826. var i = arr.length;
  3827. while(i--)
  3828. {
  3829. postRequest(arr[i]);
  3830. }
  3831. function postRequest(msLink)
  3832. {
  3833. GM_xmlhttpRequest(
  3834. {
  3835. method: "GET",
  3836. url: msLink,
  3837. headers: {
  3838. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3839. 'Content-Type': 'application/x-www-form-urlencoded',
  3840. 'Referer': ""
  3841. },
  3842. onload: function (result)
  3843. {
  3844. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3845. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3846. if ((prZVal == null) || (btn3Name == null))
  3847. {
  3848. return;
  3849. }
  3850. GM_xmlhttpRequest(
  3851. {
  3852. method: "POST",
  3853. url: msLink,
  3854. headers: {
  3855. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3856. 'Content-Type': 'application/x-www-form-urlencoded',
  3857. 'Referer': ""
  3858. },
  3859. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3860. onload: function (result)
  3861. {
  3862. var res = result.responseText;
  3863. if (res.match(/<div id="err">/))
  3864. {
  3865. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3866. }
  3867. else
  3868. {
  3869. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3870. }
  3871. }
  3872. });
  3873. }
  3874. });
  3875. }
  3876. }
  3877. function hellshareBulkCheck()
  3878. {
  3879. var links = this.links;
  3880. GM_xmlhttpRequest(
  3881. {
  3882. method: "GET",
  3883. url: 'http://www.hellshare.com',
  3884. headers: {
  3885. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3886. 'Accept': 'text/xml',
  3887. 'Referer': ""
  3888. },
  3889. onload: function (result)
  3890. {
  3891. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3892.  
  3893. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3894. if (domain == 'sk')
  3895. loc = 'check=Skontrolova%C5%A5&links=';
  3896. if (domain == 'com')
  3897. loc = 'check=Check+availability&links=';
  3898. if (domain == 'hu')
  3899. loc = 'check=Kontrol%C3%A1lj&links=';
  3900. if (domain == 'pl')
  3901. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3902.  
  3903. genBulkCheck.call({ links: links,
  3904. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3905. postData: loc,
  3906. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3907. 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,
  3908. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3909. resUnavaRegex: null
  3910. });
  3911. }
  3912. });
  3913. }
  3914. /**
  3915. * Displays check result
  3916. * @param {Array} Array of links or link fragments.
  3917. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3918. */
  3919. function DisplayTheCheckedLinks(links, resultStatus)
  3920. {
  3921. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3922. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3923. if (Do_not_linkify_DL_links)
  3924. { //TODO into separate jQuery function
  3925. $links.replaceWith(function(){
  3926. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3927. });
  3928. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3929. }
  3930. $links.removeClass().addClass(resultStatus);
  3931. $links.each(function() {
  3932. this.href = Ref_anonymize_service + $(this).attr("href");
  3933. });
  3934. switch(resultStatus)
  3935. {
  3936. case "alive_link": cLinksAlive += $links.length;
  3937. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3938. break;
  3939. case "adead_link": cLinksDead += $links.length;
  3940. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3941. break;
  3942. case "prem_link": cLinksprem += $links.length;
  3943. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3944. break;
  3945. case "unava_link": cLinksUnava += $links.length; break;
  3946. default:
  3947. }
  3948. cLinksProcessed += $links.length;
  3949. }
  3950. }
  3951. // starts bulkchecking
  3952. //
  3953. // params
  3954. // filterId [string] restricts link detection with passed id attribute
  3955. function startBulkCheck(filterId)
  3956. {
  3957. var cHosts = bulkHosts.length;
  3958. if (cHosts == 0) //no filehostings selected
  3959. return;
  3960. // STEP 1 linkify the links
  3961. var linkifyRegex = '';
  3962. var hostIdx = cHosts;
  3963. while(hostIdx--)
  3964. {
  3965. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3966. }
  3967. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3968. linkify(linkifyRegex);
  3969. //
  3970. //STEP 2 detect link objects
  3971. var xpathAll = '';
  3972. var hostIdx = cHosts;
  3973. while(hostIdx--)
  3974. {
  3975. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3976. }
  3977. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3978. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3979. if (filterId != null) //insert id restriction in the xpath
  3980. {
  3981. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3982. }
  3983. else
  3984. {
  3985. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3986. }
  3987. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3988. if (filterId == null)
  3989. {
  3990. cLinksTotal += links.snapshotLength;
  3991. }
  3992. //
  3993. //STEP 3 bind links with hostings
  3994. var linkIdx = links.snapshotLength;
  3995. var href = null;
  3996. if (linkIdx == 0) // no links found
  3997. return;
  3998. var name;
  3999. while (linkIdx--)
  4000. {
  4001. href = links.snapshotItem(linkIdx).href;
  4002. try // DO NOT REMOVE, filters crap that went through xpath detection
  4003. {
  4004. name = gimmeHostName(href);
  4005. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4006. bulkHostNames[name].links.push(href);
  4007. }
  4008. catch(e)
  4009. {
  4010.  
  4011. }
  4012. }
  4013. //
  4014. //STEP 4 process the links for each filehosting
  4015. var hostIdx = cHosts;
  4016. var host;
  4017. var m,n;
  4018. var arr;
  4019. while (hostIdx--)
  4020. {
  4021. host = bulkHosts[hostIdx];
  4022. arr = host.links;
  4023. if (arr.length == 0) //no links for this hosting, skip
  4024. {
  4025. continue;
  4026. }
  4027. //links match corrections
  4028. if (host.corrMatch != null)
  4029. {
  4030. var idx = arr.length;
  4031. while (idx--)
  4032. {
  4033. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4034. }
  4035. }
  4036. //links replace corrections
  4037. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4038. {
  4039. var idx = arr.length;
  4040. while (idx--)
  4041. {
  4042. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4043. }
  4044. }
  4045. m = arr.length;
  4046. n = host.blockSize;
  4047. if (m > n)
  4048. {
  4049. //insert block separators (RAND_STRING) into the array
  4050. for(var i = n; i < m; i += n + 1)
  4051. {
  4052. arr.splice(i, 0, RAND_STRING);
  4053. }
  4054. }
  4055.  
  4056. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4057. apiUrl: host.apiUrl,
  4058. postData: host.postData,
  4059. resLinkRegex: host.resLinkRegex,
  4060. resLiveRegex: host.resLiveRegex,
  4061. resDeadRegex: host.resDeadRegex,
  4062. resUnavaRegex: host.resUnavaRegex
  4063. });
  4064. //clean up
  4065. arr.length = 0;
  4066. }
  4067. //
  4068.  
  4069. function gimmeHostName(link)
  4070. {
  4071. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4072. }
  4073. }
  4074. function checkLinks(filterId)
  4075. {
  4076. startBulkCheck(filterId);
  4077. start(filterId);
  4078. }
  4079.  
  4080. /**
  4081. * Initialises progress box including event binding and CSS
  4082. */
  4083. function initProgressBox()
  4084. {
  4085. if ($("#warlc-progressbox").length > 0)
  4086. return;
  4087. //progressbox css change size and color of progress box
  4088. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4089. "; opacity:" + (Progress_box_opacity / 100) +
  4090. "; bottom:" + Progress_box_pos_bottom +
  4091. "px; right:" + Progress_box_pos_right +
  4092. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4093. \
  4094. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4095. \
  4096. .warlc-progressitem {}\
  4097. \
  4098. .alive {color:#00FF7F; " + Live_links_color +
  4099. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4100. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4101. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4102. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4103. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4104. );
  4105. //
  4106. $('body').append(' <div id="warlc-progressbox">\
  4107. <div class="warlc-progressbar"></div>\
  4108. <span class="warlc-progressitem alive"></span> - \
  4109. <span class="warlc-progressitem dead"></span> - \
  4110. <span class="warlc-progressitem unava"></span> - \
  4111. <span class="warlc-progressitem prem"></span> - \
  4112. <span class="warlc-progressitem processing"></span>\
  4113. </div>');
  4114. $('#warlc-progressbox').hide().click(function(){
  4115. clearInterval(intervalId);
  4116. $(this).hide();
  4117. return false;
  4118. });
  4119. $(".warlc-progressbar").progressbar({complete: function(){
  4120. $(this).fadeOut();
  4121. clearInterval(intervalId); //stop refreshing the stats
  4122. }
  4123. })
  4124. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4125. }
  4126. /**
  4127. * Updates progress data in progress box
  4128. */
  4129. function updateProgress()
  4130. {
  4131. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4132. if (cLinksTotal) // some links were detected on page
  4133. {
  4134. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4135. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4136. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4137. if ((cLinksTotal - cLinksProcessed) == 0)
  4138. {
  4139. $progressItems.first().text(cLinksAlive)
  4140. .next().text(cLinksDead)
  4141. .next().text(cLinksUnava)
  4142. .next().text(cLinksprem)
  4143. .next().remove();
  4144. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4145. $('#warlc-progressbox div:first-child').remove();
  4146. }
  4147. else
  4148. {
  4149. $progressItems.first().text(cLinksAlive)
  4150. .next().text(cLinksDead)
  4151. .next().text(cLinksUnava)
  4152. .next().text(cLinksprem)
  4153. .next().text(cLinksTotal - cLinksProcessed);
  4154. }
  4155. }
  4156. }
  4157.  
  4158. function check_all_links()
  4159. {
  4160. add_WARLC_style();
  4161.  
  4162. if (Show_progress_stats)
  4163. {
  4164. initProgressBox();
  4165. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4166. }
  4167.  
  4168. startBulkCheck(null);
  4169. start(null);
  4170.  
  4171. if (!containers_processed)
  4172. {
  4173. processContainers();
  4174. }
  4175. }
  4176.  
  4177. //Copies all found dead links to clipboard - right now for Scriptish only
  4178. function copy_dead_to_clipboard()
  4179. {
  4180. initClipBoardTools();
  4181.  
  4182. var deadlinksxpath = "//.[@class='adead_link']";
  4183.  
  4184. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4185. var foundlinkstext = '';
  4186.  
  4187. var foundlinkIdx = foundlinks.snapshotLength;
  4188.  
  4189. while(foundlinkIdx--)
  4190. {
  4191. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4192. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4193. }
  4194.  
  4195. GM_setClipboard(foundlinkstext);
  4196. }
  4197. //Copies all found live links to clipboard
  4198. function copy_live_to_clipboard()
  4199. {
  4200. initClipBoardTools();
  4201.  
  4202. var livelinksxpath = "//.[@class='alive_link']";
  4203.  
  4204. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4205. var foundlinks2text = '';
  4206.  
  4207. var foundlink2Idx = foundlinks2.snapshotLength;
  4208.  
  4209. while(foundlink2Idx--)
  4210. {
  4211. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4212. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4213. }
  4214.  
  4215. GM_setClipboard(foundlinks2text);
  4216. }
  4217.  
  4218. function toggle_autocheck()
  4219. {
  4220. var currentState = GM_getValue("Autocheck", false);
  4221. GM_setValue("Autocheck", !currentState);
  4222.  
  4223. if (currentState == true)
  4224. {
  4225. sendMessage('Autocheck disabled', 'red');
  4226. }
  4227. else
  4228. {
  4229. sendMessage('Autocheck enabled', 'SpringGreen');
  4230. }
  4231. }
  4232. function toggle_Enable_Anonymizer()
  4233. {
  4234. var currentState = GM_getValue("Enable_Anonymizer", false);
  4235. GM_setValue("Enable_Anonymizer", !currentState);
  4236.  
  4237. if (currentState == true)
  4238. {
  4239. GM_setValue("Ref_anonymize_service", "");
  4240. sendMessage('Anonymizer Disabled', 'red');
  4241. }
  4242. else
  4243. {
  4244. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4245. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4246. }
  4247. }
  4248.  
  4249. function KeyDownHandler(event)
  4250. {
  4251. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4252. if (event.ctrlKey && event.altKey)
  4253. {
  4254. switch(kcode)
  4255. {
  4256. case 65 : check_all_links(); break;
  4257. case 67 : configuration(); break;
  4258. case 68 : copy_dead_to_clipboard(); break;
  4259. case 76 : copy_live_to_clipboard(); break;
  4260. case 87 : toggle_autocheck(); break;
  4261. case 90 : toggle_Enable_Anonymizer(); break;
  4262. }
  4263. }
  4264. }
  4265.  
  4266. //
  4267. //
  4268. // SCRIPT EXECUTION START POINT
  4269. //
  4270. //
  4271. // Safari specific GM_getResourceText override
  4272. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4273. {
  4274. GM_getResourceText = function(res) {
  4275. var $cssText = GM_getValue("jquery_css", "");
  4276. if ($cssText == "")
  4277. {
  4278. GM_xmlhttpRequest(
  4279. {
  4280. method: 'GET',
  4281. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4282. onload: function (result)
  4283. {
  4284. GM_setValue("jquery_css", result.responseText);
  4285. window.location.reload();
  4286. }
  4287. });
  4288. }
  4289. else
  4290. {
  4291. return $cssText;
  4292. }
  4293. }
  4294. }
  4295. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4296. GM_addStyle(jQueryUICSS);
  4297. //init the stuff
  4298. setVariables();
  4299. initBulkCheck();
  4300. //init info boxes
  4301. messageBox.style.position = 'fixed';
  4302. messageBox.style.top = '20px';
  4303. messageBox.style.left = '10px';
  4304. messageBox.style.opacity = '0.85';
  4305. messageBox.style.background = 'DimGray';
  4306. messageBox.style.fontSize = '36px';
  4307. document.body.appendChild(messageBox);
  4308.  
  4309. //register GM menu commands & keyboard shortcut event handler
  4310. if (Keyboard_functions)
  4311. {
  4312. $(document).keydown(KeyDownHandler);
  4313. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4314. 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);
  4315. }
  4316. else
  4317. {
  4318. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4319. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4320. }
  4321.  
  4322. //start linkchecking
  4323. if (Autocheck)
  4324. {
  4325. $(document).ready(check_all_links);
  4326. }
  4327.  
  4328. //
  4329. //
  4330. // SCRIPT EXECUTION END POINT
  4331. //
  4332. //
  4333.  
  4334. //shows configuration box
  4335. function configuration()
  4336. {
  4337.  
  4338. //prevent multiple creating of config window
  4339. if ($("#hideshow").length)
  4340. {
  4341. $("#hideshow").show();
  4342. return;
  4343. }
  4344.  
  4345. var configcss = '\
  4346. .popup_block .popup fieldset{\
  4347. padding: 1%;\
  4348. border-style: solid;\
  4349. border-width: 1px;\
  4350. border-color: gray;\
  4351. margin-bottom: 1px;\
  4352. }\
  4353. #h3hideshowtitle{\
  4354. font-size: 2em;\
  4355. }\
  4356. #h3hideshow{\
  4357. font-size: 1.5em;\
  4358. }\
  4359. #imghideshow {\
  4360. border: none;\
  4361. }\
  4362. #plusimage{\
  4363. display:inline;\
  4364. }\
  4365. #hideshow {\
  4366. position: fixed;\
  4367. width: 100%;\
  4368. height: 100%;\
  4369. top: 0;\
  4370. left: 0;\
  4371. font-size:12px;\
  4372. z-index:2147483645;\
  4373. text-align:left;\
  4374. }\
  4375. #fade {\
  4376. background: #000;\
  4377. position: fixed;\
  4378. width: 100%;\
  4379. height: 100%;\
  4380. opacity: .80;\
  4381. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4382. left: 0;\
  4383. z-index: 10;\
  4384. }\
  4385. .popup_block {\
  4386. font-family:verdana;\
  4387. color:black;\
  4388. background: #ddd;\
  4389. padding: 10px 20px;\
  4390. border: 2px solid DarkOrange;\
  4391. float: left;\
  4392. width: 700px;\
  4393. position: absolute;\
  4394. top: 7%;\
  4395. left: 50%;\
  4396. bottom: 7%;\
  4397. margin: 0 0 0 -350px;\
  4398. -moz-border-radius:10px;\
  4399. z-index: 100;\
  4400. \
  4401. }\
  4402. .popup_block .popup {\
  4403. float: left;\
  4404. width: 100%;\
  4405. background: #fff;\
  4406. margin: 10px 0;\
  4407. padding: 0px 0 0px;\
  4408. border-left: 1px solid #bbb;\
  4409. border-top: 1px solid #bbb;\
  4410. border-right: 1px solid #bbb;\
  4411. }\
  4412. #h3hideshow{\
  4413. margin: 1px 0 0px;\
  4414. padding: 1px 10px;\
  4415. border-bottom: 1px solid #bbb;\
  4416. font-size: 1.5em;\
  4417. font-weight: normal;\
  4418. cursor:pointer;\
  4419. background:#DDDDDD none repeat scroll 0 0;\
  4420. }\
  4421. #h3hideshow:hover{\
  4422. background:#C0BEBE none repeat scroll 0 0;\
  4423. }\
  4424. #h3hideshowtitle{\
  4425. margin: 2px 0 0px;\
  4426. padding: 7px 10px;\
  4427. border-bottom: 1px solid #bbb;\
  4428. font-size: 1.5em;\
  4429. font-weight: normal;\
  4430. }\
  4431. .popup_block .popup a {\
  4432. color:DarkSkyBlue;\
  4433. text-decoration:none;\
  4434. }\
  4435. .popup p {\
  4436. padding: 1px 10px;\
  4437. margin: 0px 0;\
  4438. -x-system-font:none;\
  4439. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4440. font-size:10pt;\
  4441. font-size-adjust:none;\
  4442. font-stretch:normal;\
  4443. font-style:normal;\
  4444. font-variant:normal;\
  4445. font-weight:normal;\
  4446. line-height:normal;\
  4447. }\
  4448. #sites {\
  4449. padding: 1px 10px;\
  4450. margin: 0px 0;display:inline-block;width:16em;\
  4451. }\
  4452. #dev_ver {\
  4453. color: #00FF00;\
  4454. background: Black;\
  4455. text-align: right;\
  4456. }\
  4457. #sites_suspended {\
  4458. padding: 1px 10px;\
  4459. margin: 0px 0;display:inline-block;width:16em;\
  4460. text-decoration: line-through;\
  4461. }\
  4462. .popup img.cntrl {\
  4463. position: absolute;\
  4464. right: -15px;\
  4465. top: -15px;\
  4466. }\
  4467. #bulk {\
  4468. font-size:8pt;\
  4469. color:orange;\
  4470. padding: 1px 10px;\
  4471. margin: 0px 0;\
  4472. display:inline-block;\
  4473. width:100px;\
  4474. }\
  4475. #note {\
  4476. font-size:7pt;\
  4477. color:gray;\
  4478. padding: 1px 10px;\
  4479. margin: 0px 0;display:inline-block;\
  4480. min-width:100px;\
  4481. }\
  4482. #rednote {\
  4483. font-size:7pt;\
  4484. color:red;\
  4485. padding: 1px 10px;\
  4486. margin: 0px 0;display:inline-block;\
  4487. }\
  4488. #configinfo {\
  4489. font-size:8pt;\
  4490. color:gray;\
  4491. padding: 1px 10px;\
  4492. margin: 0px 0;display:inline-block;width:60em;\
  4493. }\
  4494. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4495. color:black;\
  4496. border-style: solid;\
  4497. border-width: 1px;\
  4498. border-color: gray;\
  4499. }\
  4500. #h3hideshowcontent {\
  4501. min-height:220px;\
  4502. max-height:220px;\
  4503. overflow:auto;\
  4504. display: none;\
  4505. padding: 10px 10px;\
  4506. }\
  4507. #specinfo{\
  4508. font-size:14px;\
  4509. }\
  4510. .warlc-ui-tab {\
  4511. height:300px;\
  4512. overflow:auto;\
  4513. }\
  4514. #warlcsitelist2, #warlcsitelist1 {\
  4515. height:220px;\
  4516. border-top: 1px solid #ddd;\
  4517. padding-top: 5px;\
  4518. overflow:auto;\
  4519. }\
  4520. input:hover+label {\
  4521. background:#F1F77C;\
  4522. font-size:110%;\
  4523. }\
  4524. ';
  4525.  
  4526. GM_addStyle(configcss);
  4527.  
  4528. var customRulesRefHTML =
  4529. '\
  4530. <br>\
  4531. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4532. <b>@keyword</b> <i>parameter</i>\
  4533. <br><br>\
  4534. 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. \
  4535. <br><br>\
  4536. 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.\
  4537. 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.\
  4538. 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.\
  4539. 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,\
  4540. but all commands until the next valid @customrule are ignored.<br><br>\
  4541. Available forms and types:\
  4542. <ul>\
  4543. <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.\
  4544. <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.\
  4545. <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.\
  4546. <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.\
  4547. </ul>\
  4548. Other available commands:<br>\
  4549. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4550. <ul>\
  4551. <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.\
  4552. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4553. <ul>examples:<br>\
  4554. <li>good: <i>filehost.com/download/</i><br>\
  4555. <li>good: <i>download.filehost.net/?d=</i><br>\
  4556. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4557. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4558. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4559. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4560. <li>bad: <i>filehost.com</i> - no slash<br>\
  4561. </ul>\
  4562. \
  4563. <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.\
  4564. 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 \
  4565. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4566. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4567. 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.)\
  4568. Two spaces again match any whitespace.\
  4569. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4570. Two spaces again match any whitespace.\
  4571. <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. \
  4572. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4573. </ul>\
  4574. \
  4575. ';
  4576.  
  4577. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4578. var configurationinnerHTML =
  4579. '<div id="fade"></div>\
  4580. <div class="popup_block">\
  4581. <div class="popup">\
  4582. <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/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjs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dxcXFzbiJUR/K3cmTJ2nWwYNUcfQoeS+cJcdwQGZeIjuHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4583. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQ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W.A.R. Links Checker Premium Configuration Page</div>\
  4584. <div id="warlc-conf-tabs">\
  4585. <ul>\
  4586. <li><a href="#tabs-1">Filehostings</a></li>\
  4587. <li><a href="#tabs-2">Containers</a></li>\
  4588. <li><a href="#tabs-5">Custom rules</a></li>\
  4589. <li><a href="#tabs-3">Settings</a></li>\
  4590. <li><a href="#tabs-4">About</a></li>\
  4591. </ul>\
  4592. <div id="tabs-1" class="warlc-ui-tab">\
  4593. <div class="warlc-ui-buttonset">\
  4594. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4595. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4596. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4597. </div><br>\
  4598. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4599. <div id="warlcsitelist1"><span>Empty</span></div>\
  4600. </div>\
  4601. <div id="tabs-2" class="warlc-ui-tab">\
  4602. <div class="warlc-ui-buttonset">\
  4603. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4604. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4605. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4606. </div><br>\
  4607. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4608. <div id="warlcsitelist2"><span>Empty</span></div>\
  4609. </div>\
  4610. <div id="tabs-5" class="warlc-ui-tab">\
  4611. <div class="warlcsettings">\
  4612. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4613. <br>\
  4614. <div>Edit custom rules: \
  4615. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4616. <div id="customRulesReference" style="display:none;">'
  4617. + customRulesRefHTML + '\
  4618. </div>\
  4619. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4620. </div>\
  4621. </div>\
  4622. </div>\
  4623. <div id="tabs-3" class="warlc-ui-tab">\
  4624. <div class="warlcsettings">\
  4625. <fieldset>\
  4626. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4627. <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>\
  4628. </fieldset>\
  4629. <fieldset>\
  4630. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4631. <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>\
  4632. <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>\
  4633. <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>\
  4634. <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>\
  4635. <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>\
  4636. <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>\
  4637. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4638. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4639. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4640. <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>\
  4641. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4642. <fieldset>\
  4643. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4644. <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>\
  4645. <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>\
  4646. <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>\
  4647. </fieldset>\
  4648. </fieldset>\
  4649. <fieldset>\
  4650. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4651. </fieldset>\
  4652. <fieldset>\
  4653. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4654. </fieldset>\
  4655. <fieldset>\
  4656. <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>\
  4657. </fieldset>\
  4658. <fieldset>\
  4659. <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>\
  4660. </fieldset>\
  4661. </div>\
  4662. </div>\
  4663. <div id="tabs-4" class="warlc-ui-tab">\
  4664. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4665. <br />\
  4666. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4667. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4668. <br />\
  4669. <p><b>Currently supported:</b><br>\
  4670. Filehostings: ' + allHostNames.length + '<br />\
  4671. Containers: ' + allContainerNames.length + '<br />\
  4672. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4673. <br />\
  4674. <p><b>Based on:</b><br>\
  4675. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4676. <br />\
  4677. <p><b>Uses:</b></p>\
  4678. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4679. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4680. <br />\
  4681. <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>\
  4682. </div>\
  4683. </div>\
  4684. </div>\
  4685. </div>';
  4686. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4687. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4688. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4689. var elmHostList = document.getElementById("warlcsitelist1");
  4690. var elmContainerList = document.getElementById("warlcsitelist2");
  4691. buildSettings();
  4692. buildSitelist("", allHostNames, elmHostList);
  4693. buildSitelist("", allContainerNames, elmContainerList);
  4694. if (DEBUG_MODE)
  4695. {
  4696. //log all sites availability status
  4697. diagSites();
  4698. }
  4699. //handler for checkbox state change
  4700. function changeConfiguration(e)
  4701. {
  4702. var element = e.target;
  4703.  
  4704. if (element.type == 'checkbox')
  4705. {
  4706. if (element.checked == 1)
  4707. {
  4708. GM_setValue(element.id, true);
  4709. }
  4710. else
  4711. {
  4712. GM_setValue(element.id, false);
  4713. }
  4714.  
  4715. }
  4716. setVariables();
  4717. }
  4718.  
  4719. //Selects all filehosting checkboxes
  4720. function selectAll()
  4721. {
  4722. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4723. .each(function(index, element){GM_setValue(this.id, true)});
  4724. }
  4725.  
  4726. //Deselects all filehosting checkboxes
  4727. function selectNone()
  4728. {
  4729. $(":checkbox:visible:checked").prop("checked",false)
  4730. .each(function(index, element){GM_setValue(this.id, false)});
  4731. }
  4732.  
  4733. //Inverts filehosting checkboxes selection
  4734. function selectInvert()
  4735. {
  4736. var $checked = $(":checkbox:visible:checked");
  4737. var $unchecked = $(":checkbox:visible:not(:checked)");
  4738. $unchecked.prop("checked",true)
  4739. .each(function(index, element){GM_setValue(this.id, true)});
  4740. $checked.prop("checked",false)
  4741. .each(function(index, element){GM_setValue(this.id, false)});
  4742. }
  4743. //toggles anonymizer on off
  4744. function Enable_Anonymizer()
  4745. {
  4746. var $checked = $(":checkbox:visible:checked");
  4747. var $unchecked = $(":checkbox:visible:not(:checked)");
  4748. $unchecked.prop("checked",true)
  4749. .each(function(index, element){GM_setValue(this.id, true)});
  4750. $checked.prop("checked",false)
  4751. .each(function(index, element){GM_setValue(this.id, false)});
  4752. }
  4753.  
  4754. function changeRefAnonymizer(){
  4755. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4756. }
  4757.  
  4758. //Sets live links color
  4759. function changeColorLive()
  4760. {
  4761. var inColorLive = document.getElementById("inputColorLive");
  4762. inColorLive.style.background = inColorLive.value;
  4763. GM_setValue("Live_links_color", inColorLive.value);
  4764. }
  4765.  
  4766. //Sets dead links color
  4767. function changeColorDead()
  4768. {
  4769. var inColorDead = document.getElementById("inputColorDead");
  4770. inColorDead.style.background = inColorDead.value;
  4771. GM_setValue("Dead_links_color", inColorDead.value);
  4772. }
  4773.  
  4774. //Sets temp. unavailable links color
  4775. function changeColorTemp()
  4776. {
  4777. var inColorTemp = document.getElementById("inputColorTemp");
  4778. inColorTemp.style.background = inColorTemp.value;
  4779. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4780. }
  4781.  
  4782. //Sets temp. unavailable links color
  4783. function changeColorCont()
  4784. {
  4785. var inColorCont = document.getElementById("inputColorCont");
  4786. inColorCont.style.background = inColorCont.value;
  4787. GM_setValue("Container_links_color", inColorCont.value);
  4788. }
  4789. //Sets premium. links color
  4790. function changeColorprem()
  4791. {
  4792. var inColorprem = document.getElementById("inputColorprem");
  4793. inColorprem.style.background = inColorprem.value;
  4794. GM_setValue("Premium_links_color", inColorprem.value);
  4795. }
  4796.  
  4797. //Diagnose sites for availability
  4798. function diagSites()
  4799. {
  4800. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4801.  
  4802. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4803. {
  4804. if (boxes[i].type == "checkbox")
  4805. {
  4806. checkAvailability(boxes[i]);
  4807. }
  4808. }
  4809.  
  4810. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4811.  
  4812. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4813. {
  4814. if (boxes[i].type == "checkbox")
  4815. {
  4816. checkAvailability(boxes[i]);
  4817. }
  4818. }
  4819.  
  4820. function checkAvailability(cbElm)
  4821. {
  4822. var cb = cbElm;
  4823. GM_xmlhttpRequest(
  4824. {
  4825. method: 'HEAD',
  4826. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4827. headers: {
  4828. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4829. 'Accept': 'text/xml',
  4830. 'Referer': ""
  4831. },
  4832. onload: function (result)
  4833. {
  4834. if (result.status != 200)
  4835. {
  4836. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4837. }
  4838. },
  4839. onerror: function (result)
  4840. {
  4841. if (result.status != 200)
  4842. {
  4843. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4844. }
  4845. }
  4846. });
  4847. }
  4848. }
  4849. function buildSettings()
  4850. {
  4851. $(".warlcsettings :checkbox").each(function(){
  4852. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4853. .click(function(e){
  4854. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4855. setVariables();
  4856. });
  4857. })
  4858. }
  4859. //Dynamic build of host list
  4860. //param search [string] searches for hostnames matching search substring
  4861. //param siteNames [array] array of site names
  4862. //param targetNode [DOM Node] where the list should be built
  4863. // first child node is replaced
  4864. function buildSitelist(search, siteNames, targetNode)
  4865. {
  4866. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4867. var $targetNode = $(targetNode).empty();
  4868. var searchedSite = "";
  4869. $.each(siteNames, function(i, site){
  4870. if (searchedSite = site.match(searchRegex))
  4871. {
  4872. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4873. //ensuring backward compatibility with the rest of code, to be refactored later
  4874. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4875. //
  4876. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4877. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4878. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4879. );
  4880. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4881. .change(changeConfiguration);
  4882. $targetNode.append('<br />');
  4883. }
  4884. });
  4885. $targetNode.append("<hr>");
  4886. //obsolete hosts checkbox
  4887. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4888. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4889. .change(changeConfiguration);
  4890. $targetNode.append('<br />');
  4891. var foundName = "";
  4892. $.each(allObsoleteNames, function(i, site){
  4893. if (foundName = allObsoleteNames[i].match(searchRegex))
  4894. {
  4895. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4896. }
  4897. })
  4898. }
  4899. var hostSearchBox = document.getElementById("hostSearchBox");
  4900. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4901. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4902. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4903. $(".warlc-ui-select-all").click(selectAll).button();
  4904. $(".warlc-ui-select-none").click(selectNone).button();
  4905. $(".warlc-ui-select-invert").click(selectInvert).button();
  4906. $(".warlc-ui-buttonset").buttonset();
  4907. var inColorLive = document.getElementById("inputColorLive");
  4908. inColorLive.addEventListener('keyup', changeColorLive, false);
  4909.  
  4910. var inColorDead = document.getElementById("inputColorDead");
  4911. inColorDead.addEventListener('keyup', changeColorDead, false);
  4912.  
  4913. var inColorTemp = document.getElementById("inputColorTemp");
  4914. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4915.  
  4916. var inColorCont = document.getElementById("inputColorCont");
  4917. inColorCont.addEventListener('keyup', changeColorCont, false);
  4918. var inColorprem = document.getElementById("inputColorprem");
  4919. inColorprem.addEventListener('keyup', changeColorprem, false);
  4920. $("#refAnonymizer").change(changeRefAnonymizer);
  4921. //buttons and edit boxes init end
  4922.  
  4923. //icon sets radio buttons
  4924. var radioButtons = document.getElementsByName("warlciconset");
  4925. radioButtons[Icon_set].checked = "checked";
  4926.  
  4927. radioButtons[0].addEventListener("change", updateIconSet);
  4928. radioButtons[1].addEventListener("change", updateIconSet);
  4929. radioButtons[2].addEventListener("change", updateIconSet);
  4930. radioButtons[3].addEventListener("change", updateIconSet);
  4931. function updateIconSet()
  4932. {
  4933. GM_setValue("Icon_set", this.value * 1);
  4934. }
  4935. //
  4936. $('#showCustomRulesReference').click(function(e){
  4937. e.preventDefault();
  4938. $('#customRulesReference').toggle();
  4939. });
  4940. $('#Custom_rules_text')
  4941. .val(Custom_rules_text)
  4942. .change(saveCustomRules);
  4943. function saveCustomRules(e)
  4944. {
  4945. var cr = parseCustomRules(this.value);
  4946. if (cr.info.length)
  4947. 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, ' '));
  4948. GM_setValue('Custom_rules_text', this.value);
  4949. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4950. }
  4951. }
  4952.  
  4953. //begin standard link checking algorithm
  4954. function start(filterId)
  4955. {
  4956. var doNotLinkify = Do_not_linkify_DL_links;
  4957.  
  4958. // USER SELECTED FILE HOSTS INITIALIZATION START
  4959. var http_file_hosts = new Array(); //standard hostings
  4960. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4961. var http_file_hosts_obsolete = new Array(); //dead hostings
  4962. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4963.  
  4964. initFileHosts();
  4965. initFileHostsHeadersOnly();
  4966. initFileHostsCustom(); //CustomRules
  4967. // USER SELECTED FILE HOSTS INITIALIZATION END
  4968.  
  4969. // LINKIFICATION START
  4970. var totalxpath = '';
  4971. var totalxpathcoded = '';
  4972. var totalxpathobsolete = '';
  4973. var totalxpathheadersonly = '';
  4974. var totalourls = '';
  4975.  
  4976. var filehostLen = http_file_hosts.length;
  4977. var filehostCodedLen = http_file_hosts_coded.length;
  4978. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4979. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4980.  
  4981. var filehostIdx = filehostLen;
  4982. var filehostCodedIdx = filehostCodedLen;
  4983. var filehostObsoleteIdx = filehostObsoleteLen;
  4984. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4985.  
  4986. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4987. return;
  4988.  
  4989. while (filehostIdx--)
  4990. {
  4991. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4992. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4993. }
  4994.  
  4995. while (filehostCodedIdx--)
  4996. {
  4997. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4998. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4999. }
  5000.  
  5001. while (filehostObsoleteIdx--)
  5002. {
  5003. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5004. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5005. }
  5006.  
  5007. while (filehostHeadersOnlyIdx--)
  5008. {
  5009. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5010. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5011. }
  5012.  
  5013. totalourls = totalourls.replace(/\|$/g, "");
  5014. //TODO: further refactoring needed
  5015. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5016. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5017. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5018. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5019. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5020. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5021. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5022. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5023. if (filterId != null) //insert id restriction in the xpath
  5024. {
  5025. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5026. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5027. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5028. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5029. }
  5030. else
  5031. {
  5032. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5033. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5034. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5035. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5036. }
  5037. linkify(totalourls);
  5038. //LINKIFICATION END
  5039. //ENCRYPTED LINKS PROCESSING START
  5040. if (http_file_hosts_coded.length > 0)
  5041. {
  5042. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5043.  
  5044. // decrypt coded links (redirects, link protectors etc.)
  5045. if (linksCoded.snapshotLength > 0)
  5046. {
  5047. var link;
  5048. var reallinkreg;
  5049. var reallinkcorrection;
  5050.  
  5051. if (filterId == null)
  5052. {
  5053. cLinksTotal += linksCoded.snapshotLength;
  5054. }
  5055.  
  5056. var y = linksCoded.snapshotLength - 1;
  5057. do
  5058. {
  5059. // linksCoded.snapshotItem(y).id = 'processing_link';
  5060. link = linksCoded.snapshotItem(y);
  5061. filehostIdx = filehostCodedLen;
  5062. while (filehostIdx--)
  5063. {
  5064. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5065. {
  5066. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5067. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5068. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5069.  
  5070. decurl(link, reallinkreg, reallinkcorrection);
  5071. break;
  5072. }
  5073. }
  5074. }
  5075. while (y--);
  5076. }
  5077. }
  5078. //ENCRYPTED LINKS PROCESSING END
  5079.  
  5080. //STANDARD LINKCHECKING START
  5081. if (http_file_hosts.length > 0)
  5082. {
  5083. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5084.  
  5085. if (filterId == null)
  5086. {
  5087. cLinksTotal += lianks.snapshotLength;
  5088. }
  5089.  
  5090. if (lianks.snapshotLength > 0)
  5091. {
  5092. var link;
  5093.  
  5094. var URL = "";
  5095. var name = "";
  5096. var isAliveRegex = "";
  5097. var isDeadRegex = "";
  5098. var isUnavaRegex = "";
  5099. var ispremRegex = "";
  5100. var tryLoop = false;
  5101.  
  5102. var y = lianks.snapshotLength;
  5103.  
  5104. while (y--)
  5105. {
  5106. link = lianks.snapshotItem(y);
  5107.  
  5108. filehostIdx = filehostLen;
  5109. while (filehostIdx--)
  5110. {
  5111. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5112. {
  5113. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5114. isAliveRegex = http_file_hosts[filehostIdx][1];
  5115. isDeadRegex = http_file_hosts[filehostIdx][2];
  5116. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5117. ispremRegex = http_file_hosts[filehostIdx][6];
  5118. tryLoop = http_file_hosts[filehostIdx][5];
  5119.  
  5120. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5121.  
  5122. break;
  5123. }
  5124. }
  5125. }
  5126. }
  5127. }
  5128. //STANDARD LINKCHECKING END
  5129. //OBSOLETE FILE HOSTS PROCESSING START
  5130. if (filehostObsoleteLen > 0)
  5131. {
  5132. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5133.  
  5134. var obsoleteLink;
  5135.  
  5136. //check links
  5137. if (obsoletelinks.snapshotLength > 0)
  5138. {
  5139. var y = obsoletelinks.snapshotLength;
  5140.  
  5141. if (filterId == null)
  5142. {
  5143. cLinksTotal += y;
  5144. }
  5145.  
  5146. while (y--)
  5147. {
  5148. obsoleteLink = obsoletelinks.snapshotItem(y);
  5149.  
  5150. if (Display_tooltip_info)
  5151. {
  5152. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5153. }
  5154. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5155. }
  5156. }
  5157. }
  5158. //OBSOLETE FILE HOSTS PROCESSING END
  5159.  
  5160. //DIRECT LINKCHECKING START
  5161. if (http_file_hosts_headers_only.length > 0)
  5162. {
  5163. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5164.  
  5165. //check links
  5166. if (links.snapshotLength > 0)
  5167. {
  5168. var link;
  5169. var isAliveRegex;
  5170. var isDeadRegex;
  5171. var ispremRegex;
  5172.  
  5173. var y = links.snapshotLength;
  5174.  
  5175.  
  5176. if (filterId == null)
  5177. {
  5178. cLinksTotal += y;
  5179. }
  5180.  
  5181. while (y--)
  5182. {
  5183. // links.snapshotItem(y).id = 'processing_link';
  5184. link = links.snapshotItem(y);
  5185. filehostIdx = filehostHeadersOnlyLen;
  5186. while (filehostIdx--)
  5187. {
  5188. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5189. {
  5190. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5191. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5192. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5193. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5194.  
  5195. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5196.  
  5197. break;
  5198. }
  5199. }
  5200. }
  5201.  
  5202. }
  5203. }
  5204. //DIRECT LINKCHECKING END
  5205.  
  5206.  
  5207. //finds the real url on the page, replaces link.href with it and calls geturl
  5208. function decurl(link, reallinkreg, reallinkcorrection)
  5209. {
  5210.  
  5211. GM_xmlhttpRequest(
  5212. {
  5213. method: 'GET',
  5214. url: link.href,
  5215. headers: {
  5216. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5217. 'Accept': 'text/xml',
  5218. 'Referer': ""
  5219. },
  5220. onload: function (result)
  5221. {
  5222. // cLinksProcessed++;
  5223.  
  5224. var reallink = result.responseText.match(reallinkreg)[0];
  5225. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5226.  
  5227. link.href = reallink;
  5228.  
  5229. var i = http_file_hosts.length - 1;
  5230. do
  5231. {
  5232. if ((reallink.match(http_file_hosts[i][0])))
  5233. {
  5234. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5235. var isAliveRegex = http_file_hosts[i][1];
  5236. var isDeadRegex = http_file_hosts[i][2];
  5237. var isUnavaRegex = http_file_hosts[i][3];
  5238. var ispremRegex = http_file_hosts[i][4];
  5239.  
  5240. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5241.  
  5242. break;
  5243. }
  5244. }
  5245. while (i--);
  5246. }
  5247. });
  5248. }
  5249.  
  5250. function randUA()
  5251. {
  5252. //TODO
  5253. }
  5254. //Processes link
  5255. //
  5256. // [string] link link URL
  5257. // [string] isAliveRegex alive link regex
  5258. // [string] isDeadRegex dead link regex
  5259. // [string] isUnavaRegex unavailable link regex
  5260. // [string] ispremRegex premium link regex
  5261. // [boolean] tryLoop repeats request until succeeded
  5262. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5263. {
  5264. GM_xmlhttpRequest(
  5265. {
  5266. method: 'GET',
  5267. url: link.href,
  5268. headers: {
  5269. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5270. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5271. 'Referer': ""
  5272. },
  5273. onload: function (result)
  5274. {
  5275. var res = result.responseText;
  5276. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5277. {
  5278. displayTheCheckedLink(link, 'alive_link');
  5279. return;
  5280. }
  5281.  
  5282. if (res.match(isAliveRegex))
  5283. {
  5284. displayTheCheckedLink(link, 'alive_link');
  5285. return;
  5286. }
  5287.  
  5288. if (res.match(isDeadRegex))
  5289. {
  5290. displayTheCheckedLink(link, 'adead_link');
  5291. return;
  5292. }
  5293.  
  5294. if (isUnavaRegex && res.match(isUnavaRegex))
  5295. {
  5296. displayTheCheckedLink(link, 'unava_link');
  5297. return;
  5298. }
  5299. if (res.match(ispremRegex))
  5300. {
  5301. displayTheCheckedLink(link, 'prem_link');
  5302. return;
  5303. }
  5304.  
  5305. var resStatus = result.status;
  5306.  
  5307. if (resStatus == 404)
  5308. {
  5309. displayTheCheckedLink(link, 'adead_link');
  5310. }
  5311. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5312. {
  5313. if (tryLoop)
  5314. {
  5315. //wait 1-5 seconds and repeat the request
  5316. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5317. }
  5318. else
  5319. {
  5320. displayTheCheckedLink(link, 'unava_link');
  5321. }
  5322.  
  5323. return;
  5324. }
  5325. },
  5326. onerror: function ()
  5327. {
  5328. displayTheCheckedLink(link, 'unava_link');
  5329. }
  5330. });
  5331. }
  5332.  
  5333. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5334. {
  5335. GM_xmlhttpRequest(
  5336. {
  5337. method: 'HEAD',
  5338. url: link.href,
  5339. headers: {
  5340. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5341. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5342. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5343. 'Referer': ""
  5344. },
  5345. onload: function (result)
  5346. {
  5347. var resStatus = result.status;
  5348. var resHeaders = "";
  5349. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5350. {
  5351. displayTheCheckedLink(link, 'adead_link');
  5352. return;
  5353. }
  5354.  
  5355. resHeaders = result.responseHeaders;
  5356.  
  5357. if (resHeaders.match(isDeadRegex))
  5358. {
  5359. displayTheCheckedLink(link, 'adead_link');
  5360. return;
  5361. }
  5362.  
  5363. if (resHeaders.match(isAliveRegex))
  5364. {
  5365. displayTheCheckedLink(link, 'alive_link');
  5366. return;
  5367. }
  5368. if (resHeaders.match(ispremRegex))
  5369. {
  5370. displayTheCheckedLink(link, 'prem_link');
  5371. return;
  5372. }
  5373. },
  5374. onerror: function ()
  5375. {
  5376. displayTheCheckedLink(link, 'unava_link');
  5377. }
  5378. });
  5379. }
  5380.  
  5381. //Delinkfifies the <a> element object
  5382. function delinkifyLink(link)
  5383. {
  5384. var spanElm = document.createElement("span");
  5385. spanElm.className = link.className;
  5386. spanElm.innerHTML = link.innerHTML;
  5387.  
  5388. if (Display_tooltip_info)
  5389. {
  5390. spanElm.href = link.href;
  5391. spanElm.warlc_error = link.warlc_error;
  5392. switch (link.className){
  5393. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5394. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5395. case "unava_link": //reserved
  5396. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5397. default:
  5398. }
  5399. }
  5400. link.parentNode.replaceChild(spanElm, link);
  5401. }
  5402.  
  5403. //Assigns result status to the <a> element object and calls delinkifying eventually
  5404. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5405. function displayTheCheckedLink(link, resultStatus)
  5406. {
  5407. link.className = resultStatus;
  5408. link.href = Ref_anonymize_service + link.href;
  5409. if (Display_tooltip_info)
  5410. {
  5411. switch (resultStatus){
  5412. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5413. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5414. case "unava_link": //reserved
  5415. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5416. default:
  5417. }
  5418. }
  5419. if (doNotLinkify)
  5420. {
  5421. delinkifyLink(link);
  5422. }
  5423. cLinksProcessed++;
  5424.  
  5425. if (resultStatus == "alive_link")
  5426. {
  5427. cLinksAlive++;
  5428. return;
  5429. }
  5430.  
  5431. if (resultStatus == "adead_link")
  5432. {
  5433. cLinksDead++;
  5434. return;
  5435. }
  5436.  
  5437. if (resultStatus == "unava_link")
  5438. {
  5439. cLinksUnava++;
  5440. }
  5441. if (resultStatus == "prem_link")
  5442. {
  5443. cLinksprem++;
  5444. return;
  5445. }
  5446. }
  5447.  
  5448.  
  5449. function initFileHosts()
  5450. {
  5451.  
  5452. function addObsoleteHost(linkRegex, xpathEx)
  5453. {
  5454. var host = new Array(2);
  5455. host[0] = linkRegex;
  5456. host[1] = xpathEx;
  5457. http_file_hosts_obsolete.push(host);
  5458. }
  5459.  
  5460. //obsolete file hosts init start
  5461. if (Obsolete_file_hosts)
  5462. {
  5463. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5464. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5465. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5466. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5467. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5468. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5469. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5470. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5471. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5472. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5473. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5474. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5475. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5476. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5477. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5478. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5479. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5480. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5481. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5482. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5483. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5484. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5485. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5486. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5487. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5488. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5489. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5490. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5491. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5492. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5493. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5494. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5495. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5496. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5497. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5498. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5499. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5500. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5501. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5502. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5503. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5504. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5505. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5506. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5507. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5508. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5509. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5510. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5511. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5512. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5513. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5514. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5515. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5516. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5517. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5518. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5519. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5520. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5521. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5522. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5523. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5524. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5525. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5526. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5527. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5528. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5529. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5530. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5531. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5532. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5533. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5534. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5535. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5536. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5537. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5538. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5539. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5540. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5541. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5542. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5543. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5544. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5545. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5546. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5547. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5548. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5549. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5550. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5551. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5552. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5553. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5554. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5555. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5556. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5557. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5558. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5559. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5560. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5561. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5562. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5563. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5564. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5565. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5566. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5567. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5568. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5569. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5570. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5571. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5572. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5573. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5574. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5575. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5576. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5577. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5578. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5579. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5580. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5581. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5582. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5583. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5584. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5585. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5586. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5587. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5588. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5589. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5590. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5591. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5592. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5593. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5594. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5595. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5596. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5597. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5598. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5599. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5600. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5601. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5602. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5603. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5604. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5605. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5606. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5607. 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')]");
  5608. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5609. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5610. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5611. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5612. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5613. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5614. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5615. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5616. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5617. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5618. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5619. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5620. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5621. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5622. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5623. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5624. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5625. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5626. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5627. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5628. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5629. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5630. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5631. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5632. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5633. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5634. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5635. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5636. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5637. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5638. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5639. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5640. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5641. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5642. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5643. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5644. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5645. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5646. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5647. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5648. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5649. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5650. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5651. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5652. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5653. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5654. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5655. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5656. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5657. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5658. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5659. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5660. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5661. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5662. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5663. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5664. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5665. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5666. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5667. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5668. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5669. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5670. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5671. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5672. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5673. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5674. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5675. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5676. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5677. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5678. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5679. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5680. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5681. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5682. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5683. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5684. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5685. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5686. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5687. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5688. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5689. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5690. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5691. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5692. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5693. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5694. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5695. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5696. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5697. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5698. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5699. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5700. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5701. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5702. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5703. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5704. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5705. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5706. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5707. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5708. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5709. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5710. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5711. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5712. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5713. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5714. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5715. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5716. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5717. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5718. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5719. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5720. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5721. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5722. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5723. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5724. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5725. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5726. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5727. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5728. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5729. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5730. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5731. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5732. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5733. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5734. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5735. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5736. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5737. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5738. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5739. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5740. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5741. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5742. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5743. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5744. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5745. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5746. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5747. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5748. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5749. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5750. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5751. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5752. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5753. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5754. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5755. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5756. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5757. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5758. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5759. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5760. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5761. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5762. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5763. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5764. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5765. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5766. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5767. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5768. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5769. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5770. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5771. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5772. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5773. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5774. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5775. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5776. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5777. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5778. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5779. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5780. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5781. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5782. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5783. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5784. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5785. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5786. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5787. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5788. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5789. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5790. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5791. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5792. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5793. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5794. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5795. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5796. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5797. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5798. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5799. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5800. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5801. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5802. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5803. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5804. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5805. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5806. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5807. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5808. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5809. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5810. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5811. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5812. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5813. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5814. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5815. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5816. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5817. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5818. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5819. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5820. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5821. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5822. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5823. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5824. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5825. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5826. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5827. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5828. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5829. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5830. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5831. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5832. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5833. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5834. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5835. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5836. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5837. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5838. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5839. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5840. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5841. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5842. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5843. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5844. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5845. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5846. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5847. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5848. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5849. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5850. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5851. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5852. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5853. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5854. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5855. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5856. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5857. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5858. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5859. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5860. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5861. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5862. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5863. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5864. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5865. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5866. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5867. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5868. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5869. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5870. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5871. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5872. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5873. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5874. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5875. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5876. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5877. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5878. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5879. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5880. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5881. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5882. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5883. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5884. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5885. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5886. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5887. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5888. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5889. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5890. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5891. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5892. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5893. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5894. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5895. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5896. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5897. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5898. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5899. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5900. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5901. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5902. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5903. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5904. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5905. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5906. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'www.shared.com/')]");
  5907. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5908. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5909. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5910. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5911. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5912. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5913. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5914. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5915. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5916. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5917. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5918. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5919. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5920. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5921. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5922. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5923. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5924. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5925. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5926. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5927. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5928. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5929. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5930. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5931. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5932. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5933. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5934. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5935. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5936. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5937. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5938. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5939. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5940. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5941. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5942. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5943. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5944. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5945. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5946. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5947. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5948. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5949. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5950. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  5951. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5952. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5953. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5954. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5955. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5956. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  5957. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  5958. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  5959. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  5960. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  5961. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  5962. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  5963. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  5964. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  5965. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  5966. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  5967. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  5968. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  5969. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  5970. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  5971. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  5972. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  5973. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  5974. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  5975. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  5976. // obsolete start start2
  5977. }
  5978. //obsolete file hosts init end
  5979. //Add Host Example
  5980. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5981. {
  5982. addFileHost(
  5983. "datafile\.com\/\\w+",
  5984. 'var captchaPanel|<link href="/css/files_download.css"',
  5985. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5986. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5987. '<style type="text/css">',
  5988. "//a[contains(@href,'datafile.com')]",
  5989. true);
  5990. } */
  5991.  
  5992. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5993. {
  5994. var host = new Array(7);
  5995. host[0] = linkRegex;
  5996. host[1] = isAliveRegex;
  5997. host[2] = isDeadRegex;
  5998. host[3] = isUnavaRegex;
  5999. host[6] = ispremRegex;
  6000. host[4] = xpathEx;
  6001. tryLoop ? host[5] = true : host[5] = false;
  6002. http_file_hosts.push(host);
  6003. }
  6004. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6005. {
  6006. addFileHost(
  6007. "megafileupload\.com\/..\/file\/",
  6008. 'downloadbtn',
  6009. 'is not found',
  6010. 'optional--',
  6011. 'optional2--',
  6012. "//a[contains(@href,'megafileupload.com')]");
  6013. }
  6014. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6015. {
  6016. addFileHost(
  6017. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6018. 'download\\.gif"',
  6019. 'p_point">',
  6020. 'optional--',
  6021. 'optional2--',
  6022. "//a[contains(@href,'demo.ovh.eu')]");
  6023. }
  6024. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6025. {
  6026. addFileHost(
  6027. "safelinking\\.net\/p\/\\w+",
  6028. 'color:green;"',
  6029. 'color:(?:red|orange);"',
  6030. 'color:(?:grey|brown);"',
  6031. 'optional2--',
  6032. "//a[contains(@href,'safelinking.net/p/')]",
  6033. true);
  6034. }
  6035. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6036. {
  6037. addFileHost(
  6038. "fastshare\\.cz\/\\d+\/\\w*",
  6039. 'dwntable">|speed-low',
  6040. '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',
  6041. 'optional--',
  6042. 'optional2--',
  6043. "//a[contains(@href,'fastshare.cz')]");
  6044. }
  6045. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6046. {
  6047. addFileHost(
  6048. "[fF]ast[sS]hare\\.org\/download",
  6049. 'Download ">',
  6050. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6051. 'optional--',
  6052. 'optional2--',
  6053. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6054. }
  6055. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6056. {
  6057. addFileHost(
  6058. "partage-facile\.com\/\\w+",
  6059. 'class="title"><strong>|colspan="2"',
  6060. 'Page introuvable|class="alert-message',
  6061. 'optional--',
  6062. 'optional2--',
  6063. "//a[contains(@href,'partage-facile.com')]");
  6064. }
  6065. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6066. {
  6067. addFileHost(
  6068. "rapidgator\\.net\/file\/\\w+",
  6069. '/download/AjaxStartTimer|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',
  6070. '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',
  6071. 'optional--',
  6072. '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|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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6073. "//a[contains(@href,'rapidgator.net/file')]",
  6074. true
  6075. );
  6076. }
  6077. if (GM_getValue("Check_rg_dot_to_links", false))
  6078. {
  6079. addFileHost(
  6080. "rg\.to\/\\w+",
  6081. '/download/AjaxStartTimer|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',
  6082. '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',
  6083. 'optional--',
  6084. '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 使用者可以下載此檔案|このファイルは、プレミアムアカウントのユーザーのみダウンロードすることができます',
  6085. "//a[contains(@href,'rg.to')]");
  6086. }
  6087. if (GM_getValue("Check_relink_dot_us_links", false))
  6088. {
  6089. addFileHost(
  6090. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6091. 'online_detail\\.png" alt="Status',
  6092. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6093. 'unknown_detail\\.png" alt="Status',
  6094. 'optional2--',
  6095. "//a[contains(@href,'relink.us/')]"
  6096. );
  6097. }
  6098. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6099. {
  6100. addFileHost(
  6101. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6102. 'div id="dl"',
  6103. 'Sie haben den Link falsch',
  6104. 'optional--',
  6105. 'optional2--',
  6106. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6107. );
  6108. }
  6109. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6110. {
  6111. addFileHost(
  6112. "flyfiles\\.net\/\\w+",
  6113. 'download_button"|"Download file"',
  6114. 'File not found!|Файл не найден',
  6115. 'optional--',
  6116. 'optional2--',
  6117. "//a[contains(@href,'flyfiles.net/')]"
  6118. );
  6119. }
  6120. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6121. {
  6122. addFileHost(
  6123. "wikiupload\\.com\/\\w+",
  6124. 'download-button">',
  6125. 'Sorry, File not found',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'wikiupload.com/')]"
  6129. );
  6130. }
  6131. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6132. {
  6133. addFileHost(
  6134. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6135. 'file\\.php">|Pobierz Plik',
  6136. 'Podany plik nie zosta',
  6137. 'optional--',
  6138. 'optional2--',
  6139. "//a[contains(@href,'hostuje.net/file')]"
  6140. );
  6141. }
  6142. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6143. {
  6144. addFileHost(
  6145. "gettyfile\\.ru\/\\d+",
  6146. 'download\\.gif border',
  6147. '<center><font size="3">',
  6148. 'optional--',
  6149. 'optional2--',
  6150. "//a[contains(@href,'gettyfile.ru/')]"
  6151. );
  6152. }
  6153. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6154. {
  6155. addFileHost(
  6156. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6157. 'download\\-file">',
  6158. 'col-1">\\s*<h1>',
  6159. 'optional--',
  6160. 'optional2--',
  6161. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6162. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6163. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6164. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6165. );
  6166. }
  6167. if (GM_getValue("Check_data_dot_hu_links", false))
  6168. {
  6169. addFileHost(
  6170. "data\\.hu",
  6171. 'download_box_button|Lassú letöltés',
  6172. 'missing\\.php|Az adott fájl nem létezik',
  6173. 'optional--',
  6174. 'optional2--',
  6175. "//a[contains(@href,'data.hu')]",
  6176. true
  6177. );
  6178. }
  6179. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6180. {
  6181. addFileHost(
  6182. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6183. 'premiumBtn"',
  6184. 'errorMessage"',
  6185. 'optional--',
  6186. 'optional2--',
  6187. "//a[contains(@href,'indowebster.com/download')]"
  6188. );
  6189. }
  6190. if (GM_getValue("Check_superload_dot_cz_links", false))
  6191. {
  6192. addFileHost(
  6193. "superload\\.cz\/dl\/\\w+",
  6194. 'icon-download">',
  6195. 'soubor nebyl nalezen',
  6196. 'optional--',
  6197. 'optional2--',
  6198. "//a[contains(@href,'superload.cz/dl')]"
  6199. );
  6200. }
  6201. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6202. {
  6203. addFileHost(
  6204. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6205. 'op" value="download',
  6206. 'class="err">|width:500px;text-align:left;">',
  6207. 'optional--',
  6208. 'optional2--',
  6209. "//a[contains(@href,'hulkfile.')]"
  6210. );
  6211. }
  6212. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6213. {
  6214. addFileHost(
  6215. "easybytez\\.com\/\\w+",
  6216. 'op" value="download',
  6217. 'stop_error\\.gif',
  6218. 'optional--',
  6219. 'optional2--',
  6220. "//a[contains(@href,'easybytez.com/')]"
  6221. );
  6222. }
  6223. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6224. {
  6225. addFileHost(
  6226. "filestore\\.com\\.ua\/\\?d=\\w+",
  6227. 'tdrow1>',
  6228. 'class=warn',
  6229. 'optional--',
  6230. 'optional2--',
  6231. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6232. );
  6233. }
  6234. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6235. {
  6236. addFileHost(
  6237. "openfile\\.ru\/(?:video\/|)\\d+",
  6238. 'videobox_left">',
  6239. 'blog_title">|not found on this server',
  6240. 'optional--',
  6241. 'optional2--',
  6242. "//a[contains(@href,'openfile.ru/')]"
  6243. );
  6244. }
  6245. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6246. {
  6247. addFileHost(
  6248. "extmatrix\\.com\/files\/\\w+",
  6249. 'div class="success"',
  6250. 'div class="error"',
  6251. 'optional--',
  6252. 'optional2--',
  6253. "//a[contains(@href,'extmatrix.com/files')]"
  6254. );
  6255. }
  6256. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6257. {
  6258. addFileHost(
  6259. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6260. 'content_lnkDownload',
  6261. 'error\\.aspx\\?',
  6262. 'optional--',
  6263. 'optional2--',
  6264. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6265. );
  6266. }
  6267. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6268. {
  6269. addFileHost(
  6270. "yourfilestore\\.com\/download\/\\d+\/",
  6271. 'download_data">',
  6272. 'may have been deleted|<h1>Sorry!<\/h1>',
  6273. 'optional--',
  6274. 'optional2--',
  6275. "//a[contains(@href,'yourfilestore.com/download')]"
  6276. );
  6277. }
  6278. if (GM_getValue("Check_filebig_dot_net_links", false))
  6279. {
  6280. addFileHost(
  6281. "filebig\\.net\/files\/\\w+",
  6282. 'downloadFile">',
  6283. '<p>File not found<\/p>',
  6284. 'optional--',
  6285. 'optional2--',
  6286. "//a[contains(@href,'filebig.net/files')]"
  6287. );
  6288. }
  6289. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6290. {
  6291. addFileHost(
  6292. "files\\.filefront\\.com\/\/;\\d+;;",
  6293. 'downloadLink">',
  6294. 'File not found, you',
  6295. 'optional--',
  6296. 'optional2--',
  6297. "//a[contains(@href,'files.filefront.com')]"
  6298. );
  6299.  
  6300. addFileHost(
  6301. "gamefront\\.com\/files\/\\d+",
  6302. 'downloadLink">',
  6303. 'File not found, you',
  6304. 'optional--',
  6305. 'optional2--',
  6306. "//a[contains(@href,'gamefront.com/files')]"
  6307. );
  6308. }
  6309. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6310. {
  6311. addFileHost(
  6312. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6313. 'dnlLnk"',
  6314. 'already been deleted',
  6315. 'optional--',
  6316. 'optional2--',
  6317. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6318. );
  6319. }
  6320. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6321. {
  6322. addFileHost(
  6323. "hellupload\\.com\/\\w+",
  6324. '<h3>Download File<br',
  6325. 'id="podstrona">|AVOID_IE_BUG',
  6326. 'optional--',
  6327. 'optional2--',
  6328. "//a[contains(@href,'hellupload.com/')]"
  6329. );
  6330. }
  6331. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6332. {
  6333. addFileHost(
  6334. "free\\-uploading\\.com\/\\w+",
  6335. 'op" value="download',
  6336. 'class="err">|width:500px;text-align:left;">',
  6337. 'optional--',
  6338. 'optional2--',
  6339. "//a[contains(@href,'free-uploading.com/')]"
  6340. );
  6341. }
  6342. if (GM_getValue("Check_fileape_dot_com_links", false))
  6343. {
  6344. addFileHost(
  6345. "fileape\\.com\/download\\-",
  6346. 'button_dl\\.png',
  6347. 'does not exist\\.',
  6348. 'optional--',
  6349. 'optional2--',
  6350. "//a[contains(@href,'fileape.com/')]"
  6351. );
  6352. }
  6353. if (GM_getValue("Check_uppit_dot_com_links", false))
  6354. {
  6355. addFileHost(
  6356. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6357. 'op" value="download',
  6358. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6359. 'optional--',
  6360. 'optional2--',
  6361. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6362. true
  6363. );
  6364. }
  6365. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6366. {
  6367. addFileHost(
  6368. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6369. 'op" value="download',
  6370. '>File Not Found<',
  6371. 'optional--',
  6372. 'optional2--',
  6373. "//a[contains(@href,'nosupload.com')]",
  6374. true
  6375. );
  6376. }
  6377. if (GM_getValue("Check_filesin_dot_com_links", false))
  6378. {
  6379. addFileHost(
  6380. "filesin\\.com\/\\w+\/download\\.html",
  6381. 'download_area">',
  6382. 'error_note">',
  6383. 'optional--',
  6384. 'optional2--',
  6385. "//a[contains(@href,'filesin.com/')]",
  6386. true
  6387. );
  6388. }
  6389. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6390. {
  6391. addFileHost(
  6392. "nowdownload\\.ch\/dl\/\\w+",
  6393. 'alert-success"',
  6394. 'This file does not exist!',
  6395. 'The file is being transfered',
  6396. 'optional2--',
  6397. "//a[contains(@href,'nowdownload.ch/dl')]"
  6398. );
  6399. }
  6400. if (GM_getValue("Check_axifile_dot_com_links", false))
  6401. {
  6402. addFileHost(
  6403. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6404. 'Dbutton_big"',
  6405. 'download\\-error\\.php',
  6406. 'optional--',
  6407. 'optional2--',
  6408. "//a[contains(@href,'axifile.com/')]"
  6409. );
  6410. }
  6411. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6412. {
  6413. addFileHost(
  6414. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6415. 'col-1">\\s*<s',
  6416. 'col-1">\\s*<h',
  6417. 'optional--',
  6418. 'optional2--',
  6419. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6420. );
  6421. }
  6422. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6423. {
  6424. addFileHost(
  6425. "turbobit\\.(?:net|pl)",
  6426. 'id="download-gate-info|id="file-list',
  6427. 'afterWait()|no files in this folder',
  6428. 'optional--',
  6429. 'optional2--',
  6430. "//a[contains(@href,'turbobit.net')]"
  6431. );
  6432. }
  6433. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6434. {
  6435. addFileHost(
  6436. "hitfile\\.net\/download\/folder\/\\d+",
  6437. 'content">\\s*<s',
  6438. 'content">\\s*<h',
  6439. 'optional--',
  6440. 'optional2--',
  6441. "//a[contains(@href,'hitfile.net/download/folder')]"
  6442. );
  6443. }
  6444. if (GM_getValue("Check_movshare_dot_net_links", false))
  6445. {
  6446. addFileHost(
  6447. "movshare\\.net\\/video\\/\\w+",
  6448. 'optional--"',
  6449. 'no longer exists',
  6450. 'optional--',
  6451. 'optional2--',
  6452. "//a[contains(@href,'movshare.net/video')]"
  6453. );
  6454. }
  6455. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6456. {
  6457. addFileHost(
  6458. "mafiastorage\\.com\/\\w+",
  6459. 'op" value="download',
  6460. 'class="err">|style="width:500px;text-align:left;"',
  6461. 'optional--',
  6462. 'optional2--',
  6463. "//a[contains(@href,'mafiastorage.com/')]"
  6464. );
  6465. }
  6466. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6467. {
  6468. addFileHost(
  6469. "uploadingit\\.com\/file\/\\w+",
  6470. 'downloadTitle">',
  6471. 'deleteContent">',
  6472. 'optional--',
  6473. 'optional2--',
  6474. "//a[contains(@href,'uploadingit.com/file')]"
  6475. );
  6476. }
  6477. if (GM_getValue("Check_rghost_dot_net_links", false))
  6478. {
  6479. addFileHost(
  6480. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6481. 'download_link|btn large download',
  6482. 'file is restricted|File is deleted|503 Service Unavailable',
  6483. 'optional--',
  6484. 'optional2--',
  6485. "//a[contains(@href,'rghost.')]"
  6486. );
  6487. }
  6488. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6489. {
  6490. addFileHost(
  6491. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6492. '">Staženo:\\s*<\/span>',
  6493. 'Soubor, který hledáte nenalezen',
  6494. 'optional--',
  6495. 'optional2--',
  6496. "//a[contains(@href,'xdisk.cz/')]"
  6497. );
  6498. }
  6499. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6500. {
  6501. addFileHost(
  6502. "2downloadz\.com\/\\w+",
  6503. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6504. 'color="#006DCC|File error',
  6505. 'optional--',
  6506. 'optional2--',
  6507. "//a[contains(@href,'2downloadz.com')]");
  6508. }
  6509. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6510. {
  6511. addFileHost(
  6512. "mightyupload\.com\/\\w+",
  6513. 'background:#ccc;text-align|CONTENT="Download File"',
  6514. 'style="background:#eee|var rr =|File Not Found',
  6515. 'error-code">1010',
  6516. 'optional2--',
  6517. "//a[contains(@href,'mightyupload.com')]");
  6518. }
  6519. if (GM_getValue("Check_anysend_dot_com_links", false))
  6520. {
  6521. addFileHost(
  6522. "anysend\.com\/\\w+",
  6523. 'var openCalled=false;|content="noindex"',
  6524. '_trackPageview',
  6525. 'optional--',
  6526. 'optional2--',
  6527. "//a[contains(@href,'anysend.com')]");
  6528. }
  6529. if (GM_getValue("Check_datafile_dot_com_links", false))
  6530. {
  6531. addFileHost(
  6532. "datafile\.com\/\\w+",
  6533. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6534. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6535. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6536. '; 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">
  6537. "//a[contains(@href,'datafile.com')]",
  6538. true);
  6539. }
  6540. if (GM_getValue("Check_upstore_dot_net_links", false))
  6541. {
  6542. addFileHost(
  6543. "upstore\.net\/\\w+",
  6544. 'name="free"',
  6545. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6546. 'optional--',
  6547. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6548. "//a[contains(@href,'upstore.net')]");
  6549. }
  6550. if (GM_getValue("Check_upsto_dot_re_links", false))
  6551. {
  6552. addFileHost(
  6553. "upsto\.re\/\\w+",
  6554. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6555. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6556. 'optional--',
  6557. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6558. "//a[contains(@href,'upsto.re')]");
  6559. }
  6560. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6561. {
  6562. addFileHost(
  6563. "speedy\.sh\/\\w+",
  6564. 'bgcolor=#eeeeee|class="addthis',
  6565. 'File not found|downloadfilenamenotfound>',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'speedy.sh')]");
  6569. }
  6570. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6571. {
  6572. addFileHost(
  6573. "kingfiles\.net\/\\w+",
  6574. 'method_free|images/loading_small.gif"',
  6575. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6576. 'optional--',
  6577. 'optional2--',
  6578. "//a[contains(@href,'kingfiles.net')]");
  6579. }
  6580. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6581. {
  6582. addFileHost(
  6583. "secureupload\\.eu\/\\w+",
  6584. 'Downloading',
  6585. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6586. 'optional--',
  6587. 'optional2--',
  6588. "//a[contains(@href,'secureupload.eu')]"
  6589. );
  6590. }
  6591. if (GM_getValue("Check_ge_dot_tt_links", false))
  6592. {
  6593. addFileHost(
  6594. "ge\.tt\/\\w+",
  6595. 'downloads pic',
  6596. 'is NOT the same as',
  6597. 'optional--',
  6598. 'optional2--',
  6599. "//a[contains(@href,'ge.tt')]");
  6600. }
  6601. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6602. {
  6603. addFileHost(
  6604. "filefactory\.com\/\\w+",
  6605. 'div id="file_holder"|download.css',
  6606. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6607. 'Server Maintenance|temporarily overloaded',
  6608. 'Premium Account Required',
  6609. "//a[contains(@href,'filefactory.com')]");
  6610. }
  6611. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6612. {
  6613. addFileHost(
  6614. "filesflash\.net\/\\w+",
  6615. 'align:right">Filename:',
  6616. 'class="msg">',
  6617. 'optional--',
  6618. 'optional2--',
  6619. "//a[contains(@href,'filesflash.net')]");
  6620. }
  6621. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6622. {
  6623. addFileHost(
  6624. "rapidgator\\.net\/folder\/\\w+",
  6625. 'href="/folder/',
  6626. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6627. 'optional--',
  6628. 'optional2--',
  6629. "//a[contains(@href,'rapidgator.net/folder')]",
  6630. true
  6631. );
  6632. }
  6633. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6634. {
  6635. addFileHost(
  6636. "salefiles\.com\/\\w+",
  6637. 'name="method_free',
  6638. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6639. 'optional--',
  6640. 'optional2--',
  6641. "//a[contains(@href,'salefiles.com')]");
  6642. }
  6643. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6644. {
  6645. addFileHost(
  6646. "datoid\.cz\/\\w+",
  6647. 'btn-download|class="icon-download-large"',
  6648. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6649. 'optional--',
  6650. 'optional2--',
  6651. "//a[contains(@href,'datoid.cz')]");
  6652. }
  6653. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6654. {
  6655. addFileHost(
  6656. "stiahni\.si\/\\w+",
  6657. 'report_icon.png"|slow-download-button',
  6658. 'none.png|deleted|<h2>Error 500</h2>',
  6659. 'optional--',
  6660. 'optional2--',
  6661. "//a[contains(@href,'stiahni.si')]");
  6662. }
  6663. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6664. {
  6665. addFileHost(
  6666. "cloudstor\.es\/\\w+",
  6667. '"btn_download"',
  6668. '404: Page Not Found',
  6669. 'optional--',
  6670. 'optional2--',
  6671. "//a[contains(@href,'cloudstor.es')]");
  6672. }
  6673. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6674. {
  6675. addFileHost(
  6676. "streamfile\.com\/\\w+",
  6677. 'class="btn',
  6678. 'class="green-btn',
  6679. 'optional--',
  6680. 'optional2--',
  6681. "//a[contains(@href,'streamfile.com')]");
  6682. }
  6683. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6684. {
  6685. addFileHost(
  6686. "eyesfile\.ca\/\\w+",
  6687. 'value="Get Link',
  6688. 'var rr =',
  6689. 'optional--',
  6690. 'optional2--',
  6691. "//a[contains(@href,'eyesfile.ca')]");
  6692. }
  6693. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6694. {
  6695. addFileHost(
  6696. "filemoney\.com\/\\w+",
  6697. 'og:title',
  6698. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6699. 'error-code">1010',
  6700. 'optional2--',
  6701. "//a[contains(@href,'filemoney.com')]");
  6702. }
  6703. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6704. {
  6705. addFileHost(
  6706. "uploadboy\.com\/\\w+",
  6707. 'width="740">|method_free',
  6708. 'var rr =|background:#ffffff|not be found|file was removed',
  6709. 'optional--',
  6710. 'optional2--',
  6711. "//a[contains(@href,'uploadboy.com')]");
  6712. }
  6713. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6714. {
  6715. addFileHost(
  6716. "uploadboy\.com\/\\w+",
  6717. 'width="740">|method_free',
  6718. 'var rr =|background:#ffffff|not be found|file was removed',
  6719. 'optional--',
  6720. 'optional2--',
  6721. "//a[contains(@href,'uploadboy.me')]");
  6722. }
  6723. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6724. {
  6725. addFileHost(
  6726. "speedshare\.eu\/\\w+",
  6727. 'favicon.png|color:#3d87c0|cross.png"',
  6728. 'var rr =|File Not Found|style="background:#eee',
  6729. 'optional--',
  6730. 'optional2--',
  6731. "//a[contains(@href,'speedshare.eu')]");
  6732. }
  6733. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6734. {
  6735. addFileHost(
  6736. "unlimitzone\.com\/\\w+",
  6737. 'name="method_free',
  6738. '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',
  6739. 'optional--',
  6740. 'optional2--',
  6741. "//a[contains(@href,'unlimitzone.com')]");
  6742. }
  6743. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6744. {
  6745. addFileHost(
  6746. "rioupload\.com\/\\w+",
  6747. 'sell.jpg',
  6748. 'var rr =',
  6749. 'optional--',
  6750. 'optional2--',
  6751. "//a[contains(@href,'rioupload.com')]");
  6752. }
  6753. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6754. {
  6755. addFileHost(
  6756. "jumbofiles\.org\/\\w+",
  6757. 'H71C5.png|class="downloadtitle">',
  6758. 'var swfu|ViewSourceBIN.png',
  6759. 'optional--',
  6760. 'optional2--',
  6761. "//a[contains(@href,'jumbofiles.org')]");
  6762. }
  6763. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6764. {
  6765. addFileHost(
  6766. "fshare\\.vn\/file\/\\w+",
  6767. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6768. 'không tồn tại|class="color_red m_t_50"',
  6769. 'optional--',
  6770. 'optional2--',
  6771. "//a[contains(@href,'fshare.vn/file')]",
  6772. true
  6773. );
  6774. }
  6775. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6776. {
  6777. addFileHost(
  6778. "spaceforfiles\.com\/\\w+",
  6779. 'btn_slowspeed_b.jpg|value="download1|"method_free',
  6780. 'var rr =|AVOID_IE_BUG|<div style="text-align:left;"><ul>|>File not found.<',
  6781. 'optional--',
  6782. 'optional2--',
  6783. "//a[contains(@href,'spaceforfiles.com') or contains(@href,'filespace.com')]");
  6784. }
  6785. if (GM_getValue("Check_google_dot_com_links", false))
  6786. {
  6787. addFileHost(
  6788. "google\\.com\/file\/\\w+",
  6789. 'content="!">|color:#2d2d2d',
  6790. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6791. 'optional--',
  6792. 'optional2--',
  6793. "//a[contains(@href,'google.com/file')]",
  6794. true
  6795. );
  6796. }
  6797. if (GM_getValue("Check_google_dot_com_links", false))
  6798. {
  6799. addFileHost(
  6800. "docs.google.com\/\\w+",
  6801. 'content="!">|color:#2d2d2d',
  6802. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6803. 'optional--',
  6804. 'optional2--',
  6805. "//a[contains(@href,'docs.google.com')]",
  6806. true
  6807. );
  6808. }
  6809. if (GM_getValue("Check_google_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. "drive.google.com\/\\w+",
  6813. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6814. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6815. 'optional--',
  6816. 'optional2--',
  6817. "//a[contains(@href,'drive.google.com')]",
  6818. true
  6819. );
  6820. }
  6821. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6822. {
  6823. addFileHost(
  6824. "up.media1fire\.com\/\\w+",
  6825. 'class="addthis_|value="download',
  6826. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6827. 'optional--',
  6828. 'optional2--',
  6829. "//a[contains(@href,'up.media1fire.com')]");
  6830. }
  6831. if (GM_getValue("Check_depfile_dot_com_links", false))
  6832. {
  6833. addFileHost(
  6834. "depfile\.com\/\\w+",
  6835. 'logo_0.png|downloads.gif"|verifycode',
  6836. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6837. 'optional--',
  6838. 'available only for Premium users',
  6839. "//a[contains(@href,'depfile.com')]");
  6840. }
  6841. if (GM_getValue("Check_go4up_dot_com_links", false))
  6842. {
  6843. addFileHost(
  6844. "go4up\.com\/\\w+",
  6845. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6846. '<title>GO4UP|dmca',
  6847. 'optional--',
  6848. 'optional2--',
  6849. "//a[contains(@href,'go4up.com')]");
  6850. }
  6851. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6852. {
  6853. addFileHost(
  6854. "redbunker\.net\/\\w+",
  6855. 'name="method_free"',
  6856. 'color="red">Unknow / Bilinmiyor<',
  6857. 'optional--',
  6858. '2.3 GB',
  6859. "//a[contains(@href,'redbunker.net')]");
  6860. }
  6861. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6862. {
  6863. addFileHost(
  6864. "divxpress\.com\/\\w+",
  6865. 'btn_download|logo.png"',
  6866. 'AVOID_IE_BUG|var rr =',
  6867. 'optional--',
  6868. 'optional2--',
  6869. "//a[contains(@href,'divxpress.com')]");
  6870. }
  6871. if (GM_getValue("Check_anafile_dot_com_links", false))
  6872. {
  6873. addFileHost(
  6874. "anafile\.com\/\\w+",
  6875. 'width="881" valign="top|color="#800080"|name="go"',
  6876. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6877. 'optional--',
  6878. 'optional2--',
  6879. "//a[contains(@href,'anafile.com')]");
  6880. }
  6881. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6882. {
  6883. addFileHost(
  6884. "uploadable\\.ch\/file\/\\w+",
  6885. 'captcha.js"|payment.js"|class="btn_download"',
  6886. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6887. 'optional--',
  6888. 'optional2--',
  6889. "//a[contains(@href,'uploadable.ch/file')]",
  6890. true
  6891. );
  6892. }
  6893. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6894. {
  6895. addFileHost(
  6896. "bigfile\\.to\/file\/\\w+",
  6897. 'captcha.js"|payment.js"|class="btn_download"',
  6898. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6899. 'optional--',
  6900. 'optional2--',
  6901. "//a[contains(@href,'bigfile.to/file')]",
  6902. true
  6903. );
  6904. }
  6905. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6906. {
  6907. addFileHost(
  6908. "arabloads\.net\/\\w+",
  6909. 'name="method_free"|name="method_premium"',
  6910. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6911. 'optional--',
  6912. 'optional2--',
  6913. "//a[contains(@href,'arabloads.net')]");
  6914. }
  6915. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6916. {
  6917. addFileHost(
  6918. "sharerepo\.com\/\\w+",
  6919. 'name="method_free"',
  6920. 'var public_on=|The file you were looking for could not be found',
  6921. 'optional--',
  6922. 'optional2--',
  6923. "//a[contains(@href,'sharerepo.com')]");
  6924. }
  6925. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6926. {
  6927. addFileHost(
  6928. "sfshare\.se\/\\w+",
  6929. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6930. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6931. 'optional--',
  6932. 'optional2--',
  6933. "//a[contains(@href,'sfshare.se')]");
  6934. }
  6935. if (GM_getValue("Check_files_dot_fm_links", false))
  6936. {
  6937. addFileHost(
  6938. "files\.fm\/\\w+",
  6939. 'dl.png"|background-color: transparent',
  6940. 'margin: 40px 40px|background: none;',
  6941. 'optional--',
  6942. 'optional2--',
  6943. "//a[contains(@href,'files.fm')]");
  6944. }
  6945. if (GM_getValue("Check_koofile_dot_com_links", false))
  6946. {
  6947. addFileHost(
  6948. "koofile\.com\/\\w+",
  6949. 'value="download1">|name="method_free"',
  6950. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6951. 'optional--',
  6952. 'optional2--',
  6953. "//a[contains(@href,'koofile.com')]");
  6954. }
  6955. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6956. {
  6957. addFileHost(
  6958. "vidxden\\.com\/\\w+",
  6959. 'Continue to Video"',
  6960. 'No such file',
  6961. 'optional--',
  6962. 'optional2--',
  6963. "//a[contains(@href,'vidxden.com')]"
  6964. );
  6965. }
  6966. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6967. {
  6968. addFileHost(
  6969. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6970. 'Details zur Datei|Details page',
  6971. 'Jetzt hochladen|upload now',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6975. );
  6976. }
  6977. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6978. {
  6979. addFileHost(
  6980. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6981. 'downloadbtn"',
  6982. 'DL_FileNotFound',
  6983. 'optional--',
  6984. 'optional2--',
  6985. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6986. );
  6987. }
  6988. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6989. {
  6990. addFileHost(
  6991. "fileflyer\.com\/view\/\\w+",
  6992. '(?:dwl|locked)btn"',
  6993. 'error.gif"|link">Removed|removedlink">',
  6994. 'optional--',
  6995. 'optional2--',
  6996. "//a[contains(@href,'fileflyer.com')]"
  6997. );
  6998. }
  6999. if (GM_getValue("Check_filestore_dot_to_links", false))
  7000. {
  7001. addFileHost(
  7002. "filestore\.to\/\\?d=\\w+",
  7003. '"downloading"',
  7004. 'Datei wurde nicht gefunden',
  7005. 'optional--',
  7006. 'optional2--',
  7007. "//a[contains(@href,'filestore.to')]"
  7008. );
  7009. }
  7010. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7011. {
  7012. addFileHost(
  7013. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7014. 'fz24">Download|class="pl15">',
  7015. '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',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7019. );
  7020. }
  7021. if (GM_getValue("Check_datei_dot_to_links", false))
  7022. {
  7023. addFileHost(
  7024. "datei\\.to\/\\??\\w+",
  7025. 'icon_downloaden\\.png|>Download starten<',
  7026. 'Datei wurde nicht gefunden|icon_deleted.png',
  7027. 'optional--',
  7028. 'optional2--',
  7029. "//a[contains(@href,'datei.to')]"
  7030. );
  7031. }
  7032. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7033. {
  7034. addFileHost(
  7035. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7036. '<body class="body" id="body">|value="Slow Download"',
  7037. '<body class="body" >',
  7038. 'optional--',
  7039. 'optional2--',
  7040. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7041. );
  7042. }
  7043. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7044. {
  7045. addFileHost(
  7046. "unibytes\\.com\/[\\w\.]+",
  7047. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7048. 'File not found|Файл не найден|',
  7049. 'optional--',
  7050. 'optional2--',
  7051. "//a[contains(@href,'unibytes.com')]"
  7052. );
  7053. }
  7054. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7055. {
  7056. addFileHost(
  7057. "www\\.hellshare\\.com\/\\d+",
  7058. 'tab\\-details"',
  7059. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7060. 'optional--',
  7061. 'optional2--',
  7062. "//a[contains(@href,'www.hellshare.com')]"
  7063. );
  7064. }
  7065. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7066. {
  7067. addFileHost(
  7068. "www\\.download.cz.hellshare\\.com\/\\w+",
  7069. 'tab\\-details"',
  7070. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7071. 'optional--',
  7072. 'optional2--',
  7073. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7074. );
  7075. }
  7076. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7077. {
  7078. addFileHost(
  7079. "filefactory\\.com\/f\/\\w+",
  7080. 'folderFileList">',
  7081. 'table class="items"|Pointer" class="red">',
  7082. 'optional--',
  7083. 'optional2--',
  7084. "//a[contains(@href,'filefactory.com/f/')]"
  7085. );
  7086. }
  7087. if (GM_getValue("Check_load_dot_to_links", false))
  7088. {
  7089. addFileHost(
  7090. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7091. '"download_table_left">Size',
  7092. 'Can\'t find file',
  7093. 'optional--',
  7094. 'optional2--',
  7095. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7096. );
  7097. }
  7098. if (GM_getValue("Check_divshare_dot_com_links", false))
  7099. {
  7100. addFileHost(
  7101. "divshare\\.com\/download\/",
  7102. 'download_new\.png',
  7103. 'have been removed',
  7104. 'optional--',
  7105. 'optional2--',
  7106. "//a[contains(@href,'divshare.com')]"
  7107. );
  7108. }
  7109. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7110. {
  7111. addFileHost(
  7112. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7113. 'download=true"',
  7114. '<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>',
  7115. 'optional--',
  7116. 'optional2--',
  7117. "//a[contains(@href,'euroshare.eu/file')]"
  7118. );
  7119. }
  7120. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7121. {
  7122. addFileHost(
  7123. 'files\\.mail\\.ru/(?:\\w*)',
  7124. 'fileList',
  7125. 'errorMessage',
  7126. 'optional--',
  7127. 'optional2--',
  7128. "//a[contains(@href,'files.mail.ru')]"
  7129. );
  7130. }
  7131. if (GM_getValue("Check_megashares_dot_com_links", false))
  7132. {
  7133. addFileHost(
  7134. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7135. 'Filesize',
  7136. 'Invalid|deleted|Could not download file',
  7137. 'slots|scheduled maintenance',
  7138. 'optional2--',
  7139. "//a[contains(@href,'megashares.com/')]"
  7140. );
  7141. }
  7142. if (GM_getValue("Check_narod_dot_ru_links", false))
  7143. {
  7144. addFileHost(
  7145. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7146. 'b-submit|action="resource.download"',
  7147. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7148. 'Внутренняя ошибка сервиса',
  7149. 'optional2--',
  7150. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7151. );
  7152. }
  7153. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7154. {
  7155. addFileHost(
  7156. "rayfile\\.com\/",
  7157. 'FILEtitleTXT',
  7158. 'blueRow',
  7159. 'optional--',
  7160. 'optional2--',
  7161. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7162. );
  7163. }
  7164. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7165. {
  7166. addFileHost(
  7167. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7168. 'button_green_body"',
  7169. 'error">',
  7170. 'optional--',
  7171. 'optional2--',
  7172. "//a[contains(@href,'filesmonster.com/download')]"
  7173. );
  7174. }
  7175. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7176. {
  7177. addFileHost(
  7178. 'usaupload\\.net\/d\/(?:\w*)',
  7179. '<strong>File size:</strong>',
  7180. 'is not available',
  7181. 'optional--',
  7182. 'optional2--',
  7183. "//a[contains(@href,'usaupload.net/d/')]"
  7184. );
  7185. }
  7186. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7187. {
  7188. addFileHost(
  7189. 'sendspace\\.com\/file\/\\w+',
  7190. 'file_description',
  7191. 'msg error"',
  7192. 'optional--',
  7193. 'optional2--',
  7194. "//a[contains(@href,'sendspace.com/file')]"
  7195. );
  7196. }
  7197. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7198. {
  7199. addFileHost(
  7200. 'sendspace\\.pl\/file\/\\w+',
  7201. 'download_file"',
  7202. 'Podany plik nie',
  7203. 'optional--',
  7204. 'optional2--',
  7205. "//a[contains(@href,'sendspace.pl/file')]"
  7206. );
  7207. }
  7208. if (GM_getValue("Check_uploading_dot_com_links", false))
  7209. {
  7210. addFileHost(
  7211. 'uploading\\.com\/(?:files\/)?\\w+',
  7212. 'free_method">',
  7213. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7214. 'optional--',
  7215. 'optional2--',
  7216. "//a[contains(@href,'uploading.com')]"
  7217. );
  7218. }
  7219. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7220. {
  7221. addFileHost(
  7222. "gigasize\.com\/\\w+",
  7223. 'fileId"|class="estimate">',
  7224. 'error">',
  7225. 'optional--',
  7226. 'optional2--',
  7227. "//a[contains(@href,'gigasize.com/get')]"
  7228. );
  7229. }
  7230. if (GM_getValue("Check_good_dot_com_links", false))
  7231. {
  7232. addFileHost(
  7233. 'good\\.net\/(?:_|dl)',
  7234. 'Free Download',
  7235. 'Not Found',
  7236. 'Forbidden',
  7237. 'optional2--',
  7238. "//a[contains(@href,'good.net')]"
  7239. );
  7240. }
  7241. if (GM_getValue("Check_2shared_dot_com_links", false))
  7242. {
  7243. addFileHost(
  7244. '2shared\\.com\/(?:file|video|document|fadmin|audio)\/\\w*',
  7245. 'File size',
  7246. 'File not found|is not valid|/images/important.gif',
  7247. 'optional--',
  7248. 'optional2--',
  7249. // "//a[contains(@href,'2shared.com')]"
  7250. "//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/')]"
  7251. );
  7252. }
  7253. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7254. {
  7255. addFileHost(
  7256. 'turboupload\\.com\/\\w*',
  7257. 'You have requested',
  7258. 'File Not Found',
  7259. 'optional--',
  7260. 'optional2--',
  7261. "//a[contains(@href,'turboupload.com')]"
  7262. );
  7263. }
  7264. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7265. {
  7266. addFileHost(
  7267. 'gigapeta\\.com\/dl\/',
  7268. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7269. '404|page_error',
  7270. 'optional--',
  7271. 'optional2--',
  7272. "//a[contains(@href,'gigapeta.com/dl')]"
  7273. );
  7274. }
  7275. if (GM_getValue("Check_veehd_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. 'veehd\.com\/video\/.*?',
  7279. 'No sound|Download video',
  7280. 'Featured Videos',
  7281. 'optional--',
  7282. 'optional2--',
  7283. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7284. );
  7285. }
  7286. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7287. {
  7288. addFileHost(
  7289. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7290. 'fast_download_form">|submit_sms_download',
  7291. '<p style="text-align:center">',
  7292. 'optional--',
  7293. 'optional2--',
  7294. "//a[contains(@href,'vip-file.com/download')]"
  7295. );
  7296. }
  7297. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7298. {
  7299. addFileHost(
  7300. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7301. 'download\\-pnl ',
  7302. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7303. 'optional--',
  7304. 'optional2--',
  7305. "//a[contains(@href,'letitbit.net/download')]"
  7306. );
  7307. }
  7308. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7309. {
  7310. addFileHost(
  7311. 'ifolder\.ru\/\\d+',
  7312. 'file-info',
  7313. 'ui-state-error',
  7314. 'optional--',
  7315. 'optional2--',
  7316. "//a[contains(@href,'ifolder.ru')]"
  7317. );
  7318. }
  7319. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7320. {
  7321. addFileHost(
  7322. 'fileswap\\.com\/dl\/\\w+',
  7323. 'bttnDownloadLink"',
  7324. 'rounded_block_error"',
  7325. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7326. 'optional2--',
  7327. "//a[contains(@href,'fileswap.com/dl')]"
  7328. );
  7329. }
  7330. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7331. {
  7332. addFileHost(
  7333. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7334. 'var __error = 0|id="recaptchaPanel">',
  7335. 'FILES__DOESNT_EXIST|removed or did not exist',
  7336. 'optional--',
  7337. 'optional2--',
  7338. "//a[contains(@href,'filecloud.io/')]"
  7339. );
  7340. addFileHost(
  7341. 'ifile\\.it\/\\w+',
  7342. 'var __error = 0',
  7343. 'FILES__DOESNT_EXIST',
  7344. 'optional--',
  7345. 'optional2--',
  7346. "//a[contains(@href,'ifile.it/')]"
  7347. );
  7348. }
  7349. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7350. {
  7351. addFileHost(
  7352. 'solidfiles\\.com\/\\w+',
  7353. 'id="download"|content="Download',
  7354. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7355. 'optional--',
  7356. 'optional2--',
  7357. "//a[contains(@href,'solidfiles.com/')]"
  7358. );
  7359. }
  7360. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7361. {
  7362. addFileHost(
  7363. "(?:.\\.|)shareflare\\.net",
  7364. 'download-pnl|<div class="premium-block">',
  7365. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7366. 'optional--',
  7367. 'optional2--',
  7368. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7369. );
  7370. }
  7371. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7372. {
  7373. addFileHost(
  7374. "u18116681.shareflare\\.net",
  7375. 'download-pnl|<div class="premium-block">',
  7376. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7377. 'optional--',
  7378. 'optional2--',
  7379. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7380. );
  7381. }
  7382. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7383. {
  7384. addFileHost(
  7385. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7386. 'file\\-list-orderby|section-filedetail">',
  7387. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7388. 'optional--',
  7389. 'optional2--',
  7390. "//a[contains(@href,'hellspy.')]"
  7391. );
  7392. }
  7393. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7394. {
  7395. addFileHost(
  7396. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7397. '<body onload="">',
  7398. 'neexistuje|not exist',
  7399. 'optional--',
  7400. 'optional2--',
  7401. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7402. );
  7403. }
  7404. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7405. {
  7406. addFileHost(
  7407. "stahovanizasms\\.cz\/\\w+",
  7408. 'download\\.png>|font-size:11px><tr>',
  7409. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7410. 'optional--',
  7411. 'optional2--',
  7412. "//a[contains(@href,'stahovanizasms.cz')]"
  7413. );
  7414. }
  7415. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7416. {
  7417. addFileHost(
  7418. "share-links\\.biz\/\\w*",
  7419. 'online\\.gif',
  7420. '(?:offline|parts)\\.gif',
  7421. 'optional--',
  7422. 'optional2--',
  7423. "//a[contains(@href,'share-links.biz')]"
  7424. );
  7425. }
  7426. if (GM_getValue("Check_4shared_dot_com_links", false))
  7427. {
  7428. addFileHost(
  7429. "4shared\\.com\/.+\/",
  7430. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7431. 'class="warn\"|big red"|GetDataBack',
  7432. 'Service Unavailable',
  7433. 'optional2--',
  7434. "//a[contains(@href,'4shared.com')]"
  7435. );
  7436. }
  7437. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7438. {
  7439. addFileHost(
  7440. "(?:www\\d+\.|)zippyshare\.com\/",
  7441. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7442. 'not exist|Status 404',
  7443. 'optional--',
  7444. 'optional2--',
  7445. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7446. );
  7447. }
  7448. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7449. {
  7450. addFileHost(
  7451. "mediafire\.com\/",
  7452. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7453. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7454. 'set to private',
  7455. 'optional2--',
  7456. "//a[contains(@href,'mediafire.com')]"
  7457. );
  7458. }
  7459. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7460. {
  7461. addFileHost(
  7462. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7463. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7464. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7465. 'optional--',
  7466. 'GB</small>',
  7467. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7468. );
  7469. }
  7470. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7471. {
  7472. addFileHost(
  7473. "ulozisko\.sk\/",
  7474. 'Detaily',
  7475. 'neexistuje',
  7476. 'optional--',
  7477. 'optional2--',
  7478. "//a[contains(@href,'ulozisko.sk')]"
  7479. );
  7480. }
  7481. if (GM_getValue("Check_box_dot_com_links", false))
  7482. {
  7483. addFileHost(
  7484. "box\.com\/\\w+",
  7485. 'download-file-btn|id="download_button|preview-download',
  7486. 'BIyMin.png| <div class="error_message|link has been removed',
  7487. 'optional--',
  7488. 'optional2--',
  7489. "//a[contains(@href,'app.box.com')]");
  7490. }
  7491. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7492. {
  7493. addFileHost(
  7494. "uptobox\\.com\/\\w+",
  7495. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7496. '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|لا يوجد أي ملف',
  7497. 'Maintenance',
  7498. 'optional2--',
  7499. "//a[contains(@href,'uptobox.com')]",
  7500. true
  7501. );
  7502. }
  7503. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7504. {
  7505. addFileHost(
  7506. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7507. 'FILE DOWNLOAD<',
  7508. 'File Does Not Exist',
  7509. 'optional--',
  7510. 'optional2--',
  7511. "//a[contains(@href,'sharecash.org/download.php')]"
  7512. );
  7513. }
  7514. if (GM_getValue("Check_1fichier_dot_com_links", false)) //folders
  7515. {
  7516. addFileHost(
  7517. "1fichier\\.com\/dir\/\\w+",
  7518. '<td class="normal titre ohidden">FileName</td>|<td class="normal titre ohidden">Nom du fichier</td>',
  7519. 'Shared Folder Not Found',
  7520. 'optional--',
  7521. 'optional2--',
  7522. "//a[contains(@href,'1fichier.com/dir')]"
  7523. );
  7524. }
  7525. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7526. {
  7527. addFileHost(
  7528. "depositfiles\\.com\/folders\/\\w+",
  7529. '<div class="progressContainer">',
  7530. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7531. 'optional--',
  7532. 'optional2--',
  7533. "//a[contains(@href,'depositfiles.com/folders')]"
  7534. );
  7535. }
  7536. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7537. {
  7538. addFileHost(
  7539. "rapidfileshare\\.net/\\w+",
  7540. '<div id="upload-header-bg">',
  7541. '<div style="width:500px;text-align:left;">',
  7542. 'optional--',
  7543. 'optional2--',
  7544. "//a[contains(@href,'rapidfileshare.net/')]"
  7545. );
  7546. }
  7547. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7548. {
  7549. addFileHost(
  7550. "stiahnito\\.sk/",
  7551. '<span class="filesize right">',
  7552. '<ol class="list-purp-2">',
  7553. 'optional--',
  7554. 'optional2--',
  7555. "//a[contains(@href,'stiahnito.sk/')]"
  7556. );
  7557. }
  7558. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7559. {
  7560. addFileHost(
  7561. "rusfolder\\.(?:com|net)",
  7562. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7563. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7564. 'optional--',
  7565. 'optional2--',
  7566. "//a[contains(@href,'rusfolder')]"
  7567. );
  7568. }
  7569. if (GM_getValue("Check_catshare_dot_net_links", false))
  7570. {
  7571. addFileHost(
  7572. "catshare\\.net/\\w+",
  7573. '"icon-share',
  7574. 'alert alert-error',
  7575. 'optional--',
  7576. 'optional2--',
  7577. "//a[contains(@href,'catshare.net/')]"
  7578. );
  7579. }
  7580. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7581. {
  7582. addFileHost(
  7583. "anonfiles\\.com/\\w+",
  7584. '"download_button"',
  7585. '<legend><b>404</b>',
  7586. 'optional--',
  7587. 'optional2--',
  7588. "//a[contains(@href,'anonfiles.com')]"
  7589. );
  7590. }
  7591. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7592. {
  7593. addFileHost(
  7594. "mixturecloud\\.com/media/\\w+",
  7595. '"btn icon i_globe gray share_150',
  7596. '"s_cross_close"></span> 404:',
  7597. 'optional--',
  7598. 'optional2--',
  7599. "//a[contains(@href,'mixturecloud.com/media/')]"
  7600. );
  7601. }
  7602. if (GM_getValue("Check_akafile_dot_com_links", false))
  7603. {
  7604. addFileHost(
  7605. "akafile\\.com\/\\w+",
  7606. 'download1',
  7607. 'File Not Found',
  7608. 'optional--',
  7609. 'optional2--',
  7610. "//a[contains(@href,'akafile.com/')]"
  7611. );
  7612. }
  7613. if (GM_getValue("Check_creafile_dot_net_links", false))
  7614. {
  7615. addFileHost(
  7616. "creafile\\.net\/\\w+",
  7617. 'downloadblock',
  7618. 'errtitle',
  7619. 'optional--',
  7620. 'optional2--',
  7621. "//a[contains(@href,'creafile.net/')]"
  7622. );
  7623. }
  7624. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7625. {
  7626. addFileHost(
  7627. "hugefiles\\.net\/\\w+",
  7628. 'download1|class="btn-create-download" value="Create Download Link">',
  7629. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7630. 'optional--',
  7631. 'optional2--',
  7632. "//a[contains(@href,'hugefiles.net/')]"
  7633. );
  7634. }
  7635. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7636. {
  7637. addFileHost(
  7638. "sendmyway\\.com\/\\w+",
  7639. 'id="btn_download"',
  7640. '500px;text-align:left;"|<center><h3>',
  7641. 'optional--',
  7642. 'optional2--',
  7643. "//a[contains(@href,'sendmyway.com/')]"
  7644. );
  7645. }
  7646. if (GM_getValue("Check_upload_dot_ee_links", false))
  7647. {
  7648. addFileHost(
  7649. "upload\\.ee\/\\w+",
  7650. 'onmouseout="document.dllink.src',
  7651. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7652. 'optional--',
  7653. 'optional2--',
  7654. "//a[contains(@href,'upload.ee/')]"
  7655. );
  7656. }
  7657. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7658. {
  7659. addFileHost(
  7660. "shareplace\\.org\/\\?\\w+",
  7661. 'Download-Link',
  7662. 'Your requested file is not found|Select file to send',
  7663. 'optional--',
  7664. 'optional2--',
  7665. "//a[contains(@href,'shareplace.org/?')]"
  7666. );
  7667. }
  7668. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7669. {
  7670. addFileHost(
  7671. "uploadc\\.com\/\\w+",
  7672. 'id="prebut"',
  7673. 'File Not Found|This file has been removed due',
  7674. 'optional--',
  7675. 'optional2--',
  7676. "//a[contains(@href,'uploadc.com/')]"
  7677. );
  7678. }
  7679. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7680. {
  7681. addFileHost(
  7682. "uploadc\\.ch\/\\w+",
  7683. 'id="prebut"',
  7684. 'File Not Found|This file has been removed due',
  7685. 'optional--',
  7686. 'optional2--',
  7687. "//a[contains(@href,'uploadc.ch/')]"
  7688. );
  7689. }
  7690. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7691. {
  7692. addFileHost(
  7693. "remixshare\\.com\/\\w+",
  7694. 'id="dl2"',
  7695. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7696. 'optional--',
  7697. 'optional2--',
  7698. "//a[contains(@href,'remixshare.com/')]"
  7699. );
  7700. }
  7701. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7702. {
  7703. addFileHost(
  7704. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7705. 'Last Download :',
  7706. 'img src="\\/404.jpg"',
  7707. 'optional--',
  7708. 'optional2--',
  7709. "//a[contains(@href,'exoshare.com/download.php')]"
  7710. );
  7711. }
  7712. if (GM_getValue("Check_borncash_dot_org_links", false))
  7713. {
  7714. addFileHost(
  7715. "borncash\\.org\/download\/\\?a=\\w+",
  7716. 'class="knop_1"',
  7717. '\/error\/er00',
  7718. 'optional--',
  7719. 'optional2--',
  7720. "//a[contains(@href,'borncash.org/download/')]"
  7721. );
  7722. }
  7723. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7724. {
  7725. addFileHost(
  7726. "vidplay\.net\/\\w+",
  7727. 'solvemedia puzzle widget',
  7728. 'File not found|AVOID_IE_BUG',
  7729. 'optional--',
  7730. 'optional2--',
  7731. "//a[contains(@href,'vidplay.net')]");
  7732. }
  7733. if (GM_getValue("Check_filedais_dot_com_links", false))
  7734. {
  7735. addFileHost(
  7736. "filedais\.com\/\\w+",
  7737. 'class="btn btn-info"|name="method_free"',
  7738. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7739. 'optional--',
  7740. 'optional2--',
  7741. "//a[contains(@href,'filedais.com')]");
  7742. }
  7743. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7744. {
  7745. addFileHost(
  7746. "up.4share\.vn\/\\w+",
  7747. '<font size="2" face="Verdana">',
  7748. 'font: 13px Tahoma; color: Brown',
  7749. 'optional--',
  7750. 'optional2--',
  7751. "//a[contains(@href,'up.4share.vn')]");
  7752. }
  7753. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7754. {
  7755. addFileHost(
  7756. "share.vnn\.vn\/\\w+",
  7757. '"index,follow"|<div class="main" id="download-box">',
  7758. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7759. 'optional--',
  7760. 'optional2--',
  7761. "//a[contains(@href,'share.vnn.vn')]");
  7762. }
  7763. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7764. {
  7765. addFileHost(
  7766. "upfile\.vn\/\\w+",
  7767. 'download-timer',
  7768. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7769. 'optional--',
  7770. 'optional2--',
  7771. "//a[contains(@href,'upfile.vn')]");
  7772. }
  7773. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7774. {
  7775. addFileHost(
  7776. "aisfile\.com\/\\w+",
  7777. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7778. '<div style="width:500px;text-align:left;">|File Not Found',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'aisfile.com')]");
  7782. }
  7783. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7784. {
  7785. addFileHost(
  7786. "usersfiles\.com\/\\w+",
  7787. 'class="btn btn-success|id="btn_download" class="btn"',
  7788. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7789. 'optional--',
  7790. 'optional2--',
  7791. "//a[contains(@href,'usersfiles.com')]");
  7792. }
  7793. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7794. {
  7795. addFileHost(
  7796. "pan.baidu\.com\/\\w+",
  7797. 'target="_blank" title=|share-personal-info',
  7798. 'share_notfound.png|background:#f9f9f9',
  7799. 'optional--',
  7800. 'optional2--',
  7801. "//a[contains(@href,'pan.baidu.com')]");
  7802. }
  7803. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7804. {
  7805. addFileHost(
  7806. "yunpan\.cn\/\\w+",
  7807. 'class="icon icon-download',
  7808. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7809. 'optional--',
  7810. 'optional2--',
  7811. "//a[contains(@href,'yunpan.cn')]");
  7812. }
  7813. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7814. {
  7815. addFileHost(
  7816. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7817. 'getElementById("downbild")|style.display',
  7818. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7819. 'optional--',
  7820. 'optional2--',
  7821. "//a[contains(@href,'file-upload.net')]");
  7822. }
  7823. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7824. {
  7825. addFileHost(
  7826. "gulfup\.com\/",
  7827. '<!-- Downlod template -->|download.gif',
  7828. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7829. 'optional--',
  7830. 'optional2--',
  7831. "//a[contains(@href,'gulfup.com')]");
  7832. }
  7833. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7834. {
  7835. addFileHost(
  7836. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7837. 'dldtable">',
  7838. 'does not exist\\.',
  7839. 'optional--',
  7840. 'optional2--',
  7841. "//a[contains(@href,'datafilehost.com')]");
  7842. }
  7843. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7844. {
  7845. addFileHost(
  7846. "dropbox\.com\/s\/\\w+",
  7847. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7848. '>Nothing Here<|>Error (404)<',
  7849. 'title>Dropbox - 509|Error (403)|Error: 429',
  7850. 'optional2--',
  7851. "//a[contains(@href,'dropbox.com')]");
  7852. }
  7853. if (GM_getValue("Check_box_dot_net_links", false))
  7854. {
  7855. addFileHost(
  7856. "box\.net\/\\w+",
  7857. 'download-file-btn|id="download_button',
  7858. 'BIyMin.png| <div class="error_message',
  7859. 'optional--',
  7860. 'optional2--',
  7861. "//a[contains(@href,'box.net')]");
  7862. }
  7863. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7864. {
  7865. addFileHost(
  7866. "filedropper\.com\/\\w+",
  7867. 'background:#ddd;|width:985px; ',
  7868. 'background-color:#FFFFFF;|margin-left: -400px;',
  7869. 'optional--',
  7870. 'optional2--',
  7871. "//a[contains(@href,'filedropper.com')]");
  7872. }
  7873. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7874. {
  7875. addFileHost(
  7876. "tropicshare\\.com\/files\/\\d+",
  7877. 'MB</span>|GB</span>|KB</span>',
  7878. '>FNF<|size: </span>',
  7879. 'optional--',
  7880. 'optional2--',
  7881. "//a[contains(@href,'tropicshare.com')]");
  7882. }
  7883. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7884. {
  7885. addFileHost(
  7886. "worldbytez\.com",
  7887. '<div class="download_type">|method_free',
  7888. '<div style="width:500px;text-align:left;">',
  7889. 'optional--',
  7890. 'optional2--',
  7891. "//a[contains(@href,'worldbytez.com')]",
  7892. true);
  7893. }
  7894. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7895. {
  7896. addFileHost(
  7897. "freefilehosting\.net\/\\w+",
  7898. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7899. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7900. 'optional--',
  7901. 'optional2--',
  7902. "//a[contains(@href,'freefilehosting.net')]");
  7903. }
  7904. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7905. {
  7906. addFileHost(
  7907. "ziddu\.com\/\\w+",
  7908. 'downloads.ziddu.com|downloadfilelinkicon',
  7909. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7910. 'optional--',
  7911. 'optional2--',
  7912. "//a[contains(@href,'ziddu.com')]");
  7913. }
  7914. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7915. {
  7916. addFileHost(
  7917. "exclusiveloader\.com\/\\w+",
  7918. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7919. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7920. 'optional--',
  7921. 'optional2--',
  7922. "//a[contains(@href,'exclusiveloader.com')]");
  7923. }
  7924. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7925. {
  7926. addFileHost(
  7927. "sharerapid\.cz\/\\w+",
  7928. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7929. 'error_div">|404 - Not Found',
  7930. 'optional--',
  7931. 'optional2--',
  7932. "//a[contains(@href,'sharerapid.cz')]");
  7933. }
  7934. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7935. {
  7936. addFileHost(
  7937. "sdilej\.cz\/\\w+",
  7938. 'class="page-download"',
  7939. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7940. 'optional--',
  7941. 'optional2--',
  7942. "//a[contains(@href,'sdilej.cz')]");
  7943. }
  7944. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7945. {
  7946. addFileHost(
  7947. "lafiles\.com\/\\w+",
  7948. '<div id="pay_modes">',
  7949. '<b class="err"></b>',
  7950. 'optional--',
  7951. 'optional2--',
  7952. "//a[contains(@href,'lafiles.com')]");
  7953. }
  7954. if (GM_getValue("Check_acefile_dot_net_links", false))
  7955. {
  7956. addFileHost(
  7957. "acefile\.net\/\\w+",
  7958. 'align=right nowrap><b>',
  7959. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7960. 'optional--',
  7961. 'optional2--',
  7962. "//a[contains(@href,'acefile.net')]");
  7963. }
  7964. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7965. {
  7966. addFileHost(
  7967. "megarapid\.cz\/\\w+",
  7968. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7969. 'error_div">|404 - Not Found',
  7970. 'optional--',
  7971. 'optional2--',
  7972. "//a[contains(@href,'megarapid.cz')]");
  7973. }
  7974. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7975. {
  7976. addFileHost(
  7977. "yadi\.sk\/\\w+",
  7978. 'nb-button _nb-small-button',
  7979. 'error code|Nothing found',
  7980. 'optional--',
  7981. 'optional2--',
  7982. "//a[contains(@href,'yadi.sk')]");
  7983. }
  7984. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7985. {
  7986. addFileHost(
  7987. "hitfile\.net\/\\w+",
  7988. 'class="download-file',
  7989. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  7990. 'optional--',
  7991. 'optional2--',
  7992. "//a[contains(@href,'hitfile.net')]");
  7993. }
  7994. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7995. {
  7996. addFileHost(
  7997. "up.top4top\.net\/\\w+",
  7998. 'start Downlod template',
  7999. 'start err template',
  8000. 'optional--',
  8001. 'optional2--',
  8002. "//a[contains(@href,'up.top4top.net')]");
  8003. }
  8004. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8005. {
  8006. addFileHost(
  8007. "filejoker\.net\/\\w+",
  8008. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8009. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8010. 'optional--',
  8011. 'id="download" class="premium-only">',
  8012. "//a[contains(@href,'filejoker.net')]");
  8013. }
  8014. if (GM_getValue("Check_free_dot_fr_links", false))
  8015. {
  8016. addFileHost(
  8017. "(?:dl.\\.|)free\\.fr",
  8018. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8019. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8020. 'optional--',
  8021. 'optional2--',
  8022. "//a[contains(@href,'dl.free.fr')]");
  8023. }
  8024. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8025. {
  8026. addFileHost(
  8027. "gboxes\.com\/\\w+",
  8028. 'You have requested|color="red">http://www.gboxes.com',
  8029. 'File Not Found|<div style="width:500px;text-align:left;">',
  8030. 'optional--',
  8031. 'optional2--',
  8032. "//a[contains(@href,'gboxes.com')]");
  8033. }
  8034. if (GM_getValue("Check_led_dot_wf_links", false))
  8035. {
  8036. addFileHost(
  8037. "led\.wf\/\\w+",
  8038. 'logo_0.png|downloads.gif"|verifycode',
  8039. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8040. 'optional--',
  8041. 'available only for Premium users',
  8042. "//a[contains(@href,'led.wf')]");
  8043. }
  8044. if (GM_getValue("Check_lan_dot_wf_links", false))
  8045. {
  8046. addFileHost(
  8047. "lan\.wf\/\\w+",
  8048. 'logo_0.png|downloads.gif"|verifycode',
  8049. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8050. 'optional--',
  8051. 'available only for Premium users',
  8052. "//a[contains(@href,'lan.wf')]");
  8053. }
  8054. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8055. {
  8056. addFileHost(
  8057. "adlink\.wf\/\\w+",
  8058. 'logo_0.png|downloads.gif"|verifycode',
  8059. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8060. 'optional--',
  8061. 'available only for Premium users',
  8062. "//a[contains(@href,'adlink.wf')]");
  8063. }
  8064. if (GM_getValue("Check_click_dot_tf_links", false))
  8065. {
  8066. addFileHost(
  8067. "click\.tf\/\\w+",
  8068. 'logo_0.png|downloads.gif"|verifycode',
  8069. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8070. 'optional--',
  8071. 'available only for Premium users',
  8072. "//a[contains(@href,'click.tf')]");
  8073. }
  8074. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8075. {
  8076. addFileHost(
  8077. "ssh\.tf\/\\w+",
  8078. 'logo_0.png|downloads.gif"|verifycode',
  8079. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8080. 'optional--',
  8081. 'available only for Premium users',
  8082. "//a[contains(@href,'ssh.tf')]");
  8083. }
  8084. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8085. {
  8086. addFileHost(
  8087. "ssh\.yt\/\\w+",
  8088. 'logo_0.png|downloads.gif"|verifycode',
  8089. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8090. 'optional--',
  8091. 'available only for Premium users',
  8092. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8093. }
  8094. if (GM_getValue("Check_yep_dot_pm_links", false))
  8095. {
  8096. addFileHost(
  8097. "yep\.pm\/\\w+",
  8098. 'logo_0.png|downloads.gif"|verifycode',
  8099. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8100. 'optional--',
  8101. 'available only for Premium users',
  8102. "//a[contains(@href,'yep.pm')]");
  8103. }
  8104. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8105. {
  8106. addFileHost(
  8107. "kyc\.pm\/\\w+",
  8108. 'logo_0.png|downloads.gif"|verifycode',
  8109. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8110. 'optional--',
  8111. 'available only for Premium users',
  8112. "//a[contains(@href,'kyc.pm')]");
  8113. }
  8114. if (GM_getValue("Check_brupload_dot_net_links", false))
  8115. {
  8116. addFileHost(
  8117. "brupload\.net\/\\w+",
  8118. 'Download Gratuito',
  8119. '<div style="width:500px;text-align:left;">',
  8120. 'optional--',
  8121. 'optional2--',
  8122. "//a[contains(@href,'brupload.net')]");
  8123. }
  8124. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8125. {
  8126. addFileHost(
  8127. "cloudzilla\.to\/\\w+",
  8128. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8129. 'File not found|/imgs/broken.png',
  8130. 'optional--',
  8131. 'optional2--',
  8132. "//a[contains(@href,'cloudzilla.to')]");
  8133. }
  8134. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8135. {
  8136. addFileHost(
  8137. "clicknupload\.com\/\\w+",
  8138. 'name="method_free',
  8139. 'File Not Found',
  8140. 'optional--',
  8141. 'optional2--',
  8142. "//a[contains(@href,'clicknupload.com')]");
  8143. }
  8144. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8145. {
  8146. addFileHost(
  8147. "clicknupload\.me\/\\w+",
  8148. 'name="method_free',
  8149. 'File Not Found',
  8150. 'optional--',
  8151. 'optional2--',
  8152. "//a[contains(@href,'clicknupload.me')]");
  8153. }
  8154. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8155. {
  8156. addFileHost(
  8157. "clicknupload\.link\/\\w+",
  8158. 'name="method_free',
  8159. 'File Not Found',
  8160. 'optional--',
  8161. 'optional2--',
  8162. "//a[contains(@href,'clicknupload.link')]");
  8163. }
  8164. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8165. {
  8166. addFileHost(
  8167. "ex-load\.com\/\\w+",
  8168. 'name="method_free|<p>Download File:</p>',
  8169. 'Folder Not Found|File Not Found|Error 404',
  8170. 'optional--',
  8171. 'class="downprem wow bounceInLeft',
  8172. "//a[contains(@href,'ex-load.com')]");
  8173. }
  8174. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8175. {
  8176. addFileHost(
  8177. "hexupload\.com\/\\w+",
  8178. 'button" value="Free|type="submit" value=""',
  8179. 'File Not Found|<div style="width:500px;text-align:left;">',
  8180. 'optional--',
  8181. 'optional2--',
  8182. "//a[contains(@href,'hexupload.com')]");
  8183. }
  8184. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8185. {
  8186. addFileHost(
  8187. "wizupload\.com\/\\w+",
  8188. 'btn_download|class="downloadbtn"',
  8189. '>File Not Found<',
  8190. 'optional--',
  8191. 'optional2--',
  8192. "//a[contains(@href,'wizupload.com')]");
  8193. }
  8194. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8195. {
  8196. addFileHost(
  8197. "inclouddrive\.com\/\\w+",
  8198. 'initfreedownload',
  8199. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8200. 'optional--',
  8201. 'optional2--',
  8202. "//a[contains(@href,'inclouddrive.com')]");
  8203. }
  8204. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8205. {
  8206. addFileHost(
  8207. "radicalshare\.com\/\\w+",
  8208. 'value="download1|name="method_free"',
  8209. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8210. 'optional--',
  8211. 'optional2--',
  8212. "//a[contains(@href,'radicalshare.com')]");
  8213. }
  8214. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8215. {
  8216. addFileHost(
  8217. "sharemods\.com\/\\w+",
  8218. 'name="method_free"',
  8219. 'File Not Found<',
  8220. 'optional--',
  8221. 'optional2--',
  8222. "//a[contains(@href,'sharemods.com')]");
  8223. }
  8224. if (GM_getValue("Check_hostr_dot_co_links", false))
  8225. {
  8226. addFileHost(
  8227. "hostr\.co\/\\w+",
  8228. 'method="get"',
  8229. 'File not found<|error-page',
  8230. 'optional--',
  8231. 'optional2--',
  8232. "//a[contains(@href,'hostr.co')]");
  8233. }
  8234. if (GM_getValue("Check_filepi_dot_com_links", false))
  8235. {
  8236. addFileHost(
  8237. "filepi\.com\/\\w+",
  8238. 'id="button_start">',
  8239. 'File not found',
  8240. 'optional--',
  8241. 'optional2--',
  8242. "//a[contains(@href,'filepi.com')]");
  8243. }
  8244. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8245. {
  8246. addFileHost(
  8247. "tikfile\.com\/\\w+",
  8248. 'btn_download',
  8249. 'File Not Found|file was removed|Reason for deletion',
  8250. 'optional--',
  8251. 'optional2--',
  8252. "//a[contains(@href,'tikfile.com')]");
  8253. }
  8254. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8255. {
  8256. addFileHost(
  8257. "cloudsix\.me\/\\w+",
  8258. 'name="method_free"',
  8259. 'File Not Found|width:500px;text-align:left;">',
  8260. 'optional--',
  8261. 'optional2--',
  8262. "//a[contains(@href,'cloudsix.me')]");
  8263. }
  8264. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8265. {
  8266. addFileHost(
  8267. "neodrive\.co\/\\w+",
  8268. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8269. 'File not found|/imgs/broken.png',
  8270. 'optional--',
  8271. 'optional2--',
  8272. "//a[contains(@href,'neodrive.co')]");
  8273. }
  8274. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8275. {
  8276. addFileHost(
  8277. "chayfile\.com\/\\w+",
  8278. 'name="method_free"',
  8279. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8280. 'optional--',
  8281. 'optional2--',
  8282. "//a[contains(@href,'chayfile.com')]");
  8283. }
  8284. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8285. {
  8286. addFileHost(
  8287. "xfileload\.com\/\\w+",
  8288. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8289. '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..|הקובץ שחיפשת לא נמצא.',
  8290. 'optional--',
  8291. 'optional2--',
  8292. "//a[contains(@href,'xfileload.com')]");
  8293. }
  8294. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8295. {
  8296. addFileHost(
  8297. "rockfile\.eu\/\\w+",
  8298. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8299. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8300. 'optional--',
  8301. 'optional2--',
  8302. "//a[contains(@href,'rockfile.eu')]",
  8303. true);
  8304. }
  8305. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8306. {
  8307. addFileHost(
  8308. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8309. 'i/icon/dll.png"|>Start download<br',
  8310. 'no longer available<|i/ino.png"',
  8311. 'optional--',
  8312. 'optional2--',
  8313. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8314. }
  8315. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8316. {
  8317. addFileHost(
  8318. "ozofiles\.com\/\\w+",
  8319. 'button" value="Free|name="method_free',
  8320. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8321. 'optional--',
  8322. 'optional2--',
  8323. "//a[contains(@href,'ozofiles.com')]");
  8324. }
  8325. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8326. {
  8327. addFileHost(
  8328. "userscloud\.com\/\\w+",
  8329. 'btn_download|class="label label-success">',
  8330. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8331. 'optional--',
  8332. 'optional2--',
  8333. "//a[contains(@href,'userscloud.com')]");
  8334. }
  8335. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8336. {
  8337. addFileHost(
  8338. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8339. 'class="button download',
  8340. 'internal server error',
  8341. 'optional--',
  8342. 'optional2--',
  8343. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8344. }
  8345. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8346. {
  8347. addFileHost(
  8348. "kb.simple-aja\.info\/\\w+",
  8349. 'class="button download',
  8350. 'internal server error|<p>404</p>',
  8351. 'optional--',
  8352. 'optional2--',
  8353. "//a[contains(@href,'kb.simple')]");
  8354. }
  8355. if (GM_getValue("Check_faststore_dot_org_links", false))
  8356. {
  8357. addFileHost(
  8358. "faststore\.org\/\\w+",
  8359. 'name="method_free',
  8360. 'File Not Found',
  8361. 'optional--',
  8362. 'optional2--',
  8363. "//a[contains(@href,'faststore.org')]");
  8364. }
  8365. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8366. {
  8367. addFileHost(
  8368. "prefiles\.com\/\\w+",
  8369. 'id="method_free',
  8370. 'File not Found',
  8371. 'optional--',
  8372. 'optional2--',
  8373. "//a[contains(@href,'prefiles.com')]");
  8374. }
  8375. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8376. {
  8377. addFileHost(
  8378. "doraupload\.com\/\\w+",
  8379. 'btn_download|name="method_free',
  8380. 'class="error-code|Could Not Be Found',
  8381. 'optional--',
  8382. 'optional2--',
  8383. "//a[contains(@href,'doraupload.com')]");
  8384. }
  8385. if (GM_getValue("Check_openload_dot_io_links", false))
  8386. {
  8387. addFileHost(
  8388. "openload\.io\/\\w+",
  8389. 'btn btn-primary|class="count">|secondsleftouter',
  8390. 'class="jumbotron">|We are sorry',
  8391. 'optional--',
  8392. 'optional2--',
  8393. "//a[contains(@href,'openload.io')]");
  8394. }
  8395. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8396. {
  8397. addFileHost(
  8398. "zxcfiles\.com\/\\w+",
  8399. 'class="downloadbtn',
  8400. 'File Not Found',
  8401. 'optional--',
  8402. 'optional2--',
  8403. "//a[contains(@href,'zxcfiles.com')]");
  8404. }
  8405. if (GM_getValue("Check_up07_dot_net_links", false))
  8406. {
  8407. addFileHost(
  8408. "up07\.net\/\\w+",
  8409. 'name="method_free',
  8410. 'File Not Found',
  8411. 'optional--',
  8412. 'optional2--',
  8413. "//a[contains(@href,'up07.net')]");
  8414. }
  8415. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8416. {
  8417. addFileHost(
  8418. "fileupload\.pw\/\\w+",
  8419. 'value="Free"',
  8420. 'File Not Found',
  8421. 'optional--',
  8422. 'optional2--',
  8423. "//a[contains(@href,'fileupload.pw')]");
  8424. }
  8425. if (GM_getValue("Check_4upld_dot_com_links", false))
  8426. {
  8427. addFileHost(
  8428. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8429. 'alt="Download Now"|content="Download file">|btn-free-element',
  8430. '<title>Error|content="error|File not found',
  8431. 'optional--',
  8432. 'optional2--',
  8433. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8434. }
  8435. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8436. {
  8437. addFileHost(
  8438. "(?:.swoopshare)\\.com\/\\w+",
  8439. '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',
  8440. '<input type="file" name="f"',
  8441. 'optional--',
  8442. 'optional2--',
  8443. "//a[contains(@href,'swoopshare.com')]"
  8444. );
  8445. }
  8446. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8447. {
  8448. addFileHost(
  8449. "cloudshares\.net\/\\w+",
  8450. '"method_free|"Low Speed Download|submit" name="go',
  8451. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8452. 'optional--',
  8453. 'optional2--',
  8454. "//a[contains(@href,'cloudshares.net')]"
  8455. );
  8456. }
  8457. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8458. {
  8459. addFileHost(
  8460. "allmyvideos\.net\/\\w+",
  8461. 'Continue to Video',
  8462. 'File Not Found|class="err">Removed for',
  8463. 'optional--',
  8464. 'optional2--',
  8465. "//a[contains(@href,'allmyvideos.net')]"
  8466. );
  8467. }
  8468. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8469. {
  8470. addFileHost(
  8471. "vodlocker\.com\/\\w+",
  8472. 'Proceed to video',
  8473. 'Not Found',
  8474. 'optional--',
  8475. 'optional2--',
  8476. "//a[contains(@href,'vodlocker.com')]"
  8477. );
  8478. }
  8479. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8480. {
  8481. addFileHost(
  8482. "vidbull\.com\/\\w+",
  8483. 'Verifying Video Request',
  8484. 'File Not Found',
  8485. 'optional--',
  8486. 'optional2--',
  8487. "//a[contains(@href,'vidbull.com')]");
  8488. }
  8489. if (GM_getValue("Check_novamov_dot_com_links", false))
  8490. {
  8491. addFileHost(
  8492. "novamov\.com\/\\w+",
  8493. 'For version detection',
  8494. 'file no longer exists',
  8495. 'optional--',
  8496. 'optional2--',
  8497. "//a[contains(@href,'novamov.com')]"
  8498. );
  8499. }
  8500. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8501. {
  8502. addFileHost(
  8503. "filehoot\.com\/\\w+",
  8504. 'Continue to watch',
  8505. 'File Not Found',
  8506. 'optional--',
  8507. 'optional2--',
  8508. "//a[contains(@href,'filehoot.com')]"
  8509. );
  8510. }
  8511. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8512. {
  8513. addFileHost(
  8514. "stagevu\.com\/\\w+",
  8515. 'Video Info',
  8516. 'No video with the provided',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'stagevu.com')]"
  8520. );
  8521. }
  8522. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8523. {
  8524. addFileHost(
  8525. "cloudtime\.to\/\\w+",
  8526. 'Download the video',
  8527. 'no longer exists',
  8528. 'optional--',
  8529. 'optional2--',
  8530. "//a[contains(@href,'cloudtime.to')]"
  8531. );
  8532. }
  8533. if (GM_getValue("Check_streamin_dot_to_links", false))
  8534. {
  8535. addFileHost(
  8536. "streamin\.to\/\\w+",
  8537. 'id="btn_download',
  8538. 'Not Found|Copyright Infringement|File Deleted',
  8539. 'optional--',
  8540. 'optional2--',
  8541. "//a[contains(@href,'streamin.to')]"
  8542. );
  8543. }
  8544. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8545. {
  8546. addFileHost(
  8547. "videoweed\.es\/\\w+",
  8548. 'version detection',
  8549. 'no longer exists',
  8550. 'optional--',
  8551. 'optional2--',
  8552. "//a[contains(@href,'videoweed.es')]"
  8553. );
  8554. }
  8555. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8556. {
  8557. addFileHost(
  8558. "nowvideo\.sx\/\\w+",
  8559. 'Download this video|value="submit">Continue',
  8560. 'no longer exists',
  8561. 'optional--',
  8562. 'optional2--',
  8563. "//a[contains(@href,'nowvideo.sx')]"
  8564. );
  8565. }
  8566. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8567. {
  8568. addFileHost(
  8569. "thevideo\.me\/\\w+",
  8570. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8571. 'File Not Found',
  8572. 'optional--',
  8573. 'optional2--',
  8574. "//a[contains(@href,'thevideo.me')]"
  8575. );
  8576. }
  8577. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8578. {
  8579. addFileHost(
  8580. "gorillavid\.in\/\\w+",
  8581. 'Wait 5 seconds',
  8582. 'File Not Found',
  8583. 'optional--',
  8584. 'optional2--',
  8585. "//a[contains(@href,'gorillavid.in')]"
  8586. );
  8587. }
  8588. if (GM_getValue("Check_thefile_dot_me_links", false))
  8589. {
  8590. addFileHost(
  8591. "thefile\.me\/\\w+",
  8592. 'Choose free or',
  8593. '',
  8594. 'optional--',
  8595. 'optional2--',
  8596. "//a[contains(@href,'thefile.me')]"
  8597. );
  8598. }
  8599. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8600. {
  8601. addFileHost(
  8602. "vidzi\.tv\/\\w+",
  8603. 'video-embed-modal row',
  8604. 'File Not Found|file was deleted',
  8605. 'optional--',
  8606. 'optional2--',
  8607. "//a[contains(@href,'vidzi.tv')]"
  8608. );
  8609. }
  8610. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8611. {
  8612. addFileHost(
  8613. "filenuke\.com\/\\w+",
  8614. 'Download File',
  8615. 'Earn with us',
  8616. 'optional--',
  8617. 'optional2--',
  8618. "//a[contains(@href,'filenuke.com')]"
  8619. );
  8620. }
  8621. if (GM_getValue("Check_vidto_dot_me_links", false))
  8622. {
  8623. addFileHost(
  8624. "vidto\.me\/\\w+",
  8625. 'Proceed to video',
  8626. 'Not Found',
  8627. 'optional--',
  8628. 'optional2--',
  8629. "//a[contains(@href,'vidto.me')]"
  8630. );
  8631. }
  8632. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8633. {
  8634. addFileHost(
  8635. "vidspot\.net\/\\w+",
  8636. 'Duration|method_free',
  8637. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8638. 'optional--',
  8639. 'optional2--',
  8640. "//a[contains(@href,'vidspot.net')]"
  8641. );
  8642. }
  8643. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8644. {
  8645. addFileHost(
  8646. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8647. 'Download File',
  8648. 'File Not Found',
  8649. 'optional--',
  8650. 'optional2--',
  8651. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8652. );
  8653. }
  8654. if (GM_getValue("Check_movpod_dot_in_links", false))
  8655. {
  8656. addFileHost(
  8657. "movpod\.in\/\\w+",
  8658. 'Continue',
  8659. 'File Not Found',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'movpod.in')]"
  8663. );
  8664. }
  8665. if (GM_getValue("Check_down4files_dot_com_links", false))
  8666. {
  8667. addFileHost(
  8668. "down4files\.com\/\\w+",
  8669. 'down_table.png',
  8670. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8671. 'optional--',
  8672. 'optional2--',
  8673. "//a[contains(@href,'down4files.com')]"
  8674. );
  8675. }
  8676. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8677. {
  8678. addFileHost(
  8679. "storefiles\.co\/\\w+",
  8680. 'btn_download',
  8681. 'No such file|>Error<|mqmaintitle">',
  8682. 'optional--',
  8683. 'optional2--',
  8684. "//a[contains(@href,'storefiles.co')]"
  8685. );
  8686. }
  8687. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8688. {
  8689. addFileHost(
  8690. "filehost\.pw\/\\w+",
  8691. 'name="method_free',
  8692. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8693. 'optional--',
  8694. 'optional2--',
  8695. "//a[contains(@href,'filehost.pw')]"
  8696. );
  8697. }
  8698. if (GM_getValue("Check_uplea_dot_com_links", false))
  8699. {
  8700. addFileHost(
  8701. "uplea\.com\/\\w+",
  8702. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8703. 'expired link|ou est invalide',
  8704. 'optional--',
  8705. 'optional2--',
  8706. "//a[contains(@href,'uplea.com/dl')]",
  8707. true);
  8708. }
  8709. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8710. {
  8711. addFileHost(
  8712. "toutbox\.fr\/\\w+",
  8713. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8714. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8715. 'Serviço temporariamente indisponível',
  8716. 'optional2--',
  8717. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8718. );
  8719. }
  8720. if (GM_getValue("Check_openload_dot_co_links", false))
  8721. {
  8722. addFileHost(
  8723. "openload\.co\/\\w+",
  8724. 'id="downloadTimer">|button dlbutton',
  8725. 'jumbotron{color|got deleted|center !important',
  8726. 'optional--',
  8727. 'optional2--',
  8728. "//a[contains(@href,'openload.co')]"
  8729. );
  8730. }
  8731. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8732. {
  8733. addFileHost(
  8734. "lolabits\.es\/\\w+",
  8735. 'Descargar:',
  8736. '<title>Archivos de usuario',
  8737. 'Service Unavailable',
  8738. 'optional2--',
  8739. "//a[contains(@href,'lolabits.es')]"
  8740. );
  8741. }
  8742. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8743. {
  8744. addFileHost(
  8745. "alfafile\.net\/\\w+",
  8746. 'id="slow_download_btn',
  8747. 'class="error-box">',
  8748. 'optional--',
  8749. 'optional2--',
  8750. "//a[contains(@href,'alfafile.net')]"
  8751. );
  8752. }
  8753. if (GM_getValue("Check_multiup_dot_org_links", false))
  8754. {
  8755. addFileHost(
  8756. "multiup\.org\/\\w+",
  8757. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8758. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8759. 'optional--',
  8760. 'optional2--',
  8761. "//a[contains(@href,'multiup.org')]"
  8762. );
  8763. }
  8764. if (GM_getValue("Check_file_dot_al_links", false))
  8765. {
  8766. addFileHost(
  8767. "file\\.al",
  8768. 'method_free',
  8769. 'style="width:500px;text-align:left;">',
  8770. 'optional--',
  8771. 'optional2--',
  8772. "//a[contains(@href,'file.al')]"
  8773. );
  8774. }
  8775. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8776. {
  8777. addFileHost(
  8778. "devilshare\.net\/\\w+",
  8779. '<div class="large-12" id="download">',
  8780. '(Link: 0 Invalid)|File Not Found',
  8781. 'optional--',
  8782. 'optional2--',
  8783. "//a[contains(@href,'devilshare.net')]"
  8784. );
  8785. }
  8786. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8787. {
  8788. addFileHost(
  8789. "dailyuploads\.net\/\\w+",
  8790. 'id="downloadBtnClickOrignal',
  8791. '<div style="width:500px;text-align:left;">',
  8792. 'optional--',
  8793. 'optional2--',
  8794. "//a[contains(@href,'dailyuploads.net')]"
  8795. );
  8796. }
  8797. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8798. {
  8799. addFileHost(
  8800. "datoteke\.com\/\\w+",
  8801. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8802. '&nbsp;File has been removed',
  8803. 'optional--',
  8804. '<title>Error - Datoteke',
  8805. "//a[contains(@href,'datoteke.com')]"
  8806. );
  8807. }
  8808. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8809. {
  8810. addFileHost(
  8811. "sharehost\.eu\/\\w+",
  8812. '/?v=download_free&',
  8813. 'Errors occured|Wystąpiły błędy',
  8814. 'optional--',
  8815. 'optional2--',
  8816. "//a[contains(@href,'sharehost.eu')]"
  8817. );
  8818. }
  8819. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8820. {
  8821. addFileHost(
  8822. "pornfile\.cz",
  8823. 'Stáhnout soubor|Stáhnout pomalu',
  8824. 'Soubor byl smazán|Stránka nenalezena',
  8825. 'optional--',
  8826. 'optional2--',
  8827. "//a[contains(@href,'pornfile.cz')]"
  8828. );
  8829. }
  8830. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8831. {
  8832. addFileHost(
  8833. "pornoid\.cz\/\\w+",
  8834. 'class="btn btn-large btn-download',
  8835. 'Soubor byl smazán',
  8836. 'optional--',
  8837. 'optional2--',
  8838. "//a[contains(@href,'pornoid.cz')]"
  8839. );
  8840. }
  8841. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8842. {
  8843. addFileHost(
  8844. "file-share\.top\/\\w+",
  8845. 'btn-success btn-lg download',
  8846. 'Stránka neexistuje|404 Not Found',
  8847. 'optional--',
  8848. 'optional2--',
  8849. "//a[contains(@href,'file-share.top')]"
  8850. );
  8851. }
  8852. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8853. {
  8854. addFileHost(
  8855. "bitster\.cz\/",
  8856. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8857. 'section" content=""',
  8858. 'optional--',
  8859. 'optional2--',
  8860. "//a[contains(@href,'bitster.cz')]"
  8861. );
  8862. }
  8863. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8864. {
  8865. addFileHost(
  8866. "rapidu\.net\/\\w+",
  8867. 'onclick="downloadFreeFile',
  8868. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8869. 'optional--',
  8870. 'optional2--',
  8871. "//a[contains(@href,'rapidu.net')]"
  8872. );
  8873. }
  8874. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8875. {
  8876. addFileHost(
  8877. "dinoshare\.cz\/\\w+",
  8878. 'class="download-button"',
  8879. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8880. 'optional--',
  8881. 'optional2--',
  8882. "//a[contains(@href,'dinoshare.cz')]"
  8883. );
  8884. }
  8885. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8886. {
  8887. addFileHost(
  8888. "bytewhale\.com\/\\w+",
  8889. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8890. 'var rawest = "0 MB|Copyrights Claim</div>',
  8891. 'optional--',
  8892. 'This file is available for premium members only',
  8893. "//a[contains(@href,'bytewhale.com')]"
  8894. );
  8895. }
  8896. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  8897. {
  8898. addFileHost(
  8899. "rapidrar\.com\/\\w+",
  8900. 'value="Free Download',
  8901. '<div style="width:500px;text-align:left;">',
  8902. 'optional--',
  8903. 'optional--',
  8904. "//a[contains(@href,'rapidrar.com')]"
  8905. );
  8906. }
  8907. if (GM_getValue("Check_filesupload_dot_org_links", false))
  8908. {
  8909. addFileHost(
  8910. "filesupload\.org\/\\w+",
  8911. '<a href="/download-or-watch/',
  8912. 'File not found',
  8913. 'optional--',
  8914. 'optional--',
  8915. "//a[contains(@href,'filesupload.org')]"
  8916. );
  8917. }
  8918. if (GM_getValue("Check_filecad_dot_com_links", false))
  8919. {
  8920. addFileHost(
  8921. "filecad\.com\/\\w+",
  8922. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  8923. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  8924. 'optional--',
  8925. 'optional--',
  8926. "//a[contains(@href,'filecad.com')]"
  8927. );
  8928. }
  8929. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  8930. {
  8931. addFileHost(
  8932. "file.up09\.com\/\\w+",
  8933. 'name="method_free',
  8934. 'style="width:500px;text-align:left;">',
  8935. 'optional--',
  8936. 'optional--',
  8937. "//a[contains(@href,'file.up09.com')]"
  8938. );
  8939. }
  8940. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  8941. {
  8942. addFileHost(
  8943. "lunaticfiles\.com\/\\w+",
  8944. 'name="method_free"',
  8945. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  8946. 'optional--',
  8947. 'optional--',
  8948. "//a[contains(@href,'lunaticfiles.com')]"
  8949. );
  8950. }
  8951. if (GM_getValue("Check_upload_dot_af_links", false))
  8952. {
  8953. addFileHost(
  8954. "upload\.af\/\\w+",
  8955. 'id="method_free"',
  8956. '<h1>File Not Found</|could not be found|est pas disponible|Datei konnte nicht gefunden werden|م يتم إيجاد الملف المطلوب , عذراً للإزعاج|nie zostal odnaleziony|ファイルが見つかりません',
  8957. 'optional--',
  8958. 'optional--',
  8959. "//a[contains(@href,'upload.af')]"
  8960. );
  8961. }
  8962. if (GM_getValue("Check_filedwon_dot_info_links", false))
  8963. {
  8964. addFileHost(
  8965. "filedwon\.info\/\\w+",
  8966. 'name="method_free"',
  8967. 'File Not Found</b>|style="width:500px;text-align:left;">',
  8968. 'optional--',
  8969. 'optional--',
  8970. "//a[contains(@href,'filedwon.info')]"
  8971. );
  8972. }
  8973. if (GM_getValue("Check_uplod_dot_it_links", false))
  8974. {
  8975. addFileHost(
  8976. "uplod\.it\/\\w+",
  8977. 'value="download2">|name="method_free',
  8978. '<Title>Download </Title>',
  8979. 'optional--',
  8980. 'optional--',
  8981. "//a[contains(@href,'uplod.it')]"
  8982. );
  8983. }
  8984. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  8985. {
  8986. addFileHost(
  8987. "abelhas\.pt\/\\w+",
  8988. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  8989. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  8990. 'optional--',
  8991. 'optional--',
  8992. "//a[contains(@href,'abelhas.pt')]"
  8993. );
  8994. }
  8995. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  8996. {
  8997. addFileHost(
  8998. "disk.yandex\.com\/\\w+",
  8999. 'nb-button _nb-small-button',
  9000. 'error code|Nothing found',
  9001. 'optional--',
  9002. 'optional2--',
  9003. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9004. }
  9005. if (GM_getValue("Check_filespace_dot_com_links", false))
  9006. {
  9007. addFileHost(
  9008. "filespace\.com\/\\w+",
  9009. '"method_free',
  9010. '<div style="text-align:left;"><ul>|>File not found.<',
  9011. 'optional1--',
  9012. 'optional2--',
  9013. "//a[contains(@href,'filespace.com')]");
  9014. }
  9015. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9016. {
  9017. addFileHost(
  9018. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9019. 'name="downloadFile|id="downloadFile|value="Wait',
  9020. '<title>File not found</title>|>Error:<',
  9021. 'optional1--',
  9022. 'optional2--',
  9023. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9024. }
  9025. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9026. {
  9027. addFileHost(
  9028. "ncrypt\.in\/\\w+",
  9029. 'Sicherheitsabfrage:|Securitycheck:',
  9030. 'does not exist|existiert nicht',
  9031. 'optional1--',
  9032. 'optional2--',
  9033. "//a[contains(@href,'ncrypt.in')]");
  9034. }
  9035. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9036. {
  9037. addFileHost(
  9038. "jeodrive\.com\/\\w+",
  9039. 'btn-lg regular',
  9040. 'Not found',
  9041. 'optional1--',
  9042. 'optional2--',
  9043. "//a[contains(@href,'jeodrive.com')]");
  9044. }
  9045. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9046. {
  9047. addFileHost(
  9048. "myfiles\.onl\/\\w+",
  9049. 'value="Free"',
  9050. '<div style="width:500px;text-align:left;">',
  9051. 'optional1--',
  9052. 'optional2--',
  9053. "//a[contains(@href,'myfiles.onl')]");
  9054. }
  9055. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9056. {
  9057. addFileHost(
  9058. "uploadserv\.com\/\\w+",
  9059. 'color="red">http://uploadserv.com/',
  9060. 'content="Download File ">|<title>Download </title>',
  9061. 'optional1--',
  9062. 'optional2--',
  9063. "//a[contains(@href,'uploadserv.com')]");
  9064. }
  9065. if (GM_getValue("Check_keepshare_dot_net_links", false))
  9066. {
  9067. addFileHost(
  9068. "keepshare\.net\/\\w+",
  9069. 'method_free',
  9070. '<div style="width:500px;text-align:left;">',
  9071. 'optional1--',
  9072. 'optional2--',
  9073. "//a[contains(@href,'keepshare.net')]");
  9074. }
  9075. if (GM_getValue("Check_oload_dot_net_links", false))
  9076. {
  9077. addFileHost(
  9078. "oload\.net\/\\w+",
  9079. '<font color="red">http://oload.net',
  9080. 'class="page-ttl">',
  9081. 'optional1--',
  9082. 'optional2--',
  9083. "//a[contains(@href,'oload.net')]");
  9084. }
  9085. if (GM_getValue("Check_filescdn_dot_com_links", false))
  9086. {
  9087. addFileHost(
  9088. "filescdn\.com\/\\w+",
  9089. 'btn bg-green-40|btn_download',
  9090. 'icon-warning text-danger',
  9091. 'optional1--',
  9092. 'optional2--',
  9093. "//a[contains(@href,'filescdn.com')]");
  9094. }
  9095. if (GM_getValue("Check_bankupload_dot_com_links", false))
  9096. {
  9097. addFileHost(
  9098. "bankupload\.com\/\\w+",
  9099. 'id="btn_download"|1.0 GB',
  9100. '<div style="width:500px;text-align:left;">',
  9101. 'optional1--',
  9102. ' GB',
  9103. "//a[contains(@href,'bankupload.com')]");
  9104. }
  9105. if (GM_getValue("Check_katfile_dot_com_links", false))
  9106. {
  9107. addFileHost(
  9108. "katfile\.com\/\\w+",
  9109. 'KB| MB|1.0 GB',
  9110. 'images/file_not_found.png"',
  9111. 'optional1--',
  9112. ' GB',
  9113. "//a[contains(@href,'katfile.com')]");
  9114. }
  9115. if (GM_getValue("Check_filesin_dot_space_links", false))
  9116. {
  9117. addFileHost(
  9118. "filesin\.space\/\\w+",
  9119. 'id="btn_download"',
  9120. 'class="err">',
  9121. 'optional1--',
  9122. 'optional2',
  9123. "//a[contains(@href,'filesin.space')]");
  9124. }
  9125. if (GM_getValue("Check_upnito_dot_sk_links", false))
  9126. {
  9127. addFileHost(
  9128. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  9129. 'download.php',
  9130. 'notfound|upload\\-suborov\\.php"',
  9131. 'optional--',
  9132. 'optional2--',
  9133. "//a[contains(@href,'upnito.sk')]"
  9134. );
  9135. }
  9136. if (GM_getValue("Check_alltu_dot_eu_links", false))
  9137. {
  9138. addFileHost(
  9139. "alltu\.eu\/\\w+",
  9140. 'download-timer',
  9141. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9142. 'optional1--',
  9143. 'optional2',
  9144. "//a[contains(@href,'alltu.eu')]");
  9145. }
  9146. if (GM_getValue("Check_novafile_dot_com_links", false))
  9147. {
  9148. addFileHost(
  9149. "novafile\.com\/\\w+",
  9150. 'id="regular-download',
  9151. 'id="file-not-found',
  9152. 'optional1--',
  9153. 'id="premium-only',
  9154. "//a[contains(@href,'novafile.com')]");
  9155. }
  9156. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9157. {
  9158. addFileHost(
  9159. "uploadgig\.com\/\\w+",
  9160. 'btn-default',
  9161. 'File not found',
  9162. 'optional1--',
  9163. 'optional2',
  9164. "//a[contains(@href,'uploadgig.com')]");
  9165. }
  9166. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9167. {
  9168. addFileHost(
  9169. "mexashare\.com\/\\w+",
  9170. 'method_free',
  9171. '404 Error|15px;border-radius:15px">|<div style="text-align:left;width:550px">|/images/error.png"',
  9172. 'optional1--',
  9173. 'optional2',
  9174. "//a[contains(@href,'mexashare.com')]");
  9175. }
  9176. if (GM_getValue("Check_daofile_dot_com_links", false))
  9177. {
  9178. addFileHost(
  9179. "daofile\.com\/\\w+",
  9180. 'class="captcha_code',
  9181. 'style="width:500px;text-align:left;">',
  9182. 'optional1--',
  9183. 'optional2',
  9184. "//a[contains(@href,'daofile.com')]");
  9185. }
  9186. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9187. {
  9188. addFileHost(
  9189. "imagenetz\.de\/\\w+",
  9190. 'id="download',
  9191. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9192. 'optional1--',
  9193. 'optional2',
  9194. "//a[contains(@href,'imagenetz.de')]");
  9195. }
  9196. if (GM_getValue("Check_uloz_dot_to_links", false))
  9197. {
  9198. addFileHost(
  9199. "uloz\.to",
  9200. 'limitedDownloadButton|Stáhnout pomalu',
  9201. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9202. 'optional1--',
  9203. 'optional2',
  9204. "//a[contains(@href,'uloz.to')]");
  9205. }
  9206. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9207. {
  9208. addFileHost(
  9209. "ulozto.net",
  9210. 'limitedDownloadButton|Stáhnout pomalu',
  9211. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9212. 'optional1--',
  9213. 'optional2',
  9214. "//a[contains(@href,'ulozto.net')]");
  9215. }
  9216. if (GM_getValue("Check_ulozto_dot_sk_links", false))
  9217. {
  9218. addFileHost(
  9219. "ulozto\.sk",
  9220. 'limitedDownloadButton|Stáhnout pomalu',
  9221. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9222. 'optional1--',
  9223. 'optional2',
  9224. "//a[contains(@href,'ulozto.sk')]");
  9225. }
  9226. if (GM_getValue("Check_ulozto_dot_cz_links", false))
  9227. {
  9228. addFileHost(
  9229. "ulozto\.cz",
  9230. 'limitedDownloadButton|Stáhnout pomalu',
  9231. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9232. 'optional1--',
  9233. 'optional2',
  9234. "//a[contains(@href,'ulozto.cz')]");
  9235. }
  9236. if (GM_getValue("Check_subyshare_dot_com_links", false))
  9237. {
  9238. addFileHost(
  9239. "subyshare\.com\/\\w+",
  9240. 'id="method_free',
  9241. 'file was removed|class="err">|1s">404',
  9242. 'optional1--',
  9243. 'optional2',
  9244. "//a[contains(@href,'subyshare.com')]",
  9245. true);
  9246. }
  9247. if (GM_getValue("Check_fileshareup_dot_com_links", false))
  9248. {
  9249. addFileHost(
  9250. "fileshareup\.com\/\\w+",
  9251. 'download-timer|btn-free-element|content="Download file',
  9252. 'content="Error"|content="error|heading-1">Error<',
  9253. 'optional1--',
  9254. 'optional2',
  9255. "//a[contains(@href,'fileshareup.com')]");
  9256. }
  9257. if (GM_getValue("Check_mystore_dot_to_links", false))
  9258. {
  9259. addFileHost(
  9260. "mystore\.to\/\\w+",
  9261. 'Download File',
  9262. 'file not found',
  9263. 'optional1--',
  9264. 'optional2',
  9265. "//a[contains(@href,'mystore.to/dl')]");
  9266. }
  9267. if (GM_getValue("Check_usercloud_dot_net_links", false))
  9268. {
  9269. addFileHost(
  9270. "usercloud\.net\/\\w+",
  9271. 'content="download|var seconds = 60|type="password',
  9272. 'content="error|report_file.html">',
  9273. 'optional1--',
  9274. 'optional2',
  9275. "//a[contains(@href,'usercloud.net')]");
  9276. }
  9277. if (GM_getValue("Check_workupload_dot_com_links", false))
  9278. {
  9279. addFileHost(
  9280. "workupload\.com\/\\w+",
  9281. 'content="Download|id="download"',
  9282. 'File not found|img/not-found.jpg|Error message',
  9283. 'optional1--',
  9284. 'optional2',
  9285. "//a[contains(@href,'workupload.com')]");
  9286. }
  9287. if (GM_getValue("Check_storageserver_dot_co_dot_uk_links", false))
  9288. {
  9289. addFileHost(
  9290. "storageserver(?:\\.co)?\\.uk\/\\w+",
  9291. 'class="download">',
  9292. 'class="error center',
  9293. 'optional1--',
  9294. 'optional2',
  9295. "//a[contains(@href,'storageserver.co.uk')]");
  9296. }
  9297. if (GM_getValue("Check_cloud_dot_mail_dot_ru_links", false))
  9298. {
  9299. addFileHost(
  9300. "cloud(?:\\.mail)?\\.ru\/\\w+",
  9301. '"kind": "file"',
  9302. '"error": "not_exists"',
  9303. 'optional1--',
  9304. 'optional2',
  9305. "//a[contains(@href,'cloud.mail.ru')]");
  9306. }
  9307. if (GM_getValue("Check_bdupload_dot_info_links", false))
  9308. {
  9309. addFileHost(
  9310. "bdupload\.info\/\\w+",
  9311. 'class="downloadbtn">|id="downloadbtn"',
  9312. '<div style="width:1000px;text-align:center;">|>File Not Found',
  9313. 'optional1--',
  9314. 'optional2',
  9315. "//a[contains(@href,'bdupload.info')]");
  9316. }
  9317. if (GM_getValue("Check_wayupload_dot_com_links", false))
  9318. {
  9319. addFileHost(
  9320. "wayupload\.com\/\\w+",
  9321. 'class="nopay-btn gray"',
  9322. 'id="search-icon"|ajax-loader.gif"|id="banner-place"',
  9323. 'optional1--',
  9324. 'optional2',
  9325. "//a[contains(@href,'wayupload.com')]");
  9326. }
  9327. if (GM_getValue("Check_exbit_dot_net_links", false))
  9328. {
  9329. addFileHost(
  9330. "exbit\.net\/\\w+",
  9331. 'class="nopay-btn|href="/download/free/',
  9332. 'File not found',
  9333. 'optional1--',
  9334. 'optional2',
  9335. "//a[contains(@href,'exbit.net')]");
  9336. }
  9337. if (GM_getValue("Check_uploadocean_dot_com_links", false))
  9338. {
  9339. addFileHost(
  9340. "uploadocean\.com\/\\w+",
  9341. 'id="downloadbtn" class="downloadbtn"|id="countdown">Wait',
  9342. 'deleted.png"',
  9343. 'optional1--',
  9344. 'optional2',
  9345. "//a[contains(@href,'uploadocean.com')]");
  9346. }
  9347. if (GM_getValue("Check_fileflares_dot_com_links", false))
  9348. {
  9349. addFileHost(
  9350. "fileflares\.com\/\\w+",
  9351. 'id="downloadbtn"',
  9352. '<div style="width:500px;text-align:left;">',
  9353. 'optional1--',
  9354. 'optional2',
  9355. "//a[contains(@href,'fileflares.com')]");
  9356. }
  9357. if (GM_getValue("Check_erafile_dot_com_links", false))
  9358. {
  9359. addFileHost(
  9360. "erafile\.com\/\\w+",
  9361. 'id="method_free',
  9362. '<div style="width:500px;text-align:left;">',
  9363. 'optional1--',
  9364. 'optional2',
  9365. "//a[contains(@href,'erafile.com')]");
  9366. }
  9367.  
  9368. }
  9369. //start here
  9370.  
  9371. //hosts with direct download, so they must be requested for headers only
  9372. function initFileHostsHeadersOnly()
  9373. {
  9374. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9375. {
  9376. var host = new Array(5);
  9377. host[0] = linkRegex;
  9378. host[1] = isAliveRegex;
  9379. host[2] = isDeadRegex;
  9380. host[3] = xpathEx;
  9381. host[4] = ispremRegex;
  9382. http_file_hosts_headers_only.push(host);
  9383. }
  9384. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9385. {
  9386. addFileHostHeadersOnly(
  9387. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9388. 'Connection: Keep-Alive',
  9389. 'Content-Length: 3857',
  9390. "//a[contains(@href,'uloziste.com')]"
  9391. )
  9392. }
  9393. if (GM_getValue("Check_adrive_dot_com_links", false))
  9394. {
  9395. addFileHostHeadersOnly(
  9396. "adrive\\.com\/public\/\\w+",
  9397. 'Connection: keep-alive',
  9398. 'orig_ref=deleted',
  9399. "//a[contains(@href,'adrive.com')]"
  9400. )
  9401. }
  9402. }
  9403.  
  9404. //CustomRules
  9405. //functions add...Host copied here
  9406. function addObsoleteHost(linkRegex, xpathEx)
  9407. {
  9408. var host = new Array(2);
  9409. host[0] = linkRegex;
  9410. host[1] = xpathEx;
  9411. http_file_hosts_obsolete.push(host);
  9412. }
  9413. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9414. {
  9415. var host = new Array(7);
  9416. host[0] = linkRegex;
  9417. host[1] = isAliveRegex;
  9418. host[2] = isDeadRegex;
  9419. host[3] = isUnavaRegex;
  9420. host[4] = xpathEx;
  9421. tryLoop ? host[5] = true : host[5] = false;
  9422. host[6] = ispremRegex;
  9423. http_file_hosts.push(host);
  9424. }
  9425. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9426. {
  9427. var host = new Array(5);
  9428. host[0] = linkRegex;
  9429. host[1] = isAliveRegex;
  9430. host[2] = isDeadRegex;
  9431. host[3] = xpathEx;
  9432. host[4] = ispremRegex;
  9433. http_file_hosts_headers_only.push(host);
  9434. }
  9435. //takes a fully built rules array and adds the rules to WARLC
  9436. function applyCustomRules(customRules)
  9437. {
  9438. if (!customRules) return;
  9439. var rules, r, i;
  9440. rules = customRules.rules;
  9441. for (i = 0 ; i < rules.length ; i++)
  9442. {
  9443. r = rules[i];
  9444. if (r.enabled)
  9445. {
  9446. switch (r.type)
  9447. {
  9448. case 'single':
  9449. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9450. break;
  9451. case 'headers':
  9452. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9453. break;
  9454. case 'obsolete':
  9455. addObsoleteHost(r.urlregex, r.xpath)
  9456. break;
  9457. }
  9458. }
  9459. }
  9460. }
  9461.  
  9462.  
  9463. function initFileHostsCustom()
  9464. {
  9465. if (Custom_rules && Custom_rules_text)
  9466. {
  9467. var msg = '';
  9468. if (newVersion)
  9469. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9470. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9471. msg = '60 or more days have passed since this notification.\n\n';
  9472. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9473. {
  9474. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9475. msg +=
  9476. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9477. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9478. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9479. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9480. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9481. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9482. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9483. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9484. setTimeout(function(){alert(msg)},0);
  9485. }
  9486. var customRules = parseCustomRules(Custom_rules_text);
  9487. if (customRules.warning || customRules.error)
  9488. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9489. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9490. JSON.stringify(customRules.info, null, ' '));
  9491. applyCustomRules(customRules);
  9492. }
  9493. }
  9494. //end of CustomRules processing
  9495.  
  9496.  
  9497.  
  9498. } //end of function start
  9499.  
  9500.  
  9501.  
  9502. function initClipBoardTools()
  9503. {
  9504. unsafeWindow.copyToClipboard = function(text)
  9505. {
  9506. try
  9507. {
  9508. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9509.  
  9510. var str = Components.classes["@mozilla.org/supports-string;1"].
  9511. createInstance(Components.interfaces.nsISupportsString);
  9512. if (!str) return false;
  9513.  
  9514. str.data = text;
  9515.  
  9516. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9517. createInstance(Components.interfaces.nsITransferable);
  9518. if (!trans) return false;
  9519.  
  9520. trans.addDataFlavor("text/unicode");
  9521. trans.setTransferData("text/unicode", str, text.length * 2);
  9522.  
  9523. var clipid = Components.interfaces.nsIClipboard;
  9524. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9525. if (!clip) return false;
  9526.  
  9527. clip.setData(trans, null, clipid.kGlobalClipboard);
  9528. } catch (e) {
  9529. GM_log("Error copyToClipboard : " + e);
  9530. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9531. }
  9532. }
  9533. }
  9534.  
  9535.  
  9536.  
  9537. //CustomRules
  9538.  
  9539. function escapeRegex(str)
  9540. {
  9541. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9542. }
  9543.  
  9544.  
  9545. //called internally from parseCustomRules.
  9546. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9547. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9548. function makeCustomRule(rule)
  9549. {
  9550. function makeMatchRegex(arrmatch)
  9551. {
  9552. return escapeRegex(arrmatch.join('\n'))
  9553. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9554. .replace(/\n/g,'|'); //join together
  9555. }
  9556. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9557. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9558. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9559. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9560. if (rule.baseurl)
  9561. {
  9562. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9563. for (i = 0 ; i < len ; i++)
  9564. {
  9565. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9566. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9567. {
  9568. 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'])
  9569. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9570. }
  9571. else //baseurl in the form: example.com/xxx
  9572. {
  9573. xpath.push(m[0]);
  9574. urlregex.push(escapeRegex(m[0]) + '.');
  9575. }
  9576. }
  9577. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9578. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9579. }
  9580. return rule;
  9581. } //function makeCustomRule
  9582.  
  9583.  
  9584. /*
  9585. Takes a string containing custom link checking rules.
  9586. Returns an object with fields:
  9587. info - contains notes, warnings and errors found during parsing
  9588. rules - the array of custom rules
  9589. note, warning, error - number of each of them found during parsing
  9590. Format of the input string:
  9591. One command per line. Command format: @keyword parameter
  9592. Keywords:
  9593. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9594. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9595. These keywords can be multiple (any of them will work):
  9596. @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...)
  9597. @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+
  9598. @alivelink, @deadlink - example links
  9599. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9600. Lines starting with // and empty lines are ignored.
  9601. Invalid parameters generate errors and those lines are skipped.
  9602. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9603. Example:
  9604. @customrule filehost
  9605. @baseurl filehost.com/download/
  9606. @baseurl filehost2. com net /d?=
  9607. @alivematch id="download">
  9608. @deadmatch File not found
  9609. @deadmatch File deleted
  9610. */
  9611. function parseCustomRules(rulesStr)
  9612. {
  9613. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9614. function addInfo(type, msg, ln){
  9615. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9616. customRules[type]++;
  9617. }
  9618. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9619. if (!lines) return null;
  9620. lines.push('@#customrule _'); //to save the last rule
  9621. var m, linecount = lines.length;
  9622. var keyword, param, constr, rule, err;
  9623. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9624. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9625. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9626. var constraints = {
  9627. 'baseurl': {
  9628. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9629. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9630. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9631. 'alivematch': {
  9632. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9633. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9634. 'deadmatch': {
  9635. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9636. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9637. 'unavamatch': {
  9638. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9639. 'alivelink': {
  9640. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9641. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9642. 'deadlink': {
  9643. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9644. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9645. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9646. };
  9647. for (linenum = 0 ; linenum < linecount ; linenum++)
  9648. {
  9649. //capturing groups: 1 23 4 5 6
  9650. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9651. if (m)
  9652. {
  9653. if (m[1] || !m[2])
  9654. continue; // ignore empty lines and lines starting with //
  9655. keyword = (m[4] || m[2]).toLowerCase();
  9656. param = m[6];
  9657. if (keyword == 'customrule')
  9658. {
  9659. //save the current rule if all required fields are provided
  9660. if (rule)
  9661. {
  9662. err = false;
  9663. $.each(constraints, function(kw, constraint){
  9664. var l, constr = constraint[rule.type];
  9665. if (constr)
  9666. {
  9667. l = rule[kw] ? rule[kw].length : 0;
  9668. if (l < constr.min || l > constr.max)
  9669. {
  9670. 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);
  9671. err = true;
  9672. }
  9673. }
  9674. });
  9675. if (!err)
  9676. customRules.rules.push(makeCustomRule(rule));
  9677. }
  9678. //start a new rule
  9679. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9680. {
  9681. rule = {
  9682. 'enabled': !m[3],
  9683. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9684. 'name': param
  9685. };
  9686. }
  9687. else
  9688. {
  9689. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9690. rule = null;
  9691. }
  9692. }
  9693. else //good line format, but keyword other than customrule
  9694. {
  9695. if (!rule)
  9696. {
  9697. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9698. continue;
  9699. }
  9700. if (constraints[keyword])
  9701. {
  9702. constr = constraints[keyword][rule.type];
  9703. if (constr)
  9704. {
  9705. if (constr.paramRE && !constr.paramRE.test(param))
  9706. {
  9707. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9708. continue;
  9709. }
  9710. }
  9711. else
  9712. {
  9713. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9714. continue;
  9715. }
  9716. }
  9717. //line OK, save
  9718. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9719. }
  9720. } //if (m)
  9721. else
  9722. addInfo('warning', 'Unknown line format. Line skipped.');
  9723. } //for loop
  9724. return customRules;
  9725. } //function parseCustomRules
  9726.  
  9727.  
  9728. /* ********************UPDATES********************
  9729.  
  9730. October 17, 2016
  9731. Version 1.3.3.6
  9732. fixed error (by Yurii)
  9733.  
  9734. October 17, 2016
  9735. Version 1.3.3.5
  9736. fixed file.al (by Yurii)
  9737.  
  9738. October 16, 2016
  9739. Version 1.3.3.4
  9740. test
  9741.  
  9742. October 11, 2016
  9743. Version 1.3.3.3
  9744. fixed subyshare.com not detecting some dead links
  9745. fixed mexashare.com
  9746. fixed pornfile.cz
  9747.  
  9748. October 10, 2016
  9749. Version 1.3.3.2
  9750. added fileflares.com
  9751. added erafile.com
  9752. added loop to subyshare.com & rockfile.eu
  9753.  
  9754. September 26, 2016
  9755. Version 1.3.3.1
  9756. added uploadocean.com
  9757.  
  9758. September 25, 2016
  9759. Version 1.3.3.0
  9760. added exbit.net
  9761.  
  9762. September 25, 2016
  9763. Version 1.3.2.9
  9764. fixed uptobox
  9765. fixed google (by kubbbie)
  9766.  
  9767. September 23, 2016
  9768. Version 1.3.2.8
  9769. added danish to rapidgator
  9770.  
  9771. September 22, 2016
  9772. Version 1.3.2.7
  9773. added wayupload.com
  9774.  
  9775. September 18, 2016
  9776. Version 1.3.2.6
  9777. added Portuguese language to rapidgator
  9778.  
  9779. September 15, 2016
  9780. Version 1.3.2.5
  9781. added languages to rapidgator
  9782. french
  9783. german
  9784. spanish
  9785. Italian
  9786. russian
  9787. polish
  9788. dutch
  9789. czech
  9790. chinese
  9791. japanese
  9792.  
  9793. September 14, 2016
  9794. Version 1.3.2.4
  9795. fixed spaceforfiles.com
  9796.  
  9797. September 09, 2016
  9798. Version 1.3.2.3
  9799. added bdupload.info
  9800. added german & deutsch language to workupload.com
  9801.  
  9802. September 08, 2016
  9803. Version 1.3.2.2
  9804. added...
  9805. storageserver.co.uk
  9806. cloud.mail.ru
  9807. fixed depositfiles
  9808.  
  9809. September 08, 2016
  9810. Version 1.3.2.1
  9811. added workupload.com
  9812.  
  9813. September 04, 2016
  9814. Version 1.3.2.0
  9815. made changes to euroshare.eu
  9816.  
  9817. September 03, 2016
  9818. Version 1.3.1.9
  9819. added usercloud.net
  9820. made changes to euroshare.eu
  9821.  
  9822. August 31, 2016
  9823. Version 1.3.1.8
  9824. fixed uptobox.com
  9825.  
  9826. August 30, 2016
  9827. Version 1.3.1.7
  9828. made changes to euroshare.eu
  9829.  
  9830. August 29, 2016
  9831. Version 1.3.1.6
  9832. made changes to data.hu
  9833.  
  9834. August 29, 2016
  9835. Version 1.3.1.5
  9836. fixed euroshare.eu not detecting dead links
  9837.  
  9838. August 23, 2016
  9839. Version 1.3.1.4
  9840. added ulozto.sk
  9841. added ulozto.cz
  9842.  
  9843. August 19, 2016
  9844. Version 1.3.1.3
  9845. fixed euroshare.eu
  9846. fixed 2share.com
  9847.  
  9848. August 17, 2016
  9849. Version 1.3.1.2
  9850. added french code for 1fichier
  9851.  
  9852. August 16, 2016
  9853. Version 1.3.1.1
  9854. fix for 1fichier folder links, by yurii
  9855.  
  9856. August 15, 2016
  9857. Version 1.3.1.0
  9858. another fix for 1fichier
  9859. added mystore.to
  9860.  
  9861. August 12, 2016
  9862. Version 1.3.0.9
  9863. fixed 1fichier
  9864.  
  9865. August 01, 2016
  9866. Version 1.3.0.8
  9867. fixed tezfiles.com not detecting some premium links
  9868.  
  9869. July 24, 2016
  9870. Version 1.3.0.7
  9871. added fileshareup.com
  9872.  
  9873. July 17, 2016
  9874. Version 1.3.0.6
  9875. added subyshare.com
  9876.  
  9877. july 10, 2016
  9878. Version 1.3.0.5
  9879. fixed ulozto.net
  9880.  
  9881. july 07, 2016
  9882. Version 1.3.0.4
  9883. fixed uloz.to
  9884.  
  9885. july 07, 2016
  9886. Version 1.3.0.3
  9887. added imagenetz.de
  9888.  
  9889. June 23, 2016
  9890. Version 1.3.0.2
  9891. excluded nexcess.net
  9892.  
  9893. June 20, 2016
  9894. Version 1.3.0.1
  9895. added daofile.com
  9896.  
  9897. June 16, 2016
  9898. Version 1.3.0.0
  9899. added mexashare.com
  9900.  
  9901. June 16, 2016
  9902. Version 1.2.9.9
  9903. added novafile.com
  9904. added uploadgig.com
  9905.  
  9906. June 15, 2016
  9907. Version 1.2.9.8
  9908. fixed upload.af
  9909.  
  9910. June 10, 2016
  9911. Version 1.2.9.7
  9912. added alltu.eu
  9913.  
  9914. June 09, 2016
  9915. Version 1.2.9.6
  9916. added code for french language to rapidgator.net & rg.to
  9917.  
  9918. June 04, 2016
  9919. Version 1.2.9.5
  9920. added upnito.sk
  9921.  
  9922. May 31, 2016
  9923. Version 1.2.9.4
  9924. fixed mega.co (by yurii)
  9925.  
  9926. May 31, 2016
  9927. Version 1.2.9.3
  9928. code cleanup
  9929.  
  9930. May 27, 2016
  9931. Version 1.2.9.2
  9932. added filesin.space
  9933.  
  9934. May 27, 2016
  9935. Version 1.2.9.1
  9936. added
  9937. filescdn.com
  9938. bankupload.com
  9939. katfile.com
  9940.  
  9941. May 18, 2016
  9942. Version 1.2.9.0
  9943. added warped.co to obsolete hosts
  9944.  
  9945. May 17, 2016
  9946. Version 1.2.8.9
  9947. fixed mega.nz
  9948.  
  9949. May 16, 2016
  9950. Version 1.2.8.8
  9951. added to obsolete hosts
  9952. fileband.com
  9953. filecloud.cc
  9954. filesmelt.com
  9955. goldbytez.com
  9956. hulkshare.com
  9957. idup.in
  9958. loudupload.net
  9959. muchshare.net
  9960. myupload.dk
  9961. nekaka.com
  9962. netkups.com
  9963. plunder.com
  9964. uploads.xxx
  9965. uploadspace.pl
  9966. xkeepfile.com
  9967.  
  9968. May 16, 2016
  9969. Version 1.2.8.7
  9970. added upnito.sk to obsolete hosts
  9971.  
  9972. May 15, 2016
  9973. Version 1.2.8.6
  9974. fixed uploading.site
  9975.  
  9976. May 15, 2016
  9977. Version 1.2.8.5
  9978. added oload.net
  9979.  
  9980. May 14, 2016
  9981. Version 1.2.8.4
  9982. added uploading.site
  9983.  
  9984. May 13, 2016
  9985. Version 1.2.8.3
  9986. added uploadc.ch
  9987. fixed vidspot.net
  9988.  
  9989. May 13, 2016
  9990. Version 1.2.8.2
  9991. added keepshare.net
  9992.  
  9993. May 11, 2016
  9994. Version 1.2.8.1
  9995. added uploadserv.com
  9996.  
  9997. May 09, 2016
  9998. Version 1.2.8.0
  9999. fixed upstore.net & upsto.re
  10000. added 24uploading.com to obsolete hosts
  10001.  
  10002. May 06, 2016
  10003. Version 1.2.7.9
  10004. added storagon.com to obsolete hosts
  10005. fixed worldbytez.com
  10006.  
  10007. May 02, 2016
  10008. Version 1.2.7.8
  10009. added myfiles.onl
  10010.  
  10011. april 28, 2016
  10012. Version 1.2.7.7
  10013. fixed bytewhale.com
  10014.  
  10015. april 27, 2016
  10016. Version 1.2.7.6
  10017. fixed rapidgator not detecting some premium links.
  10018.  
  10019. april 27, 2016
  10020. Version 1.2.7.5
  10021. added jeodrive.com
  10022.  
  10023. april 26, 2016
  10024. Version 1.2.7.4
  10025. added sanshare.com to obsolete hosts
  10026.  
  10027. april 26, 2016
  10028. Version 1.2.7.3
  10029. fixed vidspot.net
  10030.  
  10031. april 26, 2016
  10032. Version 1.2.7.2
  10033. added upx.nz
  10034.  
  10035. april 25, 2016
  10036. Version 1.2.7.1
  10037. added rapidfilehost.com to obsolete hosts
  10038. fixed bitster.cz
  10039.  
  10040. april 12, 2016
  10041. Version 1.2.7.0
  10042. fixed rapidgator not detecting some premium links.
  10043.  
  10044. april 11, 2016
  10045. Version 1.2.6.9
  10046. changed code for ncrypt.in
  10047.  
  10048. april 07, 2016
  10049. Version 1.2.6.8
  10050. added fileinz.com to obsolete hosts.
  10051.  
  10052. april 06, 2016
  10053. Version 1.2.6.7
  10054. added sharingmaster.com to obsolete hosts.
  10055.  
  10056. april 05, 2016
  10057. Version 1.2.6.6
  10058. added 4upfiles.com & elffiles.com to obsolete hosts
  10059.  
  10060. april 03, 2016
  10061. Version 1.2.6.5
  10062. updates to configuration page
  10063.  
  10064. March 31, 2016
  10065. Version 1.2.6.4
  10066. added code for tampermonkey 4.0 compatibility
  10067.  
  10068. March 31, 2016
  10069. Version 1.2.6.3
  10070. fixed uloz.to
  10071. fixed copy dead links to clipboard feature
  10072. added copy live links to clipboard feature.
  10073.  
  10074. March 24, 2016
  10075. Version 1.2.6.2
  10076. changed made to nitroflare. (yurri)
  10077.  
  10078. March 20, 2016
  10079. Version 1.2.6.1
  10080. fixed rapidgator
  10081. fixed dfiles
  10082. fixed dl.free.fr
  10083. fixed nitroflare.com (Fixed by Yurii)
  10084.  
  10085. March 15, 2016
  10086. Version 1.2.6.0
  10087. fixed rapidgator.net
  10088. fixed uploaded.net
  10089.  
  10090. March 13, 2016
  10091. Version 1.2.5.9
  10092. added
  10093. uploads.ws
  10094. upl.me
  10095. clicknupload.link
  10096. added fileover.net to obsolete hosts
  10097. fixed kingfiles.net
  10098.  
  10099. March 09, 2016
  10100. Version 1.2.5.8
  10101. added kingfiles.net to obsolete hosts
  10102. fixed 4upld.com/expressleech.com
  10103.  
  10104. March 08, 2016
  10105. Version 1.2.5.7
  10106. fixed solidfiles.com
  10107.  
  10108. March 01, 2016
  10109. Version 1.2.5.6
  10110. added filespace.com
  10111. fixed depositfiles (by yurii)
  10112.  
  10113. February 29, 2016
  10114. Version 1.2.5.5
  10115. made change to keep2share
  10116.  
  10117. February 28, 2016
  10118. Version 1.2.5.4
  10119. removed down4files.com from obsolete hosts.
  10120.  
  10121. February 26, 2016
  10122. Version 1.2.5.3
  10123. fixed userscloud.com
  10124.  
  10125. February 24, 2016
  10126. Version 1.2.5.2
  10127. added yandex.com
  10128. fixed datafile.com
  10129.  
  10130. February 22, 2016
  10131. Version 1.2.5.1
  10132. added bigfile.to
  10133.  
  10134. February 20, 2016
  10135. Version 1.2.5.0
  10136. added abelhas.pt
  10137.  
  10138. February 18, 2016
  10139. Version 1.2.4.9
  10140. made change to uptobox
  10141.  
  10142. February 17, 2016
  10143. Version 1.2.4.8
  10144. fixed yadi.sk
  10145.  
  10146. February 16, 2016
  10147. Version 1.2.4.7
  10148. fixed datafile.com
  10149. fixed filecad.com
  10150. added filecore.co & filestorm.to to obsolete hosts
  10151. added upload.af, filedwon.in & uplod.it
  10152.  
  10153. February 15, 2016
  10154. Version 1.2.4.6
  10155. fixed kumpulbagi.id
  10156. added sangfile.com to obsolete hosts
  10157.  
  10158. February 14, 2016
  10159. Version 1.2.4.5
  10160. fixed yandex.ru
  10161.  
  10162. February 13, 2016
  10163. Version 1.2.4.4
  10164. added lunaticfiles.com.
  10165.  
  10166. February 09, 2016
  10167. Version 1.2.4.3
  10168. added file.up09.com.
  10169.  
  10170. February 09, 2016
  10171. Version 1.2.4.2
  10172. tezfiles.com premium links now detected.
  10173.  
  10174. February 09, 2016
  10175. Version 1.2.4.1
  10176. added seenupload.com to obsolete hosts
  10177. fixed 180upload.com to show obsolete
  10178.  
  10179. February 08, 2016
  10180. Version 1.2.4.0
  10181. added tusfiles.com
  10182. added filesupload.org
  10183. added gigasize.com
  10184. added filecad.com
  10185. fixed filecloud.io
  10186. added uploadnet.co to obsolete hosts
  10187.  
  10188. February 07,2016
  10189. Vession 1.2.3.9
  10190. fixed depositfiles.com folders
  10191. fixed turbobit.net folders
  10192.  
  10193. February 06, 2016
  10194. Version 1.2.3.8
  10195. fixed 1fichier false dead links
  10196.  
  10197. February 04, 2106
  10198. Version 1.2.3.7
  10199. added geupload and lenfile to obsolete hosts
  10200. fixed kyc.pm/depfile
  10201.  
  10202. February 03, 2016
  10203. Version 1.2.3.6
  10204. fixed some nitroflare.com dead links not being detected
  10205.  
  10206. February 01, 2016
  10207. Version 1.2.3.5
  10208. script moved to new site
  10209.  
  10210. January 20, 2016
  10211. Version 1.2.3.3
  10212. fixed some rapidgator premium link not being detected
  10213.  
  10214. January 17, 2016
  10215. Version 1.2.3.2
  10216. added bytewhale.com
  10217. added rapidrar.com
  10218.  
  10219. Version 1.2.3.1
  10220. added 180upload.com to obsolete hosts
  10221. fixed hellspy.com
  10222. added dinoshare.cz,
  10223.  
  10224. January 13, 2016
  10225. Version 1.2.3.0
  10226. added rapidu.net
  10227. added uploadboy.me
  10228. fixed euroshare.eu
  10229.  
  10230. January 12, 2016
  10231. Version 1.2.2.9
  10232. added kb.simple-aja.info
  10233.  
  10234. January 10, 2016
  10235. Version 1.2.2.8
  10236. made changes to fastshare.cz
  10237.  
  10238. January 10, 2016
  10239. Version 1.2.2.7
  10240. fixed uptobox.com
  10241.  
  10242. January 09, 2016
  10243. Version 1.2.2.6
  10244. datoteke.com now detects premium links
  10245. fixed turbobit.net
  10246. fixed uptobox.com
  10247. added pornfile.cz
  10248. added pornoid.cz
  10249. added file-share.top
  10250. added bitster.cz
  10251.  
  10252. January 05, 2016
  10253. Version 1.2.2.5
  10254. fixed salefiles.com
  10255. fixed ozofile.com
  10256.  
  10257. January 04, 2016
  10258. Version 1.2.2.4
  10259. added sharehost.eu
  10260.  
  10261. December 30, 2015
  10262. Version 1.2.2.3
  10263. added tezfiles.com
  10264.  
  10265. December 28, 2015
  10266. Version 1.2.2.2
  10267. fixed some k2s & fboom dead link not getting detected
  10268. fixed some k2s premium links not getting detected.
  10269. fixed ssh.yt not detecting some dead links
  10270. fixed ncrypt.in dead links showing yellow
  10271.  
  10272. December 20, 2015
  10273. Version 1.2.2.0
  10274. added datoteke.com
  10275.  
  10276. December 19, 2015
  10277. Version 1.2.1.9
  10278. added secured.in & linksave.in to obsolete hosts
  10279.  
  10280. December 17, 2015
  10281. Version 1.2.1.8
  10282. added german for dead links to secureupload.eu.
  10283.  
  10284. December 17, 2015
  10285. Version 1.2.1.7
  10286. added french for dead links to secureupload.eu.
  10287. fixed problem with tooltip display.
  10288.  
  10289. December 13, 2015
  10290. Version 1.2.1.6
  10291. added netload.me & fileparadox.in to obsolete hosts
  10292.  
  10293. December 09, 2015
  10294. Version 1.2.1.5
  10295. added rapidsonic.com & fileparadox.com to obsolete hosts
  10296.  
  10297. December 04, 2015
  10298. Version 1.2.1.4
  10299. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10300.  
  10301. December 03, 2015
  10302. Version 1.2.1.3
  10303. added dailyuploads.net
  10304.  
  10305. December 02, 2015
  10306. Version 1.2.1.2
  10307. fixed hitfile.net
  10308. fixed kingfiles.net
  10309.  
  10310. November 30, 2015
  10311. Version 1.2.1.1
  10312. added filepost.com to obsolete hosts
  10313. added devilshare.net
  10314.  
  10315. November 28, 2015
  10316. Version 1.2.1.0
  10317. fixed datafile.com not detecting some premium links.
  10318.  
  10319. November 25, 2015
  10320. Version 1.2.0.9
  10321. fixed filejoker.net
  10322. fixed toutbox.fr
  10323. fixed nowvideo.sx
  10324.  
  10325. November 24, 2015
  10326. Version 1.2.0.8
  10327. fixed openload.io
  10328.  
  10329. November 20, 2015
  10330. Version 1.2.0.7
  10331. //added file.al
  10332. //fixed nitroflare.com false live links
  10333. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10334.  
  10335. November 17, 2015
  10336. Version 1.2.0.6
  10337. added clicknupload.me
  10338.  
  10339. November 09, 2015
  10340. Version 1.2.0.5
  10341. fixed some depfile premium links not being detected
  10342.  
  10343. November 08, 2015
  10344. Version 1.2.0.4
  10345. fixed some rapidgator premium links not being detected
  10346. fixed doraupload.com
  10347.  
  10348. November 08, 2015
  10349. Version 1.2.0.3
  10350. fixed uploaded false premium
  10351.  
  10352. November 07, 2015
  10353. Version 1.2.0.2
  10354. fixed redbunker.net
  10355.  
  10356. November 05, 2015
  10357. Version 1.2.0.1
  10358. fixed app.box.com
  10359. added multiup.org (does not detect all dead links)
  10360.  
  10361. November 01, 2015
  10362. Version 1.2.0.0
  10363. added more languages to rockfile and 1fichier
  10364.  
  10365. November 01, 2015
  10366. Version 1.1.9.9
  10367. fixed rockfile.eu
  10368. changed 1fichier code (Thanks yurri)
  10369. added to obsolete hosts... (Thanks Love Buzz)
  10370. burnupload.com
  10371. cramit.in
  10372. cramitin.net
  10373. down4files.com
  10374. edoc.com
  10375. jumbofile.net
  10376. krotix.net
  10377. migahost.com
  10378. movreel.com
  10379. netload.in
  10380. newfileland.com
  10381. quickshare.cz
  10382.  
  10383. October 30, 2015
  10384. Version 1.1.9.8
  10385. added alfafile.net
  10386.  
  10387. October 26, 2015
  10388. Version 1.1.9.7
  10389. changed datafile.com and uplea.com
  10390. added lolabits.es
  10391.  
  10392. October 26, 2015
  10393. Version 1.1.9.6
  10394. added toutbox.fr
  10395.  
  10396. October 25, 2015
  10397. Version 1.1.9.5
  10398. fixed counter error
  10399.  
  10400. October 25, 2015
  10401. Version 1.1.9.4
  10402. changed uptobox.com code
  10403.  
  10404. October 21, 2015
  10405. Version 1.1.9.3
  10406. fixed uptobox.com
  10407.  
  10408. October 20, 2015
  10409. Version 1.1.9.2
  10410. bug fixes and new method of detecting premium links.
  10411.  
  10412. October 15, 2015
  10413. Version 1.1.9.1
  10414. fixed hugefiles.net false premium
  10415. changed uptobox.com code
  10416.  
  10417. October 06, 2015
  10418. Version 1.1.9.0
  10419. fixed filefactory
  10420. fixed rockfile false premium
  10421. keep2share & fileboom now detect premium links (fixed by yurii)
  10422.  
  10423. October 01, 2015
  10424. Version 1.1.8.9
  10425. fixed free.fr false premium
  10426. fixed thevideo.me false premium
  10427.  
  10428. September 28, 2015
  10429. Version 1.1.8.8
  10430. added uplea.com and openload.co
  10431.  
  10432. September 27, 2015
  10433. Version 1.1.8.7
  10434. fixed fileparadox.in false premium
  10435. added kingfiles.net to obsolete hosts
  10436. removed inafile.com from obsolete hosts
  10437.  
  10438. September 22, 2015
  10439. Version 1.1.8.6
  10440. fixed nitroflare false premium
  10441.  
  10442. September 22, 2015
  10443. Version 1.1.8.5
  10444. fixed userscloud.com false premium
  10445. fixed usersfiles.com false premium
  10446. changed arabloads.com to arabloads.net
  10447. changed nowdownloads.eu to nowdownloads.ch
  10448.  
  10449. September 21, 2015
  10450. Version 1.1.8.3
  10451. added ryushare.com to obsolete hosts.
  10452.  
  10453. September 20, 2015
  10454. Version 1.1.8.2
  10455. fixed nitroflare not showing premium links
  10456. added down4files.com,storfiles.co,filehost.pw
  10457.  
  10458. September 16, 2015
  10459. Version 1.1.8.1
  10460. added crisshare.com to obsolete hosts
  10461. fixed filemoney.com false premium
  10462. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10463.  
  10464. September 14, 2015
  10465. Version 1.1.8.0
  10466. added to obsolete hosts...
  10467. sharebeast.com
  10468. tufiles.ru
  10469.  
  10470. September 12, 2015
  10471. Version 1.1.7.9
  10472. fixed rghost.net false premium
  10473. fixed unlimitzone.com false premium
  10474. fixed turbobit.net false live link
  10475.  
  10476. September 11, 2015
  10477. Version 1.1.7.8
  10478. Fixed filefactory.com false premium.
  10479.  
  10480. September 07, 2015
  10481. Version 1.1.7.7
  10482. fixed "depositfiles.com/en/files" links not checking
  10483.  
  10484. September 06, 2015
  10485. Version 1.1.7.6
  10486. added French code for 1fichier
  10487.  
  10488. August 29, 2015
  10489. Version 1.1.7.5
  10490. fixed depositfiles
  10491. fixed mega.co.nz/mega.nz
  10492. (fixed by yurii)
  10493.  
  10494. August 23, 2015
  10495. Version 1.1.7.4
  10496. Fixed uploadrocket (by yurii)
  10497.  
  10498. August 20, 2015
  10499. Version 1.1.7.3
  10500. fixed depfile.com false premium
  10501. fixed 1fichier false premium
  10502. fixed rapidgator false premium
  10503.  
  10504. August 08, 2015
  10505. Version 1.1.7.1
  10506. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10507.  
  10508. August 07, 2015
  10509. Version 1.1.7.0
  10510. fixed...
  10511. streamin.to
  10512. thefile.me
  10513. vidzi.tv
  10514. added...
  10515. filenuke.com
  10516. vidto.me
  10517. vidspot.net
  10518. sharesix.com
  10519. sharesix.net
  10520. movpod.in,
  10521.  
  10522. August 07, 2015
  10523. Version 1.1.6.9 added...
  10524. thefile.me
  10525. vidzi.tv
  10526. videoweed.es
  10527. vodlocker.com
  10528. nowvideo.sx
  10529. cloudtime.to
  10530. thevideo.me
  10531. vidbull.com
  10532. allmyvideos.net
  10533. novamov.com
  10534. filehoot.com
  10535. stagevu.com
  10536. gorillavid.in
  10537. streamin.to
  10538.  
  10539. August 02, 2015
  10540. Version 1.1.6.8
  10541. added cloudshares.net
  10542.  
  10543. August 01, 2015
  10544. Version 1.1.6.7
  10545. fixed depfile redirectors false premium
  10546.  
  10547. July 31, 2015
  10548. Version 1.1.6.6
  10549. fixed depfile.com false premium
  10550. */