W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-03-16 提交的版本,查看 最新版本

  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. // @version 1.2.6.0
  7. // @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/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRS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ihTgpZEJAP4vgbeLiPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  8. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  9. // @author mental
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  22. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  23. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  24. // @homepage http://usa.x10host.com/mybb
  25. // @namespace war premium
  26. // @noframes
  27. // ==/UserScript==
  28.  
  29. //separate alternative domains with "|" char (first name is considered being main)
  30. var allHostNames = [
  31. "1fichier.com|dl4free.com",
  32. "upload.af",
  33. "kingfiles.net",
  34. "abelhas.pt",
  35. "filedwon.info",
  36. "yandex.com",
  37. "down4files.com",
  38. 'filespace.com',
  39. "uplod.it",
  40. "rapidu.net",
  41. "uploads.ws|upl.me",
  42. "file.up09.com",
  43. "lunaticfiles.com",
  44. "filecad.com",
  45. "filesupload.org",
  46. "gigasize.com",
  47. "bytewhale.com",
  48. "rapidrar.com",
  49. "download.cz.hellshare.com",
  50. "pornfile.cz",
  51. "dinoshare.cz",
  52. "kb.simple-aja.info",
  53. "bitster.cz",
  54. "file-share.top",
  55. "pornoid.cz",
  56. "dailyuploads.net",
  57. "sharehost.eu",
  58. "tezfiles.com",
  59. "devilshare.net",
  60. "alfafile.net",
  61. "openload.co",
  62. "multiup.org",
  63. "uplea.com",
  64. "filenuke.com",
  65. "file.al",
  66. // "inafile.com",
  67. "lolabits.es",
  68. "vidto.me",
  69. "storefiles.co",
  70. "filehost.pw",
  71. "vidspot.net",
  72. "turbobit.ru",
  73. "sharesix.com|sharesix.net",
  74. "movpod.in",
  75. "thefile.me",
  76. "datoteke.com",
  77. "vidzi.tv",
  78. "videoweed.es",
  79. "vodlocker.com",
  80. "nowvideo.sx",
  81. "cloudtime.to",
  82. "thevideo.me",
  83. "vidbull.com",
  84. "allmyvideos.net",
  85. "novamov.com",
  86. "filehoot.com",
  87. "stagevu.com",
  88. "gorillavid.in",
  89. "streamin.to",
  90. "4upld.com|expressleech.com",
  91. "cloudshares.net",
  92. "swoopshare.com",
  93. "2shared.com",
  94. "fileupload.pw",
  95. "zxcfiles.com",
  96. "up07.net",
  97. "4shared.com",
  98. "adrive.com",
  99. "aisfile.com",
  100. "hexupload.com",
  101. "bezvadata.cz",
  102. "xkeepfile.com|Gamesena.com",
  103. "usersfiles.com",
  104. "pan.baidu.com",
  105. "radicalshare.com",
  106. "datei.to",
  107. "daten-hoster.de|filehosting.org|xtraupload.de",
  108. "demo.ovh.eu",
  109. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  110. "divshare.com",
  111. "easy-share.com|crocko.com",
  112. "easybytez.com",
  113. "edisk.cz",
  114. "euroshare.eu",
  115. "file-upload.net",
  116. "yadi.sk",
  117. "wizupload.com",
  118. "fastshare.cz",
  119. "filefactory.com",
  120. "share.vnn.vn",
  121. "yunpan.cn",
  122. "gulfup.com",
  123. "tropicshare.com",
  124. "cloudzilla.to",
  125. "inclouddrive.com",
  126. "fileflyer.com",
  127. "filerio.com|filekeen.com",
  128. "up.4share.vn",
  129. "upfile.vn",
  130. "datafilehost.com",
  131. "fileband.com",
  132. "worldbytez.com",
  133. "files.mail.ru",
  134. "filesflash.com",
  135. "box.com",
  136. "uptobox.com",
  137. "box.net",
  138. "goldbytez.com",
  139. "sdilej.cz",
  140. "ex-load.com",
  141. "filesmonster.com",
  142. "filestore.to",
  143. "hulkload.com",
  144. "filedropper.com",
  145. "free-uploading.com",
  146. "gamefront.com|filefront.com",
  147. "gettyfile.ru",
  148. "gigapeta.com",
  149. "gigasize.com",
  150. "hellshare.com",
  151. "hellspy.com",
  152. "hitfile.net",
  153. "hostuje.net",
  154. "freefilehosting.net",
  155. "free.fr",
  156. "hulkshare.com",
  157. "hyperfileshare.com",
  158. "filecloud.io|ifile.it",
  159. "ifolder.ru",
  160. "jumbofiles.com",
  161. "uploadrocket.net",
  162. "lafiles.com",
  163. "leteckaposta.cz|sharegadget.com",
  164. "letitbit.net",
  165. "load.to",
  166. "mediafire.com",
  167. "megafileupload.com",
  168. "megashares.com",
  169. "movshare.net",
  170. "muchshare.net",
  171. "myupload.dk",
  172. "narod.ru|narod.yandex.ru",
  173. "fboom.me|fileboom.me",
  174. "openfile.ru",
  175. "partage-facile.com",
  176. "plunder.com",
  177. "sharerapid.cz",
  178. "exclusiveloader.com",
  179. "acefile.net",
  180. "queenshare.com",
  181. "rapidgator.net",
  182. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  183. "oboom.com",
  184. "filepi.com",
  185. "neodrive.co",
  186. "rarefile.net",
  187. "rayfile.com",
  188. "rghost.net",
  189. "sendmyway.com",
  190. "clicknupload.com",
  191. "clicknupload.me",
  192. "clicknupload.link",
  193. "sharemods.com",
  194. "hostr.co",
  195. "sendspace.com",
  196. "sharecash.org",
  197. "share-links.biz",
  198. "share-online.biz|egoshare.com",
  199. "megarapid.cz",
  200. "shareflare.net",
  201. "solidfiles.com",
  202. "led.wf",
  203. "lan.wf",
  204. "adlink.wf",
  205. "click.tf",
  206. "kyc.pm",
  207. "ssh.tf",
  208. "ssh.yt",
  209. "yep.pm",
  210. "stahovanizasms.cz",
  211. "turbobit.net",
  212. "filecloud.cc",
  213. "tikfile.com",
  214. "cloudsix.me",
  215. "turboupload.com",
  216. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  217. "ulozisko.sk",
  218. "uloziste.com",
  219. "unibytes.com",
  220. "upload-il.net|przeslij.net",
  221. "uploaded.to|ul.to",
  222. "uploading.com",
  223. "chayfile.com",
  224. "rockfile.eu",
  225. "24uploading.com",
  226. "uploadspace.pl",
  227. "upnito.sk",
  228. "usaupload.net",
  229. "veehd.com",
  230. "videobb.com",
  231. "vip-file.com",
  232. "webshare.cz",
  233. "xdisk.cz",
  234. "yunfile.com|filemarkets.com",
  235. "ziddu.com",
  236. "zippyshare.com",
  237. "rodfile.com",
  238. "wikiupload.com",
  239. "uploadstube.de",
  240. "faststore.org",
  241. "flyfiles.net",
  242. "nowdownload.ch",
  243. "prefiles.com",
  244. "axifile.com",
  245. "hackerbox.org",
  246. "amonshare.com",
  247. "data.hu",
  248. "brupload.net",
  249. "userscloud.com",
  250. "netkups.com",
  251. "xfileload.com",
  252. "kumpulbagi.com|kumpulbagi.id",
  253. "uppit.com|up.ht",
  254. "downloadani.me",
  255. "filesabc.com",
  256. "verzend.be",
  257. "4up.me",
  258. "extmatrix.com",
  259. "sendfiles.nl",
  260. "yourfilestore.com",
  261. "filebig.net",
  262. "nekaka.com",
  263. "file4safe.com",
  264. "tusfiles.net|tusfiles.com",
  265. "filemac.com",
  266. "idup.in",
  267. "fileswap.com",
  268. "ozofiles.com",
  269. "loudupload.net",
  270. "nosupload.com",
  271. "gboxes.com",
  272. "myvdrive.com|fileserving.com",
  273. "filesin.com",
  274. "novafile.com",
  275. "longfiles.com",
  276. // "uploadhero.com",
  277. "uploadbaz.com",
  278. "bitupload.com",
  279. "indowebster.com",
  280. "superload.cz",
  281. "mafiastorage.com",
  282. "4upfiles.com",
  283. "filesmelt.com",
  284. "hellupload.com",
  285. "uploadingit.com",
  286. "stiahni.si",
  287. "sendspace.pl",
  288. "fastshare.org",
  289. "filejoker.net",
  290. "filestore.com.ua",
  291. "secureupload.eu",
  292. "rapidfileshare.net",
  293. "stiahnito.sk",
  294. "rusfolder.com",
  295. "catshare.net",
  296. "anonfiles.com",
  297. "mixturecloud.com",
  298. "filedais.com",
  299. // "imdb.com",
  300. "nitroflare.com",
  301. "akafile.com",
  302. "creafile.net",
  303. "hugefiles.net",
  304. "vidxden.com",
  305. "up.top4top.net",
  306. "upload.ee",
  307. "shareplace.org",
  308. "uploadc.com",
  309. "remixshare.com",
  310. "exoshare.com",
  311. "borncash.org",
  312. "junocloud.me",
  313. "2downloadz.com",
  314. "mightyupload.com",
  315. "anysend.com",
  316. "datafile.com",
  317. "upstore.net",
  318. "upsto.re",
  319. "speedy.sh",
  320. "sanshare.com",
  321. // "uploadhero.co",
  322. "ge.tt",
  323. "filesflash.net",
  324. "salefiles.com",
  325. // "megairon.net",
  326. "datoid.cz",
  327. "cloudstor.es",
  328. "streamfile.com",
  329. "eyesfile.ca",
  330. "filemoney.com",
  331. "uploadboy.com",
  332. "uploadboy.me",
  333. "speedshare.eu",
  334. "google.com",
  335. "unlimitzone.com",
  336. "rioupload.com",
  337. "rg.to",
  338. "jumbofiles.org",
  339. "fshare.vn",
  340. "spaceforfiles.com",
  341. "up.media1fire.com",
  342. "depfile.com",
  343. "go4up.com",
  344. "dropbox.com",
  345. "redbunker.net",
  346. "divxpress.com",
  347. "mega.nz|mega.co.nz",
  348. "anafile.com",
  349. "uploadable.ch",
  350. "bigfile.to",
  351. "arabloads.net",
  352. "sharerepo.com",
  353. "sfshare.se",
  354. "files.fm",
  355. "koofile.com",
  356. "vidplay.net",
  357. "storagon.com",
  358. "doraupload.com",
  359. "openload.io",
  360. "uploads.xxx",
  361. "toutbox.fr",
  362. ];
  363.  
  364. try
  365. {
  366. //iframes excluded
  367. if (window.top != window.self)
  368. {
  369. return;
  370. }
  371. //allHostNames sites excluded
  372. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  373. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  374. ")"))
  375. {
  376. return;
  377. }
  378. }
  379. catch (e)
  380. {
  381. return;
  382. }
  383.  
  384. //separate alternative domains with "|" char (first name is considered being main)
  385. var allContainerNames = [
  386. "adf.ly",
  387. "linkcrypt.ws",
  388. "linksafe.me",
  389. // "linksave.in",
  390. "linkto.net",
  391. "madlink.sk",
  392. "multiload.cz",
  393. "mirrorcreator.com",
  394. "ncrypt.in",
  395. "redi.re",
  396. "relink.us",
  397. "safelinking.net",
  398. "theloo.katt.it",
  399. "bit.ly",
  400.  
  401. ];
  402.  
  403. //separate alternative domains with "|" char (first name is considered being main)
  404. var allObsoleteNames = [
  405. "uloz.cz",
  406. "secured.in",
  407. "fileover.net",
  408. "linksave.in",
  409. "seenupload.com",
  410. "sangfile.com",
  411. "filepost.com|fp.io",
  412. "filestorm.to",
  413. "uploadnet.co",
  414. "180upload.com",
  415. "rapidsonic.com",
  416. "fileparadox.com",
  417. "geupload.com",
  418. "lenfile.com",
  419. "fileparadox.in",
  420. "uploadhero.co",
  421. "uploadhero.com",
  422. "newfileland.com",
  423. "quickshare.cz",
  424. "netload.in",
  425. "netload.me",
  426. "movreel.com",
  427. "migahost.com",
  428. "krotix.net",
  429. "jumbofile.net",
  430. "edoc.com",
  431. "cramit.in|cramitin.net",
  432. "freakshare.com",
  433. "burnupload.com|burnupload.ihiphop.com",
  434. "freakshare.net",
  435. "daj.to",
  436. "bl.st",
  437. "2drive.net",
  438. "ryushare.com",
  439. "crisshare.com",
  440. "tufiles.ru",
  441. "uncapped-downloads.com",
  442. "sockshare.com",
  443. "ddlstorage.com",
  444. "dataport.cz",
  445. "dizzcloud.com",
  446. "sharebeast.com",
  447. "stahovadlo.cz",
  448. "shared.com",
  449. "storage.to",
  450. "putlocker.com",
  451. "lumfile.com",
  452. "lumfile.se",
  453. "lumfile.eu",
  454. "firedrive.com",
  455. "fileshare.in.ua",
  456. "filecore.co.nz",
  457. "filecore.co",
  458. "iskladka.cz",
  459. "file-rack.com",
  460. "fast-load.net",
  461. "subory.sk",
  462. "bigandfree.com",
  463. "fileop.com",
  464. "mujsoubor.cz",
  465. "sendfile.to",
  466. "superfastfile.com",
  467. "quickyshare.com",
  468. "duckload.com",
  469. "uploadstore.net",
  470. "meinupload.com",
  471. "dualshare.com",
  472. "2xupload.to|2xupload.de",
  473. "oxedion.com",
  474. "uploadline.com",
  475. "dll.bz",
  476. "movieshare.in",
  477. "milledrive.com",
  478. "quickupload.net",
  479. "safelink.in",
  480. "metadivx.com",
  481. "divxlink.com",
  482. "uploadrack.com",
  483. "teradepot.com",
  484. "dataup.to",
  485. "upit.to",
  486. "driveway.com",
  487. "eatlime.com",
  488. "a2zuploads.com",
  489. "friendlyfiles.net",
  490. "flyfile.us",
  491. "speedyshare.com",
  492. "uploadspace.eu",
  493. "keepfile.com",
  494. "piggyshare.com",
  495. "uplly.com",
  496. "filecrown.com",
  497. "6giga.com",
  498. "uploadjockey.com",
  499. "bluehost.to",
  500. "filegu.ru",
  501. "filebase.to",
  502. "up-file.com",
  503. "xvideos.com",
  504. "ufox.com",
  505. "filebling.com",
  506. "loaded.it",
  507. "uploadcell.com",
  508. "uploadshare.cz",
  509. "mangoshare.com",
  510. "filestab.com",
  511. "crazyupload.com",
  512. "gaiafile.com",
  513. "sharejunky.com",
  514. "fileho.com",
  515. "bigandfree.com",
  516. "bigfile.in",
  517. "bigshare.eu",
  518. "dahosting.org",
  519. "digisofts.net",
  520. "file4save.com",
  521. "filechip.com",
  522. "filescloud.com",
  523. "saveqube.com",
  524. "turboshare.de",
  525. "z-upload.com",
  526. "youshare.com",
  527. "jiffyupload.com",
  528. "gigeshare.com",
  529. "datenklo.net",
  530. "upload.dj",
  531. "loadfiles.in",
  532. "upit.to",
  533. "dsfileshare.com",
  534. "sharesimple.net",
  535. "4files.net",
  536. "wooupload.com",
  537. "odsiebie.com",
  538. "filenavi.com",
  539. "3oof.com",
  540. "meshwaar.com",
  541. "maxupload.com",
  542. "share.cx",
  543. "atserver.eu",
  544. "hotfiles.ws",
  545. "esnips.com",
  546. "tuxfile.com",
  547. "file2upload.net",
  548. "filebling.com",
  549. "turboshare.com",
  550. "rarhost.com",
  551. "isharehd.com",
  552. "i741.com",
  553. "dataup.de",
  554. "fofly.com",
  555. "shareonall.com",
  556. "sexuploader.com",
  557. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  558. "uploadhyper.com",
  559. "filespawn.com",
  560. "caizzii.com",
  561. "volnyweb.cz",
  562. "usershare.net",
  563. "filescash.net",
  564. "metahyper.com",
  565. "combozip.com",
  566. "x7.to",
  567. "uploadbox.com",
  568. "enterupload.com|flyupload.com",
  569. "filepoint.de",
  570. "mystream.to",
  571. "x-fs.com",
  572. "shareator.com",
  573. "srapid.eu",
  574. "sosame.cz",
  575. "filesdump.com",
  576. "2-klicks.de",
  577. "uploking.com",
  578. "silofiles.com",
  579. "upfile.in",
  580. "filehook.com",
  581. "uploadking.com",
  582. "uploadhere.com",
  583. "kewlshare.com",
  584. "rapidable.com",
  585. "uploadwaste.com",
  586. "filemup.com",
  587. "filesonic.com|sharingmatrix.com",
  588. "fileserve.com",
  589. "wupload.com",
  590. "skipfile.com",
  591. "smartuploader.com",
  592. "dualshare.com",
  593. "storeandserve.com",
  594. "mountfile.com",
  595. "transitfiles.com",
  596. "uploadstation.com",
  597. "filejungle.com",
  598. "shareshared.com",
  599. "quickyshare.com",
  600. "save.am",
  601. "petandrive.com",
  602. "file2box.com",
  603. "flyshare.cz",
  604. "yabadaba.ru",
  605. "cloudcache.cc",
  606. "yourfilehost.com",
  607. "jakfile.com",
  608. "kickload.com",
  609. "pyramidfiles.com",
  610. "refile.net",
  611. "zshare.net",
  612. "ddlani.me|ddlanime.com",
  613. "ftp2share.com",
  614. "fooget.com",
  615. "rapidhide.com",
  616. "gotupload.com",
  617. "mooload.com",
  618. "zupload.com",
  619. "mytempdir.com",
  620. "onionshare.com",
  621. "stahnu.to",
  622. "oron.com",
  623. "badongo.com",
  624. "filereactor.com",
  625. "filegaze.com",
  626. "4bytez.com",
  627. "1hostclick.com",
  628. "anonstream.com",
  629. "batshare.com",
  630. "bitroad.net",
  631. "brontofile.com",
  632. "cloudnxt.net",
  633. "cloudnator.com|shragle.com",
  634. "filesfrog.net",
  635. "coolshare.cz",
  636. "dotavi.com",
  637. "ezyfile.net",
  638. "file-bit.net",
  639. "filecosy.com",
  640. "fileduct.com|fileduct.net",
  641. "filefat.com",
  642. "filelaser.com",
  643. "filemashine.com",
  644. "fileserver.cc",
  645. "filetechnology.com",
  646. "fireuploads.net",
  647. "gigfiles.net",
  648. "holderfile.com",
  649. "ihostia.com",
  650. "k2files.com",
  651. "mojofile.com",
  652. "ovfile.com",
  653. "qshare.com",
  654. "shafiles.me",
  655. "sharefilehost.com",
  656. "shareupload.com",
  657. "stahuj.to",
  658. "ugotfile.com",
  659. "uploadboost.com",
  660. "fileom.com",
  661. "vidhog.com",
  662. "xfileshare.eu",
  663. "bzlink.us",
  664. "bulletupload.com",
  665. "bloggerarticles.com",
  666. "mojedata.sk",
  667. "sharpfile.com",
  668. "upgrand.com",
  669. "nasdilej.cz",
  670. "mediatack.cz",
  671. "share-it.to",
  672. "primeupload.com",
  673. "filebeer.info",
  674. "baberepublic",
  675. "xtu.me",
  676. "sharebase.de",
  677. "luckyshare.net",
  678. "filerobo.com",
  679. "filevelocity.com",
  680. "filezpro.com",
  681. "file4sharing.com",
  682. "cing.be",
  683. "ufile.eu",
  684. "pigsonic.com",
  685. "fileupped.com",
  686. "sharerun.com",
  687. "filesaur.com",
  688. "rapidslnare.com",
  689. "bestsharing.com",
  690. "savefiles.net",
  691. "file2share.biz",
  692. "filecache.de",
  693. "monsteruploads.eu",
  694. "b9bb.com",
  695. "aiotool.net",
  696. "jamber.info",
  697. "megaftp.com",
  698. "desiupload.net",
  699. "file27.com",
  700. "yastorage.com",
  701. "filehost.ws",
  702. "copyload.com",
  703. "venusfile.com",
  704. "aieshare.com",
  705. "terafile.co",
  706. "terafile.com",
  707. "fileza.net",
  708. "filerose.com",
  709. "squillion.com",
  710. "fileprohost.com",
  711. "bitbonus.com",
  712. "warserver.cz",
  713. "uload.to",
  714. "sharedbit.net",
  715. "megaload.it",
  716. "filewinds.com",
  717. "uploadcore.com",
  718. "syfiles.com",
  719. "eyesfile.com",
  720. "hotfile.com",
  721. "superupl.com",
  722. "oteupload.com",
  723. "henchfile.com",
  724. "filegag.com",
  725. "HenchFile.com",
  726. "filedefend.com",
  727. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  728. "megabitshare.com",
  729. "cloudzer.com",
  730. "asfile.com",
  731. "cloudzer.net",
  732. "clz.to",
  733. "extabit.com",
  734. "247upload.com",
  735. "2download.de",
  736. "4fastfile.com",
  737. "asixfiles.com",
  738. "berofile.com",
  739. "bigupload.com",
  740. "cepzo.com",
  741. "clouds.to",
  742. "cobrashare.sk",
  743. "coraldrive.net",
  744. "cyberlocker.ch",
  745. "czshare.com",
  746. "darkport.org",
  747. "dark-uploads.com",
  748. "davvas.com",
  749. "enigmashare.com",
  750. "erofly.cz",
  751. "fastsonic.net",
  752. "filebox.com",
  753. "filecity.net",
  754. "filedap.com",
  755. "filedino.com",
  756. "filedownloads.org",
  757. "filefolks.com",
  758. "fileking.co",
  759. "filemates.com",
  760. "files.to",
  761. "files2k.eu",
  762. "filesector.cc",
  763. "bitshare.com",
  764. "filesega.com",
  765. "filesend.net",
  766. "filestay.com",
  767. "filestrum.com",
  768. "fileuplo.de",
  769. "fileupup.com",
  770. "forunesia.com",
  771. "freeuploads.fr",
  772. "uploa.dk",
  773. "getthebit.com",
  774. "getzilla.net",
  775. "goldfile.eu",
  776. "good.com",
  777. "grupload.com",
  778. "hellfile.com",
  779. "hipfile.com",
  780. "hitfile.com",
  781. "hulkfile.eu|duckfile.net",
  782. "i-filez.com",
  783. "ifile.ws",
  784. "kupload.org",
  785. "packupload.com",
  786. "lemuploads.com",
  787. "limelinx.com",
  788. "maxshare.pl",
  789. "megarelease.org",
  790. "megashare.com",
  791. "minus.com",
  792. "mlfat4arab.com",
  793. "multishare.cz",
  794. "nirafile.com",
  795. "ok2upload.com",
  796. "peejeshare.com",
  797. "premiuns.org",
  798. "przeklej.net",
  799. "qkup.net",
  800. "rapidupload.sk",
  801. "rockdizfile.com",
  802. "rocketfile.net",
  803. "share-now.net",
  804. "share76.com",
  805. "sharebees.com",
  806. "sharefiles.co",
  807. "slingfile.com",
  808. "sms4file.com",
  809. "space4file.com",
  810. "tigershare.net",
  811. "toucansharing.com",
  812. "ubuntuone.com",
  813. "unextfiles.com",
  814. "upaj.pl",
  815. "upfile.biz",
  816. "uploadbin.net",
  817. "uploadic.com",
  818. "uploadinc.com",
  819. "uploading4u.eu",
  820. "uploadjet.net",
  821. "uploadorb.com",
  822. "upthe.net",
  823. "uptorch.com",
  824. "vidbox.yt",
  825. "videozer.com",
  826. "vreer.com",
  827. "wallobit.com",
  828. "zooupload.com",
  829. "privatefiles.com",
  830. "xerver.co",
  831. "BillionUploads.com",
  832. "rapidshare.com",
  833. "rapidshare.ru",
  834. "4savefile.com",
  835. "bayfiles.com",
  836. "bayfiles.net",
  837. "dodane.pl",
  838. "dotsemper.com",
  839. "egofiles.com",
  840. "epicshare.net",
  841. "fiberupload.net",
  842. "filemonkey.in",
  843. "filemonster.net",
  844. "filepom.com",
  845. "filesbb.com",
  846. "fileshareup.com",
  847. "filevice.com",
  848. "gigaup.fr",
  849. "isavelink.com",
  850. "loombo.com",
  851. "megafiles.se",
  852. "migupload.com",
  853. "mydisc.net",
  854. "nitrobits.com",
  855. "potload.com",
  856. "redload.net",
  857. "shareprofi.com",
  858. "sharesuper.info",
  859. "sinhro.net",
  860. "speedfile.cz",
  861. "speedshare.org",
  862. "storage.novoro.net",
  863. "swankshare.com",
  864. "swatupload.com",
  865. "upafile.com",
  866. "uploadmachine.com",
  867. "uploadsat.com",
  868. "upshared.com",
  869. "usefile.com",
  870. "yourfiles.to",
  871. "zomgupload.com",
  872. "ultramegabit.com",
  873. "uploadto.us",
  874. "inafile.com",
  875. "megairon.net",
  876.  
  877. ];
  878. ///////////////////////////////////////////////////////////////////////////////////////
  879. var firstRun = GM_getValue("First_run", true);
  880.  
  881. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  882. //////////////////////////////////////////////////////////////////////////////////////
  883. try
  884. {
  885. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  886. var last_known_version = GM_getValue("last_known_version", "");
  887. if (!last_known_version)
  888. {
  889. last_known_version = thisVersion;
  890. GM_setValue("last_known_version", last_known_version);
  891. }
  892. //var newVersion = !(thisVersion == last_known_version);
  893. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  894. GM_setValue("last_known_version", thisVersion);
  895. }
  896. catch (err)
  897. {
  898. var newVersion = false;
  899. }
  900.  
  901. var now = (new Date()).getTime();
  902. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  903. if (!last_custom_rules_nag)
  904. {
  905. last_custom_rules_nag = now;
  906. GM_setValue('last_custom_rules_nag', ''+now);
  907. }
  908.  
  909.  
  910. allHostNames.sort();
  911. allContainerNames.sort();
  912. allObsoleteNames.sort();
  913.  
  914. var RAND_STRING = "8QyvpOSsRG3QWq";
  915. var DEBUG_MODE = false;
  916.  
  917. var TOOLTIP_MAXWIDTH = 600; //in pixels
  918. var TOOLTIP_THUMBWIDTH = 200;
  919. var containers_processed = false;
  920.  
  921. //settings for keyboard functions start
  922. var CHECK_ALL_LINKS_KEY = "A";
  923. var CONFIGURATION_KEY = "C";
  924. var copy_to_dead_key = "D";
  925. var toggle_autocheck_key = "W";
  926. var toggle_Enable_Anonymizer_key = "Z";
  927. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  928. var first_key_keycodename = 'CTRL';
  929. var second_key_keycode = '18';
  930. var second_key_keycodename = 'ALT';
  931. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  932. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  933. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  934. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  935. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  936. //settings for keyboard functions end
  937.  
  938. //global settings start
  939. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  940. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  941. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  942. var Show_progress_stats, Display_tooltip_info, Icon_set;
  943. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  944. var Progress_box_refresh_rate;
  945. var Obsolete_file_hosts;
  946. var Custom_rules, Custom_rules_text;
  947.  
  948. var messageBox = document.createElement('b'); // top-left message box
  949.  
  950. var cLinksTotal = 0;
  951. var cLinksDead = 0;
  952. var cLinksAlive = 0;
  953. var cLinksUnava = 0;
  954. var cLinksprem = 0;
  955. var cLinksProcessed = 0;
  956.  
  957. var intervalId; //for updateProgress()
  958.  
  959. //icon resources
  960. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEy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7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  969.  
  970. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACGklEQVR42mNkIBcwMWQwsDMrMZKhlZmRi2mCWYtE9st1bx+SagAPlwTLCt+pot6vrv/8t7/mnQcpBsjI6jNvDp4uZvDuMw/D8uA7U39/+Z9DrAGG5r5Mmz06pKQ//BVnWJl89daL0z8MgeLfiDHAN6SAaZlhjjzP+x8SDAcX3P1zuueVDVD8JEiSkVOcZbWAJKPi8wu/q4H8nSgBzcyQl9jN1ifvp8z8+acQw50brxk2Rd1u+fvzfy1MDaN7DOO7ohnSgqe2Pf0/rYJh1/N7/0uB4tdYuRknJMzgzZYyV2L89pub4c3Xbwwb4q+de3/9pwVQ/jfcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  971. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3d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ZZsiM1TXbFTtftLdhPI+ZU4GNDotZW0HAzYDSVcSHmDeAyXbXOtsq3QAIsd2020VlRXBYEYdsThSCsdeZlEkhYoBUqBJOioaV0V8YWLgU+Ew3OUllo4jgd4D+4AtYdsc7/DVQOMxSNW5cNClGD+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  973. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  974.  
  975. //global settings end
  976. if (window.opera && !window.console)
  977. {
  978. window.console = {};
  979.  
  980. function fn()
  981. {
  982. opera.postError(arguments);
  983. };
  984. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  985. {
  986. window.console[name] = fn;
  987. });
  988. }
  989.  
  990. //displays colored text in message box
  991. function sendMessage(text, color)
  992. {
  993. var msgDiv = document.createElement('div');
  994. msgDiv.style.color = color;
  995. msgDiv.innerHTML = text;
  996. messageBox.appendChild(msgDiv);
  997. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  998. }
  999.  
  1000. function linkify(totalourls)
  1001. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1002. var ikkeTilladteTags;
  1003. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1004. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1005. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1006. allLinksRegex = new RegExp(allLinksRegex, "g");
  1007. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1008.  
  1009. if (Do_not_linkify_DL_links)
  1010. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1011. else
  1012. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1013.  
  1014. var regex = new RegExp(regexy);
  1015. var textNode, muligtLink;
  1016.  
  1017. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1018. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1019.  
  1020. var i = textNodes.snapshotLength;
  1021. while (i--)
  1022. {
  1023. textNode = textNodes.snapshotItem(i);
  1024.  
  1025. muligtLink = textNode.nodeValue; //all links on page
  1026.  
  1027. var myArray = null;
  1028. var span = null;
  1029. var lastLastIndex = 0;
  1030. allLinksRegex.lastIndex = 0;
  1031. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1032. {
  1033. if (textNode.parentNode.className == "adead_link") continue;
  1034. var censoredLink = muligtLink;
  1035. var span = document.createElement('span');
  1036. span.className = "adead_link";
  1037. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1038. $(span).html(censoredLink);
  1039. span.addEventListener("mouseover", displayTooltipError, false);
  1040. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1041. textNode.parentNode.replaceChild(span, textNode);
  1042. continue;
  1043. alert(censoredLink);
  1044. }
  1045. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1046. {
  1047. if (!regex.test(myArray[0])) //this link is not recognized
  1048. {
  1049.  
  1050. continue;
  1051. }
  1052. if (!span)
  1053. span = document.createElement('span');
  1054.  
  1055. var link = myArray[0];
  1056. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1057.  
  1058. var $a = $("<a>" + link + "</a>")
  1059. if (!link.match(/https?:\/\//))
  1060. {
  1061. link = 'http://' + link;
  1062. }
  1063.  
  1064. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1065. .addClass("processing_link")
  1066. .appendTo(span);
  1067. lastLastIndex = allLinksRegex.lastIndex;
  1068. }
  1069. if (span)
  1070. {
  1071. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1072. textNode.parentNode.replaceChild(span, textNode);
  1073. }
  1074. }
  1075. }
  1076.  
  1077. function add_WARLC_style()
  1078. {
  1079. if (!(document.getElementsByTagName('WARLC')[0]))
  1080. {
  1081. var meta_not_to_add_more_style = document.createElement("WARLC");
  1082. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1083. meta_not_to_add_more_style.setAttribute('name', 'description');
  1084. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1085. alive_link_png = "";
  1086. adead_link_png = "";
  1087. unava_link_png = "";
  1088. prem_link_png = "";
  1089. switch(Icon_set)
  1090. {
  1091. //no icons
  1092. case 0: break;
  1093. // cat paws
  1094. case 1: alive_link_png = PAW_ICON_GREEN;
  1095. adead_link_png = PAW_ICON_RED;
  1096. unava_link_png = PAW_ICON_YELLOW;
  1097. prem_link_png = PAW_ICON_PINK;
  1098. break;
  1099. // classic RSLC look
  1100. case 2: alive_link_png = RSLC_ICON_GREEN;
  1101. adead_link_png = RSLC_ICON_RED;
  1102. unava_link_png = RSLC_ICON_YELLOW;
  1103. prem_link_png = RSLC_ICON_PINK;
  1104. break;
  1105. // New Icons
  1106. case 3: alive_link_png = NEW_ICON_GREEN;
  1107. adead_link_png = NEW_ICON_RED;
  1108. unava_link_png = NEW_ICON_YELLOW;
  1109. prem_link_png = NEW_ICON_PINK;
  1110. break;
  1111. // cat paws
  1112. default:alive_link_png = PAW_ICON_GREEN;
  1113. adead_link_png = PAW_ICON_RED;
  1114. unava_link_png = PAW_ICON_YELLOW;
  1115. prem_link_png = PAW_ICON_PINK;
  1116. break;
  1117. }
  1118. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1119. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1120.  
  1121. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1122.  
  1123. if (Color_DL_links)
  1124. {
  1125. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1126. live_color_css = 'color:' + Live_links_color + ' !important;';
  1127. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1128. container_color_css = 'color:' + Container_links_color + ' !important;';
  1129. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1130. }
  1131. else
  1132. {
  1133. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1134. }
  1135.  
  1136. if (Show_black_background_in_DL_links)
  1137. {
  1138. black_background_css = 'background-color: black !important;';
  1139. }
  1140. else
  1141. {
  1142. black_background_css = '';
  1143. }
  1144.  
  1145. if (Show_line_through_in_dead_links)
  1146. {
  1147. line_through_css = 'text-decoration: line-through !important;';
  1148. }
  1149. else
  1150. {
  1151. line_through_css = '';
  1152. }
  1153.  
  1154. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1155. 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 + "}");
  1156. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1157. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1158. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1159. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1160. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1161. }
  1162. }
  1163.  
  1164. var warlcTooltip = null;
  1165. var mouseoverLink = null; //link href with mouse cursor over it
  1166.  
  1167. var lastX = 0;
  1168. var lastY = 0;
  1169.  
  1170. $(document).ready(initTooltip);
  1171. //inits tooltip
  1172. function initTooltip()
  1173. { warlcTooltip = document.createElement("div");
  1174. 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;");
  1175. warlcTooltip.style.visibility = "hidden";
  1176. document.body.appendChild(warlcTooltip);
  1177. }
  1178.  
  1179. //"mousemove" event handler for all links
  1180. function moveTooltip(event)
  1181. {
  1182. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1183. { //no need to reflow if the cursor moved just a little
  1184. return;
  1185. }
  1186. else
  1187. {
  1188. lastX = event.clientX;
  1189. lastY = event.clientY;
  1190. }
  1191.  
  1192. posX = event.clientX + window.pageXOffset + 10;
  1193. posY = event.clientY + window.pageYOffset;
  1194. var ttHeight = warlcTooltip.offsetHeight;
  1195. var ttFreeSpace = window.innerHeight - event.clientY;
  1196. if (ttHeight > ttFreeSpace)
  1197. { //prevents tooltip from getting out of the window
  1198. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1199. }
  1200. else
  1201. {
  1202. posY += 7;
  1203. }
  1204. warlcTooltip.style.top = posY + "px";
  1205. warlcTooltip.style.left = posX + "px";
  1206. }
  1207.  
  1208. //"mouseout" event handler for all links
  1209. function hideTooltip(){
  1210. warlcTooltip.style.visibility = "hidden";
  1211. mouseoverLink = null;
  1212. }
  1213.  
  1214.  
  1215. //"mouseover" event handler for dead links
  1216. //displays tooltip error message on dead links
  1217. function displayTooltipError()
  1218. {
  1219. mouseoverLink = this.href;
  1220. this.addEventListener("mouseout", hideTooltip);
  1221. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1222. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1223. warlcTooltip.style.minWidth = 0;
  1224. warlcTooltip.style.visibility = "visible";
  1225. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1226. {
  1227. warlcTooltip.innerHTML = this.warlc_error;
  1228. }
  1229. else
  1230. {
  1231. loadErrorInfo(this);
  1232. }
  1233. function loadErrorInfo(link)
  1234. {
  1235. var href = link.href;
  1236. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1237. GM_xmlhttpRequest({
  1238. method: 'GET',
  1239. url: href.replace(Ref_anonymize_service, ""),
  1240. headers: {
  1241. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1242. 'Accept': 'text/xml',
  1243. 'Referer': ""
  1244. },
  1245. onload: function(result) {
  1246. var res = result.responseText;
  1247. //TODO: errorRegexs -
  1248. var errorRegexs = [ //generic error messages follow
  1249. /(empty directory)/i,
  1250. /(soubor nebyl nalezen)/i,
  1251. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1252. //server specific error messages follow
  1253. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1254. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1255. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1256. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1257. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1258. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1259. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1260. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1261. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1262. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1263. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1264. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1265. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1266. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1267. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1268. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1269. /(File has been removed due to Copyright Claim)/, //filerio
  1270. ];
  1271. var errorIdx = errorRegexs.length;
  1272. var error = "Cause of error: <b>unknown</b>";
  1273. var errorCandidate = "";
  1274. while(errorIdx--)
  1275. {
  1276. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1277. if (errorCandidate != null)
  1278. {
  1279. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1280. break;
  1281. }
  1282. }
  1283. //link attributes
  1284. link.warlc_error = error;
  1285. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1286. {
  1287. warlcTooltip.innerHTML = error;
  1288. }
  1289. }
  1290. });
  1291. }
  1292. }
  1293.  
  1294. //"mouseover" event handler for alive links
  1295. //displays tooltip info (file size, file name,...) on alive links
  1296. function displayTooltipInfo()
  1297. {
  1298. mouseoverLink = this.href;
  1299. //exclude direct download filehostings
  1300. if (this.href.match(/(?:uloziste\.com|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)/))
  1301. {
  1302. return;
  1303. }
  1304. this.addEventListener("mouseout", hideTooltip);
  1305. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1306. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1307. warlcTooltip.style.minWidth = 0;
  1308. warlcTooltip.style.visibility = "visible";
  1309. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1310. {
  1311. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1312. }
  1313. else
  1314. {
  1315. loadInfo(this);
  1316. }
  1317. function loadInfo(link)
  1318. {
  1319. var href = link.href;
  1320. GM_xmlhttpRequest({
  1321. method: 'GET',
  1322. url: href.replace(Ref_anonymize_service, ""),
  1323. headers: {
  1324. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1325. 'Accept': 'text/xml',
  1326. 'Referer': ""
  1327. },
  1328. onload: function(result) {
  1329. var res = result.responseText;
  1330. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1331. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1332. /fl" title="(.+?)">/, //edisk
  1333. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, uloz.to, share-rapid, shragle, extabit, refile.net
  1334. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1335. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1336. /title="download (.+?)">/, //sendspace
  1337. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1338. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1339. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1340. /d0FileName = "(.+?)";/, //letitbit
  1341. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1342. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1343. /fname" value="(.+?)">/, //syfiles, grupload,
  1344. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1345. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1346. /Complete name : (.+?)<br \/>/, //bezvadata
  1347. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1348. ];
  1349. var nameIdx = nameRegexs.length;
  1350. // [sizeRegexs]
  1351. // / \ \?
  1352. // prefix (size) postfix
  1353. // / \
  1354. // val quant
  1355. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1356. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1357. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1358. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1359. var postSizeRegex = '(?:\\))?';
  1360. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1361. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1362. ];
  1363. var sizeIdx = sizeRegexs.length;
  1364. //
  1365. //
  1366. var tooltip = "File Name: <b>";
  1367. var fileName = "unknown";
  1368. var nameCandidate = "";
  1369. while(nameIdx--)
  1370. {
  1371. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1372. if (nameCandidate != null)
  1373. {
  1374. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1375. break;
  1376. }
  1377. }
  1378. tooltip += fileName + "</b><br>File Size: <b>";
  1379. var fileSize = "unknown";
  1380. var sizeCandidate = "";
  1381. while(sizeIdx--)
  1382. {
  1383. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1384. if (sizeCandidate != null)
  1385. {
  1386. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1387. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1388. {
  1389. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1390. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1391. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1392. }
  1393. break;
  1394. }
  1395. }
  1396. tooltip += fileSize + "</b>";
  1397. // PROTOTYPE
  1398. // video thumbnails
  1399. if (href.match('hellshare'))
  1400. {
  1401. var thumbs;
  1402. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1403. if (thumbs)
  1404. {
  1405. tooltip += '<br>';
  1406. var j = Math.min(thumbs.length, 9);
  1407. for (var i = 0; i < j; i++)
  1408. {
  1409. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1410. }
  1411. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1412. }
  1413. }
  1414. if (href.match('czshare'))
  1415. {
  1416. var thumbs;
  1417. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1418. if (thumbs)
  1419. {
  1420. var thumbsServer = thumbs[1];
  1421. var thumbsId = thumbs[2];
  1422. tooltip += '<br>';
  1423. for (var i = 1; i < 9; i++)
  1424. {
  1425. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1426. }
  1427. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1428. }
  1429. }
  1430. if (href.match('bezvadata'))
  1431. {
  1432. var thumbs;
  1433. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1434. if (thumbs)
  1435. {
  1436. tooltip += '<br>';
  1437. var j = Math.min(thumbs.length, 9);
  1438. for (var i = 0; i < j; i++)
  1439. {
  1440. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1441. }
  1442. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1443. }
  1444. }
  1445. link.warlc_tooltipcache = tooltip;
  1446. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1447. {
  1448. warlcTooltip.innerHTML = tooltip;
  1449. }
  1450. }
  1451. });
  1452. }
  1453. }
  1454.  
  1455. function setVariables()
  1456. {
  1457. if (firstRun)
  1458. {
  1459. GM_log('First run, applying default settings...');
  1460. GM_setValue("Icon_set",1);
  1461. GM_setValue("Display_tooltip_info",true);
  1462. GM_setValue("Show_black_background_in_DL_links",false);
  1463. GM_setValue("Show_line_through_in_dead_links",false);
  1464. GM_setValue("Display_full_links_in_link_containers",false);
  1465. GM_setValue("Allow_spaces_in_DL_links",false);
  1466. GM_setValue("Autocheck",true);
  1467. GM_setValue("Enable_Anonymizer",false);
  1468. GM_setValue("Do_not_linkify_DL_links",false);
  1469. GM_setValue("Show_progress_stats",true);
  1470. GM_setValue("Keyboard_functions",true);
  1471. GM_setValue("Obsolete_file_hosts",false);
  1472. GM_setValue("Color_DL_links",true);
  1473. GM_setValue("Live_links_color","Green");
  1474. GM_setValue("Dead_links_color","#FF3300");
  1475. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1476. GM_setValue("Container_links_color","DarkKhaki");
  1477. GM_setValue("Premium_links_color","DeepPink");
  1478. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1479. GM_setValue("Custom_rules",false);
  1480. GM_setValue("Custom_rules_text","");
  1481. GM_setValue("First_run", false);
  1482. }
  1483. //hidden settings
  1484. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1485. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1486. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1487. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1488. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1489. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1490. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1491. //hidden settings end
  1492.  
  1493. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1494. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1495. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1496. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1497. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1498. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1499. Autocheck = GM_getValue("Autocheck", true);
  1500. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1501. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1502. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1503. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1504. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1505. Color_DL_links = GM_getValue("Color_DL_links", true);
  1506. Live_links_color = GM_getValue("Live_links_color", "Green");
  1507. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1508. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1509. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1510. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1511. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1512. Custom_rules = GM_getValue("Custom_rules", false);
  1513. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1514. }
  1515.  
  1516.  
  1517. // Delinkifies the links
  1518. // params:
  1519. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1520. // e.g. 'uloz.to/xs68skxl8')
  1521. function delinkifySnapshot(snapshot)
  1522. {
  1523. var n = snapshot.snapshotLength;
  1524.  
  1525. while (n--)
  1526. {
  1527. thisLink = snapshot.snapshotItem(n);
  1528.  
  1529. var spanElm = document.createElement("span");
  1530. spanElm.className = thisLink.className;
  1531. spanElm.innerHTML = thisLink.innerHTML;
  1532.  
  1533. if (Display_tooltip_info)
  1534. {
  1535. spanElm.href = thisLink.href;
  1536. switch (thisLink.className){
  1537. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1538. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1539. case "unava_link": //reserved
  1540. default:
  1541. }
  1542. }
  1543. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1544. }
  1545. }
  1546.  
  1547. function processContainers()
  1548. {
  1549. var redirectorTypes = { "HTTP_302": 0,
  1550. "INNER_LINK": 1,
  1551. "THELOO_KATT_IT": 2,
  1552. "CING_BE": 3,
  1553. "ADF_LY": 4};
  1554. var cMultiloadTotal = 0;
  1555. var cMultiloadProcessed = 0;
  1556.  
  1557. var cMirrorcreatorComTotal = 0;
  1558. var cMirrorcreatorComProcessed = 0;
  1559.  
  1560. var hostRestrictionRegex = "";
  1561. var multiloadComRestriction = "";
  1562. var multiloadComRestrictionRegex;
  1563.  
  1564. //
  1565. //HANDLING REDIRECTORS START
  1566. //
  1567.  
  1568. var redirectors = new Array();
  1569. initRedirectors();
  1570.  
  1571. var redirectorsCount = redirectors.length;
  1572.  
  1573. if (redirectorsCount > 0)
  1574. {
  1575. var allRedirectorsRegex = "";
  1576.  
  1577. //linkify redirector links
  1578. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1579. {
  1580. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1581. }
  1582. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1583. linkify(allRedirectorsRegex);
  1584. //
  1585. //process redirector links
  1586. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1587. {
  1588. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1589. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1590.  
  1591. cLinksTotal += redirectors[redirIdx].cTotal;
  1592. var linkIdx = redirectors[redirIdx].cTotal;
  1593.  
  1594. while(linkIdx--)
  1595. {
  1596. switch(redirectors[redirIdx].type)
  1597. {
  1598. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1599. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1600. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1601. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1602. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1603. default:
  1604. }
  1605. }
  1606. }
  1607. //
  1608. }
  1609.  
  1610. //HTTP_302
  1611. function processRedirectorLink(link, redirectorId)
  1612. {
  1613. link.className = 'container_link';
  1614.  
  1615. GM_xmlhttpRequest({
  1616. method: 'HEAD',
  1617. url: link.href,
  1618. headers: {
  1619. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1620. 'Accept': 'text/xml',
  1621. 'Referer': ""
  1622. },
  1623. onload: function(result) {
  1624. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1625. {
  1626. processRedirectorLink(link, redirectorId);
  1627. }
  1628. else
  1629. {
  1630. redirectors[redirectorId].cProcessed++;
  1631. link.href = result.finalUrl;
  1632. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1633. checkLinks('container_link');
  1634. }
  1635. },
  1636. onerror: function(result) { //probably caused by unresponsive filehosting
  1637. redirectors[redirectorId].cProcessed++;
  1638. link.className = 'unava_link';
  1639. cLinksProcessed++;
  1640. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1641. checkLinks('container_link');
  1642. }
  1643. });
  1644. }
  1645. //INNER_LINK
  1646. function processRedirectorLinkEx(link, redirectorId)
  1647. {
  1648. link.className = 'container_link';
  1649. GM_xmlhttpRequest({
  1650. method: 'GET',
  1651. url: link.href,
  1652. headers: {
  1653. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1654. 'Accept': 'text/xml',
  1655. 'Referer': ""
  1656. },
  1657. onload: function(result) {
  1658. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1659. redirectors[redirectorId].cProcessed++;
  1660. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1661. checkLinks('container_link');
  1662. }
  1663. });
  1664. }
  1665. //theloo.katt.it (wrapped safelinking.net)
  1666. function processThelooKattItLink(link, redirectorId)
  1667. {
  1668. link.className = 'container_link';
  1669. GM_xmlhttpRequest({
  1670. method: 'GET',
  1671. url: link.href,
  1672. headers: {
  1673. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1674. 'Accept': 'text/xml',
  1675. 'Referer': ""
  1676. },
  1677. onload: function(result) {
  1678. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1679. redirectors[redirectorId].cProcessed++;
  1680. //the inner links are safelinking.net links, so lets proceed with it
  1681. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1682. {
  1683. processRedirectorLink(link, 0);
  1684. }
  1685. }
  1686. });
  1687. }
  1688. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1689. function processAdfLyLink(link, redirectorId)
  1690. {
  1691. link.className = 'container_link';
  1692. GM_xmlhttpRequest({
  1693. method: 'GET',
  1694. url: link.href,
  1695. headers: {
  1696. 'User-agent': 'Mozilla/4.0',
  1697. 'Accept': 'text/xml',
  1698. 'Referer': ""
  1699. },
  1700. onload: function(result) {
  1701. if (result.finalUrl.match('/locked/'))
  1702. {
  1703. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1704. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1705. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1706. }
  1707. else
  1708. {
  1709. // GM_log('Processing... ' + link.href);
  1710. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1711. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1712. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1713. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1714. //confirm advert
  1715. GM_xmlhttpRequest(
  1716. {
  1717. method: 'POST',
  1718. url: 'http://adf.ly/l.php',
  1719. headers: {
  1720. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1721. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1722. 'Referer': link.href
  1723. },
  1724. data: users + '&lt=' + logToken,
  1725. onload: function(result) {
  1726. //retrieve final url from .../go/... link
  1727. GM_xmlhttpRequest({
  1728. method: 'GET',
  1729. url: directLink,
  1730. headers: {
  1731. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1732. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1733. 'Referer': link.href
  1734. },
  1735. onload: function(result) {
  1736. link.href = result.finalUrl;
  1737. redirectors[redirectorId].cProcessed++;
  1738. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1739. checkLinks('container_link');
  1740. }
  1741. });
  1742. }
  1743. });
  1744. }
  1745. }
  1746. });
  1747. function proceedOK()
  1748. {
  1749. }
  1750. }
  1751. //MULTILOAD.CZ START
  1752. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1753. {
  1754. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1755. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1756.  
  1757. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1758.  
  1759. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1760. hostRestrictionRegex += 'hellshare|';
  1761. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1762. hostRestrictionRegex += 'downloadhellshare|';
  1763. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1764. hostRestrictionRegex += 'share-rapid\\.com|';
  1765. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1766. hostRestrictionRegex += 'quickshare\\.cz|';
  1767. if (GM_getValue("Check_czshare_dot_com_links", false))
  1768. hostRestrictionRegex += 'czshare\\.com|';
  1769. if (GM_getValue("Check_uloz_dot_to_links", false))
  1770. hostRestrictionRegex += 'uloz\\.to|';
  1771. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1772. hostRestrictionRegex += 'hellspy|';
  1773. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1774. hostRestrictionRegex += 'multishare\\.cz|';
  1775.  
  1776. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1777.  
  1778. linkify(mlRegex);
  1779.  
  1780. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1781. var mlCount = mlSnapshot.snapshotLength;
  1782.  
  1783. if (mlCount > 0)
  1784. {
  1785. cMultiloadTotal += mlCount;
  1786.  
  1787. mlIdx = mlCount - 1;
  1788. do
  1789. {
  1790. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1791. }
  1792. while(mlIdx--)
  1793. }
  1794. }
  1795. //MULTILOAD.CZ END
  1796.  
  1797.  
  1798.  
  1799. function processMultiloadLink(mlLink)
  1800. {
  1801. GM_xmlhttpRequest({
  1802. method: 'GET',
  1803. url: mlLink.href,
  1804. headers: {
  1805. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1806. 'Accept': 'text/xml',
  1807. 'Referer': ""
  1808. },
  1809. onload: function(result) {
  1810. var res = result.responseText;
  1811.  
  1812. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1813. 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;
  1814. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1815. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1816.  
  1817. var blocks; // blocks of links
  1818. var blockIdx;
  1819.  
  1820. mlLink.className = '';
  1821.  
  1822. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1823. {
  1824. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1825. return;
  1826. }
  1827.  
  1828. blocks = res.match(innerBlockRegex);
  1829.  
  1830. if (blocks == null) //no links found, cancel further processing
  1831. {
  1832. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1833. cMultiloadProcessed++;
  1834. if (cMultiloadTotal <= cMultiloadProcessed)
  1835. {
  1836. startBulkCheck('container_link');
  1837. start('container_link');
  1838. }
  1839. return;
  1840. }
  1841.  
  1842. blockIdx = blocks.length;
  1843.  
  1844. if (Display_full_links_in_link_containers)
  1845. {
  1846. var ulElm = document.createElement('ul');
  1847. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1848.  
  1849. while(blockIdx--)
  1850. {
  1851. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1852. {
  1853. continue;
  1854. }
  1855.  
  1856. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1857.  
  1858. var linkIdx = innerLinks.length;
  1859. while (linkIdx--)
  1860. {
  1861. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1862.  
  1863. var liElm = document.createElement('li');
  1864.  
  1865. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1866. {
  1867. liElm.appendChild(document.createTextNode(innerLink));
  1868. }
  1869. else
  1870. {
  1871. var aElm = document.createElement('a');
  1872. aElm.innerHTML = innerLink;
  1873. aElm.href = innerLink;
  1874. aElm.className = 'container_link';
  1875.  
  1876. liElm.appendChild(aElm);
  1877. }
  1878.  
  1879. ulElm.appendChild(liElm);
  1880. cLinksTotal++;
  1881. }
  1882. }
  1883.  
  1884. mlLink.parentNode.appendChild(ulElm);
  1885. }
  1886. else //compact view
  1887. {
  1888. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1889.  
  1890. while(blockIdx--)
  1891. {
  1892. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1893. {
  1894. continue;
  1895. }
  1896.  
  1897. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1898.  
  1899. var linkIdx = innerLinks.length;
  1900. while (linkIdx--)
  1901. {
  1902. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1903.  
  1904. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1905. {
  1906. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1907. }
  1908. else
  1909. {
  1910. var aElm = document.createElement('a');
  1911.  
  1912. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1913.  
  1914. //abbreviate host name
  1915. switch(hostName + ""){
  1916.  
  1917. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1918. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1919. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1920. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1921. case 'multishare': aElm.innerHTML = 'MS'; break;
  1922. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1923. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1924. case 'czshare': aElm.innerHTML = 'CS'; break;
  1925. default: aElm.innerHTML = 'xx';
  1926.  
  1927. }
  1928.  
  1929. aElm.href = innerLink;
  1930. aElm.className = 'container_link';
  1931.  
  1932. mlLink.parentNode.appendChild(aElm);
  1933. cLinksTotal++;
  1934. }
  1935. }
  1936.  
  1937. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1938.  
  1939. }
  1940. }
  1941.  
  1942. cMultiloadProcessed++;
  1943. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1944. {
  1945. if (Do_not_linkify_DL_links)
  1946. {
  1947. delinkifySnapshot(mlSnapshot);
  1948. }
  1949. startBulkCheck('container_link');
  1950. start('container_link');
  1951. }
  1952. }
  1953. });
  1954. }
  1955.  
  1956.  
  1957. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1958. {
  1959. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1960. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1961. var mcShortHostNames =
  1962. '?? 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';
  1963. // 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
  1964. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1965. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1966. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1967. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1968.  
  1969. linkify(mcRegex);
  1970.  
  1971. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1972. var mcCount = mcSnapshot.snapshotLength;
  1973.  
  1974. cMirrorcreatorComTotal = mcCount;
  1975.  
  1976. if (mcCount > 0)
  1977. {
  1978. mcShortHostNames = mcShortHostNames.split(' ');
  1979. mcIdx = mcCount;
  1980. while(mcIdx--)
  1981. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1982. }
  1983.  
  1984. }
  1985. //MIRRORCREATOR.CZ END
  1986.  
  1987.  
  1988. //mirrorcreator.com checking works like this:
  1989. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1990. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1991. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1992. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1993. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1994. function processMirrorcreatorLink(mcLink)
  1995. {
  1996. var mcURL = mcLink.href.match(mcRegex);
  1997. if(!mcURL || !mcURL[1]) return;
  1998. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1999. GM_xmlhttpRequest({
  2000. method: 'GET',
  2001. url: mcURL,
  2002. headers: {
  2003. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2004. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2005. 'Referer': ""
  2006. },
  2007. onload: function(mcLinkResult) {
  2008. var mcLinkRes = mcLinkResult.responseText;
  2009.  
  2010. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2011. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2012.  
  2013. var mcRedirectors;
  2014. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2015. var m = mcLinkRes.match(mcLinkBlockRegex);
  2016. if (m)
  2017. mcHostsFound = m.length;
  2018. else
  2019. { //no files inside container
  2020. processMirrorcreatorFoundHosts(mcLink, []);
  2021. return;
  2022. }
  2023.  
  2024. var mcRedirectorURL, idx, timedOut = false;
  2025.  
  2026. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2027. GM_xmlhttpRequest({
  2028. method: 'GET',
  2029. url: mcRedirectorURL,
  2030. headers: {
  2031. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2032. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2033. 'Referer': ""
  2034. },
  2035. onload: function(mcHostResult) {
  2036. if (timedOut) return; //too late, the list is already displayed
  2037. var mcHostRes = mcHostResult.responseText;
  2038. var mcHost = mcHostRes.match(mcHostRegex);
  2039. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2040. if (mcHost && idx!=-1)
  2041. {
  2042. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2043. mcHostsRetrieved++;
  2044. mcHostsToProcess++;
  2045. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2046. {
  2047. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2048. mcHostsToProcess = 0;
  2049. }
  2050. }
  2051. } //end of onload: function
  2052. }); //end of GM_xmlhttpRequest call
  2053. };//end of var gmxhrFunc
  2054.  
  2055. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2056. { //load individual redirector pages
  2057. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2058. mcHostURLs.push(mcRedirectorURL);
  2059. mcRedirectorIDs.push(mcRedirectors[2]);
  2060. gmxhrFunc(mcRedirectorURL);
  2061. } //end of while block
  2062.  
  2063. setTimeout(function(){ //in case the last page fails to load and call the function
  2064. timedOut = true;
  2065. if (mcHostsToProcess)
  2066. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2067. }, 60000);
  2068.  
  2069. } //end of onload function
  2070. }); //end of GM_xmlhttpRequest call
  2071. } //end of function processMirrorcreatorLink
  2072.  
  2073.  
  2074. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2075. {
  2076. var aEl, liEl, docFrag;
  2077. var hostName, mcRedirectorID, trimFilename = false;
  2078. var i = mcHostURLs.length;
  2079. if (i == 0)
  2080. {
  2081. trimFilename = true;
  2082. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2083. }
  2084. else
  2085. {
  2086. if (Display_full_links_in_link_containers)
  2087. { //full view
  2088. var wrapperEl = document.createElement('span');
  2089. wrapperEl.style.display = 'block';
  2090. var ulistEl = document.createElement('ul');
  2091. ulistEl.className = 'container_list';
  2092. while (i--)
  2093. {
  2094. liEl = document.createElement('li');
  2095. aEl = document.createElement('a');
  2096. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2097. aEl.href = mcHostURLs[i];
  2098. aEl.className = 'container_link';
  2099. liEl.appendChild(aEl);
  2100. ulistEl.appendChild(liEl);
  2101. }
  2102. wrapperEl.appendChild(ulistEl);
  2103. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2104. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2105. }
  2106. else
  2107. { //compact view
  2108. trimFilename = true;
  2109. docFrag = document.createDocumentFragment();
  2110. docFrag.appendChild(document.createTextNode(' |'));
  2111. while (i--)
  2112. {
  2113. mcRedirectorID = mcRedirectorIDs[i];
  2114. hostName = mcHostURLs[i];
  2115. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2116. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2117. else
  2118. hostName = mcShortHostNames[mcRedirectorID];
  2119. aEl = document.createElement('a');
  2120. aEl.href = mcHostURLs[i];
  2121. aEl.className = 'container_link';
  2122. aEl.appendChild(document.createTextNode(hostName));
  2123. docFrag.appendChild(aEl);
  2124. docFrag.appendChild(document.createTextNode('|'));
  2125. }
  2126. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2127. } //end of else block
  2128. } //end of else block
  2129. mcLink.className = '';
  2130. if (trimFilename)
  2131. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2132. cMirrorcreatorComProcessed++;
  2133. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2134. {
  2135. if (Do_not_linkify_DL_links)
  2136. delinkifySnapshot(mcSnapshot);
  2137. startBulkCheck('container_link');
  2138. start('container_link');
  2139. }
  2140. } //end of function processMirrorcreatorFoundHosts
  2141.  
  2142. containers_processed = true;
  2143.  
  2144.  
  2145. function initRedirectors()
  2146. {
  2147. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2148. {
  2149. var redirector = new Object();
  2150. redirector.linkRegex = linkRegex;
  2151. redirector.xpath = xpathEx; //xpath expression
  2152. redirector.cProcessed = 0; //processed links count
  2153. redirector.cTotal = 0; //total links count
  2154. redirector.type = redirType; //redirectorTypes enum
  2155. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2156. redirectors.push(redirector);
  2157. }
  2158. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2159. {
  2160. addRedirector(
  2161. 'safelinking\\.net\/d\/\\w+',
  2162. "//a[contains(@href,'safelinking.net/d/')]",
  2163. redirectorTypes.HTTP_302,
  2164. null);
  2165. }
  2166. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2167. {
  2168. addRedirector(
  2169. 'linksafe\\.me\/d\/\\w+',
  2170. "//a[contains(@href,'linksafe.me/d/')]",
  2171. redirectorTypes.HTTP_302,
  2172. null);
  2173. }
  2174. if (GM_getValue("Check_linkto_dot_net_links", false))
  2175. {
  2176. addRedirector(
  2177. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2178. "//a[contains(@href,'linkto.net/?')]",
  2179. redirectorTypes.INNER_LINK,
  2180. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2181. }
  2182. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2183. {
  2184. addRedirector(
  2185. '(?:the)?loo\\.katt\\.it\/\\w+',
  2186. "//a[contains(@href,'loo.katt.it/')]",
  2187. redirectorTypes.THELOO_KATT_IT,
  2188. /Proceed to URL - <a href="(.+?)">/);
  2189. }
  2190. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2191. {
  2192. addRedirector(
  2193. 'madlink\\.sk\/\\w+',
  2194. "//a[contains(@href,'madlink.sk/')]",
  2195. redirectorTypes.INNER_LINK,
  2196. /name="url" value="(.+?)\s*"\/>/);
  2197. }
  2198. if (GM_getValue("Check_adf_dot_ly_links", false))
  2199. {
  2200. addRedirector(
  2201. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2202. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2203. redirectorTypes.ADF_LY,
  2204. null);
  2205. }
  2206. if (GM_getValue("Check_redi_dot_re_links", false))
  2207. {
  2208. addRedirector(
  2209. 'redi\\.re\/\\w+',
  2210. "//a[contains(@href,'redi.re/')]",
  2211. redirectorTypes.HTTP_302,
  2212. null);
  2213. }
  2214. if (GM_getValue("Check_bit_dot_ly_links", false))
  2215. {
  2216. addRedirector(
  2217. 'bit\\.ly\/\\w+',
  2218. "//a[contains(@href,'bit.ly/')]",
  2219. redirectorTypes.HTTP_302,
  2220. null);
  2221. }
  2222. }
  2223.  
  2224. }
  2225.  
  2226. var bulkHosts = new Array();
  2227. var bulkHostNames = new Array();
  2228. function initBulkCheck()
  2229. {
  2230. /////////////////////////////
  2231. // Inits filehost object
  2232. /////////////////////////////
  2233. // params :
  2234. // hostName -- [string] host name (multiple domains separated with coma)
  2235. // linkRegex -- [string] link regex
  2236. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2237. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2238. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2239. // corrReplWhat -- [regex] link correction regex (replace)
  2240. // corrReplWith -- [string]
  2241. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2242. //
  2243. // apiUrl -- [string] web linkchecker or API URL
  2244. // postData -- [string] POSTDATA of xmlhttprequest
  2245. // resLinkRegex -- [regex]
  2246. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2247. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2248. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2249. // func -- [function] bulkcheck handler, genBulkCheck if null
  2250. //
  2251. //////////////////////////////
  2252. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2253. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2254. {
  2255. var fileHost = new Object();
  2256.  
  2257. fileHost.linkRegex = linkRegex;
  2258. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2259. fileHost.xpath = xpath;
  2260. fileHost.cFound = 0; //found links counter
  2261. fileHost.links = new Array(); //found links
  2262. if (blockSize == null)
  2263. {
  2264. fileHost.blockSize = 50;
  2265. }
  2266. else
  2267. {
  2268. fileHost.blockSize = blockSize;
  2269. }
  2270. fileHost.corrMatch = corrMatch;
  2271. fileHost.corrReplWhat = corrReplWhat;
  2272. fileHost.corrReplWith = corrReplWith;
  2273. if (splitSeparator == null)
  2274. {
  2275. fileHost.splitSeparator = "\r\n";
  2276. }
  2277. else
  2278. {
  2279. fileHost.splitSeparator = splitSeparator;
  2280. }
  2281. fileHost.apiUrl = apiUrl;
  2282. fileHost.postData = postData;
  2283. fileHost.resLinkRegex = resLinkRegex;
  2284. fileHost.resLiveRegex = resLiveRegex;
  2285. fileHost.resDeadRegex = resDeadRegex;
  2286. fileHost.resUnavaRegex = resUnavaRegex;
  2287. if (func == null)
  2288. {
  2289. fileHost.func = genBulkCheck;
  2290. }
  2291. else
  2292. {
  2293. fileHost.func = func;
  2294. }
  2295. bulkHosts.push(fileHost);
  2296. var names = hostName.split(',');
  2297. var i = names.length;
  2298. while(i--)
  2299. {
  2300. bulkHostNames[names[i]] = fileHost;
  2301. }
  2302. }
  2303. var genType1 = [
  2304. "rodfile.com", "downloadani.me", //"migahost.com",
  2305. "rarefile.net",
  2306. "filesabc.com",
  2307. "verzend.be",
  2308. // "movreel.com",
  2309. "4up.me",
  2310. "file4safe.com", "filemac.com", "4upfiles.com",
  2311. "idup.in", "novafile.com", "longfiles.com",
  2312. "bitupload.com",
  2313. "uploadbaz.com"
  2314. ];
  2315. var genType2 = [ "queenshare.com",
  2316. "hulkload.com",
  2317. "amonshare.com", //"edoc.com",
  2318. ];
  2319. //xfilesharing 1.0
  2320. function addGenericType1()
  2321. {
  2322. var i = genType1.length;
  2323. while(i--)
  2324. {
  2325. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2326. {
  2327. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2328. addHost(
  2329. genType1[i].match(/[\w-]+/)[0], //hostname
  2330. regexSafe + "\/\\w+", //linkregex
  2331. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2332. null, //blocksize
  2333. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2334. null, //corrreplwhat
  2335. null, //corrreplwith
  2336. null, //separator
  2337. "http://" + genType1[i] + "/checkfiles.html", //api url
  2338. "op=checkfiles&process=Check+URLs&list=", //postdata
  2339. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2340. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2341. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2342. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2343. null //function delegate
  2344. )
  2345. }
  2346. }
  2347. }
  2348. //xfilesharing 2.0
  2349. function addGenericType2()
  2350. {
  2351. var i = genType2.length;
  2352. while(i--)
  2353. {
  2354. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2355. {
  2356. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2357. addHost(
  2358. genType2[i].match(/[\w-]+/)[0], //hostname
  2359. regexSafe + "\/\\w+", //linkregex
  2360. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2361. null, //blocksize
  2362. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2363. null, //corrreplwhat
  2364. null, //corrreplwith
  2365. null, //separator
  2366. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2367. "op=checkfiles&process=Check+URLs&list=", //postdata
  2368. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2369. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2370. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2371. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2372. null //function delegate
  2373. )
  2374. }
  2375. }
  2376. }
  2377. // TEMPLATE
  2378. // if (GM_getValue("Check__dot_com_links", false))
  2379. // {
  2380. // addHost(
  2381. // "", //hostname
  2382. // "", //linkregex
  2383. // "//a[contains(@href,'.com/')]", //xpath
  2384. // null, //blocksize
  2385. // null, //corrmatch
  2386. // null, //corrreplwhat
  2387. // null, //corrreplwith
  2388. // null, //separator
  2389. // "", //api url
  2390. // "", //postdata
  2391. // /()/, //linkregex
  2392. // //liveregex
  2393. // //deadregex
  2394. // //unavaregex
  2395. // null //function delegate
  2396. // )
  2397. // }
  2398. addGenericType1();
  2399. addGenericType2();
  2400.  
  2401. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2402. {
  2403. addHost(
  2404. "myvdrive,fileserving", //hostname
  2405. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2406. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2407. null, //blocksize
  2408. null, //corrmatch
  2409. null, //corrreplwhat
  2410. null, //corrreplwith
  2411. null, //separator
  2412. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2413. "links=", //postdata
  2414. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2415. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2416. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2417. null, //unavaregex
  2418. null //function delegate
  2419. )
  2420. }
  2421. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2422. {
  2423. addHost(
  2424. "hackerbox", //hostname
  2425. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2426. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2427. null, //blocksize
  2428. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2429. null, //corrreplwhat
  2430. null, //corrreplwith
  2431. null, //separator
  2432. "http://host.hackerbox.org/checkfiles.html", //api url
  2433. "op=checkfiles&process=Check+URLs&list=", //postdata
  2434. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2435. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2436. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2437. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2438. null //function delegate
  2439. )
  2440. }
  2441. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2442. {
  2443. addHost(
  2444. "hellshare", //hostname
  2445. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2446. "//a[contains(@href,'hellshare.')]", //xpath
  2447. 48, //blocksize
  2448. null, //corrmatch
  2449. null, //corrreplwhat
  2450. null, //corrreplwith
  2451. null, //separator
  2452. null, //api url
  2453. null, //postdata
  2454. null, //linkregex
  2455. null, //liveregex
  2456. null, //deadregex
  2457. null, //unavaregex
  2458. hellshareBulkCheck //function delegate
  2459. )
  2460. }
  2461. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2462. {
  2463. addHost(
  2464. "ncrypt", //hostname
  2465. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2466. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2467. 100000, //blocksize
  2468. null, //corrmatch
  2469. null, //corrreplwhat
  2470. null, //corrreplwith
  2471. null, //separator
  2472. null,
  2473. null,
  2474. null,
  2475. null,
  2476. null,
  2477. null,
  2478. ncryptBulkCheck //function delegate
  2479. )
  2480. }
  2481. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2482. {
  2483. addHost(
  2484. "uploadrocket", //hostname
  2485. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2486. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2487. null, //blocksize
  2488. null, //corrmatch
  2489. null, //corrreplwhat
  2490. null, //corrreplwith
  2491. "\n", //separator
  2492. 'http://uploadrocket.net/?op=checkfiles',
  2493. 'op=checkfiles&process=Check+URLs&list=',
  2494. /uploadrocket.net\/(\w+)/,
  2495. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2496. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2497. null,
  2498. null //function delegate
  2499. )
  2500. }
  2501. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2502. {
  2503. addHost(
  2504. "k2s,keep2s,keep2share",
  2505. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2506. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2507. 100000, //blocksize
  2508. null, //corrmatch
  2509. null, //corrreplwhat
  2510. null, //corrreplwith
  2511. null, //separator
  2512. null,
  2513. null,
  2514. null,
  2515. null,
  2516. null,
  2517. null,
  2518. k2sBulkCheck //function delegate
  2519. )
  2520. }
  2521. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2522. {
  2523. addHost(
  2524. "tezfiles",
  2525. "(?:tezfiles\\.com)\/\\w+",
  2526. "//a[contains(@href,'tezfiles.com')]",
  2527. 100000, //blocksize
  2528. null, //corrmatch
  2529. null, //corrreplwhat
  2530. null, //corrreplwith
  2531. null, //separator
  2532. null,
  2533. null,
  2534. null,
  2535. null,
  2536. null,
  2537. null,
  2538. k2sBulkCheck //function delegate
  2539. )
  2540. }
  2541. if (GM_getValue("Check_fboom_dot_me_links", false))
  2542. {
  2543. addHost(
  2544. "fboom,fileboom",
  2545. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2546. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2547. 100000, //blocksize
  2548. null, //corrmatch
  2549. null, //corrreplwhat
  2550. null, //corrreplwith
  2551. null, //separator
  2552. null,
  2553. null,
  2554. null,
  2555. null,
  2556. null,
  2557. null,
  2558. fboomBulkCheck //function delegate
  2559. )
  2560. }
  2561. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2562. {
  2563. addHost(
  2564. "1fichier,dl4free",
  2565. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2566. "//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/?')]",
  2567. 100000, //blocksize
  2568. null, //corrmatch
  2569. null, //corrreplwhat
  2570. null, //corrreplwith
  2571. null, //separator
  2572. null,
  2573. null,
  2574. null,
  2575. null,
  2576. null,
  2577. null,
  2578. dl4free_1fichier_BulkCheck //function delegate
  2579. )
  2580. }
  2581. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2582. {
  2583. addHost(
  2584. "depositfiles,dfiles",
  2585. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|de|ru)/files\/\\w+",
  2586. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2587. 100000, //blocksize
  2588. null, //corrmatch
  2589. null, //corrreplwhat
  2590. null, //corrreplwith
  2591. null, //separator
  2592. null,
  2593. null,
  2594. null,
  2595. null,
  2596. null,
  2597. null,
  2598. depositfilesBulkCheck //function delegate
  2599. )
  2600. }
  2601. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2602. {
  2603. addHost(
  2604. "filesflash", //hostname
  2605. "filesflash\\.com\/\\w+", //linkregex
  2606. "//a[contains(@href,'filesflash.com')]", //xpath
  2607. null, //blocksize
  2608. null, //corrmatch
  2609. /http:\/\//, //corrreplwhat
  2610. '', //corrreplwith
  2611. null, //separator
  2612. 'http://filesflash.com/checklinks.php',
  2613. 'submit=Go&links=',
  2614. /filesflash\.com\/(\w+)/,
  2615. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2616. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2617. null,
  2618. null //function delegate
  2619. )
  2620. }
  2621. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2622. {
  2623. addHost(
  2624. "jumbofiles", //hostname
  2625. "jumbofiles\\.com\/\\w+", //linkregex
  2626. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2627. null, //blocksize
  2628. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2629. null, //corrreplwhat
  2630. null, //corrreplwith
  2631. null, //separator
  2632. "http://jumbofiles.com/checkfiles.html", //api url
  2633. "op=checkfiles&process=Check+URLs&list=", //postdata
  2634. /(jumbofiles\.com\/\w+)/, //linkregex
  2635. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2636. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2637. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2638. null //function delegate
  2639. )
  2640. }
  2641. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2642. {
  2643. addHost(
  2644. "edisk", //hostname
  2645. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2646. "//a[contains(@href,'edisk.')]", //xpath
  2647. null, //blocksize
  2648. null, //corrmatch
  2649. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2650. 'edisk.cz/stahni', //corrreplwith
  2651. null, //separator
  2652. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2653. 'submitBtn=Zkontrolovat&checkFiles=',
  2654. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2655. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2656. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2657. null,
  2658. null //function delegate
  2659. )
  2660. }
  2661. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2662. {
  2663. GM_xmlhttpRequest( //age check skip
  2664. {
  2665. method: 'POST',
  2666. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2667. headers: {
  2668. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2669. 'Content-type': 'application/x-www-form-urlencoded',
  2670. 'Referer': ""
  2671. }
  2672. });
  2673. addHost(
  2674. "bezvadata", //hostname
  2675. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2676. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2677. null, //blocksize
  2678. null, //corrmatch
  2679. null, //corrreplwhat
  2680. null, //corrreplwith
  2681. null, //separator
  2682. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2683. 'zkontrolovat=Zkontrolovat&odkazy=',
  2684. /(bezvadata\.cz\/stahnout\/\d+)/,
  2685. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2686. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2687. null,
  2688. null //function delegate
  2689. )
  2690. }
  2691. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2692. {
  2693. addHost(
  2694. "linkcrypt", //hostname
  2695. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2696. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2697. 100000, //blocksize
  2698. null, //corrmatch
  2699. null, //corrreplwhat
  2700. null, //corrreplwith
  2701. null, //separator
  2702. null,
  2703. null,
  2704. null,
  2705. null,
  2706. null,
  2707. null,
  2708. linkcryptBulkCheck //function delegate
  2709. )
  2710. }
  2711. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2712. {
  2713. addHost(
  2714. "linksave", //hostname
  2715. "linksave\\.in\/\\w+", //linkregex
  2716. "//a[contains(@href,'linksave.in')]", //xpath
  2717. 100000, //blocksize
  2718. null, //corrmatch
  2719. null, //corrreplwhat
  2720. null, //corrreplwith
  2721. null, //separator
  2722. null,
  2723. null,
  2724. null,
  2725. null,
  2726. null,
  2727. null,
  2728. linksaveBulkCheck //function delegate
  2729. )
  2730. } */
  2731. if (GM_getValue("Check_videobb_dot_com_links", false))
  2732. {
  2733. addHost(
  2734. "videobb", //hostname
  2735. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2736. "//a[contains(@href,'videobb.com')]", //xpath
  2737. null, //blocksize
  2738. null, //corrmatch
  2739. /watch_video\.php\?v=/, //corrreplwhat
  2740. 'video/', //corrreplwith
  2741. null, //separator
  2742. 'http://www.videobb.com/link_checker.php',
  2743. 'links=',
  2744. /videobb\.com\/video\/(\w+)/,
  2745. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2746. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2747. null,
  2748. null //function delegate
  2749. )
  2750. }
  2751. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2752. {
  2753. addHost(
  2754. "cramit,cramitin", //hostname
  2755. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2756. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2757. null, //blocksize
  2758. null, //corrmatch
  2759. null, //corrreplwhat
  2760. null, //corrreplwith
  2761. null, //separator
  2762. 'http://cramit.in/checkfiles.html',
  2763. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2764. /(cramit(?:\.in|in\.net)\/\w+)/,
  2765. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2766. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2767. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2768. null //function delegate
  2769. )
  2770. }
  2771. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2772. {
  2773. addHost(
  2774. "turbobit", //hostname
  2775. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2776. "//a[contains(@href,'turbobit.')]", //xpath
  2777. null, //blocksize
  2778. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2779. null, //corrreplwhat
  2780. null, //corrreplwith
  2781. "\n", //separator
  2782. 'http://turbobit.net/linkchecker/csv',
  2783. 'links_to_check=',
  2784. /(turbobit\.(?:net|pl)\/\w+)/,
  2785. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2786. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2787. null,
  2788. null //function delegate
  2789. )
  2790. } */
  2791. if (GM_getValue("Check_filerio_dot_com_links", false))
  2792. {
  2793. addHost(
  2794. "filekeen,filerio", //hostname
  2795. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2796. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2797. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2798. null, //blocksize
  2799. null, //corrmatch
  2800. null, //corrreplwhat
  2801. null, //corrreplwith
  2802. null, //separator
  2803. 'http://filerio.in/checkfiles.html',
  2804. 'op=checkfiles&process=Check+URLs&list=',
  2805. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2806. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2807. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2808. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2809. null //function delegate
  2810. )
  2811. }
  2812. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2813. {
  2814. addHost(
  2815. "share-online,egoshare", //hostname
  2816. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2817. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2818. null, //blocksize
  2819. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2820. null, //corrreplwhat
  2821. null, //corrreplwith
  2822. "\n", //separator
  2823. 'http://api.share-online.biz/linkcheck.php',
  2824. 'links=',
  2825. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2826. /\w+;OK/g,
  2827. /\w+;(?:NOTFOUND|DELETED)/g,
  2828. null,
  2829. null //function delegate
  2830. )
  2831. }
  2832. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2833. {
  2834. addHost(
  2835. "quickshare", //hostname
  2836. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2837. "//a[contains(@href,'quickshare.cz')]", //xpath
  2838. null, //blocksize
  2839. null, //corrmatch
  2840. null, //corrreplwhat
  2841. null, //corrreplwith
  2842. null, //separator
  2843. 'http://www.quickshare.cz/nastroje/link-checker',
  2844. 'linky=',
  2845. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2846. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2847. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2848. null,
  2849. null //function delegate
  2850. )
  2851. } */
  2852. if (GM_getValue("Check_oboom_dot_com_links", false))
  2853. {
  2854. addHost(
  2855. "oboom", //hostname
  2856. "oboom\\.com\/#?\\w{8}", //linkregex
  2857. "//a[contains(@href,'oboom.com/')]", //xpath
  2858. null, //blocksize
  2859. /oboom\.com\/#?(\w{8})/, //corrmatch
  2860. null, //corrreplwhat
  2861. null, //corrreplwith
  2862. null, //separator
  2863. null,
  2864. null,
  2865. null,
  2866. null, //liveregex
  2867. null, //deadregex
  2868. null,
  2869. oboomBulk //function delegate
  2870. )
  2871. }
  2872. if (GM_getValue("Check_mega_dot_nz_links", false))
  2873. {
  2874. addHost(
  2875. "mega",
  2876. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2877. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2878. 100000, //blocksize
  2879. null, //corrmatch
  2880. null, //corrreplwhat
  2881. null, //corrreplwith
  2882. null, //separator
  2883. null,
  2884. null,
  2885. null,
  2886. null,
  2887. null,
  2888. null,
  2889. megaBulkCheck //function delegate
  2890. )
  2891. }
  2892.  
  2893. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2894.  
  2895. if (GM_getValue("Check_extabit_dot_com_links", false))
  2896. {
  2897. addHost(
  2898. "extabit", //hostname
  2899. "extabit\\.com\/file\/\\w+", //linkregex
  2900. "//a[contains(@href,'extabit.com')]", //xpath
  2901. null, //blocksize
  2902. null, //corrmatch
  2903. null, //corrreplwhat
  2904. null, //corrreplwith
  2905. "\n", //separator
  2906. "http://extabit.com/linkchecker.jsp", //api url
  2907. "url=", //postdata
  2908. /extabit\.com\/(file\/\w+)/, //linkregex
  2909. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2910. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2911. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2912. extabitBulkCheck //function delegate
  2913. )
  2914. }
  2915. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2916. {
  2917. addHost(
  2918. "junocloud", //hostname
  2919. "junocloud\\.me\/\\w+", //linkregex
  2920. "//a[contains(@href,'junocloud.me')]", //xpath
  2921. null, //blocksize
  2922. null, //corrmatch
  2923. null, //corrreplwhat
  2924. null, //corrreplwith
  2925. "\n", //separator
  2926. "http://junocloud.me/checkfiles.html", //api url
  2927. "op=checkfiles&process=Check+URLs&list=", //postdata
  2928. /(junocloud\.me\/\w+)/, //linkregex
  2929. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2930. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2931. null, //unavaregex
  2932. null //function delegate
  2933. )
  2934. }
  2935. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2936. {
  2937. addHost(
  2938. "webshare", //hostname
  2939. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2940. "//a[contains(@href,'webshare.cz')]", //xpath
  2941. 100000, //blocksize
  2942. null, //corrmatch
  2943. null, //corrreplwhat
  2944. null, //corrreplwith
  2945. null, //separator
  2946. null, //api url
  2947. null, //postdata
  2948. null, //linkregex
  2949. null, //liveregex
  2950. null, //deadregex
  2951. null, //unavaregex
  2952. webshareBulkCheck //function delegate
  2953. )
  2954. }
  2955. /////////////////////////////
  2956. // Common function delegate to send links to get checked by host linkchecker
  2957. /////////////////////////////
  2958. // If you define a new delegate, you may use following properties
  2959. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2960. // this.apiUrl [string] API or web linkchecker URL
  2961. // this.postData [string] POSTDATA for POST request
  2962. // this.resLiveRegex [regex] matches live substrings in the request response
  2963. // this.resDeadRegex [regex] matches dead substrings in the request response
  2964. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2965. //
  2966. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2967. //
  2968. // See the code below for standard bulkcheck handling reference.
  2969. //////////////////////////////
  2970. function genBulkCheck()
  2971. {
  2972. var blockIdx = this.links.length;
  2973. while (blockIdx--)
  2974. {
  2975. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2976. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2977. }
  2978. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2979. {
  2980. GM_xmlhttpRequest(
  2981. {
  2982. method: 'POST',
  2983. url: api,
  2984. headers: {
  2985. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2986. 'Content-type': 'application/x-www-form-urlencoded',
  2987. 'Referer': api,
  2988. 'X-Requested-With': 'XMLHttpRequest'
  2989. },
  2990. data: postData + encodeURIComponent(links),
  2991. onload: function (result)
  2992. {
  2993. var res = result.responseText;
  2994. // GM_log(res);
  2995. var i;
  2996.  
  2997. var livelinks = res.match(liveRegex);
  2998. var deadlinks = res.match(deadRegex);
  2999. // GM_log(livelinks);
  3000. // GM_log(deadlinks);
  3001. if (livelinks != null)
  3002. {
  3003. i = livelinks.length - 1;
  3004. do
  3005. {
  3006. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3007. }
  3008. while (i--);
  3009. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3010. }
  3011.  
  3012. if (deadlinks != null)
  3013. {
  3014. i = deadlinks.length - 1;
  3015. do
  3016. {
  3017. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3018. }
  3019. while (i--);
  3020. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3021. }
  3022.  
  3023. if (unavaRegex != null)
  3024. {
  3025. var unavalinks = res.match(unavaRegex);
  3026. if (unavalinks)
  3027. {
  3028. i = unavalinks.length - 1;
  3029. do
  3030. {
  3031. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3032. }
  3033. while (i--);
  3034. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3035. }
  3036. }
  3037. }
  3038. });
  3039. }
  3040. }
  3041. //specialized bulkchecking handlers follow
  3042. function webshareBulkCheck()
  3043. {
  3044. var arr = this.links[0].split("\r\n");
  3045. var i = arr.length;
  3046. while(i--)
  3047. {
  3048. postRequest(arr[i]);
  3049. }
  3050. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3051. function postRequest(wsLink)
  3052. {
  3053. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3054. GM_xmlhttpRequest(
  3055. {
  3056. method: 'POST',
  3057. url: "http://webshare.cz/api/file_info/",
  3058. headers: {
  3059. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3060. 'Content-type': 'application/x-www-form-urlencoded',
  3061. 'Referer': "",
  3062. },
  3063. data: "wst=&ident=" + id,
  3064. onload: function (result)
  3065. {
  3066. var res = result.responseText;
  3067. if (res.match(/<name>.+?<\/name>/))
  3068. {
  3069. DisplayTheCheckedLinks([id], 'alive_link');
  3070. }
  3071. else
  3072. {
  3073. DisplayTheCheckedLinks([id], 'adead_link');
  3074. }
  3075. }
  3076. });
  3077. }
  3078. }
  3079. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3080. //extabit also doesn't like requests in fast succession, so some delays are added.
  3081. function extabitBulkCheck()
  3082. {
  3083. var timeoutDelay = 0;
  3084. var blockIdx = this.links.length;
  3085. while (blockIdx--)
  3086. {
  3087. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3088. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3089. }
  3090. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3091. {
  3092. GM_xmlhttpRequest(
  3093. {
  3094. method: 'POST',
  3095. url: api,
  3096. headers: {
  3097. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3098. 'Content-type': 'application/x-www-form-urlencoded',
  3099. 'Referer': api,
  3100. 'X-Requested-With': 'XMLHttpRequest'
  3101. },
  3102. data: postData + encodeURIComponent(links),
  3103. onload: function (result)
  3104. {
  3105. var res = result.responseText;
  3106. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3107. {
  3108. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3109. {
  3110. //GM_log(tryID + ': ' + link);
  3111. GM_xmlhttpRequest(
  3112. {
  3113. method: 'GET',
  3114. url: link,
  3115. 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': ""},
  3116. onload: function(result2)
  3117. {
  3118. var res2 = result2.responseText;
  3119. var res2Status = result.status;
  3120. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3121. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3122. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3123. {
  3124. if (tryID < 7)
  3125. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3126. else
  3127. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3128. }
  3129. }
  3130. });
  3131. }
  3132. //split the hrefs and check them one by one
  3133. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3134. links = links.split('\n');
  3135. var i = links.length;
  3136. while (i--)
  3137. {
  3138. if (links[i])
  3139. {
  3140. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3141. timeoutDelay += 500;
  3142. }
  3143. }
  3144. return;
  3145. }
  3146. var i;
  3147.  
  3148. var livelinks = res.match(liveRegex);
  3149. var deadlinks = res.match(deadRegex);
  3150. if (livelinks != null)
  3151. {
  3152. i = livelinks.length - 1;
  3153. do
  3154. {
  3155. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3156. }
  3157. while (i--);
  3158. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3159. }
  3160.  
  3161. if (deadlinks != null)
  3162. {
  3163. i = deadlinks.length - 1;
  3164. do
  3165. {
  3166. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3167. }
  3168. while (i--);
  3169. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3170. }
  3171.  
  3172. if (unavaRegex != null)
  3173. {
  3174. var unavalinks = res.match(unavaRegex);
  3175. if (unavalinks)
  3176. {
  3177. i = unavalinks.length - 1;
  3178. do
  3179. {
  3180. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3181. }
  3182. while (i--);
  3183. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3184. }
  3185. }
  3186. }
  3187. });
  3188. }
  3189. }
  3190. function k2sBulkCheck()
  3191. {
  3192. var arr = this.links[0].split("\r\n");
  3193. var i = arr.length;
  3194. c=0;
  3195. arrIDs=[];
  3196. while(i--)
  3197. {
  3198. id = arr[i].match(/\/file\/(\w+)/)[1];
  3199. if (id=='info')
  3200. {
  3201. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3202. continue;
  3203. }
  3204. k2salreadyexist=false;
  3205. for (j=0;j<arrIDs.length;j++)
  3206. {
  3207. if (arrIDs[j]==id)
  3208. {
  3209. k2salreadyexist=true;
  3210. break;
  3211. }
  3212. }
  3213. if (k2salreadyexist) continue;
  3214. arrIDs.push(id);
  3215. c++;
  3216. setTimeout(k2sRequest,c*500,arr[i]);
  3217. }
  3218. }
  3219. function k2sRequest(K2SLink)
  3220. {
  3221. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3222. GM_xmlhttpRequest(
  3223. {
  3224. method: 'GET',
  3225. url: K2SLink,
  3226. headers: {
  3227. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3228. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3229. 'Referer': ''
  3230. },
  3231. onload: function (result)
  3232. {
  3233. var res = result.responseText;
  3234. K2Dom='k2s.cc';
  3235. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3236. K2SLink2='http://'+K2Dom+'/file/'+id;
  3237.  
  3238. 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'))
  3239. {
  3240. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3241. return;
  3242. }
  3243. if (res.match('method="post">Displaying'))
  3244. {
  3245. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3246. return;
  3247. }
  3248. if (res.match('Premium only'))
  3249. {
  3250. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3251. return;
  3252. }
  3253. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3254. {
  3255. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3256. slID=slow_id.exec(res)[1];
  3257. GM_xmlhttpRequest(
  3258. {
  3259. method: 'POST',
  3260. url: K2SLink2,
  3261. headers: {
  3262. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3263. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3264. 'Content-Type': 'application/x-www-form-urlencoded',
  3265. 'Referer': K2SLink
  3266. },
  3267. data: 'slow_id='+slID+'&yt0=',
  3268. onload: function (result)
  3269. {
  3270. var newres = result.responseText;
  3271. newoversizedtest=new RegExp("Free user can't download large files.");
  3272. if (newoversizedtest.test(newres))
  3273. {
  3274. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3275. return;
  3276. }
  3277. else
  3278. {
  3279. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3280. return;
  3281. }
  3282. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3283. return;
  3284. }
  3285. });
  3286. /////////////////////end additional check for oversized links
  3287. return;
  3288. }
  3289. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3290. return;
  3291. },
  3292. onerror: function ()
  3293. {
  3294. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3295. return;
  3296. }
  3297. });
  3298. }
  3299. function fboomBulkCheck()
  3300. {
  3301. var arr = this.links[0].split("\r\n");
  3302. var i = arr.length;
  3303. c=0;
  3304. arrIDs=[];
  3305. while(i--)
  3306. {
  3307. id = arr[i].match(/\/file\/(\w+)/)[1];
  3308. if (id=='info')
  3309. {
  3310. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3311. continue;
  3312. }
  3313. fbalreadyexist=false;
  3314. for (j=0;j<arrIDs.length;j++)
  3315. {
  3316. if (arrIDs[j]==id)
  3317. {
  3318. fbalreadyexist=true;
  3319. break;
  3320. }
  3321. }
  3322. if (fbalreadyexist) continue;
  3323. arrIDs.push(id);
  3324. c++;
  3325. setTimeout(fboomRequest,c*500,arr[i]);
  3326. }
  3327. }
  3328. function fboomRequest(FBoomLink)
  3329. {
  3330. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3331. FBoomLink2='http://fboom.me/file/'+id;
  3332. GM_xmlhttpRequest(
  3333. {
  3334. method: 'GET',
  3335. url: FBoomLink,
  3336. headers: {
  3337. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3338. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3339. 'Referer': ''
  3340. },
  3341. onload: function (result)
  3342. {
  3343. var res = result.responseText;
  3344. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3345. {
  3346. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3347. return;
  3348. }
  3349. if (res.match('method="post">Displaying'))
  3350. {
  3351. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3352. return;
  3353. }
  3354. if (res.match('only for premium members'))
  3355. {
  3356. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3357. return;
  3358. }
  3359. if (res.match('id="download-free" href="#"'))
  3360. {
  3361. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3362. slID=slow_id.exec(res)[1];
  3363. GM_xmlhttpRequest(
  3364. {
  3365. method: 'POST',
  3366. url: FBoomLink2,
  3367. headers: {
  3368. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3369. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3370. 'Content-Type': 'application/x-www-form-urlencoded',
  3371. 'Referer': FBoomLink
  3372. },
  3373. data: 'slow_id='+slID,
  3374. onload: function (result)
  3375. {
  3376. var newres = result.responseText;
  3377. newoversizedtest=new RegExp("Downloading is not possible");
  3378. if (newoversizedtest.test(newres))
  3379. {
  3380. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3381. return;
  3382. }
  3383. else
  3384. {
  3385. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3386. return;
  3387. }
  3388. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3389. return;
  3390. }
  3391. });
  3392. /////////////////////end additional check for oversized links
  3393. return;
  3394. }
  3395. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3396. return;
  3397. },
  3398. onerror: function ()
  3399. {
  3400. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3401. return;
  3402. }
  3403. });
  3404. }
  3405. function dl4free_1fichier_BulkCheck()
  3406. {
  3407. var arr = this.links[0].split("\r\n");
  3408. var i = arr.length;
  3409. while(i--)
  3410. {
  3411. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3412. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3413. gethead_dl4free_1fichier(arr[i]);
  3414. }
  3415. }
  3416. function gethead_dl4free_1fichier(link)
  3417. {
  3418. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3419. GM_xmlhttpRequest(
  3420. {
  3421. method: 'HEAD',
  3422. url: link,
  3423. headers: {
  3424. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3425. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3426. 'Referer': ''
  3427. },
  3428. onload: function (result)
  3429. {
  3430. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3431. {
  3432. DisplayTheCheckedLinks([id], 'alive_link');
  3433. return;
  3434. }
  3435. else
  3436. {
  3437. getlink_dl4free_1fichier(link);
  3438. }
  3439. return;
  3440. },
  3441. onerror: function ()
  3442. {
  3443. DisplayTheCheckedLinks([id], 'unava_link');
  3444. }
  3445. });
  3446. }
  3447. function getlink_dl4free_1fichier(link)
  3448. {
  3449. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3450. GM_xmlhttpRequest(
  3451. {
  3452. method: 'GET',
  3453. url: link,
  3454. headers: {
  3455. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3456. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3457. 'Referer': ''
  3458. },
  3459. onload: function (result)
  3460. {
  3461. var res = result.responseText;
  3462. deadRegex=new RegExp('The requested file has been deleted|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');
  3463. if (deadRegex.test(res))
  3464. {
  3465. DisplayTheCheckedLinks([id], 'adead_link');
  3466. return;
  3467. }
  3468. premiumRegex=new RegExp('only for premium users');
  3469. if (premiumRegex.test(res))
  3470. {
  3471. DisplayTheCheckedLinks([id], 'prem_link');
  3472. return;
  3473. }
  3474. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3475. if (liveRegex.test(res))
  3476. {
  3477. DisplayTheCheckedLinks([id], 'alive_link');
  3478. return;
  3479. }
  3480. DisplayTheCheckedLinks([id], 'unava_link');
  3481. },
  3482. onerror: function ()
  3483. {
  3484. DisplayTheCheckedLinks([id], 'unava_link');
  3485. }
  3486. });
  3487. }
  3488. function depositfilesBulkCheck()
  3489. {
  3490. var arr = this.links[0].split("\r\n");
  3491. var i = arr.length;
  3492. var seqno = Math.floor(Math.random()*1000000000);
  3493. while(i--)
  3494. {
  3495. DFpostRequest(arr[i]);
  3496. }
  3497. }
  3498. function DFpostRequest(DFLink)
  3499. {
  3500. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3501. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3502. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3503. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3504. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3505. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3506. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3507. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3508. GM_xmlhttpRequest(
  3509. {
  3510. method: "GET",
  3511. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3512. headers: {
  3513. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3514. 'Content-Type': 'application/x-www-form-urlencoded',
  3515. 'Referer': ""
  3516. },
  3517. onload: function (result)
  3518. {
  3519. var res = result.responseText;
  3520. if (res.match('(?:no_file|file_ban)'))
  3521. {
  3522. DisplayTheCheckedLinks([id], 'adead_link');
  3523. return;
  3524. }
  3525. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3526. {
  3527. DisplayTheCheckedLinks([id], 'alive_link');
  3528. return;
  3529. }
  3530. DisplayTheCheckedLinks([id], 'unava_link');
  3531. }
  3532. });
  3533. }
  3534.  
  3535. function megaBulkCheck()
  3536. {
  3537. var arr = this.links[0].split("\r\n");
  3538. var i = arr.length;
  3539. var seqno = Math.floor(Math.random()*1000000000);
  3540. while(i--)
  3541. {
  3542. postRequest(arr[i]);
  3543. }
  3544. function postRequest(megaLink)
  3545. {
  3546. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3547. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3548. GM_xmlhttpRequest(
  3549. {
  3550. method: "POST",
  3551. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3552. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3553. headers: {
  3554. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3555. 'Content-Type': 'application/xml',
  3556. 'Referer': "https://mega.co.nz/"
  3557. },
  3558. onload: function (result)
  3559. {
  3560. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3561. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3562. {
  3563.  
  3564. DisplayTheCheckedLinks([id], 'adead_link');
  3565. }
  3566. if (res.at)
  3567. {
  3568. DisplayTheCheckedLinks([id], 'alive_link');
  3569. }
  3570. if (res.e == "ETEMPUNAVAIL")
  3571. {
  3572. DisplayTheCheckedLinks([id], 'unava_link');
  3573. }
  3574. }
  3575. });
  3576. }
  3577.  
  3578. }
  3579.  
  3580. function oboomBulk() {
  3581. var a = [], b = [], c = [];
  3582. var array = this.links;
  3583.  
  3584. GM_xmlhttpRequest({
  3585. method: 'GET',
  3586. url: 'https://www.oboom.com/1/guestsession',
  3587. headers: {
  3588. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3589. 'Content-type': 'application/x-www-form-urlencoded',
  3590. 'Referer': 'https://www.oboom.com',
  3591. 'X-Requested-With': 'XMLHttpRequest'
  3592. },
  3593. onload: function(result) {
  3594. var blockIdx = array.length;
  3595. var token = JSON.parse(result.responseText)[1];
  3596. while (blockIdx--) {
  3597. startCheck(array[blockIdx].split('\r\n'), token);
  3598. }
  3599. }
  3600. });
  3601.  
  3602. function startCheck(links, token) {
  3603. GM_xmlhttpRequest({
  3604. method: 'POST',
  3605. url: "https://api.oboom.com/1/info",
  3606. headers: {
  3607. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3608. 'Content-type': 'application/x-www-form-urlencoded',
  3609. 'Referer': 'https://www.oboom.com/',
  3610. 'X-Requested-With': 'XMLHttpRequest'
  3611. },
  3612. data: "token=" + token + "&items=" + links.join(","),
  3613. onload: function(result) {
  3614. var res = JSON.parse(result.responseText)[1];
  3615. var i = res.length, s;
  3616.  
  3617. while (i--) {
  3618. s = res[i].state;
  3619. if (s == 'online') a.push(res[i].id);
  3620. 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);
  3621. else c.push(res[i].id);
  3622. }
  3623.  
  3624. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3625. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3626. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3627. }
  3628. });
  3629. }
  3630. }
  3631. /* function linksaveBulkCheck()
  3632. {
  3633. var arr = this.links[0].split("\r\n");
  3634. var i = arr.length;
  3635. while(i--)
  3636. {
  3637. postRequest(arr[i]);
  3638. }
  3639. function postRequest(lsLink)
  3640. {
  3641. GM_xmlhttpRequest(
  3642. {
  3643. method: "GET",
  3644. url: lsLink + '-t.jpg',
  3645. headers: {
  3646. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3647. 'Accept': 'text/xml',
  3648. 'Referer': ""
  3649. },
  3650. onload: function (result)
  3651. {
  3652. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3653. if (imgLen == 965) //online
  3654. {
  3655. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3656. }
  3657.  
  3658. if (imgLen == 972) //offline
  3659. {
  3660. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3661. }
  3662. if (imgLen == 978) //unava
  3663. {
  3664. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3665. }
  3666. }
  3667. });
  3668. }
  3669.  
  3670. } */
  3671. function linkcryptBulkCheck()
  3672. {
  3673. var arr = this.links[0].split("\r\n");
  3674. var i = arr.length;
  3675. while(i--)
  3676. {
  3677. postRequest(arr[i]);
  3678. }
  3679. function postRequest(lcLink)
  3680. {
  3681. GM_xmlhttpRequest(
  3682. {
  3683. method: "GET",
  3684. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3685. headers: {
  3686. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3687. 'Accept': 'text/xml',
  3688. 'Referer': ""
  3689. },
  3690. onload: function (result)
  3691. {
  3692. var res = result.responseText;
  3693. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3694. {
  3695. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3696. return;
  3697. }
  3698. if (res.match(/folderStatus>1/)) //Online status
  3699. {
  3700. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3701. }
  3702. else
  3703. {
  3704. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3705. }
  3706. }
  3707. });
  3708. }
  3709. }
  3710.  
  3711. function megashareBulkCheck()
  3712. {
  3713. var arr = this.links[0].split("\r\n");
  3714. var i = arr.length;
  3715. while(i--)
  3716. {
  3717. postRequest(arr[i]);
  3718. }
  3719. function postRequest(msLink)
  3720. {
  3721. GM_xmlhttpRequest(
  3722. {
  3723. method: "GET",
  3724. url: msLink,
  3725. headers: {
  3726. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3727. 'Content-Type': 'application/x-www-form-urlencoded',
  3728. 'Referer': ""
  3729. },
  3730. onload: function (result)
  3731. {
  3732. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3733. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3734. if ((prZVal == null) || (btn3Name == null))
  3735. {
  3736. return;
  3737. }
  3738. GM_xmlhttpRequest(
  3739. {
  3740. method: "POST",
  3741. url: msLink,
  3742. headers: {
  3743. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3744. 'Content-Type': 'application/x-www-form-urlencoded',
  3745. 'Referer': ""
  3746. },
  3747. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3748. onload: function (result)
  3749. {
  3750. var res = result.responseText;
  3751. if (res.match(/<div id="err">/))
  3752. {
  3753. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3754. }
  3755. else
  3756. {
  3757. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3758. }
  3759. }
  3760. });
  3761. }
  3762. });
  3763. }
  3764. }
  3765. function ncryptBulkCheck()
  3766. {
  3767. var arr = this.links[0].split("\r\n");
  3768. var i = arr.length;
  3769. while(i--)
  3770. {
  3771. postRequest(arr[i]);
  3772. }
  3773. function postRequest(ncryptLink)
  3774. {
  3775. GM_xmlhttpRequest(
  3776. {
  3777. method: "POST",
  3778. url: 'http://ncrypt.in/api_status.php',
  3779. headers: {
  3780. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3781. 'Content-Type': 'application/x-www-form-urlencoded',
  3782. 'Referer': ""
  3783. },
  3784. data: 'link=' + encodeURI(ncryptLink),
  3785. onload: function (result)
  3786. {
  3787. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3788. switch(foldStatus + ""){
  3789. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3790. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3791. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3792. }
  3793. }
  3794. });
  3795. }
  3796. }
  3797. function hellshareBulkCheck()
  3798. {
  3799. var links = this.links;
  3800. GM_xmlhttpRequest(
  3801. {
  3802. method: "GET",
  3803. url: 'http://www.hellshare.com',
  3804. headers: {
  3805. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3806. 'Accept': 'text/xml',
  3807. 'Referer': ""
  3808. },
  3809. onload: function (result)
  3810. {
  3811. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3812.  
  3813. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3814. if (domain == 'sk')
  3815. loc = 'check=Skontrolova%C5%A5&links=';
  3816. if (domain == 'com')
  3817. loc = 'check=Check+availability&links=';
  3818. if (domain == 'hu')
  3819. loc = 'check=Kontrol%C3%A1lj&links=';
  3820. if (domain == 'pl')
  3821. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3822.  
  3823. genBulkCheck.call({ links: links,
  3824. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3825. postData: loc,
  3826. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3827. 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,
  3828. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3829. resUnavaRegex: null
  3830. });
  3831. }
  3832. });
  3833. }
  3834. /**
  3835. * Displays check result
  3836. * @param {Array} Array of links or link fragments.
  3837. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3838. */
  3839. function DisplayTheCheckedLinks(links, resultStatus)
  3840. {
  3841. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3842. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3843. if (Do_not_linkify_DL_links)
  3844. { //TODO into separate jQuery function
  3845. $links.replaceWith(function(){
  3846. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3847. });
  3848. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3849. }
  3850. $links.removeClass().addClass(resultStatus);
  3851. $links.each(function() {
  3852. this.href = Ref_anonymize_service + $(this).attr("href");
  3853. });
  3854. switch(resultStatus)
  3855. {
  3856. case "alive_link": cLinksAlive += $links.length;
  3857. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3858. break;
  3859. case "adead_link": cLinksDead += $links.length;
  3860. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3861. break;
  3862. case "prem_link": cLinksprem += $links.length;
  3863. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3864. break;
  3865. case "unava_link": cLinksUnava += $links.length; break;
  3866. default:
  3867. }
  3868. cLinksProcessed += $links.length;
  3869. }
  3870. }
  3871. // starts bulkchecking
  3872. //
  3873. // params
  3874. // filterId [string] restricts link detection with passed id attribute
  3875. function startBulkCheck(filterId)
  3876. {
  3877. var cHosts = bulkHosts.length;
  3878. if (cHosts == 0) //no filehostings selected
  3879. return;
  3880. // STEP 1 linkify the links
  3881. var linkifyRegex = '';
  3882. var hostIdx = cHosts;
  3883. while(hostIdx--)
  3884. {
  3885. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3886. }
  3887. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3888. linkify(linkifyRegex);
  3889. //
  3890. //STEP 2 detect link objects
  3891. var xpathAll = '';
  3892. var hostIdx = cHosts;
  3893. while(hostIdx--)
  3894. {
  3895. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3896. }
  3897. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3898. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3899. if (filterId != null) //insert id restriction in the xpath
  3900. {
  3901. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3902. }
  3903. else
  3904. {
  3905. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3906. }
  3907. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3908. if (filterId == null)
  3909. {
  3910. cLinksTotal += links.snapshotLength;
  3911. }
  3912. //
  3913. //STEP 3 bind links with hostings
  3914. var linkIdx = links.snapshotLength;
  3915. var href = null;
  3916. if (linkIdx == 0) // no links found
  3917. return;
  3918. var name;
  3919. while (linkIdx--)
  3920. {
  3921. href = links.snapshotItem(linkIdx).href;
  3922. try // DO NOT REMOVE, filters crap that went through xpath detection
  3923. {
  3924. name = gimmeHostName(href);
  3925. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3926. bulkHostNames[name].links.push(href);
  3927. }
  3928. catch(e)
  3929. {
  3930.  
  3931. }
  3932. }
  3933. //
  3934. //STEP 4 process the links for each filehosting
  3935. var hostIdx = cHosts;
  3936. var host;
  3937. var m,n;
  3938. var arr;
  3939. while (hostIdx--)
  3940. {
  3941. host = bulkHosts[hostIdx];
  3942. arr = host.links;
  3943. if (arr.length == 0) //no links for this hosting, skip
  3944. {
  3945. continue;
  3946. }
  3947. //links match corrections
  3948. if (host.corrMatch != null)
  3949. {
  3950. var idx = arr.length;
  3951. while (idx--)
  3952. {
  3953. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3954. }
  3955. }
  3956. //links replace corrections
  3957. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3958. {
  3959. var idx = arr.length;
  3960. while (idx--)
  3961. {
  3962. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3963. }
  3964. }
  3965. m = arr.length;
  3966. n = host.blockSize;
  3967. if (m > n)
  3968. {
  3969. //insert block separators (RAND_STRING) into the array
  3970. for(var i = n; i < m; i += n + 1)
  3971. {
  3972. arr.splice(i, 0, RAND_STRING);
  3973. }
  3974. }
  3975.  
  3976. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3977. apiUrl: host.apiUrl,
  3978. postData: host.postData,
  3979. resLinkRegex: host.resLinkRegex,
  3980. resLiveRegex: host.resLiveRegex,
  3981. resDeadRegex: host.resDeadRegex,
  3982. resUnavaRegex: host.resUnavaRegex
  3983. });
  3984. //clean up
  3985. arr.length = 0;
  3986. }
  3987. //
  3988.  
  3989. function gimmeHostName(link)
  3990. {
  3991. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3992. }
  3993. }
  3994. function checkLinks(filterId)
  3995. {
  3996. startBulkCheck(filterId);
  3997. start(filterId);
  3998. }
  3999.  
  4000. /**
  4001. * Initialises progress box including event binding and CSS
  4002. */
  4003. function initProgressBox()
  4004. {
  4005. if ($("#warlc-progressbox").length > 0)
  4006. return;
  4007. //progressbox css change size and color of progress box
  4008. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4009. "; opacity:" + (Progress_box_opacity / 100) +
  4010. "; bottom:" + Progress_box_pos_bottom +
  4011. "px; right:" + Progress_box_pos_right +
  4012. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4013. \
  4014. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4015. \
  4016. .warlc-progressitem {}\
  4017. \
  4018. .alive {color:#00FF7F; " + Live_links_color +
  4019. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4020. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4021. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4022. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4023. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4024. );
  4025. //
  4026. $('body').append(' <div id="warlc-progressbox">\
  4027. <div class="warlc-progressbar"></div>\
  4028. <span class="warlc-progressitem alive"></span> - \
  4029. <span class="warlc-progressitem dead"></span> - \
  4030. <span class="warlc-progressitem unava"></span> - \
  4031. <span class="warlc-progressitem prem"></span> - \
  4032. <span class="warlc-progressitem processing"></span>\
  4033. </div>');
  4034. $('#warlc-progressbox').hide().click(function(){
  4035. clearInterval(intervalId);
  4036. $(this).hide();
  4037. return false;
  4038. });
  4039. $(".warlc-progressbar").progressbar({complete: function(){
  4040. $(this).fadeOut();
  4041. clearInterval(intervalId); //stop refreshing the stats
  4042. }
  4043. })
  4044. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4045. }
  4046. /**
  4047. * Updates progress data in progress box
  4048. */
  4049. function updateProgress()
  4050. {
  4051. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4052. if (cLinksTotal) // some links were detected on page
  4053. {
  4054. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4055. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4056. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4057. if ((cLinksTotal - cLinksProcessed) == 0)
  4058. {
  4059. $progressItems.first().text(cLinksAlive)
  4060. .next().text(cLinksDead)
  4061. .next().text(cLinksUnava)
  4062. .next().text(cLinksprem)
  4063. .next().remove();
  4064. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4065. $('#warlc-progressbox div:first-child').remove();
  4066. }
  4067. else
  4068. {
  4069. $progressItems.first().text(cLinksAlive)
  4070. .next().text(cLinksDead)
  4071. .next().text(cLinksUnava)
  4072. .next().text(cLinksprem)
  4073. .next().text(cLinksTotal - cLinksProcessed);
  4074. }
  4075. }
  4076. }
  4077.  
  4078. function check_all_links()
  4079. {
  4080. add_WARLC_style();
  4081.  
  4082. if (Show_progress_stats)
  4083. {
  4084. initProgressBox();
  4085. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4086. }
  4087.  
  4088. startBulkCheck(null);
  4089. start(null);
  4090.  
  4091. if (!containers_processed)
  4092. {
  4093. processContainers();
  4094. }
  4095. }
  4096.  
  4097. //Copies all found dead links to clipboard - right now for Scriptish only
  4098. function copy_dead_to_clipboard()
  4099. {
  4100. initClipBoardTools();
  4101.  
  4102. var deadlinksxpath = "//.[@class='adead_link']";
  4103.  
  4104. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4105. var foundlinkstext = '';
  4106.  
  4107. var foundlinkIdx = foundlinks.snapshotLength;
  4108.  
  4109. while(foundlinkIdx--)
  4110. {
  4111. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4112. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4113. }
  4114.  
  4115. unsafeWindow.copyToClipboard(foundlinkstext);
  4116. }
  4117.  
  4118. function toggle_autocheck()
  4119. {
  4120. var currentState = GM_getValue("Autocheck", false);
  4121. GM_setValue("Autocheck", !currentState);
  4122.  
  4123. if (currentState == true)
  4124. {
  4125. sendMessage('Autocheck disabled', 'red');
  4126. }
  4127. else
  4128. {
  4129. sendMessage('Autocheck enabled', 'SpringGreen');
  4130. }
  4131. }
  4132. function toggle_Enable_Anonymizer()
  4133. {
  4134. var currentState = GM_getValue("Enable_Anonymizer", false);
  4135. GM_setValue("Enable_Anonymizer", !currentState);
  4136.  
  4137. if (currentState == true)
  4138. {
  4139. GM_setValue("Ref_anonymize_service", "");
  4140. sendMessage('Anonymizer Disabled', 'red');
  4141. }
  4142. else
  4143. {
  4144. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4145. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4146. }
  4147. }
  4148.  
  4149. function KeyDownHandler(event)
  4150. {
  4151. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4152. if (event.ctrlKey && event.altKey)
  4153. {
  4154. switch(kcode)
  4155. {
  4156. case 65 : check_all_links(); break;
  4157. case 67 : configuration(); break;
  4158. case 68 : copy_dead_to_clipboard(); break;
  4159. case 87 : toggle_autocheck(); break;
  4160. case 90 : toggle_Enable_Anonymizer(); break;
  4161. }
  4162. }
  4163. }
  4164.  
  4165. //
  4166. //
  4167. // SCRIPT EXECUTION START POINT
  4168. //
  4169. //
  4170. // Safari specific GM_getResourceText override
  4171. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4172. {
  4173. GM_getResourceText = function(res) {
  4174. var $cssText = GM_getValue("jquery_css", "");
  4175. if ($cssText == "")
  4176. {
  4177. GM_xmlhttpRequest(
  4178. {
  4179. method: 'GET',
  4180. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4181. onload: function (result)
  4182. {
  4183. GM_setValue("jquery_css", result.responseText);
  4184. window.location.reload();
  4185. }
  4186. });
  4187. }
  4188. else
  4189. {
  4190. return $cssText;
  4191. }
  4192. }
  4193. }
  4194. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4195. GM_addStyle(jQueryUICSS);
  4196. //init the stuff
  4197. setVariables();
  4198. initBulkCheck();
  4199. //init info boxes
  4200. messageBox.style.position = 'fixed';
  4201. messageBox.style.top = '20px';
  4202. messageBox.style.left = '10px';
  4203. messageBox.style.opacity = '0.85';
  4204. messageBox.style.background = 'DimGray';
  4205. messageBox.style.fontSize = '36px';
  4206. document.body.appendChild(messageBox);
  4207.  
  4208. //register GM menu commands & keyboard shortcut event handler
  4209. if (Keyboard_functions)
  4210. {
  4211. $(document).keydown(KeyDownHandler);
  4212. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4213. 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);
  4214. }
  4215. else
  4216. {
  4217. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4218. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4219. }
  4220.  
  4221. //start linkchecking
  4222. if (Autocheck)
  4223. {
  4224. $(document).ready(check_all_links);
  4225. }
  4226.  
  4227. //
  4228. //
  4229. // SCRIPT EXECUTION END POINT
  4230. //
  4231. //
  4232.  
  4233. //shows configuration box
  4234. function configuration()
  4235. {
  4236.  
  4237. //prevent multiple creating of config window
  4238. if ($("#hideshow").length)
  4239. {
  4240. $("#hideshow").show();
  4241. return;
  4242. }
  4243.  
  4244. var configcss = '\
  4245. .popup_block .popup fieldset{\
  4246. padding: 1%;\
  4247. border-style: solid;\
  4248. border-width: 1px;\
  4249. border-color: gray;\
  4250. margin-bottom: 1px;\
  4251. }\
  4252. #h3hideshowtitle{\
  4253. font-size: 2em;\
  4254. }\
  4255. #h3hideshow{\
  4256. font-size: 1.5em;\
  4257. }\
  4258. #imghideshow {\
  4259. border: none;\
  4260. }\
  4261. #plusimage{\
  4262. display:inline;\
  4263. }\
  4264. #hideshow {\
  4265. position: fixed;\
  4266. width: 100%;\
  4267. height: 100%;\
  4268. top: 0;\
  4269. left: 0;\
  4270. font-size:12px;\
  4271. z-index:2147483645;\
  4272. text-align:left;\
  4273. }\
  4274. #fade {\
  4275. background: #000;\
  4276. position: fixed;\
  4277. width: 100%;\
  4278. height: 100%;\
  4279. opacity: .80;\
  4280. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4281. left: 0;\
  4282. z-index: 10;\
  4283. }\
  4284. .popup_block {\
  4285. font-family:verdana;\
  4286. color:black;\
  4287. background: #ddd;\
  4288. padding: 10px 20px;\
  4289. border: 2px solid DarkOrange;\
  4290. float: left;\
  4291. width: 700px;\
  4292. position: absolute;\
  4293. top: 7%;\
  4294. left: 50%;\
  4295. bottom: 7%;\
  4296. margin: 0 0 0 -350px;\
  4297. -moz-border-radius:10px;\
  4298. z-index: 100;\
  4299. \
  4300. }\
  4301. .popup_block .popup {\
  4302. float: left;\
  4303. width: 100%;\
  4304. background: #fff;\
  4305. margin: 10px 0;\
  4306. padding: 0px 0 0px;\
  4307. border-left: 1px solid #bbb;\
  4308. border-top: 1px solid #bbb;\
  4309. border-right: 1px solid #bbb;\
  4310. }\
  4311. #h3hideshow{\
  4312. margin: 1px 0 0px;\
  4313. padding: 1px 10px;\
  4314. border-bottom: 1px solid #bbb;\
  4315. font-size: 1.5em;\
  4316. font-weight: normal;\
  4317. cursor:pointer;\
  4318. background:#DDDDDD none repeat scroll 0 0;\
  4319. }\
  4320. #h3hideshow:hover{\
  4321. background:#C0BEBE none repeat scroll 0 0;\
  4322. }\
  4323. #h3hideshowtitle{\
  4324. margin: 2px 0 0px;\
  4325. padding: 7px 10px;\
  4326. border-bottom: 1px solid #bbb;\
  4327. font-size: 1.5em;\
  4328. font-weight: normal;\
  4329. }\
  4330. .popup_block .popup a {\
  4331. color:DarkSkyBlue;\
  4332. text-decoration:none;\
  4333. }\
  4334. .popup p {\
  4335. padding: 1px 10px;\
  4336. margin: 0px 0;\
  4337. -x-system-font:none;\
  4338. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4339. font-size:10pt;\
  4340. font-size-adjust:none;\
  4341. font-stretch:normal;\
  4342. font-style:normal;\
  4343. font-variant:normal;\
  4344. font-weight:normal;\
  4345. line-height:normal;\
  4346. }\
  4347. #sites {\
  4348. padding: 1px 10px;\
  4349. margin: 0px 0;display:inline-block;width:16em;\
  4350. }\
  4351. #dev_ver {\
  4352. color: #00FF00;\
  4353. background: Black;\
  4354. text-align: right;\
  4355. }\
  4356. #sites_suspended {\
  4357. padding: 1px 10px;\
  4358. margin: 0px 0;display:inline-block;width:16em;\
  4359. text-decoration: line-through;\
  4360. }\
  4361. .popup img.cntrl {\
  4362. position: absolute;\
  4363. right: -15px;\
  4364. top: -15px;\
  4365. }\
  4366. #bulk {\
  4367. font-size:8pt;\
  4368. color:orange;\
  4369. padding: 1px 10px;\
  4370. margin: 0px 0;\
  4371. display:inline-block;\
  4372. width:100px;\
  4373. }\
  4374. #note {\
  4375. font-size:7pt;\
  4376. color:gray;\
  4377. padding: 1px 10px;\
  4378. margin: 0px 0;display:inline-block;\
  4379. min-width:100px;\
  4380. }\
  4381. #rednote {\
  4382. font-size:7pt;\
  4383. color:red;\
  4384. padding: 1px 10px;\
  4385. margin: 0px 0;display:inline-block;\
  4386. }\
  4387. #configinfo {\
  4388. font-size:8pt;\
  4389. color:gray;\
  4390. padding: 1px 10px;\
  4391. margin: 0px 0;display:inline-block;width:60em;\
  4392. }\
  4393. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4394. color:black;\
  4395. border-style: solid;\
  4396. border-width: 1px;\
  4397. border-color: gray;\
  4398. }\
  4399. #h3hideshowcontent {\
  4400. min-height:220px;\
  4401. max-height:220px;\
  4402. overflow:auto;\
  4403. display: none;\
  4404. padding: 10px 10px;\
  4405. }\
  4406. #specinfo{\
  4407. font-size:14px;\
  4408. }\
  4409. .warlc-ui-tab {\
  4410. height:300px;\
  4411. overflow:auto;\
  4412. }\
  4413. #warlcsitelist2, #warlcsitelist1 {\
  4414. height:220px;\
  4415. border-top: 1px solid #ddd;\
  4416. padding-top: 5px;\
  4417. overflow:auto;\
  4418. }\
  4419. input:hover+label {\
  4420. background:#F1F77C;\
  4421. font-size:110%;\
  4422. }\
  4423. ';
  4424.  
  4425. GM_addStyle(configcss);
  4426.  
  4427. var customRulesRefHTML =
  4428. '\
  4429. <br>\
  4430. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4431. <b>@keyword</b> <i>parameter</i>\
  4432. <br><br>\
  4433. 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. \
  4434. <br><br>\
  4435. 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.\
  4436. 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.\
  4437. 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.\
  4438. 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,\
  4439. but all commands until the next valid @customrule are ignored.<br><br>\
  4440. Available forms and types:\
  4441. <ul>\
  4442. <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.\
  4443. <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.\
  4444. <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.\
  4445. <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.\
  4446. </ul>\
  4447. Other available commands:<br>\
  4448. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4449. <ul>\
  4450. <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.\
  4451. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4452. <ul>examples:<br>\
  4453. <li>good: <i>filehost.com/download/</i><br>\
  4454. <li>good: <i>download.filehost.net/?d=</i><br>\
  4455. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4456. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4457. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4458. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4459. <li>bad: <i>filehost.com</i> - no slash<br>\
  4460. </ul>\
  4461. \
  4462. <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.\
  4463. 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 \
  4464. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4465. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4466. 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.)\
  4467. Two spaces again match any whitespace.\
  4468. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4469. Two spaces again match any whitespace.\
  4470. <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. \
  4471. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4472. </ul>\
  4473. \
  4474. ';
  4475.  
  4476. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4477. var configurationinnerHTML =
  4478. '<div id="fade"></div>\
  4479. <div class="popup_block">\
  4480. <div class="popup">\
  4481. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEWsp/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5RK8ctlKq6ZpHFSKdBzCwSVjQRILAzh3508TPe29dbl6ZibiB/lrQeWBGFmykGe/dc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kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4483. <div id="warlc-conf-tabs">\
  4484. <ul>\
  4485. <li><a href="#tabs-1">Filehostings</a></li>\
  4486. <li><a href="#tabs-2">Containers</a></li>\
  4487. <li><a href="#tabs-5">Custom rules</a></li>\
  4488. <li><a href="#tabs-3">Settings</a></li>\
  4489. <li><a href="#tabs-4">About</a></li>\
  4490. </ul>\
  4491. <div id="tabs-1" class="warlc-ui-tab">\
  4492. <div class="warlc-ui-buttonset">\
  4493. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4494. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4495. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4496. </div><br>\
  4497. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4498. <div id="warlcsitelist1"><span>Empty</span></div>\
  4499. </div>\
  4500. <div id="tabs-2" class="warlc-ui-tab">\
  4501. <div class="warlc-ui-buttonset">\
  4502. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4503. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4504. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4505. </div><br>\
  4506. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4507. <div id="warlcsitelist2"><span>Empty</span></div>\
  4508. </div>\
  4509. <div id="tabs-5" class="warlc-ui-tab">\
  4510. <div class="warlcsettings">\
  4511. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4512. <br>\
  4513. <div>Edit custom rules: \
  4514. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4515. <div id="customRulesReference" style="display:none;">'
  4516. + customRulesRefHTML + '\
  4517. </div>\
  4518. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4519. </div>\
  4520. </div>\
  4521. </div>\
  4522. <div id="tabs-3" class="warlc-ui-tab">\
  4523. <div class="warlcsettings">\
  4524. <fieldset>\
  4525. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4526. <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 + '+' + toggle_autocheck_key + ' = Autocheck ON/OFF' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_Enable_Anonymizer_key + ' = Anonymizer ON/OFF' + '</div>\
  4527. </fieldset>\
  4528. <fieldset>\
  4529. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4530. <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>\
  4531. <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>\
  4532. <div id="sites"><label for="inputColorTemp">Temp. unavailable</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4533. <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>\
  4534. <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>\
  4535. <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>\
  4536. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4537. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4538. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4539. <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>\
  4540. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4541. <fieldset>\
  4542. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4543. <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>\
  4544. <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>\
  4545. <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>\
  4546. </fieldset>\
  4547. </fieldset>\
  4548. <fieldset>\
  4549. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4550. </fieldset>\
  4551. <fieldset>\
  4552. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4553. </fieldset>\
  4554. <fieldset>\
  4555. <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.</div><br>\
  4556. </fieldset>\
  4557. <fieldset>\
  4558. <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: CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4559. </fieldset>\
  4560. </div>\
  4561. </div>\
  4562. <div id="tabs-4" class="warlc-ui-tab">\
  4563. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4564. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4565. <br />\
  4566. <p><b>Currently supported:</b><br>\
  4567. Filehostings: ' + allHostNames.length + '<br />\
  4568. Containers: ' + allContainerNames.length + '<br />\
  4569. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4570. <br />\
  4571. <p><b>Based on:</b><br>\
  4572. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4573. <br />\
  4574. <p><b>Uses:</b></p>\
  4575. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4576. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4577. <br />\
  4578. <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>\
  4579. </div>\
  4580. </div>\
  4581. </div>\
  4582. </div>';
  4583. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4584. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4585. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4586. var elmHostList = document.getElementById("warlcsitelist1");
  4587. var elmContainerList = document.getElementById("warlcsitelist2");
  4588. buildSettings();
  4589. buildSitelist("", allHostNames, elmHostList);
  4590. buildSitelist("", allContainerNames, elmContainerList);
  4591. if (DEBUG_MODE)
  4592. {
  4593. //log all sites availability status
  4594. diagSites();
  4595. }
  4596. //handler for checkbox state change
  4597. function changeConfiguration(e)
  4598. {
  4599. var element = e.target;
  4600.  
  4601. if (element.type == 'checkbox')
  4602. {
  4603. if (element.checked == 1)
  4604. {
  4605. GM_setValue(element.id, true);
  4606. }
  4607. else
  4608. {
  4609. GM_setValue(element.id, false);
  4610. }
  4611.  
  4612. }
  4613. setVariables();
  4614. }
  4615.  
  4616. //Selects all filehosting checkboxes
  4617. function selectAll()
  4618. {
  4619. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4620. .each(function(index, element){GM_setValue(this.id, true)});
  4621. }
  4622.  
  4623. //Deselects all filehosting checkboxes
  4624. function selectNone()
  4625. {
  4626. $(":checkbox:visible:checked").prop("checked",false)
  4627. .each(function(index, element){GM_setValue(this.id, false)});
  4628. }
  4629.  
  4630. //Inverts filehosting checkboxes selection
  4631. function selectInvert()
  4632. {
  4633. var $checked = $(":checkbox:visible:checked");
  4634. var $unchecked = $(":checkbox:visible:not(:checked)");
  4635. $unchecked.prop("checked",true)
  4636. .each(function(index, element){GM_setValue(this.id, true)});
  4637. $checked.prop("checked",false)
  4638. .each(function(index, element){GM_setValue(this.id, false)});
  4639. }
  4640. //toggles anonymizer on off
  4641. function Enable_Anonymizer()
  4642. {
  4643. var $checked = $(":checkbox:visible:checked");
  4644. var $unchecked = $(":checkbox:visible:not(:checked)");
  4645. $unchecked.prop("checked",true)
  4646. .each(function(index, element){GM_setValue(this.id, true)});
  4647. $checked.prop("checked",false)
  4648. .each(function(index, element){GM_setValue(this.id, false)});
  4649. }
  4650.  
  4651. function changeRefAnonymizer(){
  4652. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4653. }
  4654.  
  4655. //Sets live links color
  4656. function changeColorLive()
  4657. {
  4658. var inColorLive = document.getElementById("inputColorLive");
  4659. inColorLive.style.background = inColorLive.value;
  4660. GM_setValue("Live_links_color", inColorLive.value);
  4661. }
  4662.  
  4663. //Sets dead links color
  4664. function changeColorDead()
  4665. {
  4666. var inColorDead = document.getElementById("inputColorDead");
  4667. inColorDead.style.background = inColorDead.value;
  4668. GM_setValue("Dead_links_color", inColorDead.value);
  4669. }
  4670.  
  4671. //Sets temp. unavailable links color
  4672. function changeColorTemp()
  4673. {
  4674. var inColorTemp = document.getElementById("inputColorTemp");
  4675. inColorTemp.style.background = inColorTemp.value;
  4676. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4677. }
  4678.  
  4679. //Sets temp. unavailable links color
  4680. function changeColorCont()
  4681. {
  4682. var inColorCont = document.getElementById("inputColorCont");
  4683. inColorCont.style.background = inColorCont.value;
  4684. GM_setValue("Container_links_color", inColorCont.value);
  4685. }
  4686. //Sets premium. links color
  4687. function changeColorprem()
  4688. {
  4689. var inColorprem = document.getElementById("inputColorprem");
  4690. inColorprem.style.background = inColorprem.value;
  4691. GM_setValue("Premium_links_color", inColorprem.value);
  4692. }
  4693.  
  4694. //Diagnose sites for availability
  4695. function diagSites()
  4696. {
  4697. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4698.  
  4699. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4700. {
  4701. if (boxes[i].type == "checkbox")
  4702. {
  4703. checkAvailability(boxes[i]);
  4704. }
  4705. }
  4706.  
  4707. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4708.  
  4709. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4710. {
  4711. if (boxes[i].type == "checkbox")
  4712. {
  4713. checkAvailability(boxes[i]);
  4714. }
  4715. }
  4716.  
  4717. function checkAvailability(cbElm)
  4718. {
  4719. var cb = cbElm;
  4720. GM_xmlhttpRequest(
  4721. {
  4722. method: 'HEAD',
  4723. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4724. headers: {
  4725. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4726. 'Accept': 'text/xml',
  4727. 'Referer': ""
  4728. },
  4729. onload: function (result)
  4730. {
  4731. if (result.status != 200)
  4732. {
  4733. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4734. }
  4735. },
  4736. onerror: function (result)
  4737. {
  4738. if (result.status != 200)
  4739. {
  4740. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4741. }
  4742. }
  4743. });
  4744. }
  4745. }
  4746. function buildSettings()
  4747. {
  4748. $(".warlcsettings :checkbox").each(function(){
  4749. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4750. .click(function(e){
  4751. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4752. setVariables();
  4753. });
  4754. })
  4755. }
  4756. //Dynamic build of host list
  4757. //param search [string] searches for hostnames matching search substring
  4758. //param siteNames [array] array of site names
  4759. //param targetNode [DOM Node] where the list should be built
  4760. // first child node is replaced
  4761. function buildSitelist(search, siteNames, targetNode)
  4762. {
  4763. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4764. var $targetNode = $(targetNode).empty();
  4765. var searchedSite = "";
  4766. $.each(siteNames, function(i, site){
  4767. if (searchedSite = site.match(searchRegex))
  4768. {
  4769. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4770. //ensuring backward compatibility with the rest of code, to be refactored later
  4771. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4772. //
  4773. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4774. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4775. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4776. );
  4777. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4778. .change(changeConfiguration);
  4779. $targetNode.append('<br />');
  4780. }
  4781. });
  4782. $targetNode.append("<hr>");
  4783. //obsolete hosts checkbox
  4784. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4785. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4786. .change(changeConfiguration);
  4787. $targetNode.append('<br />');
  4788. var foundName = "";
  4789. $.each(allObsoleteNames, function(i, site){
  4790. if (foundName = allObsoleteNames[i].match(searchRegex))
  4791. {
  4792. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4793. }
  4794. })
  4795. }
  4796. var hostSearchBox = document.getElementById("hostSearchBox");
  4797. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4798. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4799. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4800. $(".warlc-ui-select-all").click(selectAll).button();
  4801. $(".warlc-ui-select-none").click(selectNone).button();
  4802. $(".warlc-ui-select-invert").click(selectInvert).button();
  4803. $(".warlc-ui-buttonset").buttonset();
  4804. var inColorLive = document.getElementById("inputColorLive");
  4805. inColorLive.addEventListener('keyup', changeColorLive, false);
  4806.  
  4807. var inColorDead = document.getElementById("inputColorDead");
  4808. inColorDead.addEventListener('keyup', changeColorDead, false);
  4809.  
  4810. var inColorTemp = document.getElementById("inputColorTemp");
  4811. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4812.  
  4813. var inColorCont = document.getElementById("inputColorCont");
  4814. inColorCont.addEventListener('keyup', changeColorCont, false);
  4815. var inColorprem = document.getElementById("inputColorprem");
  4816. inColorprem.addEventListener('keyup', changeColorprem, false);
  4817. $("#refAnonymizer").change(changeRefAnonymizer);
  4818. //buttons and edit boxes init end
  4819.  
  4820. //icon sets radio buttons
  4821. var radioButtons = document.getElementsByName("warlciconset");
  4822. radioButtons[Icon_set].checked = "checked";
  4823.  
  4824. radioButtons[0].addEventListener("change", updateIconSet);
  4825. radioButtons[1].addEventListener("change", updateIconSet);
  4826. radioButtons[2].addEventListener("change", updateIconSet);
  4827. radioButtons[3].addEventListener("change", updateIconSet);
  4828. function updateIconSet()
  4829. {
  4830. GM_setValue("Icon_set", this.value * 1);
  4831. }
  4832. //
  4833. $('#showCustomRulesReference').click(function(e){
  4834. e.preventDefault();
  4835. $('#customRulesReference').toggle();
  4836. });
  4837. $('#Custom_rules_text')
  4838. .val(Custom_rules_text)
  4839. .change(saveCustomRules);
  4840. function saveCustomRules(e)
  4841. {
  4842. var cr = parseCustomRules(this.value);
  4843. if (cr.info.length)
  4844. 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, ' '));
  4845. GM_setValue('Custom_rules_text', this.value);
  4846. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4847. }
  4848. }
  4849.  
  4850. //begin standard link checking algorithm
  4851. function start(filterId)
  4852. {
  4853. var doNotLinkify = Do_not_linkify_DL_links;
  4854.  
  4855. // USER SELECTED FILE HOSTS INITIALIZATION START
  4856. var http_file_hosts = new Array(); //standard hostings
  4857. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4858. var http_file_hosts_obsolete = new Array(); //dead hostings
  4859. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4860.  
  4861. initFileHosts();
  4862. initFileHostsHeadersOnly();
  4863. initFileHostsCustom(); //CustomRules
  4864. // USER SELECTED FILE HOSTS INITIALIZATION END
  4865.  
  4866. // LINKIFICATION START
  4867. var totalxpath = '';
  4868. var totalxpathcoded = '';
  4869. var totalxpathobsolete = '';
  4870. var totalxpathheadersonly = '';
  4871. var totalourls = '';
  4872.  
  4873. var filehostLen = http_file_hosts.length;
  4874. var filehostCodedLen = http_file_hosts_coded.length;
  4875. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4876. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4877.  
  4878. var filehostIdx = filehostLen;
  4879. var filehostCodedIdx = filehostCodedLen;
  4880. var filehostObsoleteIdx = filehostObsoleteLen;
  4881. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4882.  
  4883. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4884. return;
  4885.  
  4886. while (filehostIdx--)
  4887. {
  4888. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4889. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4890. }
  4891.  
  4892. while (filehostCodedIdx--)
  4893. {
  4894. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4895. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4896. }
  4897.  
  4898. while (filehostObsoleteIdx--)
  4899. {
  4900. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4901. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4902. }
  4903.  
  4904. while (filehostHeadersOnlyIdx--)
  4905. {
  4906. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4907. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4908. }
  4909.  
  4910. totalourls = totalourls.replace(/\|$/g, "");
  4911. //TODO: further refactoring needed
  4912. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4913. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4914. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4915. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4916. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4917. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4918. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4919. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4920. if (filterId != null) //insert id restriction in the xpath
  4921. {
  4922. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4923. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4924. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4925. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4926. }
  4927. else
  4928. {
  4929. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4930. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4931. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4932. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4933. }
  4934. linkify(totalourls);
  4935. //LINKIFICATION END
  4936. //ENCRYPTED LINKS PROCESSING START
  4937. if (http_file_hosts_coded.length > 0)
  4938. {
  4939. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4940.  
  4941. // decrypt coded links (redirects, link protectors etc.)
  4942. if (linksCoded.snapshotLength > 0)
  4943. {
  4944. var link;
  4945. var reallinkreg;
  4946. var reallinkcorrection;
  4947.  
  4948. if (filterId == null)
  4949. {
  4950. cLinksTotal += linksCoded.snapshotLength;
  4951. }
  4952.  
  4953. var y = linksCoded.snapshotLength - 1;
  4954. do
  4955. {
  4956. // linksCoded.snapshotItem(y).id = 'processing_link';
  4957. link = linksCoded.snapshotItem(y);
  4958. filehostIdx = filehostCodedLen;
  4959. while (filehostIdx--)
  4960. {
  4961. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4962. {
  4963. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4964. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4965. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4966.  
  4967. decurl(link, reallinkreg, reallinkcorrection);
  4968. break;
  4969. }
  4970. }
  4971. }
  4972. while (y--);
  4973. }
  4974. }
  4975. //ENCRYPTED LINKS PROCESSING END
  4976.  
  4977. //STANDARD LINKCHECKING START
  4978. if (http_file_hosts.length > 0)
  4979. {
  4980. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4981.  
  4982. if (filterId == null)
  4983. {
  4984. cLinksTotal += lianks.snapshotLength;
  4985. }
  4986.  
  4987. if (lianks.snapshotLength > 0)
  4988. {
  4989. var link;
  4990.  
  4991. var URL = "";
  4992. var name = "";
  4993. var isAliveRegex = "";
  4994. var isDeadRegex = "";
  4995. var isUnavaRegex = "";
  4996. var ispremRegex = "";
  4997. var tryLoop = false;
  4998.  
  4999. var y = lianks.snapshotLength;
  5000.  
  5001. while (y--)
  5002. {
  5003. link = lianks.snapshotItem(y);
  5004.  
  5005. filehostIdx = filehostLen;
  5006. while (filehostIdx--)
  5007. {
  5008. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5009. {
  5010. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5011. isAliveRegex = http_file_hosts[filehostIdx][1];
  5012. isDeadRegex = http_file_hosts[filehostIdx][2];
  5013. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5014. ispremRegex = http_file_hosts[filehostIdx][6];
  5015. tryLoop = http_file_hosts[filehostIdx][5];
  5016.  
  5017. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5018.  
  5019. break;
  5020. }
  5021. }
  5022. }
  5023. }
  5024. }
  5025. //STANDARD LINKCHECKING END
  5026. //OBSOLETE FILE HOSTS PROCESSING START
  5027. if (filehostObsoleteLen > 0)
  5028. {
  5029. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5030.  
  5031. var obsoleteLink;
  5032.  
  5033. //check links
  5034. if (obsoletelinks.snapshotLength > 0)
  5035. {
  5036. var y = obsoletelinks.snapshotLength;
  5037.  
  5038. if (filterId == null)
  5039. {
  5040. cLinksTotal += y;
  5041. }
  5042.  
  5043. while (y--)
  5044. {
  5045. obsoleteLink = obsoletelinks.snapshotItem(y);
  5046.  
  5047. if (Display_tooltip_info)
  5048. {
  5049. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5050. }
  5051. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5052. }
  5053. }
  5054. }
  5055. //OBSOLETE FILE HOSTS PROCESSING END
  5056.  
  5057. //DIRECT LINKCHECKING START
  5058. if (http_file_hosts_headers_only.length > 0)
  5059. {
  5060. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5061.  
  5062. //check links
  5063. if (links.snapshotLength > 0)
  5064. {
  5065. var link;
  5066. var isAliveRegex;
  5067. var isDeadRegex;
  5068. var ispremRegex;
  5069.  
  5070. var y = links.snapshotLength;
  5071.  
  5072.  
  5073. if (filterId == null)
  5074. {
  5075. cLinksTotal += y;
  5076. }
  5077.  
  5078. while (y--)
  5079. {
  5080. // links.snapshotItem(y).id = 'processing_link';
  5081. link = links.snapshotItem(y);
  5082. filehostIdx = filehostHeadersOnlyLen;
  5083. while (filehostIdx--)
  5084. {
  5085. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5086. {
  5087. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5088. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5089. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5090. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5091.  
  5092. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5093.  
  5094. break;
  5095. }
  5096. }
  5097. }
  5098.  
  5099. }
  5100. }
  5101. //DIRECT LINKCHECKING END
  5102.  
  5103.  
  5104. //finds the real url on the page, replaces link.href with it and calls geturl
  5105. function decurl(link, reallinkreg, reallinkcorrection)
  5106. {
  5107.  
  5108. GM_xmlhttpRequest(
  5109. {
  5110. method: 'GET',
  5111. url: link.href,
  5112. headers: {
  5113. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5114. 'Accept': 'text/xml',
  5115. 'Referer': ""
  5116. },
  5117. onload: function (result)
  5118. {
  5119. // cLinksProcessed++;
  5120.  
  5121. var reallink = result.responseText.match(reallinkreg)[0];
  5122. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5123.  
  5124. link.href = reallink;
  5125.  
  5126. var i = http_file_hosts.length - 1;
  5127. do
  5128. {
  5129. if ((reallink.match(http_file_hosts[i][0])))
  5130. {
  5131. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5132. var isAliveRegex = http_file_hosts[i][1];
  5133. var isDeadRegex = http_file_hosts[i][2];
  5134. var isUnavaRegex = http_file_hosts[i][3];
  5135. var ispremRegex = http_file_hosts[i][4];
  5136.  
  5137. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5138.  
  5139. break;
  5140. }
  5141. }
  5142. while (i--);
  5143. }
  5144. });
  5145. }
  5146.  
  5147. function randUA()
  5148. {
  5149. //TODO
  5150. }
  5151. //Processes link
  5152. //
  5153. // [string] link link URL
  5154. // [string] isAliveRegex alive link regex
  5155. // [string] isDeadRegex dead link regex
  5156. // [string] isUnavaRegex unavailable link regex
  5157. // [string] ispremRegex premium link regex
  5158. // [boolean] tryLoop repeats request until succeeded
  5159. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5160. {
  5161. GM_xmlhttpRequest(
  5162. {
  5163. method: 'GET',
  5164. url: link.href,
  5165. headers: {
  5166. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5167. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5168. 'Referer': ""
  5169. },
  5170. onload: function (result)
  5171. {
  5172. var res = result.responseText;
  5173. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5174. {
  5175. displayTheCheckedLink(link, 'alive_link');
  5176. return;
  5177. }
  5178.  
  5179. if (res.match(isAliveRegex))
  5180. {
  5181. displayTheCheckedLink(link, 'alive_link');
  5182. return;
  5183. }
  5184.  
  5185. if (res.match(isDeadRegex))
  5186. {
  5187. displayTheCheckedLink(link, 'adead_link');
  5188. return;
  5189. }
  5190.  
  5191. if (isUnavaRegex && res.match(isUnavaRegex))
  5192. {
  5193. displayTheCheckedLink(link, 'unava_link');
  5194. return;
  5195. }
  5196. if (res.match(ispremRegex))
  5197. {
  5198. displayTheCheckedLink(link, 'prem_link');
  5199. return;
  5200. }
  5201.  
  5202. var resStatus = result.status;
  5203.  
  5204. if (resStatus == 404)
  5205. {
  5206. displayTheCheckedLink(link, 'adead_link');
  5207. }
  5208. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5209. {
  5210. if (tryLoop)
  5211. {
  5212. //wait 1-5 seconds and repeat the request
  5213. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5214. }
  5215. else
  5216. {
  5217. displayTheCheckedLink(link, 'unava_link');
  5218. }
  5219.  
  5220. return;
  5221. }
  5222. },
  5223. onerror: function ()
  5224. {
  5225. displayTheCheckedLink(link, 'unava_link');
  5226. }
  5227. });
  5228. }
  5229.  
  5230. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5231. {
  5232. GM_xmlhttpRequest(
  5233. {
  5234. method: 'HEAD',
  5235. url: link.href,
  5236. headers: {
  5237. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5238. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5239. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5240. 'Referer': ""
  5241. },
  5242. onload: function (result)
  5243. {
  5244. var resStatus = result.status;
  5245. var resHeaders = "";
  5246. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5247. {
  5248. displayTheCheckedLink(link, 'adead_link');
  5249. return;
  5250. }
  5251.  
  5252. resHeaders = result.responseHeaders;
  5253.  
  5254. if (resHeaders.match(isDeadRegex))
  5255. {
  5256. displayTheCheckedLink(link, 'adead_link');
  5257. return;
  5258. }
  5259.  
  5260. if (resHeaders.match(isAliveRegex))
  5261. {
  5262. displayTheCheckedLink(link, 'alive_link');
  5263. return;
  5264. }
  5265. if (resHeaders.match(ispremRegex))
  5266. {
  5267. displayTheCheckedLink(link, 'prem_link');
  5268. return;
  5269. }
  5270. },
  5271. onerror: function ()
  5272. {
  5273. displayTheCheckedLink(link, 'unava_link');
  5274. }
  5275. });
  5276. }
  5277.  
  5278. //Delinkfifies the <a> element object
  5279. function delinkifyLink(link)
  5280. {
  5281. var spanElm = document.createElement("span");
  5282. spanElm.className = link.className;
  5283. spanElm.innerHTML = link.innerHTML;
  5284.  
  5285. if (Display_tooltip_info)
  5286. {
  5287. spanElm.href = link.href;
  5288. spanElm.warlc_error = link.warlc_error;
  5289. switch (link.className){
  5290. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5291. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5292. case "unava_link": //reserved
  5293. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5294. default:
  5295. }
  5296. }
  5297. link.parentNode.replaceChild(spanElm, link);
  5298. }
  5299.  
  5300. //Assigns result status to the <a> element object and calls delinkifying eventually
  5301. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5302. function displayTheCheckedLink(link, resultStatus)
  5303. {
  5304. link.className = resultStatus;
  5305. link.href = Ref_anonymize_service + link.href;
  5306. if (Display_tooltip_info)
  5307. {
  5308. switch (resultStatus){
  5309. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5310. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5311. case "unava_link": //reserved
  5312. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5313. default:
  5314. }
  5315. }
  5316. if (doNotLinkify)
  5317. {
  5318. delinkifyLink(link);
  5319. }
  5320. cLinksProcessed++;
  5321.  
  5322. if (resultStatus == "alive_link")
  5323. {
  5324. cLinksAlive++;
  5325. return;
  5326. }
  5327.  
  5328. if (resultStatus == "adead_link")
  5329. {
  5330. cLinksDead++;
  5331. return;
  5332. }
  5333.  
  5334. if (resultStatus == "unava_link")
  5335. {
  5336. cLinksUnava++;
  5337. }
  5338. if (resultStatus == "prem_link")
  5339. {
  5340. cLinksprem++;
  5341. return;
  5342. }
  5343. }
  5344.  
  5345.  
  5346. function initFileHosts()
  5347. {
  5348.  
  5349. function addObsoleteHost(linkRegex, xpathEx)
  5350. {
  5351. var host = new Array(2);
  5352. host[0] = linkRegex;
  5353. host[1] = xpathEx;
  5354. http_file_hosts_obsolete.push(host);
  5355. }
  5356.  
  5357. //obsolete file hosts init start
  5358. if (Obsolete_file_hosts)
  5359. {
  5360. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5361. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5362. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5363. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5364. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5365. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5366. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5367. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5368. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5369. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5370. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5371. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5372. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5373. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5374. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5375. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5376. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5377. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5378. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5379. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5380. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5381. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5382. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5383. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5384. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5385. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5386. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5387. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5388. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5389. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5390. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5391. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5392. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5393. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5394. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5395. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5396. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5397. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5398. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5399. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5400. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5401. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5402. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5403. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5404. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5405. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5406. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5407. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5408. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5409. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5410. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5411. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5412. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5413. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5414. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5415. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5416. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5417. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5418. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5419. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5420. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5421. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5422. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5423. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5424. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5425. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5426. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5427. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5428. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5429. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5430. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5431. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5432. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5433. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5434. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5435. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5436. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5437. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5438. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5439. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5440. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5441. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5442. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5443. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5444. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5445. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5446. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5447. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5448. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5449. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5450. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5451. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5452. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5453. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5454. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5455. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5456. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5457. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5458. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5459. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5460. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5461. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5462. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5463. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5464. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5465. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5466. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5467. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5468. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5469. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5470. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5471. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5472. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5473. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5474. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5475. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5476. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5477. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5478. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5479. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5480. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5481. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5482. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5483. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5484. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5485. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5486. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5487. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5488. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5489. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5490. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5491. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5492. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5493. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5494. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5495. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5496. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5497. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5498. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5499. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5500. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5501. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5502. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5503. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5504. 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')]");
  5505. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5506. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5507. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5508. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5509. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5510. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5511. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5512. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5513. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5514. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5515. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5516. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5517. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5518. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5519. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5520. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5521. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5522. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5523. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5524. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5525. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5526. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5527. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5528. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5529. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5530. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5531. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5532. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5533. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5534. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5535. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5536. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5537. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5538. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5539. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5540. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5541. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5542. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5543. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5544. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5545. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5546. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5547. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5548. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5549. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5550. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5551. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5552. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5553. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5554. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5555. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5556. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5557. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5558. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5559. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5560. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5561. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5562. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5563. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5564. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5565. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5566. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5567. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5568. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5569. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5570. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5571. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5572. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5573. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5574. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5575. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5576. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5577. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5578. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5579. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5580. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5581. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5582. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5583. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5584. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5585. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5586. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5587. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5588. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5589. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5590. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5591. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5592. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5593. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5594. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5595. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5596. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5597. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5598. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5599. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5600. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5601. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5602. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5603. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5604. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5605. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5606. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5607. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5608. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5609. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5610. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5611. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5612. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5613. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5614. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5615. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5616. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5617. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5618. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5619. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5620. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5621. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5622. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5623. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5624. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5625. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5626. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5627. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5628. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5629. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5630. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5631. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5632. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5633. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5634. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5635. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5636. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5637. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5638. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5639. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5640. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5641. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5642. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5643. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5644. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5645. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5646. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5647. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5648. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5649. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5650. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5651. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5652. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5653. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5654. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5655. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5656. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5657. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5658. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5659. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5660. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5661. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5662. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5663. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5664. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5665. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5666. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5667. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5668. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5669. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5670. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5671. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5672. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5673. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5674. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5675. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5676. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5677. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5678. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5679. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5680. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5681. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5682. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5683. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5684. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5685. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5686. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5687. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5688. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5689. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5690. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5691. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5692. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5693. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5694. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5695. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5696. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5697. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5698. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5699. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5700. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5701. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5702. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5703. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5704. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5705. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5706. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5707. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5708. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5709. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5710. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5711. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5712. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5713. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5714. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5715. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5716. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5717. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5718. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5719. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5720. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5721. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5722. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5723. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5724. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5725. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5726. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5727. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5728. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5729. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5730. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5731. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5732. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5733. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5734. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5735. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5736. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5737. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5738. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5739. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5740. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5741. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5742. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5743. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5744. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5745. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5746. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5747. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5748. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5749. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5750. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5751. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5752. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5753. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5754. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5755. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5756. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5757. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5758. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5759. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5760. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5761. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5762. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5763. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5764. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5765. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5766. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5767. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5768. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5769. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5770. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5771. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5772. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5773. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5774. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5775. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5776. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5777. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5778. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5779. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5780. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5781. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5782. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5783. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5784. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5785. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5786. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5787. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5788. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5789. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5790. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5791. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5792. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5793. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5794. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5795. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5796. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5797. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5798. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5799. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5800. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5801. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5802. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5803. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5804. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5805. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5806. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5807. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5808. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5809. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5810. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5811. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5812. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5813. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5814. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5815. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5816. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5817. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5818. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5819. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5820. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5821. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5822. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5823. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5824. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5825. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5826. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5827. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5828. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5829. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5830. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5831. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5832. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5833. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5834. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5835. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5836. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5837. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5838. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5839. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5840. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5841. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5842. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5843. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5844. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5845. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5846. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5847. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5848. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5849. // addObsoleteHost("kingfiles\\.net\/\\w+","//a[contains(@href,'kingfiles.net/')]");
  5850. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5851. // obsolete start
  5852. }
  5853. //obsolete file hosts init end
  5854. //Add Host Example
  5855. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5856. {
  5857. addFileHost(
  5858. "datafile\.com\/\\w+",
  5859. 'var captchaPanel|<link href="/css/files_download.css"',
  5860. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5861. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5862. '<style type="text/css">',
  5863. "//a[contains(@href,'datafile.com')]",
  5864. true);
  5865. } */
  5866.  
  5867. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5868. {
  5869. var host = new Array(7);
  5870. host[0] = linkRegex;
  5871. host[1] = isAliveRegex;
  5872. host[2] = isDeadRegex;
  5873. host[3] = isUnavaRegex;
  5874. host[6] = ispremRegex;
  5875. host[4] = xpathEx;
  5876. tryLoop ? host[5] = true : host[5] = false;
  5877. http_file_hosts.push(host);
  5878. }
  5879. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5880. {
  5881. addFileHost(
  5882. "megafileupload\.com\/..\/file\/",
  5883. 'downloadbtn',
  5884. 'is not found',
  5885. 'optional--',
  5886. 'optional2--',
  5887. "//a[contains(@href,'megafileupload.com')]");
  5888. }
  5889. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5890. {
  5891. addFileHost(
  5892. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5893. 'download\\.gif"',
  5894. 'p_point">',
  5895. 'optional--',
  5896. 'optional2--',
  5897. "//a[contains(@href,'demo.ovh.eu')]");
  5898. }
  5899. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5900. {
  5901. addFileHost(
  5902. "xkeepfile\.com\/\\w+",
  5903. 'File has been found|Click here to download',
  5904. 'File cannot be found|class="error">',
  5905. 'optional--',
  5906. 'optional2--',
  5907. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5908. }
  5909. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5910. {
  5911. addFileHost(
  5912. "safelinking\\.net\/p\/\\w+",
  5913. 'color:green;"',
  5914. 'color:(?:red|orange);"',
  5915. 'color:(?:grey|brown);"',
  5916. 'optional2--',
  5917. "//a[contains(@href,'safelinking.net/p/')]",
  5918. true);
  5919. }
  5920. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5921. {
  5922. addFileHost(
  5923. "fastshare\\.cz\/\\d+\/\\w*",
  5924. 'dwntable">|speed-low',
  5925. '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',
  5926. 'optional--',
  5927. 'optional2--',
  5928. "//a[contains(@href,'fastshare.cz')]");
  5929. }
  5930. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5931. {
  5932. addFileHost(
  5933. "[fF]ast[sS]hare\\.org\/download",
  5934. 'Download ">',
  5935. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5936. 'optional--',
  5937. 'optional2--',
  5938. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5939. }
  5940. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5941. {
  5942. addFileHost(
  5943. "partage-facile\.com\/\\w+",
  5944. 'class="title"><strong>|colspan="2"',
  5945. 'Page introuvable|class="alert-message',
  5946. 'optional--',
  5947. 'optional2--',
  5948. "//a[contains(@href,'partage-facile.com')]");
  5949. }
  5950. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5951. {
  5952. addFileHost(
  5953. "rapidgator\\.net\/file\/\\w+",
  5954. '/download/AjaxStartTimer|not more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5955. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5956. 'optional--',
  5957. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  5958. "//a[contains(@href,'rapidgator.net/file')]",
  5959. true
  5960. );
  5961. }
  5962. if (GM_getValue("Check_relink_dot_us_links", false))
  5963. {
  5964. addFileHost(
  5965. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5966. 'online_detail\\.png" alt="Status',
  5967. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5968. 'unknown_detail\\.png" alt="Status',
  5969. 'optional2--',
  5970. "//a[contains(@href,'relink.us/')]"
  5971. );
  5972. }
  5973. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5974. {
  5975. addFileHost(
  5976. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5977. 'div id="dl"',
  5978. 'Sie haben den Link falsch',
  5979. 'optional--',
  5980. 'optional2--',
  5981. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5982. );
  5983. }
  5984. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5985. {
  5986. addFileHost(
  5987. "flyfiles\\.net\/\\w+",
  5988. 'download_button"|"Download file"',
  5989. 'File not found!|Файл не найден',
  5990. 'optional--',
  5991. 'optional2--',
  5992. "//a[contains(@href,'flyfiles.net/')]"
  5993. );
  5994. }
  5995. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5996. {
  5997. addFileHost(
  5998. "wikiupload\\.com\/\\w+",
  5999. 'download-button">',
  6000. 'Sorry, File not found',
  6001. 'optional--',
  6002. 'optional2--',
  6003. "//a[contains(@href,'wikiupload.com/')]"
  6004. );
  6005. }
  6006. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6007. {
  6008. addFileHost(
  6009. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6010. 'file\\.php">|Pobierz Plik',
  6011. 'Podany plik nie zosta',
  6012. 'optional--',
  6013. 'optional2--',
  6014. "//a[contains(@href,'hostuje.net/file')]"
  6015. );
  6016. }
  6017. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6018. {
  6019. addFileHost(
  6020. "gettyfile\\.ru\/\\d+",
  6021. 'download\\.gif border',
  6022. '<center><font size="3">',
  6023. 'optional--',
  6024. 'optional2--',
  6025. "//a[contains(@href,'gettyfile.ru/')]"
  6026. );
  6027. }
  6028. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6029. {
  6030. addFileHost(
  6031. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6032. 'download\\-file">',
  6033. 'col-1">\\s*<h1>',
  6034. 'optional--',
  6035. 'optional2--',
  6036. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6037. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6038. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6039. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6040. );
  6041. }
  6042. if (GM_getValue("Check_data_dot_hu_links", false))
  6043. {
  6044. addFileHost(
  6045. "data\\.hu\/get\/\\d+\/",
  6046. 'download_box_button',
  6047. 'missing\\.php',
  6048. 'optional--',
  6049. 'optional2--',
  6050. "//a[contains(@href,'data.hu/get')]",
  6051. true
  6052. );
  6053. }
  6054. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6055. {
  6056. addFileHost(
  6057. "filesmelt\\.com\/dl\/\\w+",
  6058. '(Your download is ready|Download File)',
  6059. 'Sorry, but your',
  6060. 'optional--',
  6061. 'optional2--',
  6062. "//a[contains(@href,'filesmelt.com/dl')]"
  6063. );
  6064. }
  6065. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6066. {
  6067. addFileHost(
  6068. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6069. 'premiumBtn"',
  6070. 'errorMessage"',
  6071. 'optional--',
  6072. 'optional2--',
  6073. "//a[contains(@href,'indowebster.com/download')]"
  6074. );
  6075. }
  6076. if (GM_getValue("Check_superload_dot_cz_links", false))
  6077. {
  6078. addFileHost(
  6079. "superload\\.cz\/dl\/\\w+",
  6080. 'icon-download">',
  6081. 'soubor nebyl nalezen',
  6082. 'optional--',
  6083. 'optional2--',
  6084. "//a[contains(@href,'superload.cz/dl')]"
  6085. );
  6086. }
  6087. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6088. {
  6089. addFileHost(
  6090. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6091. 'op" value="download',
  6092. 'class="err">|width:500px;text-align:left;">',
  6093. 'optional--',
  6094. 'optional2--',
  6095. "//a[contains(@href,'hulkfile.')]"
  6096. );
  6097. }
  6098. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6099. {
  6100. addFileHost(
  6101. "easybytez\\.com\/\\w+",
  6102. 'op" value="download',
  6103. 'stop_error\\.gif',
  6104. 'optional--',
  6105. 'optional2--',
  6106. "//a[contains(@href,'easybytez.com/')]"
  6107. );
  6108. }
  6109. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6110. {
  6111. addFileHost(
  6112. "filestore\\.com\\.ua\/\\?d=\\w+",
  6113. 'tdrow1>',
  6114. 'class=warn',
  6115. 'optional--',
  6116. 'optional2--',
  6117. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6118. );
  6119. }
  6120. if (GM_getValue("Check_netkups_dot_com_links", false))
  6121. {
  6122. addFileHost(
  6123. "netkups\\.com\/\\?d=\\w+",
  6124. 'submit">Continue',
  6125. 'page">File not found|deleted due to inactivity',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'netkups.com/?d=')]"
  6129. );
  6130. }
  6131. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6132. {
  6133. addFileHost(
  6134. "openfile\\.ru\/(?:video\/|)\\d+",
  6135. 'videobox_left">',
  6136. 'blog_title">|not found on this server',
  6137. 'optional--',
  6138. 'optional2--',
  6139. "//a[contains(@href,'openfile.ru/')]"
  6140. );
  6141. }
  6142. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6143. {
  6144. addFileHost(
  6145. "extmatrix\\.com\/files\/\\w+",
  6146. 'div class="success"',
  6147. 'div class="error"',
  6148. 'optional--',
  6149. 'optional2--',
  6150. "//a[contains(@href,'extmatrix.com/files')]"
  6151. );
  6152. }
  6153. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6154. {
  6155. addFileHost(
  6156. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6157. 'content_lnkDownload',
  6158. 'error\\.aspx\\?',
  6159. 'optional--',
  6160. 'optional2--',
  6161. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6162. );
  6163. }
  6164. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6165. {
  6166. addFileHost(
  6167. "yourfilestore\\.com\/download\/\\d+\/",
  6168. 'download_data">',
  6169. 'may have been deleted|<h1>Sorry!<\/h1>',
  6170. 'optional--',
  6171. 'optional2--',
  6172. "//a[contains(@href,'yourfilestore.com/download')]"
  6173. );
  6174. }
  6175. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6176. {
  6177. addFileHost(
  6178. "nekaka\\.com\/d\/[\\w-]+",
  6179. 'downloadForm">',
  6180. 'invalid file link',
  6181. 'optional--',
  6182. 'optional2--',
  6183. "//a[contains(@href,'nekaka.com/d')]"
  6184. );
  6185. }
  6186. if (GM_getValue("Check_filebig_dot_net_links", false))
  6187. {
  6188. addFileHost(
  6189. "filebig\\.net\/files\/\\w+",
  6190. 'downloadFile">',
  6191. '<p>File not found<\/p>',
  6192. 'optional--',
  6193. 'optional2--',
  6194. "//a[contains(@href,'filebig.net/files')]"
  6195. );
  6196. }
  6197. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6198. {
  6199. addFileHost(
  6200. "files\\.filefront\\.com\/\/;\\d+;;",
  6201. 'downloadLink">',
  6202. 'File not found, you',
  6203. 'optional--',
  6204. 'optional2--',
  6205. "//a[contains(@href,'files.filefront.com')]"
  6206. );
  6207.  
  6208. addFileHost(
  6209. "gamefront\\.com\/files\/\\d+",
  6210. 'downloadLink">',
  6211. 'File not found, you',
  6212. 'optional--',
  6213. 'optional2--',
  6214. "//a[contains(@href,'gamefront.com/files')]"
  6215. );
  6216. }
  6217. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6218. {
  6219. addFileHost(
  6220. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6221. 'dnlLnk"',
  6222. 'already been deleted',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6226. );
  6227. }
  6228. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6229. {
  6230. addFileHost(
  6231. "hellupload\\.com\/\\w+",
  6232. '<h3>Download File<br',
  6233. 'id="podstrona">|AVOID_IE_BUG',
  6234. 'optional--',
  6235. 'optional2--',
  6236. "//a[contains(@href,'hellupload.com/')]"
  6237. );
  6238. }
  6239. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6240. {
  6241. addFileHost(
  6242. "free\\-uploading\\.com\/\\w+",
  6243. 'op" value="download',
  6244. 'class="err">|width:500px;text-align:left;">',
  6245. 'optional--',
  6246. 'optional2--',
  6247. "//a[contains(@href,'free-uploading.com/')]"
  6248. );
  6249. }
  6250. if (GM_getValue("Check_fileape_dot_com_links", false))
  6251. {
  6252. addFileHost(
  6253. "fileape\\.com\/download\\-",
  6254. 'button_dl\\.png',
  6255. 'does not exist\\.',
  6256. 'optional--',
  6257. 'optional2--',
  6258. "//a[contains(@href,'fileape.com/')]"
  6259. );
  6260. }
  6261. if (GM_getValue("Check_uppit_dot_com_links", false))
  6262. {
  6263. addFileHost(
  6264. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6265. 'op" value="download',
  6266. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6267. 'optional--',
  6268. 'optional2--',
  6269. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6270. true
  6271. );
  6272. }
  6273. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6274. {
  6275. addFileHost(
  6276. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6277. 'op" value="download',
  6278. '>File Not Found<',
  6279. 'optional--',
  6280. 'optional2--',
  6281. "//a[contains(@href,'nosupload.com')]",
  6282. true
  6283. );
  6284. }
  6285. if (GM_getValue("Check_filesin_dot_com_links", false))
  6286. {
  6287. addFileHost(
  6288. "filesin\\.com\/\\w+\/download\\.html",
  6289. 'download_area">',
  6290. 'error_note">',
  6291. 'optional--',
  6292. 'optional2--',
  6293. "//a[contains(@href,'filesin.com/')]",
  6294. true
  6295. );
  6296. }
  6297. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6298. {
  6299. addFileHost(
  6300. "nowdownload\\.ch\/dl\/\\w+",
  6301. 'alert-success"',
  6302. 'This file does not exist!',
  6303. 'The file is being transfered',
  6304. 'optional2--',
  6305. "//a[contains(@href,'nowdownload.ch/dl')]"
  6306. );
  6307. }
  6308. if (GM_getValue("Check_axifile_dot_com_links", false))
  6309. {
  6310. addFileHost(
  6311. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6312. 'Dbutton_big"',
  6313. 'download\\-error\\.php',
  6314. 'optional--',
  6315. 'optional2--',
  6316. "//a[contains(@href,'axifile.com/')]"
  6317. );
  6318. }
  6319. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6320. {
  6321. addFileHost(
  6322. "hulkshare\.com\/\\w+",
  6323. 'download\.sam\.png|This is a private file|id="filename',
  6324. 'File does not exist|fingerprint protected copyright',
  6325. 'optional--',
  6326. 'optional2--',
  6327. "//a[contains(@href,'hulkshare.com')]"
  6328. );
  6329. }
  6330. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6331. {
  6332. addFileHost(
  6333. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6334. 'col-1">\\s*<s',
  6335. 'col-1">\\s*<h',
  6336. 'optional--',
  6337. 'optional2--',
  6338. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6339. );
  6340. }
  6341. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6342. {
  6343. addFileHost(
  6344. "turbobit\\.(?:net|pl)",
  6345. 'id="download-gate-info|id="file-list',
  6346. 'afterWait()|no files in this folder',
  6347. 'optional--',
  6348. 'optional2--',
  6349. "//a[contains(@href,'turbobit.net')]"
  6350. );
  6351. }
  6352. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6353. {
  6354. addFileHost(
  6355. "hitfile\\.net\/download\/folder\/\\d+",
  6356. 'content">\\s*<s',
  6357. 'content">\\s*<h',
  6358. 'optional--',
  6359. 'optional2--',
  6360. "//a[contains(@href,'hitfile.net/download/folder')]"
  6361. );
  6362. }
  6363. if (GM_getValue("Check_movshare_dot_net_links", false))
  6364. {
  6365. addFileHost(
  6366. "movshare\\.net\\/video\\/\\w+",
  6367. 'optional--"',
  6368. 'no longer exists',
  6369. 'optional--',
  6370. 'optional2--',
  6371. "//a[contains(@href,'movshare.net/video')]"
  6372. );
  6373. }
  6374. if (GM_getValue("Check_plunder_dot_com_links", false))
  6375. {
  6376. addFileHost(
  6377. "plunder\.com\/\\w+",
  6378. 'x\/download\\.gif',
  6379. '404 - File or directory not found.',
  6380. 'optional--',
  6381. 'optional2--',
  6382. "//a[contains(@href,'plunder.com')]"
  6383. );
  6384. }
  6385. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6386. {
  6387. addFileHost(
  6388. "mafiastorage\\.com\/\\w+",
  6389. 'op" value="download',
  6390. 'class="err">|style="width:500px;text-align:left;"',
  6391. 'optional--',
  6392. 'optional2--',
  6393. "//a[contains(@href,'mafiastorage.com/')]"
  6394. );
  6395. }
  6396. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6397. {
  6398. addFileHost(
  6399. "uploadspace\.pl\/plik\\w+",
  6400. 'Downloading .+? \\|',
  6401. 'Downloading a file',
  6402. 'optional--',
  6403. 'optional2--',
  6404. "//a[contains(@href,'uploadspace.pl/plik')]"
  6405. );
  6406. }
  6407. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6408. {
  6409. addFileHost(
  6410. "uploadingit\\.com\/file\/\\w+",
  6411. 'downloadTitle">',
  6412. 'deleteContent">',
  6413. 'optional--',
  6414. 'optional2--',
  6415. "//a[contains(@href,'uploadingit.com/file')]"
  6416. );
  6417. }
  6418. if (GM_getValue("Check_rghost_dot_net_links", false))
  6419. {
  6420. addFileHost(
  6421. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6422. 'download_link|btn large download',
  6423. 'file is restricted|File is deleted|503 Service Unavailable',
  6424. 'optional--',
  6425. 'optional2--',
  6426. "//a[contains(@href,'rghost.')]"
  6427. );
  6428. }
  6429. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6430. {
  6431. addFileHost(
  6432. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6433. '">Staženo:\\s*<\/span>',
  6434. 'Soubor, který hledáte nenalezen',
  6435. 'optional--',
  6436. 'optional2--',
  6437. "//a[contains(@href,'xdisk.cz/')]"
  6438. );
  6439. }
  6440. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6441. {
  6442. addFileHost(
  6443. "2downloadz\.com\/\\w+",
  6444. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6445. 'color="#006DCC|File error',
  6446. 'optional--',
  6447. 'optional2--',
  6448. "//a[contains(@href,'2downloadz.com')]");
  6449. }
  6450. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6451. {
  6452. addFileHost(
  6453. "mightyupload\.com\/\\w+",
  6454. 'background:#ccc;text-align|CONTENT="Download File"',
  6455. 'style="background:#eee|var rr =|File Not Found',
  6456. 'error-code">1010',
  6457. 'optional2--',
  6458. "//a[contains(@href,'mightyupload.com')]");
  6459. }
  6460. if (GM_getValue("Check_anysend_dot_com_links", false))
  6461. {
  6462. addFileHost(
  6463. "anysend\.com\/\\w+",
  6464. 'var openCalled=false;|content="noindex"',
  6465. '_trackPageview',
  6466. 'optional--',
  6467. 'optional2--',
  6468. "//a[contains(@href,'anysend.com')]");
  6469. }
  6470. if (GM_getValue("Check_datafile_dot_com_links", false))
  6471. {
  6472. addFileHost(
  6473. "datafile\.com\/\\w+",
  6474. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6475. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6476. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6477. '; 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">
  6478. "//a[contains(@href,'datafile.com')]",
  6479. true);
  6480. }
  6481. if (GM_getValue("Check_upstore_dot_net_links", false))
  6482. {
  6483. addFileHost(
  6484. "upstore\.net\/\\w+",
  6485. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6486. 'File not found|onload="redirect|class="error">',
  6487. 'optional--',
  6488. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6489. "//a[contains(@href,'upstore.net')]");
  6490. }
  6491. if (GM_getValue("Check_upsto_dot_re_links", false))
  6492. {
  6493. addFileHost(
  6494. "upsto\.re\/\\w+",
  6495. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6496. 'File not found|onload="redirect|class="error">',
  6497. 'optional--',
  6498. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6499. "//a[contains(@href,'upsto.re')]");
  6500. }
  6501. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6502. {
  6503. addFileHost(
  6504. "speedy\.sh\/\\w+",
  6505. 'bgcolor=#eeeeee|class="addthis',
  6506. 'File not found|downloadfilenamenotfound>',
  6507. 'optional--',
  6508. 'optional2--',
  6509. "//a[contains(@href,'speedy.sh')]");
  6510. }
  6511. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6512. {
  6513. addFileHost(
  6514. "sanshare\.com\/\\w+",
  6515. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6516. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6517. 'optional--',
  6518. 'optional2--',
  6519. "//a[contains(@href,'sanshare.com')]");
  6520. }
  6521. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6522. {
  6523. addFileHost(
  6524. "kingfiles\.net\/\\w+",
  6525. 'method_free|images/loading_small.gif"',
  6526. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6527. 'optional--',
  6528. 'optional2--',
  6529. "//a[contains(@href,'kingfiles.net')]");
  6530. }
  6531. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6532. {
  6533. addFileHost(
  6534. "uploadhero\\.co\/dl\/\\w+",
  6535. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6536. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6537. 'optional--',
  6538. 'optional2--',
  6539. "//a[contains(@href,'uploadhero.co/dl')]"
  6540. );
  6541. } */
  6542. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6543. {
  6544. addFileHost(
  6545. "secureupload\\.eu\/\\w+",
  6546. 'Downloading',
  6547. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6548. 'optional--',
  6549. 'optional2--',
  6550. "//a[contains(@href,'secureupload.eu')]"
  6551. );
  6552. }
  6553. if (GM_getValue("Check_ge_dot_tt_links", false))
  6554. {
  6555. addFileHost(
  6556. "ge\.tt\/\\w+",
  6557. 'downloads pic',
  6558. 'is NOT the same as',
  6559. 'optional--',
  6560. 'optional2--',
  6561. "//a[contains(@href,'ge.tt')]");
  6562. }
  6563. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6564. {
  6565. addFileHost(
  6566. "filefactory\.com\/\\w+",
  6567. 'div id="file_holder"|download.css',
  6568. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6569. 'Server Maintenance|temporarily overloaded',
  6570. 'Premium Account Required',
  6571. "//a[contains(@href,'filefactory.com')]");
  6572. }
  6573. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6574. {
  6575. addFileHost(
  6576. "filesflash\.net\/\\w+",
  6577. 'align:right">Filename:',
  6578. 'class="msg">',
  6579. 'optional--',
  6580. 'optional2--',
  6581. "//a[contains(@href,'filesflash.net')]");
  6582. }
  6583. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6584. {
  6585. addFileHost(
  6586. "rapidgator\\.net\/folder\/\\w+",
  6587. 'href="/folder/',
  6588. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6589. 'optional--',
  6590. 'optional2--',
  6591. "//a[contains(@href,'rapidgator.net/folder')]",
  6592. true
  6593. );
  6594. }
  6595. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6596. {
  6597. addFileHost(
  6598. "salefiles\.com\/\\w+",
  6599. 'name="method_free',
  6600. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6601. 'optional--',
  6602. 'optional2--',
  6603. "//a[contains(@href,'salefiles.com')]");
  6604. }
  6605. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6606. {
  6607. addFileHost(
  6608. "megairon\.net\/\\w+",
  6609. 'border: 5px #ffeb90 solid;',
  6610. 'CONTENT="Download File ">|var rr =',
  6611. 'error-code">523',
  6612. 'optional2--',
  6613. "//a[contains(@href,'megairon.net')]",
  6614. true);
  6615. } */
  6616. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6617. {
  6618. addFileHost(
  6619. "datoid\.cz\/\\w+",
  6620. 'btn-download|class="icon-download-large"',
  6621. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6622. 'optional--',
  6623. 'optional2--',
  6624. "//a[contains(@href,'datoid.cz')]");
  6625. }
  6626. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6627. {
  6628. addFileHost(
  6629. "stiahni\.si\/\\w+",
  6630. 'report_icon.png"|slow-download-button',
  6631. 'none.png|deleted|<h2>Error 500</h2>',
  6632. 'optional--',
  6633. 'optional2--',
  6634. "//a[contains(@href,'stiahni.si')]");
  6635. }
  6636. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6637. {
  6638. addFileHost(
  6639. "cloudstor\.es\/\\w+",
  6640. '"btn_download"',
  6641. '404: Page Not Found',
  6642. 'optional--',
  6643. 'optional2--',
  6644. "//a[contains(@href,'cloudstor.es')]");
  6645. }
  6646. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6647. {
  6648. addFileHost(
  6649. "streamfile\.com\/\\w+",
  6650. 'class="btn',
  6651. 'class="green-btn',
  6652. 'optional--',
  6653. 'optional2--',
  6654. "//a[contains(@href,'streamfile.com')]");
  6655. }
  6656. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6657. {
  6658. addFileHost(
  6659. "eyesfile\.ca\/\\w+",
  6660. 'value="Get Link',
  6661. 'var rr =',
  6662. 'optional--',
  6663. 'optional2--',
  6664. "//a[contains(@href,'eyesfile.ca')]");
  6665. }
  6666. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6667. {
  6668. addFileHost(
  6669. "filemoney\.com\/\\w+",
  6670. 'og:title',
  6671. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6672. 'error-code">1010',
  6673. 'optional2--',
  6674. "//a[contains(@href,'filemoney.com')]");
  6675. }
  6676. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6677. {
  6678. addFileHost(
  6679. "uploadboy\.com\/\\w+",
  6680. 'width="740">|method_free',
  6681. 'var rr =|background:#ffffff|not be found|file was removed',
  6682. 'optional--',
  6683. 'optional2--',
  6684. "//a[contains(@href,'uploadboy.com')]");
  6685. }
  6686. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6687. {
  6688. addFileHost(
  6689. "uploadboy\.com\/\\w+",
  6690. 'width="740">|method_free',
  6691. 'var rr =|background:#ffffff|not be found|file was removed',
  6692. 'optional--',
  6693. 'optional2--',
  6694. "//a[contains(@href,'uploadboy.me')]");
  6695. }
  6696. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6697. {
  6698. addFileHost(
  6699. "speedshare\.eu\/\\w+",
  6700. 'favicon.png|color:#3d87c0|cross.png"',
  6701. 'var rr =|File Not Found|style="background:#eee',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'speedshare.eu')]");
  6705. }
  6706. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6707. {
  6708. addFileHost(
  6709. "unlimitzone\.com\/\\w+",
  6710. 'name="method_free',
  6711. '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',
  6712. 'optional--',
  6713. 'optional2--',
  6714. "//a[contains(@href,'unlimitzone.com')]");
  6715. }
  6716. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6717. {
  6718. addFileHost(
  6719. "rioupload\.com\/\\w+",
  6720. 'sell.jpg',
  6721. 'var rr =',
  6722. 'optional--',
  6723. 'optional2--',
  6724. "//a[contains(@href,'rioupload.com')]");
  6725. }
  6726. if (GM_getValue("Check_rg_dot_to_links", false))
  6727. {
  6728. addFileHost(
  6729. "rg\.to\/\\w+",
  6730. '/download/AjaxStartTimer|not more than 1 file at a time|your hourly downloads limit|"text-block download-prepare">|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6731. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6732. 'optional--',
  6733. 'can be downloaded by premium only|files up to 500 MB in free mode|You can download files up to 2 GB in free mode',
  6734. "//a[contains(@href,'rg.to')]");
  6735. }
  6736. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6737. {
  6738. addFileHost(
  6739. "jumbofiles\.org\/\\w+",
  6740. 'H71C5.png|class="downloadtitle">',
  6741. 'var swfu|ViewSourceBIN.png',
  6742. 'optional--',
  6743. 'optional2--',
  6744. "//a[contains(@href,'jumbofiles.org')]");
  6745. }
  6746. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6747. {
  6748. addFileHost(
  6749. "fshare\\.vn\/file\/\\w+",
  6750. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6751. 'không tồn tại|class="color_red m_t_50"',
  6752. 'optional--',
  6753. 'optional2--',
  6754. "//a[contains(@href,'fshare.vn/file')]",
  6755. true
  6756. );
  6757. }
  6758. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6759. {
  6760. addFileHost(
  6761. "spaceforfiles\.com\/\\w+",
  6762. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6763. 'var rr =|AVOID_IE_BUG',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'spaceforfiles.com')]");
  6767. }
  6768. if (GM_getValue("Check_google_dot_com_links", false))
  6769. {
  6770. addFileHost(
  6771. "google\\.com\/file\/\\w+",
  6772. 'content="!">|color:#2d2d2d',
  6773. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'google.com/file')]",
  6777. true
  6778. );
  6779. }
  6780. if (GM_getValue("Check_google_dot_com_links", false))
  6781. {
  6782. addFileHost(
  6783. "docs.google.com\/\\w+",
  6784. 'content="!">|color:#2d2d2d',
  6785. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6786. 'optional--',
  6787. 'optional2--',
  6788. "//a[contains(@href,'docs.google.com')]",
  6789. true
  6790. );
  6791. }
  6792. if (GM_getValue("Check_google_dot_com_links", false))
  6793. {
  6794. addFileHost(
  6795. "drive.google.com\/\\w+",
  6796. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6797. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6798. 'optional--',
  6799. 'optional2--',
  6800. "//a[contains(@href,'drive.google.com')]",
  6801. true
  6802. );
  6803. }
  6804. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6805. {
  6806. addFileHost(
  6807. "up.media1fire\.com\/\\w+",
  6808. 'class="addthis_|value="download',
  6809. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6810. 'optional--',
  6811. 'optional2--',
  6812. "//a[contains(@href,'up.media1fire.com')]");
  6813. }
  6814. if (GM_getValue("Check_depfile_dot_com_links", false))
  6815. {
  6816. addFileHost(
  6817. "depfile\.com\/\\w+",
  6818. 'logo_0.png|downloads.gif"|verifycode',
  6819. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6820. 'optional--',
  6821. 'available only for Premium users',
  6822. "//a[contains(@href,'depfile.com')]");
  6823. }
  6824. if (GM_getValue("Check_go4up_dot_com_links", false))
  6825. {
  6826. addFileHost(
  6827. "go4up\.com\/\\w+",
  6828. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6829. '<title>GO4UP|dmca',
  6830. 'optional--',
  6831. 'optional2--',
  6832. "//a[contains(@href,'go4up.com')]");
  6833. }
  6834. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6835. {
  6836. addFileHost(
  6837. "redbunker\.net\/\\w+",
  6838. 'name="method_free"',
  6839. 'color="red">Unknow / Bilinmiyor<',
  6840. 'optional--',
  6841. '2.3 GB',
  6842. "//a[contains(@href,'redbunker.net')]");
  6843. }
  6844. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6845. {
  6846. addFileHost(
  6847. "divxpress\.com\/\\w+",
  6848. 'btn_download|logo.png"',
  6849. 'AVOID_IE_BUG|var rr =',
  6850. 'optional--',
  6851. 'optional2--',
  6852. "//a[contains(@href,'divxpress.com')]");
  6853. }
  6854. if (GM_getValue("Check_anafile_dot_com_links", false))
  6855. {
  6856. addFileHost(
  6857. "anafile\.com\/\\w+",
  6858. 'width="881" valign="top|color="#800080"|name="go"',
  6859. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6860. 'optional--',
  6861. 'optional2--',
  6862. "//a[contains(@href,'anafile.com')]");
  6863. }
  6864. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6865. {
  6866. addFileHost(
  6867. "uploadable\\.ch\/file\/\\w+",
  6868. 'captcha.js"|payment.js"|class="btn_download"',
  6869. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6870. 'optional--',
  6871. 'optional2--',
  6872. "//a[contains(@href,'uploadable.ch/file')]",
  6873. true
  6874. );
  6875. }
  6876. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6877. {
  6878. addFileHost(
  6879. "bigfile\\.to\/file\/\\w+",
  6880. 'captcha.js"|payment.js"|class="btn_download"',
  6881. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6882. 'optional--',
  6883. 'optional2--',
  6884. "//a[contains(@href,'bigfile.to/file')]",
  6885. true
  6886. );
  6887. }
  6888. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6889. {
  6890. addFileHost(
  6891. "arabloads\.net\/\\w+",
  6892. 'name="method_free"|name="method_premium"',
  6893. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6894. 'optional--',
  6895. 'optional2--',
  6896. "//a[contains(@href,'arabloads.net')]");
  6897. }
  6898. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6899. {
  6900. addFileHost(
  6901. "sharerepo\.com\/\\w+",
  6902. 'name="method_free"',
  6903. 'var public_on=|The file you were looking for could not be found',
  6904. 'optional--',
  6905. 'optional2--',
  6906. "//a[contains(@href,'sharerepo.com')]");
  6907. }
  6908. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6909. {
  6910. addFileHost(
  6911. "sfshare\.se\/\\w+",
  6912. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6913. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6914. 'optional--',
  6915. 'optional2--',
  6916. "//a[contains(@href,'sfshare.se')]");
  6917. }
  6918. if (GM_getValue("Check_files_dot_fm_links", false))
  6919. {
  6920. addFileHost(
  6921. "files\.fm\/\\w+",
  6922. 'dl.png"|background-color: transparent',
  6923. 'margin: 40px 40px|background: none;',
  6924. 'optional--',
  6925. 'optional2--',
  6926. "//a[contains(@href,'files.fm')]");
  6927. }
  6928. if (GM_getValue("Check_koofile_dot_com_links", false))
  6929. {
  6930. addFileHost(
  6931. "koofile\.com\/\\w+",
  6932. 'value="download1">|name="method_free"',
  6933. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6934. 'optional--',
  6935. 'optional2--',
  6936. "//a[contains(@href,'koofile.com')]");
  6937. }
  6938. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6939. {
  6940. addFileHost(
  6941. "vidxden\\.com\/\\w+",
  6942. 'Continue to Video"',
  6943. 'No such file',
  6944. 'optional--',
  6945. 'optional2--',
  6946. "//a[contains(@href,'vidxden.com')]"
  6947. );
  6948. }
  6949. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6950. {
  6951. addFileHost(
  6952. "muchshare\\.net\/\\w+",
  6953. 'id="btn_download"',
  6954. 'File Not Found|width: 500px; text-align: left;',
  6955. 'optional--',
  6956. 'optional2--',
  6957. "//a[contains(@href,'muchshare.net')]"
  6958. );
  6959. }
  6960. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6961. {
  6962. addFileHost(
  6963. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6964. 'Details zur Datei|Details page',
  6965. 'Jetzt hochladen|upload now',
  6966. 'optional--',
  6967. 'optional2--',
  6968. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6969. );
  6970. }
  6971. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6972. {
  6973. addFileHost(
  6974. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6975. 'downloadbtn"',
  6976. 'DL_FileNotFound',
  6977. 'optional--',
  6978. 'optional2--',
  6979. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6980. );
  6981. }
  6982. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6983. {
  6984. addFileHost(
  6985. "fileflyer\.com\/view\/\\w+",
  6986. '(?:dwl|locked)btn"',
  6987. 'error.gif"|link">Removed|removedlink">',
  6988. 'optional--',
  6989. 'optional2--',
  6990. "//a[contains(@href,'fileflyer.com')]"
  6991. );
  6992. }
  6993. if (GM_getValue("Check_filestore_dot_to_links", false))
  6994. {
  6995. addFileHost(
  6996. "filestore\.to\/\\?d=\\w+",
  6997. '"downloading"',
  6998. 'Datei wurde nicht gefunden',
  6999. 'optional--',
  7000. 'optional2--',
  7001. "//a[contains(@href,'filestore.to')]"
  7002. );
  7003. }
  7004. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7005. {
  7006. addFileHost(
  7007. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7008. 'fz24">Download|class="pl15">',
  7009. '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',
  7010. 'optional--',
  7011. 'optional2--',
  7012. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7013. );
  7014. }
  7015. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7016. {
  7017. addFileHost(
  7018. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7019. 'File size:',
  7020. 'file is not found',
  7021. 'optional--',
  7022. 'optional2--',
  7023. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7024. );
  7025. } */
  7026. if (GM_getValue("Check_datei_dot_to_links", false))
  7027. {
  7028. addFileHost(
  7029. "datei\\.to\/\\??\\w+",
  7030. 'icon_downloaden\\.png|>Download starten<',
  7031. 'Datei wurde nicht gefunden|icon_deleted.png',
  7032. 'optional--',
  7033. 'optional2--',
  7034. "//a[contains(@href,'datei.to')]"
  7035. );
  7036. }
  7037. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7038. {
  7039. addFileHost(
  7040. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7041. '<body class="body" id="body">|value="Slow Download"',
  7042. '<body class="body" >',
  7043. 'optional--',
  7044. 'optional2--',
  7045. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7046. );
  7047. }
  7048. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7049. {
  7050. addFileHost(
  7051. "uploadhero\\.com\/dl\/\\w+",
  7052. 'content-dl">',
  7053. 'men_file_lost\\.jpg"',
  7054. 'optional--',
  7055. 'optional2--',
  7056. "//a[contains(@href,'uploadhero.com/dl')]"
  7057. );
  7058. } */
  7059. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7060. {
  7061. addFileHost(
  7062. "unibytes\\.com\/[\\w\.]+",
  7063. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7064. 'File not found|Файл не найден|',
  7065. 'optional--',
  7066. 'optional2--',
  7067. "//a[contains(@href,'unibytes.com')]"
  7068. );
  7069. }
  7070. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7071. {
  7072. addFileHost(
  7073. "www\\.hellshare\\.com\/\\d+",
  7074. 'tab\\-details"',
  7075. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7076. 'optional--',
  7077. 'optional2--',
  7078. "//a[contains(@href,'www.hellshare.com')]"
  7079. );
  7080. }
  7081. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7082. {
  7083. addFileHost(
  7084. "www\\.download.cz.hellshare\\.com\/\\w+",
  7085. 'tab\\-details"',
  7086. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7087. 'optional--',
  7088. 'optional2--',
  7089. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7090. );
  7091. }
  7092. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7093. {
  7094. addFileHost(
  7095. "quickshare\\.cz\/slozka-\\d+",
  7096. 'Počet souborů: <strong>[1-9]',
  7097. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7098. 'optional--',
  7099. 'optional2--',
  7100. "//a[contains(@href,'quickshare.cz/slozka')]"
  7101. );
  7102. } */
  7103. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7104. {
  7105. addFileHost(
  7106. "filefactory\\.com\/f\/\\w+",
  7107. 'folderFileList">',
  7108. 'table class="items"|Pointer" class="red">',
  7109. 'optional--',
  7110. 'optional2--',
  7111. "//a[contains(@href,'filefactory.com/f/')]"
  7112. );
  7113. }
  7114. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7115. {
  7116. addFileHost(
  7117. "netfolder\\.in\/\\w+",
  7118. 'list" value="http',
  7119. 'InPage_Error">|list" value=""',
  7120. 'optional--',
  7121. 'optional2--',
  7122. "//a[contains(@href,'netfolder.in')]"
  7123. );
  7124. } */
  7125. if (GM_getValue("Check_load_dot_to_links", false))
  7126. {
  7127. addFileHost(
  7128. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7129. '"download_table_left">Size',
  7130. 'Can\'t find file',
  7131. 'optional--',
  7132. 'optional2--',
  7133. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7134. );
  7135. }
  7136. if (GM_getValue("Check_divshare_dot_com_links", false))
  7137. {
  7138. addFileHost(
  7139. "divshare\\.com\/download\/",
  7140. 'download_new\.png',
  7141. 'have been removed',
  7142. 'optional--',
  7143. 'optional2--',
  7144. "//a[contains(@href,'divshare.com')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7148. {
  7149. addFileHost(
  7150. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7151. 'class="nazev-souboru',
  7152. '<div class="background margin-top vlevo" style="width: 600px;">',
  7153. 'optional--',
  7154. 'optional2--',
  7155. "//a[contains(@href,'euroshare.eu/file')]"
  7156. );
  7157. }
  7158. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7159. {
  7160. addFileHost(
  7161. 'files\\.mail\\.ru/(?:\\w*)',
  7162. 'fileList',
  7163. 'errorMessage',
  7164. 'optional--',
  7165. 'optional2--',
  7166. "//a[contains(@href,'files.mail.ru')]"
  7167. );
  7168. }
  7169. if (GM_getValue("Check_megashares_dot_com_links", false))
  7170. {
  7171. addFileHost(
  7172. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7173. 'Filesize',
  7174. 'Invalid|deleted|Could not download file',
  7175. 'slots|scheduled maintenance',
  7176. 'optional2--',
  7177. "//a[contains(@href,'megashares.com/')]"
  7178. );
  7179. }
  7180. if (GM_getValue("Check_narod_dot_ru_links", false))
  7181. {
  7182. addFileHost(
  7183. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7184. 'b-submit|action="resource.download"',
  7185. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7186. 'Внутренняя ошибка сервиса',
  7187. 'optional2--',
  7188. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7189. );
  7190. }
  7191. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7192. {
  7193. addFileHost(
  7194. "rayfile\\.com\/",
  7195. 'FILEtitleTXT',
  7196. 'blueRow',
  7197. 'optional--',
  7198. 'optional2--',
  7199. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7200. );
  7201. }
  7202. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7203. {
  7204. addFileHost(
  7205. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7206. 'button_green_body"',
  7207. 'error">',
  7208. 'optional--',
  7209. 'optional2--',
  7210. "//a[contains(@href,'filesmonster.com/download')]"
  7211. );
  7212. }
  7213. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7214. {
  7215. addFileHost(
  7216. 'usaupload\\.net\/d\/(?:\w*)',
  7217. '<strong>File size:</strong>',
  7218. 'is not available',
  7219. 'optional--',
  7220. 'optional2--',
  7221. "//a[contains(@href,'usaupload.net/d/')]"
  7222. );
  7223. }
  7224. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7225. {
  7226. addFileHost(
  7227. 'sendspace\\.com\/file\/\\w+',
  7228. 'file_description',
  7229. 'msg error"',
  7230. 'optional--',
  7231. 'optional2--',
  7232. "//a[contains(@href,'sendspace.com/file')]"
  7233. );
  7234. }
  7235. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7236. {
  7237. addFileHost(
  7238. 'sendspace\\.pl\/file\/\\w+',
  7239. 'download_file"',
  7240. 'Podany plik nie',
  7241. 'optional--',
  7242. 'optional2--',
  7243. "//a[contains(@href,'sendspace.pl/file')]"
  7244. );
  7245. }
  7246. if (GM_getValue("Check_uploading_dot_com_links", false))
  7247. {
  7248. addFileHost(
  7249. 'uploading\\.com\/(?:files\/)?\\w+',
  7250. 'free_method">',
  7251. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7252. 'optional--',
  7253. 'optional2--',
  7254. "//a[contains(@href,'uploading.com')]"
  7255. );
  7256. }
  7257. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7258. {
  7259. addFileHost(
  7260. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7261. 'fileId"',
  7262. 'error">',
  7263. 'optional--',
  7264. 'optional2--',
  7265. "//a[contains(@href,'gigasize.com/get')]"
  7266. );
  7267. }
  7268. if (GM_getValue("Check_good_dot_com_links", false))
  7269. {
  7270. addFileHost(
  7271. 'good\\.net\/(?:_|dl)',
  7272. 'Free Download',
  7273. 'Not Found',
  7274. 'Forbidden',
  7275. 'optional2--',
  7276. "//a[contains(@href,'good.net')]"
  7277. );
  7278. }
  7279. if (GM_getValue("Check_2shared_dot_com_links", false))
  7280. {
  7281. addFileHost(
  7282. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7283. 'File size',
  7284. 'File not found|is not valid|/images/important.gif',
  7285. 'optional--',
  7286. 'optional2--',
  7287. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7288. );
  7289. }
  7290. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7291. {
  7292. addFileHost(
  7293. 'turboupload\\.com\/\\w*',
  7294. 'You have requested',
  7295. 'File Not Found',
  7296. 'optional--',
  7297. 'optional2--',
  7298. "//a[contains(@href,'turboupload.com')]"
  7299. );
  7300. }
  7301. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7302. {
  7303. addFileHost(
  7304. 'gigapeta\\.com\/dl\/',
  7305. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7306. '404|page_error',
  7307. 'optional--',
  7308. 'optional2--',
  7309. "//a[contains(@href,'gigapeta.com/dl')]"
  7310. );
  7311. }
  7312. if (GM_getValue("Check_veehd_dot_com_links", false))
  7313. {
  7314. addFileHost(
  7315. 'veehd\.com\/video\/.*?',
  7316. 'No sound|Download video',
  7317. 'Featured Videos',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7321. );
  7322. }
  7323. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7324. {
  7325. addFileHost(
  7326. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7327. 'fast_download_form">|submit_sms_download',
  7328. '<p style="text-align:center">',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'vip-file.com/download')]"
  7332. );
  7333. }
  7334. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7335. {
  7336. addFileHost(
  7337. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7338. 'download\\-pnl ',
  7339. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7340. 'optional--',
  7341. 'optional2--',
  7342. "//a[contains(@href,'letitbit.net/download')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7346. {
  7347. addFileHost(
  7348. 'ifolder\.ru\/\\d+',
  7349. 'file-info',
  7350. 'ui-state-error',
  7351. 'optional--',
  7352. 'optional2--',
  7353. "//a[contains(@href,'ifolder.ru')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. 'fileswap\\.com\/dl\/\\w+',
  7360. 'bttnDownloadLink"',
  7361. 'rounded_block_error"',
  7362. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7363. 'optional2--',
  7364. "//a[contains(@href,'fileswap.com/dl')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7368. {
  7369. addFileHost(
  7370. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7371. 'var __error = 0|id="recaptchaPanel">',
  7372. 'FILES__DOESNT_EXIST|removed or did not exist',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'filecloud.io/')]"
  7376. );
  7377. addFileHost(
  7378. 'ifile\\.it\/\\w+',
  7379. 'var __error = 0',
  7380. 'FILES__DOESNT_EXIST',
  7381. 'optional--',
  7382. 'optional2--',
  7383. "//a[contains(@href,'ifile.it/')]"
  7384. );
  7385. }
  7386. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7387. {
  7388. addFileHost(
  7389. 'solidfiles\\.com\/\\w+',
  7390. 'id="download"|content="Download',
  7391. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7392. 'optional--',
  7393. 'optional2--',
  7394. "//a[contains(@href,'solidfiles.com/')]"
  7395. );
  7396. }
  7397. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7398. {
  7399. addFileHost(
  7400. "(?:.\\.|)shareflare\\.net",
  7401. 'download-pnl|<div class="premium-block">',
  7402. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7403. 'optional--',
  7404. 'optional2--',
  7405. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7406. );
  7407. }
  7408. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7409. {
  7410. addFileHost(
  7411. "u18116681.shareflare\\.net",
  7412. 'download-pnl|<div class="premium-block">',
  7413. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7414. 'optional--',
  7415. 'optional2--',
  7416. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7417. );
  7418. }
  7419. if (GM_getValue("Check_uloz_dot_to_links", false))
  7420. {
  7421. addFileHost(
  7422. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7423. 'fileDownload">|fileSize">',
  7424. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7425. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7426. 'optional2--',
  7427. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7428. true
  7429. );
  7430. }
  7431. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7432. {
  7433. addFileHost(
  7434. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7435. 'file\\-list-orderby|section-filedetail">',
  7436. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7437. 'optional--',
  7438. 'optional2--',
  7439. "//a[contains(@href,'hellspy.')]"
  7440. );
  7441. }
  7442. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7443. {
  7444. addFileHost(
  7445. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7446. '<body onload="">',
  7447. 'neexistuje|not exist',
  7448. 'optional--',
  7449. 'optional2--',
  7450. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7451. );
  7452. }
  7453. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7454. {
  7455. addFileHost(
  7456. "stahovanizasms\\.cz\/\\w+",
  7457. 'download\\.png>|font-size:11px><tr>',
  7458. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7459. 'optional--',
  7460. 'optional2--',
  7461. "//a[contains(@href,'stahovanizasms.cz')]"
  7462. );
  7463. }
  7464. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7465. {
  7466. addFileHost(
  7467. "share-links\\.biz\/\\w*",
  7468. 'online\\.gif',
  7469. '(?:offline|parts)\\.gif',
  7470. 'optional--',
  7471. 'optional2--',
  7472. "//a[contains(@href,'share-links.biz')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_4shared_dot_com_links", false))
  7476. {
  7477. addFileHost(
  7478. "4shared\\.com\/.+\/",
  7479. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7480. 'class="warn\"|big red"|GetDataBack',
  7481. 'Service Unavailable',
  7482. 'optional2--',
  7483. "//a[contains(@href,'4shared.com')]"
  7484. );
  7485. }
  7486. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7487. {
  7488. addFileHost(
  7489. "(?:www\\d+\.|)zippyshare\.com\/",
  7490. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7491. 'not exist|Status 404',
  7492. 'optional--',
  7493. 'optional2--',
  7494. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7495. );
  7496. }
  7497. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7498. {
  7499. addFileHost(
  7500. "mediafire\.com\/",
  7501. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7502. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7503. 'set to private',
  7504. 'optional2--',
  7505. "//a[contains(@href,'mediafire.com')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7509. {
  7510. addFileHost(
  7511. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7512. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7513. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7514. 'optional--',
  7515. 'GB</small>',
  7516. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7520. {
  7521. addFileHost(
  7522. "ulozisko\.sk\/",
  7523. 'Detaily',
  7524. 'neexistuje',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'ulozisko.sk')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7531. {
  7532. addFileHost(
  7533. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7534. 'download.php',
  7535. 'notfound|upload\\-suborov\\.php"',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'upnito.sk')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_box_dot_com_links", false))
  7542. {
  7543. addFileHost(
  7544. "box\.com\/\\w+",
  7545. 'download-file-btn|id="download_button|preview-download',
  7546. 'BIyMin.png| <div class="error_message|link has been removed',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'app.box.com')]");
  7550. }
  7551. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7552. {
  7553. addFileHost(
  7554. "uptobox\\.com\/\\w+",
  7555. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7556. 'The file expired|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7557. 'Maintenance',
  7558. 'optional2--',
  7559. "//a[contains(@href,'uptobox.com')]"
  7560. );
  7561. }
  7562. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7563. {
  7564. addFileHost(
  7565. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7566. 'FILE DOWNLOAD<',
  7567. 'File Does Not Exist',
  7568. 'optional--',
  7569. 'optional2--',
  7570. "//a[contains(@href,'sharecash.org/download.php')]"
  7571. );
  7572. }
  7573. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7574. {
  7575. addFileHost(
  7576. "depositfiles\\.com\/folders\/\\w+",
  7577. '<div class="progressContainer">',
  7578. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7579. 'optional--',
  7580. 'optional2--',
  7581. "//a[contains(@href,'depositfiles.com/folders')]"
  7582. );
  7583. }
  7584. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7585. {
  7586. addFileHost(
  7587. "rapidfileshare\\.net/\\w+",
  7588. '<div id="upload-header-bg">',
  7589. '<div style="width:500px;text-align:left;">',
  7590. 'optional--',
  7591. 'optional2--',
  7592. "//a[contains(@href,'rapidfileshare.net/')]"
  7593. );
  7594. }
  7595. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7596. {
  7597. addFileHost(
  7598. "stiahnito\\.sk/",
  7599. '<span class="filesize right">',
  7600. '<ol class="list-purp-2">',
  7601. 'optional--',
  7602. 'optional2--',
  7603. "//a[contains(@href,'stiahnito.sk/')]"
  7604. );
  7605. }
  7606. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7607. {
  7608. addFileHost(
  7609. "rusfolder\\.(?:com|net)",
  7610. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7611. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7612. 'optional--',
  7613. 'optional2--',
  7614. "//a[contains(@href,'rusfolder')]"
  7615. );
  7616. }
  7617. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7618. {
  7619. addFileHost(
  7620. "fileover\\.net/\\d+",
  7621. 'id="filesize"',
  7622. 'Not found or deleted|The following file is unavailable',
  7623. 'optional--',
  7624. 'optional2--',
  7625. "//a[contains(@href,'fileover.net/')]"
  7626. );
  7627. } */
  7628. if (GM_getValue("Check_catshare_dot_net_links", false))
  7629. {
  7630. addFileHost(
  7631. "catshare\\.net/\\w+",
  7632. '"icon-share',
  7633. 'alert alert-error',
  7634. 'optional--',
  7635. 'optional2--',
  7636. "//a[contains(@href,'catshare.net/')]"
  7637. );
  7638. }
  7639. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7640. {
  7641. addFileHost(
  7642. "anonfiles\\.com/\\w+",
  7643. '"download_button"',
  7644. '<legend><b>404</b>',
  7645. 'optional--',
  7646. 'optional2--',
  7647. "//a[contains(@href,'anonfiles.com')]"
  7648. );
  7649. }
  7650. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7651. {
  7652. addFileHost(
  7653. "mixturecloud\\.com/media/\\w+",
  7654. '"btn icon i_globe gray share_150',
  7655. '"s_cross_close"></span> 404:',
  7656. 'optional--',
  7657. 'optional2--',
  7658. "//a[contains(@href,'mixturecloud.com/media/')]"
  7659. );
  7660. }
  7661. if (GM_getValue("Check_akafile_dot_com_links", false))
  7662. {
  7663. addFileHost(
  7664. "akafile\\.com\/\\w+",
  7665. 'download1',
  7666. 'File Not Found',
  7667. 'optional--',
  7668. 'optional2--',
  7669. "//a[contains(@href,'akafile.com/')]"
  7670. );
  7671. }
  7672. if (GM_getValue("Check_creafile_dot_net_links", false))
  7673. {
  7674. addFileHost(
  7675. "creafile\\.net\/\\w+",
  7676. 'downloadblock',
  7677. 'errtitle',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'creafile.net/')]"
  7681. );
  7682. }
  7683. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7684. {
  7685. addFileHost(
  7686. "hugefiles\\.net\/\\w+",
  7687. 'download1|class="btn-create-download" value="Create Download Link">',
  7688. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7689. 'optional--',
  7690. 'optional2--',
  7691. "//a[contains(@href,'hugefiles.net/')]"
  7692. );
  7693. }
  7694. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7695. {
  7696. addFileHost(
  7697. "sendmyway\\.com\/\\w+",
  7698. 'id="btn_download"',
  7699. '500px;text-align:left;"|<center><h3>',
  7700. 'optional--',
  7701. 'optional2--',
  7702. "//a[contains(@href,'sendmyway.com/')]"
  7703. );
  7704. }
  7705. if (GM_getValue("Check_upload_dot_ee_links", false))
  7706. {
  7707. addFileHost(
  7708. "upload\\.ee\/\\w+",
  7709. 'onmouseout="document.dllink.src',
  7710. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7711. 'optional--',
  7712. 'optional2--',
  7713. "//a[contains(@href,'upload.ee/')]"
  7714. );
  7715. }
  7716. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7717. {
  7718. addFileHost(
  7719. "shareplace\\.org\/\\?\\w+",
  7720. 'Download-Link',
  7721. 'Your requested file is not found|Select file to send',
  7722. 'optional--',
  7723. 'optional2--',
  7724. "//a[contains(@href,'shareplace.org/?')]"
  7725. );
  7726. }
  7727. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7728. {
  7729. addFileHost(
  7730. "uploadc\\.com\/\\w+",
  7731. 'id="prebut"',
  7732. 'File Not Found|This file has been removed due',
  7733. 'optional--',
  7734. 'optional2--',
  7735. "//a[contains(@href,'uploadc.com/')]"
  7736. );
  7737. }
  7738. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7739. {
  7740. addFileHost(
  7741. "remixshare\\.com\/\\w+",
  7742. 'id="dl2"',
  7743. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7744. 'optional--',
  7745. 'optional2--',
  7746. "//a[contains(@href,'remixshare.com/')]"
  7747. );
  7748. }
  7749. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7750. {
  7751. addFileHost(
  7752. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7753. 'Last Download :',
  7754. 'img src="\\/404.jpg"',
  7755. 'optional--',
  7756. 'optional2--',
  7757. "//a[contains(@href,'exoshare.com/download.php')]"
  7758. );
  7759. }
  7760. if (GM_getValue("Check_borncash_dot_org_links", false))
  7761. {
  7762. addFileHost(
  7763. "borncash\\.org\/download\/\\?a=\\w+",
  7764. 'class="knop_1"',
  7765. '\/error\/er00',
  7766. 'optional--',
  7767. 'optional2--',
  7768. "//a[contains(@href,'borncash.org/download/')]"
  7769. );
  7770. }
  7771. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7772. {
  7773. addFileHost(
  7774. "vidplay\.net\/\\w+",
  7775. 'solvemedia puzzle widget',
  7776. 'File not found|AVOID_IE_BUG',
  7777. 'optional--',
  7778. 'optional2--',
  7779. "//a[contains(@href,'vidplay.net')]");
  7780. }
  7781. if (GM_getValue("Check_storagon_dot_com_links", false))
  7782. {
  7783. addFileHost(
  7784. "storagon\.com\/\\w+",
  7785. 'class="icon-cloud-download"></i>|content="Download Options',
  7786. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7787. 'optional--',
  7788. 'optional2--',
  7789. "//a[contains(@href,'storagon.com')]");
  7790. }
  7791. if (GM_getValue("Check_filedais_dot_com_links", false))
  7792. {
  7793. addFileHost(
  7794. "filedais\.com\/\\w+",
  7795. 'class="btn btn-info"|name="method_free"',
  7796. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7797. 'optional--',
  7798. 'optional2--',
  7799. "//a[contains(@href,'filedais.com')]");
  7800. }
  7801. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7802. {
  7803. addFileHost(
  7804. "up.4share\.vn\/\\w+",
  7805. '<font size="2" face="Verdana">',
  7806. 'font: 13px Tahoma; color: Brown',
  7807. 'optional--',
  7808. 'optional2--',
  7809. "//a[contains(@href,'up.4share.vn')]");
  7810. }
  7811. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7812. {
  7813. addFileHost(
  7814. "share.vnn\.vn\/\\w+",
  7815. '"index,follow"|<div class="main" id="download-box">',
  7816. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7817. 'optional--',
  7818. 'optional2--',
  7819. "//a[contains(@href,'share.vnn.vn')]");
  7820. }
  7821. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7822. {
  7823. addFileHost(
  7824. "upfile\.vn\/\\w+",
  7825. 'download-timer',
  7826. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7827. 'optional--',
  7828. 'optional2--',
  7829. "//a[contains(@href,'upfile.vn')]");
  7830. }
  7831. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7832. {
  7833. addFileHost(
  7834. "aisfile\.com\/\\w+",
  7835. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7836. '<div style="width:500px;text-align:left;">|File Not Found',
  7837. 'optional--',
  7838. 'optional2--',
  7839. "//a[contains(@href,'aisfile.com')]");
  7840. }
  7841. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7842. {
  7843. addFileHost(
  7844. "usersfiles\.com\/\\w+",
  7845. 'class="btn btn-success|id="btn_download" class="btn"',
  7846. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7847. 'optional--',
  7848. 'optional2--',
  7849. "//a[contains(@href,'usersfiles.com')]");
  7850. }
  7851. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7852. {
  7853. addFileHost(
  7854. "pan.baidu\.com\/\\w+",
  7855. 'target="_blank" title=|share-personal-info',
  7856. 'share_notfound.png|background:#f9f9f9',
  7857. 'optional--',
  7858. 'optional2--',
  7859. "//a[contains(@href,'pan.baidu.com')]");
  7860. }
  7861. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7862. {
  7863. addFileHost(
  7864. "yunpan\.cn\/\\w+",
  7865. 'class="icon icon-download',
  7866. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'yunpan.cn')]");
  7870. }
  7871. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7872. {
  7873. addFileHost(
  7874. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7875. 'getElementById("downbild")|style.display',
  7876. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'file-upload.net')]");
  7880. }
  7881. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7882. {
  7883. addFileHost(
  7884. "gulfup\.com\/",
  7885. '<!-- Downlod template -->|download.gif',
  7886. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7887. 'optional--',
  7888. 'optional2--',
  7889. "//a[contains(@href,'gulfup.com')]");
  7890. }
  7891. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7892. {
  7893. addFileHost(
  7894. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7895. 'dldtable">',
  7896. 'does not exist\\.',
  7897. 'optional--',
  7898. 'optional2--',
  7899. "//a[contains(@href,'datafilehost.com')]");
  7900. }
  7901. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7902. {
  7903. addFileHost(
  7904. "dropbox\.com\/s\/\\w+",
  7905. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7906. '>Nothing Here<|>Error (404)<',
  7907. 'title>Dropbox - 509|Error (403)|Error: 429',
  7908. 'optional2--',
  7909. "//a[contains(@href,'dropbox.com')]");
  7910. }
  7911. if (GM_getValue("Check_box_dot_net_links", false))
  7912. {
  7913. addFileHost(
  7914. "box\.net\/\\w+",
  7915. 'download-file-btn|id="download_button',
  7916. 'BIyMin.png| <div class="error_message',
  7917. 'optional--',
  7918. 'optional2--',
  7919. "//a[contains(@href,'box.net')]");
  7920. }
  7921. if (GM_getValue("Check_fileband_dot_com_links", false))
  7922. {
  7923. addFileHost(
  7924. "fileband\.com\/\\w+",
  7925. 'value="download1">|name="id" value=',
  7926. '<div style="width:500px;text-align:left;">|not be found',
  7927. 'optional--',
  7928. 'optional2--',
  7929. "//a[contains(@href,'fileband.com')]");
  7930. }
  7931. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7932. {
  7933. addFileHost(
  7934. "filedropper\.com\/\\w+",
  7935. 'background:#ddd;|width:985px; ',
  7936. 'background-color:#FFFFFF;|margin-left: -400px;',
  7937. 'optional--',
  7938. 'optional2--',
  7939. "//a[contains(@href,'filedropper.com')]");
  7940. }
  7941. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7942. {
  7943. addFileHost(
  7944. "tropicshare\\.com\/files\/\\d+",
  7945. 'MB</span>|GB</span>|KB</span>',
  7946. '>FNF<|size: </span>',
  7947. 'optional--',
  7948. 'optional2--',
  7949. "//a[contains(@href,'tropicshare.com')]");
  7950. }
  7951. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7952. {
  7953. addFileHost(
  7954. "goldbytez\.com\/\\w+",
  7955. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7956. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7957. 'optional--',
  7958. 'optional2--',
  7959. "//a[contains(@href,'goldbytez.com')]");
  7960. }
  7961. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7962. {
  7963. addFileHost(
  7964. "worldbytez\.com\/\\w+",
  7965. '<div class="download_type">',
  7966. '<div style="width:500px;text-align:left;">',
  7967. 'optional--',
  7968. 'optional2--',
  7969. "//a[contains(@href,'worldbytez.com')]");
  7970. }
  7971. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7972. {
  7973. addFileHost(
  7974. "freefilehosting\.net\/\\w+",
  7975. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7976. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7977. 'optional--',
  7978. 'optional2--',
  7979. "//a[contains(@href,'freefilehosting.net')]");
  7980. }
  7981. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7982. {
  7983. addFileHost(
  7984. "ziddu\.com\/\\w+",
  7985. 'downloads.ziddu.com|downloadfilelinkicon',
  7986. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7987. 'optional--',
  7988. 'optional2--',
  7989. "//a[contains(@href,'ziddu.com')]");
  7990. }
  7991. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7992. {
  7993. addFileHost(
  7994. "exclusiveloader\.com\/\\w+",
  7995. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7996. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7997. 'optional--',
  7998. 'optional2--',
  7999. "//a[contains(@href,'exclusiveloader.com')]");
  8000. }
  8001. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8002. {
  8003. addFileHost(
  8004. "sharerapid\.cz\/\\w+",
  8005. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8006. 'error_div">|404 - Not Found',
  8007. 'optional--',
  8008. 'optional2--',
  8009. "//a[contains(@href,'sharerapid.cz')]");
  8010. }
  8011. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8012. {
  8013. addFileHost(
  8014. "sdilej\.cz\/\\w+",
  8015. 'class="page-download"',
  8016. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8017. 'optional--',
  8018. 'optional2--',
  8019. "//a[contains(@href,'sdilej.cz')]");
  8020. }
  8021. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8022. {
  8023. addFileHost(
  8024. "lafiles\.com\/\\w+",
  8025. '<div id="pay_modes">',
  8026. '<b class="err"></b>',
  8027. 'optional--',
  8028. 'optional2--',
  8029. "//a[contains(@href,'lafiles.com')]");
  8030. }
  8031. if (GM_getValue("Check_acefile_dot_net_links", false))
  8032. {
  8033. addFileHost(
  8034. "acefile\.net\/\\w+",
  8035. 'align=right nowrap><b>',
  8036. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8037. 'optional--',
  8038. 'optional2--',
  8039. "//a[contains(@href,'acefile.net')]");
  8040. }
  8041. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8042. {
  8043. addFileHost(
  8044. "megarapid\.cz\/\\w+",
  8045. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8046. 'error_div">|404 - Not Found',
  8047. 'optional--',
  8048. 'optional2--',
  8049. "//a[contains(@href,'megarapid.cz')]");
  8050. }
  8051. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8052. {
  8053. addFileHost(
  8054. "yadi\.sk\/\\w+",
  8055. 'nb-button _nb-small-button',
  8056. 'error code|Nothing found',
  8057. 'optional--',
  8058. 'optional2--',
  8059. "//a[contains(@href,'yadi.sk')]");
  8060. }
  8061. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8062. {
  8063. addFileHost(
  8064. "imdb\.com\/\\w+",
  8065. 'imdb.com',
  8066. '404 Error',
  8067. 'optional--',
  8068. 'optional2--',
  8069. "//a[contains(@href,'imdb.com')]");
  8070. } */
  8071. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8072. {
  8073. addFileHost(
  8074. "hitfile\.net\/\\w+",
  8075. 'class="download-file',
  8076. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8077. 'optional--',
  8078. 'optional2--',
  8079. "//a[contains(@href,'hitfile.net')]");
  8080. }
  8081. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8082. {
  8083. addFileHost(
  8084. "nitroflare\.com\/\\w+",
  8085. 'Report this file</a>|KB</span>',
  8086. 'file has been removed|id="error" style="display|Probably deleted',
  8087. 'optional--',
  8088. 'left;">1.1|left;">1.2|left;">1.3|left;">1.4|left;">1.5|left;">1.6|left;">1.7|left;">1.8|left;">1.9|left;">4.19',
  8089. "//a[contains(@href,'nitroflare.com')]");
  8090. }
  8091. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8092. {
  8093. addFileHost(
  8094. "up.top4top\.net\/\\w+",
  8095. 'start Downlod template',
  8096. 'start err template',
  8097. 'optional--',
  8098. 'optional2--',
  8099. "//a[contains(@href,'up.top4top.net')]");
  8100. }
  8101. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8102. {
  8103. addFileHost(
  8104. "filejoker\.net\/\\w+",
  8105. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8106. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8107. 'optional--',
  8108. 'id="download" class="premium-only">',
  8109. "//a[contains(@href,'filejoker.net')]");
  8110. }
  8111. if (GM_getValue("Check_free_dot_fr_links", false))
  8112. {
  8113. addFileHost(
  8114. "(?:dl.\\.|)free\\.fr",
  8115. 'Valider et t&eacute;l&eacute',
  8116. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8117. 'optional--',
  8118. 'optional2--',
  8119. "//a[contains(@href,'dl.free.fr')]");
  8120. }
  8121. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8122. {
  8123. addFileHost(
  8124. "gboxes\.com\/\\w+",
  8125. 'You have requested|color="red">http://www.gboxes.com',
  8126. 'File Not Found|<div style="width:500px;text-align:left;">',
  8127. 'optional--',
  8128. 'optional2--',
  8129. "//a[contains(@href,'gboxes.com')]");
  8130. }
  8131. if (GM_getValue("Check_led_dot_wf_links", false))
  8132. {
  8133. addFileHost(
  8134. "led\.wf\/\\w+",
  8135. 'logo_0.png|downloads.gif"|verifycode',
  8136. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8137. 'optional--',
  8138. 'available only for Premium users',
  8139. "//a[contains(@href,'led.wf')]");
  8140. }
  8141. if (GM_getValue("Check_lan_dot_wf_links", false))
  8142. {
  8143. addFileHost(
  8144. "lan\.wf\/\\w+",
  8145. 'logo_0.png|downloads.gif"|verifycode',
  8146. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8147. 'optional--',
  8148. 'available only for Premium users',
  8149. "//a[contains(@href,'lan.wf')]");
  8150. }
  8151. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8152. {
  8153. addFileHost(
  8154. "adlink\.wf\/\\w+",
  8155. 'logo_0.png|downloads.gif"|verifycode',
  8156. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8157. 'optional--',
  8158. 'available only for Premium users',
  8159. "//a[contains(@href,'adlink.wf')]");
  8160. }
  8161. if (GM_getValue("Check_click_dot_tf_links", false))
  8162. {
  8163. addFileHost(
  8164. "click\.tf\/\\w+",
  8165. 'logo_0.png|downloads.gif"|verifycode',
  8166. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8167. 'optional--',
  8168. 'available only for Premium users',
  8169. "//a[contains(@href,'click.tf')]");
  8170. }
  8171. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8172. {
  8173. addFileHost(
  8174. "ssh\.tf\/\\w+",
  8175. 'logo_0.png|downloads.gif"|verifycode',
  8176. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8177. 'optional--',
  8178. 'available only for Premium users',
  8179. "//a[contains(@href,'ssh.tf')]");
  8180. }
  8181. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8182. {
  8183. addFileHost(
  8184. "ssh\.yt\/\\w+",
  8185. 'logo_0.png|downloads.gif"|verifycode',
  8186. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8187. 'optional--',
  8188. 'available only for Premium users',
  8189. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8190. }
  8191. if (GM_getValue("Check_yep_dot_pm_links", false))
  8192. {
  8193. addFileHost(
  8194. "yep\.pm\/\\w+",
  8195. 'logo_0.png|downloads.gif"|verifycode',
  8196. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8197. 'optional--',
  8198. 'available only for Premium users',
  8199. "//a[contains(@href,'yep.pm')]");
  8200. }
  8201. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8202. {
  8203. addFileHost(
  8204. "kyc\.pm\/\\w+",
  8205. 'logo_0.png|downloads.gif"|verifycode',
  8206. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8207. 'optional--',
  8208. 'available only for Premium users',
  8209. "//a[contains(@href,'kyc.pm')]");
  8210. }
  8211. if (GM_getValue("Check_brupload_dot_net_links", false))
  8212. {
  8213. addFileHost(
  8214. "brupload\.net\/\\w+",
  8215. 'Download Gratuito',
  8216. '<div style="width:500px;text-align:left;">',
  8217. 'optional--',
  8218. 'optional2--',
  8219. "//a[contains(@href,'brupload.net')]");
  8220. }
  8221. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8222. {
  8223. addFileHost(
  8224. "cloudzilla\.to\/\\w+",
  8225. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8226. 'File not found|/imgs/broken.png',
  8227. 'optional--',
  8228. 'optional2--',
  8229. "//a[contains(@href,'cloudzilla.to')]");
  8230. }
  8231. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8232. {
  8233. addFileHost(
  8234. "fileparadox\.in\/\\w+",
  8235. 'CONTENT="Download File|method_free_file',
  8236. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8237. 'optional--',
  8238. 'optional2--',
  8239. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8240. } */
  8241. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8242. {
  8243. addFileHost(
  8244. "clicknupload\.com\/\\w+",
  8245. 'name="method_free',
  8246. 'File Not Found',
  8247. 'optional--',
  8248. 'optional2--',
  8249. "//a[contains(@href,'clicknupload.com')]");
  8250. }
  8251. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8252. {
  8253. addFileHost(
  8254. "clicknupload\.me\/\\w+",
  8255. 'name="method_free',
  8256. 'File Not Found',
  8257. 'optional--',
  8258. 'optional2--',
  8259. "//a[contains(@href,'clicknupload.me')]");
  8260. }
  8261. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8262. {
  8263. addFileHost(
  8264. "clicknupload\.link\/\\w+",
  8265. 'name="method_free',
  8266. 'File Not Found',
  8267. 'optional--',
  8268. 'optional2--',
  8269. "//a[contains(@href,'clicknupload.link')]");
  8270. }
  8271. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8272. {
  8273. addFileHost(
  8274. "ex-load\.com\/\\w+",
  8275. 'name="method_free|<p>Download File:</p>',
  8276. 'Folder Not Found|File Not Found|Error 404',
  8277. 'optional--',
  8278. 'class="downprem wow bounceInLeft',
  8279. "//a[contains(@href,'ex-load.com')]");
  8280. }
  8281. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8282. {
  8283. addFileHost(
  8284. "hexupload\.com\/\\w+",
  8285. 'button" value="Free|type="submit" value=""',
  8286. 'File Not Found|<div style="width:500px;text-align:left;">',
  8287. 'optional--',
  8288. 'optional2--',
  8289. "//a[contains(@href,'hexupload.com')]");
  8290. }
  8291. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8292. {
  8293. addFileHost(
  8294. "wizupload\.com\/\\w+",
  8295. 'btn_download|class="downloadbtn"',
  8296. '>File Not Found<',
  8297. 'optional--',
  8298. 'optional2--',
  8299. "//a[contains(@href,'wizupload.com')]");
  8300. }
  8301. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8302. {
  8303. addFileHost(
  8304. "filecloud\.cc\/\\w+",
  8305. 'align="center"><input type="submit" name=',
  8306. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8307. 'optional--',
  8308. 'optional2--',
  8309. "//a[contains(@href,'filecloud.cc')]");
  8310. }
  8311. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8312. {
  8313. addFileHost(
  8314. "inclouddrive\.com\/\\w+",
  8315. 'initfreedownload',
  8316. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8317. 'optional--',
  8318. 'optional2--',
  8319. "//a[contains(@href,'inclouddrive.com')]");
  8320. }
  8321. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8322. {
  8323. addFileHost(
  8324. "radicalshare\.com\/\\w+",
  8325. 'value="download1|name="method_free"',
  8326. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8327. 'optional--',
  8328. 'optional2--',
  8329. "//a[contains(@href,'radicalshare.com')]");
  8330. }
  8331. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8332. {
  8333. addFileHost(
  8334. "sharemods\.com\/\\w+",
  8335. 'name="method_free"',
  8336. 'File Not Found<',
  8337. 'optional--',
  8338. 'optional2--',
  8339. "//a[contains(@href,'sharemods.com')]");
  8340. }
  8341. if (GM_getValue("Check_hostr_dot_co_links", false))
  8342. {
  8343. addFileHost(
  8344. "hostr\.co\/\\w+",
  8345. 'method="get"',
  8346. 'File not found<|error-page',
  8347. 'optional--',
  8348. 'optional2--',
  8349. "//a[contains(@href,'hostr.co')]");
  8350. }
  8351. if (GM_getValue("Check_filepi_dot_com_links", false))
  8352. {
  8353. addFileHost(
  8354. "filepi\.com\/\\w+",
  8355. 'id="button_start">',
  8356. 'File not found',
  8357. 'optional--',
  8358. 'optional2--',
  8359. "//a[contains(@href,'filepi.com')]");
  8360. }
  8361. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8362. {
  8363. addFileHost(
  8364. "tikfile\.com\/\\w+",
  8365. 'btn_download',
  8366. 'File Not Found|file was removed|Reason for deletion',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'tikfile.com')]");
  8370. }
  8371. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8372. {
  8373. addFileHost(
  8374. "cloudsix\.me\/\\w+",
  8375. 'name="method_free"',
  8376. 'File Not Found|width:500px;text-align:left;">',
  8377. 'optional--',
  8378. 'optional2--',
  8379. "//a[contains(@href,'cloudsix.me')]");
  8380. }
  8381. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8382. {
  8383. addFileHost(
  8384. "neodrive\.co\/\\w+",
  8385. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8386. 'File not found|/imgs/broken.png',
  8387. 'optional--',
  8388. 'optional2--',
  8389. "//a[contains(@href,'neodrive.co')]");
  8390. }
  8391. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8392. {
  8393. addFileHost(
  8394. "chayfile\.com\/\\w+",
  8395. 'name="method_free"',
  8396. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8397. 'optional--',
  8398. 'optional2--',
  8399. "//a[contains(@href,'chayfile.com')]");
  8400. }
  8401. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8402. {
  8403. addFileHost(
  8404. "xfileload\.com\/\\w+",
  8405. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8406. '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..|הקובץ שחיפשת לא נמצא.',
  8407. 'optional--',
  8408. 'optional2--',
  8409. "//a[contains(@href,'xfileload.com')]");
  8410. }
  8411. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8412. {
  8413. addFileHost(
  8414. "rockfile\.eu\/\\w+",
  8415. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8416. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8417. 'optional--',
  8418. 'optional2--',
  8419. "//a[contains(@href,'rockfile.eu')]");
  8420. }
  8421. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8422. {
  8423. addFileHost(
  8424. "24uploading\.com\/\\w+",
  8425. 'File:|Download Speed:',
  8426. '<b>File Not Found</b>|file was removed',
  8427. 'optional--',
  8428. 'optional2--',
  8429. "//a[contains(@href,'24uploading.com')]");
  8430. }
  8431. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8432. {
  8433. addFileHost(
  8434. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8435. 'i/icon/dll.png"|>Start download<br',
  8436. 'no longer available<|i/ino.png"',
  8437. 'optional--',
  8438. 'optional2--',
  8439. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8440. }
  8441. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8442. {
  8443. addFileHost(
  8444. "jumbofile\.net\/\\w+",
  8445. 'button" class="" value="Free',
  8446. 'This File Was Deleted',
  8447. 'optional--',
  8448. 'optional2--',
  8449. "//a[contains(@href,'jumbofile.net')]");
  8450. } */
  8451. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8452. {
  8453. addFileHost(
  8454. "ozofiles\.com\/\\w+",
  8455. 'button" value="Free|name="method_free',
  8456. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8457. 'optional--',
  8458. 'optional2--',
  8459. "//a[contains(@href,'ozofiles.com')]");
  8460. }
  8461. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8462. {
  8463. addFileHost(
  8464. "loudupload\.net\/\\w+",
  8465. 'value="Get Links',
  8466. 'File Not Found',
  8467. 'optional--',
  8468. 'optional2--',
  8469. "//a[contains(@href,'loudupload.net')]");
  8470. }
  8471. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8475. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8476. '>File Not Found<|id="no_filedownload">|>FILE NOT FOUND<|file has been deleted|No such file with this filename|style="font-size:24px;color:#E70012">',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8480. }
  8481. if (GM_getValue("Check_krotix_dot_net_links", false))
  8482. {
  8483. addFileHost(
  8484. "krotix\.net\/\\w+",
  8485. 'btn btn-warning|btn-free',
  8486. 'pageErrors|This File has been removed',
  8487. 'content="Scheduled Maintenance',
  8488. 'optional2--',
  8489. "//a[contains(@href,'krotix.net')]");
  8490. } */
  8491. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8492. {
  8493. addFileHost(
  8494. "userscloud\.com\/\\w+",
  8495. 'btn_download|class="label label-success">',
  8496. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8497. 'optional--',
  8498. 'optional2--',
  8499. "//a[contains(@href,'userscloud.com')]");
  8500. }
  8501. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8502. {
  8503. addFileHost(
  8504. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8505. 'class="button download',
  8506. 'internal server error',
  8507. 'optional--',
  8508. 'optional2--',
  8509. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8510. }
  8511. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8512. {
  8513. addFileHost(
  8514. "kb.simple-aja\.info\/\\w+",
  8515. 'class="button download',
  8516. 'internal server error|<p>404</p>',
  8517. 'optional--',
  8518. 'optional2--',
  8519. "//a[contains(@href,'kb.simple')]");
  8520. }
  8521. if (GM_getValue("Check_faststore_dot_org_links", false))
  8522. {
  8523. addFileHost(
  8524. "faststore\.org\/\\w+",
  8525. 'name="method_free',
  8526. 'File Not Found',
  8527. 'optional--',
  8528. 'optional2--',
  8529. "//a[contains(@href,'faststore.org')]");
  8530. }
  8531. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8532. {
  8533. addFileHost(
  8534. "prefiles\.com\/\\w+",
  8535. 'id="method_free',
  8536. 'File not Found',
  8537. 'optional--',
  8538. 'optional2--',
  8539. "//a[contains(@href,'prefiles.com')]");
  8540. }
  8541. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8542. {
  8543. addFileHost(
  8544. "doraupload\.com\/\\w+",
  8545. 'btn_download|name="method_free',
  8546. 'class="error-code|Could Not Be Found',
  8547. 'optional--',
  8548. 'optional2--',
  8549. "//a[contains(@href,'doraupload.com')]");
  8550. }
  8551. if (GM_getValue("Check_openload_dot_io_links", false))
  8552. {
  8553. addFileHost(
  8554. "openload\.io\/\\w+",
  8555. 'btn btn-primary|class="count">|secondsleftouter',
  8556. 'class="jumbotron">|We are sorry',
  8557. 'optional--',
  8558. 'optional2--',
  8559. "//a[contains(@href,'openload.io')]");
  8560. }
  8561. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8562. {
  8563. addFileHost(
  8564. "uploads\.xxx\/\\w+",
  8565. 'downoadForFree',
  8566. 'File not found',
  8567. 'optional--',
  8568. 'optional2--',
  8569. "//a[contains(@href,'uploads.xxx')]");
  8570. }
  8571. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8572. {
  8573. addFileHost(
  8574. "zxcfiles\.com\/\\w+",
  8575. 'class="downloadbtn',
  8576. 'File Not Found',
  8577. 'optional--',
  8578. 'optional2--',
  8579. "//a[contains(@href,'zxcfiles.com')]");
  8580. }
  8581. if (GM_getValue("Check_up07_dot_net_links", false))
  8582. {
  8583. addFileHost(
  8584. "up07\.net\/\\w+",
  8585. 'name="method_free',
  8586. 'File Not Found',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'up07.net')]");
  8590. }
  8591. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8592. {
  8593. addFileHost(
  8594. "fileupload\.pw\/\\w+",
  8595. 'value="Free"',
  8596. 'File Not Found',
  8597. 'optional--',
  8598. 'optional2--',
  8599. "//a[contains(@href,'fileupload.pw')]");
  8600. }
  8601. if (GM_getValue("Check_4upld_dot_com_links", false))
  8602. {
  8603. addFileHost(
  8604. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8605. 'alt="Download Now"|content="Download file">|btn-free-element',
  8606. '<title>Error|content="error|File not found',
  8607. 'optional--',
  8608. 'optional2--',
  8609. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8610. }
  8611. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8612. {
  8613. addFileHost(
  8614. "newfileland\.com\/\\w+",
  8615. 'name="method_free',
  8616. 'File Not Found',
  8617. 'optional--',
  8618. 'optional2--',
  8619. "//a[contains(@href,'newfileland.com')]");
  8620. } */
  8621. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8622. {
  8623. addFileHost(
  8624. "(?:.swoopshare)\\.com\/\\w+",
  8625. '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',
  8626. '<input type="file" name="f"',
  8627. 'optional--',
  8628. 'optional2--',
  8629. "//a[contains(@href,'swoopshare.com')]"
  8630. );
  8631. }
  8632. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8633. {
  8634. addFileHost(
  8635. "cloudshares\.net\/\\w+",
  8636. '"method_free|"Low Speed Download|submit" name="go',
  8637. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8638. 'optional--',
  8639. 'optional2--',
  8640. "//a[contains(@href,'cloudshares.net')]"
  8641. );
  8642. }
  8643. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8644. {
  8645. addFileHost(
  8646. "allmyvideos\.net\/\\w+",
  8647. 'Continue to Video',
  8648. 'File Not Found|class="err">Removed for',
  8649. 'optional--',
  8650. 'optional2--',
  8651. "//a[contains(@href,'allmyvideos.net')]"
  8652. );
  8653. }
  8654. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8655. {
  8656. addFileHost(
  8657. "vodlocker\.com\/\\w+",
  8658. 'Proceed to video',
  8659. 'Not Found',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'vodlocker.com')]"
  8663. );
  8664. }
  8665. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8666. {
  8667. addFileHost(
  8668. "vidbull\.com\/\\w+",
  8669. 'Verifying Video Request',
  8670. 'File Not Found',
  8671. 'optional--',
  8672. 'optional2--',
  8673. "//a[contains(@href,'vidbull.com')]");
  8674. }
  8675. if (GM_getValue("Check_novamov_dot_com_links", false))
  8676. {
  8677. addFileHost(
  8678. "novamov\.com\/\\w+",
  8679. 'For version detection',
  8680. 'file no longer exists',
  8681. 'optional--',
  8682. 'optional2--',
  8683. "//a[contains(@href,'novamov.com')]"
  8684. );
  8685. }
  8686. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8687. {
  8688. addFileHost(
  8689. "filehoot\.com\/\\w+",
  8690. 'Continue to watch',
  8691. 'File Not Found',
  8692. 'optional--',
  8693. 'optional2--',
  8694. "//a[contains(@href,'filehoot.com')]"
  8695. );
  8696. }
  8697. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8698. {
  8699. addFileHost(
  8700. "stagevu\.com\/\\w+",
  8701. 'Video Info',
  8702. 'No video with the provided',
  8703. 'optional--',
  8704. 'optional2--',
  8705. "//a[contains(@href,'stagevu.com')]"
  8706. );
  8707. }
  8708. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8709. {
  8710. addFileHost(
  8711. "cloudtime\.to\/\\w+",
  8712. 'Download the video',
  8713. 'no longer exists',
  8714. 'optional--',
  8715. 'optional2--',
  8716. "//a[contains(@href,'cloudtime.to')]"
  8717. );
  8718. }
  8719. if (GM_getValue("Check_streamin_dot_to_links", false))
  8720. {
  8721. addFileHost(
  8722. "streamin\.to\/\\w+",
  8723. 'id="btn_download',
  8724. 'Not Found|Copyright Infringement|File Deleted',
  8725. 'optional--',
  8726. 'optional2--',
  8727. "//a[contains(@href,'streamin.to')]"
  8728. );
  8729. }
  8730. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8731. {
  8732. addFileHost(
  8733. "videoweed\.es\/\\w+",
  8734. 'version detection',
  8735. 'no longer exists',
  8736. 'optional--',
  8737. 'optional2--',
  8738. "//a[contains(@href,'videoweed.es')]"
  8739. );
  8740. }
  8741. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8742. {
  8743. addFileHost(
  8744. "nowvideo\.sx\/\\w+",
  8745. 'Download this video|value="submit">Continue',
  8746. 'no longer exists',
  8747. 'optional--',
  8748. 'optional2--',
  8749. "//a[contains(@href,'nowvideo.sx')]"
  8750. );
  8751. }
  8752. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8753. {
  8754. addFileHost(
  8755. "thevideo\.me\/\\w+",
  8756. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8757. 'File Not Found',
  8758. 'optional--',
  8759. 'optional2--',
  8760. "//a[contains(@href,'thevideo.me')]"
  8761. );
  8762. }
  8763. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8764. {
  8765. addFileHost(
  8766. "gorillavid\.in\/\\w+",
  8767. 'Wait 5 seconds',
  8768. 'File Not Found',
  8769. 'optional--',
  8770. 'optional2--',
  8771. "//a[contains(@href,'gorillavid.in')]"
  8772. );
  8773. }
  8774. if (GM_getValue("Check_thefile_dot_me_links", false))
  8775. {
  8776. addFileHost(
  8777. "thefile\.me\/\\w+",
  8778. 'Choose free or',
  8779. '',
  8780. 'optional--',
  8781. 'optional2--',
  8782. "//a[contains(@href,'thefile.me')]"
  8783. );
  8784. }
  8785. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8786. {
  8787. addFileHost(
  8788. "vidzi\.tv\/\\w+",
  8789. 'video-embed-modal row',
  8790. 'File Not Found|file was deleted',
  8791. 'optional--',
  8792. 'optional2--',
  8793. "//a[contains(@href,'vidzi.tv')]"
  8794. );
  8795. }
  8796. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8797. {
  8798. addFileHost(
  8799. "filenuke\.com\/\\w+",
  8800. 'Download File',
  8801. 'Earn with us',
  8802. 'optional--',
  8803. 'optional2--',
  8804. "//a[contains(@href,'filenuke.com')]"
  8805. );
  8806. }
  8807. if (GM_getValue("Check_vidto_dot_me_links", false))
  8808. {
  8809. addFileHost(
  8810. "vidto\.me\/\\w+",
  8811. 'Proceed to video',
  8812. 'Not Found',
  8813. 'optional--',
  8814. 'optional2--',
  8815. "//a[contains(@href,'vidto.me')]"
  8816. );
  8817. }
  8818. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8819. {
  8820. addFileHost(
  8821. "vidspot\.net\/\\w+",
  8822. 'Duration',
  8823. 'Removed for',
  8824. 'optional--',
  8825. 'optional2--',
  8826. "//a[contains(@href,'vidspot.net')]"
  8827. );
  8828. }
  8829. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8830. {
  8831. addFileHost(
  8832. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8833. 'Download File',
  8834. 'File Not Found',
  8835. 'optional--',
  8836. 'optional2--',
  8837. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8838. );
  8839. }
  8840. if (GM_getValue("Check_movpod_dot_in_links", false))
  8841. {
  8842. addFileHost(
  8843. "movpod\.in\/\\w+",
  8844. 'Continue',
  8845. 'File Not Found',
  8846. 'optional--',
  8847. 'optional2--',
  8848. "//a[contains(@href,'movpod.in')]"
  8849. );
  8850. }
  8851. if (GM_getValue("Check_down4files_dot_com_links", false))
  8852. {
  8853. addFileHost(
  8854. "down4files\.com\/\\w+",
  8855. 'down_table.png',
  8856. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8857. 'optional--',
  8858. 'optional2--',
  8859. "//a[contains(@href,'down4files.com')]"
  8860. );
  8861. }
  8862. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8863. {
  8864. addFileHost(
  8865. "storefiles\.co\/\\w+",
  8866. 'btn_download',
  8867. 'No such file|>Error<|mqmaintitle">',
  8868. 'optional--',
  8869. 'optional2--',
  8870. "//a[contains(@href,'storefiles.co')]"
  8871. );
  8872. }
  8873. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8874. {
  8875. addFileHost(
  8876. "filehost\.pw\/\\w+",
  8877. 'name="method_free',
  8878. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8879. 'optional--',
  8880. 'optional2--',
  8881. "//a[contains(@href,'filehost.pw')]"
  8882. );
  8883. }
  8884. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8885. {
  8886. addFileHost(
  8887. "inafile\.com\/\\w+",
  8888. 'value="download1">|<h2>File: <font style="color:darkred">',
  8889. '<div style="width:500px;text-align:left;">|File Not Found',
  8890. 'optional--',
  8891. 'optional2--',
  8892. "//a[contains(@href,'inafile.com')]"
  8893. );
  8894. } */
  8895. if (GM_getValue("Check_uplea_dot_com_links", false))
  8896. {
  8897. addFileHost(
  8898. "uplea\.com\/\\w+",
  8899. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8900. 'expired link|ou est invalide',
  8901. 'optional--',
  8902. 'optional2--',
  8903. "//a[contains(@href,'uplea.com/dl')]",
  8904. true);
  8905. }
  8906. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8907. {
  8908. addFileHost(
  8909. "toutbox\.fr\/\\w+",
  8910. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8911. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8912. 'Serviço temporariamente indisponível',
  8913. 'optional2--',
  8914. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8915. );
  8916. }
  8917. if (GM_getValue("Check_openload_dot_co_links", false))
  8918. {
  8919. addFileHost(
  8920. "openload\.co\/\\w+",
  8921. 'id="downloadTimer">|button dlbutton',
  8922. 'jumbotron{color|got deleted|center !important',
  8923. 'optional--',
  8924. 'optional2--',
  8925. "//a[contains(@href,'openload.co')]"
  8926. );
  8927. }
  8928. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8929. {
  8930. addFileHost(
  8931. "lolabits\.es\/\\w+",
  8932. 'Descargar:',
  8933. '<title>Archivos de usuario',
  8934. 'Service Unavailable',
  8935. 'optional2--',
  8936. "//a[contains(@href,'lolabits.es')]"
  8937. );
  8938. }
  8939. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8940. {
  8941. addFileHost(
  8942. "alfafile\.net\/\\w+",
  8943. 'id="slow_download_btn',
  8944. 'class="error-box">',
  8945. 'optional--',
  8946. 'optional2--',
  8947. "//a[contains(@href,'alfafile.net')]"
  8948. );
  8949. }
  8950. if (GM_getValue("Check_multiup_dot_org_links", false))
  8951. {
  8952. addFileHost(
  8953. "multiup\.org\/\\w+",
  8954. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8955. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8956. 'optional--',
  8957. 'optional2--',
  8958. "//a[contains(@href,'multiup.org')]"
  8959. );
  8960. }
  8961. if (GM_getValue("Check_file_dot_al_links", false))
  8962. {
  8963. addFileHost(
  8964. "file\.al\/\\w+",
  8965. 'method_free',
  8966. 'style="width:500px;text-align:left;">',
  8967. 'optional--',
  8968. 'optional2--',
  8969. "//a[contains(@href,'file.al')]"
  8970. );
  8971. }
  8972. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8973. {
  8974. addFileHost(
  8975. "devilshare\.net\/\\w+",
  8976. '<div class="large-12" id="download">',
  8977. '(Link: 0 Invalid)|File Not Found',
  8978. 'optional--',
  8979. 'optional2--',
  8980. "//a[contains(@href,'devilshare.net')]"
  8981. );
  8982. }
  8983. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8984. {
  8985. addFileHost(
  8986. "dailyuploads\.net\/\\w+",
  8987. 'id="downloadBtnClickOrignal',
  8988. '<div style="width:500px;text-align:left;">',
  8989. 'optional--',
  8990. 'optional2--',
  8991. "//a[contains(@href,'dailyuploads.net')]"
  8992. );
  8993. }
  8994. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8995. {
  8996. addFileHost(
  8997. "datoteke\.com\/\\w+",
  8998. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8999. '&nbsp;File has been removed',
  9000. 'optional--',
  9001. '<title>Error - Datoteke',
  9002. "//a[contains(@href,'datoteke.com')]"
  9003. );
  9004. }
  9005. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9006. {
  9007. addFileHost(
  9008. "tezfiles\.com\/\\w+",
  9009. 'virtual/low-speed-download',
  9010. 'class="alert alert-block|file is no longer available',
  9011. 'optional--',
  9012. 'This file is available<br>only for premium members',
  9013. "//a[contains(@href,'tezfiles.com')]"
  9014. );
  9015. } */
  9016. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9017. {
  9018. addFileHost(
  9019. "sharehost\.eu\/\\w+",
  9020. '/?v=download_free&',
  9021. 'Errors occured|Wystąpiły błędy',
  9022. 'optional--',
  9023. 'optional2--',
  9024. "//a[contains(@href,'sharehost.eu')]"
  9025. );
  9026. }
  9027. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9028. {
  9029. addFileHost(
  9030. "pornfile\.cz\/\\w+",
  9031. 'Stáhnout soubor',
  9032. 'Soubor byl smazán',
  9033. 'optional--',
  9034. 'optional2--',
  9035. "//a[contains(@href,'pornfile.cz')]"
  9036. );
  9037. }
  9038. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9039. {
  9040. addFileHost(
  9041. "pornoid\.cz\/\\w+",
  9042. 'class="btn btn-large btn-download',
  9043. 'Soubor byl smazán',
  9044. 'optional--',
  9045. 'optional2--',
  9046. "//a[contains(@href,'pornoid.cz')]"
  9047. );
  9048. }
  9049. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9050. {
  9051. addFileHost(
  9052. "file-share\.top\/\\w+",
  9053. 'btn-success btn-lg download',
  9054. 'Stránka neexistuje|404 Not Found',
  9055. 'optional--',
  9056. 'optional2--',
  9057. "//a[contains(@href,'file-share.top')]"
  9058. );
  9059. }
  9060. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9061. {
  9062. addFileHost(
  9063. "bitster\.cz\/\\w+",
  9064. 'section" content="VIDEO"',
  9065. 'section" content=""',
  9066. 'optional--',
  9067. 'optional2--',
  9068. "//a[contains(@href,'bitster.cz')]"
  9069. );
  9070. }
  9071. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9072. {
  9073. addFileHost(
  9074. "rapidu\.net\/\\w+",
  9075. 'onclick="downloadFreeFile',
  9076. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9077. 'optional--',
  9078. 'optional2--',
  9079. "//a[contains(@href,'rapidu.net')]"
  9080. );
  9081. }
  9082. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9083. {
  9084. addFileHost(
  9085. "dinoshare\.cz\/\\w+",
  9086. 'class="download-button"',
  9087. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9088. 'optional--',
  9089. 'optional2--',
  9090. "//a[contains(@href,'dinoshare.cz')]"
  9091. );
  9092. }
  9093. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9094. {
  9095. addFileHost(
  9096. "bytewhale\.com\/\\w+",
  9097. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9098. 'var rawest = "0 MB',
  9099. 'optional--',
  9100. 'optional--',
  9101. "//a[contains(@href,'bytewhale.com')]"
  9102. );
  9103. }
  9104. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9105. {
  9106. addFileHost(
  9107. "rapidrar\.com\/\\w+",
  9108. 'value="Free Download',
  9109. '<div style="width:500px;text-align:left;">',
  9110. 'optional--',
  9111. 'optional--',
  9112. "//a[contains(@href,'rapidrar.com')]"
  9113. );
  9114. }
  9115. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9116. {
  9117. addFileHost(
  9118. "gigasize\.com\/\\w+",
  9119. 'class="estimate">',
  9120. 'class="error">',
  9121. 'optional--',
  9122. 'optional--',
  9123. "//a[contains(@href,'gigasize.com')]"
  9124. );
  9125. }
  9126. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9127. {
  9128. addFileHost(
  9129. "filesupload\.org\/\\w+",
  9130. '<a href="/download-or-watch/',
  9131. 'File not found',
  9132. 'optional--',
  9133. 'optional--',
  9134. "//a[contains(@href,'filesupload.org')]"
  9135. );
  9136. }
  9137. if (GM_getValue("Check_filecad_dot_com_links", false))
  9138. {
  9139. addFileHost(
  9140. "filecad\.com\/\\w+",
  9141. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9142. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9143. 'optional--',
  9144. 'optional--',
  9145. "//a[contains(@href,'filecad.com')]"
  9146. );
  9147. }
  9148. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9149. {
  9150. addFileHost(
  9151. "file.up09\.com\/\\w+",
  9152. 'name="method_free',
  9153. 'style="width:500px;text-align:left;">',
  9154. 'optional--',
  9155. 'optional--',
  9156. "//a[contains(@href,'file.up09.com')]"
  9157. );
  9158. }
  9159. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9160. {
  9161. addFileHost(
  9162. "lunaticfiles\.com\/\\w+",
  9163. 'name="method_free"',
  9164. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9165. 'optional--',
  9166. 'optional--',
  9167. "//a[contains(@href,'lunaticfiles.com')]"
  9168. );
  9169. }
  9170. if (GM_getValue("Check_upload_dot_af_links", false))
  9171. {
  9172. addFileHost(
  9173. "upload\.af\/\\w+",
  9174. 'id="method_free"',
  9175. '<h1>File Not Found</',
  9176. 'optional--',
  9177. 'optional--',
  9178. "//a[contains(@href,'upload.af')]"
  9179. );
  9180. }
  9181. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9182. {
  9183. addFileHost(
  9184. "filedwon\.info\/\\w+",
  9185. 'name="method_free"',
  9186. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9187. 'optional--',
  9188. 'optional--',
  9189. "//a[contains(@href,'filedwon.info')]"
  9190. );
  9191. }
  9192. if (GM_getValue("Check_uplod_dot_it_links", false))
  9193. {
  9194. addFileHost(
  9195. "uplod\.it\/\\w+",
  9196. 'value="download2">|name="method_free',
  9197. '<Title>Download </Title>',
  9198. 'optional--',
  9199. 'optional--',
  9200. "//a[contains(@href,'uplod.it')]"
  9201. );
  9202. }
  9203. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9204. {
  9205. addFileHost(
  9206. "abelhas\.pt\/\\w+",
  9207. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9208. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9209. 'optional--',
  9210. 'optional--',
  9211. "//a[contains(@href,'abelhas.pt')]"
  9212. );
  9213. }
  9214. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9215. {
  9216. addFileHost(
  9217. "disk.yandex\.com\/\\w+",
  9218. 'nb-button _nb-small-button',
  9219. 'error code|Nothing found',
  9220. 'optional--',
  9221. 'optional2--',
  9222. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9223. }
  9224. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9225. {
  9226. addFileHost(
  9227. "k2s\.cc\/\\w+",
  9228. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9229. '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',
  9230. 'method="post">Displaying',
  9231. 'optional2--',
  9232. "//a[contains(@href,'k2s.cc')]");
  9233. }
  9234. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9235. {
  9236. addFileHost(
  9237. "keep2s\.cc\/\\w+",
  9238. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9239. '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',
  9240. 'method="post">Displaying',
  9241. 'optional2--',
  9242. "//a[contains(@href,'keep2s.cc')]");
  9243. }
  9244. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9245. {
  9246. addFileHost(
  9247. "keep2share\.cc\/\\w+",
  9248. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9249. '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',
  9250. 'method="post">Displaying',
  9251. 'optional2--',
  9252. "//a[contains(@href,'keep2share.cc')]");
  9253. }
  9254. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9255. {
  9256. addFileHost(
  9257. "keep2share\.com\/\\w+",
  9258. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9259. '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',
  9260. 'method="post">Displaying',
  9261. 'optional2--',
  9262. "//a[contains(@href,'keep2share.com')]");
  9263. } */
  9264. if (GM_getValue("Check_filespace_dot_com_links", false))
  9265. {
  9266. addFileHost(
  9267. "filespace\.com\/\\w+",
  9268. 'name="method_free',
  9269. '<div style="text-align:left;"><ul>|>File not found.<',
  9270. 'optional1--',
  9271. 'optional2--',
  9272. "//a[contains(@href,'filespace.com')]");
  9273. }
  9274. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9275. {
  9276. addFileHost(
  9277. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9278. 'name="downloadFile|id="downloadFile|value="Wait',
  9279. '<title>File not found</title>|>Error:<',
  9280. 'optional1--',
  9281. 'optional2--',
  9282. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9283. }
  9284.  
  9285. }
  9286. //start here
  9287.  
  9288. //hosts with direct download, so they must be requested for headers only
  9289. function initFileHostsHeadersOnly()
  9290. {
  9291. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9292. {
  9293. var host = new Array(5);
  9294. host[0] = linkRegex;
  9295. host[1] = isAliveRegex;
  9296. host[2] = isDeadRegex;
  9297. host[3] = xpathEx;
  9298. host[4] = ispremRegex;
  9299. http_file_hosts_headers_only.push(host);
  9300. }
  9301. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9302. {
  9303. addFileHostHeadersOnly(
  9304. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9305. 'Connection: Keep-Alive',
  9306. 'Content-Length: 3857',
  9307. "//a[contains(@href,'uloziste.com')]"
  9308. )
  9309. }
  9310. if (GM_getValue("Check_adrive_dot_com_links", false))
  9311. {
  9312. addFileHostHeadersOnly(
  9313. "adrive\\.com\/public\/\\w+",
  9314. 'Connection: keep-alive',
  9315. 'orig_ref=deleted',
  9316. "//a[contains(@href,'adrive.com')]"
  9317. )
  9318. }
  9319. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9320. {
  9321. addFileHostHeadersOnly(
  9322. "myupload\\.dk\/showfile\/\\w+",
  9323. 'Expires:',
  9324. 'squeeze1\\s+Vary',
  9325. "//a[contains(@href,'myupload.dk/showfile')]"
  9326. )
  9327. }
  9328. }
  9329. //CustomRules
  9330. //functions add...Host copied here
  9331. function addObsoleteHost(linkRegex, xpathEx)
  9332. {
  9333. var host = new Array(2);
  9334. host[0] = linkRegex;
  9335. host[1] = xpathEx;
  9336. http_file_hosts_obsolete.push(host);
  9337. }
  9338. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9339. {
  9340. var host = new Array(7);
  9341. host[0] = linkRegex;
  9342. host[1] = isAliveRegex;
  9343. host[2] = isDeadRegex;
  9344. host[3] = isUnavaRegex;
  9345. host[4] = xpathEx;
  9346. tryLoop ? host[5] = true : host[5] = false;
  9347. host[6] = ispremRegex;
  9348. http_file_hosts.push(host);
  9349. }
  9350. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9351. {
  9352. var host = new Array(5);
  9353. host[0] = linkRegex;
  9354. host[1] = isAliveRegex;
  9355. host[2] = isDeadRegex;
  9356. host[3] = xpathEx;
  9357. host[4] = ispremRegex;
  9358. http_file_hosts_headers_only.push(host);
  9359. }
  9360. //takes a fully built rules array and adds the rules to WARLC
  9361. function applyCustomRules(customRules)
  9362. {
  9363. if (!customRules) return;
  9364. var rules, r, i;
  9365. rules = customRules.rules;
  9366. for (i = 0 ; i < rules.length ; i++)
  9367. {
  9368. r = rules[i];
  9369. if (r.enabled)
  9370. {
  9371. switch (r.type)
  9372. {
  9373. case 'single':
  9374. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9375. break;
  9376. case 'headers':
  9377. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9378. break;
  9379. case 'obsolete':
  9380. addObsoleteHost(r.urlregex, r.xpath)
  9381. break;
  9382. }
  9383. }
  9384. }
  9385. }
  9386.  
  9387.  
  9388. function initFileHostsCustom()
  9389. {
  9390. if (Custom_rules && Custom_rules_text)
  9391. {
  9392. var msg = '';
  9393. if (newVersion)
  9394. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9395. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9396. msg = '60 or more days have passed since this notification.\n\n';
  9397. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9398. {
  9399. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9400. msg +=
  9401. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9402. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9403. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9404. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9405. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9406. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9407. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9408. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9409. setTimeout(function(){alert(msg)},0);
  9410. }
  9411. var customRules = parseCustomRules(Custom_rules_text);
  9412. if (customRules.warning || customRules.error)
  9413. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9414. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9415. JSON.stringify(customRules.info, null, ' '));
  9416. applyCustomRules(customRules);
  9417. }
  9418. }
  9419. //end of CustomRules processing
  9420.  
  9421.  
  9422.  
  9423. } //end of function start
  9424.  
  9425.  
  9426.  
  9427. function initClipBoardTools()
  9428. {
  9429. unsafeWindow.copyToClipboard = function(text)
  9430. {
  9431. try
  9432. {
  9433. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9434.  
  9435. var str = Components.classes["@mozilla.org/supports-string;1"].
  9436. createInstance(Components.interfaces.nsISupportsString);
  9437. if (!str) return false;
  9438.  
  9439. str.data = text;
  9440.  
  9441. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9442. createInstance(Components.interfaces.nsITransferable);
  9443. if (!trans) return false;
  9444.  
  9445. trans.addDataFlavor("text/unicode");
  9446. trans.setTransferData("text/unicode", str, text.length * 2);
  9447.  
  9448. var clipid = Components.interfaces.nsIClipboard;
  9449. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9450. if (!clip) return false;
  9451.  
  9452. clip.setData(trans, null, clipid.kGlobalClipboard);
  9453. } catch (e) {
  9454. GM_log("Error copyToClipboard : " + e);
  9455. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9456. }
  9457. }
  9458. }
  9459.  
  9460.  
  9461.  
  9462. //CustomRules
  9463.  
  9464. function escapeRegex(str)
  9465. {
  9466. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9467. }
  9468.  
  9469.  
  9470. //called internally from parseCustomRules.
  9471. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9472. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9473. function makeCustomRule(rule)
  9474. {
  9475. function makeMatchRegex(arrmatch)
  9476. {
  9477. return escapeRegex(arrmatch.join('\n'))
  9478. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9479. .replace(/\n/g,'|'); //join together
  9480. }
  9481. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9482. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9483. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9484. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9485. if (rule.baseurl)
  9486. {
  9487. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9488. for (i = 0 ; i < len ; i++)
  9489. {
  9490. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9491. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9492. {
  9493. 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'])
  9494. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9495. }
  9496. else //baseurl in the form: example.com/xxx
  9497. {
  9498. xpath.push(m[0]);
  9499. urlregex.push(escapeRegex(m[0]) + '.');
  9500. }
  9501. }
  9502. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9503. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9504. }
  9505. return rule;
  9506. } //function makeCustomRule
  9507.  
  9508.  
  9509. /*
  9510. Takes a string containing custom link checking rules.
  9511. Returns an object with fields:
  9512. info - contains notes, warnings and errors found during parsing
  9513. rules - the array of custom rules
  9514. note, warning, error - number of each of them found during parsing
  9515. Format of the input string:
  9516. One command per line. Command format: @keyword parameter
  9517. Keywords:
  9518. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9519. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9520. These keywords can be multiple (any of them will work):
  9521. @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...)
  9522. @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+
  9523. @alivelink, @deadlink - example links
  9524. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9525. Lines starting with // and empty lines are ignored.
  9526. Invalid parameters generate errors and those lines are skipped.
  9527. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9528. Example:
  9529. @customrule filehost
  9530. @baseurl filehost.com/download/
  9531. @baseurl filehost2. com net /d?=
  9532. @alivematch id="download">
  9533. @deadmatch File not found
  9534. @deadmatch File deleted
  9535. */
  9536. function parseCustomRules(rulesStr)
  9537. {
  9538. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9539. function addInfo(type, msg, ln){
  9540. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9541. customRules[type]++;
  9542. }
  9543. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9544. if (!lines) return null;
  9545. lines.push('@#customrule _'); //to save the last rule
  9546. var m, linecount = lines.length;
  9547. var keyword, param, constr, rule, err;
  9548. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9549. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9550. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9551. var constraints = {
  9552. 'baseurl': {
  9553. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9554. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9555. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9556. 'alivematch': {
  9557. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9558. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9559. 'deadmatch': {
  9560. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9561. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9562. 'unavamatch': {
  9563. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9564. 'alivelink': {
  9565. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9566. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9567. 'deadlink': {
  9568. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9569. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9570. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9571. };
  9572. for (linenum = 0 ; linenum < linecount ; linenum++)
  9573. {
  9574. //capturing groups: 1 23 4 5 6
  9575. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9576. if (m)
  9577. {
  9578. if (m[1] || !m[2])
  9579. continue; // ignore empty lines and lines starting with //
  9580. keyword = (m[4] || m[2]).toLowerCase();
  9581. param = m[6];
  9582. if (keyword == 'customrule')
  9583. {
  9584. //save the current rule if all required fields are provided
  9585. if (rule)
  9586. {
  9587. err = false;
  9588. $.each(constraints, function(kw, constraint){
  9589. var l, constr = constraint[rule.type];
  9590. if (constr)
  9591. {
  9592. l = rule[kw] ? rule[kw].length : 0;
  9593. if (l < constr.min || l > constr.max)
  9594. {
  9595. 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);
  9596. err = true;
  9597. }
  9598. }
  9599. });
  9600. if (!err)
  9601. customRules.rules.push(makeCustomRule(rule));
  9602. }
  9603. //start a new rule
  9604. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9605. {
  9606. rule = {
  9607. 'enabled': !m[3],
  9608. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9609. 'name': param
  9610. };
  9611. }
  9612. else
  9613. {
  9614. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9615. rule = null;
  9616. }
  9617. }
  9618. else //good line format, but keyword other than customrule
  9619. {
  9620. if (!rule)
  9621. {
  9622. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9623. continue;
  9624. }
  9625. if (constraints[keyword])
  9626. {
  9627. constr = constraints[keyword][rule.type];
  9628. if (constr)
  9629. {
  9630. if (constr.paramRE && !constr.paramRE.test(param))
  9631. {
  9632. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9633. continue;
  9634. }
  9635. }
  9636. else
  9637. {
  9638. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9639. continue;
  9640. }
  9641. }
  9642. //line OK, save
  9643. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9644. }
  9645. } //if (m)
  9646. else
  9647. addInfo('warning', 'Unknown line format. Line skipped.');
  9648. } //for loop
  9649. return customRules;
  9650. } //function parseCustomRules
  9651.  
  9652.  
  9653. /* ********************UPDATES********************
  9654.  
  9655. March 15, 2016
  9656. Version 1.2.6.0
  9657. fixed rapidgator.net
  9658. fixed uploaded.net
  9659.  
  9660. March 13, 2016
  9661. Version 1.2.5.9
  9662. added
  9663. uploads.ws
  9664. upl.me
  9665. clicknupload.link
  9666. added fileover.net to obsolete hosts
  9667. fixed kingfiles.net
  9668.  
  9669. March 09, 2016
  9670. Version 1.2.5.8
  9671. added kingfiles.net to obsolete hosts
  9672. fixed 4upld.com/expressleech.com
  9673.  
  9674. March 08, 2016
  9675. Version 1.2.5.7
  9676. fixed solidfiles.com
  9677.  
  9678. March 01, 2016
  9679. Version 1.2.5.6
  9680. added filespace.com
  9681. fixed depositfiles (by yurii)
  9682.  
  9683. February 29, 2016
  9684. Version 1.2.5.5
  9685. made change to keep2share
  9686.  
  9687. February 28, 2016
  9688. Version 1.2.5.4
  9689. removed down4files.com from obsolete hosts.
  9690.  
  9691. February 26, 2016
  9692. Version 1.2.5.3
  9693. fixed userscloud.com
  9694.  
  9695. February 24, 2016
  9696. Version 1.2.5.2
  9697. added yandex.com
  9698. fixed datafile.com
  9699.  
  9700. February 22, 2016
  9701. Version 1.2.5.1
  9702. added bigfile.to
  9703.  
  9704. February 20, 2016
  9705. Version 1.2.5.0
  9706. added abelhas.pt
  9707.  
  9708. February 18, 2016
  9709. Version 1.2.4.9
  9710. made change to uptobox
  9711.  
  9712. February 17, 2016
  9713. Version 1.2.4.8
  9714. fixed yadi.sk
  9715.  
  9716. February 16, 2016
  9717. Version 1.2.4.7
  9718. fixed datafile.com
  9719. fixed filecad.com
  9720. added filecore.co & filestorm.to to obsolete hosts
  9721. added upload.af, filedwon.in & uplod.it
  9722.  
  9723. February 15, 2016
  9724. Version 1.2.4.6
  9725. fixed kumpulbagi.id
  9726. added sangfile.com to obsolete hosts
  9727.  
  9728. February 14, 2016
  9729. Version 1.2.4.5
  9730. fixed yandex.ru
  9731.  
  9732. February 13, 2016
  9733. Version 1.2.4.4
  9734. added lunaticfiles.com.
  9735.  
  9736. February 09, 2016
  9737. Version 1.2.4.3
  9738. added file.up09.com.
  9739.  
  9740. February 09, 2016
  9741. Version 1.2.4.2
  9742. tezfiles.com premium links now detected.
  9743.  
  9744. February 09, 2016
  9745. Version 1.2.4.1
  9746. added seenupload.com to obsolete hosts
  9747. fixed 180upload.com to show obsolete
  9748.  
  9749. February 08, 2016
  9750. Version 1.2.4.0
  9751. added tusfiles.com
  9752. added filesupload.org
  9753. added gigasize.com
  9754. added filecad.com
  9755. fixed filecloud.io
  9756. added uploadnet.co to obsolete hosts
  9757.  
  9758. February 07,2016
  9759. Vession 1.2.3.9
  9760. fixed depositfiles.com folders
  9761. fixed turbobit.net folders
  9762.  
  9763. February 06, 2016
  9764. Version 1.2.3.8
  9765. fixed 1fichier false dead links
  9766.  
  9767. February 04, 2106
  9768. Version 1.2.3.7
  9769. added geupload and lenfile to obsolete hosts
  9770. fixed kyc.pm/depfile
  9771.  
  9772. February 03, 2016
  9773. Version 1.2.3.6
  9774. fixed some nitroflare.com dead links not being detected
  9775.  
  9776. February 01, 2016
  9777. Version 1.2.3.5
  9778. script moved to new site
  9779.  
  9780. January 20, 2016
  9781. Version 1.2.3.3
  9782. fixed some rapidgator premium link not being detected
  9783.  
  9784. January 17, 2016
  9785. Version 1.2.3.2
  9786. added bytewhale.com
  9787. added rapidrar.com
  9788.  
  9789. Version 1.2.3.1
  9790. added 180upload.com to obsolete hosts
  9791. fixed hellspy.com
  9792. added dinoshare.cz,
  9793.  
  9794. January 13, 2016
  9795. Version 1.2.3.0
  9796. added rapidu.net
  9797. added uploadboy.me
  9798. fixed euroshare.eu
  9799.  
  9800. January 12, 2016
  9801. Version 1.2.2.9
  9802. added kb.simple-aja.info
  9803.  
  9804. January 10, 2016
  9805. Version 1.2.2.8
  9806. made changes to fastshare.cz
  9807.  
  9808. January 10, 2016
  9809. Version 1.2.2.7
  9810. fixed uptobox.com
  9811.  
  9812. January 09, 2016
  9813. Version 1.2.2.6
  9814. datoteke.com now detects premium links
  9815. fixed turbobit.net
  9816. fixed uptobox.com
  9817. added pornfile.cz
  9818. added pornoid.cz
  9819. added file-share.top
  9820. added bitster.cz
  9821.  
  9822. January 05, 2016
  9823. Version 1.2.2.5
  9824. fixed salefiles.com
  9825. fixed ozofile.com
  9826.  
  9827. January 04, 2016
  9828. Version 1.2.2.4
  9829. added sharehost.eu
  9830.  
  9831. December 30, 2015
  9832. Version 1.2.2.3
  9833. added tezfiles.com
  9834.  
  9835. December 28, 2015
  9836. Version 1.2.2.2
  9837. fixed some k2s & fboom dead link not getting detected
  9838. fixed some k2s premium links not getting detected.
  9839. fixed ssh.yt not detecting some dead links
  9840. fixed ncrypt.in dead links showing yellow
  9841.  
  9842. December 20, 2015
  9843. Version 1.2.2.0
  9844. added datoteke.com
  9845.  
  9846. December 19, 2015
  9847. Version 1.2.1.9
  9848. added secured.in & linksave.in to obsolete hosts
  9849.  
  9850. December 17, 2015
  9851. Version 1.2.1.8
  9852. added german for dead links to secureupload.eu.
  9853.  
  9854. December 17, 2015
  9855. Version 1.2.1.7
  9856. added french for dead links to secureupload.eu.
  9857. fixed problem with tooltip display.
  9858.  
  9859. December 13, 2015
  9860. Version 1.2.1.6
  9861. added netload.me & fileparadox.in to obsolete hosts
  9862.  
  9863. December 09, 2015
  9864. Version 1.2.1.5
  9865. added rapidsonic.com & fileparadox.com to obsolete hosts
  9866.  
  9867. December 04, 2015
  9868. Version 1.2.1.4
  9869. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9870.  
  9871. December 03, 2015
  9872. Version 1.2.1.3
  9873. added dailyuploads.net
  9874.  
  9875. December 02, 2015
  9876. Version 1.2.1.2
  9877. fixed hitfile.net
  9878. fixed kingfiles.net
  9879.  
  9880. November 30, 2015
  9881. Version 1.2.1.1
  9882. added filepost.com to obsolete hosts
  9883. added devilshare.net
  9884.  
  9885. November 28, 2015
  9886. Version 1.2.1.0
  9887. fixed datafile.com not detecting some premium links.
  9888.  
  9889. November 25, 2015
  9890. Version 1.2.0.9
  9891. fixed filejoker.net
  9892. fixed toutbox.fr
  9893. fixed nowvideo.sx
  9894.  
  9895. November 24, 2015
  9896. Version 1.2.0.8
  9897. fixed openload.io
  9898.  
  9899. November 20, 2015
  9900. Version 1.2.0.7
  9901. //added file.al
  9902. //fixed nitroflare.com false live links
  9903. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9904.  
  9905. November 17, 2015
  9906. Version 1.2.0.6
  9907. added clicknupload.me
  9908.  
  9909. November 09, 2015
  9910. Version 1.2.0.5
  9911. fixed some depfile premium links not being detected
  9912.  
  9913. November 08, 2015
  9914. Version 1.2.0.4
  9915. fixed some rapidgator premium links not being detected
  9916. fixed doraupload.com
  9917.  
  9918. November 08, 2015
  9919. Version 1.2.0.3
  9920. fixed uploaded false premium
  9921.  
  9922. November 07, 2015
  9923. Version 1.2.0.2
  9924. fixed redbunker.net
  9925.  
  9926. November 05, 2015
  9927. Version 1.2.0.1
  9928. fixed app.box.com
  9929. added multiup.org (does not detect all dead links)
  9930.  
  9931. November 01, 2015
  9932. Version 1.2.0.0
  9933. added more languages to rockfile and 1fichier
  9934.  
  9935. November 01, 2015
  9936. Version 1.1.9.9
  9937. fixed rockfile.eu
  9938. changed 1fichier code (Thanks yurri)
  9939. added to obsolete hosts... (Thanks Love Buzz)
  9940. burnupload.com
  9941. cramit.in
  9942. cramitin.net
  9943. down4files.com
  9944. edoc.com
  9945. jumbofile.net
  9946. krotix.net
  9947. migahost.com
  9948. movreel.com
  9949. netload.in
  9950. newfileland.com
  9951. quickshare.cz
  9952.  
  9953. October 30, 2015
  9954. Version 1.1.9.8
  9955. added alfafile.net
  9956.  
  9957. October 26, 2015
  9958. Version 1.1.9.7
  9959. changed datafile.com and uplea.com
  9960. added lolabits.es
  9961.  
  9962. October 26, 2015
  9963. Version 1.1.9.6
  9964. added toutbox.fr
  9965.  
  9966. October 25, 2015
  9967. Version 1.1.9.5
  9968. fixed counter error
  9969.  
  9970. October 25, 2015
  9971. Version 1.1.9.4
  9972. changed uptobox.com code
  9973.  
  9974. October 21, 2015
  9975. Version 1.1.9.3
  9976. fixed uptobox.com
  9977.  
  9978. October 20, 2015
  9979. Version 1.1.9.2
  9980. bug fixes and new method of detecting premium links.
  9981.  
  9982. October 15, 2015
  9983. Version 1.1.9.1
  9984. fixed hugefiles.net false premium
  9985. changed uptobox.com code
  9986.  
  9987. October 06, 2015
  9988. Version 1.1.9.0
  9989. fixed filefactory
  9990. fixed rockfile false premium
  9991. keep2share & fileboom now detect premium links (fixed by yurii)
  9992.  
  9993. October 01, 2015
  9994. Version 1.1.8.9
  9995. fixed free.fr false premium
  9996. fixed thevideo.me false premium
  9997.  
  9998. September 28, 2015
  9999. Version 1.1.8.8
  10000. added uplea.com and openload.co
  10001.  
  10002. September 27, 2015
  10003. Version 1.1.8.7
  10004. fixed fileparadox.in false premium
  10005. added kingfiles.net to obsolete hosts
  10006. removed inafile.com from obsolete hosts
  10007.  
  10008. September 22, 2015
  10009. Version 1.1.8.6
  10010. fixed nitroflare false premium
  10011.  
  10012. September 22, 2015
  10013. Version 1.1.8.5
  10014. fixed userscloud.com false premium
  10015. fixed usersfiles.com false premium
  10016. changed arabloads.com to arabloads.net
  10017. changed nowdownloads.eu to nowdownloads.ch
  10018.  
  10019. September 21, 2015
  10020. Version 1.1.8.3
  10021. added ryushare.com to obsolete hosts.
  10022.  
  10023. September 20, 2015
  10024. Version 1.1.8.2
  10025. fixed nitroflare not showing premium links
  10026. added down4files.com,storfiles.co,filehost.pw
  10027.  
  10028. September 16, 2015
  10029. Version 1.1.8.1
  10030. added crisshare.com to obsolete hosts
  10031. fixed filemoney.com false premium
  10032. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10033.  
  10034. September 14, 2015
  10035. Version 1.1.8.0
  10036. added to obsolete hosts...
  10037. sharebeast.com
  10038. tufiles.ru
  10039.  
  10040. September 12, 2015
  10041. Version 1.1.7.9
  10042. fixed rghost.net false premium
  10043. fixed unlimitzone.com false premium
  10044. fixed turbobit.net false live link
  10045.  
  10046. September 11, 2015
  10047. Version 1.1.7.8
  10048. Fixed filefactory.com false premium.
  10049.  
  10050. September 07, 2015
  10051. Version 1.1.7.7
  10052. fixed "depositfiles.com/en/files" links not checking
  10053.  
  10054. September 06, 2015
  10055. Version 1.1.7.6
  10056. added French code for 1fichier
  10057.  
  10058. August 29, 2015
  10059. Version 1.1.7.5
  10060. fixed depositfiles
  10061. fixed mega.co.nz/mega.nz
  10062. (fixed by yurii)
  10063.  
  10064. August 23, 2015
  10065. Version 1.1.7.4
  10066. Fixed uploadrocket (by yurii)
  10067.  
  10068. August 20, 2015
  10069. Version 1.1.7.3
  10070. fixed depfile.com false premium
  10071. fixed 1fichier false premium
  10072. fixed rapidgator false premium
  10073.  
  10074. August 08, 2015
  10075. Version 1.1.7.1
  10076. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10077.  
  10078. August 07, 2015
  10079. Version 1.1.7.0
  10080. fixed...
  10081. streamin.to
  10082. thefile.me
  10083. vidzi.tv
  10084. added...
  10085. filenuke.com
  10086. vidto.me
  10087. vidspot.net
  10088. sharesix.com
  10089. sharesix.net
  10090. movpod.in,
  10091.  
  10092. August 07, 2015
  10093. Version 1.1.6.9 added...
  10094. thefile.me
  10095. vidzi.tv
  10096. videoweed.es
  10097. vodlocker.com
  10098. nowvideo.sx
  10099. cloudtime.to
  10100. thevideo.me
  10101. vidbull.com
  10102. allmyvideos.net
  10103. novamov.com
  10104. filehoot.com
  10105. stagevu.com
  10106. gorillavid.in
  10107. streamin.to
  10108.  
  10109. August 02, 2015
  10110. Version 1.1.6.8
  10111. added cloudshares.net
  10112.  
  10113. August 01, 2015
  10114. Version 1.1.6.7
  10115. fixed depfile redirectors false premium
  10116.  
  10117. July 31, 2015
  10118. Version 1.1.6.6
  10119. fixed depfile.com false premium
  10120. */

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址