W.A.R. Links Checker Customized Premium Link Version

detects live, dead and premium links.

目前為 2015-10-27 提交的版本,檢視 最新版本

  1. // changed datafile.com and uplea.com, added lolabits.es
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Customized Premium Link Version
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.1.9.7
  8. // @icon http://sharenxs.com/photos/2014/02/14/52fd759db90ac/cooltext1428903746.png
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author mental
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://www.warlc.5gbfree.com
  26. // @namespace http://www.warlc.5gbfree.com
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "openload.co",
  34. "uplea.com",
  35. "filenuke.com",
  36. "inafile.com",
  37. "lolabits.es",
  38. "vidto.me",
  39. "storefiles.co",
  40. "filehost.pw",
  41. "down4files.com",
  42. "vidspot.net",
  43. "turbobit.ru",
  44. "sharesix.com|sharesix.net",
  45. "movpod.in",
  46. "thefile.me",
  47. "vidzi.tv",
  48. "videoweed.es",
  49. "vodlocker.com",
  50. "nowvideo.sx",
  51. "cloudtime.to",
  52. "thevideo.me",
  53. "vidbull.com",
  54. "allmyvideos.net",
  55. "novamov.com",
  56. "filehoot.com",
  57. "stagevu.com",
  58. "gorillavid.in",
  59. "streamin.to",
  60. "4upld.com",
  61. "cloudshares.net",
  62. "swoopshare.com",
  63. "newfileland.com",
  64. "2shared.com",
  65. "fileupload.pw",
  66. "zxcfiles.com",
  67. "up07.net",
  68. "4shared.com",
  69. "adrive.com",
  70. "aisfile.com",
  71. "hexupload.com",
  72. "bezvadata.cz",
  73. "burnupload.com|burnupload.ihiphop.com",
  74. "xkeepfile.com|Gamesena.com",
  75. "usersfiles.com",
  76. "pan.baidu.com",
  77. "radicalshare.com",
  78. "cramit.in|cramitin.net",
  79. "datei.to",
  80. "daten-hoster.de|filehosting.org|xtraupload.de",
  81. "demo.ovh.eu",
  82. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  83. "divshare.com",
  84. "easy-share.com|crocko.com",
  85. "easybytez.com",
  86. "edisk.cz",
  87. "euroshare.eu",
  88. "file-upload.net",
  89. "yadi.sk",
  90. "wizupload.com",
  91. "fastshare.cz",
  92. "filefactory.com",
  93. "share.vnn.vn",
  94. "yunpan.cn",
  95. "gulfup.com",
  96. "tropicshare.com",
  97. "cloudzilla.to",
  98. "inclouddrive.com",
  99. "fileflyer.com",
  100. "filerio.com|filekeen.com",
  101. "up.4share.vn",
  102. "upfile.vn",
  103. "datafilehost.com",
  104. "fileband.com",
  105. "worldbytez.com",
  106. "files.mail.ru",
  107. "filepost.com|fp.io",
  108. "filesflash.com",
  109. "box.com",
  110. "uptobox.com",
  111. "box.net",
  112. "goldbytez.com",
  113. "sdilej.cz",
  114. "ex-load.com",
  115. "filesmonster.com",
  116. "filestore.to",
  117. "hulkload.com",
  118. "filedropper.com",
  119. "free-uploading.com",
  120. "gamefront.com|filefront.com",
  121. "gettyfile.ru",
  122. "gigapeta.com",
  123. "gigasize.com",
  124. "hellshare.com",
  125. "hellspy.com",
  126. "hitfile.net",
  127. "hostuje.net",
  128. "freefilehosting.net",
  129. "free.fr",
  130. "hulkshare.com",
  131. "hyperfileshare.com",
  132. "filecloud.io|ifile.it",
  133. "ifolder.ru",
  134. "jumbofiles.com",
  135. "uploadrocket.net",
  136. "lafiles.com",
  137. "leteckaposta.cz|sharegadget.com",
  138. "letitbit.net",
  139. "load.to",
  140. "mediafire.com",
  141. "megafileupload.com",
  142. "megashares.com",
  143. "movshare.net",
  144. "muchshare.net",
  145. "myupload.dk",
  146. "narod.ru|narod.yandex.ru",
  147. "netload.in",
  148. "fboom.me|fileboom.me",
  149. "openfile.ru",
  150. "partage-facile.com",
  151. "plunder.com",
  152. "sharerapid.cz",
  153. "exclusiveloader.com",
  154. "acefile.net",
  155. "queenshare.com",
  156. "quickshare.cz",
  157. "rapidgator.net",
  158. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  159. "oboom.com",
  160. "filepi.com",
  161. "neodrive.co",
  162. "rarefile.net",
  163. "rayfile.com",
  164. "rghost.net",
  165. "sendmyway.com",
  166. "clicknupload.com",
  167. "sharemods.com",
  168. "hostr.co",
  169. "sendspace.com",
  170. "sharecash.org",
  171. "share-links.biz",
  172. "share-online.biz|egoshare.com",
  173. "megarapid.cz",
  174. "shareflare.net",
  175. "solidfiles.com",
  176. "led.wf",
  177. "lan.wf",
  178. "adlink.wf",
  179. "click.tf",
  180. "kyc.pm",
  181. "ssh.tf",
  182. "ssh.yt",
  183. "yep.pm",
  184. "stahovanizasms.cz",
  185. "turbobit.net",
  186. "filecloud.cc",
  187. "tikfile.com",
  188. "cloudsix.me",
  189. "turboupload.com",
  190. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  191. "ulozisko.sk",
  192. "uloziste.com",
  193. "unibytes.com",
  194. "upload-il.net|przeslij.net",
  195. "uploaded.to|ul.to",
  196. "uploading.com",
  197. "chayfile.com",
  198. "rockfile.eu",
  199. "24uploading.com",
  200. "uploadspace.pl",
  201. "upnito.sk",
  202. "usaupload.net",
  203. "veehd.com",
  204. "videobb.com",
  205. "vip-file.com",
  206. "webshare.cz",
  207. "xdisk.cz",
  208. "yunfile.com|filemarkets.com",
  209. "ziddu.com",
  210. "krotix.net",
  211. "zippyshare.com",
  212. "rodfile.com",
  213. "migahost.com",
  214. "wikiupload.com",
  215. "uploadstube.de",
  216. "faststore.org",
  217. "flyfiles.net",
  218. "nowdownload.ch",
  219. "prefiles.com",
  220. "axifile.com",
  221. "rapidsonic.com|fileparadox.com",
  222. "hackerbox.org",
  223. "amonshare.com",
  224. "data.hu",
  225. "brupload.net",
  226. "userscloud.com",
  227. "netkups.com",
  228. "edoc.com",
  229. "xfileload.com",
  230. "jumbofile.net",
  231. "kumpulbagi.com",
  232. "uppit.com|up.ht",
  233. "downloadani.me",
  234. "filesabc.com",
  235. "180upload.com",
  236. "verzend.be",
  237. "movreel.com",
  238. "4up.me",
  239. "extmatrix.com",
  240. "sendfiles.nl",
  241. "yourfilestore.com",
  242. "filebig.net",
  243. "nekaka.com",
  244. "file4safe.com",
  245. "tusfiles.net",
  246. "filemac.com",
  247. "idup.in",
  248. "fileswap.com",
  249. "ozofiles.com",
  250. "loudupload.net",
  251. "nosupload.com",
  252. "gboxes.com",
  253. "myvdrive.com|fileserving.com",
  254. "filesin.com",
  255. "novafile.com",
  256. "longfiles.com",
  257. "uploadhero.com",
  258. "uploadbaz.com",
  259. "bitupload.com",
  260. "indowebster.com",
  261. "superload.cz",
  262. "mafiastorage.com",
  263. "4upfiles.com",
  264. "filesmelt.com",
  265. "hellupload.com",
  266. "uploadingit.com",
  267. "stiahni.si",
  268. "sendspace.pl",
  269. "fastshare.org",
  270. "filejoker.net",
  271. "filestore.com.ua",
  272. "secureupload.eu",
  273. "rapidfileshare.net",
  274. "stiahnito.sk",
  275. "rusfolder.com",
  276. "fileover.net",
  277. "catshare.net",
  278. "anonfiles.com",
  279. "mixturecloud.com",
  280. "fileparadox.in",
  281. "filedais.com",
  282. "imdb.com",
  283. "nitroflare.com",
  284. "akafile.com",
  285. "creafile.net",
  286. "hugefiles.net",
  287. "vidxden.com",
  288. "up.top4top.net",
  289. "upload.ee",
  290. "shareplace.org",
  291. "uploadc.com",
  292. "remixshare.com",
  293. "exoshare.com",
  294. "borncash.org",
  295. "junocloud.me",
  296. "expressleech.com",
  297. "2downloadz.com",
  298. "mightyupload.com",
  299. "anysend.com",
  300. "datafile.com",
  301. "upstore.net",
  302. "upsto.re",
  303. "speedy.sh",
  304. "sanshare.com",
  305. "uploadhero.co",
  306. "ge.tt",
  307. "filesflash.net",
  308. "salefiles.com",
  309. "megairon.net",
  310. "datoid.cz",
  311. "cloudstor.es",
  312. "streamfile.com",
  313. "eyesfile.ca",
  314. "filemoney.com",
  315. "uploadboy.com",
  316. "speedshare.eu",
  317. "google.com",
  318. "unlimitzone.com",
  319. "rioupload.com",
  320. "rg.to",
  321. "jumbofiles.org",
  322. "fshare.vn",
  323. "spaceforfiles.com",
  324. "up.media1fire.com",
  325. "depfile.com",
  326. "go4up.com",
  327. "dropbox.com",
  328. "redbunker.net",
  329. "divxpress.com",
  330. "mega.nz|mega.co.nz",
  331. "anafile.com",
  332. "uploadable.ch",
  333. "arabloads.net",
  334. "sharerepo.com",
  335. "sfshare.se",
  336. "files.fm",
  337. "koofile.com",
  338. "vidplay.net",
  339. "storagon.com",
  340. "doraupload.com",
  341. "openload.io",
  342. "geupload.com|lenfile.com",
  343. "uploads.xxx",
  344. "toutbox.fr",
  345. ];
  346.  
  347. try
  348. {
  349. //iframes excluded
  350. if (window.top != window.self)
  351. {
  352. return;
  353. }
  354. //allHostNames sites excluded
  355. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  356. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  357. ")"))
  358. {
  359. return;
  360. }
  361. }
  362. catch (e)
  363. {
  364. return;
  365. }
  366.  
  367. //separate alternative domains with "|" char (first name is considered being main)
  368. var allContainerNames = [
  369. "adf.ly",
  370. "linkcrypt.ws",
  371. "linksafe.me",
  372. "linksave.in",
  373. "linkto.net",
  374. "madlink.sk",
  375. "multiload.cz",
  376. "mirrorcreator.com",
  377. "ncrypt.in",
  378. "redi.re",
  379. "relink.us",
  380. "safelinking.net",
  381. "theloo.katt.it",
  382. "bit.ly",
  383.  
  384. ];
  385.  
  386. //separate alternative domains with "|" char (first name is considered being main)
  387. var allObsoleteNames = [
  388. "uloz.cz",
  389. "freakshare.com",
  390. "freakshare.net",
  391. "kingfiles.net",
  392. "daj.to",
  393. "bl.st",
  394. "2drive.net",
  395. "ryushare.com",
  396. "crisshare.com",
  397. "tufiles.ru",
  398. "uncapped-downloads.com",
  399. "sockshare.com",
  400. "ddlstorage.com",
  401. "dataport.cz",
  402. "dizzcloud.com",
  403. "sharebeast.com",
  404. "stahovadlo.cz",
  405. "shared.com",
  406. "storage.to",
  407. "putlocker.com",
  408. "lumfile.com",
  409. "lumfile.se",
  410. "lumfile.eu",
  411. "firedrive.com",
  412. "fileshare.in.ua",
  413. "filecore.co.nz",
  414. "iskladka.cz",
  415. "file-rack.com",
  416. "fast-load.net",
  417. "subory.sk",
  418. "bigandfree.com",
  419. "fileop.com",
  420. "mujsoubor.cz",
  421. "sendfile.to",
  422. "superfastfile.com",
  423. "quickyshare.com",
  424. "duckload.com",
  425. "uploadstore.net",
  426. "meinupload.com",
  427. "dualshare.com",
  428. "2xupload.to|2xupload.de",
  429. "oxedion.com",
  430. "uploadline.com",
  431. "dll.bz",
  432. "movieshare.in",
  433. "milledrive.com",
  434. "quickupload.net",
  435. "safelink.in",
  436. "metadivx.com",
  437. "divxlink.com",
  438. "uploadrack.com",
  439. "teradepot.com",
  440. "dataup.to",
  441. "upit.to",
  442. "driveway.com",
  443. "eatlime.com",
  444. "a2zuploads.com",
  445. "friendlyfiles.net",
  446. "flyfile.us",
  447. "speedyshare.com",
  448. "uploadspace.eu",
  449. "keepfile.com",
  450. "piggyshare.com",
  451. "uplly.com",
  452. "filecrown.com",
  453. "6giga.com",
  454. "uploadjockey.com",
  455. "bluehost.to",
  456. "filegu.ru",
  457. "filebase.to",
  458. "up-file.com",
  459. "xvideos.com",
  460. "ufox.com",
  461. "filebling.com",
  462. "loaded.it",
  463. "uploadcell.com",
  464. "uploadshare.cz",
  465. "mangoshare.com",
  466. "filestab.com",
  467. "crazyupload.com",
  468. "gaiafile.com",
  469. "sharejunky.com",
  470. "fileho.com",
  471. "bigandfree.com",
  472. "bigfile.in",
  473. "bigshare.eu",
  474. "dahosting.org",
  475. "digisofts.net",
  476. "file4save.com",
  477. "filechip.com",
  478. "filescloud.com",
  479. "saveqube.com",
  480. "turboshare.de",
  481. "z-upload.com",
  482. "youshare.com",
  483. "jiffyupload.com",
  484. "gigeshare.com",
  485. "datenklo.net",
  486. "upload.dj",
  487. "loadfiles.in",
  488. "upit.to",
  489. "dsfileshare.com",
  490. "sharesimple.net",
  491. "4files.net",
  492. "wooupload.com",
  493. "odsiebie.com",
  494. "filenavi.com",
  495. "3oof.com",
  496. "meshwaar.com",
  497. "maxupload.com",
  498. "share.cx",
  499. "atserver.eu",
  500. "hotfiles.ws",
  501. "esnips.com",
  502. "tuxfile.com",
  503. "file2upload.net",
  504. "filebling.com",
  505. "turboshare.com",
  506. "rarhost.com",
  507. "isharehd.com",
  508. "i741.com",
  509. "dataup.de",
  510. "fofly.com",
  511. "shareonall.com",
  512. "sexuploader.com",
  513. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  514. "uploadhyper.com",
  515. "filespawn.com",
  516. "caizzii.com",
  517. "volnyweb.cz",
  518. "usershare.net",
  519. "filescash.net",
  520. "metahyper.com",
  521. "combozip.com",
  522. "x7.to",
  523. "uploadbox.com",
  524. "enterupload.com|flyupload.com",
  525. "filepoint.de",
  526. "mystream.to",
  527. "x-fs.com",
  528. "shareator.com",
  529. "srapid.eu",
  530. "sosame.cz",
  531. "filesdump.com",
  532. "2-klicks.de",
  533. "uploking.com",
  534. "silofiles.com",
  535. "upfile.in",
  536. "filehook.com",
  537. "uploadking.com",
  538. "uploadhere.com",
  539. "kewlshare.com",
  540. "rapidable.com",
  541. "uploadwaste.com",
  542. "filemup.com",
  543. "filesonic.com|sharingmatrix.com",
  544. "fileserve.com",
  545. "wupload.com",
  546. "skipfile.com",
  547. "smartuploader.com",
  548. "dualshare.com",
  549. "storeandserve.com",
  550. "mountfile.com",
  551. "transitfiles.com",
  552. "uploadstation.com",
  553. "filejungle.com",
  554. "shareshared.com",
  555. "quickyshare.com",
  556. "save.am",
  557. "petandrive.com",
  558. "file2box.com",
  559. "flyshare.cz",
  560. "yabadaba.ru",
  561. "cloudcache.cc",
  562. "yourfilehost.com",
  563. "jakfile.com",
  564. "kickload.com",
  565. "pyramidfiles.com",
  566. "refile.net",
  567. "zshare.net",
  568. "ddlani.me|ddlanime.com",
  569. "ftp2share.com",
  570. "fooget.com",
  571. "rapidhide.com",
  572. "gotupload.com",
  573. "mooload.com",
  574. "zupload.com",
  575. "mytempdir.com",
  576. "onionshare.com",
  577. "stahnu.to",
  578. "oron.com",
  579. "badongo.com",
  580. "filereactor.com",
  581. "filegaze.com",
  582. "4bytez.com",
  583. "1hostclick.com",
  584. "anonstream.com",
  585. "batshare.com",
  586. "bitroad.net",
  587. "brontofile.com",
  588. "cloudnxt.net",
  589. "cloudnator.com|shragle.com",
  590. "filesfrog.net",
  591. "coolshare.cz",
  592. "dotavi.com",
  593. "ezyfile.net",
  594. "file-bit.net",
  595. "filecosy.com",
  596. "fileduct.com|fileduct.net",
  597. "filefat.com",
  598. "filelaser.com",
  599. "filemashine.com",
  600. "fileserver.cc",
  601. "filetechnology.com",
  602. "fireuploads.net",
  603. "gigfiles.net",
  604. "holderfile.com",
  605. "ihostia.com",
  606. "k2files.com",
  607. "mojofile.com",
  608. "ovfile.com",
  609. "qshare.com",
  610. "shafiles.me",
  611. "sharefilehost.com",
  612. "shareupload.com",
  613. "stahuj.to",
  614. "ugotfile.com",
  615. "uploadboost.com",
  616. "fileom.com",
  617. "vidhog.com",
  618. "xfileshare.eu",
  619. "bzlink.us",
  620. "bulletupload.com",
  621. "bloggerarticles.com",
  622. "mojedata.sk",
  623. "sharpfile.com",
  624. "upgrand.com",
  625. "nasdilej.cz",
  626. "mediatack.cz",
  627. "share-it.to",
  628. "primeupload.com",
  629. "filebeer.info",
  630. "baberepublic",
  631. "xtu.me",
  632. "sharebase.de",
  633. "luckyshare.net",
  634. "filerobo.com",
  635. "filevelocity.com",
  636. "filezpro.com",
  637. "file4sharing.com",
  638. "cing.be",
  639. "ufile.eu",
  640. "pigsonic.com",
  641. "fileupped.com",
  642. "sharerun.com",
  643. "filesaur.com",
  644. "rapidslnare.com",
  645. "bestsharing.com",
  646. "savefiles.net",
  647. "file2share.biz",
  648. "filecache.de",
  649. "monsteruploads.eu",
  650. "b9bb.com",
  651. "aiotool.net",
  652. "jamber.info",
  653. "megaftp.com",
  654. "desiupload.net",
  655. "file27.com",
  656. "yastorage.com",
  657. "filehost.ws",
  658. "copyload.com",
  659. "venusfile.com",
  660. "aieshare.com",
  661. "terafile.co",
  662. "terafile.com",
  663. "fileza.net",
  664. "filerose.com",
  665. "squillion.com",
  666. "fileprohost.com",
  667. "bitbonus.com",
  668. "warserver.cz",
  669. "uload.to",
  670. "sharedbit.net",
  671. "megaload.it",
  672. "filewinds.com",
  673. "uploadcore.com",
  674. "syfiles.com",
  675. "eyesfile.com",
  676. "hotfile.com",
  677. "superupl.com",
  678. "oteupload.com",
  679. "henchfile.com",
  680. "filegag.com",
  681. "HenchFile.com",
  682. "filedefend.com",
  683. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  684. "megabitshare.com",
  685. "cloudzer.com",
  686. "asfile.com",
  687. "cloudzer.net",
  688. "clz.to",
  689. "extabit.com",
  690. "247upload.com",
  691. "2download.de",
  692. "4fastfile.com",
  693. "asixfiles.com",
  694. "berofile.com",
  695. "bigupload.com",
  696. "cepzo.com",
  697. "clouds.to",
  698. "cobrashare.sk",
  699. "coraldrive.net",
  700. "cyberlocker.ch",
  701. "czshare.com",
  702. "darkport.org",
  703. "dark-uploads.com",
  704. "davvas.com",
  705. "enigmashare.com",
  706. "erofly.cz",
  707. "fastsonic.net",
  708. "filebox.com",
  709. "filecity.net",
  710. "filedap.com",
  711. "filedino.com",
  712. "filedownloads.org",
  713. "filefolks.com",
  714. "fileking.co",
  715. "filemates.com",
  716. "files.to",
  717. "files2k.eu",
  718. "filesector.cc",
  719. "bitshare.com",
  720. "filesega.com",
  721. "filesend.net",
  722. "filestay.com",
  723. "filestrum.com",
  724. "fileuplo.de",
  725. "fileupup.com",
  726. "forunesia.com",
  727. "freeuploads.fr",
  728. "uploa.dk",
  729. "getthebit.com",
  730. "getzilla.net",
  731. "goldfile.eu",
  732. "good.com",
  733. "grupload.com",
  734. "hellfile.com",
  735. "hipfile.com",
  736. "hitfile.com",
  737. "hulkfile.eu|duckfile.net",
  738. "i-filez.com",
  739. "ifile.ws",
  740. "kupload.org",
  741. "packupload.com",
  742. "lemuploads.com",
  743. "limelinx.com",
  744. "maxshare.pl",
  745. "megarelease.org",
  746. "megashare.com",
  747. "minus.com",
  748. "mlfat4arab.com",
  749. "multishare.cz",
  750. "nirafile.com",
  751. "ok2upload.com",
  752. "peejeshare.com",
  753. "premiuns.org",
  754. "przeklej.net",
  755. "qkup.net",
  756. "rapidupload.sk",
  757. "rockdizfile.com",
  758. "rocketfile.net",
  759. "share-now.net",
  760. "share76.com",
  761. "sharebees.com",
  762. "sharefiles.co",
  763. "slingfile.com",
  764. "sms4file.com",
  765. "space4file.com",
  766. "tigershare.net",
  767. "toucansharing.com",
  768. "ubuntuone.com",
  769. "unextfiles.com",
  770. "upaj.pl",
  771. "upfile.biz",
  772. "uploadbin.net",
  773. "uploadic.com",
  774. "uploadinc.com",
  775. "uploading4u.eu",
  776. "uploadjet.net",
  777. "uploadorb.com",
  778. "upthe.net",
  779. "uptorch.com",
  780. "vidbox.yt",
  781. "videozer.com",
  782. "vreer.com",
  783. "wallobit.com",
  784. "zooupload.com",
  785. "privatefiles.com",
  786. "xerver.co",
  787. "BillionUploads.com",
  788. "rapidshare.com",
  789. "rapidshare.ru",
  790. "4savefile.com",
  791. "bayfiles.com",
  792. "bayfiles.net",
  793. "dodane.pl",
  794. "dotsemper.com",
  795. "egofiles.com",
  796. "epicshare.net",
  797. "fiberupload.net",
  798. "filemonkey.in",
  799. "filemonster.net",
  800. "filepom.com",
  801. "filesbb.com",
  802. "fileshareup.com",
  803. "filevice.com",
  804. "gigaup.fr",
  805. "isavelink.com",
  806. "loombo.com",
  807. "megafiles.se",
  808. "migupload.com",
  809. "mydisc.net",
  810. "nitrobits.com",
  811. "potload.com",
  812. "redload.net",
  813. "shareprofi.com",
  814. "sharesuper.info",
  815. "sinhro.net",
  816. "speedfile.cz",
  817. "speedshare.org",
  818. "storage.novoro.net",
  819. "swankshare.com",
  820. "swatupload.com",
  821. "upafile.com",
  822. "uploadmachine.com",
  823. "uploadsat.com",
  824. "upshared.com",
  825. "usefile.com",
  826. "yourfiles.to",
  827. "zomgupload.com",
  828. "ultramegabit.com",
  829. "uploadto.us",
  830.  
  831. ];
  832. ///////////////////////////////////////////////////////////////////////////////////////
  833. var firstRun = GM_getValue("First_run", true);
  834.  
  835. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  836. //////////////////////////////////////////////////////////////////////////////////////
  837. try
  838. {
  839. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  840. var last_known_version = GM_getValue("last_known_version", "");
  841. if (!last_known_version)
  842. {
  843. last_known_version = thisVersion;
  844. GM_setValue("last_known_version", last_known_version);
  845. }
  846. //var newVersion = !(thisVersion == last_known_version);
  847. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  848. GM_setValue("last_known_version", thisVersion);
  849. }
  850. catch (err)
  851. {
  852. var newVersion = false;
  853. }
  854.  
  855. var now = (new Date()).getTime();
  856. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  857. if (!last_custom_rules_nag)
  858. {
  859. last_custom_rules_nag = now;
  860. GM_setValue('last_custom_rules_nag', ''+now);
  861. }
  862.  
  863.  
  864. allHostNames.sort();
  865. allContainerNames.sort();
  866. allObsoleteNames.sort();
  867.  
  868. var RAND_STRING = "8QyvpOSsRG3QWq";
  869. var DEBUG_MODE = false;
  870.  
  871. var TOOLTIP_MAXWIDTH = 600; //in pixels
  872. var TOOLTIP_THUMBWIDTH = 200;
  873. var containers_processed = false;
  874.  
  875. //settings for keyboard functions start
  876. var CHECK_ALL_LINKS_KEY = "A";
  877. var CONFIGURATION_KEY = "C";
  878. var copy_to_dead_key = "D";
  879. var toggle_autocheck_key = "W";
  880. var toggle_Enable_Anonymizer_key = "Z";
  881. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  882. var first_key_keycodename = 'CTRL';
  883. var second_key_keycode = '18';
  884. var second_key_keycodename = 'ALT';
  885. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  886. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  887. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  888. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  889. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  890. //settings for keyboard functions end
  891.  
  892. //global settings start
  893. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  894. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  895. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  896. var Show_progress_stats, Display_tooltip_info, Icon_set;
  897. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  898. var Progress_box_refresh_rate;
  899. var Obsolete_file_hosts;
  900. var Custom_rules, Custom_rules_text;
  901.  
  902. var messageBox = document.createElement('b'); // top-left message box
  903.  
  904. var cLinksTotal = 0;
  905. var cLinksDead = 0;
  906. var cLinksAlive = 0;
  907. var cLinksUnava = 0;
  908. var cLinksprem = 0;
  909. var cLinksProcessed = 0;
  910.  
  911. var intervalId; //for updateProgress()
  912.  
  913. //icon resources
  914. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTK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ffr4v9d29pEMnt7UyfOkNNjKKTU8Tl8tghq+sEGqvUZwjZA5EAiShPIetLXxhASSIY3An1Gr4xkabq70iar9OkOeoWCSqVMAM8hzMiObnIUnQ0RFyR0DkgNylzhh7cB+bmsLrdQ7n5gj1OlG5TPxoHro7kUsC4mdQUB5u0NdziW/r5q2M/PkLfG2NsLwMkRHevyVkWQib26t+FJYMIIOUvt5XdmXkunXEke/sQchRCNDdRfAQ8vXND97af1qCxqkRLUj9XKFq/cUUMMmRQHKFZquh7OBhCRr/aATQ/I97foxKZ9z7A9QA5voyr3dtAAAAAElFTkSuQmCC';
  921. var RSLC_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  922. var RSLC_ICON_PINK = 'data:image/png;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R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAgY0hSTQAAeiUAAICDAAD5/wAAgOkAAHUwAADqYAAAOpgAABdvkl/FRgAAAaJJREFUeNpkkk1rE1EUhp9zJ21NpxJocxctiAQXXYkQQQsG/EJo0a0LyW8ws9KFP0E3HQv6D9x1KbixdTGIlrZuzUJLCM2iEykRJ23S5B4XsZOpPXAW957zXM773iNkQquUgAKAAlpISx3vDXunB8kA5Zbb3hr6l032HtDc7/rQzlWWJt6yk0Japfxr4udWN3dRAMP5UI5bzi5cu5F/ya7RKqWW204BG66c6bart0ePX1iQRjP6krygZIDCv5FMce0+cELx9WMAimuPUCPY8B6AmfYXcy5PwWhGW/vpR2AKdB8bPkScIswRBxupB84Dk3EIgDh4j+CjHIImxLV18sM/Z3rOibard1A5wcg8Kn1s+IAjb2bsiAPjlNNvwYbLINOgfQ5q6yCTqBzjv7qbMgoYl6PTTerSY+Di4ANqBrSDz0z1D2nXPtHr+STPNgFcN6mLm6EjAEfPKTea0Y74V5yHmEm8/6d23aRu7M1KOf4afTMAjWa0e6lUua7JDzNEtceATGoWWHx3a7wu359EzF+tjHfPjYS6kQed2UD3AESEvwMAaQGsQMrwcN0AAAAASUVORK5CYII=';
  923.  
  924. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAA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mELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  927. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  928.  
  929. //global settings end
  930. if (window.opera && !window.console)
  931. {
  932. window.console = {};
  933.  
  934. function fn()
  935. {
  936. opera.postError(arguments);
  937. };
  938. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  939. {
  940. window.console[name] = fn;
  941. });
  942. }
  943.  
  944. //displays colored text in message box
  945. function sendMessage(text, color)
  946. {
  947. var msgDiv = document.createElement('div');
  948. msgDiv.style.color = color;
  949. msgDiv.innerHTML = text;
  950. messageBox.appendChild(msgDiv);
  951. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  952. }
  953.  
  954. function linkify(totalourls)
  955. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  956. var ikkeTilladteTags;
  957. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  958. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  959. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  960. allLinksRegex = new RegExp(allLinksRegex, "g");
  961. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  962.  
  963. if (Do_not_linkify_DL_links)
  964. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  965. else
  966. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  967.  
  968. var regex = new RegExp(regexy);
  969. var textNode, muligtLink;
  970.  
  971. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  972. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  973.  
  974. var i = textNodes.snapshotLength;
  975. while (i--)
  976. {
  977. textNode = textNodes.snapshotItem(i);
  978.  
  979. muligtLink = textNode.nodeValue; //all links on page
  980.  
  981. var myArray = null;
  982. var span = null;
  983. var lastLastIndex = 0;
  984. allLinksRegex.lastIndex = 0;
  985. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  986. {
  987. if (textNode.parentNode.className == "adead_link") continue;
  988. var censoredLink = muligtLink;
  989. var span = document.createElement('span');
  990. span.className = "adead_link";
  991. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  992. $(span).html(censoredLink);
  993. span.addEventListener("mouseover", displayTooltipError, false);
  994. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  995. textNode.parentNode.replaceChild(span, textNode);
  996. continue;
  997. alert(censoredLink);
  998. }
  999. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1000. {
  1001. if (!regex.test(myArray[0])) //this link is not recognized
  1002. {
  1003.  
  1004. continue;
  1005. }
  1006. if (!span)
  1007. span = document.createElement('span');
  1008.  
  1009. var link = myArray[0];
  1010. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1011.  
  1012. var $a = $("<a>" + link + "</a>")
  1013. if (!link.match(/https?:\/\//))
  1014. {
  1015. link = 'http://' + link;
  1016. }
  1017.  
  1018. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1019. .addClass("processing_link")
  1020. .appendTo(span);
  1021. lastLastIndex = allLinksRegex.lastIndex;
  1022. }
  1023. if (span)
  1024. {
  1025. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1026. textNode.parentNode.replaceChild(span, textNode);
  1027. }
  1028. }
  1029. }
  1030.  
  1031. function add_WARLC_style()
  1032. {
  1033. if (!(document.getElementsByTagName('WARLC')[0]))
  1034. {
  1035. var meta_not_to_add_more_style = document.createElement("WARLC");
  1036. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1037. meta_not_to_add_more_style.setAttribute('name', 'description');
  1038. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1039. alive_link_png = "";
  1040. adead_link_png = "";
  1041. unava_link_png = "";
  1042. prem_link_png = "";
  1043. switch(Icon_set)
  1044. {
  1045. //no icons
  1046. case 0: break;
  1047. // cat paws
  1048. case 1: alive_link_png = PAW_ICON_GREEN;
  1049. adead_link_png = PAW_ICON_RED;
  1050. unava_link_png = PAW_ICON_YELLOW;
  1051. prem_link_png = PAW_ICON_PINK;
  1052. break;
  1053. // classic RSLC look
  1054. case 2: alive_link_png = RSLC_ICON_GREEN;
  1055. adead_link_png = RSLC_ICON_RED;
  1056. unava_link_png = RSLC_ICON_YELLOW;
  1057. prem_link_png = RSLC_ICON_PINK;
  1058. break;
  1059. // New Icons
  1060. case 3: alive_link_png = NEW_ICON_GREEN;
  1061. adead_link_png = NEW_ICON_RED;
  1062. unava_link_png = NEW_ICON_YELLOW;
  1063. prem_link_png = NEW_ICON_PINK;
  1064. break;
  1065. // cat paws
  1066. default:alive_link_png = PAW_ICON_GREEN;
  1067. adead_link_png = PAW_ICON_RED;
  1068. unava_link_png = PAW_ICON_YELLOW;
  1069. prem_link_png = PAW_ICON_PINK;
  1070. break;
  1071. }
  1072. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1073. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1074.  
  1075. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1076.  
  1077. if (Color_DL_links)
  1078. {
  1079. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1080. live_color_css = 'color:' + Live_links_color + ' !important;';
  1081. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1082. container_color_css = 'color:' + Container_links_color + ' !important;';
  1083. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1084. }
  1085. else
  1086. {
  1087. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1088. }
  1089.  
  1090. if (Show_black_background_in_DL_links)
  1091. {
  1092. black_background_css = 'background-color: black !important;';
  1093. }
  1094. else
  1095. {
  1096. black_background_css = '';
  1097. }
  1098.  
  1099. if (Show_line_through_in_dead_links)
  1100. {
  1101. line_through_css = 'text-decoration: line-through !important;';
  1102. }
  1103. else
  1104. {
  1105. line_through_css = '';
  1106. }
  1107.  
  1108. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1109. 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 + "}");
  1110. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1111. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1112. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1113. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1114. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1115. }
  1116. }
  1117.  
  1118. var warlcTooltip = null;
  1119. var mouseoverLink = null; //link href with mouse cursor over it
  1120.  
  1121. var lastX = 0;
  1122. var lastY = 0;
  1123.  
  1124. $(document).ready(initTooltip);
  1125. //inits tooltip
  1126. function initTooltip()
  1127. { warlcTooltip = document.createElement("div");
  1128. 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:1000; max-width: " + TOOLTIP_MAXWIDTH + "px;");
  1129. warlcTooltip.style.visibility = "hidden";
  1130. document.body.appendChild(warlcTooltip);
  1131. }
  1132.  
  1133. //"mousemove" event handler for all links
  1134. function moveTooltip(event)
  1135. {
  1136. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1137. { //no need to reflow if the cursor moved just a little
  1138. return;
  1139. }
  1140. else
  1141. {
  1142. lastX = event.clientX;
  1143. lastY = event.clientY;
  1144. }
  1145.  
  1146. posX = event.clientX + window.pageXOffset + 10;
  1147. posY = event.clientY + window.pageYOffset;
  1148. var ttHeight = warlcTooltip.offsetHeight;
  1149. var ttFreeSpace = window.innerHeight - event.clientY;
  1150. if (ttHeight > ttFreeSpace)
  1151. { //prevents tooltip from getting out of the window
  1152. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1153. }
  1154. else
  1155. {
  1156. posY += 7;
  1157. }
  1158. warlcTooltip.style.top = posY + "px";
  1159. warlcTooltip.style.left = posX + "px";
  1160. }
  1161.  
  1162. //"mouseout" event handler for all links
  1163. function hideTooltip(){
  1164. warlcTooltip.style.visibility = "hidden";
  1165. mouseoverLink = null;
  1166. }
  1167.  
  1168.  
  1169. //"mouseover" event handler for dead links
  1170. //displays tooltip error message on dead links
  1171. function displayTooltipError()
  1172. {
  1173. mouseoverLink = this.href;
  1174. this.addEventListener("mouseout", hideTooltip);
  1175. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1176. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1177. warlcTooltip.style.minWidth = 0;
  1178. warlcTooltip.style.visibility = "visible";
  1179. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1180. {
  1181. warlcTooltip.innerHTML = this.warlc_error;
  1182. }
  1183. else
  1184. {
  1185. loadErrorInfo(this);
  1186. }
  1187. function loadErrorInfo(link)
  1188. {
  1189. var href = link.href;
  1190. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1191. GM_xmlhttpRequest({
  1192. method: 'GET',
  1193. url: href.replace(Ref_anonymize_service, ""),
  1194. headers: {
  1195. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1196. 'Accept': 'text/xml',
  1197. 'Referer': ""
  1198. },
  1199. onload: function(result) {
  1200. var res = result.responseText;
  1201. //TODO: errorRegexs -
  1202. var errorRegexs = [ //generic error messages follow
  1203. /(empty directory)/i,
  1204. /(soubor nebyl nalezen)/i,
  1205. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1206. //server specific error messages follow
  1207. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1208. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1209. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1210. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1211. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1212. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1213. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1214. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1215. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1216. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1217. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1218. /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1219. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1220. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1221. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1222. /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1223. /(File has been removed due to Copyright Claim)/, //filerio
  1224. ];
  1225. var errorIdx = errorRegexs.length;
  1226. var error = "Cause of error: <b>unknown</b>";
  1227. var errorCandidate = "";
  1228. while(errorIdx--)
  1229. {
  1230. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1231. if (errorCandidate != null)
  1232. {
  1233. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1234. break;
  1235. }
  1236. }
  1237. //link attributes
  1238. link.warlc_error = error;
  1239. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1240. {
  1241. warlcTooltip.innerHTML = error;
  1242. }
  1243. }
  1244. });
  1245. }
  1246. }
  1247.  
  1248. //"mouseover" event handler for alive links
  1249. //displays tooltip info (file size, file name,...) on alive links
  1250. function displayTooltipInfo()
  1251. {
  1252. mouseoverLink = this.href;
  1253. //exclude direct download filehostings
  1254. 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)/))
  1255. {
  1256. return;
  1257. }
  1258. this.addEventListener("mouseout", hideTooltip);
  1259. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1260. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1261. warlcTooltip.style.minWidth = 0;
  1262. warlcTooltip.style.visibility = "visible";
  1263. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1264. {
  1265. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1266. }
  1267. else
  1268. {
  1269. loadInfo(this);
  1270. }
  1271. function loadInfo(link)
  1272. {
  1273. var href = link.href;
  1274. GM_xmlhttpRequest({
  1275. method: 'GET',
  1276. url: href.replace(Ref_anonymize_service, ""),
  1277. headers: {
  1278. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1279. 'Accept': 'text/xml',
  1280. 'Referer': ""
  1281. },
  1282. onload: function(result) {
  1283. var res = result.responseText;
  1284. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1285. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1286. /fl" title="(.+?)">/, //edisk
  1287. /<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
  1288. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1289. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1290. /title="download (.+?)">/, //sendspace
  1291. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1292. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1293. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1294. /d0FileName = "(.+?)";/, //letitbit
  1295. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1296. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1297. /fname" value="(.+?)">/, //syfiles, grupload,
  1298. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1299. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1300. /Complete name : (.+?)<br \/>/, //bezvadata
  1301. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1302. ];
  1303. var nameIdx = nameRegexs.length;
  1304. // [sizeRegexs]
  1305. // / \ \?
  1306. // prefix (size) postfix
  1307. // / \
  1308. // val quant
  1309. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1310. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1311. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1312. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1313. var postSizeRegex = '(?:\\))?';
  1314. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1315. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1316. ];
  1317. var sizeIdx = sizeRegexs.length;
  1318. //
  1319. //
  1320. var tooltip = "File Name: <b>";
  1321. var fileName = "unknown";
  1322. var nameCandidate = "";
  1323. while(nameIdx--)
  1324. {
  1325. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1326. if (nameCandidate != null)
  1327. {
  1328. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1329. break;
  1330. }
  1331. }
  1332. tooltip += fileName + "</b><br>File Size: <b>";
  1333. var fileSize = "unknown";
  1334. var sizeCandidate = "";
  1335. while(sizeIdx--)
  1336. {
  1337. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1338. if (sizeCandidate != null)
  1339. {
  1340. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1341. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1342. {
  1343. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1344. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1345. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1346. }
  1347. break;
  1348. }
  1349. }
  1350. tooltip += fileSize + "</b>";
  1351. // PROTOTYPE
  1352. // video thumbnails
  1353. if (href.match('hellshare'))
  1354. {
  1355. var thumbs;
  1356. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1357. if (thumbs)
  1358. {
  1359. tooltip += '<br>';
  1360. var j = Math.min(thumbs.length, 9);
  1361. for (var i = 0; i < j; i++)
  1362. {
  1363. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1364. }
  1365. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1366. }
  1367. }
  1368. if (href.match('czshare'))
  1369. {
  1370. var thumbs;
  1371. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1372. if (thumbs)
  1373. {
  1374. var thumbsServer = thumbs[1];
  1375. var thumbsId = thumbs[2];
  1376. tooltip += '<br>';
  1377. for (var i = 1; i < 9; i++)
  1378. {
  1379. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1380. }
  1381. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1382. }
  1383. }
  1384. if (href.match('bezvadata'))
  1385. {
  1386. var thumbs;
  1387. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1388. if (thumbs)
  1389. {
  1390. tooltip += '<br>';
  1391. var j = Math.min(thumbs.length, 9);
  1392. for (var i = 0; i < j; i++)
  1393. {
  1394. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1395. }
  1396. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1397. }
  1398. }
  1399. link.warlc_tooltipcache = tooltip;
  1400. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1401. {
  1402. warlcTooltip.innerHTML = tooltip;
  1403. }
  1404. }
  1405. });
  1406. }
  1407. }
  1408.  
  1409. function setVariables()
  1410. {
  1411. if (firstRun)
  1412. {
  1413. GM_log('First run, applying default settings...');
  1414. GM_setValue("Icon_set",1);
  1415. GM_setValue("Display_tooltip_info",true);
  1416. GM_setValue("Show_black_background_in_DL_links",false);
  1417. GM_setValue("Show_line_through_in_dead_links",false);
  1418. GM_setValue("Display_full_links_in_link_containers",false);
  1419. GM_setValue("Allow_spaces_in_DL_links",false);
  1420. GM_setValue("Autocheck",true);
  1421. GM_setValue("Enable_Anonymizer",false);
  1422. GM_setValue("Do_not_linkify_DL_links",false);
  1423. GM_setValue("Show_progress_stats",true);
  1424. GM_setValue("Keyboard_functions",true);
  1425. GM_setValue("Obsolete_file_hosts",false);
  1426. GM_setValue("Color_DL_links",true);
  1427. GM_setValue("Live_links_color","Green");
  1428. GM_setValue("Dead_links_color","#FF3300");
  1429. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1430. GM_setValue("Container_links_color","DarkKhaki");
  1431. GM_setValue("Premium_links_color","DeepPink");
  1432. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1433. GM_setValue("Custom_rules",false);
  1434. GM_setValue("Custom_rules_text","");
  1435. GM_setValue("First_run", false);
  1436. }
  1437. //hidden settings
  1438. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1439. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1440. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1441. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1442. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1443. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1444. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1445. //hidden settings end
  1446.  
  1447. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1448. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1449. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1450. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1451. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1452. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1453. Autocheck = GM_getValue("Autocheck", true);
  1454. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1455. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1456. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1457. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1458. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1459. Color_DL_links = GM_getValue("Color_DL_links", true);
  1460. Live_links_color = GM_getValue("Live_links_color", "Green");
  1461. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1462. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1463. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1464. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1465. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1466. Custom_rules = GM_getValue("Custom_rules", false);
  1467. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1468. }
  1469.  
  1470.  
  1471. // Delinkifies the links
  1472. // params:
  1473. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1474. // e.g. 'uloz.to/xs68skxl8')
  1475. function delinkifySnapshot(snapshot)
  1476. {
  1477. var n = snapshot.snapshotLength;
  1478.  
  1479. while (n--)
  1480. {
  1481. thisLink = snapshot.snapshotItem(n);
  1482.  
  1483. var spanElm = document.createElement("span");
  1484. spanElm.className = thisLink.className;
  1485. spanElm.innerHTML = thisLink.innerHTML;
  1486.  
  1487. if (Display_tooltip_info)
  1488. {
  1489. spanElm.href = thisLink.href;
  1490. switch (thisLink.className){
  1491. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1492. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1493. case "unava_link": //reserved
  1494. default:
  1495. }
  1496. }
  1497. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1498. }
  1499. }
  1500.  
  1501. function processContainers()
  1502. {
  1503. var redirectorTypes = { "HTTP_302": 0,
  1504. "INNER_LINK": 1,
  1505. "THELOO_KATT_IT": 2,
  1506. "CING_BE": 3,
  1507. "ADF_LY": 4};
  1508. var cMultiloadTotal = 0;
  1509. var cMultiloadProcessed = 0;
  1510.  
  1511. var cMirrorcreatorComTotal = 0;
  1512. var cMirrorcreatorComProcessed = 0;
  1513.  
  1514. var hostRestrictionRegex = "";
  1515. var multiloadComRestriction = "";
  1516. var multiloadComRestrictionRegex;
  1517.  
  1518. //
  1519. //HANDLING REDIRECTORS START
  1520. //
  1521.  
  1522. var redirectors = new Array();
  1523. initRedirectors();
  1524.  
  1525. var redirectorsCount = redirectors.length;
  1526.  
  1527. if (redirectorsCount > 0)
  1528. {
  1529. var allRedirectorsRegex = "";
  1530.  
  1531. //linkify redirector links
  1532. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1533. {
  1534. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1535. }
  1536. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1537. linkify(allRedirectorsRegex);
  1538. //
  1539. //process redirector links
  1540. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1541. {
  1542. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1543. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1544.  
  1545. cLinksTotal += redirectors[redirIdx].cTotal;
  1546. var linkIdx = redirectors[redirIdx].cTotal;
  1547.  
  1548. while(linkIdx--)
  1549. {
  1550. switch(redirectors[redirIdx].type)
  1551. {
  1552. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1553. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1554. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1555. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1556. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1557. default:
  1558. }
  1559. }
  1560. }
  1561. //
  1562. }
  1563.  
  1564. //HTTP_302
  1565. function processRedirectorLink(link, redirectorId)
  1566. {
  1567. link.className = 'container_link';
  1568.  
  1569. GM_xmlhttpRequest({
  1570. method: 'HEAD',
  1571. url: link.href,
  1572. headers: {
  1573. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1574. 'Accept': 'text/xml',
  1575. 'Referer': ""
  1576. },
  1577. onload: function(result) {
  1578. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1579. {
  1580. processRedirectorLink(link, redirectorId);
  1581. }
  1582. else
  1583. {
  1584. redirectors[redirectorId].cProcessed++;
  1585. link.href = result.finalUrl;
  1586. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1587. checkLinks('container_link');
  1588. }
  1589. },
  1590. onerror: function(result) { //probably caused by unresponsive filehosting
  1591. redirectors[redirectorId].cProcessed++;
  1592. link.className = 'unava_link';
  1593. cLinksProcessed++;
  1594. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1595. checkLinks('container_link');
  1596. }
  1597. });
  1598. }
  1599. //INNER_LINK
  1600. function processRedirectorLinkEx(link, redirectorId)
  1601. {
  1602. link.className = 'container_link';
  1603. GM_xmlhttpRequest({
  1604. method: 'GET',
  1605. url: link.href,
  1606. headers: {
  1607. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1608. 'Accept': 'text/xml',
  1609. 'Referer': ""
  1610. },
  1611. onload: function(result) {
  1612. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1613. redirectors[redirectorId].cProcessed++;
  1614. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1615. checkLinks('container_link');
  1616. }
  1617. });
  1618. }
  1619. //theloo.katt.it (wrapped safelinking.net)
  1620. function processThelooKattItLink(link, redirectorId)
  1621. {
  1622. link.className = 'container_link';
  1623. GM_xmlhttpRequest({
  1624. method: 'GET',
  1625. url: link.href,
  1626. headers: {
  1627. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1628. 'Accept': 'text/xml',
  1629. 'Referer': ""
  1630. },
  1631. onload: function(result) {
  1632. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1633. redirectors[redirectorId].cProcessed++;
  1634. //the inner links are safelinking.net links, so lets proceed with it
  1635. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1636. {
  1637. processRedirectorLink(link, 0);
  1638. }
  1639. }
  1640. });
  1641. }
  1642. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1643. function processAdfLyLink(link, redirectorId)
  1644. {
  1645. link.className = 'container_link';
  1646. GM_xmlhttpRequest({
  1647. method: 'GET',
  1648. url: link.href,
  1649. headers: {
  1650. 'User-agent': 'Mozilla/4.0',
  1651. 'Accept': 'text/xml',
  1652. 'Referer': ""
  1653. },
  1654. onload: function(result) {
  1655. if (result.finalUrl.match('/locked/'))
  1656. {
  1657. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1658. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1659. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1660. }
  1661. else
  1662. {
  1663. // GM_log('Processing... ' + link.href);
  1664. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1665. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1666. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1667. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1668. //confirm advert
  1669. GM_xmlhttpRequest(
  1670. {
  1671. method: 'POST',
  1672. url: 'http://adf.ly/l.php',
  1673. headers: {
  1674. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1675. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1676. 'Referer': link.href
  1677. },
  1678. data: users + '&lt=' + logToken,
  1679. onload: function(result) {
  1680. //retrieve final url from .../go/... link
  1681. GM_xmlhttpRequest({
  1682. method: 'GET',
  1683. url: directLink,
  1684. headers: {
  1685. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1686. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1687. 'Referer': link.href
  1688. },
  1689. onload: function(result) {
  1690. link.href = result.finalUrl;
  1691. redirectors[redirectorId].cProcessed++;
  1692. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1693. checkLinks('container_link');
  1694. }
  1695. });
  1696. }
  1697. });
  1698. }
  1699. }
  1700. });
  1701. function proceedOK()
  1702. {
  1703. }
  1704. }
  1705. //MULTILOAD.CZ START
  1706. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1707. {
  1708. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1709. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1710.  
  1711. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1712.  
  1713. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1714. hostRestrictionRegex += 'hellshare|';
  1715. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1716. hostRestrictionRegex += 'share-rapid\\.com|';
  1717. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1718. hostRestrictionRegex += 'quickshare\\.cz|';
  1719. if (GM_getValue("Check_czshare_dot_com_links", false))
  1720. hostRestrictionRegex += 'czshare\\.com|';
  1721. if (GM_getValue("Check_uloz_dot_to_links", false))
  1722. hostRestrictionRegex += 'uloz\\.to|';
  1723. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1724. hostRestrictionRegex += 'hellspy|';
  1725. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1726. hostRestrictionRegex += 'multishare\\.cz|';
  1727.  
  1728. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1729.  
  1730. linkify(mlRegex);
  1731.  
  1732. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1733. var mlCount = mlSnapshot.snapshotLength;
  1734.  
  1735. if (mlCount > 0)
  1736. {
  1737. cMultiloadTotal += mlCount;
  1738.  
  1739. mlIdx = mlCount - 1;
  1740. do
  1741. {
  1742. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1743. }
  1744. while(mlIdx--)
  1745. }
  1746. }
  1747. //MULTILOAD.CZ END
  1748.  
  1749.  
  1750.  
  1751. function processMultiloadLink(mlLink)
  1752. {
  1753. GM_xmlhttpRequest({
  1754. method: 'GET',
  1755. url: mlLink.href,
  1756. headers: {
  1757. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1758. 'Accept': 'text/xml',
  1759. 'Referer': ""
  1760. },
  1761. onload: function(result) {
  1762. var res = result.responseText;
  1763.  
  1764. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1765. 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;
  1766. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1767. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1768.  
  1769. var blocks; // blocks of links
  1770. var blockIdx;
  1771.  
  1772. mlLink.className = '';
  1773.  
  1774. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1775. {
  1776. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1777. return;
  1778. }
  1779.  
  1780. blocks = res.match(innerBlockRegex);
  1781.  
  1782. if (blocks == null) //no links found, cancel further processing
  1783. {
  1784. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1785. cMultiloadProcessed++;
  1786. if (cMultiloadTotal <= cMultiloadProcessed)
  1787. {
  1788. startBulkCheck('container_link');
  1789. start('container_link');
  1790. }
  1791. return;
  1792. }
  1793.  
  1794. blockIdx = blocks.length;
  1795.  
  1796. if (Display_full_links_in_link_containers)
  1797. {
  1798. var ulElm = document.createElement('ul');
  1799. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1800.  
  1801. while(blockIdx--)
  1802. {
  1803. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1804. {
  1805. continue;
  1806. }
  1807.  
  1808. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1809.  
  1810. var linkIdx = innerLinks.length;
  1811. while (linkIdx--)
  1812. {
  1813. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1814.  
  1815. var liElm = document.createElement('li');
  1816.  
  1817. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1818. {
  1819. liElm.appendChild(document.createTextNode(innerLink));
  1820. }
  1821. else
  1822. {
  1823. var aElm = document.createElement('a');
  1824. aElm.innerHTML = innerLink;
  1825. aElm.href = innerLink;
  1826. aElm.className = 'container_link';
  1827.  
  1828. liElm.appendChild(aElm);
  1829. }
  1830.  
  1831. ulElm.appendChild(liElm);
  1832. cLinksTotal++;
  1833. }
  1834. }
  1835.  
  1836. mlLink.parentNode.appendChild(ulElm);
  1837. }
  1838. else //compact view
  1839. {
  1840. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1841.  
  1842. while(blockIdx--)
  1843. {
  1844. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1845. {
  1846. continue;
  1847. }
  1848.  
  1849. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1850.  
  1851. var linkIdx = innerLinks.length;
  1852. while (linkIdx--)
  1853. {
  1854. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1855.  
  1856. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1857. {
  1858. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1859. }
  1860. else
  1861. {
  1862. var aElm = document.createElement('a');
  1863.  
  1864. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1865.  
  1866. //abbreviate host name
  1867. switch(hostName + ""){
  1868.  
  1869. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1870. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1871. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1872. case 'multishare': aElm.innerHTML = 'MS'; break;
  1873. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1874. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1875. case 'czshare': aElm.innerHTML = 'CS'; break;
  1876. default: aElm.innerHTML = 'xx';
  1877.  
  1878. }
  1879.  
  1880. aElm.href = innerLink;
  1881. aElm.className = 'container_link';
  1882.  
  1883. mlLink.parentNode.appendChild(aElm);
  1884. cLinksTotal++;
  1885. }
  1886. }
  1887.  
  1888. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1889.  
  1890. }
  1891. }
  1892.  
  1893. cMultiloadProcessed++;
  1894. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1895. {
  1896. if (Do_not_linkify_DL_links)
  1897. {
  1898. delinkifySnapshot(mlSnapshot);
  1899. }
  1900. startBulkCheck('container_link');
  1901. start('container_link');
  1902. }
  1903. }
  1904. });
  1905. }
  1906.  
  1907.  
  1908. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1909. {
  1910. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1911. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1912. var mcShortHostNames =
  1913. '?? 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';
  1914. // 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
  1915. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1916. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1917. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1918. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1919.  
  1920. linkify(mcRegex);
  1921.  
  1922. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1923. var mcCount = mcSnapshot.snapshotLength;
  1924.  
  1925. cMirrorcreatorComTotal = mcCount;
  1926.  
  1927. if (mcCount > 0)
  1928. {
  1929. mcShortHostNames = mcShortHostNames.split(' ');
  1930. mcIdx = mcCount;
  1931. while(mcIdx--)
  1932. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1933. }
  1934.  
  1935. }
  1936. //MIRRORCREATOR.CZ END
  1937.  
  1938.  
  1939. //mirrorcreator.com checking works like this:
  1940. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1941. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1942. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1943. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1944. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1945. function processMirrorcreatorLink(mcLink)
  1946. {
  1947. var mcURL = mcLink.href.match(mcRegex);
  1948. if(!mcURL || !mcURL[1]) return;
  1949. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1950. GM_xmlhttpRequest({
  1951. method: 'GET',
  1952. url: mcURL,
  1953. headers: {
  1954. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1955. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1956. 'Referer': ""
  1957. },
  1958. onload: function(mcLinkResult) {
  1959. var mcLinkRes = mcLinkResult.responseText;
  1960.  
  1961. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1962. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1963.  
  1964. var mcRedirectors;
  1965. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1966. var m = mcLinkRes.match(mcLinkBlockRegex);
  1967. if (m)
  1968. mcHostsFound = m.length;
  1969. else
  1970. { //no files inside container
  1971. processMirrorcreatorFoundHosts(mcLink, []);
  1972. return;
  1973. }
  1974.  
  1975. var mcRedirectorURL, idx, timedOut = false;
  1976.  
  1977. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  1978. GM_xmlhttpRequest({
  1979. method: 'GET',
  1980. url: mcRedirectorURL,
  1981. headers: {
  1982. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1983. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1984. 'Referer': ""
  1985. },
  1986. onload: function(mcHostResult) {
  1987. if (timedOut) return; //too late, the list is already displayed
  1988. var mcHostRes = mcHostResult.responseText;
  1989. var mcHost = mcHostRes.match(mcHostRegex);
  1990. idx = mcHostURLs.indexOf(mcRedirectorURL);
  1991. if (mcHost && idx!=-1)
  1992. {
  1993. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  1994. mcHostsRetrieved++;
  1995. mcHostsToProcess++;
  1996. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  1997. {
  1998. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  1999. mcHostsToProcess = 0;
  2000. }
  2001. }
  2002. } //end of onload: function
  2003. }); //end of GM_xmlhttpRequest call
  2004. };//end of var gmxhrFunc
  2005.  
  2006. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2007. { //load individual redirector pages
  2008. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2009. mcHostURLs.push(mcRedirectorURL);
  2010. mcRedirectorIDs.push(mcRedirectors[2]);
  2011. gmxhrFunc(mcRedirectorURL);
  2012. } //end of while block
  2013.  
  2014. setTimeout(function(){ //in case the last page fails to load and call the function
  2015. timedOut = true;
  2016. if (mcHostsToProcess)
  2017. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2018. }, 60000);
  2019.  
  2020. } //end of onload function
  2021. }); //end of GM_xmlhttpRequest call
  2022. } //end of function processMirrorcreatorLink
  2023.  
  2024.  
  2025. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2026. {
  2027. var aEl, liEl, docFrag;
  2028. var hostName, mcRedirectorID, trimFilename = false;
  2029. var i = mcHostURLs.length;
  2030. if (i == 0)
  2031. {
  2032. trimFilename = true;
  2033. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2034. }
  2035. else
  2036. {
  2037. if (Display_full_links_in_link_containers)
  2038. { //full view
  2039. var wrapperEl = document.createElement('span');
  2040. wrapperEl.style.display = 'block';
  2041. var ulistEl = document.createElement('ul');
  2042. ulistEl.className = 'container_list';
  2043. while (i--)
  2044. {
  2045. liEl = document.createElement('li');
  2046. aEl = document.createElement('a');
  2047. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2048. aEl.href = mcHostURLs[i];
  2049. aEl.className = 'container_link';
  2050. liEl.appendChild(aEl);
  2051. ulistEl.appendChild(liEl);
  2052. }
  2053. wrapperEl.appendChild(ulistEl);
  2054. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2055. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2056. }
  2057. else
  2058. { //compact view
  2059. trimFilename = true;
  2060. docFrag = document.createDocumentFragment();
  2061. docFrag.appendChild(document.createTextNode(' |'));
  2062. while (i--)
  2063. {
  2064. mcRedirectorID = mcRedirectorIDs[i];
  2065. hostName = mcHostURLs[i];
  2066. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2067. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2068. else
  2069. hostName = mcShortHostNames[mcRedirectorID];
  2070. aEl = document.createElement('a');
  2071. aEl.href = mcHostURLs[i];
  2072. aEl.className = 'container_link';
  2073. aEl.appendChild(document.createTextNode(hostName));
  2074. docFrag.appendChild(aEl);
  2075. docFrag.appendChild(document.createTextNode('|'));
  2076. }
  2077. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2078. } //end of else block
  2079. } //end of else block
  2080. mcLink.className = '';
  2081. if (trimFilename)
  2082. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2083. cMirrorcreatorComProcessed++;
  2084. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2085. {
  2086. if (Do_not_linkify_DL_links)
  2087. delinkifySnapshot(mcSnapshot);
  2088. startBulkCheck('container_link');
  2089. start('container_link');
  2090. }
  2091. } //end of function processMirrorcreatorFoundHosts
  2092.  
  2093. containers_processed = true;
  2094.  
  2095.  
  2096. function initRedirectors()
  2097. {
  2098. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2099. {
  2100. var redirector = new Object();
  2101. redirector.linkRegex = linkRegex;
  2102. redirector.xpath = xpathEx; //xpath expression
  2103. redirector.cProcessed = 0; //processed links count
  2104. redirector.cTotal = 0; //total links count
  2105. redirector.type = redirType; //redirectorTypes enum
  2106. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2107. redirectors.push(redirector);
  2108. }
  2109. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2110. {
  2111. addRedirector(
  2112. 'safelinking\\.net\/d\/\\w+',
  2113. "//a[contains(@href,'safelinking.net/d/')]",
  2114. redirectorTypes.HTTP_302,
  2115. null);
  2116. }
  2117. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2118. {
  2119. addRedirector(
  2120. 'linksafe\\.me\/d\/\\w+',
  2121. "//a[contains(@href,'linksafe.me/d/')]",
  2122. redirectorTypes.HTTP_302,
  2123. null);
  2124. }
  2125. if (GM_getValue("Check_linkto_dot_net_links", false))
  2126. {
  2127. addRedirector(
  2128. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2129. "//a[contains(@href,'linkto.net/?')]",
  2130. redirectorTypes.INNER_LINK,
  2131. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2132. }
  2133. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2134. {
  2135. addRedirector(
  2136. '(?:the)?loo\\.katt\\.it\/\\w+',
  2137. "//a[contains(@href,'loo.katt.it/')]",
  2138. redirectorTypes.THELOO_KATT_IT,
  2139. /Proceed to URL - <a href="(.+?)">/);
  2140. }
  2141. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2142. {
  2143. addRedirector(
  2144. 'madlink\\.sk\/\\w+',
  2145. "//a[contains(@href,'madlink.sk/')]",
  2146. redirectorTypes.INNER_LINK,
  2147. /name="url" value="(.+?)\s*"\/>/);
  2148. }
  2149. if (GM_getValue("Check_adf_dot_ly_links", false))
  2150. {
  2151. addRedirector(
  2152. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2153. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2154. redirectorTypes.ADF_LY,
  2155. null);
  2156. }
  2157. if (GM_getValue("Check_redi_dot_re_links", false))
  2158. {
  2159. addRedirector(
  2160. 'redi\\.re\/\\w+',
  2161. "//a[contains(@href,'redi.re/')]",
  2162. redirectorTypes.HTTP_302,
  2163. null);
  2164. }
  2165. if (GM_getValue("Check_bit_dot_ly_links", false))
  2166. {
  2167. addRedirector(
  2168. 'bit\\.ly\/\\w+',
  2169. "//a[contains(@href,'bit.ly/')]",
  2170. redirectorTypes.HTTP_302,
  2171. null);
  2172. }
  2173. }
  2174.  
  2175. }
  2176.  
  2177. var bulkHosts = new Array();
  2178. var bulkHostNames = new Array();
  2179. function initBulkCheck()
  2180. {
  2181. /////////////////////////////
  2182. // Inits filehost object
  2183. /////////////////////////////
  2184. // params :
  2185. // hostName -- [string] host name (multiple domains separated with coma)
  2186. // linkRegex -- [string] link regex
  2187. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2188. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2189. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2190. // corrReplWhat -- [regex] link correction regex (replace)
  2191. // corrReplWith -- [string]
  2192. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2193. //
  2194. // apiUrl -- [string] web linkchecker or API URL
  2195. // postData -- [string] POSTDATA of xmlhttprequest
  2196. // resLinkRegex -- [regex]
  2197. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2198. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2199. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2200. // func -- [function] bulkcheck handler, genBulkCheck if null
  2201. //
  2202. //////////////////////////////
  2203. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2204. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2205. {
  2206. var fileHost = new Object();
  2207.  
  2208. fileHost.linkRegex = linkRegex;
  2209. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2210. fileHost.xpath = xpath;
  2211. fileHost.cFound = 0; //found links counter
  2212. fileHost.links = new Array(); //found links
  2213. if (blockSize == null)
  2214. {
  2215. fileHost.blockSize = 50;
  2216. }
  2217. else
  2218. {
  2219. fileHost.blockSize = blockSize;
  2220. }
  2221. fileHost.corrMatch = corrMatch;
  2222. fileHost.corrReplWhat = corrReplWhat;
  2223. fileHost.corrReplWith = corrReplWith;
  2224. if (splitSeparator == null)
  2225. {
  2226. fileHost.splitSeparator = "\r\n";
  2227. }
  2228. else
  2229. {
  2230. fileHost.splitSeparator = splitSeparator;
  2231. }
  2232. fileHost.apiUrl = apiUrl;
  2233. fileHost.postData = postData;
  2234. fileHost.resLinkRegex = resLinkRegex;
  2235. fileHost.resLiveRegex = resLiveRegex;
  2236. fileHost.resDeadRegex = resDeadRegex;
  2237. fileHost.resUnavaRegex = resUnavaRegex;
  2238. if (func == null)
  2239. {
  2240. fileHost.func = genBulkCheck;
  2241. }
  2242. else
  2243. {
  2244. fileHost.func = func;
  2245. }
  2246. bulkHosts.push(fileHost);
  2247. var names = hostName.split(',');
  2248. var i = names.length;
  2249. while(i--)
  2250. {
  2251. bulkHostNames[names[i]] = fileHost;
  2252. }
  2253. }
  2254. var genType1 = [
  2255. "migahost.com", "rodfile.com", "downloadani.me",
  2256. "rarefile.net",
  2257. "filesabc.com",
  2258. "180upload.com", "verzend.be",
  2259. "movreel.com",
  2260. "4up.me",
  2261. "file4safe.com", "filemac.com", "4upfiles.com",
  2262. "idup.in", "novafile.com", "longfiles.com",
  2263. "bitupload.com",
  2264. "uploadbaz.com"
  2265. ];
  2266. var genType2 = [ "queenshare.com",
  2267. "hulkload.com",
  2268. "amonshare.com", "edoc.com",
  2269. ];
  2270. //xfilesharing 1.0
  2271. function addGenericType1()
  2272. {
  2273. var i = genType1.length;
  2274. while(i--)
  2275. {
  2276. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2277. {
  2278. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2279. addHost(
  2280. genType1[i].match(/[\w-]+/)[0], //hostname
  2281. regexSafe + "\/\\w+", //linkregex
  2282. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2283. null, //blocksize
  2284. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2285. null, //corrreplwhat
  2286. null, //corrreplwith
  2287. null, //separator
  2288. "http://" + genType1[i] + "/checkfiles.html", //api url
  2289. "op=checkfiles&process=Check+URLs&list=", //postdata
  2290. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2291. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2292. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2293. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2294. null //function delegate
  2295. )
  2296. }
  2297. }
  2298. }
  2299. //xfilesharing 2.0
  2300. function addGenericType2()
  2301. {
  2302. var i = genType2.length;
  2303. while(i--)
  2304. {
  2305. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2306. {
  2307. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2308. addHost(
  2309. genType2[i].match(/[\w-]+/)[0], //hostname
  2310. regexSafe + "\/\\w+", //linkregex
  2311. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2312. null, //blocksize
  2313. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2314. null, //corrreplwhat
  2315. null, //corrreplwith
  2316. null, //separator
  2317. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2318. "op=checkfiles&process=Check+URLs&list=", //postdata
  2319. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2320. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2321. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2322. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2323. null //function delegate
  2324. )
  2325. }
  2326. }
  2327. }
  2328. // TEMPLATE
  2329. // if (GM_getValue("Check__dot_com_links", false))
  2330. // {
  2331. // addHost(
  2332. // "", //hostname
  2333. // "", //linkregex
  2334. // "//a[contains(@href,'.com/')]", //xpath
  2335. // null, //blocksize
  2336. // null, //corrmatch
  2337. // null, //corrreplwhat
  2338. // null, //corrreplwith
  2339. // null, //separator
  2340. // "", //api url
  2341. // "", //postdata
  2342. // /()/, //linkregex
  2343. // //liveregex
  2344. // //deadregex
  2345. // //unavaregex
  2346. // null //function delegate
  2347. // )
  2348. // }
  2349. addGenericType1();
  2350. addGenericType2();
  2351.  
  2352. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2353. {
  2354. addHost(
  2355. "myvdrive,fileserving", //hostname
  2356. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2357. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2358. null, //blocksize
  2359. null, //corrmatch
  2360. null, //corrreplwhat
  2361. null, //corrreplwith
  2362. null, //separator
  2363. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2364. "links=", //postdata
  2365. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2366. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2367. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2368. null, //unavaregex
  2369. null //function delegate
  2370. )
  2371. }
  2372. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2373. {
  2374. addHost(
  2375. "hackerbox", //hostname
  2376. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2377. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2378. null, //blocksize
  2379. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2380. null, //corrreplwhat
  2381. null, //corrreplwith
  2382. null, //separator
  2383. "http://host.hackerbox.org/checkfiles.html", //api url
  2384. "op=checkfiles&process=Check+URLs&list=", //postdata
  2385. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2386. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2387. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2388. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2389. null //function delegate
  2390. )
  2391. }
  2392. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2393. {
  2394. addHost(
  2395. "hellshare", //hostname
  2396. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2397. "//a[contains(@href,'hellshare.')]", //xpath
  2398. 48, //blocksize
  2399. null, //corrmatch
  2400. null, //corrreplwhat
  2401. null, //corrreplwith
  2402. null, //separator
  2403. null, //api url
  2404. null, //postdata
  2405. null, //linkregex
  2406. null, //liveregex
  2407. null, //deadregex
  2408. null, //unavaregex
  2409. hellshareBulkCheck //function delegate
  2410. )
  2411. }
  2412. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2413. {
  2414. addHost(
  2415. "ncrypt", //hostname
  2416. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2417. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2418. 100000, //blocksize
  2419. null, //corrmatch
  2420. null, //corrreplwhat
  2421. null, //corrreplwith
  2422. null, //separator
  2423. null,
  2424. null,
  2425. null,
  2426. null,
  2427. null,
  2428. null,
  2429. ncryptBulkCheck //function delegate
  2430. )
  2431. }
  2432. if (GM_getValue("Check_geupload_dot_com_links", false))
  2433. {
  2434. addHost(
  2435. "geupload,lenfile", //hostname
  2436. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2437. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2438. null, //blocksize
  2439. null, //corrmatch
  2440. null, //corrreplwhat
  2441. null, //corrreplwith
  2442. "\n", //separator
  2443. 'http://geupload.com/?op=checkfiles',
  2444. 'op=checkfiles&process=Check+URLs&list=',
  2445. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2446. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2447. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2448. null,
  2449. null
  2450. )
  2451. }
  2452. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2453. {
  2454. addHost(
  2455. "uploadrocket", //hostname
  2456. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2457. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2458. null, //blocksize
  2459. null, //corrmatch
  2460. null, //corrreplwhat
  2461. null, //corrreplwith
  2462. "\n", //separator
  2463. 'http://uploadrocket.net/?op=checkfiles',
  2464. 'op=checkfiles&process=Check+URLs&list=',
  2465. /uploadrocket.net\/(\w+)/,
  2466. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2467. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2468. null,
  2469. null //function delegate
  2470. )
  2471. }
  2472. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2473. {
  2474. addHost(
  2475. "k2s,keep2s,keep2share",
  2476. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2477. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2478. 100000, //blocksize
  2479. null, //corrmatch
  2480. null, //corrreplwhat
  2481. null, //corrreplwith
  2482. null, //separator
  2483. null,
  2484. null,
  2485. null,
  2486. null,
  2487. null,
  2488. null,
  2489. k2sBulkCheck //function delegate
  2490. )
  2491. }
  2492. if (GM_getValue("Check_fboom_dot_me_links", false))
  2493. {
  2494. addHost(
  2495. "fboom,fileboom",
  2496. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2497. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2498. 100000, //blocksize
  2499. null, //corrmatch
  2500. null, //corrreplwhat
  2501. null, //corrreplwith
  2502. null, //separator
  2503. null,
  2504. null,
  2505. null,
  2506. null,
  2507. null,
  2508. null,
  2509. fboomBulkCheck //function delegate
  2510. )
  2511. }
  2512. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2513. {
  2514. addHost(
  2515. "depositfiles,dfiles",
  2516. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2517. "//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/')]",
  2518. 100000, //blocksize
  2519. null, //corrmatch
  2520. null, //corrreplwhat
  2521. null, //corrreplwith
  2522. null, //separator
  2523. null,
  2524. null,
  2525. null,
  2526. null,
  2527. null,
  2528. null,
  2529. depositfilesBulkCheck //function delegate
  2530. )
  2531. }
  2532. if (GM_getValue("Check_filepost_dot_com_links", false))
  2533. {
  2534. addHost(
  2535. "filepost,fp", //hostname
  2536. "(?:filepost\\.com\/files|fp\\.io)\/\\w+", //linkregex
  2537. "//a[contains(@href,'filepost.com/files/') or contains(@href,'fp.io/')]", //xpath
  2538. null, //blocksize
  2539. null, //corrmatch
  2540. null, //corrreplwhat
  2541. null, //corrreplwith
  2542. "\n", //separator
  2543. 'http://filepost.com/files/checker/?JsHttpRequest=0-xml',
  2544. 'urls=',
  2545. /\\\/files\\\/(\w+)/,
  2546. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"v\\"/g,
  2547. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"x\\"/g,
  2548. null,
  2549. null //function delegate
  2550. )
  2551. }
  2552. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2553. {
  2554. addHost(
  2555. "filesflash", //hostname
  2556. "filesflash\\.com\/\\w+", //linkregex
  2557. "//a[contains(@href,'filesflash.com')]", //xpath
  2558. null, //blocksize
  2559. null, //corrmatch
  2560. /http:\/\//, //corrreplwhat
  2561. '', //corrreplwith
  2562. null, //separator
  2563. 'http://filesflash.com/checklinks.php',
  2564. 'submit=Go&links=',
  2565. /filesflash\.com\/(\w+)/,
  2566. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2567. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2568. null,
  2569. null //function delegate
  2570. )
  2571. }
  2572. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2573. {
  2574. addHost(
  2575. "jumbofiles", //hostname
  2576. "jumbofiles\\.com\/\\w+", //linkregex
  2577. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2578. null, //blocksize
  2579. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2580. null, //corrreplwhat
  2581. null, //corrreplwith
  2582. null, //separator
  2583. "http://jumbofiles.com/checkfiles.html", //api url
  2584. "op=checkfiles&process=Check+URLs&list=", //postdata
  2585. /(jumbofiles\.com\/\w+)/, //linkregex
  2586. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2587. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2588. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2589. null //function delegate
  2590. )
  2591. }
  2592. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2593. {
  2594. addHost(
  2595. "edisk", //hostname
  2596. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2597. "//a[contains(@href,'edisk.')]", //xpath
  2598. null, //blocksize
  2599. null, //corrmatch
  2600. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2601. 'edisk.cz/stahni', //corrreplwith
  2602. null, //separator
  2603. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2604. 'submitBtn=Zkontrolovat&checkFiles=',
  2605. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2606. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2607. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2608. null,
  2609. null //function delegate
  2610. )
  2611. }
  2612. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2613. {
  2614. GM_xmlhttpRequest( //age check skip
  2615. {
  2616. method: 'POST',
  2617. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2618. headers: {
  2619. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2620. 'Content-type': 'application/x-www-form-urlencoded',
  2621. 'Referer': ""
  2622. }
  2623. });
  2624. addHost(
  2625. "bezvadata", //hostname
  2626. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2627. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2628. null, //blocksize
  2629. null, //corrmatch
  2630. null, //corrreplwhat
  2631. null, //corrreplwith
  2632. null, //separator
  2633. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2634. 'zkontrolovat=Zkontrolovat&odkazy=',
  2635. /(bezvadata\.cz\/stahnout\/\d+)/,
  2636. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2637. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2638. null,
  2639. null //function delegate
  2640. )
  2641. }
  2642. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2643. {
  2644. addHost(
  2645. "linkcrypt", //hostname
  2646. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2647. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2648. 100000, //blocksize
  2649. null, //corrmatch
  2650. null, //corrreplwhat
  2651. null, //corrreplwith
  2652. null, //separator
  2653. null,
  2654. null,
  2655. null,
  2656. null,
  2657. null,
  2658. null,
  2659. linkcryptBulkCheck //function delegate
  2660. )
  2661. }
  2662. if (GM_getValue("Check_linksave_dot_in_links", false))
  2663. {
  2664. addHost(
  2665. "linksave", //hostname
  2666. "linksave\\.in\/\\w+", //linkregex
  2667. "//a[contains(@href,'linksave.in')]", //xpath
  2668. 100000, //blocksize
  2669. null, //corrmatch
  2670. null, //corrreplwhat
  2671. null, //corrreplwith
  2672. null, //separator
  2673. null,
  2674. null,
  2675. null,
  2676. null,
  2677. null,
  2678. null,
  2679. linksaveBulkCheck //function delegate
  2680. )
  2681. }
  2682. if (GM_getValue("Check_videobb_dot_com_links", false))
  2683. {
  2684. addHost(
  2685. "videobb", //hostname
  2686. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2687. "//a[contains(@href,'videobb.com')]", //xpath
  2688. null, //blocksize
  2689. null, //corrmatch
  2690. /watch_video\.php\?v=/, //corrreplwhat
  2691. 'video/', //corrreplwith
  2692. null, //separator
  2693. 'http://www.videobb.com/link_checker.php',
  2694. 'links=',
  2695. /videobb\.com\/video\/(\w+)/,
  2696. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2697. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2698. null,
  2699. null //function delegate
  2700. )
  2701. }
  2702. if (GM_getValue("Check_cramit_dot_in_links", false))
  2703. {
  2704. addHost(
  2705. "cramit,cramitin", //hostname
  2706. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2707. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2708. null, //blocksize
  2709. null, //corrmatch
  2710. null, //corrreplwhat
  2711. null, //corrreplwith
  2712. null, //separator
  2713. 'http://cramit.in/checkfiles.html',
  2714. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2715. /(cramit(?:\.in|in\.net)\/\w+)/,
  2716. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2717. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2718. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2719. null //function delegate
  2720. )
  2721. }
  2722. /* if (GM_getValue("Check_turbobit_dot_net_links", false))
  2723. {
  2724. addHost(
  2725. "turbobit", //hostname
  2726. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2727. "//a[contains(@href,'turbobit.')]", //xpath
  2728. null, //blocksize
  2729. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2730. null, //corrreplwhat
  2731. null, //corrreplwith
  2732. "\n", //separator
  2733. 'http://turbobit.net/linkchecker/csv',
  2734. 'links_to_check=',
  2735. /(turbobit\.(?:net|pl)\/\w+)/,
  2736. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2737. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2738. null,
  2739. null //function delegate
  2740. )
  2741. } */
  2742. if (GM_getValue("Check_filerio_dot_com_links", false))
  2743. {
  2744. addHost(
  2745. "filekeen,filerio", //hostname
  2746. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2747. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2748. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2749. null, //blocksize
  2750. null, //corrmatch
  2751. null, //corrreplwhat
  2752. null, //corrreplwith
  2753. null, //separator
  2754. 'http://filerio.in/checkfiles.html',
  2755. 'op=checkfiles&process=Check+URLs&list=',
  2756. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2757. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2758. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2759. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2760. null //function delegate
  2761. )
  2762. }
  2763. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2764. {
  2765. addHost(
  2766. "share-online,egoshare", //hostname
  2767. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2768. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2769. null, //blocksize
  2770. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2771. null, //corrreplwhat
  2772. null, //corrreplwith
  2773. "\n", //separator
  2774. 'http://api.share-online.biz/linkcheck.php',
  2775. 'links=',
  2776. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2777. /\w+;OK/g,
  2778. /\w+;(?:NOTFOUND|DELETED)/g,
  2779. null,
  2780. null //function delegate
  2781. )
  2782. }
  2783. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2784. {
  2785. addHost(
  2786. "quickshare", //hostname
  2787. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2788. "//a[contains(@href,'quickshare.cz')]", //xpath
  2789. null, //blocksize
  2790. null, //corrmatch
  2791. null, //corrreplwhat
  2792. null, //corrreplwith
  2793. null, //separator
  2794. 'http://www.quickshare.cz/nastroje/link-checker',
  2795. 'linky=',
  2796. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2797. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2798. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2799. null,
  2800. null //function delegate
  2801. )
  2802. }
  2803. if (GM_getValue("Check_netload_dot_in_links", false))
  2804. {
  2805. addHost(
  2806. "netload", //hostname
  2807. "netload\\.in\/datei\\w{10}", //linkregex
  2808. "//a[contains(@href,'netload.in')]", //xpath
  2809. null, //blocksize
  2810. null, //corrmatch
  2811. null, //corrreplwhat
  2812. null, //corrreplwith
  2813. "\n", //separator
  2814. "http://api.netload.in/index.php?id=2", //api url
  2815. "send=Absenden&links=", //postdata
  2816. /(\w+);/, //linkregex
  2817. /\w{10,};.+?;.+?;online/g, //liveregex
  2818. /\w{10,};.+?;.+?;offline/g, //deadregex
  2819. null, //unavaregex
  2820. //netloadBulkCheck //function delegate //disabled on probation since 1.2.4.5
  2821. null //function delegate
  2822. )
  2823. }
  2824. if (GM_getValue("Check_oboom_dot_com_links", false))
  2825. {
  2826. addHost(
  2827. "oboom", //hostname
  2828. "oboom\\.com\/#?\\w{8}", //linkregex
  2829. "//a[contains(@href,'oboom.com/')]", //xpath
  2830. null, //blocksize
  2831. /oboom\.com\/#?(\w{8})/, //corrmatch
  2832. null, //corrreplwhat
  2833. null, //corrreplwith
  2834. null, //separator
  2835. null,
  2836. null,
  2837. null,
  2838. null, //liveregex
  2839. null, //deadregex
  2840. null,
  2841. oboomBulk //function delegate
  2842. )
  2843. }
  2844. if (GM_getValue("Check_mega_dot_nz_links", false))
  2845. {
  2846. addHost(
  2847. "mega",
  2848. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2849. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2850. 100000, //blocksize
  2851. null, //corrmatch
  2852. null, //corrreplwhat
  2853. null, //corrreplwith
  2854. null, //separator
  2855. null,
  2856. null,
  2857. null,
  2858. null,
  2859. null,
  2860. null,
  2861. megaBulkCheck //function delegate
  2862. )
  2863. }
  2864.  
  2865. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2866.  
  2867. if (GM_getValue("Check_extabit_dot_com_links", false))
  2868. {
  2869. addHost(
  2870. "extabit", //hostname
  2871. "extabit\\.com\/file\/\\w+", //linkregex
  2872. "//a[contains(@href,'extabit.com')]", //xpath
  2873. null, //blocksize
  2874. null, //corrmatch
  2875. null, //corrreplwhat
  2876. null, //corrreplwith
  2877. "\n", //separator
  2878. "http://extabit.com/linkchecker.jsp", //api url
  2879. "url=", //postdata
  2880. /extabit\.com\/(file\/\w+)/, //linkregex
  2881. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2882. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2883. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2884. extabitBulkCheck //function delegate
  2885. )
  2886. }
  2887. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2888. {
  2889. addHost(
  2890. "junocloud", //hostname
  2891. "junocloud\\.me\/\\w+", //linkregex
  2892. "//a[contains(@href,'junocloud.me')]", //xpath
  2893. null, //blocksize
  2894. null, //corrmatch
  2895. null, //corrreplwhat
  2896. null, //corrreplwith
  2897. "\n", //separator
  2898. "http://junocloud.me/checkfiles.html", //api url
  2899. "op=checkfiles&process=Check+URLs&list=", //postdata
  2900. /(junocloud\.me\/\w+)/, //linkregex
  2901. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2902. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2903. null, //unavaregex
  2904. null //function delegate
  2905. )
  2906. }
  2907. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2908. {
  2909. addHost(
  2910. "webshare", //hostname
  2911. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2912. "//a[contains(@href,'webshare.cz')]", //xpath
  2913. 100000, //blocksize
  2914. null, //corrmatch
  2915. null, //corrreplwhat
  2916. null, //corrreplwith
  2917. null, //separator
  2918. null, //api url
  2919. null, //postdata
  2920. null, //linkregex
  2921. null, //liveregex
  2922. null, //deadregex
  2923. null, //unavaregex
  2924. webshareBulkCheck //function delegate
  2925. )
  2926. }
  2927. /////////////////////////////
  2928. // Common function delegate to send links to get checked by host linkchecker
  2929. /////////////////////////////
  2930. // If you define a new delegate, you may use following properties
  2931. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2932. // this.apiUrl [string] API or web linkchecker URL
  2933. // this.postData [string] POSTDATA for POST request
  2934. // this.resLiveRegex [regex] matches live substrings in the request response
  2935. // this.resDeadRegex [regex] matches dead substrings in the request response
  2936. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2937. //
  2938. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2939. //
  2940. // See the code below for standard bulkcheck handling reference.
  2941. //////////////////////////////
  2942. function genBulkCheck()
  2943. {
  2944. var blockIdx = this.links.length;
  2945. while (blockIdx--)
  2946. {
  2947. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2948. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2949. }
  2950. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2951. {
  2952. GM_xmlhttpRequest(
  2953. {
  2954. method: 'POST',
  2955. url: api,
  2956. headers: {
  2957. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2958. 'Content-type': 'application/x-www-form-urlencoded',
  2959. 'Referer': api,
  2960. 'X-Requested-With': 'XMLHttpRequest'
  2961. },
  2962. data: postData + encodeURIComponent(links),
  2963. onload: function (result)
  2964. {
  2965. var res = result.responseText;
  2966. // GM_log(res);
  2967. var i;
  2968.  
  2969. var livelinks = res.match(liveRegex);
  2970. var deadlinks = res.match(deadRegex);
  2971. // GM_log(livelinks);
  2972. // GM_log(deadlinks);
  2973. if (livelinks != null)
  2974. {
  2975. i = livelinks.length - 1;
  2976. do
  2977. {
  2978. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2979. }
  2980. while (i--);
  2981. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2982. }
  2983.  
  2984. if (deadlinks != null)
  2985. {
  2986. i = deadlinks.length - 1;
  2987. do
  2988. {
  2989. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2990. }
  2991. while (i--);
  2992. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2993. }
  2994.  
  2995. if (unavaRegex != null)
  2996. {
  2997. var unavalinks = res.match(unavaRegex);
  2998. if (unavalinks)
  2999. {
  3000. i = unavalinks.length - 1;
  3001. do
  3002. {
  3003. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3004. }
  3005. while (i--);
  3006. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3007. }
  3008. }
  3009. }
  3010. });
  3011. }
  3012. }
  3013. //specialized bulkchecking handlers follow
  3014. function webshareBulkCheck()
  3015. {
  3016. var arr = this.links[0].split("\r\n");
  3017. var i = arr.length;
  3018. while(i--)
  3019. {
  3020. postRequest(arr[i]);
  3021. }
  3022. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3023. function postRequest(wsLink)
  3024. {
  3025. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3026. GM_xmlhttpRequest(
  3027. {
  3028. method: 'POST',
  3029. url: "http://webshare.cz/api/file_info/",
  3030. headers: {
  3031. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3032. 'Content-type': 'application/x-www-form-urlencoded',
  3033. 'Referer': "",
  3034. },
  3035. data: "wst=&ident=" + id,
  3036. onload: function (result)
  3037. {
  3038. var res = result.responseText;
  3039. if (res.match(/<name>.+?<\/name>/))
  3040. {
  3041. DisplayTheCheckedLinks([id], 'alive_link');
  3042. }
  3043. else
  3044. {
  3045. DisplayTheCheckedLinks([id], 'adead_link');
  3046. }
  3047. }
  3048. });
  3049. }
  3050. }
  3051. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3052. //extabit also doesn't like requests in fast succession, so some delays are added.
  3053. function extabitBulkCheck()
  3054. {
  3055. var timeoutDelay = 0;
  3056. var blockIdx = this.links.length;
  3057. while (blockIdx--)
  3058. {
  3059. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3060. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3061. }
  3062. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3063. {
  3064. GM_xmlhttpRequest(
  3065. {
  3066. method: 'POST',
  3067. url: api,
  3068. headers: {
  3069. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3070. 'Content-type': 'application/x-www-form-urlencoded',
  3071. 'Referer': api,
  3072. 'X-Requested-With': 'XMLHttpRequest'
  3073. },
  3074. data: postData + encodeURIComponent(links),
  3075. onload: function (result)
  3076. {
  3077. var res = result.responseText;
  3078. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3079. {
  3080. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3081. {
  3082. //GM_log(tryID + ': ' + link);
  3083. GM_xmlhttpRequest(
  3084. {
  3085. method: 'GET',
  3086. url: link,
  3087. 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': ""},
  3088. onload: function(result2)
  3089. {
  3090. var res2 = result2.responseText;
  3091. var res2Status = result.status;
  3092. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3093. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3094. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3095. {
  3096. if (tryID < 7)
  3097. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3098. else
  3099. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3100. }
  3101. }
  3102. });
  3103. }
  3104. //split the hrefs and check them one by one
  3105. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3106. links = links.split('\n');
  3107. var i = links.length;
  3108. while (i--)
  3109. {
  3110. if (links[i])
  3111. {
  3112. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3113. timeoutDelay += 500;
  3114. }
  3115. }
  3116. return;
  3117. }
  3118. var i;
  3119.  
  3120. var livelinks = res.match(liveRegex);
  3121. var deadlinks = res.match(deadRegex);
  3122. if (livelinks != null)
  3123. {
  3124. i = livelinks.length - 1;
  3125. do
  3126. {
  3127. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3128. }
  3129. while (i--);
  3130. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3131. }
  3132.  
  3133. if (deadlinks != null)
  3134. {
  3135. i = deadlinks.length - 1;
  3136. do
  3137. {
  3138. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3139. }
  3140. while (i--);
  3141. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3142. }
  3143.  
  3144. if (unavaRegex != null)
  3145. {
  3146. var unavalinks = res.match(unavaRegex);
  3147. if (unavalinks)
  3148. {
  3149. i = unavalinks.length - 1;
  3150. do
  3151. {
  3152. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3153. }
  3154. while (i--);
  3155. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3156. }
  3157. }
  3158. }
  3159. });
  3160. }
  3161. }
  3162. function netloadBulkCheck()
  3163. {
  3164. var blockIdx = this.links.length;
  3165.  
  3166. while (blockIdx--)
  3167. {
  3168. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3169. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.unavaRegex);
  3170. }
  3171. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3172. {
  3173. GM_xmlhttpRequest(
  3174. {
  3175. method: 'POST',
  3176. url: api,
  3177. headers: {
  3178. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3179. 'Content-type': 'application/x-www-form-urlencoded',
  3180. 'Referer': ""
  3181. },
  3182. data: postData + encodeURIComponent(links),
  3183. onload: function (result)
  3184. {
  3185. var res = result.responseText;
  3186. var i;
  3187.  
  3188. var livelinks = res.match(liveRegex);
  3189. var deadlinks = res.match(deadRegex);
  3190. if (livelinks != null)
  3191. {
  3192. i = livelinks.length - 1;
  3193. do
  3194. {
  3195. recheckLink(livelinks[i].match(linkRegex)[1]);
  3196. }
  3197. while(i--);
  3198. }
  3199.  
  3200. if (deadlinks != null)
  3201. {
  3202. i = deadlinks.length - 1;
  3203. do
  3204. {
  3205. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3206. }
  3207. while (i--);
  3208. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3209. }
  3210. }
  3211. });
  3212. }
  3213. function recheckLink(link)
  3214. {
  3215. var link = link;
  3216. GM_xmlhttpRequest(
  3217. {
  3218. method: 'GET',
  3219. url: 'http://netload.in/datei' + link + '.htm',
  3220. headers: {
  3221. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3222. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3223. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3224. 'Referer': ""
  3225. },
  3226. onload: function (result)
  3227. {
  3228. var res = result.responseText;
  3229.  
  3230. if (res.match(/dl_first_file_download">|download_limit\.gif/))
  3231. {
  3232. DisplayTheCheckedLinks([link], 'alive_link');
  3233. return;
  3234. }
  3235.  
  3236. if (res.match(/achtung\.jpg"/))
  3237. {
  3238. DisplayTheCheckedLinks([link], 'adead_link');
  3239. }
  3240. },
  3241. onerror: function ()
  3242. {
  3243. displayTheCheckedLink(link, 'unava_link');
  3244. }
  3245. });
  3246. }
  3247. }
  3248. function k2sBulkCheck()
  3249. {
  3250. var arr = this.links[0].split("\r\n");
  3251. var i = arr.length;
  3252. c=0;
  3253. while(i--)
  3254. {
  3255. c++;
  3256. setTimeout(k2sRequest,c*500,arr[i]);
  3257. }
  3258. }
  3259. function k2sRequest(K2SLink)
  3260. {
  3261. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3262. K2SLink2='http://k2s.cc/file/'+id;
  3263. GM_xmlhttpRequest(
  3264. {
  3265. method: 'GET',
  3266. url: K2SLink,
  3267. headers: {
  3268. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3269. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3270. 'Referer': ''
  3271. },
  3272. onload: function (result)
  3273. {
  3274. var res = result.responseText;
  3275. 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'))
  3276. {
  3277. DisplayTheCheckedLinks([id], 'adead_link');
  3278. return;
  3279. }
  3280. if (res.match('method="post">Displaying'))
  3281. {
  3282. DisplayTheCheckedLinks([id], 'unava_link');
  3283. return;
  3284. }
  3285. if (res.match('Premium only'))
  3286. {
  3287. DisplayTheCheckedLinks([id], 'prem_link');
  3288. return;
  3289. }
  3290. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3291. {
  3292. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3293. slID=slow_id.exec(res)[1];
  3294. GM_xmlhttpRequest(
  3295. {
  3296. method: 'POST',
  3297. url: K2SLink2,
  3298. headers: {
  3299. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3300. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3301. 'Content-Type': 'application/x-www-form-urlencoded',
  3302. 'Referer': K2SLink
  3303. },
  3304. data: 'slow_id='+slID+'&yt0=',
  3305. onload: function (result)
  3306. {
  3307. var newres = result.responseText;
  3308. newoversizedtest=new RegExp("Free user can't download large files.");
  3309. if (newoversizedtest.test(newres))
  3310. {
  3311. DisplayTheCheckedLinks([id], 'prem_link');
  3312. return;
  3313. }
  3314. else
  3315. {
  3316. DisplayTheCheckedLinks([id], 'alive_link');
  3317. return;
  3318. }
  3319. DisplayTheCheckedLinks([id], 'unava_link');
  3320. return;
  3321. }
  3322. });
  3323. /////////////////////end additional check for oversized links
  3324. return;
  3325. }
  3326. DisplayTheCheckedLinks([id], 'unava_link');
  3327. return;
  3328. },
  3329. onerror: function ()
  3330. {
  3331. DisplayTheCheckedLinks([id], 'unava_link');
  3332. return;
  3333. }
  3334. });
  3335. }
  3336. function fboomBulkCheck()
  3337. {
  3338. var arr = this.links[0].split("\r\n");
  3339. var i = arr.length;
  3340. c=0;
  3341. while(i--)
  3342. {
  3343. c++;
  3344. setTimeout(fboomRequest,c*500,arr[i]);
  3345. }
  3346. }
  3347. function fboomRequest(FBoomLink)
  3348. {
  3349. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3350. FBoomLink2='http://fboom.me/file/'+id;
  3351. GM_xmlhttpRequest(
  3352. {
  3353. method: 'GET',
  3354. url: FBoomLink,
  3355. headers: {
  3356. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3357. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3358. 'Referer': ''
  3359. },
  3360. onload: function (result)
  3361. {
  3362. var res = result.responseText;
  3363. if (res.match('class="error-v1-title">404<|File not found or deleted|This file is no longer available'))
  3364. {
  3365. DisplayTheCheckedLinks([id], 'adead_link');
  3366. return;
  3367. }
  3368. if (res.match('method="post">Displaying'))
  3369. {
  3370. DisplayTheCheckedLinks([id], 'unava_link');
  3371. return;
  3372. }
  3373. if (res.match('only for premium members'))
  3374. {
  3375. DisplayTheCheckedLinks([id], 'prem_link');
  3376. return;
  3377. }
  3378. if (res.match('id="download-free" href="#"'))
  3379. {
  3380. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3381. slID=slow_id.exec(res)[1];
  3382. GM_xmlhttpRequest(
  3383. {
  3384. method: 'POST',
  3385. url: FBoomLink2,
  3386. headers: {
  3387. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3388. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3389. 'Content-Type': 'application/x-www-form-urlencoded',
  3390. 'Referer': FBoomLink
  3391. },
  3392. data: 'slow_id='+slID,
  3393. onload: function (result)
  3394. {
  3395. var newres = result.responseText;
  3396. newoversizedtest=new RegExp("Free user can't download large files.|Downloading is not possible");
  3397. if (newoversizedtest.test(newres))
  3398. {
  3399. DisplayTheCheckedLinks([id], 'prem_link');
  3400. return;
  3401. }
  3402. else
  3403. {
  3404. DisplayTheCheckedLinks([id], 'alive_link');
  3405. return;
  3406. }
  3407. DisplayTheCheckedLinks([id], 'unava_link');
  3408. return;
  3409. }
  3410. });
  3411. /////////////////////end additional check for oversized links
  3412. return;
  3413. }
  3414. DisplayTheCheckedLinks([id], 'unava_link');
  3415. return;
  3416. },
  3417. onerror: function ()
  3418. {
  3419. DisplayTheCheckedLinks([id], 'unava_link');
  3420. return;
  3421. }
  3422. });
  3423. }
  3424. function depositfilesBulkCheck()
  3425. {
  3426. var arr = this.links[0].split("\r\n");
  3427. var i = arr.length;
  3428. var seqno = Math.floor(Math.random()*1000000000);
  3429. while(i--)
  3430. {
  3431. DFpostRequest(arr[i]);
  3432. }
  3433. }
  3434. function DFpostRequest(DFLink)
  3435. {
  3436. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3437. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3438. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3439. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3440. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3441. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3442. GM_xmlhttpRequest(
  3443. {
  3444. method: "GET",
  3445. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3446. headers: {
  3447. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3448. 'Content-Type': 'application/x-www-form-urlencoded',
  3449. 'Referer': ""
  3450. },
  3451. onload: function (result)
  3452. {
  3453. var res = result.responseText;
  3454. if (res.match('(?:no_file|file_ban)'))
  3455. {
  3456. DisplayTheCheckedLinks([id], 'adead_link');
  3457. return;
  3458. }
  3459. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3460. {
  3461. DisplayTheCheckedLinks([id], 'alive_link');
  3462. return;
  3463. }
  3464. DisplayTheCheckedLinks([id], 'unava_link');
  3465. }
  3466. });
  3467. }
  3468.  
  3469. function megaBulkCheck()
  3470. {
  3471. var arr = this.links[0].split("\r\n");
  3472. var i = arr.length;
  3473. var seqno = Math.floor(Math.random()*1000000000);
  3474. while(i--)
  3475. {
  3476. postRequest(arr[i]);
  3477. }
  3478. function postRequest(megaLink)
  3479. {
  3480. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3481. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3482. GM_xmlhttpRequest(
  3483. {
  3484. method: "POST",
  3485. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3486. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3487. headers: {
  3488. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3489. 'Content-Type': 'application/xml',
  3490. 'Referer': "https://mega.co.nz/"
  3491. },
  3492. onload: function (result)
  3493. {
  3494. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3495. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3496. {
  3497.  
  3498. DisplayTheCheckedLinks([id], 'adead_link');
  3499. }
  3500. if (res.at)
  3501. {
  3502. DisplayTheCheckedLinks([id], 'alive_link');
  3503. }
  3504. if (res.e == "ETEMPUNAVAIL")
  3505. {
  3506. DisplayTheCheckedLinks([id], 'unava_link');
  3507. }
  3508. }
  3509. });
  3510. }
  3511.  
  3512. }
  3513.  
  3514. function oboomBulk() {
  3515. var a = [], b = [], c = [];
  3516. var array = this.links;
  3517.  
  3518. GM_xmlhttpRequest({
  3519. method: 'GET',
  3520. url: 'https://www.oboom.com/1/guestsession',
  3521. headers: {
  3522. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3523. 'Content-type': 'application/x-www-form-urlencoded',
  3524. 'Referer': 'https://www.oboom.com',
  3525. 'X-Requested-With': 'XMLHttpRequest'
  3526. },
  3527. onload: function(result) {
  3528. var blockIdx = array.length;
  3529. var token = JSON.parse(result.responseText)[1];
  3530. while (blockIdx--) {
  3531. startCheck(array[blockIdx].split('\r\n'), token);
  3532. }
  3533. }
  3534. });
  3535.  
  3536. function startCheck(links, token) {
  3537. GM_xmlhttpRequest({
  3538. method: 'POST',
  3539. url: "https://api.oboom.com/1/info",
  3540. headers: {
  3541. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3542. 'Content-type': 'application/x-www-form-urlencoded',
  3543. 'Referer': 'https://www.oboom.com/',
  3544. 'X-Requested-With': 'XMLHttpRequest'
  3545. },
  3546. data: "token=" + token + "&items=" + links.join(","),
  3547. onload: function(result) {
  3548. var res = JSON.parse(result.responseText)[1];
  3549. var i = res.length, s;
  3550.  
  3551. while (i--) {
  3552. s = res[i].state;
  3553. if (s == 'online') a.push(res[i].id);
  3554. 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);
  3555. else c.push(res[i].id);
  3556. }
  3557.  
  3558. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3559. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3560. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3561. }
  3562. });
  3563. }
  3564. }
  3565. function linksaveBulkCheck()
  3566. {
  3567. var arr = this.links[0].split("\r\n");
  3568. var i = arr.length;
  3569. while(i--)
  3570. {
  3571. postRequest(arr[i]);
  3572. }
  3573. function postRequest(lsLink)
  3574. {
  3575. GM_xmlhttpRequest(
  3576. {
  3577. method: "GET",
  3578. url: lsLink + '-t.jpg',
  3579. headers: {
  3580. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3581. 'Accept': 'text/xml',
  3582. 'Referer': ""
  3583. },
  3584. onload: function (result)
  3585. {
  3586. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3587. if (imgLen == 965) //online
  3588. {
  3589. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3590. }
  3591.  
  3592. if (imgLen == 972) //offline
  3593. {
  3594. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3595. }
  3596. if (imgLen == 978) //unava
  3597. {
  3598. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3599. }
  3600. }
  3601. });
  3602. }
  3603.  
  3604. }
  3605. function linkcryptBulkCheck()
  3606. {
  3607. var arr = this.links[0].split("\r\n");
  3608. var i = arr.length;
  3609. while(i--)
  3610. {
  3611. postRequest(arr[i]);
  3612. }
  3613. function postRequest(lcLink)
  3614. {
  3615. GM_xmlhttpRequest(
  3616. {
  3617. method: "GET",
  3618. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3619. headers: {
  3620. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3621. 'Accept': 'text/xml',
  3622. 'Referer': ""
  3623. },
  3624. onload: function (result)
  3625. {
  3626. var res = result.responseText;
  3627. if (res.match(/<errorCode>1101|folderStatus>[23]/)) //Offline status
  3628. {
  3629. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3630. return;
  3631. }
  3632. if (res.match(/folderStatus>1/)) //Online status
  3633. {
  3634. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3635. }
  3636. else
  3637. {
  3638. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3639. }
  3640. }
  3641. });
  3642. }
  3643. }
  3644.  
  3645. function megashareBulkCheck()
  3646. {
  3647. var arr = this.links[0].split("\r\n");
  3648. var i = arr.length;
  3649. while(i--)
  3650. {
  3651. postRequest(arr[i]);
  3652. }
  3653. function postRequest(msLink)
  3654. {
  3655. GM_xmlhttpRequest(
  3656. {
  3657. method: "GET",
  3658. url: msLink,
  3659. headers: {
  3660. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3661. 'Content-Type': 'application/x-www-form-urlencoded',
  3662. 'Referer': ""
  3663. },
  3664. onload: function (result)
  3665. {
  3666. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3667. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3668. if ((prZVal == null) || (btn3Name == null))
  3669. {
  3670. return;
  3671. }
  3672. GM_xmlhttpRequest(
  3673. {
  3674. method: "POST",
  3675. url: msLink,
  3676. headers: {
  3677. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3678. 'Content-Type': 'application/x-www-form-urlencoded',
  3679. 'Referer': ""
  3680. },
  3681. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3682. onload: function (result)
  3683. {
  3684. var res = result.responseText;
  3685. if (res.match(/<div id="err">/))
  3686. {
  3687. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3688. }
  3689. else
  3690. {
  3691. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3692. }
  3693. }
  3694. });
  3695. }
  3696. });
  3697. }
  3698. }
  3699. function ncryptBulkCheck()
  3700. {
  3701. var arr = this.links[0].split("\r\n");
  3702. var i = arr.length;
  3703. while(i--)
  3704. {
  3705. postRequest(arr[i]);
  3706. }
  3707. function postRequest(ncryptLink)
  3708. {
  3709. GM_xmlhttpRequest(
  3710. {
  3711. method: "POST",
  3712. url: 'http://ncrypt.in/api_status.php',
  3713. headers: {
  3714. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3715. 'Content-Type': 'application/x-www-form-urlencoded',
  3716. 'Referer': ""
  3717. },
  3718. data: 'link=' + encodeURI(ncryptLink),
  3719. onload: function (result)
  3720. {
  3721. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3722. switch(foldStatus + ""){
  3723. case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3724. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3725. default: DisplayTheCheckedLinks([ncryptLink], 'unava_link');
  3726. }
  3727. }
  3728. });
  3729. }
  3730. }
  3731. function hellshareBulkCheck()
  3732. {
  3733. var links = this.links;
  3734. GM_xmlhttpRequest(
  3735. {
  3736. method: "GET",
  3737. url: 'http://www.hellshare.com',
  3738. headers: {
  3739. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3740. 'Accept': 'text/xml',
  3741. 'Referer': ""
  3742. },
  3743. onload: function (result)
  3744. {
  3745. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3746.  
  3747. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3748. if (domain == 'sk')
  3749. loc = 'check=Skontrolova%C5%A5&links=';
  3750. if (domain == 'com')
  3751. loc = 'check=Check+availability&links=';
  3752. if (domain == 'hu')
  3753. loc = 'check=Kontrol%C3%A1lj&links=';
  3754. if (domain == 'pl')
  3755. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3756.  
  3757. genBulkCheck.call({ links: links,
  3758. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3759. postData: loc,
  3760. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3761. 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,
  3762. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3763. resUnavaRegex: null
  3764. });
  3765. }
  3766. });
  3767. }
  3768. /**
  3769. * Displays check result
  3770. * @param {Array} Array of links or link fragments.
  3771. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3772. */
  3773. function DisplayTheCheckedLinks(links, resultStatus)
  3774. {
  3775. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3776. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3777. if (Do_not_linkify_DL_links)
  3778. { //TODO into separate jQuery function
  3779. $links.replaceWith(function(){
  3780. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3781. });
  3782. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3783. }
  3784. $links.removeClass().addClass(resultStatus);
  3785. $links.each(function() {
  3786. this.href = Ref_anonymize_service + $(this).attr("href");
  3787. });
  3788. switch(resultStatus)
  3789. {
  3790. case "alive_link": cLinksAlive += $links.length;
  3791. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3792. break;
  3793. case "adead_link": cLinksDead += $links.length;
  3794. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3795. break;
  3796. case "prem_link": cLinksprem += $links.length;
  3797. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3798. break;
  3799. case "unava_link": cLinksUnava += $links.length; break;
  3800. default:
  3801. }
  3802. cLinksProcessed += $links.length;
  3803. }
  3804. }
  3805. // starts bulkchecking
  3806. //
  3807. // params
  3808. // filterId [string] restricts link detection with passed id attribute
  3809. function startBulkCheck(filterId)
  3810. {
  3811. var cHosts = bulkHosts.length;
  3812. if (cHosts == 0) //no filehostings selected
  3813. return;
  3814. // STEP 1 linkify the links
  3815. var linkifyRegex = '';
  3816. var hostIdx = cHosts;
  3817. while(hostIdx--)
  3818. {
  3819. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3820. }
  3821. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3822. linkify(linkifyRegex);
  3823. //
  3824. //STEP 2 detect link objects
  3825. var xpathAll = '';
  3826. var hostIdx = cHosts;
  3827. while(hostIdx--)
  3828. {
  3829. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3830. }
  3831. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3832. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3833. if (filterId != null) //insert id restriction in the xpath
  3834. {
  3835. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3836. }
  3837. else
  3838. {
  3839. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3840. }
  3841. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3842. if (filterId == null)
  3843. {
  3844. cLinksTotal += links.snapshotLength;
  3845. }
  3846. //
  3847. //STEP 3 bind links with hostings
  3848. var linkIdx = links.snapshotLength;
  3849. var href = null;
  3850. if (linkIdx == 0) // no links found
  3851. return;
  3852. var name;
  3853. while (linkIdx--)
  3854. {
  3855. href = links.snapshotItem(linkIdx).href;
  3856. try // DO NOT REMOVE, filters crap that went through xpath detection
  3857. {
  3858. name = gimmeHostName(href);
  3859. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3860. bulkHostNames[name].links.push(href);
  3861. }
  3862. catch(e)
  3863. {
  3864.  
  3865. }
  3866. }
  3867. //
  3868. //STEP 4 process the links for each filehosting
  3869. var hostIdx = cHosts;
  3870. var host;
  3871. var m,n;
  3872. var arr;
  3873. while (hostIdx--)
  3874. {
  3875. host = bulkHosts[hostIdx];
  3876. arr = host.links;
  3877. if (arr.length == 0) //no links for this hosting, skip
  3878. {
  3879. continue;
  3880. }
  3881. //links match corrections
  3882. if (host.corrMatch != null)
  3883. {
  3884. var idx = arr.length;
  3885. while (idx--)
  3886. {
  3887. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3888. }
  3889. }
  3890. //links replace corrections
  3891. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3892. {
  3893. var idx = arr.length;
  3894. while (idx--)
  3895. {
  3896. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3897. }
  3898. }
  3899. m = arr.length;
  3900. n = host.blockSize;
  3901. if (m > n)
  3902. {
  3903. //insert block separators (RAND_STRING) into the array
  3904. for(var i = n; i < m; i += n + 1)
  3905. {
  3906. arr.splice(i, 0, RAND_STRING);
  3907. }
  3908. }
  3909.  
  3910. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3911. apiUrl: host.apiUrl,
  3912. postData: host.postData,
  3913. resLinkRegex: host.resLinkRegex,
  3914. resLiveRegex: host.resLiveRegex,
  3915. resDeadRegex: host.resDeadRegex,
  3916. resUnavaRegex: host.resUnavaRegex
  3917. });
  3918. //clean up
  3919. arr.length = 0;
  3920. }
  3921. //
  3922.  
  3923. function gimmeHostName(link)
  3924. {
  3925. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3926. }
  3927. }
  3928. function checkLinks(filterId)
  3929. {
  3930. startBulkCheck(filterId);
  3931. start(filterId);
  3932. }
  3933.  
  3934. /**
  3935. * Initialises progress box including event binding and CSS
  3936. */
  3937. function initProgressBox()
  3938. {
  3939. if ($("#warlc-progressbox").length > 0)
  3940. return;
  3941. //progressbox css change size and color of progress box
  3942. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3943. "; opacity:" + (Progress_box_opacity / 100) +
  3944. "; bottom:" + Progress_box_pos_bottom +
  3945. "px; right:" + Progress_box_pos_right +
  3946. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3947. \
  3948. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3949. \
  3950. .warlc-progressitem {}\
  3951. \
  3952. .alive {color:#00FF7F; " + Live_links_color +
  3953. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3954. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3955. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3956. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3957. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3958. );
  3959. //
  3960. $('body').append(' <div id="warlc-progressbox">\
  3961. <div class="warlc-progressbar"></div>\
  3962. <span class="warlc-progressitem alive"></span> - \
  3963. <span class="warlc-progressitem dead"></span> - \
  3964. <span class="warlc-progressitem unava"></span> - \
  3965. <span class="warlc-progressitem prem"></span> - \
  3966. <span class="warlc-progressitem processing"></span>\
  3967. </div>');
  3968. $('#warlc-progressbox').hide().click(function(){
  3969. clearInterval(intervalId);
  3970. $(this).hide();
  3971. return false;
  3972. });
  3973. $(".warlc-progressbar").progressbar({complete: function(){
  3974. $(this).fadeOut();
  3975. clearInterval(intervalId); //stop refreshing the stats
  3976. }
  3977. })
  3978. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  3979. }
  3980. /**
  3981. * Updates progress data in progress box
  3982. */
  3983. function updateProgress()
  3984. {
  3985. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  3986. if (cLinksTotal) // some links were detected on page
  3987. {
  3988. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  3989. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  3990. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  3991. if ((cLinksTotal - cLinksProcessed) == 0)
  3992. {
  3993. $progressItems.first().text(cLinksAlive)
  3994. .next().text(cLinksDead)
  3995. .next().text(cLinksUnava)
  3996. .next().text(cLinksprem)
  3997. .next().remove();
  3998. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  3999. $('#warlc-progressbox div:first-child').remove();
  4000. }
  4001. else
  4002. {
  4003. $progressItems.first().text(cLinksAlive)
  4004. .next().text(cLinksDead)
  4005. .next().text(cLinksUnava)
  4006. .next().text(cLinksprem)
  4007. .next().text(cLinksTotal - cLinksProcessed);
  4008. }
  4009. }
  4010. }
  4011.  
  4012. function check_all_links()
  4013. {
  4014. add_WARLC_style();
  4015.  
  4016. if (Show_progress_stats)
  4017. {
  4018. initProgressBox();
  4019. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4020. }
  4021.  
  4022. startBulkCheck(null);
  4023. start(null);
  4024.  
  4025. if (!containers_processed)
  4026. {
  4027. processContainers();
  4028. }
  4029. }
  4030.  
  4031. //Copies all found dead links to clipboard - right now for Scriptish only
  4032. function copy_dead_to_clipboard()
  4033. {
  4034. initClipBoardTools();
  4035.  
  4036. var deadlinksxpath = "//.[@class='adead_link']";
  4037.  
  4038. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4039. var foundlinkstext = '';
  4040.  
  4041. var foundlinkIdx = foundlinks.snapshotLength;
  4042.  
  4043. while(foundlinkIdx--)
  4044. {
  4045. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4046. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4047. }
  4048.  
  4049. unsafeWindow.copyToClipboard(foundlinkstext);
  4050. }
  4051.  
  4052. function toggle_autocheck()
  4053. {
  4054. var currentState = GM_getValue("Autocheck", false);
  4055. GM_setValue("Autocheck", !currentState);
  4056.  
  4057. if (currentState == true)
  4058. {
  4059. sendMessage('Autocheck disabled', 'red');
  4060. }
  4061. else
  4062. {
  4063. sendMessage('Autocheck enabled', 'SpringGreen');
  4064. }
  4065. }
  4066. function toggle_Enable_Anonymizer()
  4067. {
  4068. var currentState = GM_getValue("Enable_Anonymizer", false);
  4069. GM_setValue("Enable_Anonymizer", !currentState);
  4070.  
  4071. if (currentState == true)
  4072. {
  4073. GM_setValue("Ref_anonymize_service", "");
  4074. sendMessage('Anonymizer Disabled', 'red');
  4075. }
  4076. else
  4077. {
  4078. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4079. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4080. }
  4081. }
  4082.  
  4083. function KeyDownHandler(event)
  4084. {
  4085. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4086. if (event.ctrlKey && event.altKey)
  4087. {
  4088. switch(kcode)
  4089. {
  4090. case 65 : check_all_links(); break;
  4091. case 67 : configuration(); break;
  4092. case 68 : copy_dead_to_clipboard(); break;
  4093. case 87 : toggle_autocheck(); break;
  4094. case 90 : toggle_Enable_Anonymizer(); break;
  4095. }
  4096. }
  4097. }
  4098.  
  4099. //
  4100. //
  4101. // SCRIPT EXECUTION START POINT
  4102. //
  4103. //
  4104. // Safari specific GM_getResourceText override
  4105. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4106. {
  4107. GM_getResourceText = function(res) {
  4108. var $cssText = GM_getValue("jquery_css", "");
  4109. if ($cssText == "")
  4110. {
  4111. GM_xmlhttpRequest(
  4112. {
  4113. method: 'GET',
  4114. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4115. onload: function (result)
  4116. {
  4117. GM_setValue("jquery_css", result.responseText);
  4118. window.location.reload();
  4119. }
  4120. });
  4121. }
  4122. else
  4123. {
  4124. return $cssText;
  4125. }
  4126. }
  4127. }
  4128. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4129. GM_addStyle(jQueryUICSS);
  4130. //init the stuff
  4131. setVariables();
  4132. initBulkCheck();
  4133. //init info boxes
  4134. messageBox.style.position = 'fixed';
  4135. messageBox.style.top = '20px';
  4136. messageBox.style.left = '10px';
  4137. messageBox.style.opacity = '0.85';
  4138. messageBox.style.background = 'DimGray';
  4139. messageBox.style.fontSize = '36px';
  4140. document.body.appendChild(messageBox);
  4141.  
  4142. //register GM menu commands & keyboard shortcut event handler
  4143. if (Keyboard_functions)
  4144. {
  4145. $(document).keydown(KeyDownHandler);
  4146. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4147. 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);
  4148. }
  4149. else
  4150. {
  4151. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4152. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4153. }
  4154.  
  4155. //start linkchecking
  4156. if (Autocheck)
  4157. {
  4158. $(document).ready(check_all_links);
  4159. }
  4160.  
  4161. //
  4162. //
  4163. // SCRIPT EXECUTION END POINT
  4164. //
  4165. //
  4166.  
  4167. //shows configuration box
  4168. function configuration()
  4169. {
  4170.  
  4171. //prevent multiple creating of config window
  4172. if ($("#hideshow").length)
  4173. {
  4174. $("#hideshow").show();
  4175. return;
  4176. }
  4177.  
  4178. var configcss = '\
  4179. .popup_block .popup fieldset{\
  4180. padding: 1%;\
  4181. border-style: solid;\
  4182. border-width: 1px;\
  4183. border-color: gray;\
  4184. margin-bottom: 1px;\
  4185. }\
  4186. #h3hideshowtitle{\
  4187. font-size: 2em;\
  4188. }\
  4189. #h3hideshow{\
  4190. font-size: 1.5em;\
  4191. }\
  4192. #imghideshow {\
  4193. border: none;\
  4194. }\
  4195. #plusimage{\
  4196. display:inline;\
  4197. }\
  4198. #hideshow {\
  4199. position: fixed;\
  4200. width: 100%;\
  4201. height: 100%;\
  4202. top: 0;\
  4203. left: 0;\
  4204. font-size:12px;\
  4205. z-index:2147483645;\
  4206. text-align:left;\
  4207. }\
  4208. #fade {\
  4209. background: #000;\
  4210. position: fixed;\
  4211. width: 100%;\
  4212. height: 100%;\
  4213. opacity: .80;\
  4214. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4215. left: 0;\
  4216. z-index: 10;\
  4217. }\
  4218. .popup_block {\
  4219. font-family:verdana;\
  4220. color:black;\
  4221. background: #ddd;\
  4222. padding: 10px 20px;\
  4223. border: 2px solid DarkOrange;\
  4224. float: left;\
  4225. width: 700px;\
  4226. position: absolute;\
  4227. top: 7%;\
  4228. left: 50%;\
  4229. bottom: 7%;\
  4230. margin: 0 0 0 -350px;\
  4231. -moz-border-radius:10px;\
  4232. z-index: 100;\
  4233. \
  4234. }\
  4235. .popup_block .popup {\
  4236. float: left;\
  4237. width: 100%;\
  4238. background: #fff;\
  4239. margin: 10px 0;\
  4240. padding: 0px 0 0px;\
  4241. border-left: 1px solid #bbb;\
  4242. border-top: 1px solid #bbb;\
  4243. border-right: 1px solid #bbb;\
  4244. }\
  4245. #h3hideshow{\
  4246. margin: 1px 0 0px;\
  4247. padding: 1px 10px;\
  4248. border-bottom: 1px solid #bbb;\
  4249. font-size: 1.5em;\
  4250. font-weight: normal;\
  4251. cursor:pointer;\
  4252. background:#DDDDDD none repeat scroll 0 0;\
  4253. }\
  4254. #h3hideshow:hover{\
  4255. background:#C0BEBE none repeat scroll 0 0;\
  4256. }\
  4257. #h3hideshowtitle{\
  4258. margin: 2px 0 0px;\
  4259. padding: 7px 10px;\
  4260. border-bottom: 1px solid #bbb;\
  4261. font-size: 1.5em;\
  4262. font-weight: normal;\
  4263. }\
  4264. .popup_block .popup a {\
  4265. color:DarkSkyBlue;\
  4266. text-decoration:none;\
  4267. }\
  4268. .popup p {\
  4269. padding: 1px 10px;\
  4270. margin: 0px 0;\
  4271. -x-system-font:none;\
  4272. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4273. font-size:10pt;\
  4274. font-size-adjust:none;\
  4275. font-stretch:normal;\
  4276. font-style:normal;\
  4277. font-variant:normal;\
  4278. font-weight:normal;\
  4279. line-height:normal;\
  4280. }\
  4281. #sites {\
  4282. padding: 1px 10px;\
  4283. margin: 0px 0;display:inline-block;width:16em;\
  4284. }\
  4285. #dev_ver {\
  4286. color: #00FF00;\
  4287. background: Black;\
  4288. text-align: right;\
  4289. }\
  4290. #sites_suspended {\
  4291. padding: 1px 10px;\
  4292. margin: 0px 0;display:inline-block;width:16em;\
  4293. text-decoration: line-through;\
  4294. }\
  4295. .popup img.cntrl {\
  4296. position: absolute;\
  4297. right: -15px;\
  4298. top: -15px;\
  4299. }\
  4300. #bulk {\
  4301. font-size:8pt;\
  4302. color:orange;\
  4303. padding: 1px 10px;\
  4304. margin: 0px 0;\
  4305. display:inline-block;\
  4306. width:100px;\
  4307. }\
  4308. #note {\
  4309. font-size:7pt;\
  4310. color:gray;\
  4311. padding: 1px 10px;\
  4312. margin: 0px 0;display:inline-block;\
  4313. min-width:100px;\
  4314. }\
  4315. #rednote {\
  4316. font-size:7pt;\
  4317. color:red;\
  4318. padding: 1px 10px;\
  4319. margin: 0px 0;display:inline-block;\
  4320. }\
  4321. #configinfo {\
  4322. font-size:8pt;\
  4323. color:gray;\
  4324. padding: 1px 10px;\
  4325. margin: 0px 0;display:inline-block;width:60em;\
  4326. }\
  4327. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4328. color:black;\
  4329. border-style: solid;\
  4330. border-width: 1px;\
  4331. border-color: gray;\
  4332. }\
  4333. #h3hideshowcontent {\
  4334. min-height:220px;\
  4335. max-height:220px;\
  4336. overflow:auto;\
  4337. display: none;\
  4338. padding: 10px 10px;\
  4339. }\
  4340. #specinfo{\
  4341. font-size:14px;\
  4342. }\
  4343. .warlc-ui-tab {\
  4344. height:300px;\
  4345. overflow:auto;\
  4346. }\
  4347. #warlcsitelist2, #warlcsitelist1 {\
  4348. height:220px;\
  4349. border-top: 1px solid #ddd;\
  4350. padding-top: 5px;\
  4351. overflow:auto;\
  4352. }\
  4353. input:hover+label {\
  4354. background:#F1F77C;\
  4355. font-size:110%;\
  4356. }\
  4357. ';
  4358.  
  4359. GM_addStyle(configcss);
  4360.  
  4361. var customRulesRefHTML =
  4362. '\
  4363. <br>\
  4364. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4365. <b>@keyword</b> <i>parameter</i>\
  4366. <br><br>\
  4367. 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. \
  4368. <br><br>\
  4369. 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.\
  4370. 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.\
  4371. 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.\
  4372. 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,\
  4373. but all commands until the next valid @customrule are ignored.<br><br>\
  4374. Available forms and types:\
  4375. <ul>\
  4376. <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.\
  4377. <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.\
  4378. <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.\
  4379. <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.\
  4380. </ul>\
  4381. Other available commands:<br>\
  4382. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4383. <ul>\
  4384. <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.\
  4385. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4386. <ul>examples:<br>\
  4387. <li>good: <i>filehost.com/download/</i><br>\
  4388. <li>good: <i>download.filehost.net/?d=</i><br>\
  4389. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4390. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4391. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4392. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4393. <li>bad: <i>filehost.com</i> - no slash<br>\
  4394. </ul>\
  4395. \
  4396. <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.\
  4397. 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 \
  4398. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4399. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4400. 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.)\
  4401. Two spaces again match any whitespace.\
  4402. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4403. Two spaces again match any whitespace.\
  4404. <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. \
  4405. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4406. </ul>\
  4407. \
  4408. ';
  4409.  
  4410. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4411. var configurationinnerHTML =
  4412. '<div id="fade"></div>\
  4413. <div class="popup_block">\
  4414. <div class="popup">\
  4415. <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/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIv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K+dxcXFzbiJUR/K3cmTJ2nWwYNUcfQoeS+cJcdwQGZeIjuHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4416. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2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p;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4417. <div id="warlc-conf-tabs">\
  4418. <ul>\
  4419. <li><a href="#tabs-1">Filehostings</a></li>\
  4420. <li><a href="#tabs-2">Containers</a></li>\
  4421. <li><a href="#tabs-5">Custom rules</a></li>\
  4422. <li><a href="#tabs-3">Settings</a></li>\
  4423. <li><a href="#tabs-4">About</a></li>\
  4424. </ul>\
  4425. <div id="tabs-1" class="warlc-ui-tab">\
  4426. <div class="warlc-ui-buttonset">\
  4427. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4428. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4429. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4430. </div><br>\
  4431. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4432. <div id="warlcsitelist1"><span>Empty</span></div>\
  4433. </div>\
  4434. <div id="tabs-2" class="warlc-ui-tab">\
  4435. <div class="warlc-ui-buttonset">\
  4436. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4437. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4438. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4439. </div><br>\
  4440. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4441. <div id="warlcsitelist2"><span>Empty</span></div>\
  4442. </div>\
  4443. <div id="tabs-5" class="warlc-ui-tab">\
  4444. <div class="warlcsettings">\
  4445. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4446. <br>\
  4447. <div>Edit custom rules: \
  4448. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4449. <div id="customRulesReference" style="display:none;">'
  4450. + customRulesRefHTML + '\
  4451. </div>\
  4452. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4453. </div>\
  4454. </div>\
  4455. </div>\
  4456. <div id="tabs-3" class="warlc-ui-tab">\
  4457. <div class="warlcsettings">\
  4458. <fieldset>\
  4459. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4460. <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>\
  4461. </fieldset>\
  4462. <fieldset>\
  4463. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4464. <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>\
  4465. <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>\
  4466. <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>\
  4467. <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>\
  4468. <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>\
  4469. <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>\
  4470. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4471. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4472. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4473. <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>\
  4474. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4475. <fieldset>\
  4476. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4477. <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>\
  4478. <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>\
  4479. <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>\
  4480. </fieldset>\
  4481. </fieldset>\
  4482. <fieldset>\
  4483. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4484. </fieldset>\
  4485. <fieldset>\
  4486. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4487. </fieldset>\
  4488. <fieldset>\
  4489. <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>\
  4490. </fieldset>\
  4491. <fieldset>\
  4492. <p><input type="checkbox" id="Enable_Anonymizer"> Enable Anonymizer</div><div id="bulk">EXPERIMENTAL Note: Checkbox does not work use CTRL+ALT+Z.</p>\
  4493. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div>\
  4494. </fieldset>\
  4495. </div>\
  4496. </div>\
  4497. <div id="tabs-4" class="warlc-ui-tab">\
  4498. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4499. <br />\
  4500. <p><b>Currently supported:</b><br>\
  4501. Filehostings: ' + allHostNames.length + '<br />\
  4502. Containers: ' + allContainerNames.length + '<br />\
  4503. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4504. <br />\
  4505. <p><b>Based on:</b><br>\
  4506. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4507. <br />\
  4508. <p><b>Uses:</b></p>\
  4509. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4510. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4511. <br />\
  4512. <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>\
  4513. </div>\
  4514. </div>\
  4515. </div>\
  4516. </div>';
  4517. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4518. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4519. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4520. var elmHostList = document.getElementById("warlcsitelist1");
  4521. var elmContainerList = document.getElementById("warlcsitelist2");
  4522. buildSettings();
  4523. buildSitelist("", allHostNames, elmHostList);
  4524. buildSitelist("", allContainerNames, elmContainerList);
  4525. if (DEBUG_MODE)
  4526. {
  4527. //log all sites availability status
  4528. diagSites();
  4529. }
  4530. //handler for checkbox state change
  4531. function changeConfiguration(e)
  4532. {
  4533. var element = e.target;
  4534.  
  4535. if (element.type == 'checkbox')
  4536. {
  4537. if (element.checked == 1)
  4538. {
  4539. GM_setValue(element.id, true);
  4540. }
  4541. else
  4542. {
  4543. GM_setValue(element.id, false);
  4544. }
  4545.  
  4546. }
  4547. setVariables();
  4548. }
  4549.  
  4550. //Selects all filehosting checkboxes
  4551. function selectAll()
  4552. {
  4553. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4554. .each(function(index, element){GM_setValue(this.id, true)});
  4555. }
  4556.  
  4557. //Deselects all filehosting checkboxes
  4558. function selectNone()
  4559. {
  4560. $(":checkbox:visible:checked").prop("checked",false)
  4561. .each(function(index, element){GM_setValue(this.id, false)});
  4562. }
  4563.  
  4564. //Inverts filehosting checkboxes selection
  4565. function selectInvert()
  4566. {
  4567. var $checked = $(":checkbox:visible:checked");
  4568. var $unchecked = $(":checkbox:visible:not(:checked)");
  4569. $unchecked.prop("checked",true)
  4570. .each(function(index, element){GM_setValue(this.id, true)});
  4571. $checked.prop("checked",false)
  4572. .each(function(index, element){GM_setValue(this.id, false)});
  4573. }
  4574. //toggles anonymizer on off
  4575. function Enable_Anonymizer()
  4576. {
  4577. var $checked = $(":checkbox:visible:checked");
  4578. var $unchecked = $(":checkbox:visible:not(:checked)");
  4579. $unchecked.prop("checked",true)
  4580. .each(function(index, element){GM_setValue(this.id, true)});
  4581. $checked.prop("checked",false)
  4582. .each(function(index, element){GM_setValue(this.id, false)});
  4583. }
  4584.  
  4585. function changeRefAnonymizer(){
  4586. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4587. }
  4588.  
  4589. //Sets live links color
  4590. function changeColorLive()
  4591. {
  4592. var inColorLive = document.getElementById("inputColorLive");
  4593. inColorLive.style.background = inColorLive.value;
  4594. GM_setValue("Live_links_color", inColorLive.value);
  4595. }
  4596.  
  4597. //Sets dead links color
  4598. function changeColorDead()
  4599. {
  4600. var inColorDead = document.getElementById("inputColorDead");
  4601. inColorDead.style.background = inColorDead.value;
  4602. GM_setValue("Dead_links_color", inColorDead.value);
  4603. }
  4604.  
  4605. //Sets temp. unavailable links color
  4606. function changeColorTemp()
  4607. {
  4608. var inColorTemp = document.getElementById("inputColorTemp");
  4609. inColorTemp.style.background = inColorTemp.value;
  4610. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4611. }
  4612.  
  4613. //Sets temp. unavailable links color
  4614. function changeColorCont()
  4615. {
  4616. var inColorCont = document.getElementById("inputColorCont");
  4617. inColorCont.style.background = inColorCont.value;
  4618. GM_setValue("Container_links_color", inColorCont.value);
  4619. }
  4620. //Sets premium. links color
  4621. function changeColorprem()
  4622. {
  4623. var inColorprem = document.getElementById("inputColorprem");
  4624. inColorprem.style.background = inColorprem.value;
  4625. GM_setValue("Premium_links_color", inColorprem.value);
  4626. }
  4627.  
  4628. //Diagnose sites for availability
  4629. function diagSites()
  4630. {
  4631. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4632.  
  4633. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4634. {
  4635. if (boxes[i].type == "checkbox")
  4636. {
  4637. checkAvailability(boxes[i]);
  4638. }
  4639. }
  4640.  
  4641. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4642.  
  4643. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4644. {
  4645. if (boxes[i].type == "checkbox")
  4646. {
  4647. checkAvailability(boxes[i]);
  4648. }
  4649. }
  4650.  
  4651. function checkAvailability(cbElm)
  4652. {
  4653. var cb = cbElm;
  4654. GM_xmlhttpRequest(
  4655. {
  4656. method: 'HEAD',
  4657. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4658. headers: {
  4659. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4660. 'Accept': 'text/xml',
  4661. 'Referer': ""
  4662. },
  4663. onload: function (result)
  4664. {
  4665. if (result.status != 200)
  4666. {
  4667. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4668. }
  4669. },
  4670. onerror: function (result)
  4671. {
  4672. if (result.status != 200)
  4673. {
  4674. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4675. }
  4676. }
  4677. });
  4678. }
  4679. }
  4680. function buildSettings()
  4681. {
  4682. $(".warlcsettings :checkbox").each(function(){
  4683. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4684. .click(function(e){
  4685. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4686. setVariables();
  4687. });
  4688. })
  4689. }
  4690. //Dynamic build of host list
  4691. //param search [string] searches for hostnames matching search substring
  4692. //param siteNames [array] array of site names
  4693. //param targetNode [DOM Node] where the list should be built
  4694. // first child node is replaced
  4695. function buildSitelist(search, siteNames, targetNode)
  4696. {
  4697. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4698. var $targetNode = $(targetNode).empty();
  4699. var searchedSite = "";
  4700. $.each(siteNames, function(i, site){
  4701. if (searchedSite = site.match(searchRegex))
  4702. {
  4703. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4704. //ensuring backward compatibility with the rest of code, to be refactored later
  4705. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4706. //
  4707. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4708. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4709. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4710. );
  4711. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4712. .change(changeConfiguration);
  4713. $targetNode.append('<br />');
  4714. }
  4715. });
  4716. $targetNode.append("<hr>");
  4717. //obsolete hosts checkbox
  4718. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4719. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4720. .change(changeConfiguration);
  4721. $targetNode.append('<br />');
  4722. var foundName = "";
  4723. $.each(allObsoleteNames, function(i, site){
  4724. if (foundName = allObsoleteNames[i].match(searchRegex))
  4725. {
  4726. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4727. }
  4728. })
  4729. }
  4730. var hostSearchBox = document.getElementById("hostSearchBox");
  4731. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4732. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4733. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4734. $(".warlc-ui-select-all").click(selectAll).button();
  4735. $(".warlc-ui-select-none").click(selectNone).button();
  4736. $(".warlc-ui-select-invert").click(selectInvert).button();
  4737. $(".warlc-ui-buttonset").buttonset();
  4738. var inColorLive = document.getElementById("inputColorLive");
  4739. inColorLive.addEventListener('keyup', changeColorLive, false);
  4740.  
  4741. var inColorDead = document.getElementById("inputColorDead");
  4742. inColorDead.addEventListener('keyup', changeColorDead, false);
  4743.  
  4744. var inColorTemp = document.getElementById("inputColorTemp");
  4745. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4746.  
  4747. var inColorCont = document.getElementById("inputColorCont");
  4748. inColorCont.addEventListener('keyup', changeColorCont, false);
  4749. var inColorprem = document.getElementById("inputColorprem");
  4750. inColorprem.addEventListener('keyup', changeColorprem, false);
  4751. $("#refAnonymizer").change(changeRefAnonymizer);
  4752. //buttons and edit boxes init end
  4753.  
  4754. //icon sets radio buttons
  4755. var radioButtons = document.getElementsByName("warlciconset");
  4756. radioButtons[Icon_set].checked = "checked";
  4757.  
  4758. radioButtons[0].addEventListener("change", updateIconSet);
  4759. radioButtons[1].addEventListener("change", updateIconSet);
  4760. radioButtons[2].addEventListener("change", updateIconSet);
  4761. radioButtons[3].addEventListener("change", updateIconSet);
  4762. function updateIconSet()
  4763. {
  4764. GM_setValue("Icon_set", this.value * 1);
  4765. }
  4766. //
  4767. $('#showCustomRulesReference').click(function(e){
  4768. e.preventDefault();
  4769. $('#customRulesReference').toggle();
  4770. });
  4771. $('#Custom_rules_text')
  4772. .val(Custom_rules_text)
  4773. .change(saveCustomRules);
  4774. function saveCustomRules(e)
  4775. {
  4776. var cr = parseCustomRules(this.value);
  4777. if (cr.info.length)
  4778. 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, ' '));
  4779. GM_setValue('Custom_rules_text', this.value);
  4780. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4781. }
  4782. }
  4783.  
  4784. //begin standard link checking algorithm
  4785. function start(filterId)
  4786. {
  4787. var doNotLinkify = Do_not_linkify_DL_links;
  4788.  
  4789. // USER SELECTED FILE HOSTS INITIALIZATION START
  4790. var http_file_hosts = new Array(); //standard hostings
  4791. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4792. var http_file_hosts_obsolete = new Array(); //dead hostings
  4793. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4794.  
  4795. initFileHosts();
  4796. initFileHostsHeadersOnly();
  4797. initFileHostsCustom(); //CustomRules
  4798. // USER SELECTED FILE HOSTS INITIALIZATION END
  4799.  
  4800. // LINKIFICATION START
  4801. var totalxpath = '';
  4802. var totalxpathcoded = '';
  4803. var totalxpathobsolete = '';
  4804. var totalxpathheadersonly = '';
  4805. var totalourls = '';
  4806.  
  4807. var filehostLen = http_file_hosts.length;
  4808. var filehostCodedLen = http_file_hosts_coded.length;
  4809. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4810. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4811.  
  4812. var filehostIdx = filehostLen;
  4813. var filehostCodedIdx = filehostCodedLen;
  4814. var filehostObsoleteIdx = filehostObsoleteLen;
  4815. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4816.  
  4817. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4818. return;
  4819.  
  4820. while (filehostIdx--)
  4821. {
  4822. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4823. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4824. }
  4825.  
  4826. while (filehostCodedIdx--)
  4827. {
  4828. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4829. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4830. }
  4831.  
  4832. while (filehostObsoleteIdx--)
  4833. {
  4834. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4835. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4836. }
  4837.  
  4838. while (filehostHeadersOnlyIdx--)
  4839. {
  4840. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4841. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4842. }
  4843.  
  4844. totalourls = totalourls.replace(/\|$/g, "");
  4845. //TODO: further refactoring needed
  4846. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4847. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4848. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4849. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4850. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4851. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4852. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4853. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4854. if (filterId != null) //insert id restriction in the xpath
  4855. {
  4856. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4857. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4858. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4859. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4860. }
  4861. else
  4862. {
  4863. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4864. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4865. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4866. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4867. }
  4868. linkify(totalourls);
  4869. //LINKIFICATION END
  4870. //ENCRYPTED LINKS PROCESSING START
  4871. if (http_file_hosts_coded.length > 0)
  4872. {
  4873. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4874.  
  4875. // decrypt coded links (redirects, link protectors etc.)
  4876. if (linksCoded.snapshotLength > 0)
  4877. {
  4878. var link;
  4879. var reallinkreg;
  4880. var reallinkcorrection;
  4881.  
  4882. if (filterId == null)
  4883. {
  4884. cLinksTotal += linksCoded.snapshotLength;
  4885. }
  4886.  
  4887. var y = linksCoded.snapshotLength - 1;
  4888. do
  4889. {
  4890. // linksCoded.snapshotItem(y).id = 'processing_link';
  4891. link = linksCoded.snapshotItem(y);
  4892. filehostIdx = filehostCodedLen;
  4893. while (filehostIdx--)
  4894. {
  4895. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4896. {
  4897. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4898. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4899. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4900.  
  4901. decurl(link, reallinkreg, reallinkcorrection);
  4902. break;
  4903. }
  4904. }
  4905. }
  4906. while (y--);
  4907. }
  4908. }
  4909. //ENCRYPTED LINKS PROCESSING END
  4910.  
  4911. //STANDARD LINKCHECKING START
  4912. if (http_file_hosts.length > 0)
  4913. {
  4914. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4915.  
  4916. if (filterId == null)
  4917. {
  4918. cLinksTotal += lianks.snapshotLength;
  4919. }
  4920.  
  4921. if (lianks.snapshotLength > 0)
  4922. {
  4923. var link;
  4924.  
  4925. var URL = "";
  4926. var name = "";
  4927. var isAliveRegex = "";
  4928. var isDeadRegex = "";
  4929. var isUnavaRegex = "";
  4930. var ispremRegex = "";
  4931. var tryLoop = false;
  4932.  
  4933. var y = lianks.snapshotLength;
  4934.  
  4935. while (y--)
  4936. {
  4937. link = lianks.snapshotItem(y);
  4938.  
  4939. filehostIdx = filehostLen;
  4940. while (filehostIdx--)
  4941. {
  4942. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4943. {
  4944. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4945. isAliveRegex = http_file_hosts[filehostIdx][1];
  4946. isDeadRegex = http_file_hosts[filehostIdx][2];
  4947. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4948. ispremRegex = http_file_hosts[filehostIdx][6];
  4949. tryLoop = http_file_hosts[filehostIdx][5];
  4950.  
  4951. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4952.  
  4953. break;
  4954. }
  4955. }
  4956. }
  4957. }
  4958. }
  4959. //STANDARD LINKCHECKING END
  4960. //OBSOLETE FILE HOSTS PROCESSING START
  4961. if (filehostObsoleteLen > 0)
  4962. {
  4963. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4964.  
  4965. var obsoleteLink;
  4966.  
  4967. //check links
  4968. if (obsoletelinks.snapshotLength > 0)
  4969. {
  4970. var y = obsoletelinks.snapshotLength;
  4971.  
  4972. if (filterId == null)
  4973. {
  4974. cLinksTotal += y;
  4975. }
  4976.  
  4977. while (y--)
  4978. {
  4979. obsoleteLink = obsoletelinks.snapshotItem(y);
  4980.  
  4981. if (Display_tooltip_info)
  4982. {
  4983. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  4984. }
  4985. displayTheCheckedLink(obsoleteLink, 'adead_link');
  4986. }
  4987. }
  4988. }
  4989. //OBSOLETE FILE HOSTS PROCESSING END
  4990.  
  4991. //DIRECT LINKCHECKING START
  4992. if (http_file_hosts_headers_only.length > 0)
  4993. {
  4994. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4995.  
  4996. //check links
  4997. if (links.snapshotLength > 0)
  4998. {
  4999. var link;
  5000. var isAliveRegex;
  5001. var isDeadRegex;
  5002. var ispremRegex;
  5003.  
  5004. var y = links.snapshotLength;
  5005.  
  5006.  
  5007. if (filterId == null)
  5008. {
  5009. cLinksTotal += y;
  5010. }
  5011.  
  5012. while (y--)
  5013. {
  5014. // links.snapshotItem(y).id = 'processing_link';
  5015. link = links.snapshotItem(y);
  5016. filehostIdx = filehostHeadersOnlyLen;
  5017. while (filehostIdx--)
  5018. {
  5019. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5020. {
  5021. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5022. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5023. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5024. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5025.  
  5026. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5027.  
  5028. break;
  5029. }
  5030. }
  5031. }
  5032.  
  5033. }
  5034. }
  5035. //DIRECT LINKCHECKING END
  5036.  
  5037.  
  5038. //finds the real url on the page, replaces link.href with it and calls geturl
  5039. function decurl(link, reallinkreg, reallinkcorrection)
  5040. {
  5041.  
  5042. GM_xmlhttpRequest(
  5043. {
  5044. method: 'GET',
  5045. url: link.href,
  5046. headers: {
  5047. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5048. 'Accept': 'text/xml',
  5049. 'Referer': ""
  5050. },
  5051. onload: function (result)
  5052. {
  5053. // cLinksProcessed++;
  5054.  
  5055. var reallink = result.responseText.match(reallinkreg)[0];
  5056. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5057.  
  5058. link.href = reallink;
  5059.  
  5060. var i = http_file_hosts.length - 1;
  5061. do
  5062. {
  5063. if ((reallink.match(http_file_hosts[i][0])))
  5064. {
  5065. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5066. var isAliveRegex = http_file_hosts[i][1];
  5067. var isDeadRegex = http_file_hosts[i][2];
  5068. var isUnavaRegex = http_file_hosts[i][3];
  5069. var ispremRegex = http_file_hosts[i][4];
  5070.  
  5071. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5072.  
  5073. break;
  5074. }
  5075. }
  5076. while (i--);
  5077. }
  5078. });
  5079. }
  5080.  
  5081. function randUA()
  5082. {
  5083. //TODO
  5084. }
  5085. //Processes link
  5086. //
  5087. // [string] link link URL
  5088. // [string] isAliveRegex alive link regex
  5089. // [string] isDeadRegex dead link regex
  5090. // [string] isUnavaRegex unavailable link regex
  5091. // [string] ispremRegex premium link regex
  5092. // [boolean] tryLoop repeats request until succeeded
  5093. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5094. {
  5095. GM_xmlhttpRequest(
  5096. {
  5097. method: 'GET',
  5098. url: link.href,
  5099. headers: {
  5100. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5101. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5102. 'Referer': ""
  5103. },
  5104. onload: function (result)
  5105. {
  5106. var res = result.responseText;
  5107. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5108. {
  5109. displayTheCheckedLink(link, 'alive_link');
  5110. return;
  5111. }
  5112.  
  5113. if (res.match(isAliveRegex))
  5114. {
  5115. displayTheCheckedLink(link, 'alive_link');
  5116. return;
  5117. }
  5118.  
  5119. if (res.match(isDeadRegex))
  5120. {
  5121. displayTheCheckedLink(link, 'adead_link');
  5122. return;
  5123. }
  5124.  
  5125. if (isUnavaRegex && res.match(isUnavaRegex))
  5126. {
  5127. displayTheCheckedLink(link, 'unava_link');
  5128. return;
  5129. }
  5130. if (res.match(ispremRegex))
  5131. {
  5132. displayTheCheckedLink(link, 'prem_link');
  5133. return;
  5134. }
  5135.  
  5136. var resStatus = result.status;
  5137.  
  5138. if (resStatus == 404)
  5139. {
  5140. displayTheCheckedLink(link, 'adead_link');
  5141. }
  5142. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5143. {
  5144. if (tryLoop)
  5145. {
  5146. //wait 1-5 seconds and repeat the request
  5147. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5148. }
  5149. else
  5150. {
  5151. displayTheCheckedLink(link, 'unava_link');
  5152. }
  5153.  
  5154. return;
  5155. }
  5156. },
  5157. onerror: function ()
  5158. {
  5159. displayTheCheckedLink(link, 'unava_link');
  5160. }
  5161. });
  5162. }
  5163.  
  5164. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5165. {
  5166. GM_xmlhttpRequest(
  5167. {
  5168. method: 'HEAD',
  5169. url: link.href,
  5170. headers: {
  5171. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5172. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5173. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5174. 'Referer': ""
  5175. },
  5176. onload: function (result)
  5177. {
  5178. var resStatus = result.status;
  5179. var resHeaders = "";
  5180. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5181. {
  5182. displayTheCheckedLink(link, 'adead_link');
  5183. return;
  5184. }
  5185.  
  5186. resHeaders = result.responseHeaders;
  5187.  
  5188. if (resHeaders.match(isDeadRegex))
  5189. {
  5190. displayTheCheckedLink(link, 'adead_link');
  5191. return;
  5192. }
  5193.  
  5194. if (resHeaders.match(isAliveRegex))
  5195. {
  5196. displayTheCheckedLink(link, 'alive_link');
  5197. return;
  5198. }
  5199. if (resHeaders.match(ispremRegex))
  5200. {
  5201. displayTheCheckedLink(link, 'prem_link');
  5202. return;
  5203. }
  5204. },
  5205. onerror: function ()
  5206. {
  5207. displayTheCheckedLink(link, 'unava_link');
  5208. }
  5209. });
  5210. }
  5211.  
  5212. //Delinkfifies the <a> element object
  5213. function delinkifyLink(link)
  5214. {
  5215. var spanElm = document.createElement("span");
  5216. spanElm.className = link.className;
  5217. spanElm.innerHTML = link.innerHTML;
  5218.  
  5219. if (Display_tooltip_info)
  5220. {
  5221. spanElm.href = link.href;
  5222. spanElm.warlc_error = link.warlc_error;
  5223. switch (link.className){
  5224. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5225. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5226. case "unava_link": //reserved
  5227. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5228. default:
  5229. }
  5230. }
  5231. link.parentNode.replaceChild(spanElm, link);
  5232. }
  5233.  
  5234. //Assigns result status to the <a> element object and calls delinkifying eventually
  5235. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5236. function displayTheCheckedLink(link, resultStatus)
  5237. {
  5238. link.className = resultStatus;
  5239. link.href = Ref_anonymize_service + link.href;
  5240. if (Display_tooltip_info)
  5241. {
  5242. switch (resultStatus){
  5243. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5244. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5245. case "unava_link": //reserved
  5246. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5247. default:
  5248. }
  5249. }
  5250. if (doNotLinkify)
  5251. {
  5252. delinkifyLink(link);
  5253. }
  5254. cLinksProcessed++;
  5255.  
  5256. if (resultStatus == "alive_link")
  5257. {
  5258. cLinksAlive++;
  5259. return;
  5260. }
  5261.  
  5262. if (resultStatus == "adead_link")
  5263. {
  5264. cLinksDead++;
  5265. return;
  5266. }
  5267.  
  5268. if (resultStatus == "unava_link")
  5269. {
  5270. cLinksUnava++;
  5271. }
  5272. if (resultStatus == "prem_link")
  5273. {
  5274. cLinksprem++;
  5275. return;
  5276. }
  5277. }
  5278.  
  5279.  
  5280. function initFileHosts()
  5281. {
  5282.  
  5283. function addObsoleteHost(linkRegex, xpathEx)
  5284. {
  5285. var host = new Array(2);
  5286. host[0] = linkRegex;
  5287. host[1] = xpathEx;
  5288. http_file_hosts_obsolete.push(host);
  5289. }
  5290.  
  5291. //obsolete file hosts init start
  5292. if (Obsolete_file_hosts)
  5293. {
  5294. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5295. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5296. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5297. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5298. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5299. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5300. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5301. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5302. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5303. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5304. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5305. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5306. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5307. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5308. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5309. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5310. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5311. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5312. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5313. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5314. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5315. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5316. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5317. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5318. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5319. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5320. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5321. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5322. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5323. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5324. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5325. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5326. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5327. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5328. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5329. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5330. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5331. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5332. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5333. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5334. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5335. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5336. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5337. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5338. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5339. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5340. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5341. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5342. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5343. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5344. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5345. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5346. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5347. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5348. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5349. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5350. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5351. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5352. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5353. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5354. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5355. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5356. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5357. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5358. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5359. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5360. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5361. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5362. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5363. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5364. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5365. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5366. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5367. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5368. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5369. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5370. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5371. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5372. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5373. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5374. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5375. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5376. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5377. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5378. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5379. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5380. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5381. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5382. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5383. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5384. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5385. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5386. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5387. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5388. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5389. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5390. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5391. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5392. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5393. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5394. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5395. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5396. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5397. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5398. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5399. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5400. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5401. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5402. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5403. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5404. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5405. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5406. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5407. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5408. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5409. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5410. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5411. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5412. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5413. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5414. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5415. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5416. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5417. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5418. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5419. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5420. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5421. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5422. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5423. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5424. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5425. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5426. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5427. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5428. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5429. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5430. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5431. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5432. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5433. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5434. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5435. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5436. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5437. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5438. 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')]");
  5439. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5440. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5441. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5442. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5443. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5444. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5445. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5446. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5447. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5448. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5449. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5450. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5451. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5452. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5453. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5454. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5455. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5456. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5457. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5458. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5459. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5460. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5461. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5462. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5463. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5464. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5465. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5466. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5467. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5468. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5469. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5470. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5471. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5472. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5473. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5474. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5475. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5476. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5477. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5478. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5479. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5480. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5481. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5482. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5483. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5484. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5485. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5486. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5487. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5488. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5489. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5490. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5491. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5492. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5493. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5494. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5495. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5496. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5497. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5498. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5499. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5500. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5501. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5502. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5503. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5504. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5505. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5506. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5507. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5508. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5509. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5510. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5511. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5512. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5513. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5514. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5515. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5516. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5517. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5518. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5519. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5520. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5521. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5522. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5523. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5524. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5525. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5526. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5527. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5528. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5529. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5530. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5531. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5532. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5533. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5534. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5535. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5536. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5537. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5538. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5539. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5540. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5541. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5542. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5543. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5544. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5545. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5546. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5547. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5548. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5549. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5550. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5551. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5552. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5553. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5554. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5555. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5556. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5557. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5558. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5559. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5560. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5561. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5562. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5563. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5564. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5565. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5566. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5567. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5568. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5569. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5570. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5571. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5572. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5573. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5574. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5575. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5576. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5577. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5578. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5579. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5580. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5581. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5582. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5583. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5584. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5585. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5586. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5587. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5588. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5589. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5590. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5591. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5592. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5593. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5594. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5595. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5596. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5597. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5598. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5599. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5600. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5601. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5602. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5603. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5604. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5605. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5606. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5607. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5608. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5609. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5610. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5611. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5612. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5613. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5614. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5615. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5616. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5617. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5618. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5619. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5620. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5621. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5622. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5623. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5624. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5625. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5626. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5627. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5628. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5629. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5630. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5631. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5632. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5633. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5634. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5635. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5636. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5637. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5638. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5639. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5640. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5641. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5642. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5643. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5644. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5645. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5646. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5647. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5648. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5649. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5650. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5651. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5652. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5653. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5654. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5655. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5656. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5657. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5658. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5659. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5660. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5661. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5662. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5663. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5664. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5665. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5666. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5667. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5668. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5669. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5670. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5671. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5672. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5673. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5674. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5675. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5676. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5677. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5678. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5679. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5680. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5681. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5682. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5683. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5684. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5685. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5686. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5687. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5688. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5689. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5690. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5691. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5692. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5693. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5694. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5695. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5696. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5697. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5698. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5699. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5700. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5701. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5702. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5703. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5704. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5705. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5706. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5707. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5708. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5709. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5710. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5711. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5712. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5713. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5714. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5715. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5716. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5717. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5718. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5719. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5720. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5721. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5722. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5723. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5724. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5725. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5726. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5727. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5728. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5729. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5730. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5731. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5732. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5733. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5734. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5735. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5736. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5737. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5738. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5739. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5740. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5741. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5742. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5743. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5744. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5745. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5746. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5747. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5748. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5749. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5750. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5751. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5752. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5753. addObsoleteHost("kingfiles\\.net\/\\w+","//a[contains(@href,'kingfiles.net/')]");
  5754. // obsolete start
  5755. }
  5756. //obsolete file hosts init end
  5757. //Add Host Example
  5758. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5759. {
  5760. addFileHost(
  5761. "datafile\.com\/\\w+",
  5762. 'var captchaPanel|<link href="/css/files_download.css"',
  5763. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5764. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5765. '<style type="text/css">',
  5766. "//a[contains(@href,'datafile.com')]",
  5767. true);
  5768. } */
  5769.  
  5770. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5771. {
  5772. var host = new Array(7);
  5773. host[0] = linkRegex;
  5774. host[1] = isAliveRegex;
  5775. host[2] = isDeadRegex;
  5776. host[3] = isUnavaRegex;
  5777. host[6] = ispremRegex;
  5778. host[4] = xpathEx;
  5779. tryLoop ? host[5] = true : host[5] = false;
  5780. http_file_hosts.push(host);
  5781. }
  5782. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5783. {
  5784. addFileHost(
  5785. "megafileupload\.com\/..\/file\/",
  5786. 'downloadbtn',
  5787. 'is not found',
  5788. 'optional--',
  5789. 'optional2--',
  5790. "//a[contains(@href,'megafileupload.com')]");
  5791. }
  5792. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5793. {
  5794. addFileHost(
  5795. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5796. 'download\\.gif"',
  5797. 'p_point">',
  5798. 'optional--',
  5799. 'optional2--',
  5800. "//a[contains(@href,'demo.ovh.eu')]");
  5801. }
  5802. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5803. {
  5804. addFileHost(
  5805. "xkeepfile\.com\/\\w+",
  5806. 'File has been found|Click here to download',
  5807. 'File cannot be found|class="error">',
  5808. 'optional--',
  5809. 'optional2--',
  5810. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5811. }
  5812. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5813. {
  5814. addFileHost(
  5815. "safelinking\\.net\/p\/\\w+",
  5816. 'color:green;"',
  5817. 'color:(?:red|orange);"',
  5818. 'color:(?:grey|brown);"',
  5819. 'optional2--',
  5820. "//a[contains(@href,'safelinking.net/p/')]",
  5821. true);
  5822. }
  5823. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5824. {
  5825. addFileHost(
  5826. "fastshare\\.cz\/\\d+\/\\w*",
  5827. 'dwntable">',
  5828. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>',
  5829. 'optional--',
  5830. 'optional2--',
  5831. "//a[contains(@href,'fastshare.cz')]");
  5832. }
  5833. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5834. {
  5835. addFileHost(
  5836. "[fF]ast[sS]hare\\.org\/download",
  5837. 'Download ">',
  5838. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5839. 'optional--',
  5840. 'optional2--',
  5841. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5842. }
  5843. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5844. {
  5845. addFileHost(
  5846. "partage-facile\.com\/\\w+",
  5847. 'class="title"><strong>|colspan="2"',
  5848. 'Page introuvable|class="alert-message',
  5849. 'optional--',
  5850. 'optional2--',
  5851. "//a[contains(@href,'partage-facile.com')]");
  5852. }
  5853. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5854. {
  5855. addFileHost(
  5856. "rapidgator\\.net\/file\/\\w+",
  5857. '/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',
  5858. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5859. 'optional--',
  5860. 'can be downloaded by premium only|files up to 500 MB in free mode',
  5861. "//a[contains(@href,'rapidgator.net/file')]",
  5862. true
  5863. );
  5864. }
  5865. if (GM_getValue("Check_relink_dot_us_links", false))
  5866. {
  5867. addFileHost(
  5868. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5869. 'online_detail\\.png" alt="Status',
  5870. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5871. 'unknown_detail\\.png" alt="Status',
  5872. 'optional2--',
  5873. "//a[contains(@href,'relink.us/')]"
  5874. );
  5875. }
  5876. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5877. {
  5878. addFileHost(
  5879. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5880. 'div id="dl"',
  5881. 'Sie haben den Link falsch',
  5882. 'optional--',
  5883. 'optional2--',
  5884. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5885. );
  5886. }
  5887. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5888. {
  5889. addFileHost(
  5890. "flyfiles\\.net\/\\w+",
  5891. 'download_button"|"Download file"',
  5892. 'File not found!|Файл не найден',
  5893. 'optional--',
  5894. 'optional2--',
  5895. "//a[contains(@href,'flyfiles.net/')]"
  5896. );
  5897. }
  5898. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5899. {
  5900. addFileHost(
  5901. "wikiupload\\.com\/\\w+",
  5902. 'download-button">',
  5903. 'Sorry, File not found',
  5904. 'optional--',
  5905. 'optional2--',
  5906. "//a[contains(@href,'wikiupload.com/')]"
  5907. );
  5908. }
  5909. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5910. {
  5911. addFileHost(
  5912. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5913. 'file\\.php">|Pobierz Plik',
  5914. 'Podany plik nie zosta',
  5915. 'optional--',
  5916. 'optional2--',
  5917. "//a[contains(@href,'hostuje.net/file')]"
  5918. );
  5919. }
  5920. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5921. {
  5922. addFileHost(
  5923. "gettyfile\\.ru\/\\d+",
  5924. 'download\\.gif border',
  5925. '<center><font size="3">',
  5926. 'optional--',
  5927. 'optional2--',
  5928. "//a[contains(@href,'gettyfile.ru/')]"
  5929. );
  5930. }
  5931. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5932. {
  5933. addFileHost(
  5934. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5935. 'download\\-file">',
  5936. 'col-1">\\s*<h1>',
  5937. 'optional--',
  5938. 'optional2--',
  5939. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  5940. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  5941. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  5942. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  5943. );
  5944. }
  5945. if (GM_getValue("Check_data_dot_hu_links", false))
  5946. {
  5947. addFileHost(
  5948. "data\\.hu\/get\/\\d+\/",
  5949. 'download_box_button',
  5950. 'missing\\.php',
  5951. 'optional--',
  5952. 'optional2--',
  5953. "//a[contains(@href,'data.hu/get')]",
  5954. true
  5955. );
  5956. }
  5957. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  5958. {
  5959. addFileHost(
  5960. "filesmelt\\.com\/dl\/\\w+",
  5961. '(Your download is ready|Download File)',
  5962. 'Sorry, but your',
  5963. 'optional--',
  5964. 'optional2--',
  5965. "//a[contains(@href,'filesmelt.com/dl')]"
  5966. );
  5967. }
  5968. if (GM_getValue("Check_indowebster_dot_com_links", false))
  5969. {
  5970. addFileHost(
  5971. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  5972. 'premiumBtn"',
  5973. 'errorMessage"',
  5974. 'optional--',
  5975. 'optional2--',
  5976. "//a[contains(@href,'indowebster.com/download')]"
  5977. );
  5978. }
  5979. if (GM_getValue("Check_superload_dot_cz_links", false))
  5980. {
  5981. addFileHost(
  5982. "superload\\.cz\/dl\/\\w+",
  5983. 'icon-download">',
  5984. 'soubor nebyl nalezen',
  5985. 'optional--',
  5986. 'optional2--',
  5987. "//a[contains(@href,'superload.cz/dl')]"
  5988. );
  5989. }
  5990. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  5991. {
  5992. addFileHost(
  5993. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  5994. 'op" value="download',
  5995. 'class="err">|width:500px;text-align:left;">',
  5996. 'optional--',
  5997. 'optional2--',
  5998. "//a[contains(@href,'hulkfile.')]"
  5999. );
  6000. }
  6001. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6002. {
  6003. addFileHost(
  6004. "easybytez\\.com\/\\w+",
  6005. 'op" value="download',
  6006. 'stop_error\\.gif',
  6007. 'optional--',
  6008. 'optional2--',
  6009. "//a[contains(@href,'easybytez.com/')]"
  6010. );
  6011. }
  6012. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6013. {
  6014. addFileHost(
  6015. "filestore\\.com\\.ua\/\\?d=\\w+",
  6016. 'tdrow1>',
  6017. 'class=warn',
  6018. 'optional--',
  6019. 'optional2--',
  6020. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6021. );
  6022. }
  6023. if (GM_getValue("Check_netkups_dot_com_links", false))
  6024. {
  6025. addFileHost(
  6026. "netkups\\.com\/\\?d=\\w+",
  6027. 'submit">Continue',
  6028. 'page">File not found|deleted due to inactivity',
  6029. 'optional--',
  6030. 'optional2--',
  6031. "//a[contains(@href,'netkups.com/?d=')]"
  6032. );
  6033. }
  6034. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6035. {
  6036. addFileHost(
  6037. "openfile\\.ru\/(?:video\/|)\\d+",
  6038. 'videobox_left">',
  6039. 'blog_title">|not found on this server',
  6040. 'optional--',
  6041. 'optional2--',
  6042. "//a[contains(@href,'openfile.ru/')]"
  6043. );
  6044. }
  6045. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6046. {
  6047. addFileHost(
  6048. "extmatrix\\.com\/files\/\\w+",
  6049. 'div class="success"',
  6050. 'div class="error"',
  6051. 'optional--',
  6052. 'optional2--',
  6053. "//a[contains(@href,'extmatrix.com/files')]"
  6054. );
  6055. }
  6056. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6057. {
  6058. addFileHost(
  6059. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6060. 'content_lnkDownload',
  6061. 'error\\.aspx\\?',
  6062. 'optional--',
  6063. 'optional2--',
  6064. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6065. );
  6066. }
  6067. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6068. {
  6069. addFileHost(
  6070. "yourfilestore\\.com\/download\/\\d+\/",
  6071. 'download_data">',
  6072. 'may have been deleted|<h1>Sorry!<\/h1>',
  6073. 'optional--',
  6074. 'optional2--',
  6075. "//a[contains(@href,'yourfilestore.com/download')]"
  6076. );
  6077. }
  6078. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6079. {
  6080. addFileHost(
  6081. "nekaka\\.com\/d\/[\\w-]+",
  6082. 'downloadForm">',
  6083. 'invalid file link',
  6084. 'optional--',
  6085. 'optional2--',
  6086. "//a[contains(@href,'nekaka.com/d')]"
  6087. );
  6088. }
  6089. if (GM_getValue("Check_filebig_dot_net_links", false))
  6090. {
  6091. addFileHost(
  6092. "filebig\\.net\/files\/\\w+",
  6093. 'downloadFile">',
  6094. '<p>File not found<\/p>',
  6095. 'optional--',
  6096. 'optional2--',
  6097. "//a[contains(@href,'filebig.net/files')]"
  6098. );
  6099. }
  6100. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6101. {
  6102. addFileHost(
  6103. "files\\.filefront\\.com\/\/;\\d+;;",
  6104. 'downloadLink">',
  6105. 'File not found, you',
  6106. 'optional--',
  6107. 'optional2--',
  6108. "//a[contains(@href,'files.filefront.com')]"
  6109. );
  6110.  
  6111. addFileHost(
  6112. "gamefront\\.com\/files\/\\d+",
  6113. 'downloadLink">',
  6114. 'File not found, you',
  6115. 'optional--',
  6116. 'optional2--',
  6117. "//a[contains(@href,'gamefront.com/files')]"
  6118. );
  6119. }
  6120. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6121. {
  6122. addFileHost(
  6123. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6124. 'dnlLnk"',
  6125. 'already been deleted',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6129. );
  6130. }
  6131. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6132. {
  6133. addFileHost(
  6134. "hellupload\\.com\/\\w+",
  6135. '<h3>Download File<br',
  6136. 'id="podstrona">|AVOID_IE_BUG',
  6137. 'optional--',
  6138. 'optional2--',
  6139. "//a[contains(@href,'hellupload.com/')]"
  6140. );
  6141. }
  6142. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6143. {
  6144. addFileHost(
  6145. "free\\-uploading\\.com\/\\w+",
  6146. 'op" value="download',
  6147. 'class="err">|width:500px;text-align:left;">',
  6148. 'optional--',
  6149. 'optional2--',
  6150. "//a[contains(@href,'free-uploading.com/')]"
  6151. );
  6152. }
  6153. if (GM_getValue("Check_fileape_dot_com_links", false))
  6154. {
  6155. addFileHost(
  6156. "fileape\\.com\/download\\-",
  6157. 'button_dl\\.png',
  6158. 'does not exist\\.',
  6159. 'optional--',
  6160. 'optional2--',
  6161. "//a[contains(@href,'fileape.com/')]"
  6162. );
  6163. }
  6164. if (GM_getValue("Check_uppit_dot_com_links", false))
  6165. {
  6166. addFileHost(
  6167. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6168. 'op" value="download',
  6169. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6170. 'optional--',
  6171. 'optional2--',
  6172. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6173. true
  6174. );
  6175. }
  6176. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6177. {
  6178. addFileHost(
  6179. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6180. 'op" value="download',
  6181. '>File Not Found<',
  6182. 'optional--',
  6183. 'optional2--',
  6184. "//a[contains(@href,'nosupload.com')]",
  6185. true
  6186. );
  6187. }
  6188. if (GM_getValue("Check_filesin_dot_com_links", false))
  6189. {
  6190. addFileHost(
  6191. "filesin\\.com\/\\w+\/download\\.html",
  6192. 'download_area">',
  6193. 'error_note">',
  6194. 'optional--',
  6195. 'optional2--',
  6196. "//a[contains(@href,'filesin.com/')]",
  6197. true
  6198. );
  6199. }
  6200. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6201. {
  6202. addFileHost(
  6203. "nowdownload\\.ch\/dl\/\\w+",
  6204. 'alert-success"',
  6205. 'This file does not exist!',
  6206. 'The file is being transfered',
  6207. 'optional2--',
  6208. "//a[contains(@href,'nowdownload.ch/dl')]"
  6209. );
  6210. }
  6211. if (GM_getValue("Check_axifile_dot_com_links", false))
  6212. {
  6213. addFileHost(
  6214. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6215. 'Dbutton_big"',
  6216. 'download\\-error\\.php',
  6217. 'optional--',
  6218. 'optional2--',
  6219. "//a[contains(@href,'axifile.com/')]"
  6220. );
  6221. }
  6222. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6223. {
  6224. addFileHost(
  6225. "hulkshare\.com\/\\w+",
  6226. 'download\.sam\.png|This is a private file|id="filename',
  6227. 'File does not exist|fingerprint protected copyright',
  6228. 'optional--',
  6229. 'optional2--',
  6230. "//a[contains(@href,'hulkshare.com')]"
  6231. );
  6232. }
  6233. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6234. {
  6235. addFileHost(
  6236. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6237. 'col-1">\\s*<s',
  6238. 'col-1">\\s*<h',
  6239. 'optional--',
  6240. 'optional2--',
  6241. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6242. );
  6243. }
  6244. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6245. {
  6246. addFileHost(
  6247. "turbobit\\.(?:net|pl)",
  6248. 'id="download-gate-info',
  6249. 'afterWait()',
  6250. 'optional--',
  6251. 'optional2--',
  6252. "//a[contains(@href,'turbobit.net')]"
  6253. );
  6254. }
  6255. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6256. {
  6257. addFileHost(
  6258. "hitfile\\.net\/download\/folder\/\\d+",
  6259. 'content">\\s*<s',
  6260. 'content">\\s*<h',
  6261. 'optional--',
  6262. 'optional2--',
  6263. "//a[contains(@href,'hitfile.net/download/folder')]"
  6264. );
  6265. }
  6266. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  6267. {
  6268. addFileHost(
  6269. "netload\\.in\/folder\\.php\\?folder_id=\\w+",
  6270. 'images\/online\\.gif',
  6271. 'InPage_Error"',
  6272. 'optional--',
  6273. 'optional2--',
  6274. "//a[contains(@href,'netload.in/folder.php')]"
  6275. );
  6276. }
  6277. if (GM_getValue("Check_movshare_dot_net_links", false))
  6278. {
  6279. addFileHost(
  6280. "movshare\\.net\\/video\\/\\w+",
  6281. 'optional--"',
  6282. 'no longer exists',
  6283. 'optional--',
  6284. 'optional2--',
  6285. "//a[contains(@href,'movshare.net/video')]"
  6286. );
  6287. }
  6288. if (GM_getValue("Check_plunder_dot_com_links", false))
  6289. {
  6290. addFileHost(
  6291. "plunder\.com\/\\w+",
  6292. 'x\/download\\.gif',
  6293. '404 - File or directory not found.',
  6294. 'optional--',
  6295. 'optional2--',
  6296. "//a[contains(@href,'plunder.com')]"
  6297. );
  6298. }
  6299. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6300. {
  6301. addFileHost(
  6302. "mafiastorage\\.com\/\\w+",
  6303. 'op" value="download',
  6304. 'class="err">|style="width:500px;text-align:left;"',
  6305. 'optional--',
  6306. 'optional2--',
  6307. "//a[contains(@href,'mafiastorage.com/')]"
  6308. );
  6309. }
  6310. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6311. {
  6312. addFileHost(
  6313. "uploadspace\.pl\/plik\\w+",
  6314. 'Downloading .+? \\|',
  6315. 'Downloading a file',
  6316. 'optional--',
  6317. 'optional2--',
  6318. "//a[contains(@href,'uploadspace.pl/plik')]"
  6319. );
  6320. }
  6321. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6322. {
  6323. addFileHost(
  6324. "uploadingit\\.com\/file\/\\w+",
  6325. 'downloadTitle">',
  6326. 'deleteContent">',
  6327. 'optional--',
  6328. 'optional2--',
  6329. "//a[contains(@href,'uploadingit.com/file')]"
  6330. );
  6331. }
  6332. if (GM_getValue("Check_rghost_dot_net_links", false))
  6333. {
  6334. addFileHost(
  6335. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6336. 'download_link|btn large download',
  6337. 'file is restricted|File is deleted|503 Service Unavailable',
  6338. 'optional--',
  6339. 'optional2--',
  6340. "//a[contains(@href,'rghost.')]"
  6341. );
  6342. }
  6343. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6344. {
  6345. addFileHost(
  6346. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6347. '">Staženo:\\s*<\/span>',
  6348. 'Soubor, který hledáte nenalezen',
  6349. 'optional--',
  6350. 'optional2--',
  6351. "//a[contains(@href,'xdisk.cz/')]"
  6352. );
  6353. }
  6354. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6355. {
  6356. addFileHost(
  6357. "expressleech\.com\/\\w+",
  6358. 'src="/img/Download.gif"|var _gaq =',
  6359. 'var rr =|403 Forbidden',
  6360. 'optional--',
  6361. 'optional2--',
  6362. "//a[contains(@href,'expressleech.com')]");
  6363. }
  6364. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6365. {
  6366. addFileHost(
  6367. "2downloadz\.com\/\\w+",
  6368. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6369. 'color="#006DCC|File error',
  6370. 'optional--',
  6371. 'optional2--',
  6372. "//a[contains(@href,'2downloadz.com')]");
  6373. }
  6374. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6375. {
  6376. addFileHost(
  6377. "mightyupload\.com\/\\w+",
  6378. 'background:#ccc;text-align|CONTENT="Download File"',
  6379. 'style="background:#eee|var rr =|File Not Found',
  6380. 'error-code">1010',
  6381. 'optional2--',
  6382. "//a[contains(@href,'mightyupload.com')]");
  6383. }
  6384. if (GM_getValue("Check_anysend_dot_com_links", false))
  6385. {
  6386. addFileHost(
  6387. "anysend\.com\/\\w+",
  6388. 'var openCalled=false;|content="noindex"',
  6389. '_trackPageview',
  6390. 'optional--',
  6391. 'optional2--',
  6392. "//a[contains(@href,'anysend.com')]");
  6393. }
  6394. if (GM_getValue("Check_datafile_dot_com_links", false))
  6395. {
  6396. addFileHost(
  6397. "datafile\.com\/\\w+",
  6398. 'var captchaPanel|<link href="/css/files_download.css"',
  6399. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6400. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6401. '; display:none;">', //<style type="text/css">
  6402. "//a[contains(@href,'datafile.com')]",
  6403. true);
  6404. }
  6405. if (GM_getValue("Check_upstore_dot_net_links", false))
  6406. {
  6407. addFileHost(
  6408. "upstore\.net\/\\w+",
  6409. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6410. 'File not found|onload="redirect|class="error">',
  6411. 'optional--',
  6412. 'optional2--',
  6413. "//a[contains(@href,'upstore.net')]");
  6414. }
  6415. if (GM_getValue("Check_upsto_dot_re_links", false))
  6416. {
  6417. addFileHost(
  6418. "upsto\.re\/\\w+",
  6419. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6420. 'File not found|onload="redirect|class="error">',
  6421. 'optional--',
  6422. 'optional2--',
  6423. "//a[contains(@href,'upsto.re')]");
  6424. }
  6425. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6426. {
  6427. addFileHost(
  6428. "speedy\.sh\/\\w+",
  6429. 'bgcolor=#eeeeee|class="addthis',
  6430. 'File not found|downloadfilenamenotfound>',
  6431. 'optional--',
  6432. 'optional2--',
  6433. "//a[contains(@href,'speedy.sh')]");
  6434. }
  6435. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6436. {
  6437. addFileHost(
  6438. "sanshare\.com\/\\w+",
  6439. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6440. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'sanshare.com')]");
  6444. }
  6445. if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6446. {
  6447. addFileHost(
  6448. "uploadhero\\.co\/dl\/\\w+",
  6449. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6450. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6451. 'optional--',
  6452. 'optional2--',
  6453. "//a[contains(@href,'uploadhero.co/dl')]"
  6454. );
  6455. }
  6456. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6457. {
  6458. addFileHost(
  6459. "secureupload\\.eu\/\\w+",
  6460. 'Downloading',
  6461. 'cannot be found|File Not Found|could not be found',
  6462. 'optional--',
  6463. 'optional2--',
  6464. "//a[contains(@href,'secureupload.eu')]"
  6465. );
  6466. }
  6467. if (GM_getValue("Check_ge_dot_tt_links", false))
  6468. {
  6469. addFileHost(
  6470. "ge\.tt\/\\w+",
  6471. 'downloads pic',
  6472. 'is NOT the same as',
  6473. 'optional--',
  6474. 'optional2--',
  6475. "//a[contains(@href,'ge.tt')]");
  6476. }
  6477. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6478. {
  6479. addFileHost(
  6480. "filefactory\.com\/\\w+",
  6481. 'div id="file_holder"|download.css',
  6482. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6483. 'Server Maintenance|temporarily overloaded',
  6484. 'optional2--',
  6485. "//a[contains(@href,'filefactory.com')]");
  6486. }
  6487. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6488. {
  6489. addFileHost(
  6490. "filesflash\.net\/\\w+",
  6491. 'align:right">Filename:',
  6492. 'class="msg">',
  6493. 'optional--',
  6494. 'optional2--',
  6495. "//a[contains(@href,'filesflash.net')]");
  6496. }
  6497. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6498. {
  6499. addFileHost(
  6500. "rapidgator\\.net\/folder\/\\w+",
  6501. 'href="/folder/',
  6502. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6503. 'optional--',
  6504. 'optional2--',
  6505. "//a[contains(@href,'rapidgator.net/folder')]",
  6506. true
  6507. );
  6508. }
  6509. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6510. {
  6511. addFileHost(
  6512. "salefiles\.com\/\\w+",
  6513. '<Title>Download|CONTENT="Download',
  6514. 'font:15px Arial|background:#eee;',
  6515. 'optional--',
  6516. 'optional2--',
  6517. "//a[contains(@href,'salefiles.com')]");
  6518. }
  6519. if (GM_getValue("Check_megairon_dot_net_links", false))
  6520. {
  6521. addFileHost(
  6522. "megairon\.net\/\\w+",
  6523. 'border: 5px #ffeb90 solid;',
  6524. 'CONTENT="Download File ">|var rr =',
  6525. 'error-code">523',
  6526. 'optional2--',
  6527. "//a[contains(@href,'megairon.net')]",
  6528. true);
  6529. }
  6530. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6531. {
  6532. addFileHost(
  6533. "datoid\.cz\/\\w+",
  6534. 'btn-download|class="icon-download-large"',
  6535. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6536. 'optional--',
  6537. 'optional2--',
  6538. "//a[contains(@href,'datoid.cz')]");
  6539. }
  6540. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6541. {
  6542. addFileHost(
  6543. "stiahni\.si\/\\w+",
  6544. 'report_icon.png"|slow-download-button',
  6545. 'none.png|deleted|<h2>Error 500</h2>',
  6546. 'optional--',
  6547. 'optional2--',
  6548. "//a[contains(@href,'stiahni.si')]");
  6549. }
  6550. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6551. {
  6552. addFileHost(
  6553. "cloudstor\.es\/\\w+",
  6554. '"btn_download"',
  6555. '404: Page Not Found',
  6556. 'optional--',
  6557. 'optional2--',
  6558. "//a[contains(@href,'cloudstor.es')]");
  6559. }
  6560. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6561. {
  6562. addFileHost(
  6563. "streamfile\.com\/\\w+",
  6564. 'class="btn',
  6565. 'class="green-btn',
  6566. 'optional--',
  6567. 'optional2--',
  6568. "//a[contains(@href,'streamfile.com')]");
  6569. }
  6570. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6571. {
  6572. addFileHost(
  6573. "eyesfile\.ca\/\\w+",
  6574. 'value="Get Link',
  6575. 'var rr =',
  6576. 'optional--',
  6577. 'optional2--',
  6578. "//a[contains(@href,'eyesfile.ca')]");
  6579. }
  6580. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6581. {
  6582. addFileHost(
  6583. "filemoney\.com\/\\w+",
  6584. 'og:title',
  6585. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6586. 'error-code">1010',
  6587. 'optional2--',
  6588. "//a[contains(@href,'filemoney.com')]");
  6589. }
  6590. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6591. {
  6592. addFileHost(
  6593. "uploadboy\.com\/\\w+",
  6594. 'width="740">|method_free',
  6595. 'var rr =|background:#ffffff|not be found|file was removed',
  6596. 'optional--',
  6597. 'optional2--',
  6598. "//a[contains(@href,'uploadboy.com')]");
  6599. }
  6600. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6601. {
  6602. addFileHost(
  6603. "speedshare\.eu\/\\w+",
  6604. 'favicon.png|color:#3d87c0|cross.png"',
  6605. 'var rr =|File Not Found|style="background:#eee',
  6606. 'optional--',
  6607. 'optional2--',
  6608. "//a[contains(@href,'speedshare.eu')]");
  6609. }
  6610. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6611. {
  6612. addFileHost(
  6613. "unlimitzone\.com\/\\w+",
  6614. 'name="method_free',
  6615. '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',
  6616. 'optional--',
  6617. 'optional2--',
  6618. "//a[contains(@href,'unlimitzone.com')]");
  6619. }
  6620. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6621. {
  6622. addFileHost(
  6623. "rioupload\.com\/\\w+",
  6624. 'sell.jpg',
  6625. 'var rr =',
  6626. 'optional--',
  6627. 'optional2--',
  6628. "//a[contains(@href,'rioupload.com')]");
  6629. }
  6630. if (GM_getValue("Check_rg_dot_to_links", false))
  6631. {
  6632. addFileHost(
  6633. "rg\.to\/\\w+",
  6634. '/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',
  6635. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6636. 'optional--',
  6637. 'can be downloaded by premium only|files up to 500 MB in free mode',
  6638. "//a[contains(@href,'rg.to')]");
  6639. }
  6640. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6641. {
  6642. addFileHost(
  6643. "jumbofiles\.org\/\\w+",
  6644. 'H71C5.png|class="downloadtitle">',
  6645. 'var swfu|ViewSourceBIN.png',
  6646. 'optional--',
  6647. 'optional2--',
  6648. "//a[contains(@href,'jumbofiles.org')]");
  6649. }
  6650. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6651. {
  6652. addFileHost(
  6653. "fshare\\.vn\/file\/\\w+",
  6654. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6655. 'không tồn tại|class="color_red m_t_50"',
  6656. 'optional--',
  6657. 'optional2--',
  6658. "//a[contains(@href,'fshare.vn/file')]",
  6659. true
  6660. );
  6661. }
  6662. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6663. {
  6664. addFileHost(
  6665. "spaceforfiles\.com\/\\w+",
  6666. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6667. 'var rr =|AVOID_IE_BUG',
  6668. 'optional--',
  6669. 'optional2--',
  6670. "//a[contains(@href,'spaceforfiles.com')]");
  6671. }
  6672. if (GM_getValue("Check_google_dot_com_links", false))
  6673. {
  6674. addFileHost(
  6675. "google\\.com\/file\/\\w+",
  6676. 'content="!">|color:#2d2d2d',
  6677. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6678. 'optional--',
  6679. 'optional2--',
  6680. "//a[contains(@href,'google.com/file')]",
  6681. true
  6682. );
  6683. }
  6684. if (GM_getValue("Check_google_dot_com_links", false))
  6685. {
  6686. addFileHost(
  6687. "docs.google.com\/\\w+",
  6688. 'content="!">|color:#2d2d2d',
  6689. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6690. 'optional--',
  6691. 'optional2--',
  6692. "//a[contains(@href,'docs.google.com')]",
  6693. true
  6694. );
  6695. }
  6696. if (GM_getValue("Check_google_dot_com_links", false))
  6697. {
  6698. addFileHost(
  6699. "drive.google.com\/\\w+",
  6700. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6701. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'drive.google.com')]",
  6705. true
  6706. );
  6707. }
  6708. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6709. {
  6710. addFileHost(
  6711. "up.media1fire\.com\/\\w+",
  6712. 'class="addthis_|value="download',
  6713. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6714. 'optional--',
  6715. 'optional2--',
  6716. "//a[contains(@href,'up.media1fire.com')]");
  6717. }
  6718. if (GM_getValue("Check_depfile_dot_com_links", false))
  6719. {
  6720. addFileHost(
  6721. "depfile\.com\/\\w+",
  6722. 'logo_0.png|downloads.gif"|verifycode',
  6723. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6724. 'optional--',
  6725. 'optional2--',
  6726. "//a[contains(@href,'depfile.com')]");
  6727. }
  6728. if (GM_getValue("Check_go4up_dot_com_links", false))
  6729. {
  6730. addFileHost(
  6731. "go4up\.com\/\\w+",
  6732. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6733. '<title>GO4UP|dmca',
  6734. 'optional--',
  6735. 'optional2--',
  6736. "//a[contains(@href,'go4up.com')]");
  6737. }
  6738. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6739. {
  6740. addFileHost(
  6741. "redbunker\.net\/\\w+",
  6742. 'dload.png|rowspan="3">|yep.gif',
  6743. 'CONTENT="RedBunker|#D3D3D3;|color:#d33|AVOID_IE_BUG',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'redbunker.net')]");
  6747. }
  6748. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6749. {
  6750. addFileHost(
  6751. "divxpress\.com\/\\w+",
  6752. 'btn_download|logo.png"',
  6753. 'AVOID_IE_BUG|var rr =',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'divxpress.com')]");
  6757. }
  6758. if (GM_getValue("Check_anafile_dot_com_links", false))
  6759. {
  6760. addFileHost(
  6761. "anafile\.com\/\\w+",
  6762. 'width="881" valign="top|color="#800080"|name="go"',
  6763. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'anafile.com')]");
  6767. }
  6768. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6769. {
  6770. addFileHost(
  6771. "uploadable\\.ch\/file\/\\w+",
  6772. 'captcha.js"|payment.js"|class="btn_download"',
  6773. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'uploadable.ch/file')]",
  6777. true
  6778. );
  6779. }
  6780. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6781. {
  6782. addFileHost(
  6783. "arabloads\.net\/\\w+",
  6784. 'name="method_free"|name="method_premium"',
  6785. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6786. 'optional--',
  6787. 'optional2--',
  6788. "//a[contains(@href,'arabloads.net')]");
  6789. }
  6790. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6791. {
  6792. addFileHost(
  6793. "sharerepo\.com\/\\w+",
  6794. 'name="method_free"',
  6795. 'var public_on=|The file you were looking for could not be found',
  6796. 'optional--',
  6797. 'optional2--',
  6798. "//a[contains(@href,'sharerepo.com')]");
  6799. }
  6800. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6801. {
  6802. addFileHost(
  6803. "sfshare\.se\/\\w+",
  6804. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6805. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6806. 'optional--',
  6807. 'optional2--',
  6808. "//a[contains(@href,'sfshare.se')]");
  6809. }
  6810. if (GM_getValue("Check_files_dot_fm_links", false))
  6811. {
  6812. addFileHost(
  6813. "files\.fm\/\\w+",
  6814. 'dl.png"|background-color: transparent',
  6815. 'margin: 40px 40px|background: none;',
  6816. 'optional--',
  6817. 'optional2--',
  6818. "//a[contains(@href,'files.fm')]");
  6819. }
  6820. if (GM_getValue("Check_koofile_dot_com_links", false))
  6821. {
  6822. addFileHost(
  6823. "koofile\.com\/\\w+",
  6824. 'value="download1">|name="method_free"',
  6825. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6826. 'optional--',
  6827. 'optional2--',
  6828. "//a[contains(@href,'koofile.com')]");
  6829. }
  6830. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6831. {
  6832. addFileHost(
  6833. "vidxden\\.com\/\\w+",
  6834. 'Continue to Video"',
  6835. 'No such file',
  6836. 'optional--',
  6837. 'optional2--',
  6838. "//a[contains(@href,'vidxden.com')]"
  6839. );
  6840. }
  6841. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6842. {
  6843. addFileHost(
  6844. "muchshare\\.net\/\\w+",
  6845. 'id="btn_download"',
  6846. 'File Not Found|width: 500px; text-align: left;',
  6847. 'optional--',
  6848. 'optional2--',
  6849. "//a[contains(@href,'muchshare.net')]"
  6850. );
  6851. }
  6852. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6853. {
  6854. addFileHost(
  6855. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6856. 'Details zur Datei|Details page',
  6857. 'Jetzt hochladen|upload now',
  6858. 'optional--',
  6859. 'optional2--',
  6860. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6861. );
  6862. }
  6863. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6864. {
  6865. addFileHost(
  6866. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6867. 'downloadbtn"',
  6868. 'DL_FileNotFound',
  6869. 'optional--',
  6870. 'optional2--',
  6871. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6872. );
  6873. }
  6874. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6875. {
  6876. addFileHost(
  6877. "fileflyer\.com\/view\/\\w+",
  6878. '(?:dwl|locked)btn"',
  6879. 'error.gif"|link">Removed|removedlink">',
  6880. 'optional--',
  6881. 'optional2--',
  6882. "//a[contains(@href,'fileflyer.com')]"
  6883. );
  6884. }
  6885. if (GM_getValue("Check_filestore_dot_to_links", false))
  6886. {
  6887. addFileHost(
  6888. "filestore\.to\/\\?d=\\w+",
  6889. '"downloading"',
  6890. 'Datei wurde nicht gefunden',
  6891. 'optional--',
  6892. 'optional2--',
  6893. "//a[contains(@href,'filestore.to')]"
  6894. );
  6895. }
  6896. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6897. {
  6898. addFileHost(
  6899. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6900. 'fz24">Download|class="pl15">',
  6901. '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',
  6902. 'optional--',
  6903. 'optional2--',
  6904. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6905. );
  6906. }
  6907. if (GM_getValue("Check_burnupload_dot_com_links", false))
  6908. {
  6909. addFileHost(
  6910. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6911. 'File size:',
  6912. 'file is not found',
  6913. 'optional--',
  6914. 'optional2--',
  6915. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6916. );
  6917. }
  6918. if (GM_getValue("Check_datei_dot_to_links", false))
  6919. {
  6920. addFileHost(
  6921. "datei\\.to\/\\??\\w+",
  6922. 'icon_downloaden\\.png|>Download starten<',
  6923. 'Datei wurde nicht gefunden|icon_deleted.png',
  6924. 'optional--',
  6925. 'optional2--',
  6926. "//a[contains(@href,'datei.to')]"
  6927. );
  6928. }
  6929. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6930. {
  6931. addFileHost(
  6932. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6933. '<body class="body" id="body">|value="Slow Download"',
  6934. '<body class="body" >',
  6935. 'optional--',
  6936. 'optional2--',
  6937. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6938. );
  6939. }
  6940. if (GM_getValue("Check_uploadhero_dot_com_links", false))
  6941. {
  6942. addFileHost(
  6943. "uploadhero\\.com\/dl\/\\w+",
  6944. 'content-dl">',
  6945. 'men_file_lost\\.jpg"',
  6946. 'optional--',
  6947. 'optional2--',
  6948. "//a[contains(@href,'uploadhero.com/dl')]"
  6949. );
  6950. }
  6951. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6952. {
  6953. addFileHost(
  6954. "unibytes\\.com\/[\\w\.]+",
  6955. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6956. 'File not found|Файл не найден|',
  6957. 'optional--',
  6958. 'optional2--',
  6959. "//a[contains(@href,'unibytes.com')]"
  6960. );
  6961. }
  6962. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  6963. {
  6964. addFileHost(
  6965. "www\\.hellshare\\.com\/\\d+",
  6966. 'tab\\-details"',
  6967. 'list-purp-2"|not found on this server',
  6968. 'optional--',
  6969. 'optional2--',
  6970. "//a[contains(@href,'www.hellshare.com')]"
  6971. );
  6972. }
  6973. if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  6974. {
  6975. addFileHost(
  6976. "quickshare\\.cz\/slozka-\\d+",
  6977. 'Počet souborů: <strong>[1-9]',
  6978. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  6979. 'optional--',
  6980. 'optional2--',
  6981. "//a[contains(@href,'quickshare.cz/slozka')]"
  6982. );
  6983. }
  6984. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  6985. {
  6986. addFileHost(
  6987. "filefactory\\.com\/f\/\\w+",
  6988. 'folderFileList">',
  6989. 'table class="items"|Pointer" class="red">',
  6990. 'optional--',
  6991. 'optional2--',
  6992. "//a[contains(@href,'filefactory.com/f/')]"
  6993. );
  6994. }
  6995. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  6996. {
  6997. addFileHost(
  6998. "netfolder\\.in\/\\w+",
  6999. 'list" value="http',
  7000. 'InPage_Error">|list" value=""',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'netfolder.in')]"
  7004. );
  7005. }
  7006. if (GM_getValue("Check_load_dot_to_links", false))
  7007. {
  7008. addFileHost(
  7009. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7010. '"download_table_left">Size',
  7011. 'Can\'t find file',
  7012. 'optional--',
  7013. 'optional2--',
  7014. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7015. );
  7016. }
  7017. if (GM_getValue("Check_divshare_dot_com_links", false))
  7018. {
  7019. addFileHost(
  7020. "divshare\\.com\/download\/",
  7021. 'download_new\.png',
  7022. 'have been removed',
  7023. 'optional--',
  7024. 'optional2--',
  7025. "//a[contains(@href,'divshare.com')]"
  7026. );
  7027. }
  7028. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7029. {
  7030. addFileHost(
  7031. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\d+",
  7032. 'nazev-souboru">',
  7033. '<div id="obsah">\\s*<h1>',
  7034. 'optional--',
  7035. 'optional2--',
  7036. "//a[contains(@href,'euroshare.eu/file')]"
  7037. );
  7038. }
  7039. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7040. {
  7041. addFileHost(
  7042. 'files\\.mail\\.ru/(?:\\w*)',
  7043. 'fileList',
  7044. 'errorMessage',
  7045. 'optional--',
  7046. 'optional2--',
  7047. "//a[contains(@href,'files.mail.ru')]"
  7048. );
  7049. }
  7050. if (GM_getValue("Check_megashares_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7054. 'Filesize',
  7055. 'Invalid|deleted|Could not download file',
  7056. 'slots|scheduled maintenance',
  7057. 'optional2--',
  7058. "//a[contains(@href,'megashares.com/')]"
  7059. );
  7060. }
  7061. if (GM_getValue("Check_narod_dot_ru_links", false))
  7062. {
  7063. addFileHost(
  7064. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7065. 'b-submit',
  7066. 'b-download-virus-note|headCode">404<',
  7067. 'Внутренняя ошибка сервиса',
  7068. 'optional2--',
  7069. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7070. );
  7071. }
  7072. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7073. {
  7074. addFileHost(
  7075. "rayfile\\.com\/",
  7076. 'FILEtitleTXT',
  7077. 'blueRow',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7081. );
  7082. }
  7083. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7084. {
  7085. addFileHost(
  7086. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7087. 'button_green_body"',
  7088. 'error">',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'filesmonster.com/download')]"
  7092. );
  7093. }
  7094. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7095. {
  7096. addFileHost(
  7097. 'usaupload\\.net\/d\/(?:\w*)',
  7098. '<strong>File size:</strong>',
  7099. 'is not available',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'usaupload.net/d/')]"
  7103. );
  7104. }
  7105. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7106. {
  7107. addFileHost(
  7108. 'sendspace\\.com\/file\/\\w+',
  7109. 'file_description',
  7110. 'msg error"',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'sendspace.com/file')]"
  7114. );
  7115. }
  7116. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7117. {
  7118. addFileHost(
  7119. 'sendspace\\.pl\/file\/\\w+',
  7120. 'download_file"',
  7121. 'Podany plik nie',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'sendspace.pl/file')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_uploading_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. 'uploading\\.com\/(?:files\/)?\\w+',
  7131. 'free_method">',
  7132. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'uploading.com')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7139. {
  7140. addFileHost(
  7141. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7142. 'fileId"',
  7143. 'error">',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'gigasize.com/get')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_good_dot_com_links", false))
  7150. {
  7151. addFileHost(
  7152. 'good\\.net\/(?:_|dl)',
  7153. 'Free Download',
  7154. 'Not Found',
  7155. 'Forbidden',
  7156. 'optional2--',
  7157. "//a[contains(@href,'good.net')]"
  7158. );
  7159. }
  7160. if (GM_getValue("Check_2shared_dot_com_links", false))
  7161. {
  7162. addFileHost(
  7163. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7164. 'File size',
  7165. 'File not found|is not valid|/images/important.gif',
  7166. 'optional--',
  7167. 'optional2--',
  7168. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7169. );
  7170. }
  7171. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7172. {
  7173. addFileHost(
  7174. 'turboupload\\.com\/\\w*',
  7175. 'You have requested',
  7176. 'File Not Found',
  7177. 'optional--',
  7178. 'optional2--',
  7179. "//a[contains(@href,'turboupload.com')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7183. {
  7184. addFileHost(
  7185. 'gigapeta\\.com\/dl\/',
  7186. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7187. '404|page_error',
  7188. 'optional--',
  7189. 'optional2--',
  7190. "//a[contains(@href,'gigapeta.com/dl')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_veehd_dot_com_links", false))
  7194. {
  7195. addFileHost(
  7196. 'veehd\.com\/video\/.*?',
  7197. 'No sound|Download video',
  7198. 'Featured Videos',
  7199. 'optional--',
  7200. 'optional2--',
  7201. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7205. {
  7206. addFileHost(
  7207. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7208. 'fast_download_form">|submit_sms_download',
  7209. '<p style="text-align:center">',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'vip-file.com/download')]"
  7213. );
  7214. }
  7215. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7216. {
  7217. addFileHost(
  7218. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7219. 'download\\-pnl ',
  7220. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7221. 'optional--',
  7222. 'optional2--',
  7223. "//a[contains(@href,'letitbit.net/download')]"
  7224. );
  7225. }
  7226. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7227. {
  7228. addFileHost(
  7229. 'ifolder\.ru\/\\d+',
  7230. 'file-info',
  7231. 'ui-state-error',
  7232. 'optional--',
  7233. 'optional2--',
  7234. "//a[contains(@href,'ifolder.ru')]"
  7235. );
  7236. }
  7237. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7238. {
  7239. addFileHost(
  7240. 'fileswap\\.com\/dl\/\\w+',
  7241. 'bttnDownloadLink"',
  7242. 'rounded_block_error"',
  7243. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7244. 'optional2--',
  7245. "//a[contains(@href,'fileswap.com/dl')]"
  7246. );
  7247. }
  7248. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7249. {
  7250. addFileHost(
  7251. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7252. 'var __error = 0',
  7253. 'FILES__DOESNT_EXIST|removed or did not exist',
  7254. 'optional--',
  7255. 'optional2--',
  7256. "//a[contains(@href,'filecloud.io/')]"
  7257. );
  7258. addFileHost(
  7259. 'ifile\\.it\/\\w+',
  7260. 'var __error = 0',
  7261. 'FILES__DOESNT_EXIST',
  7262. 'optional--',
  7263. 'optional2--',
  7264. "//a[contains(@href,'ifile.it/')]"
  7265. );
  7266. }
  7267. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7268. {
  7269. addFileHost(
  7270. 'solidfiles\\.com\/d\/\\w+',
  7271. 'id="download"|content="Download',
  7272. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7273. 'optional--',
  7274. 'optional2--',
  7275. "//a[contains(@href,'solidfiles.com/d')]"
  7276. );
  7277. }
  7278. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7279. {
  7280. addFileHost(
  7281. "(?:.\\.|)shareflare\\.net",
  7282. 'download-pnl|<div class="premium-block">',
  7283. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7284. 'optional--',
  7285. 'optional2--',
  7286. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7287. );
  7288. }
  7289. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7290. {
  7291. addFileHost(
  7292. "u18116681.shareflare\\.net",
  7293. 'download-pnl|<div class="premium-block">',
  7294. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7295. 'optional--',
  7296. 'optional2--',
  7297. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7298. );
  7299. }
  7300. if (GM_getValue("Check_uloz_dot_to_links", false))
  7301. {
  7302. addFileHost(
  7303. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7304. 'fileDownload">|fileSize">',
  7305. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7306. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7307. 'optional2--',
  7308. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7309. true
  7310. );
  7311. }
  7312. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7313. {
  7314. addFileHost(
  7315. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7316. 'file\\-list-orderby|section-filedetail">',
  7317. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  7318. 'optional--',
  7319. 'optional2--',
  7320. "//a[contains(@href,'hellspy.')]"
  7321. );
  7322. }
  7323. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7324. {
  7325. addFileHost(
  7326. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7327. '<body onload="">',
  7328. 'neexistuje|not exist',
  7329. 'optional--',
  7330. 'optional2--',
  7331. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7332. );
  7333. }
  7334. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7335. {
  7336. addFileHost(
  7337. "stahovanizasms\\.cz\/\\w+",
  7338. 'download\\.png>|font-size:11px><tr>',
  7339. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7340. 'optional--',
  7341. 'optional2--',
  7342. "//a[contains(@href,'stahovanizasms.cz')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7346. {
  7347. addFileHost(
  7348. "share-links\\.biz\/\\w*",
  7349. 'online\\.gif',
  7350. '(?:offline|parts)\\.gif',
  7351. 'optional--',
  7352. 'optional2--',
  7353. "//a[contains(@href,'share-links.biz')]"
  7354. );
  7355. }
  7356. if (GM_getValue("Check_4shared_dot_com_links", false))
  7357. {
  7358. addFileHost(
  7359. "4shared\\.com\/.+\/",
  7360. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7361. 'class="warn\"|big red"|GetDataBack',
  7362. 'Service Unavailable',
  7363. 'optional2--',
  7364. "//a[contains(@href,'4shared.com')]"
  7365. );
  7366. }
  7367. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7368. {
  7369. addFileHost(
  7370. "(?:www\\d+\.|)zippyshare\.com\/",
  7371. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7372. 'not exist|Status 404',
  7373. 'optional--',
  7374. 'optional2--',
  7375. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7376. );
  7377. }
  7378. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7379. {
  7380. addFileHost(
  7381. "mediafire\.com\/",
  7382. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7383. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7384. 'set to private',
  7385. 'optional2--',
  7386. "//a[contains(@href,'mediafire.com')]"
  7387. );
  7388. }
  7389. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7390. {
  7391. addFileHost(
  7392. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7393. '<h2>Authentification</h2></li>|MB</small>|KB</small>',
  7394. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7395. 'optional--',
  7396. 'GB</small>',
  7397. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7398. );
  7399. }
  7400. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7401. {
  7402. addFileHost(
  7403. "ulozisko\.sk\/",
  7404. 'Detaily',
  7405. 'neexistuje',
  7406. 'optional--',
  7407. 'optional2--',
  7408. "//a[contains(@href,'ulozisko.sk')]"
  7409. );
  7410. }
  7411. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7412. {
  7413. addFileHost(
  7414. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7415. 'download.php',
  7416. 'notfound|upload\\-suborov\\.php"',
  7417. 'optional--',
  7418. 'optional2--',
  7419. "//a[contains(@href,'upnito.sk')]"
  7420. );
  7421. }
  7422. if (GM_getValue("Check_box_dot_com_links", false))
  7423. {
  7424. addFileHost(
  7425. "box\.com\/\\w+",
  7426. 'download-file-btn|id="download_button',
  7427. 'BIyMin.png| <div class="error_message|link has been removed',
  7428. 'optional--',
  7429. 'optional2--',
  7430. "//a[contains(@href,'app.box.com')]");
  7431. }
  7432. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7433. {
  7434. addFileHost(
  7435. "uptobox\\.com\/\\w+",
  7436. 'Create Download Link">|Lien de téléchargement',
  7437. 'The file expired|The file was deleted|Fichier introuvable|not available in your country',
  7438. 'Maintenance',
  7439. 'optional2--',
  7440. "//a[contains(@href,'uptobox.com')]"
  7441. );
  7442. }
  7443. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7444. {
  7445. addFileHost(
  7446. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7447. 'FILE DOWNLOAD<',
  7448. 'File Does Not Exist',
  7449. 'optional--',
  7450. 'optional2--',
  7451. "//a[contains(@href,'sharecash.org/download.php')]"
  7452. );
  7453. }
  7454. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7455. {
  7456. addFileHost(
  7457. "depositfiles\\.com\/folders\/\\w+",
  7458. '<div class="progressContainer">',
  7459. '<div id="files" class="files">\\s*<\/div>',
  7460. 'optional--',
  7461. 'optional2--',
  7462. "//a[contains(@href,'depositfiles.com/folders')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7466. {
  7467. addFileHost(
  7468. "rapidfileshare\\.net/\\w+",
  7469. '<div id="upload-header-bg">',
  7470. '<div style="width:500px;text-align:left;">',
  7471. 'optional--',
  7472. 'optional2--',
  7473. "//a[contains(@href,'rapidfileshare.net/')]"
  7474. );
  7475. }
  7476. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7477. {
  7478. addFileHost(
  7479. "stiahnito\\.sk/",
  7480. '<span class="filesize right">',
  7481. '<ol class="list-purp-2">',
  7482. 'optional--',
  7483. 'optional2--',
  7484. "//a[contains(@href,'stiahnito.sk/')]"
  7485. );
  7486. }
  7487. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7488. {
  7489. addFileHost(
  7490. "rusfolder\\.(?:com|net)",
  7491. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7492. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'rusfolder')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_fileover_dot_net_links", false))
  7499. {
  7500. addFileHost(
  7501. "fileover\\.net/\\d+",
  7502. 'id="filesize"',
  7503. 'Not found or deleted|The following file is unavailable',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'fileover.net/')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_catshare_dot_net_links", false))
  7510. {
  7511. addFileHost(
  7512. "catshare\\.net/\\w+",
  7513. '"icon-share',
  7514. 'alert alert-error',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'catshare.net/')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7521. {
  7522. addFileHost(
  7523. "anonfiles\\.com/\\w+",
  7524. '"download_button"',
  7525. '<legend><b>404</b>',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'anonfiles.com')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7532. {
  7533. addFileHost(
  7534. "mixturecloud\\.com/media/\\w+",
  7535. '"btn icon i_globe gray share_150',
  7536. '"s_cross_close"></span> 404:',
  7537. 'optional--',
  7538. 'optional2--',
  7539. "//a[contains(@href,'mixturecloud.com/media/')]"
  7540. );
  7541. }
  7542. if (GM_getValue("Check_akafile_dot_com_links", false))
  7543. {
  7544. addFileHost(
  7545. "akafile\\.com\/\\w+",
  7546. 'download1',
  7547. 'File Not Found',
  7548. 'optional--',
  7549. 'optional2--',
  7550. "//a[contains(@href,'akafile.com/')]"
  7551. );
  7552. }
  7553. if (GM_getValue("Check_creafile_dot_net_links", false))
  7554. {
  7555. addFileHost(
  7556. "creafile\\.net\/\\w+",
  7557. 'downloadblock',
  7558. 'errtitle',
  7559. 'optional--',
  7560. 'optional2--',
  7561. "//a[contains(@href,'creafile.net/')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7565. {
  7566. addFileHost(
  7567. "hugefiles\\.net\/\\w+",
  7568. 'download1|class="btn-create-download" value="Create Download Link">',
  7569. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7570. 'optional--',
  7571. 'optional2--',
  7572. "//a[contains(@href,'hugefiles.net/')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7576. {
  7577. addFileHost(
  7578. "sendmyway\\.com\/\\w+",
  7579. 'id="btn_download"',
  7580. '500px;text-align:left;"|<center><h3>',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'sendmyway.com/')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_upload_dot_ee_links", false))
  7587. {
  7588. addFileHost(
  7589. "upload\\.ee\/\\w+",
  7590. 'onmouseout="document.dllink.src',
  7591. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'upload.ee/')]"
  7595. );
  7596. }
  7597. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7598. {
  7599. addFileHost(
  7600. "shareplace\\.org\/\\?\\w+",
  7601. 'Download-Link',
  7602. 'Your requested file is not found|Select file to send',
  7603. 'optional--',
  7604. 'optional2--',
  7605. "//a[contains(@href,'shareplace.org/?')]"
  7606. );
  7607. }
  7608. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7609. {
  7610. addFileHost(
  7611. "uploadc\\.com\/\\w+",
  7612. 'id="prebut"',
  7613. 'File Not Found|This file has been removed due',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'uploadc.com/')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7620. {
  7621. addFileHost(
  7622. "remixshare\\.com\/\\w+",
  7623. 'id="dl2"',
  7624. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7625. 'optional--',
  7626. 'optional2--',
  7627. "//a[contains(@href,'remixshare.com/')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7631. {
  7632. addFileHost(
  7633. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7634. 'Last Download :',
  7635. 'img src="\\/404.jpg"',
  7636. 'optional--',
  7637. 'optional2--',
  7638. "//a[contains(@href,'exoshare.com/download.php')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_borncash_dot_org_links", false))
  7642. {
  7643. addFileHost(
  7644. "borncash\\.org\/download\/\\?a=\\w+",
  7645. 'class="knop_1"',
  7646. '\/error\/er00',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'borncash.org/download/')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7653. {
  7654. addFileHost(
  7655. "vidplay\.net\/\\w+",
  7656. 'solvemedia puzzle widget',
  7657. 'File not found|AVOID_IE_BUG',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'vidplay.net')]");
  7661. }
  7662. if (GM_getValue("Check_storagon_dot_com_links", false))
  7663. {
  7664. addFileHost(
  7665. "storagon\.com\/\\w+",
  7666. 'class="icon-cloud-download"></i>|content="Download Options',
  7667. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7668. 'optional--',
  7669. 'optional2--',
  7670. "//a[contains(@href,'storagon.com')]");
  7671. }
  7672. if (GM_getValue("Check_filedais_dot_com_links", false))
  7673. {
  7674. addFileHost(
  7675. "filedais\.com\/\\w+",
  7676. 'class="btn btn-info"|name="method_free"',
  7677. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7678. 'optional--',
  7679. 'optional2--',
  7680. "//a[contains(@href,'filedais.com')]");
  7681. }
  7682. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7683. {
  7684. addFileHost(
  7685. "up.4share\.vn\/\\w+",
  7686. '<font size="2" face="Verdana">',
  7687. 'font: 13px Tahoma; color: Brown',
  7688. 'optional--',
  7689. 'optional2--',
  7690. "//a[contains(@href,'up.4share.vn')]");
  7691. }
  7692. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7693. {
  7694. addFileHost(
  7695. "share.vnn\.vn\/\\w+",
  7696. '"index,follow"|<div class="main" id="download-box">',
  7697. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7698. 'optional--',
  7699. 'optional2--',
  7700. "//a[contains(@href,'share.vnn.vn')]");
  7701. }
  7702. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7703. {
  7704. addFileHost(
  7705. "upfile\.vn\/\\w+",
  7706. 'download-timer',
  7707. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7708. 'optional--',
  7709. 'optional2--',
  7710. "//a[contains(@href,'upfile.vn')]");
  7711. }
  7712. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7713. {
  7714. addFileHost(
  7715. "aisfile\.com\/\\w+",
  7716. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7717. '<div style="width:500px;text-align:left;">|File Not Found',
  7718. 'optional--',
  7719. 'optional2--',
  7720. "//a[contains(@href,'aisfile.com')]");
  7721. }
  7722. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7723. {
  7724. addFileHost(
  7725. "usersfiles\.com\/\\w+",
  7726. 'class="btn btn-success|id="btn_download" class="btn"',
  7727. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7728. 'optional--',
  7729. 'optional2--',
  7730. "//a[contains(@href,'usersfiles.com')]");
  7731. }
  7732. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7733. {
  7734. addFileHost(
  7735. "pan.baidu\.com\/\\w+",
  7736. 'target="_blank" title=|share-personal-info',
  7737. 'share_notfound.png|background:#f9f9f9',
  7738. 'optional--',
  7739. 'optional2--',
  7740. "//a[contains(@href,'pan.baidu.com')]");
  7741. }
  7742. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7743. {
  7744. addFileHost(
  7745. "yunpan\.cn\/\\w+",
  7746. 'class="icon icon-download',
  7747. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7748. 'optional--',
  7749. 'optional2--',
  7750. "//a[contains(@href,'yunpan.cn')]");
  7751. }
  7752. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7753. {
  7754. addFileHost(
  7755. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7756. 'getElementById("downbild")|style.display',
  7757. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7758. 'optional--',
  7759. 'optional2--',
  7760. "//a[contains(@href,'file-upload.net')]");
  7761. }
  7762. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7763. {
  7764. addFileHost(
  7765. "gulfup\.com\/",
  7766. '<!-- Downlod template -->|download.gif',
  7767. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'gulfup.com')]");
  7771. }
  7772. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7776. 'dldtable">',
  7777. 'does not exist\\.',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'datafilehost.com')]");
  7781. }
  7782. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7783. {
  7784. addFileHost(
  7785. "dropbox\.com\/s\/\\w+",
  7786. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7787. '>Nothing Here<|>Error (404)<',
  7788. 'title>Dropbox - 509|Error (403)|Error: 429',
  7789. 'optional2--',
  7790. "//a[contains(@href,'dropbox.com')]");
  7791. }
  7792. if (GM_getValue("Check_box_dot_net_links", false))
  7793. {
  7794. addFileHost(
  7795. "box\.net\/\\w+",
  7796. 'download-file-btn|id="download_button',
  7797. 'BIyMin.png| <div class="error_message',
  7798. 'optional--',
  7799. 'optional2--',
  7800. "//a[contains(@href,'box.net')]");
  7801. }
  7802. if (GM_getValue("Check_fileband_dot_com_links", false))
  7803. {
  7804. addFileHost(
  7805. "fileband\.com\/\\w+",
  7806. 'value="download1">|name="id" value=',
  7807. '<div style="width:500px;text-align:left;">|not be found',
  7808. 'optional--',
  7809. 'optional2--',
  7810. "//a[contains(@href,'fileband.com')]");
  7811. }
  7812. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7813. {
  7814. addFileHost(
  7815. "filedropper\.com\/\\w+",
  7816. 'background:#ddd;|width:985px; ',
  7817. 'background-color:#FFFFFF;|margin-left: -400px;',
  7818. 'optional--',
  7819. 'optional2--',
  7820. "//a[contains(@href,'filedropper.com')]");
  7821. }
  7822. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7823. {
  7824. addFileHost(
  7825. "tropicshare\\.com\/files\/\\d+",
  7826. 'MB</span>|GB</span>|KB</span>',
  7827. '>FNF<|size: </span>',
  7828. 'optional--',
  7829. 'optional2--',
  7830. "//a[contains(@href,'tropicshare.com')]");
  7831. }
  7832. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7833. {
  7834. addFileHost(
  7835. "goldbytez\.com\/\\w+",
  7836. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7837. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7838. 'optional--',
  7839. 'optional2--',
  7840. "//a[contains(@href,'goldbytez.com')]");
  7841. }
  7842. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7843. {
  7844. addFileHost(
  7845. "worldbytez\.com\/\\w+",
  7846. '<div class="download_type">',
  7847. '<div style="width:500px;text-align:left;">',
  7848. 'optional--',
  7849. 'optional2--',
  7850. "//a[contains(@href,'worldbytez.com')]");
  7851. }
  7852. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7853. {
  7854. addFileHost(
  7855. "freefilehosting\.net\/\\w+",
  7856. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7857. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7858. 'optional--',
  7859. 'optional2--',
  7860. "//a[contains(@href,'freefilehosting.net')]");
  7861. }
  7862. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7863. {
  7864. addFileHost(
  7865. "ziddu\.com\/\\w+",
  7866. 'downloads.ziddu.com|downloadfilelinkicon',
  7867. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7868. 'optional--',
  7869. 'optional2--',
  7870. "//a[contains(@href,'ziddu.com')]");
  7871. }
  7872. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7873. {
  7874. addFileHost(
  7875. "exclusiveloader\.com\/\\w+",
  7876. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7877. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'exclusiveloader.com')]");
  7881. }
  7882. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7883. {
  7884. addFileHost(
  7885. "sharerapid\.cz\/\\w+",
  7886. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7887. 'error_div">|404 - Not Found',
  7888. 'optional--',
  7889. 'optional2--',
  7890. "//a[contains(@href,'sharerapid.cz')]");
  7891. }
  7892. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7893. {
  7894. addFileHost(
  7895. "sdilej\.cz\/\\w+",
  7896. 'class="page-download"',
  7897. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7898. 'optional--',
  7899. 'optional2--',
  7900. "//a[contains(@href,'sdilej.cz')]");
  7901. }
  7902. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7903. {
  7904. addFileHost(
  7905. "lafiles\.com\/\\w+",
  7906. '<div id="pay_modes">',
  7907. '<b class="err"></b>',
  7908. 'optional--',
  7909. 'optional2--',
  7910. "//a[contains(@href,'lafiles.com')]");
  7911. }
  7912. if (GM_getValue("Check_acefile_dot_net_links", false))
  7913. {
  7914. addFileHost(
  7915. "acefile\.net\/\\w+",
  7916. 'align=right nowrap><b>',
  7917. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7918. 'optional--',
  7919. 'optional2--',
  7920. "//a[contains(@href,'acefile.net')]");
  7921. }
  7922. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7923. {
  7924. addFileHost(
  7925. "megarapid\.cz\/\\w+",
  7926. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7927. 'error_div">|404 - Not Found',
  7928. 'optional--',
  7929. 'optional2--',
  7930. "//a[contains(@href,'megarapid.cz')]");
  7931. }
  7932. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7933. {
  7934. addFileHost(
  7935. "yadi\.sk\/\\w+",
  7936. 'twitter:site|View and download',
  7937. 'error code|Nothing found',
  7938. 'optional--',
  7939. 'optional2--',
  7940. "//a[contains(@href,'yadi.sk')]");
  7941. }
  7942. if (GM_getValue("Check_imdb_dot_com_links", false))
  7943. {
  7944. addFileHost(
  7945. "imdb\.com\/\\w+",
  7946. 'imdb.com',
  7947. '404 Error',
  7948. 'optional--',
  7949. 'optional2--',
  7950. "//a[contains(@href,'imdb.com')]");
  7951. }
  7952. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7953. {
  7954. addFileHost(
  7955. "hitfile\.net\/\\w+",
  7956. 'class="download-file',
  7957. 'style="width:16px;height:16px;border:0;|File not found|Файл не найден. Возможно он был удален',
  7958. 'optional--',
  7959. 'optional2--',
  7960. "//a[contains(@href,'hitfile.net')]");
  7961. }
  7962. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  7963. {
  7964. addFileHost(
  7965. "nitroflare\.com\/\\w+",
  7966. 'MB</span>|left;">1 GB<|KB</span>|left;">1.0',
  7967. 'file has been removed|id="error" style="display|Probably deleted',
  7968. 'optional--',
  7969. '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;">2.|',
  7970. "//a[contains(@href,'nitroflare.com')]");
  7971. }
  7972. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7973. {
  7974. addFileHost(
  7975. "up.top4top\.net\/\\w+",
  7976. 'start Downlod template',
  7977. 'start err template',
  7978. 'optional--',
  7979. 'optional2--',
  7980. "//a[contains(@href,'up.top4top.net')]");
  7981. }
  7982. if (GM_getValue("Check_filejoker_dot_net_links", false))
  7983. {
  7984. addFileHost(
  7985. "filejoker\.net\/\\w+",
  7986. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">',
  7987. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  7988. 'optional--',
  7989. 'id="download" class="premium-only">',
  7990. "//a[contains(@href,'filejoker.net')]");
  7991. }
  7992. if (GM_getValue("Check_free_dot_fr_links", false))
  7993. {
  7994. addFileHost(
  7995. "(?:dl.\\.|)free\\.fr",
  7996. 'Valider et t&eacute;l&eacute',
  7997. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  7998. 'optional--',
  7999. 'optional2--',
  8000. "//a[contains(@href,'dl.free.fr')]");
  8001. }
  8002. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8003. {
  8004. addFileHost(
  8005. "gboxes\.com\/\\w+",
  8006. 'You have requested|color="red">http://www.gboxes.com',
  8007. 'File Not Found|<div style="width:500px;text-align:left;">',
  8008. 'optional--',
  8009. 'optional2--',
  8010. "//a[contains(@href,'gboxes.com')]");
  8011. }
  8012. if (GM_getValue("Check_1fichier_dot_com_links", false))
  8013. {
  8014. addFileHost(
  8015. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  8016. '<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Télécharger|submit" value="Télécharger',
  8017. 'File not found|file could not be found|Select files to send|Sélectionnez les fichiers à envoyer|file has been deleted|Le fichier demandé a été supprimé',
  8018. 'optional--',
  8019. 'optional2--',
  8020. "//a[contains(@href,'1fichier') or contains(@href,'dl4free.com/')]"
  8021. );
  8022. }
  8023. if (GM_getValue("Check_led_dot_wf_links", false))
  8024. {
  8025. addFileHost(
  8026. "led\.wf\/\\w+",
  8027. 'logo_0.png|downloads.gif"|verifycode',
  8028. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8029. 'optional--',
  8030. 'optional2--',
  8031. "//a[contains(@href,'led.wf')]");
  8032. }
  8033. if (GM_getValue("Check_lan_dot_wf_links", false))
  8034. {
  8035. addFileHost(
  8036. "lan\.wf\/\\w+",
  8037. 'logo_0.png|downloads.gif"|verifycode',
  8038. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8039. 'optional--',
  8040. 'optional2--',
  8041. "//a[contains(@href,'lan.wf')]");
  8042. }
  8043. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8044. {
  8045. addFileHost(
  8046. "adlink\.wf\/\\w+",
  8047. 'logo_0.png|downloads.gif"|verifycode',
  8048. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8049. 'optional--',
  8050. 'optional2--',
  8051. "//a[contains(@href,'adlink.wf')]");
  8052. }
  8053. if (GM_getValue("Check_click_dot_tf_links", false))
  8054. {
  8055. addFileHost(
  8056. "click\.tf\/\\w+",
  8057. 'logo_0.png|downloads.gif"|verifycode',
  8058. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8059. 'optional--',
  8060. 'optional2--',
  8061. "//a[contains(@href,'click.tf')]");
  8062. }
  8063. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8064. {
  8065. addFileHost(
  8066. "ssh\.tf\/\\w+",
  8067. 'logo_0.png|downloads.gif"|verifycode',
  8068. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8069. 'optional--',
  8070. 'optional2--',
  8071. "//a[contains(@href,'ssh.tf')]");
  8072. }
  8073. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8074. {
  8075. addFileHost(
  8076. "ssh\.yt\/\\w+",
  8077. 'logo_0.png|downloads.gif"|verifycode',
  8078. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8079. 'optional--',
  8080. 'optional2--',
  8081. "//a[contains(@href,'ssh.yt')]");
  8082. }
  8083. if (GM_getValue("Check_yep_dot_pm_links", false))
  8084. {
  8085. addFileHost(
  8086. "yep\.pm\/\\w+",
  8087. 'logo_0.png|downloads.gif"|verifycode',
  8088. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8089. 'optional--',
  8090. 'optional2--',
  8091. "//a[contains(@href,'yep.pm')]");
  8092. }
  8093. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8094. {
  8095. addFileHost(
  8096. "kyc\.pm\/\\w+",
  8097. 'logo_0.png|downloads.gif"|verifycode',
  8098. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8099. 'optional--',
  8100. 'optional2--',
  8101. "//a[contains(@href,'kyc.pm')]");
  8102. }
  8103. if (GM_getValue("Check_brupload_dot_net_links", false))
  8104. {
  8105. addFileHost(
  8106. "brupload\.net\/\\w+",
  8107. 'Download Gratuito',
  8108. '<div style="width:500px;text-align:left;">',
  8109. 'optional--',
  8110. 'optional2--',
  8111. "//a[contains(@href,'brupload.net')]");
  8112. }
  8113. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8114. {
  8115. addFileHost(
  8116. "cloudzilla\.to\/\\w+",
  8117. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8118. 'File not found|/imgs/broken.png',
  8119. 'optional--',
  8120. 'optional2--',
  8121. "//a[contains(@href,'cloudzilla.to')]");
  8122. }
  8123. if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8124. {
  8125. addFileHost(
  8126. "fileparadox\.in\/\\w+",
  8127. 'CONTENT="Download File|method_free_file',
  8128. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8129. 'optional--',
  8130. 'optional2--',
  8131. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8132. }
  8133. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8134. {
  8135. addFileHost(
  8136. "clicknupload\.com\/\\w+",
  8137. 'name="method_free',
  8138. 'File Not Found',
  8139. 'optional--',
  8140. 'optional2--',
  8141. "//a[contains(@href,'clicknupload.com')]");
  8142. }
  8143. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8144. {
  8145. addFileHost(
  8146. "ex-load\.com\/\\w+",
  8147. 'name="method_free|<p>Download File:</p>',
  8148. 'Folder Not Found|File Not Found|Error 404',
  8149. 'optional--',
  8150. 'class="downprem wow bounceInLeft',
  8151. "//a[contains(@href,'ex-load.com')]");
  8152. }
  8153. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8154. {
  8155. addFileHost(
  8156. "hexupload\.com\/\\w+",
  8157. 'button" value="Free|type="submit" value=""',
  8158. 'File Not Found|<div style="width:500px;text-align:left;">',
  8159. 'optional--',
  8160. 'optional2--',
  8161. "//a[contains(@href,'hexupload.com')]");
  8162. }
  8163. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8164. {
  8165. addFileHost(
  8166. "wizupload\.com\/\\w+",
  8167. 'btn_download|class="downloadbtn"',
  8168. '>File Not Found<',
  8169. 'optional--',
  8170. 'optional2--',
  8171. "//a[contains(@href,'wizupload.com')]");
  8172. }
  8173. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8174. {
  8175. addFileHost(
  8176. "filecloud\.cc\/\\w+",
  8177. 'align="center"><input type="submit" name=',
  8178. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8179. 'optional--',
  8180. 'optional2--',
  8181. "//a[contains(@href,'filecloud.cc')]");
  8182. }
  8183. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8184. {
  8185. addFileHost(
  8186. "inclouddrive\.com\/\\w+",
  8187. 'initfreedownload',
  8188. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8189. 'optional--',
  8190. 'optional2--',
  8191. "//a[contains(@href,'inclouddrive.com')]");
  8192. }
  8193. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8194. {
  8195. addFileHost(
  8196. "radicalshare\.com\/\\w+",
  8197. 'value="download1|name="method_free"',
  8198. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8199. 'optional--',
  8200. 'optional2--',
  8201. "//a[contains(@href,'radicalshare.com')]");
  8202. }
  8203. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8204. {
  8205. addFileHost(
  8206. "sharemods\.com\/\\w+",
  8207. 'name="method_free"',
  8208. 'File Not Found<',
  8209. 'optional--',
  8210. 'optional2--',
  8211. "//a[contains(@href,'sharemods.com')]");
  8212. }
  8213. if (GM_getValue("Check_hostr_dot_co_links", false))
  8214. {
  8215. addFileHost(
  8216. "hostr\.co\/\\w+",
  8217. 'method="get"',
  8218. 'File not found<|error-page',
  8219. 'optional--',
  8220. 'optional2--',
  8221. "//a[contains(@href,'hostr.co')]");
  8222. }
  8223. if (GM_getValue("Check_filepi_dot_com_links", false))
  8224. {
  8225. addFileHost(
  8226. "filepi\.com\/\\w+",
  8227. 'id="button_start">',
  8228. 'File not found',
  8229. 'optional--',
  8230. 'optional2--',
  8231. "//a[contains(@href,'filepi.com')]");
  8232. }
  8233. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8234. {
  8235. addFileHost(
  8236. "tikfile\.com\/\\w+",
  8237. 'btn_download',
  8238. 'File Not Found|file was removed|Reason for deletion',
  8239. 'optional--',
  8240. 'optional2--',
  8241. "//a[contains(@href,'tikfile.com')]");
  8242. }
  8243. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8244. {
  8245. addFileHost(
  8246. "cloudsix\.me\/\\w+",
  8247. 'name="method_free"',
  8248. 'File Not Found|width:500px;text-align:left;">',
  8249. 'optional--',
  8250. 'optional2--',
  8251. "//a[contains(@href,'cloudsix.me')]");
  8252. }
  8253. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8254. {
  8255. addFileHost(
  8256. "neodrive\.co\/\\w+",
  8257. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8258. 'File not found|/imgs/broken.png',
  8259. 'optional--',
  8260. 'optional2--',
  8261. "//a[contains(@href,'neodrive.co')]");
  8262. }
  8263. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8264. {
  8265. addFileHost(
  8266. "chayfile\.com\/\\w+",
  8267. 'name="method_free"',
  8268. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8269. 'optional--',
  8270. 'optional2--',
  8271. "//a[contains(@href,'chayfile.com')]");
  8272. }
  8273. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8274. {
  8275. addFileHost(
  8276. "xfileload\.com\/\\w+",
  8277. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8278. '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..|הקובץ שחיפשת לא נמצא.',
  8279. 'optional--',
  8280. 'optional2--',
  8281. "//a[contains(@href,'xfileload.com')]");
  8282. }
  8283. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8284. {
  8285. addFileHost(
  8286. "rockfile\.eu\/\\w+",
  8287. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8288. 'The file you were looking for could not be found, sorry for any inconvenience.',
  8289. 'optional--',
  8290. 'optional2--',
  8291. "//a[contains(@href,'rockfile.eu')]");
  8292. }
  8293. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8294. {
  8295. addFileHost(
  8296. "24uploading\.com\/\\w+",
  8297. 'File:|Download Speed:',
  8298. '<b>File Not Found</b>|file was removed',
  8299. 'optional--',
  8300. 'optional2--',
  8301. "//a[contains(@href,'24uploading.com')]");
  8302. }
  8303. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8304. {
  8305. addFileHost(
  8306. "tusfiles\.net\/\\w+",
  8307. 'i/icon/dll.png"|>Start download<br',
  8308. 'no longer available<|i/ino.png"',
  8309. 'optional--',
  8310. 'optional2--',
  8311. "//a[contains(@href,'tusfiles.net')]");
  8312. }
  8313. if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8314. {
  8315. addFileHost(
  8316. "jumbofile\.net\/\\w+",
  8317. 'button" class="" value="Free',
  8318. 'This File Was Deleted',
  8319. 'optional--',
  8320. 'optional2--',
  8321. "//a[contains(@href,'jumbofile.net')]");
  8322. }
  8323. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8324. {
  8325. addFileHost(
  8326. "ozofiles\.com\/\\w+",
  8327. 'button" value="Free',
  8328. 'File Not Found|width:500px;text-align:left;">|File Deleted',
  8329. 'optional--',
  8330. 'optional2--',
  8331. "//a[contains(@href,'ozofiles.com')]");
  8332. }
  8333. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8334. {
  8335. addFileHost(
  8336. "loudupload\.net\/\\w+",
  8337. 'value="Get Links',
  8338. 'File Not Found',
  8339. 'optional--',
  8340. 'optional2--',
  8341. "//a[contains(@href,'loudupload.net')]");
  8342. }
  8343. if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8344. {
  8345. addFileHost(
  8346. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8347. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8348. '>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">',
  8349. 'optional--',
  8350. 'optional2--',
  8351. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8352. }
  8353. if (GM_getValue("Check_krotix_dot_net_links", false))
  8354. {
  8355. addFileHost(
  8356. "krotix\.net\/\\w+",
  8357. 'btn btn-warning|btn-free',
  8358. 'pageErrors|This File has been removed',
  8359. 'content="Scheduled Maintenance',
  8360. 'optional2--',
  8361. "//a[contains(@href,'krotix.net')]");
  8362. }
  8363. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8364. {
  8365. addFileHost(
  8366. "userscloud\.com\/\\w+",
  8367. 'btn_download',
  8368. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8369. 'optional--',
  8370. 'optional2--',
  8371. "//a[contains(@href,'userscloud.com')]");
  8372. }
  8373. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8374. {
  8375. addFileHost(
  8376. "kumpulbagi\.com\/\\w+",
  8377. 'class="button download',
  8378. 'internal server error',
  8379. 'optional--',
  8380. 'optional2--',
  8381. "//a[contains(@href,'kumpulbagi.com')]");
  8382. }
  8383. if (GM_getValue("Check_faststore_dot_org_links", false))
  8384. {
  8385. addFileHost(
  8386. "faststore\.org\/\\w+",
  8387. 'name="method_free',
  8388. 'File Not Found',
  8389. 'optional--',
  8390. 'optional2--',
  8391. "//a[contains(@href,'faststore.org')]");
  8392. }
  8393. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8394. {
  8395. addFileHost(
  8396. "prefiles\.com\/\\w+",
  8397. 'id="method_free',
  8398. 'File not Found',
  8399. 'optional--',
  8400. 'optional2--',
  8401. "//a[contains(@href,'prefiles.com')]");
  8402. }
  8403. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8404. {
  8405. addFileHost(
  8406. "doraupload\.com\/\\w+",
  8407. 'btn_download',
  8408. 'class="error-code|Could Not Be Found',
  8409. 'optional--',
  8410. 'optional2--',
  8411. "//a[contains(@href,'doraupload.com')]");
  8412. }
  8413. if (GM_getValue("Check_openload_dot_io_links", false))
  8414. {
  8415. addFileHost(
  8416. "openload\.io\/\\w+",
  8417. 'btn btn-primary|class="count">',
  8418. 'class="jumbotron">|We are sorry',
  8419. 'optional--',
  8420. 'optional2--',
  8421. "//a[contains(@href,'openload.io')]");
  8422. }
  8423. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8424. {
  8425. addFileHost(
  8426. "uploads\.xxx\/\\w+",
  8427. 'downoadForFree',
  8428. 'File not found',
  8429. 'optional--',
  8430. 'optional2--',
  8431. "//a[contains(@href,'uploads.xxx')]");
  8432. }
  8433. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8434. {
  8435. addFileHost(
  8436. "zxcfiles\.com\/\\w+",
  8437. 'class="downloadbtn',
  8438. 'File Not Found',
  8439. 'optional--',
  8440. 'optional2--',
  8441. "//a[contains(@href,'zxcfiles.com')]");
  8442. }
  8443. if (GM_getValue("Check_up07_dot_net_links", false))
  8444. {
  8445. addFileHost(
  8446. "up07\.net\/\\w+",
  8447. 'name="method_free',
  8448. 'File Not Found',
  8449. 'optional--',
  8450. 'optional2--',
  8451. "//a[contains(@href,'up07.net')]");
  8452. }
  8453. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8454. {
  8455. addFileHost(
  8456. "fileupload\.pw\/\\w+",
  8457. 'value="Free"',
  8458. 'File Not Found',
  8459. 'optional--',
  8460. 'optional2--',
  8461. "//a[contains(@href,'fileupload.pw')]");
  8462. }
  8463. if (GM_getValue("Check_4upld_dot_com_links", false))
  8464. {
  8465. addFileHost(
  8466. "4upld\.com\/\\w+",
  8467. 'alt="Download Now"|content="Download file">|btn-free-element',
  8468. '<title>Error|content="error|File not found',
  8469. 'optional--',
  8470. 'optional2--',
  8471. "//a[contains(@href,'4upld.com')]");
  8472. }
  8473. if (GM_getValue("Check_newfileland_dot_com_links", false))
  8474. {
  8475. addFileHost(
  8476. "newfileland\.com\/\\w+",
  8477. 'name="method_free',
  8478. 'File Not Found',
  8479. 'optional--',
  8480. 'optional2--',
  8481. "//a[contains(@href,'newfileland.com')]");
  8482. }
  8483. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8484. {
  8485. addFileHost(
  8486. "(?:.swoopshare)\\.com\/\\w+",
  8487. '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',
  8488. '<input type="file" name="f"',
  8489. 'optional--',
  8490. 'optional2--',
  8491. "//a[contains(@href,'swoopshare.com')]"
  8492. );
  8493. }
  8494. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8495. {
  8496. addFileHost(
  8497. "cloudshares\.net\/\\w+",
  8498. '"method_free|"Low Speed Download|submit" name="go',
  8499. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'cloudshares.net')]"
  8503. );
  8504. }
  8505. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8506. {
  8507. addFileHost(
  8508. "allmyvideos\.net\/\\w+",
  8509. 'Continue to Video',
  8510. 'File Not Found|class="err">Removed for',
  8511. 'optional--',
  8512. 'optional2--',
  8513. "//a[contains(@href,'allmyvideos.net')]"
  8514. );
  8515. }
  8516. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8517. {
  8518. addFileHost(
  8519. "vodlocker\.com\/\\w+",
  8520. 'Proceed to video',
  8521. 'Not Found',
  8522. 'optional--',
  8523. 'optional2--',
  8524. "//a[contains(@href,'vodlocker.com')]"
  8525. );
  8526. }
  8527. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8528. {
  8529. addFileHost(
  8530. "vidbull\.com\/\\w+",
  8531. 'Verifying Video Request',
  8532. 'File Not Found',
  8533. 'optional--',
  8534. 'optional2--',
  8535. "//a[contains(@href,'vidbull.com')]");
  8536. }
  8537. if (GM_getValue("Check_novamov_dot_com_links", false))
  8538. {
  8539. addFileHost(
  8540. "novamov\.com\/\\w+",
  8541. 'For version detection',
  8542. 'file no longer exists',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'novamov.com')]"
  8546. );
  8547. }
  8548. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8549. {
  8550. addFileHost(
  8551. "filehoot\.com\/\\w+",
  8552. 'Continue to watch',
  8553. 'File Not Found',
  8554. 'optional--',
  8555. 'optional2--',
  8556. "//a[contains(@href,'filehoot.com')]"
  8557. );
  8558. }
  8559. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8560. {
  8561. addFileHost(
  8562. "stagevu\.com\/\\w+",
  8563. 'Video Info',
  8564. 'No video with the provided',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'stagevu.com')]"
  8568. );
  8569. }
  8570. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8571. {
  8572. addFileHost(
  8573. "cloudtime\.to\/\\w+",
  8574. 'Download the video',
  8575. 'no longer exists',
  8576. 'optional--',
  8577. 'optional2--',
  8578. "//a[contains(@href,'cloudtime.to')]"
  8579. );
  8580. }
  8581. if (GM_getValue("Check_streamin_dot_to_links", false))
  8582. {
  8583. addFileHost(
  8584. "streamin\.to\/\\w+",
  8585. 'id="btn_download',
  8586. 'Not Found|Copyright Infringement|File Deleted',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'streamin.to')]"
  8590. );
  8591. }
  8592. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8593. {
  8594. addFileHost(
  8595. "videoweed\.es\/\\w+",
  8596. 'version detection',
  8597. 'no longer exists',
  8598. 'optional--',
  8599. 'optional2--',
  8600. "//a[contains(@href,'videoweed.es')]"
  8601. );
  8602. }
  8603. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8604. {
  8605. addFileHost(
  8606. "nowvideo\.sx\/\\w+",
  8607. 'Download this video',
  8608. 'no longer exists',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'nowvideo.sx')]"
  8612. );
  8613. }
  8614. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8615. {
  8616. addFileHost(
  8617. "thevideo\.me\/\\w+",
  8618. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8619. 'File Not Found',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'thevideo.me')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8626. {
  8627. addFileHost(
  8628. "gorillavid\.in\/\\w+",
  8629. 'Wait 5 seconds',
  8630. 'File Not Found',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'gorillavid.in')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_thefile_dot_me_links", false))
  8637. {
  8638. addFileHost(
  8639. "thefile\.me\/\\w+",
  8640. 'Choose free or',
  8641. '',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'thefile.me')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8648. {
  8649. addFileHost(
  8650. "vidzi\.tv\/\\w+",
  8651. 'video-embed-modal row',
  8652. 'File Not Found|file was deleted',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'vidzi.tv')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8659. {
  8660. addFileHost(
  8661. "filenuke\.com\/\\w+",
  8662. 'Download File',
  8663. 'Earn with us',
  8664. 'optional--',
  8665. 'optional2--',
  8666. "//a[contains(@href,'filenuke.com')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_vidto_dot_me_links", false))
  8670. {
  8671. addFileHost(
  8672. "vidto\.me\/\\w+",
  8673. 'Proceed to video',
  8674. 'Not Found',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'vidto.me')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8681. {
  8682. addFileHost(
  8683. "vidspot\.net\/\\w+",
  8684. 'Duration',
  8685. 'Removed for',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'vidspot.net')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8692. {
  8693. addFileHost(
  8694. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8695. 'Download File',
  8696. 'File Not Found',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_movpod_dot_in_links", false))
  8703. {
  8704. addFileHost(
  8705. "movpod\.in\/\\w+",
  8706. 'Continue',
  8707. 'File Not Found',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'movpod.in')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_down4files_dot_com_links", false))
  8714. {
  8715. addFileHost(
  8716. "down4files\.com\/\\w+",
  8717. 'down_table.png',
  8718. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'down4files.com')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8725. {
  8726. addFileHost(
  8727. "storefiles\.co\/\\w+",
  8728. 'btn_download',
  8729. 'No such file|>Error<|mqmaintitle">',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'storefiles.co')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8736. {
  8737. addFileHost(
  8738. "filehost\.pw\/\\w+",
  8739. 'name="method_free',
  8740. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'filehost.pw')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_inafile_dot_com_links", false))
  8747. {
  8748. addFileHost(
  8749. "inafile\.com\/\\w+",
  8750. 'value="download1">|<h2>File: <font style="color:darkred">',
  8751. '<div style="width:500px;text-align:left;">|File Not Found',
  8752. 'optional--',
  8753. 'optional2--',
  8754. "//a[contains(@href,'inafile.com')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_uplea_dot_com_links", false))
  8758. {
  8759. addFileHost(
  8760. "uplea\.com\/\\w+",
  8761. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8762. 'expired link|ou est invalide',
  8763. 'optional--',
  8764. 'optional2--',
  8765. "//a[contains(@href,'uplea.com/dl')]",
  8766. true);
  8767. }
  8768. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8769. {
  8770. addFileHost(
  8771. "toutbox\.fr\/\\w+",
  8772. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8773. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8774. 'optional--',
  8775. 'optional2--',
  8776. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8777. );
  8778. }
  8779. if (GM_getValue("Check_openload_dot_co_links", false))
  8780. {
  8781. addFileHost(
  8782. "openload\.co\/\\w+",
  8783. 'id="downloadTimer">|button dlbutton',
  8784. 'jumbotron{color|got deleted|center !important',
  8785. 'optional--',
  8786. 'optional2--',
  8787. "//a[contains(@href,'openload.co')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8791. {
  8792. addFileHost(
  8793. "lolabits\.es\/\\w+",
  8794. 'Descargar:',
  8795. '<title>Archivos de usuario',
  8796. 'optional--',
  8797. 'optional2--',
  8798. "//a[contains(@href,'lolabits.es')]"
  8799. );
  8800. }
  8801.  
  8802.  
  8803. }
  8804. //start here
  8805.  
  8806. //hosts with direct download, so they must be requested for headers only
  8807. function initFileHostsHeadersOnly()
  8808. {
  8809. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8810. {
  8811. var host = new Array(5);
  8812. host[0] = linkRegex;
  8813. host[1] = isAliveRegex;
  8814. host[2] = isDeadRegex;
  8815. host[3] = xpathEx;
  8816. host[4] = ispremRegex;
  8817. http_file_hosts_headers_only.push(host);
  8818. }
  8819. if (GM_getValue("Check_uloziste_dot_com_links", false))
  8820. {
  8821. addFileHostHeadersOnly(
  8822. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  8823. 'Connection: Keep-Alive',
  8824. 'Content-Length: 3857',
  8825. "//a[contains(@href,'uloziste.com')]"
  8826. )
  8827. }
  8828. if (GM_getValue("Check_adrive_dot_com_links", false))
  8829. {
  8830. addFileHostHeadersOnly(
  8831. "adrive\\.com\/public\/\\w+",
  8832. 'Connection: keep-alive',
  8833. 'orig_ref=deleted',
  8834. "//a[contains(@href,'adrive.com')]"
  8835. )
  8836. }
  8837. if (GM_getValue("Check_myupload_dot_dk_links", false))
  8838. {
  8839. addFileHostHeadersOnly(
  8840. "myupload\\.dk\/showfile\/\\w+",
  8841. 'Expires:',
  8842. 'squeeze1\\s+Vary',
  8843. "//a[contains(@href,'myupload.dk/showfile')]"
  8844. )
  8845. }
  8846. }
  8847. //CustomRules
  8848. //functions add...Host copied here
  8849. function addObsoleteHost(linkRegex, xpathEx)
  8850. {
  8851. var host = new Array(2);
  8852. host[0] = linkRegex;
  8853. host[1] = xpathEx;
  8854. http_file_hosts_obsolete.push(host);
  8855. }
  8856. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  8857. {
  8858. var host = new Array(7);
  8859. host[0] = linkRegex;
  8860. host[1] = isAliveRegex;
  8861. host[2] = isDeadRegex;
  8862. host[3] = isUnavaRegex;
  8863. host[4] = xpathEx;
  8864. tryLoop ? host[5] = true : host[5] = false;
  8865. host[6] = ispremRegex;
  8866. http_file_hosts.push(host);
  8867. }
  8868. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8869. {
  8870. var host = new Array(5);
  8871. host[0] = linkRegex;
  8872. host[1] = isAliveRegex;
  8873. host[2] = isDeadRegex;
  8874. host[3] = xpathEx;
  8875. host[4] = ispremRegex;
  8876. http_file_hosts_headers_only.push(host);
  8877. }
  8878. //takes a fully built rules array and adds the rules to WARLC
  8879. function applyCustomRules(customRules)
  8880. {
  8881. if (!customRules) return;
  8882. var rules, r, i;
  8883. rules = customRules.rules;
  8884. for (i = 0 ; i < rules.length ; i++)
  8885. {
  8886. r = rules[i];
  8887. if (r.enabled)
  8888. {
  8889. switch (r.type)
  8890. {
  8891. case 'single':
  8892. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  8893. break;
  8894. case 'headers':
  8895. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  8896. break;
  8897. case 'obsolete':
  8898. addObsoleteHost(r.urlregex, r.xpath)
  8899. break;
  8900. }
  8901. }
  8902. }
  8903. }
  8904.  
  8905.  
  8906. function initFileHostsCustom()
  8907. {
  8908. if (Custom_rules && Custom_rules_text)
  8909. {
  8910. var msg = '';
  8911. if (newVersion)
  8912. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  8913. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  8914. msg = '60 or more days have passed since this notification.\n\n';
  8915. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  8916. {
  8917. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  8918. msg +=
  8919. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  8920. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  8921. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  8922. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  8923. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  8924. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  8925. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  8926. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  8927. setTimeout(function(){alert(msg)},0);
  8928. }
  8929. var customRules = parseCustomRules(Custom_rules_text);
  8930. if (customRules.warning || customRules.error)
  8931. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  8932. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  8933. JSON.stringify(customRules.info, null, ' '));
  8934. applyCustomRules(customRules);
  8935. }
  8936. }
  8937. //end of CustomRules processing
  8938.  
  8939.  
  8940.  
  8941. } //end of function start
  8942.  
  8943.  
  8944.  
  8945. function initClipBoardTools()
  8946. {
  8947. unsafeWindow.copyToClipboard = function(text)
  8948. {
  8949. try
  8950. {
  8951. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  8952.  
  8953. var str = Components.classes["@mozilla.org/supports-string;1"].
  8954. createInstance(Components.interfaces.nsISupportsString);
  8955. if (!str) return false;
  8956.  
  8957. str.data = text;
  8958.  
  8959. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  8960. createInstance(Components.interfaces.nsITransferable);
  8961. if (!trans) return false;
  8962.  
  8963. trans.addDataFlavor("text/unicode");
  8964. trans.setTransferData("text/unicode", str, text.length * 2);
  8965.  
  8966. var clipid = Components.interfaces.nsIClipboard;
  8967. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  8968. if (!clip) return false;
  8969.  
  8970. clip.setData(trans, null, clipid.kGlobalClipboard);
  8971. } catch (e) {
  8972. GM_log("Error copyToClipboard : " + e);
  8973. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  8974. }
  8975. }
  8976. }
  8977.  
  8978.  
  8979.  
  8980. //CustomRules
  8981.  
  8982. function escapeRegex(str)
  8983. {
  8984. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  8985. }
  8986.  
  8987.  
  8988. //called internally from parseCustomRules.
  8989. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  8990. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  8991. function makeCustomRule(rule)
  8992. {
  8993. function makeMatchRegex(arrmatch)
  8994. {
  8995. return escapeRegex(arrmatch.join('\n'))
  8996. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  8997. .replace(/\n/g,'|'); //join together
  8998. }
  8999. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9000. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9001. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9002. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9003. if (rule.baseurl)
  9004. {
  9005. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9006. for (i = 0 ; i < len ; i++)
  9007. {
  9008. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9009. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9010. {
  9011. 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'])
  9012. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9013. }
  9014. else //baseurl in the form: example.com/xxx
  9015. {
  9016. xpath.push(m[0]);
  9017. urlregex.push(escapeRegex(m[0]) + '.');
  9018. }
  9019. }
  9020. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9021. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9022. }
  9023. return rule;
  9024. } //function makeCustomRule
  9025.  
  9026.  
  9027. /*
  9028. Takes a string containing custom link checking rules.
  9029. Returns an object with fields:
  9030. info - contains notes, warnings and errors found during parsing
  9031. rules - the array of custom rules
  9032. note, warning, error - number of each of them found during parsing
  9033. Format of the input string:
  9034. One command per line. Command format: @keyword parameter
  9035. Keywords:
  9036. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9037. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9038. These keywords can be multiple (any of them will work):
  9039. @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...)
  9040. @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+
  9041. @alivelink, @deadlink - example links
  9042. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9043. Lines starting with // and empty lines are ignored.
  9044. Invalid parameters generate errors and those lines are skipped.
  9045. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9046. Example:
  9047. @customrule filehost
  9048. @baseurl filehost.com/download/
  9049. @baseurl filehost2. com net /d?=
  9050. @alivematch id="download">
  9051. @deadmatch File not found
  9052. @deadmatch File deleted
  9053. */
  9054. function parseCustomRules(rulesStr)
  9055. {
  9056. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9057. function addInfo(type, msg, ln){
  9058. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9059. customRules[type]++;
  9060. }
  9061. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9062. if (!lines) return null;
  9063. lines.push('@#customrule _'); //to save the last rule
  9064. var m, linecount = lines.length;
  9065. var keyword, param, constr, rule, err;
  9066. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9067. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9068. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9069. var constraints = {
  9070. 'baseurl': {
  9071. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9072. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9073. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9074. 'alivematch': {
  9075. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9076. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9077. 'deadmatch': {
  9078. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9079. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9080. 'unavamatch': {
  9081. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9082. 'alivelink': {
  9083. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9084. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9085. 'deadlink': {
  9086. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9087. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9088. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9089. };
  9090. for (linenum = 0 ; linenum < linecount ; linenum++)
  9091. {
  9092. //capturing groups: 1 23 4 5 6
  9093. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9094. if (m)
  9095. {
  9096. if (m[1] || !m[2])
  9097. continue; // ignore empty lines and lines starting with //
  9098. keyword = (m[4] || m[2]).toLowerCase();
  9099. param = m[6];
  9100. if (keyword == 'customrule')
  9101. {
  9102. //save the current rule if all required fields are provided
  9103. if (rule)
  9104. {
  9105. err = false;
  9106. $.each(constraints, function(kw, constraint){
  9107. var l, constr = constraint[rule.type];
  9108. if (constr)
  9109. {
  9110. l = rule[kw] ? rule[kw].length : 0;
  9111. if (l < constr.min || l > constr.max)
  9112. {
  9113. 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);
  9114. err = true;
  9115. }
  9116. }
  9117. });
  9118. if (!err)
  9119. customRules.rules.push(makeCustomRule(rule));
  9120. }
  9121. //start a new rule
  9122. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9123. {
  9124. rule = {
  9125. 'enabled': !m[3],
  9126. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9127. 'name': param
  9128. };
  9129. }
  9130. else
  9131. {
  9132. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9133. rule = null;
  9134. }
  9135. }
  9136. else //good line format, but keyword other than customrule
  9137. {
  9138. if (!rule)
  9139. {
  9140. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9141. continue;
  9142. }
  9143. if (constraints[keyword])
  9144. {
  9145. constr = constraints[keyword][rule.type];
  9146. if (constr)
  9147. {
  9148. if (constr.paramRE && !constr.paramRE.test(param))
  9149. {
  9150. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9151. continue;
  9152. }
  9153. }
  9154. else
  9155. {
  9156. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9157. continue;
  9158. }
  9159. }
  9160. //line OK, save
  9161. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9162. }
  9163. } //if (m)
  9164. else
  9165. addInfo('warning', 'Unknown line format. Line skipped.');
  9166. } //for loop
  9167. return customRules;
  9168. } //function parseCustomRules