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

detects live, dead and premium links.

当前为 2015-10-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Customized Premium Link Version
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @version 1.1.9.0
  7. // @icon http://sharenxs.com/photos/2014/02/14/52fd759db90ac/cooltext1428903746.png
  8. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  9. // @author mental
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  22. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  23. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  24. // @homepage http://www.warlc.5gbfree.com
  25. // @namespace http://www.warlc.5gbfree.com
  26. // @noframes
  27. // ==/UserScript==
  28.  
  29. //separate alternative domains with "|" char (first name is considered being main)
  30. var allHostNames = [
  31. "1fichier.com|dl4free.com",
  32. "openload.co",
  33. "uplea.com",
  34. "filenuke.com",
  35. "inafile.com",
  36. "vidto.me",
  37. "storefiles.co",
  38. "filehost.pw",
  39. "down4files.com",
  40. "vidspot.net",
  41. "turbobit.ru",
  42. "sharesix.com|sharesix.net",
  43. "movpod.in",
  44. "thefile.me",
  45. "vidzi.tv",
  46. "videoweed.es",
  47. "vodlocker.com",
  48. "nowvideo.sx",
  49. "cloudtime.to",
  50. "thevideo.me",
  51. "vidbull.com",
  52. "allmyvideos.net",
  53. "novamov.com",
  54. "filehoot.com",
  55. "stagevu.com",
  56. "gorillavid.in",
  57. "streamin.to",
  58. "4upld.com",
  59. "cloudshares.net",
  60. "swoopshare.com",
  61. "newfileland.com",
  62. "2shared.com",
  63. "fileupload.pw",
  64. "zxcfiles.com",
  65. "up07.net",
  66. "4shared.com",
  67. "adrive.com",
  68. "aisfile.com",
  69. "hexupload.com",
  70. "bezvadata.cz",
  71. "burnupload.com|burnupload.ihiphop.com",
  72. "xkeepfile.com|Gamesena.com",
  73. // "firedrive.com",
  74. "usersfiles.com",
  75. "pan.baidu.com",
  76. "radicalshare.com",
  77. "cramit.in|cramitin.net",
  78. "datei.to",
  79. "daten-hoster.de|filehosting.org|xtraupload.de",
  80. "demo.ovh.eu",
  81. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  82. "divshare.com",
  83. "easy-share.com|crocko.com",
  84. "easybytez.com",
  85. "edisk.cz",
  86. "euroshare.eu",
  87. "file-upload.net",
  88. "yadi.sk",
  89. "wizupload.com",
  90. "fastshare.cz",
  91. "filefactory.com",
  92. "share.vnn.vn",
  93. "yunpan.cn",
  94. "gulfup.com",
  95. "tropicshare.com",
  96. "cloudzilla.to",
  97. "inclouddrive.com",
  98. "fileflyer.com",
  99. "filerio.com|filekeen.com",
  100. "up.4share.vn",
  101. "upfile.vn",
  102. "datafilehost.com",
  103. "fileband.com",
  104. "worldbytez.com",
  105. "files.mail.ru",
  106. "filepost.com|fp.io",
  107. "filesflash.com",
  108. "box.com",
  109. "box.net",
  110. "goldbytez.com",
  111. "sdilej.cz",
  112. "ex-load.com",
  113. "filesmonster.com",
  114. "filestore.to",
  115. // "freakshare.net",
  116. "hulkload.com",
  117. "filedropper.com",
  118. "free-uploading.com",
  119. "gamefront.com|filefront.com",
  120. "gettyfile.ru",
  121. "gigapeta.com",
  122. "gigasize.com",
  123. "hellshare.com",
  124. "hellspy.com",
  125. "hitfile.net",
  126. "hostuje.net",
  127. "freefilehosting.net",
  128. "free.fr",
  129. "hulkshare.com",
  130. "hyperfileshare.com",
  131. "filecloud.io|ifile.it",
  132. "ifolder.ru",
  133. "jumbofiles.com",
  134. "uploadrocket.net",
  135. "lafiles.com",
  136. "leteckaposta.cz|sharegadget.com",
  137. "letitbit.net",
  138. "load.to",
  139. "mediafire.com",
  140. "megafileupload.com",
  141. "megashares.com",
  142. "movshare.net",
  143. "muchshare.net",
  144. "myupload.dk",
  145. "narod.ru|narod.yandex.ru",
  146. "netload.in",
  147. "fboom.me|fileboom.me",
  148. "openfile.ru",
  149. "partage-facile.com",
  150. "plunder.com",
  151. // "putlocker.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. "uptobox.com",
  203. "usaupload.net",
  204. "veehd.com",
  205. "videobb.com",
  206. "vip-file.com",
  207. "webshare.cz",
  208. "xdisk.cz",
  209. "yunfile.com|filemarkets.com",
  210. "ziddu.com",
  211. "krotix.net",
  212. "zippyshare.com",
  213. "rodfile.com",
  214. "migahost.com",
  215. "wikiupload.com",
  216. "uploadstube.de",
  217. "faststore.org",
  218. "flyfiles.net",
  219. "nowdownload.ch",
  220. "prefiles.com",
  221. "axifile.com",
  222. "rapidsonic.com|fileparadox.com",
  223. "hackerbox.org",
  224. "amonshare.com",
  225. "data.hu",
  226. "brupload.net",
  227. "userscloud.com",
  228. "netkups.com",
  229. "edoc.com",
  230. "xfileload.com",
  231. "jumbofile.net",
  232. "kumpulbagi.com",
  233. "uppit.com|up.ht",
  234. "downloadani.me",
  235. "filesabc.com",
  236. "180upload.com",
  237. "verzend.be",
  238. "movreel.com",
  239. "4up.me",
  240. "extmatrix.com",
  241. "sendfiles.nl",
  242. "yourfilestore.com",
  243. "filebig.net",
  244. "nekaka.com",
  245. "file4safe.com",
  246. "tusfiles.net",
  247. "filemac.com",
  248. "idup.in",
  249. "fileswap.com",
  250. "ozofiles.com",
  251. "loudupload.net",
  252. "nosupload.com",
  253. "gboxes.com",
  254. "myvdrive.com|fileserving.com",
  255. "filesin.com",
  256. "novafile.com",
  257. "longfiles.com",
  258. "uploadhero.com",
  259. "uploadbaz.com",
  260. "bitupload.com",
  261. "indowebster.com",
  262. "superload.cz",
  263. "mafiastorage.com",
  264. "4upfiles.com",
  265. "filesmelt.com",
  266. "hellupload.com",
  267. "uploadingit.com",
  268. "stiahni.si",
  269. "sendspace.pl",
  270. "fastshare.org",
  271. "filejoker.net",
  272. "filestore.com.ua",
  273. "secureupload.eu",
  274. "rapidfileshare.net",
  275. "stiahnito.sk",
  276. "rusfolder.com",
  277. "fileover.net",
  278. "catshare.net",
  279. "anonfiles.com",
  280. "mixturecloud.com",
  281. "fileparadox.in",
  282. "filedais.com",
  283. "imdb.com",
  284. "nitroflare.com",
  285. "akafile.com",
  286. "creafile.net",
  287. "hugefiles.net",
  288. "vidxden.com",
  289. "up.top4top.net",
  290. "upload.ee",
  291. "shareplace.org",
  292. "uploadc.com",
  293. "remixshare.com",
  294. "exoshare.com",
  295. "borncash.org",
  296. "junocloud.me",
  297. "expressleech.com",
  298. "2downloadz.com",
  299. "mightyupload.com",
  300. "anysend.com",
  301. "datafile.com",
  302. "upstore.net",
  303. "upsto.re",
  304. "speedy.sh",
  305. "sanshare.com",
  306. "uploadhero.co",
  307. "ge.tt",
  308. "filesflash.net",
  309. "salefiles.com",
  310. "megairon.net",
  311. "datoid.cz",
  312. "cloudstor.es",
  313. "streamfile.com",
  314. "eyesfile.ca",
  315. "filemoney.com",
  316. "uploadboy.com",
  317. "speedshare.eu",
  318. "google.com",
  319. "unlimitzone.com",
  320. "rioupload.com",
  321. "rg.to",
  322. "jumbofiles.org",
  323. "fshare.vn",
  324. "spaceforfiles.com",
  325. "up.media1fire.com",
  326. "depfile.com",
  327. "go4up.com",
  328. "dropbox.com",
  329. "redbunker.net",
  330. "divxpress.com",
  331. "mega.nz|mega.co.nz",
  332. "anafile.com",
  333. "uploadable.ch",
  334. "arabloads.net",
  335. "sharerepo.com",
  336. "sfshare.se",
  337. "files.fm",
  338. "koofile.com",
  339. "vidplay.net",
  340. "storagon.com",
  341. "doraupload.com",
  342. "openload.io",
  343. "geupload.com|lenfile.com",
  344. "uploads.xxx",
  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. // "wizzupload.com",
  622. "bloggerarticles.com",
  623. "mojedata.sk",
  624. "sharpfile.com",
  625. "upgrand.com",
  626. "nasdilej.cz",
  627. "mediatack.cz",
  628. "share-it.to",
  629. "primeupload.com",
  630. "filebeer.info",
  631. "baberepublic",
  632. "xtu.me",
  633. "sharebase.de",
  634. "luckyshare.net",
  635. "filerobo.com",
  636. "filevelocity.com",
  637. "filezpro.com",
  638. "file4sharing.com",
  639. "cing.be",
  640. "ufile.eu",
  641. "pigsonic.com",
  642. "fileupped.com",
  643. "sharerun.com",
  644. "filesaur.com",
  645. "rapidslnare.com",
  646. "bestsharing.com",
  647. "savefiles.net",
  648. "file2share.biz",
  649. "filecache.de",
  650. "monsteruploads.eu",
  651. "b9bb.com",
  652. "aiotool.net",
  653. "jamber.info",
  654. "megaftp.com",
  655. "desiupload.net",
  656. "file27.com",
  657. "yastorage.com",
  658. "filehost.ws",
  659. "copyload.com",
  660. "venusfile.com",
  661. "aieshare.com",
  662. "terafile.co",
  663. "terafile.com",
  664. "fileza.net",
  665. "filerose.com",
  666. "squillion.com",
  667. "fileprohost.com",
  668. "bitbonus.com",
  669. "warserver.cz",
  670. "uload.to",
  671. "sharedbit.net",
  672. "megaload.it",
  673. "filewinds.com",
  674. "uploadcore.com",
  675. "syfiles.com",
  676. "eyesfile.com",
  677. "hotfile.com",
  678. "superupl.com",
  679. "oteupload.com",
  680. "henchfile.com",
  681. "filegag.com",
  682. "HenchFile.com",
  683. "filedefend.com",
  684. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  685. "megabitshare.com",
  686. "cloudzer.com",
  687. "asfile.com",
  688. "cloudzer.net",
  689. "clz.to",
  690. "extabit.com",
  691. "247upload.com",
  692. "2download.de",
  693. "4fastfile.com",
  694. "asixfiles.com",
  695. "berofile.com",
  696. "bigupload.com",
  697. "cepzo.com",
  698. "clouds.to",
  699. "cobrashare.sk",
  700. "coraldrive.net",
  701. "cyberlocker.ch",
  702. "czshare.com",
  703. "darkport.org",
  704. "dark-uploads.com",
  705. "davvas.com",
  706. "enigmashare.com",
  707. "erofly.cz",
  708. "fastsonic.net",
  709. "filebox.com",
  710. "filecity.net",
  711. "filedap.com",
  712. "filedino.com",
  713. "filedownloads.org",
  714. "filefolks.com",
  715. "fileking.co",
  716. "filemates.com",
  717. "files.to",
  718. "files2k.eu",
  719. "filesector.cc",
  720. "bitshare.com",
  721. "filesega.com",
  722. "filesend.net",
  723. "filestay.com",
  724. "filestrum.com",
  725. "fileuplo.de",
  726. "fileupup.com",
  727. "forunesia.com",
  728. "freeuploads.fr",
  729. "uploa.dk",
  730. "getthebit.com",
  731. "getzilla.net",
  732. "goldfile.eu",
  733. "good.com",
  734. "grupload.com",
  735. "hellfile.com",
  736. "hipfile.com",
  737. "hitfile.com",
  738. "hulkfile.eu|duckfile.net",
  739. "i-filez.com",
  740. "ifile.ws",
  741. "kupload.org",
  742. "packupload.com",
  743. "lemuploads.com",
  744. "limelinx.com",
  745. "maxshare.pl",
  746. "megarelease.org",
  747. "megashare.com",
  748. "minus.com",
  749. "mlfat4arab.com",
  750. "multishare.cz",
  751. "nirafile.com",
  752. "ok2upload.com",
  753. "peejeshare.com",
  754. "premiuns.org",
  755. "przeklej.net",
  756. "qkup.net",
  757. "rapidupload.sk",
  758. "rockdizfile.com",
  759. "rocketfile.net",
  760. "share-now.net",
  761. "share76.com",
  762. "sharebees.com",
  763. "sharefiles.co",
  764. "slingfile.com",
  765. "sms4file.com",
  766. "space4file.com",
  767. "tigershare.net",
  768. "toucansharing.com",
  769. "ubuntuone.com",
  770. "unextfiles.com",
  771. "upaj.pl",
  772. "upfile.biz",
  773. "uploadbin.net",
  774. "uploadic.com",
  775. "uploadinc.com",
  776. "uploading4u.eu",
  777. "uploadjet.net",
  778. "uploadorb.com",
  779. "upthe.net",
  780. "uptorch.com",
  781. "vidbox.yt",
  782. "videozer.com",
  783. "vreer.com",
  784. "wallobit.com",
  785. "zooupload.com",
  786. "privatefiles.com",
  787. "xerver.co",
  788. "BillionUploads.com",
  789. "rapidshare.com",
  790. "rapidshare.ru",
  791. "4savefile.com",
  792. "bayfiles.com",
  793. "bayfiles.net",
  794. "dodane.pl",
  795. "dotsemper.com",
  796. "egofiles.com",
  797. "epicshare.net",
  798. "fiberupload.net",
  799. "filemonkey.in",
  800. "filemonster.net",
  801. "filepom.com",
  802. "filesbb.com",
  803. "fileshareup.com",
  804. "filevice.com",
  805. "gigaup.fr",
  806. // "inafile.com",
  807. "isavelink.com",
  808. "loombo.com",
  809. "megafiles.se",
  810. "migupload.com",
  811. "mydisc.net",
  812. "nitrobits.com",
  813. "potload.com",
  814. "redload.net",
  815. "shareprofi.com",
  816. "sharesuper.info",
  817. "sinhro.net",
  818. "speedfile.cz",
  819. "speedshare.org",
  820. "storage.novoro.net",
  821. "swankshare.com",
  822. "swatupload.com",
  823. "upafile.com",
  824. "uploadmachine.com",
  825. "uploadsat.com",
  826. "upshared.com",
  827. "usefile.com",
  828. "yourfiles.to",
  829. "zomgupload.com",
  830. "ultramegabit.com",
  831. "uploadto.us",
  832.  
  833. ];
  834. ///////////////////////////////////////////////////////////////////////////////////////
  835. var firstRun = GM_getValue("First_run", true);
  836.  
  837. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  838. //////////////////////////////////////////////////////////////////////////////////////
  839. try
  840. {
  841. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  842. var last_known_version = GM_getValue("last_known_version", "");
  843. if (!last_known_version)
  844. {
  845. last_known_version = thisVersion;
  846. GM_setValue("last_known_version", last_known_version);
  847. }
  848. //var newVersion = !(thisVersion == last_known_version);
  849. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  850. GM_setValue("last_known_version", thisVersion);
  851. }
  852. catch (err)
  853. {
  854. var newVersion = false;
  855. }
  856.  
  857. var now = (new Date()).getTime();
  858. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  859. if (!last_custom_rules_nag)
  860. {
  861. last_custom_rules_nag = now;
  862. GM_setValue('last_custom_rules_nag', ''+now);
  863. }
  864.  
  865.  
  866. allHostNames.sort();
  867. allContainerNames.sort();
  868. allObsoleteNames.sort();
  869.  
  870. var RAND_STRING = "8QyvpOSsRG3QWq";
  871. var DEBUG_MODE = false;
  872.  
  873. var TOOLTIP_MAXWIDTH = 600; //in pixels
  874. var TOOLTIP_THUMBWIDTH = 200;
  875. var containers_processed = false;
  876.  
  877. //settings for keyboard functions start
  878. var CHECK_ALL_LINKS_KEY = "A";
  879. var CONFIGURATION_KEY = "C";
  880. var copy_to_dead_key = "D";
  881. var toggle_autocheck_key = "W";
  882. var toggle_Enable_Anonymizer_key = "Z";
  883. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  884. var first_key_keycodename = 'CTRL';
  885. var second_key_keycode = '18';
  886. var second_key_keycodename = 'ALT';
  887. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  888. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  889. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  890. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  891. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  892. //settings for keyboard functions end
  893.  
  894. //global settings start
  895. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  896. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  897. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  898. var Show_progress_stats, Display_tooltip_info, Icon_set;
  899. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  900. var Progress_box_refresh_rate;
  901. var Obsolete_file_hosts;
  902. var Custom_rules, Custom_rules_text;
  903.  
  904. var messageBox = document.createElement('b'); // top-left message box
  905.  
  906. var cLinksTotal = 0;
  907. var cLinksDead = 0;
  908. var cLinksAlive = 0;
  909. var cLinksUnava = 0;
  910. var cLinksprem = 0;
  911. var cLinksProcessed = 0;
  912.  
  913. var intervalId; //for updateProgress()
  914.  
  915. //icon resources
  916. 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//UegJQCAZk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6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++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=';
  925.  
  926. var NEW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAA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+Fu41dOZlKDMLmELrOUIhjeN48HpngTnMbDeWjIeHnsvbz98YXqxguumuazdDOs0HjAETRKNjuFyzTE9PAOO//Xm27lvN4b1c8htkAXC2jrKHN5gVSRcRW0SCIpIj/f2ZAkhTkykiOYu+SLa8e6qkeRNXALh5nEc/phARnaSJSSUnO5G+B8tnIkr6rjMTSqfMZQXZ9vE1xGKJpPe4DDjXAYkEjAwmzwwDLIv0NZlE1MYAjsQoAOL8C5rY2AxPlIjwP/wcACKn3tWfrwJ4AAAAAElFTkSuQmCC';
  929. var NEW_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  930.  
  931. //global settings end
  932. if (window.opera && !window.console)
  933. {
  934. window.console = {};
  935.  
  936. function fn()
  937. {
  938. opera.postError(arguments);
  939. };
  940. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  941. {
  942. window.console[name] = fn;
  943. });
  944. }
  945.  
  946. //displays colored text in message box
  947. function sendMessage(text, color)
  948. {
  949. var msgDiv = document.createElement('div');
  950. msgDiv.style.color = color;
  951. msgDiv.innerHTML = text;
  952. messageBox.appendChild(msgDiv);
  953. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  954. }
  955.  
  956. function linkify(totalourls)
  957. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  958. var ikkeTilladteTags;
  959. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  960. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  961. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  962. allLinksRegex = new RegExp(allLinksRegex, "g");
  963. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  964.  
  965. if (Do_not_linkify_DL_links)
  966. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  967. else
  968. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  969.  
  970. var regex = new RegExp(regexy);
  971. var textNode, muligtLink;
  972.  
  973. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  974. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  975.  
  976. var i = textNodes.snapshotLength;
  977. while (i--)
  978. {
  979. textNode = textNodes.snapshotItem(i);
  980.  
  981. muligtLink = textNode.nodeValue; //all links on page
  982.  
  983. var myArray = null;
  984. var span = null;
  985. var lastLastIndex = 0;
  986. allLinksRegex.lastIndex = 0;
  987. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  988. {
  989. if (textNode.parentNode.className == "adead_link") continue;
  990. var censoredLink = muligtLink;
  991. var span = document.createElement('span');
  992. span.className = "adead_link";
  993. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  994. $(span).html(censoredLink);
  995. span.addEventListener("mouseover", displayTooltipError, false);
  996. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  997. textNode.parentNode.replaceChild(span, textNode);
  998. continue;
  999. alert(censoredLink);
  1000. }
  1001. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1002. {
  1003. if (!regex.test(myArray[0])) //this link is not recognized
  1004. {
  1005.  
  1006. continue;
  1007. }
  1008. if (!span)
  1009. span = document.createElement('span');
  1010.  
  1011. var link = myArray[0];
  1012. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1013.  
  1014. var $a = $("<a>" + link + "</a>")
  1015. if (!link.match(/https?:\/\//))
  1016. {
  1017. link = 'http://' + link;
  1018. }
  1019.  
  1020. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1021. .addClass("processing_link")
  1022. .appendTo(span);
  1023. lastLastIndex = allLinksRegex.lastIndex;
  1024. }
  1025. if (span)
  1026. {
  1027. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1028. textNode.parentNode.replaceChild(span, textNode);
  1029. }
  1030. }
  1031. }
  1032.  
  1033. function add_WARLC_style()
  1034. {
  1035. if (!(document.getElementsByTagName('WARLC')[0]))
  1036. {
  1037. var meta_not_to_add_more_style = document.createElement("WARLC");
  1038. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1039. meta_not_to_add_more_style.setAttribute('name', 'description');
  1040. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1041. alive_link_png = "";
  1042. adead_link_png = "";
  1043. unava_link_png = "";
  1044. prem_link_png = "";
  1045. switch(Icon_set)
  1046. {
  1047. //no icons
  1048. case 0: break;
  1049. // cat paws
  1050. case 1: alive_link_png = PAW_ICON_GREEN;
  1051. adead_link_png = PAW_ICON_RED;
  1052. unava_link_png = PAW_ICON_YELLOW;
  1053. prem_link_png = PAW_ICON_PINK;
  1054. break;
  1055. // classic RSLC look
  1056. case 2: alive_link_png = RSLC_ICON_GREEN;
  1057. adead_link_png = RSLC_ICON_RED;
  1058. unava_link_png = RSLC_ICON_YELLOW;
  1059. prem_link_png = RSLC_ICON_PINK;
  1060. break;
  1061. // New Icons
  1062. case 3: alive_link_png = NEW_ICON_GREEN;
  1063. adead_link_png = NEW_ICON_RED;
  1064. unava_link_png = NEW_ICON_YELLOW;
  1065. prem_link_png = NEW_ICON_PINK;
  1066. break;
  1067. // cat paws
  1068. default:alive_link_png = PAW_ICON_GREEN;
  1069. adead_link_png = PAW_ICON_RED;
  1070. unava_link_png = PAW_ICON_YELLOW;
  1071. prem_link_png = PAW_ICON_PINK;
  1072. break;
  1073. }
  1074. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1075. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1076.  
  1077. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1078.  
  1079. if (Color_DL_links)
  1080. {
  1081. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1082. live_color_css = 'color:' + Live_links_color + ' !important;';
  1083. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1084. container_color_css = 'color:' + Container_links_color + ' !important;';
  1085. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1086. }
  1087. else
  1088. {
  1089. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1090. }
  1091.  
  1092. if (Show_black_background_in_DL_links)
  1093. {
  1094. black_background_css = 'background-color: black !important;';
  1095. }
  1096. else
  1097. {
  1098. black_background_css = '';
  1099. }
  1100.  
  1101. if (Show_line_through_in_dead_links)
  1102. {
  1103. line_through_css = 'text-decoration: line-through !important;';
  1104. }
  1105. else
  1106. {
  1107. line_through_css = '';
  1108. }
  1109.  
  1110. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1111. 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 + "}");
  1112. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1113. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1114. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1115. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1116. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1117. }
  1118. }
  1119.  
  1120. var warlcTooltip = null;
  1121. var mouseoverLink = null; //link href with mouse cursor over it
  1122.  
  1123. var lastX = 0;
  1124. var lastY = 0;
  1125.  
  1126. $(document).ready(initTooltip);
  1127. //inits tooltip
  1128. function initTooltip()
  1129. { warlcTooltip = document.createElement("div");
  1130. 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;");
  1131. warlcTooltip.style.visibility = "hidden";
  1132. document.body.appendChild(warlcTooltip);
  1133. }
  1134.  
  1135. //"mousemove" event handler for all links
  1136. function moveTooltip(event)
  1137. {
  1138. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1139. { //no need to reflow if the cursor moved just a little
  1140. return;
  1141. }
  1142. else
  1143. {
  1144. lastX = event.clientX;
  1145. lastY = event.clientY;
  1146. }
  1147.  
  1148. posX = event.clientX + window.pageXOffset + 10;
  1149. posY = event.clientY + window.pageYOffset;
  1150. var ttHeight = warlcTooltip.offsetHeight;
  1151. var ttFreeSpace = window.innerHeight - event.clientY;
  1152. if (ttHeight > ttFreeSpace)
  1153. { //prevents tooltip from getting out of the window
  1154. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1155. }
  1156. else
  1157. {
  1158. posY += 7;
  1159. }
  1160. warlcTooltip.style.top = posY + "px";
  1161. warlcTooltip.style.left = posX + "px";
  1162. }
  1163.  
  1164. //"mouseout" event handler for all links
  1165. function hideTooltip(){
  1166. warlcTooltip.style.visibility = "hidden";
  1167. mouseoverLink = null;
  1168. }
  1169.  
  1170.  
  1171. //"mouseover" event handler for dead links
  1172. //displays tooltip error message on dead links
  1173. function displayTooltipError()
  1174. {
  1175. mouseoverLink = this.href;
  1176. this.addEventListener("mouseout", hideTooltip);
  1177. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1178. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1179. warlcTooltip.style.minWidth = 0;
  1180. warlcTooltip.style.visibility = "visible";
  1181. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1182. {
  1183. warlcTooltip.innerHTML = this.warlc_error;
  1184. }
  1185. else
  1186. {
  1187. loadErrorInfo(this);
  1188. }
  1189. function loadErrorInfo(link)
  1190. {
  1191. var href = link.href;
  1192. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1193. GM_xmlhttpRequest({
  1194. method: 'GET',
  1195. url: href.replace(Ref_anonymize_service, ""),
  1196. headers: {
  1197. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1198. 'Accept': 'text/xml',
  1199. 'Referer': ""
  1200. },
  1201. onload: function(result) {
  1202. var res = result.responseText;
  1203. //TODO: errorRegexs -
  1204. var errorRegexs = [ //generic error messages follow
  1205. /(empty directory)/i,
  1206. /(soubor nebyl nalezen)/i,
  1207. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1208. //server specific error messages follow
  1209. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1210. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1211. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1212. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1213. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1214. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1215. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1216. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1217. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1218. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1219. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1220. /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1221. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1222. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1223. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1224. /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1225. /(File has been removed due to Copyright Claim)/, //filerio
  1226. ];
  1227. var errorIdx = errorRegexs.length;
  1228. var error = "Cause of error: <b>unknown</b>";
  1229. var errorCandidate = "";
  1230. while(errorIdx--)
  1231. {
  1232. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1233. if (errorCandidate != null)
  1234. {
  1235. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1236. break;
  1237. }
  1238. }
  1239. //link attributes
  1240. link.warlc_error = error;
  1241. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1242. {
  1243. warlcTooltip.innerHTML = error;
  1244. }
  1245. }
  1246. });
  1247. }
  1248. }
  1249.  
  1250. //"mouseover" event handler for alive links
  1251. //displays tooltip info (file size, file name,...) on alive links
  1252. function displayTooltipInfo()
  1253. {
  1254. mouseoverLink = this.href;
  1255. //exclude direct download filehostings
  1256. 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)/))
  1257. {
  1258. return;
  1259. }
  1260. this.addEventListener("mouseout", hideTooltip);
  1261. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1262. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1263. warlcTooltip.style.minWidth = 0;
  1264. warlcTooltip.style.visibility = "visible";
  1265. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1266. {
  1267. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1268. }
  1269. else
  1270. {
  1271. loadInfo(this);
  1272. }
  1273. function loadInfo(link)
  1274. {
  1275. var href = link.href;
  1276. GM_xmlhttpRequest({
  1277. method: 'GET',
  1278. url: href.replace(Ref_anonymize_service, ""),
  1279. headers: {
  1280. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1281. 'Accept': 'text/xml',
  1282. 'Referer': ""
  1283. },
  1284. onload: function(result) {
  1285. var res = result.responseText;
  1286. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1287. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1288. /fl" title="(.+?)">/, //edisk
  1289. /<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
  1290. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1291. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1292. /title="download (.+?)">/, //sendspace
  1293. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1294. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1295. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1296. /d0FileName = "(.+?)";/, //letitbit
  1297. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1298. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1299. /fname" value="(.+?)">/, //syfiles, grupload,
  1300. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1301. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1302. /Complete name : (.+?)<br \/>/, //bezvadata
  1303. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1304. ];
  1305. var nameIdx = nameRegexs.length;
  1306. // [sizeRegexs]
  1307. // / \ \?
  1308. // prefix (size) postfix
  1309. // / \
  1310. // val quant
  1311. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1312. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1313. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1314. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1315. var postSizeRegex = '(?:\\))?';
  1316. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1317. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1318. ];
  1319. var sizeIdx = sizeRegexs.length;
  1320. //
  1321. //
  1322. var tooltip = "File Name: <b>";
  1323. var fileName = "unknown";
  1324. var nameCandidate = "";
  1325. while(nameIdx--)
  1326. {
  1327. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1328. if (nameCandidate != null)
  1329. {
  1330. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1331. break;
  1332. }
  1333. }
  1334. tooltip += fileName + "</b><br>File Size: <b>";
  1335. var fileSize = "unknown";
  1336. var sizeCandidate = "";
  1337. while(sizeIdx--)
  1338. {
  1339. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1340. if (sizeCandidate != null)
  1341. {
  1342. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1343. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1344. {
  1345. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1346. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1347. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1348. }
  1349. break;
  1350. }
  1351. }
  1352. tooltip += fileSize + "</b>";
  1353. // PROTOTYPE
  1354. // video thumbnails
  1355. if (href.match('hellshare'))
  1356. {
  1357. var thumbs;
  1358. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1359. if (thumbs)
  1360. {
  1361. tooltip += '<br>';
  1362. var j = Math.min(thumbs.length, 9);
  1363. for (var i = 0; i < j; i++)
  1364. {
  1365. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1366. }
  1367. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1368. }
  1369. }
  1370. if (href.match('czshare'))
  1371. {
  1372. var thumbs;
  1373. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1374. if (thumbs)
  1375. {
  1376. var thumbsServer = thumbs[1];
  1377. var thumbsId = thumbs[2];
  1378. tooltip += '<br>';
  1379. for (var i = 1; i < 9; i++)
  1380. {
  1381. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1382. }
  1383. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1384. }
  1385. }
  1386. if (href.match('bezvadata'))
  1387. {
  1388. var thumbs;
  1389. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1390. if (thumbs)
  1391. {
  1392. tooltip += '<br>';
  1393. var j = Math.min(thumbs.length, 9);
  1394. for (var i = 0; i < j; i++)
  1395. {
  1396. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1397. }
  1398. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1399. }
  1400. }
  1401. link.warlc_tooltipcache = tooltip;
  1402. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1403. {
  1404. warlcTooltip.innerHTML = tooltip;
  1405. }
  1406. }
  1407. });
  1408. }
  1409. }
  1410.  
  1411. function setVariables()
  1412. {
  1413. if (firstRun)
  1414. {
  1415. GM_log('First run, applying default settings...');
  1416. GM_setValue("Icon_set",1);
  1417. GM_setValue("Display_tooltip_info",true);
  1418. GM_setValue("Show_black_background_in_DL_links",false);
  1419. GM_setValue("Show_line_through_in_dead_links",false);
  1420. GM_setValue("Display_full_links_in_link_containers",false);
  1421. GM_setValue("Allow_spaces_in_DL_links",false);
  1422. GM_setValue("Autocheck",true);
  1423. GM_setValue("Enable_Anonymizer",false);
  1424. GM_setValue("Do_not_linkify_DL_links",false);
  1425. GM_setValue("Show_progress_stats",true);
  1426. GM_setValue("Keyboard_functions",true);
  1427. GM_setValue("Obsolete_file_hosts",false);
  1428. GM_setValue("Color_DL_links",true);
  1429. GM_setValue("Live_links_color","Green");
  1430. GM_setValue("Dead_links_color","#FF3300");
  1431. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1432. GM_setValue("Container_links_color","DarkKhaki");
  1433. GM_setValue("Premium_links_color","DeepPink");
  1434. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1435. GM_setValue("Custom_rules",false);
  1436. GM_setValue("Custom_rules_text","");
  1437. GM_setValue("First_run", false);
  1438. }
  1439. //hidden settings
  1440. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1441. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1442. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1443. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1444. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1445. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1446. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1447. //hidden settings end
  1448.  
  1449. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1450. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1451. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1452. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1453. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1454. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1455. Autocheck = GM_getValue("Autocheck", true);
  1456. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1457. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1458. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1459. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1460. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1461. Color_DL_links = GM_getValue("Color_DL_links", true);
  1462. Live_links_color = GM_getValue("Live_links_color", "Green");
  1463. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1464. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1465. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1466. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1467. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1468. Custom_rules = GM_getValue("Custom_rules", false);
  1469. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1470. }
  1471.  
  1472.  
  1473. // Delinkifies the links
  1474. // params:
  1475. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1476. // e.g. 'uloz.to/xs68skxl8')
  1477. function delinkifySnapshot(snapshot)
  1478. {
  1479. var n = snapshot.snapshotLength;
  1480.  
  1481. while (n--)
  1482. {
  1483. thisLink = snapshot.snapshotItem(n);
  1484.  
  1485. var spanElm = document.createElement("span");
  1486. spanElm.className = thisLink.className;
  1487. spanElm.innerHTML = thisLink.innerHTML;
  1488.  
  1489. if (Display_tooltip_info)
  1490. {
  1491. spanElm.href = thisLink.href;
  1492. switch (thisLink.className){
  1493. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1494. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1495. case "unava_link": //reserved
  1496. default:
  1497. }
  1498. }
  1499. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1500. }
  1501. }
  1502.  
  1503. function processContainers()
  1504. {
  1505. var redirectorTypes = { "HTTP_302": 0,
  1506. "INNER_LINK": 1,
  1507. "THELOO_KATT_IT": 2,
  1508. "CING_BE": 3,
  1509. "ADF_LY": 4};
  1510. var cMultiloadTotal = 0;
  1511. var cMultiloadProcessed = 0;
  1512.  
  1513. var cMirrorcreatorComTotal = 0;
  1514. var cMirrorcreatorComProcessed = 0;
  1515.  
  1516. var hostRestrictionRegex = "";
  1517. var multiloadComRestriction = "";
  1518. var multiloadComRestrictionRegex;
  1519.  
  1520. //
  1521. //HANDLING REDIRECTORS START
  1522. //
  1523.  
  1524. var redirectors = new Array();
  1525. initRedirectors();
  1526.  
  1527. var redirectorsCount = redirectors.length;
  1528.  
  1529. if (redirectorsCount > 0)
  1530. {
  1531. var allRedirectorsRegex = "";
  1532.  
  1533. //linkify redirector links
  1534. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1535. {
  1536. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1537. }
  1538. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1539. linkify(allRedirectorsRegex);
  1540. //
  1541. //process redirector links
  1542. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1543. {
  1544. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1545. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1546.  
  1547. cLinksTotal += redirectors[redirIdx].cTotal;
  1548. var linkIdx = redirectors[redirIdx].cTotal;
  1549.  
  1550. while(linkIdx--)
  1551. {
  1552. switch(redirectors[redirIdx].type)
  1553. {
  1554. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1555. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1556. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1557. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1558. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1559. default:
  1560. }
  1561. }
  1562. }
  1563. //
  1564. }
  1565.  
  1566. //HTTP_302
  1567. function processRedirectorLink(link, redirectorId)
  1568. {
  1569. link.className = 'container_link';
  1570.  
  1571. GM_xmlhttpRequest({
  1572. method: 'HEAD',
  1573. url: link.href,
  1574. headers: {
  1575. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1576. 'Accept': 'text/xml',
  1577. 'Referer': ""
  1578. },
  1579. onload: function(result) {
  1580. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1581. {
  1582. processRedirectorLink(link, redirectorId);
  1583. }
  1584. else
  1585. {
  1586. redirectors[redirectorId].cProcessed++;
  1587. link.href = result.finalUrl;
  1588. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1589. checkLinks('container_link');
  1590. }
  1591. },
  1592. onerror: function(result) { //probably caused by unresponsive filehosting
  1593. redirectors[redirectorId].cProcessed++;
  1594. link.className = 'unava_link';
  1595. cLinksProcessed++;
  1596. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1597. checkLinks('container_link');
  1598. }
  1599. });
  1600. }
  1601. //INNER_LINK
  1602. function processRedirectorLinkEx(link, redirectorId)
  1603. {
  1604. link.className = 'container_link';
  1605. GM_xmlhttpRequest({
  1606. method: 'GET',
  1607. url: link.href,
  1608. headers: {
  1609. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1610. 'Accept': 'text/xml',
  1611. 'Referer': ""
  1612. },
  1613. onload: function(result) {
  1614. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1615. redirectors[redirectorId].cProcessed++;
  1616. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1617. checkLinks('container_link');
  1618. }
  1619. });
  1620. }
  1621. //theloo.katt.it (wrapped safelinking.net)
  1622. function processThelooKattItLink(link, redirectorId)
  1623. {
  1624. link.className = 'container_link';
  1625. GM_xmlhttpRequest({
  1626. method: 'GET',
  1627. url: link.href,
  1628. headers: {
  1629. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1630. 'Accept': 'text/xml',
  1631. 'Referer': ""
  1632. },
  1633. onload: function(result) {
  1634. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1635. redirectors[redirectorId].cProcessed++;
  1636. //the inner links are safelinking.net links, so lets proceed with it
  1637. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1638. {
  1639. processRedirectorLink(link, 0);
  1640. }
  1641. }
  1642. });
  1643. }
  1644. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1645. function processAdfLyLink(link, redirectorId)
  1646. {
  1647. link.className = 'container_link';
  1648. GM_xmlhttpRequest({
  1649. method: 'GET',
  1650. url: link.href,
  1651. headers: {
  1652. 'User-agent': 'Mozilla/4.0',
  1653. 'Accept': 'text/xml',
  1654. 'Referer': ""
  1655. },
  1656. onload: function(result) {
  1657. if (result.finalUrl.match('/locked/'))
  1658. {
  1659. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1660. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1661. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1662. }
  1663. else
  1664. {
  1665. // GM_log('Processing... ' + link.href);
  1666. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1667. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1668. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1669. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1670. //confirm advert
  1671. GM_xmlhttpRequest(
  1672. {
  1673. method: 'POST',
  1674. url: 'http://adf.ly/l.php',
  1675. headers: {
  1676. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1677. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1678. 'Referer': link.href
  1679. },
  1680. data: users + '&lt=' + logToken,
  1681. onload: function(result) {
  1682. //retrieve final url from .../go/... link
  1683. GM_xmlhttpRequest({
  1684. method: 'GET',
  1685. url: directLink,
  1686. headers: {
  1687. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1688. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1689. 'Referer': link.href
  1690. },
  1691. onload: function(result) {
  1692. link.href = result.finalUrl;
  1693. redirectors[redirectorId].cProcessed++;
  1694. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1695. checkLinks('container_link');
  1696. }
  1697. });
  1698. }
  1699. });
  1700. }
  1701. }
  1702. });
  1703. function proceedOK()
  1704. {
  1705. }
  1706. }
  1707. //MULTILOAD.CZ START
  1708. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1709. {
  1710. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1711. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1712.  
  1713. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1714.  
  1715. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1716. hostRestrictionRegex += 'hellshare|';
  1717. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1718. hostRestrictionRegex += 'share-rapid\\.com|';
  1719. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1720. hostRestrictionRegex += 'quickshare\\.cz|';
  1721. if (GM_getValue("Check_czshare_dot_com_links", false))
  1722. hostRestrictionRegex += 'czshare\\.com|';
  1723. if (GM_getValue("Check_uloz_dot_to_links", false))
  1724. hostRestrictionRegex += 'uloz\\.to|';
  1725. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1726. hostRestrictionRegex += 'hellspy|';
  1727. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1728. hostRestrictionRegex += 'multishare\\.cz|';
  1729.  
  1730. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1731.  
  1732. linkify(mlRegex);
  1733.  
  1734. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1735. var mlCount = mlSnapshot.snapshotLength;
  1736.  
  1737. if (mlCount > 0)
  1738. {
  1739. cMultiloadTotal += mlCount;
  1740.  
  1741. mlIdx = mlCount - 1;
  1742. do
  1743. {
  1744. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1745. }
  1746. while(mlIdx--)
  1747. }
  1748. }
  1749. //MULTILOAD.CZ END
  1750.  
  1751.  
  1752.  
  1753. function processMultiloadLink(mlLink)
  1754. {
  1755. GM_xmlhttpRequest({
  1756. method: 'GET',
  1757. url: mlLink.href,
  1758. headers: {
  1759. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1760. 'Accept': 'text/xml',
  1761. 'Referer': ""
  1762. },
  1763. onload: function(result) {
  1764. var res = result.responseText;
  1765.  
  1766. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1767. 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;
  1768. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1769. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1770.  
  1771. var blocks; // blocks of links
  1772. var blockIdx;
  1773.  
  1774. mlLink.className = '';
  1775.  
  1776. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1777. {
  1778. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1779. return;
  1780. }
  1781.  
  1782. blocks = res.match(innerBlockRegex);
  1783.  
  1784. if (blocks == null) //no links found, cancel further processing
  1785. {
  1786. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1787. cMultiloadProcessed++;
  1788. if (cMultiloadTotal <= cMultiloadProcessed)
  1789. {
  1790. startBulkCheck('container_link');
  1791. start('container_link');
  1792. }
  1793. return;
  1794. }
  1795.  
  1796. blockIdx = blocks.length;
  1797.  
  1798. if (Display_full_links_in_link_containers)
  1799. {
  1800. var ulElm = document.createElement('ul');
  1801. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1802.  
  1803. while(blockIdx--)
  1804. {
  1805. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1806. {
  1807. continue;
  1808. }
  1809.  
  1810. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1811.  
  1812. var linkIdx = innerLinks.length;
  1813. while (linkIdx--)
  1814. {
  1815. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1816.  
  1817. var liElm = document.createElement('li');
  1818.  
  1819. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1820. {
  1821. liElm.appendChild(document.createTextNode(innerLink));
  1822. }
  1823. else
  1824. {
  1825. var aElm = document.createElement('a');
  1826. aElm.innerHTML = innerLink;
  1827. aElm.href = innerLink;
  1828. aElm.className = 'container_link';
  1829.  
  1830. liElm.appendChild(aElm);
  1831. }
  1832.  
  1833. ulElm.appendChild(liElm);
  1834. cLinksTotal++;
  1835. }
  1836. }
  1837.  
  1838. mlLink.parentNode.appendChild(ulElm);
  1839. }
  1840. else //compact view
  1841. {
  1842. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1843.  
  1844. while(blockIdx--)
  1845. {
  1846. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1847. {
  1848. continue;
  1849. }
  1850.  
  1851. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1852.  
  1853. var linkIdx = innerLinks.length;
  1854. while (linkIdx--)
  1855. {
  1856. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1857.  
  1858. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1859. {
  1860. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1861. }
  1862. else
  1863. {
  1864. var aElm = document.createElement('a');
  1865.  
  1866. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1867.  
  1868. //abbreviate host name
  1869. switch(hostName + ""){
  1870.  
  1871. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1872. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1873. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1874. case 'multishare': aElm.innerHTML = 'MS'; break;
  1875. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1876. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1877. case 'czshare': aElm.innerHTML = 'CS'; break;
  1878. default: aElm.innerHTML = 'xx';
  1879.  
  1880. }
  1881.  
  1882. aElm.href = innerLink;
  1883. aElm.className = 'container_link';
  1884.  
  1885. mlLink.parentNode.appendChild(aElm);
  1886. cLinksTotal++;
  1887. }
  1888. }
  1889.  
  1890. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1891.  
  1892. }
  1893. }
  1894.  
  1895. cMultiloadProcessed++;
  1896. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1897. {
  1898. if (Do_not_linkify_DL_links)
  1899. {
  1900. delinkifySnapshot(mlSnapshot);
  1901. }
  1902. startBulkCheck('container_link');
  1903. start('container_link');
  1904. }
  1905. }
  1906. });
  1907. }
  1908.  
  1909.  
  1910. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1911. {
  1912. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1913. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1914. var mcShortHostNames =
  1915. '?? 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';
  1916. // 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
  1917. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1918. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1919. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1920. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1921.  
  1922. linkify(mcRegex);
  1923.  
  1924. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1925. var mcCount = mcSnapshot.snapshotLength;
  1926.  
  1927. cMirrorcreatorComTotal = mcCount;
  1928.  
  1929. if (mcCount > 0)
  1930. {
  1931. mcShortHostNames = mcShortHostNames.split(' ');
  1932. mcIdx = mcCount;
  1933. while(mcIdx--)
  1934. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1935. }
  1936.  
  1937. }
  1938. //MIRRORCREATOR.CZ END
  1939.  
  1940.  
  1941. //mirrorcreator.com checking works like this:
  1942. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1943. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1944. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1945. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1946. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1947. function processMirrorcreatorLink(mcLink)
  1948. {
  1949. var mcURL = mcLink.href.match(mcRegex);
  1950. if(!mcURL || !mcURL[1]) return;
  1951. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1952. GM_xmlhttpRequest({
  1953. method: 'GET',
  1954. url: mcURL,
  1955. headers: {
  1956. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1957. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1958. 'Referer': ""
  1959. },
  1960. onload: function(mcLinkResult) {
  1961. var mcLinkRes = mcLinkResult.responseText;
  1962.  
  1963. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1964. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1965.  
  1966. var mcRedirectors;
  1967. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1968. var m = mcLinkRes.match(mcLinkBlockRegex);
  1969. if (m)
  1970. mcHostsFound = m.length;
  1971. else
  1972. { //no files inside container
  1973. processMirrorcreatorFoundHosts(mcLink, []);
  1974. return;
  1975. }
  1976.  
  1977. var mcRedirectorURL, idx, timedOut = false;
  1978.  
  1979. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  1980. GM_xmlhttpRequest({
  1981. method: 'GET',
  1982. url: mcRedirectorURL,
  1983. headers: {
  1984. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1985. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1986. 'Referer': ""
  1987. },
  1988. onload: function(mcHostResult) {
  1989. if (timedOut) return; //too late, the list is already displayed
  1990. var mcHostRes = mcHostResult.responseText;
  1991. var mcHost = mcHostRes.match(mcHostRegex);
  1992. idx = mcHostURLs.indexOf(mcRedirectorURL);
  1993. if (mcHost && idx!=-1)
  1994. {
  1995. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  1996. mcHostsRetrieved++;
  1997. mcHostsToProcess++;
  1998. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  1999. {
  2000. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2001. mcHostsToProcess = 0;
  2002. }
  2003. }
  2004. } //end of onload: function
  2005. }); //end of GM_xmlhttpRequest call
  2006. };//end of var gmxhrFunc
  2007.  
  2008. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2009. { //load individual redirector pages
  2010. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2011. mcHostURLs.push(mcRedirectorURL);
  2012. mcRedirectorIDs.push(mcRedirectors[2]);
  2013. gmxhrFunc(mcRedirectorURL);
  2014. } //end of while block
  2015.  
  2016. setTimeout(function(){ //in case the last page fails to load and call the function
  2017. timedOut = true;
  2018. if (mcHostsToProcess)
  2019. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2020. }, 60000);
  2021.  
  2022. } //end of onload function
  2023. }); //end of GM_xmlhttpRequest call
  2024. } //end of function processMirrorcreatorLink
  2025.  
  2026.  
  2027. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2028. {
  2029. var aEl, liEl, docFrag;
  2030. var hostName, mcRedirectorID, trimFilename = false;
  2031. var i = mcHostURLs.length;
  2032. if (i == 0)
  2033. {
  2034. trimFilename = true;
  2035. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2036. }
  2037. else
  2038. {
  2039. if (Display_full_links_in_link_containers)
  2040. { //full view
  2041. var wrapperEl = document.createElement('span');
  2042. wrapperEl.style.display = 'block';
  2043. var ulistEl = document.createElement('ul');
  2044. ulistEl.className = 'container_list';
  2045. while (i--)
  2046. {
  2047. liEl = document.createElement('li');
  2048. aEl = document.createElement('a');
  2049. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2050. aEl.href = mcHostURLs[i];
  2051. aEl.className = 'container_link';
  2052. liEl.appendChild(aEl);
  2053. ulistEl.appendChild(liEl);
  2054. }
  2055. wrapperEl.appendChild(ulistEl);
  2056. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2057. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2058. }
  2059. else
  2060. { //compact view
  2061. trimFilename = true;
  2062. docFrag = document.createDocumentFragment();
  2063. docFrag.appendChild(document.createTextNode(' |'));
  2064. while (i--)
  2065. {
  2066. mcRedirectorID = mcRedirectorIDs[i];
  2067. hostName = mcHostURLs[i];
  2068. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2069. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2070. else
  2071. hostName = mcShortHostNames[mcRedirectorID];
  2072. aEl = document.createElement('a');
  2073. aEl.href = mcHostURLs[i];
  2074. aEl.className = 'container_link';
  2075. aEl.appendChild(document.createTextNode(hostName));
  2076. docFrag.appendChild(aEl);
  2077. docFrag.appendChild(document.createTextNode('|'));
  2078. }
  2079. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2080. } //end of else block
  2081. } //end of else block
  2082. mcLink.className = '';
  2083. if (trimFilename)
  2084. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2085. cMirrorcreatorComProcessed++;
  2086. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2087. {
  2088. if (Do_not_linkify_DL_links)
  2089. delinkifySnapshot(mcSnapshot);
  2090. startBulkCheck('container_link');
  2091. start('container_link');
  2092. }
  2093. } //end of function processMirrorcreatorFoundHosts
  2094.  
  2095. containers_processed = true;
  2096.  
  2097.  
  2098. function initRedirectors()
  2099. {
  2100. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2101. {
  2102. var redirector = new Object();
  2103. redirector.linkRegex = linkRegex;
  2104. redirector.xpath = xpathEx; //xpath expression
  2105. redirector.cProcessed = 0; //processed links count
  2106. redirector.cTotal = 0; //total links count
  2107. redirector.type = redirType; //redirectorTypes enum
  2108. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2109. redirectors.push(redirector);
  2110. }
  2111. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2112. {
  2113. addRedirector(
  2114. 'safelinking\\.net\/d\/\\w+',
  2115. "//a[contains(@href,'safelinking.net/d/')]",
  2116. redirectorTypes.HTTP_302,
  2117. null);
  2118. }
  2119. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2120. {
  2121. addRedirector(
  2122. 'linksafe\\.me\/d\/\\w+',
  2123. "//a[contains(@href,'linksafe.me/d/')]",
  2124. redirectorTypes.HTTP_302,
  2125. null);
  2126. }
  2127. if (GM_getValue("Check_linkto_dot_net_links", false))
  2128. {
  2129. addRedirector(
  2130. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2131. "//a[contains(@href,'linkto.net/?')]",
  2132. redirectorTypes.INNER_LINK,
  2133. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2134. }
  2135. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2136. {
  2137. addRedirector(
  2138. '(?:the)?loo\\.katt\\.it\/\\w+',
  2139. "//a[contains(@href,'loo.katt.it/')]",
  2140. redirectorTypes.THELOO_KATT_IT,
  2141. /Proceed to URL - <a href="(.+?)">/);
  2142. }
  2143. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2144. {
  2145. addRedirector(
  2146. 'madlink\\.sk\/\\w+',
  2147. "//a[contains(@href,'madlink.sk/')]",
  2148. redirectorTypes.INNER_LINK,
  2149. /name="url" value="(.+?)\s*"\/>/);
  2150. }
  2151. if (GM_getValue("Check_adf_dot_ly_links", false))
  2152. {
  2153. addRedirector(
  2154. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2155. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2156. redirectorTypes.ADF_LY,
  2157. null);
  2158. }
  2159. if (GM_getValue("Check_redi_dot_re_links", false))
  2160. {
  2161. addRedirector(
  2162. 'redi\\.re\/\\w+',
  2163. "//a[contains(@href,'redi.re/')]",
  2164. redirectorTypes.HTTP_302,
  2165. null);
  2166. }
  2167. if (GM_getValue("Check_bit_dot_ly_links", false))
  2168. {
  2169. addRedirector(
  2170. 'bit\\.ly\/\\w+',
  2171. "//a[contains(@href,'bit.ly/')]",
  2172. redirectorTypes.HTTP_302,
  2173. null);
  2174. }
  2175. }
  2176.  
  2177. }
  2178.  
  2179. var bulkHosts = new Array();
  2180. var bulkHostNames = new Array();
  2181. function initBulkCheck()
  2182. {
  2183. /////////////////////////////
  2184. // Inits filehost object
  2185. /////////////////////////////
  2186. // params :
  2187. // hostName -- [string] host name (multiple domains separated with coma)
  2188. // linkRegex -- [string] link regex
  2189. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2190. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2191. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2192. // corrReplWhat -- [regex] link correction regex (replace)
  2193. // corrReplWith -- [string]
  2194. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2195. //
  2196. // apiUrl -- [string] web linkchecker or API URL
  2197. // postData -- [string] POSTDATA of xmlhttprequest
  2198. // resLinkRegex -- [regex]
  2199. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2200. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2201. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2202. // func -- [function] bulkcheck handler, genBulkCheck if null
  2203. //
  2204. //////////////////////////////
  2205. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2206. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2207. {
  2208. var fileHost = new Object();
  2209.  
  2210. fileHost.linkRegex = linkRegex;
  2211. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2212. fileHost.xpath = xpath;
  2213. fileHost.cFound = 0; //found links counter
  2214. fileHost.links = new Array(); //found links
  2215. if (blockSize == null)
  2216. {
  2217. fileHost.blockSize = 50;
  2218. }
  2219. else
  2220. {
  2221. fileHost.blockSize = blockSize;
  2222. }
  2223. fileHost.corrMatch = corrMatch;
  2224. fileHost.corrReplWhat = corrReplWhat;
  2225. fileHost.corrReplWith = corrReplWith;
  2226. if (splitSeparator == null)
  2227. {
  2228. fileHost.splitSeparator = "\r\n";
  2229. }
  2230. else
  2231. {
  2232. fileHost.splitSeparator = splitSeparator;
  2233. }
  2234. fileHost.apiUrl = apiUrl;
  2235. fileHost.postData = postData;
  2236. fileHost.resLinkRegex = resLinkRegex;
  2237. fileHost.resLiveRegex = resLiveRegex;
  2238. fileHost.resDeadRegex = resDeadRegex;
  2239. fileHost.resUnavaRegex = resUnavaRegex;
  2240. if (func == null)
  2241. {
  2242. fileHost.func = genBulkCheck;
  2243. }
  2244. else
  2245. {
  2246. fileHost.func = func;
  2247. }
  2248. bulkHosts.push(fileHost);
  2249. var names = hostName.split(',');
  2250. var i = names.length;
  2251. while(i--)
  2252. {
  2253. bulkHostNames[names[i]] = fileHost;
  2254. }
  2255. }
  2256. var genType1 = [
  2257. "migahost.com", "rodfile.com", "downloadani.me",
  2258. "rarefile.net",
  2259. "filesabc.com",
  2260. "180upload.com", "verzend.be",
  2261. "movreel.com",
  2262. "4up.me",
  2263. "file4safe.com", "filemac.com", "4upfiles.com",
  2264. "idup.in", "novafile.com", "longfiles.com",
  2265. "bitupload.com",
  2266. "uploadbaz.com"
  2267. ];
  2268. var genType2 = [ "queenshare.com",
  2269. "hulkload.com",
  2270. "amonshare.com", "edoc.com",
  2271. ];
  2272. //xfilesharing 1.0
  2273. function addGenericType1()
  2274. {
  2275. var i = genType1.length;
  2276. while(i--)
  2277. {
  2278. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2279. {
  2280. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2281. addHost(
  2282. genType1[i].match(/[\w-]+/)[0], //hostname
  2283. regexSafe + "\/\\w+", //linkregex
  2284. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2285. null, //blocksize
  2286. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2287. null, //corrreplwhat
  2288. null, //corrreplwith
  2289. null, //separator
  2290. "http://" + genType1[i] + "/checkfiles.html", //api url
  2291. "op=checkfiles&process=Check+URLs&list=", //postdata
  2292. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2293. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2294. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2295. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2296. null //function delegate
  2297. )
  2298. }
  2299. }
  2300. }
  2301. //xfilesharing 2.0
  2302. function addGenericType2()
  2303. {
  2304. var i = genType2.length;
  2305. while(i--)
  2306. {
  2307. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2308. {
  2309. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2310. addHost(
  2311. genType2[i].match(/[\w-]+/)[0], //hostname
  2312. regexSafe + "\/\\w+", //linkregex
  2313. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2314. null, //blocksize
  2315. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2316. null, //corrreplwhat
  2317. null, //corrreplwith
  2318. null, //separator
  2319. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2320. "op=checkfiles&process=Check+URLs&list=", //postdata
  2321. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2322. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2323. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2324. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2325. null //function delegate
  2326. )
  2327. }
  2328. }
  2329. }
  2330. // TEMPLATE
  2331. // if (GM_getValue("Check__dot_com_links", false))
  2332. // {
  2333. // addHost(
  2334. // "", //hostname
  2335. // "", //linkregex
  2336. // "//a[contains(@href,'.com/')]", //xpath
  2337. // null, //blocksize
  2338. // null, //corrmatch
  2339. // null, //corrreplwhat
  2340. // null, //corrreplwith
  2341. // null, //separator
  2342. // "", //api url
  2343. // "", //postdata
  2344. // /()/, //linkregex
  2345. // //liveregex
  2346. // //deadregex
  2347. // //unavaregex
  2348. // null //function delegate
  2349. // )
  2350. // }
  2351. addGenericType1();
  2352. addGenericType2();
  2353.  
  2354. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2355. {
  2356. addHost(
  2357. "myvdrive,fileserving", //hostname
  2358. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2359. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2360. null, //blocksize
  2361. null, //corrmatch
  2362. null, //corrreplwhat
  2363. null, //corrreplwith
  2364. null, //separator
  2365. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2366. "links=", //postdata
  2367. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2368. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2369. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2370. null, //unavaregex
  2371. null //function delegate
  2372. )
  2373. }
  2374. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2375. {
  2376. addHost(
  2377. "hackerbox", //hostname
  2378. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2379. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2380. null, //blocksize
  2381. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2382. null, //corrreplwhat
  2383. null, //corrreplwith
  2384. null, //separator
  2385. "http://host.hackerbox.org/checkfiles.html", //api url
  2386. "op=checkfiles&process=Check+URLs&list=", //postdata
  2387. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2388. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2389. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2390. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2391. null //function delegate
  2392. )
  2393. }
  2394. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2395. {
  2396. addHost(
  2397. "hellshare", //hostname
  2398. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2399. "//a[contains(@href,'hellshare.')]", //xpath
  2400. 48, //blocksize
  2401. null, //corrmatch
  2402. null, //corrreplwhat
  2403. null, //corrreplwith
  2404. null, //separator
  2405. null, //api url
  2406. null, //postdata
  2407. null, //linkregex
  2408. null, //liveregex
  2409. null, //deadregex
  2410. null, //unavaregex
  2411. hellshareBulkCheck //function delegate
  2412. )
  2413. }
  2414. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2415. {
  2416. addHost(
  2417. "ncrypt", //hostname
  2418. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2419. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2420. 100000, //blocksize
  2421. null, //corrmatch
  2422. null, //corrreplwhat
  2423. null, //corrreplwith
  2424. null, //separator
  2425. null,
  2426. null,
  2427. null,
  2428. null,
  2429. null,
  2430. null,
  2431. ncryptBulkCheck //function delegate
  2432. )
  2433. }
  2434. if (GM_getValue("Check_geupload_dot_com_links", false))
  2435. {
  2436. addHost(
  2437. "geupload,lenfile", //hostname
  2438. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2439. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2440. null, //blocksize
  2441. null, //corrmatch
  2442. null, //corrreplwhat
  2443. null, //corrreplwith
  2444. "\n", //separator
  2445. 'http://geupload.com/?op=checkfiles',
  2446. 'op=checkfiles&process=Check+URLs&list=',
  2447. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2448. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2449. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2450. null,
  2451. null
  2452. )
  2453. }
  2454. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2455. {
  2456. addHost(
  2457. "uploadrocket", //hostname
  2458. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2459. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2460. null, //blocksize
  2461. null, //corrmatch
  2462. null, //corrreplwhat
  2463. null, //corrreplwith
  2464. "\n", //separator
  2465. 'http://uploadrocket.net/?op=checkfiles',
  2466. 'op=checkfiles&process=Check+URLs&list=',
  2467. /uploadrocket.net\/(\w+)/,
  2468. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2469. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2470. null,
  2471. null //function delegate
  2472. )
  2473. }
  2474. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2475. {
  2476. addHost(
  2477. "k2s,keep2s,keep2share",
  2478. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2479. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2480. 100000, //blocksize
  2481. null, //corrmatch
  2482. null, //corrreplwhat
  2483. null, //corrreplwith
  2484. null, //separator
  2485. null,
  2486. null,
  2487. null,
  2488. null,
  2489. null,
  2490. null,
  2491. k2sBulkCheck //function delegate
  2492. )
  2493. }
  2494. if (GM_getValue("Check_fboom_dot_me_links", false))
  2495. {
  2496. addHost(
  2497. "fboom,fileboom",
  2498. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2499. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2500. 100000, //blocksize
  2501. null, //corrmatch
  2502. null, //corrreplwhat
  2503. null, //corrreplwith
  2504. null, //separator
  2505. null,
  2506. null,
  2507. null,
  2508. null,
  2509. null,
  2510. null,
  2511. fboomBulkCheck //function delegate
  2512. )
  2513. }
  2514. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2515. {
  2516. addHost(
  2517. "depositfiles,dfiles",
  2518. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|en/files\/\\w+",
  2519. "//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/')]",
  2520. 100000, //blocksize
  2521. null, //corrmatch
  2522. null, //corrreplwhat
  2523. null, //corrreplwith
  2524. null, //separator
  2525. null,
  2526. null,
  2527. null,
  2528. null,
  2529. null,
  2530. null,
  2531. depositfilesBulkCheck //function delegate
  2532. )
  2533. }
  2534. if (GM_getValue("Check_filepost_dot_com_links", false))
  2535. {
  2536. addHost(
  2537. "filepost,fp", //hostname
  2538. "(?:filepost\\.com\/files|fp\\.io)\/\\w+", //linkregex
  2539. "//a[contains(@href,'filepost.com/files/') or contains(@href,'fp.io/')]", //xpath
  2540. null, //blocksize
  2541. null, //corrmatch
  2542. null, //corrreplwhat
  2543. null, //corrreplwith
  2544. "\n", //separator
  2545. 'http://filepost.com/files/checker/?JsHttpRequest=0-xml',
  2546. 'urls=',
  2547. /\\\/files\\\/(\w+)/,
  2548. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"v\\"/g,
  2549. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"x\\"/g,
  2550. null,
  2551. null //function delegate
  2552. )
  2553. }
  2554. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2555. {
  2556. addHost(
  2557. "filesflash", //hostname
  2558. "filesflash\\.com\/\\w+", //linkregex
  2559. "//a[contains(@href,'filesflash.com')]", //xpath
  2560. null, //blocksize
  2561. null, //corrmatch
  2562. /http:\/\//, //corrreplwhat
  2563. '', //corrreplwith
  2564. null, //separator
  2565. 'http://filesflash.com/checklinks.php',
  2566. 'submit=Go&links=',
  2567. /filesflash\.com\/(\w+)/,
  2568. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2569. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2570. null,
  2571. null //function delegate
  2572. )
  2573. }
  2574. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2575. {
  2576. addHost(
  2577. "jumbofiles", //hostname
  2578. "jumbofiles\\.com\/\\w+", //linkregex
  2579. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2580. null, //blocksize
  2581. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2582. null, //corrreplwhat
  2583. null, //corrreplwith
  2584. null, //separator
  2585. "http://jumbofiles.com/checkfiles.html", //api url
  2586. "op=checkfiles&process=Check+URLs&list=", //postdata
  2587. /(jumbofiles\.com\/\w+)/, //linkregex
  2588. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2589. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2590. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2591. null //function delegate
  2592. )
  2593. }
  2594. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2595. {
  2596. addHost(
  2597. "edisk", //hostname
  2598. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2599. "//a[contains(@href,'edisk.')]", //xpath
  2600. null, //blocksize
  2601. null, //corrmatch
  2602. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2603. 'edisk.cz/stahni', //corrreplwith
  2604. null, //separator
  2605. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2606. 'submitBtn=Zkontrolovat&checkFiles=',
  2607. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2608. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2609. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2610. null,
  2611. null //function delegate
  2612. )
  2613. }
  2614. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2615. {
  2616. GM_xmlhttpRequest( //age check skip
  2617. {
  2618. method: 'POST',
  2619. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2620. headers: {
  2621. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2622. 'Content-type': 'application/x-www-form-urlencoded',
  2623. 'Referer': ""
  2624. }
  2625. });
  2626. addHost(
  2627. "bezvadata", //hostname
  2628. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2629. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2630. null, //blocksize
  2631. null, //corrmatch
  2632. null, //corrreplwhat
  2633. null, //corrreplwith
  2634. null, //separator
  2635. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2636. 'zkontrolovat=Zkontrolovat&odkazy=',
  2637. /(bezvadata\.cz\/stahnout\/\d+)/,
  2638. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2639. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2640. null,
  2641. null //function delegate
  2642. )
  2643. }
  2644. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2645. {
  2646. addHost(
  2647. "linkcrypt", //hostname
  2648. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2649. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2650. 100000, //blocksize
  2651. null, //corrmatch
  2652. null, //corrreplwhat
  2653. null, //corrreplwith
  2654. null, //separator
  2655. null,
  2656. null,
  2657. null,
  2658. null,
  2659. null,
  2660. null,
  2661. linkcryptBulkCheck //function delegate
  2662. )
  2663. }
  2664. if (GM_getValue("Check_linksave_dot_in_links", false))
  2665. {
  2666. addHost(
  2667. "linksave", //hostname
  2668. "linksave\\.in\/\\w+", //linkregex
  2669. "//a[contains(@href,'linksave.in')]", //xpath
  2670. 100000, //blocksize
  2671. null, //corrmatch
  2672. null, //corrreplwhat
  2673. null, //corrreplwith
  2674. null, //separator
  2675. null,
  2676. null,
  2677. null,
  2678. null,
  2679. null,
  2680. null,
  2681. linksaveBulkCheck //function delegate
  2682. )
  2683. }
  2684. if (GM_getValue("Check_videobb_dot_com_links", false))
  2685. {
  2686. addHost(
  2687. "videobb", //hostname
  2688. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2689. "//a[contains(@href,'videobb.com')]", //xpath
  2690. null, //blocksize
  2691. null, //corrmatch
  2692. /watch_video\.php\?v=/, //corrreplwhat
  2693. 'video/', //corrreplwith
  2694. null, //separator
  2695. 'http://www.videobb.com/link_checker.php',
  2696. 'links=',
  2697. /videobb\.com\/video\/(\w+)/,
  2698. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2699. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2700. null,
  2701. null //function delegate
  2702. )
  2703. }
  2704. if (GM_getValue("Check_cramit_dot_in_links", false))
  2705. {
  2706. addHost(
  2707. "cramit,cramitin", //hostname
  2708. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2709. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2710. null, //blocksize
  2711. null, //corrmatch
  2712. null, //corrreplwhat
  2713. null, //corrreplwith
  2714. null, //separator
  2715. 'http://cramit.in/checkfiles.html',
  2716. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2717. /(cramit(?:\.in|in\.net)\/\w+)/,
  2718. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2719. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2720. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2721. null //function delegate
  2722. )
  2723. }
  2724. /* if (GM_getValue("Check_turbobit_dot_net_links", false))
  2725. {
  2726. addHost(
  2727. "turbobit", //hostname
  2728. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2729. "//a[contains(@href,'turbobit.')]", //xpath
  2730. null, //blocksize
  2731. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2732. null, //corrreplwhat
  2733. null, //corrreplwith
  2734. "\n", //separator
  2735. 'http://turbobit.net/linkchecker/csv',
  2736. 'links_to_check=',
  2737. /(turbobit\.(?:net|pl)\/\w+)/,
  2738. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2739. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2740. null,
  2741. null //function delegate
  2742. )
  2743. } */
  2744. if (GM_getValue("Check_filerio_dot_com_links", false))
  2745. {
  2746. addHost(
  2747. "filekeen,filerio", //hostname
  2748. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2749. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2750. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2751. null, //blocksize
  2752. null, //corrmatch
  2753. null, //corrreplwhat
  2754. null, //corrreplwith
  2755. null, //separator
  2756. 'http://filerio.in/checkfiles.html',
  2757. 'op=checkfiles&process=Check+URLs&list=',
  2758. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2759. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2760. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2761. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2762. null //function delegate
  2763. )
  2764. }
  2765. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2766. {
  2767. addHost(
  2768. "share-online,egoshare", //hostname
  2769. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2770. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2771. null, //blocksize
  2772. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2773. null, //corrreplwhat
  2774. null, //corrreplwith
  2775. "\n", //separator
  2776. 'http://api.share-online.biz/linkcheck.php',
  2777. 'links=',
  2778. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2779. /\w+;OK/g,
  2780. /\w+;(?:NOTFOUND|DELETED)/g,
  2781. null,
  2782. null //function delegate
  2783. )
  2784. }
  2785. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2786. {
  2787. addHost(
  2788. "quickshare", //hostname
  2789. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2790. "//a[contains(@href,'quickshare.cz')]", //xpath
  2791. null, //blocksize
  2792. null, //corrmatch
  2793. null, //corrreplwhat
  2794. null, //corrreplwith
  2795. null, //separator
  2796. 'http://www.quickshare.cz/nastroje/link-checker',
  2797. 'linky=',
  2798. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2799. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2800. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2801. null,
  2802. null //function delegate
  2803. )
  2804. }
  2805. if (GM_getValue("Check_netload_dot_in_links", false))
  2806. {
  2807. addHost(
  2808. "netload", //hostname
  2809. "netload\\.in\/datei\\w{10}", //linkregex
  2810. "//a[contains(@href,'netload.in')]", //xpath
  2811. null, //blocksize
  2812. null, //corrmatch
  2813. null, //corrreplwhat
  2814. null, //corrreplwith
  2815. "\n", //separator
  2816. "http://api.netload.in/index.php?id=2", //api url
  2817. "send=Absenden&links=", //postdata
  2818. /(\w+);/, //linkregex
  2819. /\w{10,};.+?;.+?;online/g, //liveregex
  2820. /\w{10,};.+?;.+?;offline/g, //deadregex
  2821. null, //unavaregex
  2822. //netloadBulkCheck //function delegate //disabled on probation since 1.2.4.5
  2823. null //function delegate
  2824. )
  2825. }
  2826. if (GM_getValue("Check_oboom_dot_com_links", false))
  2827. {
  2828. addHost(
  2829. "oboom", //hostname
  2830. "oboom\\.com\/#?\\w{8}", //linkregex
  2831. "//a[contains(@href,'oboom.com/')]", //xpath
  2832. null, //blocksize
  2833. /oboom\.com\/#?(\w{8})/, //corrmatch
  2834. null, //corrreplwhat
  2835. null, //corrreplwith
  2836. null, //separator
  2837. null,
  2838. null,
  2839. null,
  2840. null, //liveregex
  2841. null, //deadregex
  2842. null,
  2843. oboomBulk //function delegate
  2844. )
  2845. }
  2846. if (GM_getValue("Check_mega_dot_nz_links", false))
  2847. {
  2848. addHost(
  2849. "mega",
  2850. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2851. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2852. 100000, //blocksize
  2853. null, //corrmatch
  2854. null, //corrreplwhat
  2855. null, //corrreplwith
  2856. null, //separator
  2857. null,
  2858. null,
  2859. null,
  2860. null,
  2861. null,
  2862. null,
  2863. megaBulkCheck //function delegate
  2864. )
  2865. }
  2866.  
  2867. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2868.  
  2869. if (GM_getValue("Check_extabit_dot_com_links", false))
  2870. {
  2871. addHost(
  2872. "extabit", //hostname
  2873. "extabit\\.com\/file\/\\w+", //linkregex
  2874. "//a[contains(@href,'extabit.com')]", //xpath
  2875. null, //blocksize
  2876. null, //corrmatch
  2877. null, //corrreplwhat
  2878. null, //corrreplwith
  2879. "\n", //separator
  2880. "http://extabit.com/linkchecker.jsp", //api url
  2881. "url=", //postdata
  2882. /extabit\.com\/(file\/\w+)/, //linkregex
  2883. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2884. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2885. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2886. extabitBulkCheck //function delegate
  2887. )
  2888. }
  2889. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2890. {
  2891. addHost(
  2892. "junocloud", //hostname
  2893. "junocloud\\.me\/\\w+", //linkregex
  2894. "//a[contains(@href,'junocloud.me')]", //xpath
  2895. null, //blocksize
  2896. null, //corrmatch
  2897. null, //corrreplwhat
  2898. null, //corrreplwith
  2899. "\n", //separator
  2900. "http://junocloud.me/checkfiles.html", //api url
  2901. "op=checkfiles&process=Check+URLs&list=", //postdata
  2902. /(junocloud\.me\/\w+)/, //linkregex
  2903. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2904. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2905. null, //unavaregex
  2906. null //function delegate
  2907. )
  2908. }
  2909. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2910. {
  2911. addHost(
  2912. "webshare", //hostname
  2913. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2914. "//a[contains(@href,'webshare.cz')]", //xpath
  2915. 100000, //blocksize
  2916. null, //corrmatch
  2917. null, //corrreplwhat
  2918. null, //corrreplwith
  2919. null, //separator
  2920. null, //api url
  2921. null, //postdata
  2922. null, //linkregex
  2923. null, //liveregex
  2924. null, //deadregex
  2925. null, //unavaregex
  2926. webshareBulkCheck //function delegate
  2927. )
  2928. }
  2929. /////////////////////////////
  2930. // Common function delegate to send links to get checked by host linkchecker
  2931. /////////////////////////////
  2932. // If you define a new delegate, you may use following properties
  2933. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2934. // this.apiUrl [string] API or web linkchecker URL
  2935. // this.postData [string] POSTDATA for POST request
  2936. // this.resLiveRegex [regex] matches live substrings in the request response
  2937. // this.resDeadRegex [regex] matches dead substrings in the request response
  2938. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2939. //
  2940. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2941. //
  2942. // See the code below for standard bulkcheck handling reference.
  2943. //////////////////////////////
  2944. function genBulkCheck()
  2945. {
  2946. var blockIdx = this.links.length;
  2947. while (blockIdx--)
  2948. {
  2949. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2950. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2951. }
  2952. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2953. {
  2954. GM_xmlhttpRequest(
  2955. {
  2956. method: 'POST',
  2957. url: api,
  2958. headers: {
  2959. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2960. 'Content-type': 'application/x-www-form-urlencoded',
  2961. 'Referer': api,
  2962. 'X-Requested-With': 'XMLHttpRequest'
  2963. },
  2964. data: postData + encodeURIComponent(links),
  2965. onload: function (result)
  2966. {
  2967. var res = result.responseText;
  2968. // GM_log(res);
  2969. var i;
  2970.  
  2971. var livelinks = res.match(liveRegex);
  2972. var deadlinks = res.match(deadRegex);
  2973. // GM_log(livelinks);
  2974. // GM_log(deadlinks);
  2975. if (livelinks != null)
  2976. {
  2977. i = livelinks.length - 1;
  2978. do
  2979. {
  2980. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2981. }
  2982. while (i--);
  2983. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2984. }
  2985.  
  2986. if (deadlinks != null)
  2987. {
  2988. i = deadlinks.length - 1;
  2989. do
  2990. {
  2991. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2992. }
  2993. while (i--);
  2994. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2995. }
  2996.  
  2997. if (unavaRegex != null)
  2998. {
  2999. var unavalinks = res.match(unavaRegex);
  3000. if (unavalinks)
  3001. {
  3002. i = unavalinks.length - 1;
  3003. do
  3004. {
  3005. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3006. }
  3007. while (i--);
  3008. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3009. }
  3010. }
  3011. }
  3012. });
  3013. }
  3014. }
  3015. //specialized bulkchecking handlers follow
  3016. function webshareBulkCheck()
  3017. {
  3018. var arr = this.links[0].split("\r\n");
  3019. var i = arr.length;
  3020. while(i--)
  3021. {
  3022. postRequest(arr[i]);
  3023. }
  3024. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3025. function postRequest(wsLink)
  3026. {
  3027. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3028. GM_xmlhttpRequest(
  3029. {
  3030. method: 'POST',
  3031. url: "http://webshare.cz/api/file_info/",
  3032. headers: {
  3033. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3034. 'Content-type': 'application/x-www-form-urlencoded',
  3035. 'Referer': "",
  3036. },
  3037. data: "wst=&ident=" + id,
  3038. onload: function (result)
  3039. {
  3040. var res = result.responseText;
  3041. if (res.match(/<name>.+?<\/name>/))
  3042. {
  3043. DisplayTheCheckedLinks([id], 'alive_link');
  3044. }
  3045. else
  3046. {
  3047. DisplayTheCheckedLinks([id], 'adead_link');
  3048. }
  3049. }
  3050. });
  3051. }
  3052. }
  3053. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3054. //extabit also doesn't like requests in fast succession, so some delays are added.
  3055. function extabitBulkCheck()
  3056. {
  3057. var timeoutDelay = 0;
  3058. var blockIdx = this.links.length;
  3059. while (blockIdx--)
  3060. {
  3061. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3062. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3063. }
  3064. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3065. {
  3066. GM_xmlhttpRequest(
  3067. {
  3068. method: 'POST',
  3069. url: api,
  3070. headers: {
  3071. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3072. 'Content-type': 'application/x-www-form-urlencoded',
  3073. 'Referer': api,
  3074. 'X-Requested-With': 'XMLHttpRequest'
  3075. },
  3076. data: postData + encodeURIComponent(links),
  3077. onload: function (result)
  3078. {
  3079. var res = result.responseText;
  3080. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3081. {
  3082. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3083. {
  3084. //GM_log(tryID + ': ' + link);
  3085. GM_xmlhttpRequest(
  3086. {
  3087. method: 'GET',
  3088. url: link,
  3089. 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': ""},
  3090. onload: function(result2)
  3091. {
  3092. var res2 = result2.responseText;
  3093. var res2Status = result.status;
  3094. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3095. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3096. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3097. {
  3098. if (tryID < 7)
  3099. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3100. else
  3101. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3102. }
  3103. }
  3104. });
  3105. }
  3106. //split the hrefs and check them one by one
  3107. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3108. links = links.split('\n');
  3109. var i = links.length;
  3110. while (i--)
  3111. {
  3112. if (links[i])
  3113. {
  3114. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3115. timeoutDelay += 500;
  3116. }
  3117. }
  3118. return;
  3119. }
  3120. var i;
  3121.  
  3122. var livelinks = res.match(liveRegex);
  3123. var deadlinks = res.match(deadRegex);
  3124. if (livelinks != null)
  3125. {
  3126. i = livelinks.length - 1;
  3127. do
  3128. {
  3129. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3130. }
  3131. while (i--);
  3132. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3133. }
  3134.  
  3135. if (deadlinks != null)
  3136. {
  3137. i = deadlinks.length - 1;
  3138. do
  3139. {
  3140. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3141. }
  3142. while (i--);
  3143. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3144. }
  3145.  
  3146. if (unavaRegex != null)
  3147. {
  3148. var unavalinks = res.match(unavaRegex);
  3149. if (unavalinks)
  3150. {
  3151. i = unavalinks.length - 1;
  3152. do
  3153. {
  3154. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3155. }
  3156. while (i--);
  3157. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3158. }
  3159. }
  3160. }
  3161. });
  3162. }
  3163. }
  3164. function netloadBulkCheck()
  3165. {
  3166. var blockIdx = this.links.length;
  3167.  
  3168. while (blockIdx--)
  3169. {
  3170. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3171. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.unavaRegex);
  3172. }
  3173. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3174. {
  3175. GM_xmlhttpRequest(
  3176. {
  3177. method: 'POST',
  3178. url: api,
  3179. headers: {
  3180. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3181. 'Content-type': 'application/x-www-form-urlencoded',
  3182. 'Referer': ""
  3183. },
  3184. data: postData + encodeURIComponent(links),
  3185. onload: function (result)
  3186. {
  3187. var res = result.responseText;
  3188. var i;
  3189.  
  3190. var livelinks = res.match(liveRegex);
  3191. var deadlinks = res.match(deadRegex);
  3192. if (livelinks != null)
  3193. {
  3194. i = livelinks.length - 1;
  3195. do
  3196. {
  3197. recheckLink(livelinks[i].match(linkRegex)[1]);
  3198. }
  3199. while(i--);
  3200. }
  3201.  
  3202. if (deadlinks != null)
  3203. {
  3204. i = deadlinks.length - 1;
  3205. do
  3206. {
  3207. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3208. }
  3209. while (i--);
  3210. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3211. }
  3212. }
  3213. });
  3214. }
  3215. function recheckLink(link)
  3216. {
  3217. var link = link;
  3218. GM_xmlhttpRequest(
  3219. {
  3220. method: 'GET',
  3221. url: 'http://netload.in/datei' + link + '.htm',
  3222. headers: {
  3223. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3224. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3225. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3226. 'Referer': ""
  3227. },
  3228. onload: function (result)
  3229. {
  3230. var res = result.responseText;
  3231.  
  3232. if (res.match(/dl_first_file_download">|download_limit\.gif/))
  3233. {
  3234. DisplayTheCheckedLinks([link], 'alive_link');
  3235. return;
  3236. }
  3237.  
  3238. if (res.match(/achtung\.jpg"/))
  3239. {
  3240. DisplayTheCheckedLinks([link], 'adead_link');
  3241. }
  3242. },
  3243. onerror: function ()
  3244. {
  3245. displayTheCheckedLink(link, 'unava_link');
  3246. }
  3247. });
  3248. }
  3249. }
  3250. function k2sBulkCheck()
  3251. {
  3252. var arr = this.links[0].split("\r\n");
  3253. var i = arr.length;
  3254. c=0;
  3255. while(i--)
  3256. {
  3257. c++;
  3258. setTimeout(k2sRequest,c*500,arr[i]);
  3259. }
  3260. }
  3261. function k2sRequest(K2SLink)
  3262. {
  3263. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3264. K2SLink2='http://k2s.cc/file/'+id;
  3265. GM_xmlhttpRequest(
  3266. {
  3267. method: 'GET',
  3268. url: K2SLink,
  3269. headers: {
  3270. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3271. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3272. 'Referer': ''
  3273. },
  3274. onload: function (result)
  3275. {
  3276. var res = result.responseText;
  3277. 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'))
  3278. {
  3279. DisplayTheCheckedLinks([id], 'adead_link');
  3280. return;
  3281. }
  3282. if (res.match('method="post">Displaying'))
  3283. {
  3284. DisplayTheCheckedLinks([id], 'unava_link');
  3285. return;
  3286. }
  3287. if (res.match('Premium only'))
  3288. {
  3289. DisplayTheCheckedLinks([id], 'prem_link');
  3290. return;
  3291. }
  3292. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3293. {
  3294. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3295. slID=slow_id.exec(res)[1];
  3296. GM_xmlhttpRequest(
  3297. {
  3298. method: 'POST',
  3299. url: K2SLink2,
  3300. headers: {
  3301. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3302. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3303. 'Content-Type': 'application/x-www-form-urlencoded',
  3304. 'Referer': K2SLink
  3305. },
  3306. data: 'slow_id='+slID+'&yt0=',
  3307. onload: function (result)
  3308. {
  3309. var newres = result.responseText;
  3310. newoversizedtest=new RegExp("Free user can't download large files.");
  3311. if (newoversizedtest.test(newres))
  3312. {
  3313. DisplayTheCheckedLinks([id], 'prem_link');
  3314. return;
  3315. }
  3316. else
  3317. {
  3318. DisplayTheCheckedLinks([id], 'alive_link');
  3319. return;
  3320. }
  3321. DisplayTheCheckedLinks([id], 'unava_link');
  3322. return;
  3323. }
  3324. });
  3325. /////////////////////end additional check for oversized links
  3326. return;
  3327. }
  3328. DisplayTheCheckedLinks([id], 'unava_link');
  3329. return;
  3330. },
  3331. onerror: function ()
  3332. {
  3333. DisplayTheCheckedLinks([id], 'unava_link');
  3334. return;
  3335. }
  3336. });
  3337. }
  3338. function fboomBulkCheck()
  3339. {
  3340. var arr = this.links[0].split("\r\n");
  3341. var i = arr.length;
  3342. c=0;
  3343. while(i--)
  3344. {
  3345. c++;
  3346. setTimeout(fboomRequest,c*500,arr[i]);
  3347. }
  3348. }
  3349. function fboomRequest(FBoomLink)
  3350. {
  3351. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3352. FBoomLink2='http://fboom.me/file/'+id;
  3353. GM_xmlhttpRequest(
  3354. {
  3355. method: 'GET',
  3356. url: FBoomLink,
  3357. headers: {
  3358. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3359. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3360. 'Referer': ''
  3361. },
  3362. onload: function (result)
  3363. {
  3364. var res = result.responseText;
  3365. if (res.match('class="error-v1-title">404<|File not found or deleted|This file is no longer available'))
  3366. {
  3367. DisplayTheCheckedLinks([id], 'adead_link');
  3368. return;
  3369. }
  3370. if (res.match('method="post">Displaying'))
  3371. {
  3372. DisplayTheCheckedLinks([id], 'unava_link');
  3373. return;
  3374. }
  3375. if (res.match('only for premium members'))
  3376. {
  3377. DisplayTheCheckedLinks([id], 'prem_link');
  3378. return;
  3379. }
  3380. if (res.match('id="download-free" href="#"'))
  3381. {
  3382. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3383. slID=slow_id.exec(res)[1];
  3384. GM_xmlhttpRequest(
  3385. {
  3386. method: 'POST',
  3387. url: FBoomLink2,
  3388. headers: {
  3389. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3390. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3391. 'Content-Type': 'application/x-www-form-urlencoded',
  3392. 'Referer': FBoomLink
  3393. },
  3394. data: 'slow_id='+slID,
  3395. onload: function (result)
  3396. {
  3397. var newres = result.responseText;
  3398. newoversizedtest=new RegExp("Free user can't download large files.");
  3399. if (newoversizedtest.test(newres))
  3400. {
  3401. DisplayTheCheckedLinks([id], 'prem_link');
  3402. return;
  3403. }
  3404. else
  3405. {
  3406. DisplayTheCheckedLinks([id], 'alive_link');
  3407. return;
  3408. }
  3409. DisplayTheCheckedLinks([id], 'unava_link');
  3410. return;
  3411. }
  3412. });
  3413. /////////////////////end additional check for oversized links
  3414. return;
  3415. }
  3416. DisplayTheCheckedLinks([id], 'unava_link');
  3417. return;
  3418. },
  3419. onerror: function ()
  3420. {
  3421. DisplayTheCheckedLinks([id], 'unava_link');
  3422. return;
  3423. }
  3424. });
  3425. }
  3426. function depositfilesBulkCheck()
  3427. {
  3428. var arr = this.links[0].split("\r\n");
  3429. var i = arr.length;
  3430. var seqno = Math.floor(Math.random()*1000000000);
  3431. while(i--)
  3432. {
  3433. DFpostRequest(arr[i]);
  3434. }
  3435. }
  3436. function DFpostRequest(DFLink)
  3437. {
  3438. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3439. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3440. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3441. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3442. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3443. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3444. GM_xmlhttpRequest(
  3445. {
  3446. method: "GET",
  3447. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3448. headers: {
  3449. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3450. 'Content-Type': 'application/x-www-form-urlencoded',
  3451. 'Referer': ""
  3452. },
  3453. onload: function (result)
  3454. {
  3455. var res = result.responseText;
  3456. if (res.match('(?:no_file|file_ban)'))
  3457. {
  3458. DisplayTheCheckedLinks([id], 'adead_link');
  3459. return;
  3460. }
  3461. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3462. {
  3463. DisplayTheCheckedLinks([id], 'alive_link');
  3464. return;
  3465. }
  3466. DisplayTheCheckedLinks([id], 'unava_link');
  3467. }
  3468. });
  3469. }
  3470.  
  3471. function megaBulkCheck()
  3472. {
  3473. var arr = this.links[0].split("\r\n");
  3474. var i = arr.length;
  3475. var seqno = Math.floor(Math.random()*1000000000);
  3476. while(i--)
  3477. {
  3478. postRequest(arr[i]);
  3479. }
  3480. function postRequest(megaLink)
  3481. {
  3482. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3483. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3484. GM_xmlhttpRequest(
  3485. {
  3486. method: "POST",
  3487. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3488. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3489. headers: {
  3490. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3491. 'Content-Type': 'application/xml',
  3492. 'Referer': "https://mega.co.nz/"
  3493. },
  3494. onload: function (result)
  3495. {
  3496. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3497. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3498. {
  3499.  
  3500. DisplayTheCheckedLinks([id], 'adead_link');
  3501. }
  3502. if (res.at)
  3503. {
  3504. DisplayTheCheckedLinks([id], 'alive_link');
  3505. }
  3506. if (res.e == "ETEMPUNAVAIL")
  3507. {
  3508. DisplayTheCheckedLinks([id], 'unava_link');
  3509. }
  3510. }
  3511. });
  3512. }
  3513.  
  3514. }
  3515.  
  3516. function oboomBulk() {
  3517. var a = [], b = [], c = [];
  3518. var array = this.links;
  3519.  
  3520. GM_xmlhttpRequest({
  3521. method: 'GET',
  3522. url: 'https://www.oboom.com/1/guestsession',
  3523. headers: {
  3524. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3525. 'Content-type': 'application/x-www-form-urlencoded',
  3526. 'Referer': 'https://www.oboom.com',
  3527. 'X-Requested-With': 'XMLHttpRequest'
  3528. },
  3529. onload: function(result) {
  3530. var blockIdx = array.length;
  3531. var token = JSON.parse(result.responseText)[1];
  3532. while (blockIdx--) {
  3533. startCheck(array[blockIdx].split('\r\n'), token);
  3534. }
  3535. }
  3536. });
  3537.  
  3538. function startCheck(links, token) {
  3539. GM_xmlhttpRequest({
  3540. method: 'POST',
  3541. url: "https://api.oboom.com/1/info",
  3542. headers: {
  3543. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3544. 'Content-type': 'application/x-www-form-urlencoded',
  3545. 'Referer': 'https://www.oboom.com/',
  3546. 'X-Requested-With': 'XMLHttpRequest'
  3547. },
  3548. data: "token=" + token + "&items=" + links.join(","),
  3549. onload: function(result) {
  3550. var res = JSON.parse(result.responseText)[1];
  3551. var i = res.length, s;
  3552.  
  3553. while (i--) {
  3554. s = res[i].state;
  3555. if (s == 'online') a.push(res[i].id);
  3556. 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);
  3557. else c.push(res[i].id);
  3558. }
  3559.  
  3560. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3561. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3562. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3563. }
  3564. });
  3565. }
  3566. }
  3567. function linksaveBulkCheck()
  3568. {
  3569. var arr = this.links[0].split("\r\n");
  3570. var i = arr.length;
  3571. while(i--)
  3572. {
  3573. postRequest(arr[i]);
  3574. }
  3575. function postRequest(lsLink)
  3576. {
  3577. GM_xmlhttpRequest(
  3578. {
  3579. method: "GET",
  3580. url: lsLink + '-t.jpg',
  3581. headers: {
  3582. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3583. 'Accept': 'text/xml',
  3584. 'Referer': ""
  3585. },
  3586. onload: function (result)
  3587. {
  3588. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3589. if (imgLen == 965) //online
  3590. {
  3591. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3592. }
  3593.  
  3594. if (imgLen == 972) //offline
  3595. {
  3596. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3597. }
  3598. if (imgLen == 978) //unava
  3599. {
  3600. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3601. }
  3602. }
  3603. });
  3604. }
  3605.  
  3606. }
  3607. function linkcryptBulkCheck()
  3608. {
  3609. var arr = this.links[0].split("\r\n");
  3610. var i = arr.length;
  3611. while(i--)
  3612. {
  3613. postRequest(arr[i]);
  3614. }
  3615. function postRequest(lcLink)
  3616. {
  3617. GM_xmlhttpRequest(
  3618. {
  3619. method: "GET",
  3620. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3621. headers: {
  3622. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3623. 'Accept': 'text/xml',
  3624. 'Referer': ""
  3625. },
  3626. onload: function (result)
  3627. {
  3628. var res = result.responseText;
  3629. if (res.match(/<errorCode>1101|folderStatus>[23]/)) //Offline status
  3630. {
  3631. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3632. return;
  3633. }
  3634. if (res.match(/folderStatus>1/)) //Online status
  3635. {
  3636. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3637. }
  3638. else
  3639. {
  3640. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3641. }
  3642. }
  3643. });
  3644. }
  3645. }
  3646.  
  3647. function megashareBulkCheck()
  3648. {
  3649. var arr = this.links[0].split("\r\n");
  3650. var i = arr.length;
  3651. while(i--)
  3652. {
  3653. postRequest(arr[i]);
  3654. }
  3655. function postRequest(msLink)
  3656. {
  3657. GM_xmlhttpRequest(
  3658. {
  3659. method: "GET",
  3660. url: msLink,
  3661. headers: {
  3662. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3663. 'Content-Type': 'application/x-www-form-urlencoded',
  3664. 'Referer': ""
  3665. },
  3666. onload: function (result)
  3667. {
  3668. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3669. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3670. if ((prZVal == null) || (btn3Name == null))
  3671. {
  3672. return;
  3673. }
  3674. GM_xmlhttpRequest(
  3675. {
  3676. method: "POST",
  3677. url: msLink,
  3678. headers: {
  3679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3680. 'Content-Type': 'application/x-www-form-urlencoded',
  3681. 'Referer': ""
  3682. },
  3683. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3684. onload: function (result)
  3685. {
  3686. var res = result.responseText;
  3687. if (res.match(/<div id="err">/))
  3688. {
  3689. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3690. }
  3691. else
  3692. {
  3693. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3694. }
  3695. }
  3696. });
  3697. }
  3698. });
  3699. }
  3700. }
  3701. function ncryptBulkCheck()
  3702. {
  3703. var arr = this.links[0].split("\r\n");
  3704. var i = arr.length;
  3705. while(i--)
  3706. {
  3707. postRequest(arr[i]);
  3708. }
  3709. function postRequest(ncryptLink)
  3710. {
  3711. GM_xmlhttpRequest(
  3712. {
  3713. method: "POST",
  3714. url: 'http://ncrypt.in/api_status.php',
  3715. headers: {
  3716. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3717. 'Content-Type': 'application/x-www-form-urlencoded',
  3718. 'Referer': ""
  3719. },
  3720. data: 'link=' + encodeURI(ncryptLink),
  3721. onload: function (result)
  3722. {
  3723. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3724. switch(foldStatus + ""){
  3725. case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3726. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3727. default: DisplayTheCheckedLinks([ncryptLink], 'unava_link');
  3728. }
  3729. }
  3730. });
  3731. }
  3732. }
  3733. function hellshareBulkCheck()
  3734. {
  3735. var links = this.links;
  3736. GM_xmlhttpRequest(
  3737. {
  3738. method: "GET",
  3739. url: 'http://www.hellshare.com',
  3740. headers: {
  3741. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3742. 'Accept': 'text/xml',
  3743. 'Referer': ""
  3744. },
  3745. onload: function (result)
  3746. {
  3747. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3748.  
  3749. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3750. if (domain == 'sk')
  3751. loc = 'check=Skontrolova%C5%A5&links=';
  3752. if (domain == 'com')
  3753. loc = 'check=Check+availability&links=';
  3754. if (domain == 'hu')
  3755. loc = 'check=Kontrol%C3%A1lj&links=';
  3756. if (domain == 'pl')
  3757. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3758.  
  3759. genBulkCheck.call({ links: links,
  3760. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3761. postData: loc,
  3762. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3763. 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,
  3764. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3765. resUnavaRegex: null
  3766. });
  3767. }
  3768. });
  3769. }
  3770. /**
  3771. * Displays check result
  3772. * @param {Array} Array of links or link fragments.
  3773. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3774. */
  3775. function DisplayTheCheckedLinks(links, resultStatus)
  3776. {
  3777. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3778. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3779. if (Do_not_linkify_DL_links)
  3780. { //TODO into separate jQuery function
  3781. $links.replaceWith(function(){
  3782. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3783. });
  3784. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3785. }
  3786. $links.removeClass().addClass(resultStatus);
  3787. $links.each(function() {
  3788. this.href = Ref_anonymize_service + $(this).attr("href");
  3789. });
  3790. switch(resultStatus)
  3791. {
  3792. case "alive_link": cLinksAlive += $links.length;
  3793. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3794. break;
  3795. case "adead_link": cLinksDead += $links.length;
  3796. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3797. break;
  3798. case "prem_link": cLinksprem += $links.length;
  3799. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3800. break;
  3801. case "unava_link": cLinksUnava += $links.length; break;
  3802. default:
  3803. }
  3804. cLinksProcessed += $links.length;
  3805. }
  3806. }
  3807. // starts bulkchecking
  3808. //
  3809. // params
  3810. // filterId [string] restricts link detection with passed id attribute
  3811. function startBulkCheck(filterId)
  3812. {
  3813. var cHosts = bulkHosts.length;
  3814. if (cHosts == 0) //no filehostings selected
  3815. return;
  3816. // STEP 1 linkify the links
  3817. var linkifyRegex = '';
  3818. var hostIdx = cHosts;
  3819. while(hostIdx--)
  3820. {
  3821. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3822. }
  3823. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3824. linkify(linkifyRegex);
  3825. //
  3826. //STEP 2 detect link objects
  3827. var xpathAll = '';
  3828. var hostIdx = cHosts;
  3829. while(hostIdx--)
  3830. {
  3831. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3832. }
  3833. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3834. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3835. if (filterId != null) //insert id restriction in the xpath
  3836. {
  3837. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3838. }
  3839. else
  3840. {
  3841. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3842. }
  3843. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3844. if (filterId == null)
  3845. {
  3846. cLinksTotal += links.snapshotLength;
  3847. }
  3848. //
  3849. //STEP 3 bind links with hostings
  3850. var linkIdx = links.snapshotLength;
  3851. var href = null;
  3852. if (linkIdx == 0) // no links found
  3853. return;
  3854. var name;
  3855. while (linkIdx--)
  3856. {
  3857. href = links.snapshotItem(linkIdx).href;
  3858. try // DO NOT REMOVE, filters crap that went through xpath detection
  3859. {
  3860. name = gimmeHostName(href);
  3861. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3862. bulkHostNames[name].links.push(href);
  3863. }
  3864. catch(e)
  3865. {
  3866.  
  3867. }
  3868. }
  3869. //
  3870. //STEP 4 process the links for each filehosting
  3871. var hostIdx = cHosts;
  3872. var host;
  3873. var m,n;
  3874. var arr;
  3875. while (hostIdx--)
  3876. {
  3877. host = bulkHosts[hostIdx];
  3878. arr = host.links;
  3879. if (arr.length == 0) //no links for this hosting, skip
  3880. {
  3881. continue;
  3882. }
  3883. //links match corrections
  3884. if (host.corrMatch != null)
  3885. {
  3886. var idx = arr.length;
  3887. while (idx--)
  3888. {
  3889. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3890. }
  3891. }
  3892. //links replace corrections
  3893. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3894. {
  3895. var idx = arr.length;
  3896. while (idx--)
  3897. {
  3898. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3899. }
  3900. }
  3901. m = arr.length;
  3902. n = host.blockSize;
  3903. if (m > n)
  3904. {
  3905. //insert block separators (RAND_STRING) into the array
  3906. for(var i = n; i < m; i += n + 1)
  3907. {
  3908. arr.splice(i, 0, RAND_STRING);
  3909. }
  3910. }
  3911.  
  3912. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3913. apiUrl: host.apiUrl,
  3914. postData: host.postData,
  3915. resLinkRegex: host.resLinkRegex,
  3916. resLiveRegex: host.resLiveRegex,
  3917. resDeadRegex: host.resDeadRegex,
  3918. resUnavaRegex: host.resUnavaRegex
  3919. });
  3920. //clean up
  3921. arr.length = 0;
  3922. }
  3923. //
  3924.  
  3925. function gimmeHostName(link)
  3926. {
  3927. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3928. }
  3929. }
  3930. function checkLinks(filterId)
  3931. {
  3932. startBulkCheck(filterId);
  3933. start(filterId);
  3934. }
  3935.  
  3936. /**
  3937. * Initialises progress box including event binding and CSS
  3938. */
  3939. function initProgressBox()
  3940. {
  3941. if ($("#warlc-progressbox").length > 0)
  3942. return;
  3943. //progressbox css change size and color of progress box
  3944. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3945. "; opacity:" + (Progress_box_opacity / 100) +
  3946. "; bottom:" + Progress_box_pos_bottom +
  3947. "px; right:" + Progress_box_pos_right +
  3948. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3949. \
  3950. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3951. \
  3952. .warlc-progressitem {}\
  3953. \
  3954. .alive {color:#00FF7F; " + Live_links_color +
  3955. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3956. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3957. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3958. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3959. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3960. );
  3961. //
  3962. $('body').append(' <div id="warlc-progressbox">\
  3963. <div class="warlc-progressbar"></div>\
  3964. <span class="warlc-progressitem alive"></span> - \
  3965. <span class="warlc-progressitem dead"></span> - \
  3966. <span class="warlc-progressitem unava"></span> - \
  3967. <span class="warlc-progressitem prem"></span> - \
  3968. <span class="warlc-progressitem processing"></span>\
  3969. </div>');
  3970. $('#warlc-progressbox').hide().click(function(){
  3971. clearInterval(intervalId);
  3972. $(this).hide();
  3973. return false;
  3974. });
  3975. $(".warlc-progressbar").progressbar({complete: function(){
  3976. $(this).fadeOut();
  3977. clearInterval(intervalId); //stop refreshing the stats
  3978. }
  3979. })
  3980. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  3981. }
  3982. /**
  3983. * Updates progress data in progress box
  3984. */
  3985. function updateProgress()
  3986. {
  3987. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  3988. if (cLinksTotal) // some links were detected on page
  3989. {
  3990. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  3991. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  3992. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  3993. if ((cLinksTotal - cLinksProcessed) == 0)
  3994. {
  3995. $progressItems.first().text(cLinksAlive)
  3996. .next().text(cLinksDead)
  3997. .next().text(cLinksUnava)
  3998. .next().text(cLinksprem)
  3999. .next().remove();
  4000. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4001. $('#warlc-progressbox div:first-child').remove();
  4002. }
  4003. else
  4004. {
  4005. $progressItems.first().text(cLinksAlive)
  4006. .next().text(cLinksDead)
  4007. .next().text(cLinksUnava)
  4008. .next().text(cLinksprem)
  4009. .next().text(cLinksTotal - cLinksProcessed);
  4010. }
  4011. }
  4012. }
  4013.  
  4014. function check_all_links()
  4015. {
  4016. add_WARLC_style();
  4017.  
  4018. if (Show_progress_stats)
  4019. {
  4020. initProgressBox();
  4021. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4022. }
  4023.  
  4024. startBulkCheck(null);
  4025. start(null);
  4026.  
  4027. if (!containers_processed)
  4028. {
  4029. processContainers();
  4030. }
  4031. }
  4032.  
  4033. //Copies all found dead links to clipboard - right now for Scriptish only
  4034. function copy_dead_to_clipboard()
  4035. {
  4036. initClipBoardTools();
  4037.  
  4038. var deadlinksxpath = "//.[@class='adead_link']";
  4039.  
  4040. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4041. var foundlinkstext = '';
  4042.  
  4043. var foundlinkIdx = foundlinks.snapshotLength;
  4044.  
  4045. while(foundlinkIdx--)
  4046. {
  4047. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  4048. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  4049. }
  4050.  
  4051. unsafeWindow.copyToClipboard(foundlinkstext);
  4052. }
  4053.  
  4054. function toggle_autocheck()
  4055. {
  4056. var currentState = GM_getValue("Autocheck", false);
  4057. GM_setValue("Autocheck", !currentState);
  4058.  
  4059. if (currentState == true)
  4060. {
  4061. sendMessage('Autocheck disabled', 'red');
  4062. }
  4063. else
  4064. {
  4065. sendMessage('Autocheck enabled', 'SpringGreen');
  4066. }
  4067. }
  4068. function toggle_Enable_Anonymizer()
  4069. {
  4070. var currentState = GM_getValue("Enable_Anonymizer", false);
  4071. GM_setValue("Enable_Anonymizer", !currentState);
  4072.  
  4073. if (currentState == true)
  4074. {
  4075. GM_setValue("Ref_anonymize_service", "");
  4076. sendMessage('Anonymizer Disabled', 'red');
  4077. }
  4078. else
  4079. {
  4080. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4081. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4082. }
  4083. }
  4084.  
  4085. function KeyDownHandler(event)
  4086. {
  4087. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4088. if (event.ctrlKey && event.altKey)
  4089. {
  4090. switch(kcode)
  4091. {
  4092. case 65 : check_all_links(); break;
  4093. case 67 : configuration(); break;
  4094. case 68 : copy_dead_to_clipboard(); break;
  4095. case 87 : toggle_autocheck(); break;
  4096. case 90 : toggle_Enable_Anonymizer(); break;
  4097. }
  4098. }
  4099. }
  4100.  
  4101. //
  4102. //
  4103. // SCRIPT EXECUTION START POINT
  4104. //
  4105. //
  4106. // Safari specific GM_getResourceText override
  4107. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4108. {
  4109. GM_getResourceText = function(res) {
  4110. var $cssText = GM_getValue("jquery_css", "");
  4111. if ($cssText == "")
  4112. {
  4113. GM_xmlhttpRequest(
  4114. {
  4115. method: 'GET',
  4116. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4117. onload: function (result)
  4118. {
  4119. GM_setValue("jquery_css", result.responseText);
  4120. window.location.reload();
  4121. }
  4122. });
  4123. }
  4124. else
  4125. {
  4126. return $cssText;
  4127. }
  4128. }
  4129. }
  4130. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4131. GM_addStyle(jQueryUICSS);
  4132. //init the stuff
  4133. setVariables();
  4134. initBulkCheck();
  4135. //init info boxes
  4136. messageBox.style.position = 'fixed';
  4137. messageBox.style.top = '20px';
  4138. messageBox.style.left = '10px';
  4139. messageBox.style.opacity = '0.85';
  4140. messageBox.style.background = 'DimGray';
  4141. messageBox.style.fontSize = '36px';
  4142. document.body.appendChild(messageBox);
  4143.  
  4144. //register GM menu commands & keyboard shortcut event handler
  4145. if (Keyboard_functions)
  4146. {
  4147. $(document).keydown(KeyDownHandler);
  4148. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4149. 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);
  4150. }
  4151. else
  4152. {
  4153. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4154. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4155. }
  4156.  
  4157. //start linkchecking
  4158. if (Autocheck)
  4159. {
  4160. $(document).ready(check_all_links);
  4161. }
  4162.  
  4163. //
  4164. //
  4165. // SCRIPT EXECUTION END POINT
  4166. //
  4167. //
  4168.  
  4169. //shows configuration box
  4170. function configuration()
  4171. {
  4172.  
  4173. //prevent multiple creating of config window
  4174. if ($("#hideshow").length)
  4175. {
  4176. $("#hideshow").show();
  4177. return;
  4178. }
  4179.  
  4180. var configcss = '\
  4181. .popup_block .popup fieldset{\
  4182. padding: 1%;\
  4183. border-style: solid;\
  4184. border-width: 1px;\
  4185. border-color: gray;\
  4186. margin-bottom: 1px;\
  4187. }\
  4188. #h3hideshowtitle{\
  4189. font-size: 2em;\
  4190. }\
  4191. #h3hideshow{\
  4192. font-size: 1.5em;\
  4193. }\
  4194. #imghideshow {\
  4195. border: none;\
  4196. }\
  4197. #plusimage{\
  4198. display:inline;\
  4199. }\
  4200. #hideshow {\
  4201. position: fixed;\
  4202. width: 100%;\
  4203. height: 100%;\
  4204. top: 0;\
  4205. left: 0;\
  4206. font-size:12px;\
  4207. z-index:2147483645;\
  4208. text-align:left;\
  4209. }\
  4210. #fade {\
  4211. background: #000;\
  4212. position: fixed;\
  4213. width: 100%;\
  4214. height: 100%;\
  4215. opacity: .80;\
  4216. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4217. left: 0;\
  4218. z-index: 10;\
  4219. }\
  4220. .popup_block {\
  4221. font-family:verdana;\
  4222. color:black;\
  4223. background: #ddd;\
  4224. padding: 10px 20px;\
  4225. border: 2px solid DarkOrange;\
  4226. float: left;\
  4227. width: 700px;\
  4228. position: absolute;\
  4229. top: 7%;\
  4230. left: 50%;\
  4231. bottom: 7%;\
  4232. margin: 0 0 0 -350px;\
  4233. -moz-border-radius:10px;\
  4234. z-index: 100;\
  4235. \
  4236. }\
  4237. .popup_block .popup {\
  4238. float: left;\
  4239. width: 100%;\
  4240. background: #fff;\
  4241. margin: 10px 0;\
  4242. padding: 0px 0 0px;\
  4243. border-left: 1px solid #bbb;\
  4244. border-top: 1px solid #bbb;\
  4245. border-right: 1px solid #bbb;\
  4246. }\
  4247. #h3hideshow{\
  4248. margin: 1px 0 0px;\
  4249. padding: 1px 10px;\
  4250. border-bottom: 1px solid #bbb;\
  4251. font-size: 1.5em;\
  4252. font-weight: normal;\
  4253. cursor:pointer;\
  4254. background:#DDDDDD none repeat scroll 0 0;\
  4255. }\
  4256. #h3hideshow:hover{\
  4257. background:#C0BEBE none repeat scroll 0 0;\
  4258. }\
  4259. #h3hideshowtitle{\
  4260. margin: 2px 0 0px;\
  4261. padding: 7px 10px;\
  4262. border-bottom: 1px solid #bbb;\
  4263. font-size: 1.5em;\
  4264. font-weight: normal;\
  4265. }\
  4266. .popup_block .popup a {\
  4267. color:DarkSkyBlue;\
  4268. text-decoration:none;\
  4269. }\
  4270. .popup p {\
  4271. padding: 1px 10px;\
  4272. margin: 0px 0;\
  4273. -x-system-font:none;\
  4274. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4275. font-size:10pt;\
  4276. font-size-adjust:none;\
  4277. font-stretch:normal;\
  4278. font-style:normal;\
  4279. font-variant:normal;\
  4280. font-weight:normal;\
  4281. line-height:normal;\
  4282. }\
  4283. #sites {\
  4284. padding: 1px 10px;\
  4285. margin: 0px 0;display:inline-block;width:16em;\
  4286. }\
  4287. #dev_ver {\
  4288. color: #00FF00;\
  4289. background: Black;\
  4290. text-align: right;\
  4291. }\
  4292. #sites_suspended {\
  4293. padding: 1px 10px;\
  4294. margin: 0px 0;display:inline-block;width:16em;\
  4295. text-decoration: line-through;\
  4296. }\
  4297. .popup img.cntrl {\
  4298. position: absolute;\
  4299. right: -15px;\
  4300. top: -15px;\
  4301. }\
  4302. #bulk {\
  4303. font-size:8pt;\
  4304. color:orange;\
  4305. padding: 1px 10px;\
  4306. margin: 0px 0;\
  4307. display:inline-block;\
  4308. width:100px;\
  4309. }\
  4310. #note {\
  4311. font-size:7pt;\
  4312. color:gray;\
  4313. padding: 1px 10px;\
  4314. margin: 0px 0;display:inline-block;\
  4315. min-width:100px;\
  4316. }\
  4317. #rednote {\
  4318. font-size:7pt;\
  4319. color:red;\
  4320. padding: 1px 10px;\
  4321. margin: 0px 0;display:inline-block;\
  4322. }\
  4323. #configinfo {\
  4324. font-size:8pt;\
  4325. color:gray;\
  4326. padding: 1px 10px;\
  4327. margin: 0px 0;display:inline-block;width:60em;\
  4328. }\
  4329. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4330. color:black;\
  4331. border-style: solid;\
  4332. border-width: 1px;\
  4333. border-color: gray;\
  4334. }\
  4335. #h3hideshowcontent {\
  4336. min-height:220px;\
  4337. max-height:220px;\
  4338. overflow:auto;\
  4339. display: none;\
  4340. padding: 10px 10px;\
  4341. }\
  4342. #specinfo{\
  4343. font-size:14px;\
  4344. }\
  4345. .warlc-ui-tab {\
  4346. height:300px;\
  4347. overflow:auto;\
  4348. }\
  4349. #warlcsitelist2, #warlcsitelist1 {\
  4350. height:220px;\
  4351. border-top: 1px solid #ddd;\
  4352. padding-top: 5px;\
  4353. overflow:auto;\
  4354. }\
  4355. input:hover+label {\
  4356. background:#F1F77C;\
  4357. font-size:110%;\
  4358. }\
  4359. ';
  4360.  
  4361. GM_addStyle(configcss);
  4362.  
  4363. var customRulesRefHTML =
  4364. '\
  4365. <br>\
  4366. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4367. <b>@keyword</b> <i>parameter</i>\
  4368. <br><br>\
  4369. 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. \
  4370. <br><br>\
  4371. 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.\
  4372. 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.\
  4373. 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.\
  4374. 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,\
  4375. but all commands until the next valid @customrule are ignored.<br><br>\
  4376. Available forms and types:\
  4377. <ul>\
  4378. <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.\
  4379. <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.\
  4380. <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.\
  4381. <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.\
  4382. </ul>\
  4383. Other available commands:<br>\
  4384. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4385. <ul>\
  4386. <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.\
  4387. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4388. <ul>examples:<br>\
  4389. <li>good: <i>filehost.com/download/</i><br>\
  4390. <li>good: <i>download.filehost.net/?d=</i><br>\
  4391. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4392. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4393. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4394. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4395. <li>bad: <i>filehost.com</i> - no slash<br>\
  4396. </ul>\
  4397. \
  4398. <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.\
  4399. 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 \
  4400. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4401. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4402. 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.)\
  4403. Two spaces again match any whitespace.\
  4404. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4405. Two spaces again match any whitespace.\
  4406. <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. \
  4407. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4408. </ul>\
  4409. \
  4410. ';
  4411.  
  4412. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4413. var configurationinnerHTML =
  4414. '<div id="fade"></div>\
  4415. <div class="popup_block">\
  4416. <div class="popup">\
  4417. <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/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2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KrSrI89K+dxcXFzbiJUR/K3cmTJ2nWwYNUcfQoeS+cJcdwQGZeIjuHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4418. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkk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img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4419. <div id="warlc-conf-tabs">\
  4420. <ul>\
  4421. <li><a href="#tabs-1">Filehostings</a></li>\
  4422. <li><a href="#tabs-2">Containers</a></li>\
  4423. <li><a href="#tabs-5">Custom rules</a></li>\
  4424. <li><a href="#tabs-3">Settings</a></li>\
  4425. <li><a href="#tabs-4">About</a></li>\
  4426. </ul>\
  4427. <div id="tabs-1" class="warlc-ui-tab">\
  4428. <div class="warlc-ui-buttonset">\
  4429. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4430. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4431. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4432. </div><br>\
  4433. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4434. <div id="warlcsitelist1"><span>Empty</span></div>\
  4435. </div>\
  4436. <div id="tabs-2" class="warlc-ui-tab">\
  4437. <div class="warlc-ui-buttonset">\
  4438. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4439. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4440. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4441. </div><br>\
  4442. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4443. <div id="warlcsitelist2"><span>Empty</span></div>\
  4444. </div>\
  4445. <div id="tabs-5" class="warlc-ui-tab">\
  4446. <div class="warlcsettings">\
  4447. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4448. <br>\
  4449. <div>Edit custom rules: \
  4450. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4451. <div id="customRulesReference" style="display:none;">'
  4452. + customRulesRefHTML + '\
  4453. </div>\
  4454. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4455. </div>\
  4456. </div>\
  4457. </div>\
  4458. <div id="tabs-3" class="warlc-ui-tab">\
  4459. <div class="warlcsettings">\
  4460. <fieldset>\
  4461. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4462. <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>\
  4463. </fieldset>\
  4464. <fieldset>\
  4465. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4466. <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>\
  4467. <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>\
  4468. <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>\
  4469. <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>\
  4470. <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>\
  4471. <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>\
  4472. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4473. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4474. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4475. <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>\
  4476. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4477. <fieldset>\
  4478. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4479. <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>\
  4480. <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>\
  4481. <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>\
  4482. </fieldset>\
  4483. </fieldset>\
  4484. <fieldset>\
  4485. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4486. </fieldset>\
  4487. <fieldset>\
  4488. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4489. </fieldset>\
  4490. <fieldset>\
  4491. <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>\
  4492. </fieldset>\
  4493. <fieldset>\
  4494. <p><input type="checkbox" id="Enable_Anonymizer"> Enable Anonymizer</div><div id="bulk">EXPERIMENTAL Note: Checkbox does not work use CTRL+ALT+Z.</p>\
  4495. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div>\
  4496. </fieldset>\
  4497. </div>\
  4498. </div>\
  4499. <div id="tabs-4" class="warlc-ui-tab">\
  4500. <p><b>Author:</b> <a href="http://www.warlc.5gbfree.com/viewtopic.php?f=12&t=12">mental</a></p>\
  4501. <br />\
  4502. <p><b>Currently supported:</b><br>\
  4503. Filehostings: ' + allHostNames.length + '<br />\
  4504. Containers: ' + allContainerNames.length + '<br />\
  4505. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4506. <br />\
  4507. <p><b>Based on:</b><br>\
  4508. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4509. <br />\
  4510. <p><b>Uses:</b></p>\
  4511. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4512. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4513. <br />\
  4514. <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>\
  4515. </div>\
  4516. </div>\
  4517. </div>\
  4518. </div>';
  4519. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4520. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4521. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4522. var elmHostList = document.getElementById("warlcsitelist1");
  4523. var elmContainerList = document.getElementById("warlcsitelist2");
  4524. buildSettings();
  4525. buildSitelist("", allHostNames, elmHostList);
  4526. buildSitelist("", allContainerNames, elmContainerList);
  4527. if (DEBUG_MODE)
  4528. {
  4529. //log all sites availability status
  4530. diagSites();
  4531. }
  4532. //handler for checkbox state change
  4533. function changeConfiguration(e)
  4534. {
  4535. var element = e.target;
  4536.  
  4537. if (element.type == 'checkbox')
  4538. {
  4539. if (element.checked == 1)
  4540. {
  4541. GM_setValue(element.id, true);
  4542. }
  4543. else
  4544. {
  4545. GM_setValue(element.id, false);
  4546. }
  4547.  
  4548. }
  4549. setVariables();
  4550. }
  4551.  
  4552. //Selects all filehosting checkboxes
  4553. function selectAll()
  4554. {
  4555. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4556. .each(function(index, element){GM_setValue(this.id, true)});
  4557. }
  4558.  
  4559. //Deselects all filehosting checkboxes
  4560. function selectNone()
  4561. {
  4562. $(":checkbox:visible:checked").prop("checked",false)
  4563. .each(function(index, element){GM_setValue(this.id, false)});
  4564. }
  4565.  
  4566. //Inverts filehosting checkboxes selection
  4567. function selectInvert()
  4568. {
  4569. var $checked = $(":checkbox:visible:checked");
  4570. var $unchecked = $(":checkbox:visible:not(:checked)");
  4571. $unchecked.prop("checked",true)
  4572. .each(function(index, element){GM_setValue(this.id, true)});
  4573. $checked.prop("checked",false)
  4574. .each(function(index, element){GM_setValue(this.id, false)});
  4575. }
  4576. //toggles anonymizer on off
  4577. function Enable_Anonymizer()
  4578. {
  4579. var $checked = $(":checkbox:visible:checked");
  4580. var $unchecked = $(":checkbox:visible:not(:checked)");
  4581. $unchecked.prop("checked",true)
  4582. .each(function(index, element){GM_setValue(this.id, true)});
  4583. $checked.prop("checked",false)
  4584. .each(function(index, element){GM_setValue(this.id, false)});
  4585. }
  4586.  
  4587. function changeRefAnonymizer(){
  4588. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4589. }
  4590.  
  4591. //Sets live links color
  4592. function changeColorLive()
  4593. {
  4594. var inColorLive = document.getElementById("inputColorLive");
  4595. inColorLive.style.background = inColorLive.value;
  4596. GM_setValue("Live_links_color", inColorLive.value);
  4597. }
  4598.  
  4599. //Sets dead links color
  4600. function changeColorDead()
  4601. {
  4602. var inColorDead = document.getElementById("inputColorDead");
  4603. inColorDead.style.background = inColorDead.value;
  4604. GM_setValue("Dead_links_color", inColorDead.value);
  4605. }
  4606.  
  4607. //Sets temp. unavailable links color
  4608. function changeColorTemp()
  4609. {
  4610. var inColorTemp = document.getElementById("inputColorTemp");
  4611. inColorTemp.style.background = inColorTemp.value;
  4612. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4613. }
  4614.  
  4615. //Sets temp. unavailable links color
  4616. function changeColorCont()
  4617. {
  4618. var inColorCont = document.getElementById("inputColorCont");
  4619. inColorCont.style.background = inColorCont.value;
  4620. GM_setValue("Container_links_color", inColorCont.value);
  4621. }
  4622. //Sets premium. links color
  4623. function changeColorprem()
  4624. {
  4625. var inColorprem = document.getElementById("inputColorprem");
  4626. inColorprem.style.background = inColorprem.value;
  4627. GM_setValue("Premium_links_color", inColorprem.value);
  4628. }
  4629.  
  4630. //Diagnose sites for availability
  4631. function diagSites()
  4632. {
  4633. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4634.  
  4635. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4636. {
  4637. if (boxes[i].type == "checkbox")
  4638. {
  4639. checkAvailability(boxes[i]);
  4640. }
  4641. }
  4642.  
  4643. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4644.  
  4645. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4646. {
  4647. if (boxes[i].type == "checkbox")
  4648. {
  4649. checkAvailability(boxes[i]);
  4650. }
  4651. }
  4652.  
  4653. function checkAvailability(cbElm)
  4654. {
  4655. var cb = cbElm;
  4656. GM_xmlhttpRequest(
  4657. {
  4658. method: 'HEAD',
  4659. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4660. headers: {
  4661. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4662. 'Accept': 'text/xml',
  4663. 'Referer': ""
  4664. },
  4665. onload: function (result)
  4666. {
  4667. if (result.status != 200)
  4668. {
  4669. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4670. }
  4671. },
  4672. onerror: function (result)
  4673. {
  4674. if (result.status != 200)
  4675. {
  4676. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4677. }
  4678. }
  4679. });
  4680. }
  4681. }
  4682. function buildSettings()
  4683. {
  4684. $(".warlcsettings :checkbox").each(function(){
  4685. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4686. .click(function(e){
  4687. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4688. setVariables();
  4689. });
  4690. })
  4691. }
  4692. //Dynamic build of host list
  4693. //param search [string] searches for hostnames matching search substring
  4694. //param siteNames [array] array of site names
  4695. //param targetNode [DOM Node] where the list should be built
  4696. // first child node is replaced
  4697. function buildSitelist(search, siteNames, targetNode)
  4698. {
  4699. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4700. var $targetNode = $(targetNode).empty();
  4701. var searchedSite = "";
  4702. $.each(siteNames, function(i, site){
  4703. if (searchedSite = site.match(searchRegex))
  4704. {
  4705. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4706. //ensuring backward compatibility with the rest of code, to be refactored later
  4707. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4708. //
  4709. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4710. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4711. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4712. );
  4713. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4714. .change(changeConfiguration);
  4715. $targetNode.append('<br />');
  4716. }
  4717. });
  4718. $targetNode.append("<hr>");
  4719. //obsolete hosts checkbox
  4720. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4721. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4722. .change(changeConfiguration);
  4723. $targetNode.append('<br />');
  4724. var foundName = "";
  4725. $.each(allObsoleteNames, function(i, site){
  4726. if (foundName = allObsoleteNames[i].match(searchRegex))
  4727. {
  4728. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4729. }
  4730. })
  4731. }
  4732. var hostSearchBox = document.getElementById("hostSearchBox");
  4733. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4734. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4735. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4736. $(".warlc-ui-select-all").click(selectAll).button();
  4737. $(".warlc-ui-select-none").click(selectNone).button();
  4738. $(".warlc-ui-select-invert").click(selectInvert).button();
  4739. $(".warlc-ui-buttonset").buttonset();
  4740. var inColorLive = document.getElementById("inputColorLive");
  4741. inColorLive.addEventListener('keyup', changeColorLive, false);
  4742.  
  4743. var inColorDead = document.getElementById("inputColorDead");
  4744. inColorDead.addEventListener('keyup', changeColorDead, false);
  4745.  
  4746. var inColorTemp = document.getElementById("inputColorTemp");
  4747. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4748.  
  4749. var inColorCont = document.getElementById("inputColorCont");
  4750. inColorCont.addEventListener('keyup', changeColorCont, false);
  4751. var inColorprem = document.getElementById("inputColorprem");
  4752. inColorprem.addEventListener('keyup', changeColorprem, false);
  4753. $("#refAnonymizer").change(changeRefAnonymizer);
  4754. //buttons and edit boxes init end
  4755.  
  4756. //icon sets radio buttons
  4757. var radioButtons = document.getElementsByName("warlciconset");
  4758. radioButtons[Icon_set].checked = "checked";
  4759.  
  4760. radioButtons[0].addEventListener("change", updateIconSet);
  4761. radioButtons[1].addEventListener("change", updateIconSet);
  4762. radioButtons[2].addEventListener("change", updateIconSet);
  4763. radioButtons[3].addEventListener("change", updateIconSet);
  4764. function updateIconSet()
  4765. {
  4766. GM_setValue("Icon_set", this.value * 1);
  4767. }
  4768. //
  4769. $('#showCustomRulesReference').click(function(e){
  4770. e.preventDefault();
  4771. $('#customRulesReference').toggle();
  4772. });
  4773. $('#Custom_rules_text')
  4774. .val(Custom_rules_text)
  4775. .change(saveCustomRules);
  4776. function saveCustomRules(e)
  4777. {
  4778. var cr = parseCustomRules(this.value);
  4779. if (cr.info.length)
  4780. 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, ' '));
  4781. GM_setValue('Custom_rules_text', this.value);
  4782. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4783. }
  4784. }
  4785.  
  4786. //begin standard link checking algorithm
  4787. function start(filterId)
  4788. {
  4789. var doNotLinkify = Do_not_linkify_DL_links;
  4790.  
  4791. // USER SELECTED FILE HOSTS INITIALIZATION START
  4792. var http_file_hosts = new Array(); //standard hostings
  4793. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4794. var http_file_hosts_obsolete = new Array(); //dead hostings
  4795. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4796.  
  4797. initFileHosts();
  4798. initFileHostsHeadersOnly();
  4799. initFileHostsCustom(); //CustomRules
  4800. // USER SELECTED FILE HOSTS INITIALIZATION END
  4801.  
  4802. // LINKIFICATION START
  4803. var totalxpath = '';
  4804. var totalxpathcoded = '';
  4805. var totalxpathobsolete = '';
  4806. var totalxpathheadersonly = '';
  4807. var totalourls = '';
  4808.  
  4809. var filehostLen = http_file_hosts.length;
  4810. var filehostCodedLen = http_file_hosts_coded.length;
  4811. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4812. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4813.  
  4814. var filehostIdx = filehostLen;
  4815. var filehostCodedIdx = filehostCodedLen;
  4816. var filehostObsoleteIdx = filehostObsoleteLen;
  4817. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4818.  
  4819. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4820. return;
  4821.  
  4822. while (filehostIdx--)
  4823. {
  4824. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4825. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4826. }
  4827.  
  4828. while (filehostCodedIdx--)
  4829. {
  4830. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4831. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4832. }
  4833.  
  4834. while (filehostObsoleteIdx--)
  4835. {
  4836. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4837. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4838. }
  4839.  
  4840. while (filehostHeadersOnlyIdx--)
  4841. {
  4842. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4843. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4844. }
  4845.  
  4846. totalourls = totalourls.replace(/\|$/g, "");
  4847. //TODO: further refactoring needed
  4848. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4849. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4850. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4851. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4852. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4853. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4854. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4855. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4856. if (filterId != null) //insert id restriction in the xpath
  4857. {
  4858. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4859. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4860. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4861. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4862. }
  4863. else
  4864. {
  4865. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4866. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4867. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4868. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4869. }
  4870. linkify(totalourls);
  4871. //LINKIFICATION END
  4872. //ENCRYPTED LINKS PROCESSING START
  4873. if (http_file_hosts_coded.length > 0)
  4874. {
  4875. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4876.  
  4877. // decrypt coded links (redirects, link protectors etc.)
  4878. if (linksCoded.snapshotLength > 0)
  4879. {
  4880. var link;
  4881. var reallinkreg;
  4882. var reallinkcorrection;
  4883.  
  4884. if (filterId == null)
  4885. {
  4886. cLinksTotal += linksCoded.snapshotLength;
  4887. }
  4888.  
  4889. var y = linksCoded.snapshotLength - 1;
  4890. do
  4891. {
  4892. // linksCoded.snapshotItem(y).id = 'processing_link';
  4893. link = linksCoded.snapshotItem(y);
  4894. filehostIdx = filehostCodedLen;
  4895. while (filehostIdx--)
  4896. {
  4897. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4898. {
  4899. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4900. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4901. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4902.  
  4903. decurl(link, reallinkreg, reallinkcorrection);
  4904. break;
  4905. }
  4906. }
  4907. }
  4908. while (y--);
  4909. }
  4910. }
  4911. //ENCRYPTED LINKS PROCESSING END
  4912.  
  4913. //STANDARD LINKCHECKING START
  4914. if (http_file_hosts.length > 0)
  4915. {
  4916. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4917.  
  4918. if (filterId == null)
  4919. {
  4920. cLinksTotal += lianks.snapshotLength;
  4921. }
  4922.  
  4923. if (lianks.snapshotLength > 0)
  4924. {
  4925. var link;
  4926.  
  4927. var URL = "";
  4928. var name = "";
  4929. var isAliveRegex = "";
  4930. var isDeadRegex = "";
  4931. var isUnavaRegex = "";
  4932. var ispremRegex = "";
  4933. var tryLoop = false;
  4934.  
  4935. var y = lianks.snapshotLength;
  4936.  
  4937. while (y--)
  4938. {
  4939. link = lianks.snapshotItem(y);
  4940.  
  4941. filehostIdx = filehostLen;
  4942. while (filehostIdx--)
  4943. {
  4944. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4945. {
  4946. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4947. isAliveRegex = http_file_hosts[filehostIdx][1];
  4948. isDeadRegex = http_file_hosts[filehostIdx][2];
  4949. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4950. ispremRegex = http_file_hosts[filehostIdx][6];
  4951. tryLoop = http_file_hosts[filehostIdx][5];
  4952.  
  4953. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4954.  
  4955. break;
  4956. }
  4957. }
  4958. }
  4959. }
  4960. }
  4961. //STANDARD LINKCHECKING END
  4962. //OBSOLETE FILE HOSTS PROCESSING START
  4963. if (filehostObsoleteLen > 0)
  4964. {
  4965. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4966.  
  4967. var obsoleteLink;
  4968.  
  4969. //check links
  4970. if (obsoletelinks.snapshotLength > 0)
  4971. {
  4972. var y = obsoletelinks.snapshotLength;
  4973.  
  4974. if (filterId == null)
  4975. {
  4976. cLinksTotal += y;
  4977. }
  4978.  
  4979. while (y--)
  4980. {
  4981. obsoleteLink = obsoletelinks.snapshotItem(y);
  4982.  
  4983. if (Display_tooltip_info)
  4984. {
  4985. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  4986. }
  4987. displayTheCheckedLink(obsoleteLink, 'adead_link');
  4988. }
  4989. }
  4990. }
  4991. //OBSOLETE FILE HOSTS PROCESSING END
  4992.  
  4993. //DIRECT LINKCHECKING START
  4994. if (http_file_hosts_headers_only.length > 0)
  4995. {
  4996. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4997.  
  4998. //check links
  4999. if (links.snapshotLength > 0)
  5000. {
  5001. var link;
  5002. var isAliveRegex;
  5003. var isDeadRegex;
  5004. var ispremRegex;
  5005.  
  5006. var y = links.snapshotLength;
  5007.  
  5008.  
  5009. if (filterId == null)
  5010. {
  5011. cLinksTotal += y;
  5012. }
  5013.  
  5014. while (y--)
  5015. {
  5016. // links.snapshotItem(y).id = 'processing_link';
  5017. link = links.snapshotItem(y);
  5018. filehostIdx = filehostHeadersOnlyLen;
  5019. while (filehostIdx--)
  5020. {
  5021. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5022. {
  5023. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5024. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5025. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5026. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5027.  
  5028. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5029.  
  5030. break;
  5031. }
  5032. }
  5033. }
  5034.  
  5035. }
  5036. }
  5037. //DIRECT LINKCHECKING END
  5038.  
  5039.  
  5040. //finds the real url on the page, replaces link.href with it and calls geturl
  5041. function decurl(link, reallinkreg, reallinkcorrection)
  5042. {
  5043.  
  5044. GM_xmlhttpRequest(
  5045. {
  5046. method: 'GET',
  5047. url: link.href,
  5048. headers: {
  5049. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5050. 'Accept': 'text/xml',
  5051. 'Referer': ""
  5052. },
  5053. onload: function (result)
  5054. {
  5055. // cLinksProcessed++;
  5056.  
  5057. var reallink = result.responseText.match(reallinkreg)[0];
  5058. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5059.  
  5060. link.href = reallink;
  5061.  
  5062. var i = http_file_hosts.length - 1;
  5063. do
  5064. {
  5065. if ((reallink.match(http_file_hosts[i][0])))
  5066. {
  5067. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5068. var isAliveRegex = http_file_hosts[i][1];
  5069. var isDeadRegex = http_file_hosts[i][2];
  5070. var isUnavaRegex = http_file_hosts[i][3];
  5071. var ispremRegex = http_file_hosts[i][4];
  5072.  
  5073. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5074.  
  5075. break;
  5076. }
  5077. }
  5078. while (i--);
  5079. }
  5080. });
  5081. }
  5082.  
  5083. function randUA()
  5084. {
  5085. //TODO
  5086. }
  5087. //Processes link
  5088. //
  5089. // [string] link link URL
  5090. // [string] isAliveRegex alive link regex
  5091. // [string] isDeadRegex dead link regex
  5092. // [string] isUnavaRegex unavailable link regex
  5093. // [string] ispremRegex premium link regex
  5094. // [boolean] tryLoop repeats request until succeeded
  5095. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5096. {
  5097. GM_xmlhttpRequest(
  5098. {
  5099. method: 'GET',
  5100. url: link.href,
  5101. headers: {
  5102. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5103. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5104. 'Referer': ""
  5105. },
  5106. onload: function (result)
  5107. {
  5108. var res = result.responseText;
  5109. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5110. {
  5111. displayTheCheckedLink(link, 'alive_link');
  5112. return;
  5113. }
  5114.  
  5115. if (res.match(isAliveRegex))
  5116. {
  5117. displayTheCheckedLink(link, 'alive_link');
  5118. return;
  5119. }
  5120.  
  5121. if (res.match(isDeadRegex))
  5122. {
  5123. displayTheCheckedLink(link, 'adead_link');
  5124. return;
  5125. }
  5126.  
  5127. if (isUnavaRegex && res.match(isUnavaRegex))
  5128. {
  5129. displayTheCheckedLink(link, 'unava_link');
  5130. return;
  5131. }
  5132. if (res.match(ispremRegex))
  5133. {
  5134. displayTheCheckedLink(link, 'prem_link');
  5135. return;
  5136. }
  5137.  
  5138. var resStatus = result.status;
  5139.  
  5140. if (resStatus == 404)
  5141. {
  5142. displayTheCheckedLink(link, 'adead_link');
  5143. }
  5144. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5145. {
  5146. if (tryLoop)
  5147. {
  5148. //wait 1-5 seconds and repeat the request
  5149. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5150. }
  5151. else
  5152. {
  5153. displayTheCheckedLink(link, 'unava_link');
  5154. }
  5155.  
  5156. return;
  5157. }
  5158. },
  5159. onerror: function ()
  5160. {
  5161. displayTheCheckedLink(link, 'unava_link');
  5162. }
  5163. });
  5164. }
  5165.  
  5166. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5167. {
  5168. GM_xmlhttpRequest(
  5169. {
  5170. method: 'HEAD',
  5171. url: link.href,
  5172. headers: {
  5173. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5174. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5175. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5176. 'Referer': ""
  5177. },
  5178. onload: function (result)
  5179. {
  5180. var resStatus = result.status;
  5181. var resHeaders = "";
  5182. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5183. {
  5184. displayTheCheckedLink(link, 'adead_link');
  5185. return;
  5186. }
  5187.  
  5188. resHeaders = result.responseHeaders;
  5189.  
  5190. if (resHeaders.match(isDeadRegex))
  5191. {
  5192. displayTheCheckedLink(link, 'adead_link');
  5193. return;
  5194. }
  5195.  
  5196. if (resHeaders.match(isAliveRegex))
  5197. {
  5198. displayTheCheckedLink(link, 'alive_link');
  5199. return;
  5200. }
  5201. if (resHeaders.match(ispremRegex))
  5202. {
  5203. displayTheCheckedLink(link, 'prem_link');
  5204. return;
  5205. }
  5206. },
  5207. onerror: function ()
  5208. {
  5209. displayTheCheckedLink(link, 'unava_link');
  5210. }
  5211. });
  5212. }
  5213.  
  5214. //Delinkfifies the <a> element object
  5215. function delinkifyLink(link)
  5216. {
  5217. var spanElm = document.createElement("span");
  5218. spanElm.className = link.className;
  5219. spanElm.innerHTML = link.innerHTML;
  5220.  
  5221. if (Display_tooltip_info)
  5222. {
  5223. spanElm.href = link.href;
  5224. spanElm.warlc_error = link.warlc_error;
  5225. switch (link.className){
  5226. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5227. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5228. case "unava_link": //reserved
  5229. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5230. default:
  5231. }
  5232. }
  5233. link.parentNode.replaceChild(spanElm, link);
  5234. }
  5235.  
  5236. //Assigns result status to the <a> element object and calls delinkifying eventually
  5237. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5238. function displayTheCheckedLink(link, resultStatus)
  5239. {
  5240. link.className = resultStatus;
  5241. link.href = Ref_anonymize_service + link.href;
  5242. if (Display_tooltip_info)
  5243. {
  5244. switch (resultStatus){
  5245. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5246. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5247. case "unava_link": //reserved
  5248. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5249. default:
  5250. }
  5251. }
  5252. if (doNotLinkify)
  5253. {
  5254. delinkifyLink(link);
  5255. }
  5256. cLinksProcessed++;
  5257.  
  5258. if (resultStatus == "alive_link")
  5259. {
  5260. cLinksAlive++;
  5261. return;
  5262. }
  5263.  
  5264. if (resultStatus == "adead_link")
  5265. {
  5266. cLinksDead++;
  5267. return;
  5268. }
  5269.  
  5270. if (resultStatus == "unava_link")
  5271. {
  5272. cLinksUnava++;
  5273. }
  5274. if (resultStatus == "prem_link")
  5275. {
  5276. cLinksprem++;
  5277. return;
  5278. }
  5279. }
  5280.  
  5281.  
  5282. function initFileHosts()
  5283. {
  5284.  
  5285. function addObsoleteHost(linkRegex, xpathEx)
  5286. {
  5287. var host = new Array(2);
  5288. host[0] = linkRegex;
  5289. host[1] = xpathEx;
  5290. http_file_hosts_obsolete.push(host);
  5291. }
  5292.  
  5293. //obsolete file hosts init start
  5294. if (Obsolete_file_hosts)
  5295. {
  5296. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5297. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5298. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5299. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5300. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5301. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5302. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5303. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5304. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5305. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5306. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5307. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5308. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5309. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5310. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5311. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5312. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5313. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5314. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5315. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5316. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5317. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5318. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5319. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5320. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5321. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5322. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5323. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5324. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5325. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5326. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5327. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5328. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5329. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5330. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5331. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5332. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5333. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5334. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5335. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5336. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5337. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5338. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5339. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5340. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5341. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5342. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5343. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5344. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5345. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5346. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5347. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5348. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5349. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5350. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5351. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5352. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5353. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5354. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5355. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5356. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5357. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5358. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5359. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5360. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5361. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5362. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5363. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5364. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5365. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5366. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5367. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5368. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5369. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5370. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5371. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5372. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5373. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5374. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5375. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5376. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5377. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5378. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5379. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5380. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5381. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5382. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5383. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5384. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5385. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5386. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5387. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5388. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5389. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5390. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5391. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5392. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5393. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5394. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5395. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5396. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5397. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5398. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5399. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5400. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5401. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5402. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5403. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5404. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5405. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5406. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5407. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5408. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5409. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5410. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5411. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5412. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5413. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5414. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5415. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5416. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5417. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5418. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5419. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5420. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5421. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5422. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5423. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5424. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5425. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5426. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5427. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5428. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5429. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5430. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5431. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5432. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5433. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5434. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5435. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5436. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5437. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5438. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5439. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5440. 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')]");
  5441. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5442. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5443. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5444. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5445. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5446. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5447. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5448. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5449. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5450. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5451. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5452. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5453. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5454. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5455. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5456. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5457. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5458. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5459. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5460. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5461. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5462. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5463. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5464. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5465. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5466. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5467. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5468. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5469. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5470. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5471. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5472. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5473. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5474. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5475. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5476. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5477. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5478. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5479. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5480. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5481. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5482. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5483. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5484. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5485. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5486. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5487. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5488. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5489. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5490. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5491. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5492. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5493. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5494. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5495. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5496. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5497. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5498. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5499. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5500. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5501. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5502. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5503. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5504. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5505. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5506. // addObsoleteHost("wizzupload\\.com\/\\w+","//a[contains(@href,'wizzupload.com/')]");
  5507. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5508. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5509. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5510. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5511. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5512. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5513. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5514. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5515. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5516. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5517. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5518. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5519. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5520. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5521. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5522. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5523. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5524. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5525. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5526. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5527. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5528. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5529. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5530. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5531. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5532. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5533. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5534. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5535. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5536. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5537. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5538. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5539. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5540. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5541. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5542. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5543. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5544. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5545. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5546. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5547. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5548. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5549. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5550. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5551. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5552. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5553. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5554. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5555. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5556. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5557. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5558. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5559. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5560. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5561. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5562. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5563. //addObsoleteHost("sharerapid\\.cz\/\\w+","//a[contains(@href,'sharerapid.cz/')]");
  5564. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5565. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5566. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5567. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5568. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5569. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5570. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5571. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5572. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5573. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5574. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5575. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5576. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5577. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5578. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5579. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5580. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5581. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5582. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5583. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5584. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5585. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5586. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5587. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5588. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5589. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5590. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5591. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5592. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5593. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5594. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5595. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5596. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5597. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5598. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5599. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5600. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5601. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5602. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5603. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5604. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5605. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5606. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5607. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5608. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5609. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5610. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5611. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5612. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5613. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5614. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5615. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5616. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5617. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5618. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5619. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5620. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5621. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5622. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5623. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5624. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5625. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5626. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5627. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5628. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5629. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5630. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5631. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5632. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5633. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5634. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5635. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5636. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5637. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5638. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5639. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5640. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5641. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5642. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5643. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5644. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5645. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5646. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5647. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5648. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5649. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5650. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5651. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5652. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5653. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5654. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5655. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5656. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5657. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5658. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5659. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5660. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5661. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5662. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5663. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5664. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5665. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5666. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5667. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5668. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5669. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5670. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5671. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5672. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5673. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5674. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5675. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5676. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5677. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5678. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5679. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5680. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5681. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5682. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5683. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5684. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5685. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5686. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5687. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5688. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5689. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5690. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5691. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5692. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5693. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5694. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5695. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5696. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5697. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5698. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5699. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5700. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5701. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5702. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5703. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5704. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5705. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5706. // addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5707. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5708. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5709. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5710. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5711. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5712. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5713. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5714. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5715. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5716. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5717. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5718. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5719. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5720. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5721. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5722. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5723. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5724. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5725. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5726. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5727. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5728. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5729. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5730. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5731. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5732. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5733. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5734. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5735. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5736. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5737. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5738. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5739. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5740. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5741. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5742. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5743. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5744. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5745. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5746. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5747. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5748. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5749. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5750. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5751. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5752. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5753. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5754. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5755. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5756. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5757. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5758. addObsoleteHost("kingfiles\\.net\/\\w+","//a[contains(@href,'kingfiles.net/')]");
  5759. // obsolete start
  5760. }
  5761. //obsolete file hosts init end
  5762.  
  5763. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  5764. {
  5765. var host = new Array(7);
  5766. host[0] = linkRegex;
  5767. host[1] = isAliveRegex;
  5768. host[2] = isDeadRegex;
  5769. host[3] = isUnavaRegex;
  5770. host[6] = ispremRegex;
  5771. host[4] = xpathEx;
  5772. tryLoop ? host[5] = true : host[5] = false;
  5773. http_file_hosts.push(host);
  5774. }
  5775. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5776. {
  5777. addFileHost(
  5778. "megafileupload\.com\/..\/file\/",
  5779. 'downloadbtn',
  5780. 'is not found',
  5781. 'optional--',
  5782. "//a[contains(@href,'megafileupload.com')]");
  5783. }
  5784. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5785. {
  5786. addFileHost(
  5787. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5788. 'download\\.gif"',
  5789. 'p_point">',
  5790. 'optional--',
  5791. "//a[contains(@href,'demo.ovh.eu')]");
  5792. }
  5793. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5794. {
  5795. addFileHost(
  5796. "xkeepfile\.com\/\\w+",
  5797. 'File has been found|Click here to download',
  5798. 'File cannot be found|class="error">',
  5799. 'optional--',
  5800. //'optional--',
  5801. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5802. }
  5803. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5804. {
  5805. addFileHost(
  5806. "safelinking\\.net\/p\/\\w+",
  5807. 'color:green;"',
  5808. 'color:(?:red|orange);"',
  5809. 'color:(?:grey|brown);"',
  5810. "//a[contains(@href,'safelinking.net/p/')]",
  5811. true);
  5812. }
  5813. /* if (GM_getValue("Check_ultramegabit_dot_com_links", false))
  5814. {
  5815. addFileHost(
  5816. "ultramegabit\\.com\/file\/details\/[\\w+-]",
  5817. 'name="recaptcha_response',
  5818. '="/folder/add"|>File (?:not found|restricted|has been deleted)|<title>ULTRAMEGABIT</title>',
  5819. 'btn-large btn-danger">|Account limitation notice|502 Bad Gateway',
  5820. "//a[contains(@href,'ultramegabit.com/file')]",
  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. "//a[contains(@href,'fastshare.cz')]");
  5831. }
  5832. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5833. {
  5834. addFileHost(
  5835. "[fF]ast[sS]hare\\.org\/download",
  5836. 'Download ">',
  5837. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5838. 'optional--',
  5839. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5840. }
  5841. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5842. {
  5843. addFileHost(
  5844. "partage-facile\.com\/\\w+",
  5845. 'class="title"><strong>|colspan="2"',
  5846. 'Page introuvable|class="alert-message',
  5847. 'optional--',
  5848. "//a[contains(@href,'partage-facile.com')]");
  5849. }
  5850. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5851. {
  5852. addFileHost(
  5853. "rapidgator\\.net\/file\/\\w+",
  5854. '/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',
  5855. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  5856. 'optional--',
  5857. "//a[contains(@href,'rapidgator.net/file')]",
  5858. true
  5859. );
  5860. }
  5861. if (GM_getValue("Check_relink_dot_us_links", false))
  5862. {
  5863. addFileHost(
  5864. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5865. 'online_detail\\.png" alt="Status',
  5866. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5867. 'unknown_detail\\.png" alt="Status',
  5868. "//a[contains(@href,'relink.us/')]"
  5869. );
  5870. }
  5871. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5872. {
  5873. addFileHost(
  5874. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5875. 'div id="dl"',
  5876. 'Sie haben den Link falsch',
  5877. 'optional--',
  5878. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5879. );
  5880. }
  5881. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5882. {
  5883. addFileHost(
  5884. "flyfiles\\.net\/\\w+",
  5885. 'download_button"|"Download file"',
  5886. 'File not found!|Файл не найден',
  5887. 'optional--',
  5888. "//a[contains(@href,'flyfiles.net/')]"
  5889. );
  5890. }
  5891. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5892. {
  5893. addFileHost(
  5894. "wikiupload\\.com\/\\w+",
  5895. 'download-button">',
  5896. 'Sorry, File not found',
  5897. 'optional--',
  5898. "//a[contains(@href,'wikiupload.com/')]"
  5899. );
  5900. }
  5901. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5902. {
  5903. addFileHost(
  5904. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5905. 'file\\.php">|Pobierz Plik',
  5906. 'Podany plik nie zosta',
  5907. 'optional--',
  5908. "//a[contains(@href,'hostuje.net/file')]"
  5909. );
  5910. }
  5911. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5912. {
  5913. addFileHost(
  5914. "gettyfile\\.ru\/\\d+",
  5915. 'download\\.gif border',
  5916. '<center><font size="3">',
  5917. 'optional--',
  5918. "//a[contains(@href,'gettyfile.ru/')]"
  5919. );
  5920. }
  5921. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  5922. {
  5923. addFileHost(
  5924. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5925. 'download\\-file">',
  5926. 'col-1">\\s*<h1>',
  5927. 'optional--',
  5928. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  5929. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  5930. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  5931. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  5932. );
  5933. }
  5934. if (GM_getValue("Check_data_dot_hu_links", false))
  5935. {
  5936. addFileHost(
  5937. "data\\.hu\/get\/\\d+\/",
  5938. 'download_box_button',
  5939. 'missing\\.php',
  5940. 'optional--',
  5941. "//a[contains(@href,'data.hu/get')]",
  5942. true
  5943. );
  5944. }
  5945. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  5946. {
  5947. addFileHost(
  5948. "filesmelt\\.com\/dl\/\\w+",
  5949. '(Your download is ready|Download File)',
  5950. 'Sorry, but your',
  5951. 'optional--',
  5952. "//a[contains(@href,'filesmelt.com/dl')]"
  5953. );
  5954. }
  5955. if (GM_getValue("Check_indowebster_dot_com_links", false))
  5956. {
  5957. addFileHost(
  5958. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  5959. 'premiumBtn"',
  5960. 'errorMessage"',
  5961. 'optional--',
  5962. "//a[contains(@href,'indowebster.com/download')]"
  5963. );
  5964. }
  5965. if (GM_getValue("Check_superload_dot_cz_links", false))
  5966. {
  5967. addFileHost(
  5968. "superload\\.cz\/dl\/\\w+",
  5969. 'icon-download">',
  5970. 'soubor nebyl nalezen',
  5971. 'optional--',
  5972. "//a[contains(@href,'superload.cz/dl')]"
  5973. );
  5974. }
  5975. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  5976. {
  5977. addFileHost(
  5978. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  5979. 'op" value="download',
  5980. 'class="err">|width:500px;text-align:left;">',
  5981. 'optional--',
  5982. "//a[contains(@href,'hulkfile.')]"
  5983. );
  5984. }
  5985. if (GM_getValue("Check_easybytez_dot_com_links", false))
  5986. {
  5987. addFileHost(
  5988. "easybytez\\.com\/\\w+",
  5989. 'op" value="download',
  5990. 'stop_error\\.gif',
  5991. 'optional--',
  5992. "//a[contains(@href,'easybytez.com/')]"
  5993. );
  5994. }
  5995. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  5996. {
  5997. addFileHost(
  5998. "filestore\\.com\\.ua\/\\?d=\\w+",
  5999. 'tdrow1>',
  6000. 'class=warn',
  6001. 'optional--',
  6002. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6003. );
  6004. }
  6005. if (GM_getValue("Check_netkups_dot_com_links", false))
  6006. {
  6007. addFileHost(
  6008. "netkups\\.com\/\\?d=\\w+",
  6009. 'submit">Continue',
  6010. 'page">File not found|deleted due to inactivity',
  6011. 'optional--',
  6012. "//a[contains(@href,'netkups.com/?d=')]"
  6013. );
  6014. }
  6015. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6016. {
  6017. addFileHost(
  6018. "openfile\\.ru\/(?:video\/|)\\d+",
  6019. 'videobox_left">',
  6020. 'blog_title">|not found on this server',
  6021. 'optional--',
  6022. "//a[contains(@href,'openfile.ru/')]"
  6023. );
  6024. }
  6025. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6026. {
  6027. addFileHost(
  6028. "extmatrix\\.com\/files\/\\w+",
  6029. 'div class="success"',
  6030. 'div class="error"',
  6031. 'optional--',
  6032. "//a[contains(@href,'extmatrix.com/files')]"
  6033. );
  6034. }
  6035. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6036. {
  6037. addFileHost(
  6038. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6039. 'content_lnkDownload',
  6040. 'error\\.aspx\\?',
  6041. 'optional--',
  6042. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6043. );
  6044. }
  6045. /* if (GM_getValue("Check_sockshare_dot_com_links", false))
  6046. {
  6047. addFileHost(
  6048. "sockshare\\.com\/file\/\\w+",
  6049. 'choose_speed">',
  6050. 'message t_0\'>',
  6051. 'optional--',
  6052. "//a[contains(@href,'sockshare.com/file')]"
  6053. );
  6054. } */
  6055. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6056. {
  6057. addFileHost(
  6058. "yourfilestore\\.com\/download\/\\d+\/",
  6059. 'download_data">',
  6060. 'may have been deleted|<h1>Sorry!<\/h1>',
  6061. 'optional--',
  6062. "//a[contains(@href,'yourfilestore.com/download')]"
  6063. );
  6064. }
  6065. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6066. {
  6067. addFileHost(
  6068. "nekaka\\.com\/d\/[\\w-]+",
  6069. 'downloadForm">',
  6070. 'invalid file link',
  6071. 'optional--',
  6072. "//a[contains(@href,'nekaka.com/d')]"
  6073. );
  6074. }
  6075. if (GM_getValue("Check_filebig_dot_net_links", false))
  6076. {
  6077. addFileHost(
  6078. "filebig\\.net\/files\/\\w+",
  6079. 'downloadFile">',
  6080. '<p>File not found<\/p>',
  6081. 'optional--',
  6082. "//a[contains(@href,'filebig.net/files')]"
  6083. );
  6084. }
  6085. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6086. {
  6087. addFileHost(
  6088. "files\\.filefront\\.com\/\/;\\d+;;",
  6089. 'downloadLink">',
  6090. 'File not found, you',
  6091. 'optional--',
  6092. "//a[contains(@href,'files.filefront.com')]"
  6093. );
  6094.  
  6095. addFileHost(
  6096. "gamefront\\.com\/files\/\\d+",
  6097. 'downloadLink">',
  6098. 'File not found, you',
  6099. 'optional--',
  6100. "//a[contains(@href,'gamefront.com/files')]"
  6101. );
  6102. }
  6103. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6104. {
  6105. addFileHost(
  6106. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6107. 'dnlLnk"',
  6108. 'already been deleted',
  6109. 'optional--',
  6110. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6111. );
  6112. }
  6113. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6114. {
  6115. addFileHost(
  6116. "hellupload\\.com\/\\w+",
  6117. '<h3>Download File<br',
  6118. 'id="podstrona">|AVOID_IE_BUG',
  6119. 'optional--',
  6120. "//a[contains(@href,'hellupload.com/')]"
  6121. );
  6122. }
  6123. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6124. {
  6125. addFileHost(
  6126. "free\\-uploading\\.com\/\\w+",
  6127. 'op" value="download',
  6128. 'class="err">|width:500px;text-align:left;">',
  6129. 'optional--',
  6130. "//a[contains(@href,'free-uploading.com/')]"
  6131. );
  6132. }
  6133. if (GM_getValue("Check_fileape_dot_com_links", false))
  6134. {
  6135. addFileHost(
  6136. "fileape\\.com\/download\\-",
  6137. 'button_dl\\.png',
  6138. 'does not exist\\.',
  6139. 'optional--',
  6140. "//a[contains(@href,'fileape.com/')]"
  6141. );
  6142. }
  6143. if (GM_getValue("Check_uppit_dot_com_links", false))
  6144. {
  6145. addFileHost(
  6146. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6147. 'op" value="download',
  6148. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6149. 'optional--',
  6150. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6151. true
  6152. );
  6153. }
  6154. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6155. {
  6156. addFileHost(
  6157. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6158. 'op" value="download',
  6159. '>File Not Found<',
  6160. 'optional--',
  6161. "//a[contains(@href,'nosupload.com')]",
  6162. true
  6163. );
  6164. }
  6165. if (GM_getValue("Check_filesin_dot_com_links", false))
  6166. {
  6167. addFileHost(
  6168. "filesin\\.com\/\\w+\/download\\.html",
  6169. 'download_area">',
  6170. 'error_note">',
  6171. 'optional--',
  6172. "//a[contains(@href,'filesin.com/')]",
  6173. true
  6174. );
  6175. }
  6176. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6177. {
  6178. addFileHost(
  6179. "nowdownload\\.ch\/dl\/\\w+",
  6180. 'alert-success"',
  6181. 'This file does not exist!',
  6182. 'The file is being transfered',
  6183. "//a[contains(@href,'nowdownload.ch/dl')]"
  6184. );
  6185. }
  6186. if (GM_getValue("Check_axifile_dot_com_links", false))
  6187. {
  6188. addFileHost(
  6189. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6190. 'Dbutton_big"',
  6191. 'download\\-error\\.php',
  6192. 'optional--',
  6193. "//a[contains(@href,'axifile.com/')]"
  6194. );
  6195. }
  6196. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6197. {
  6198. addFileHost(
  6199. "hulkshare\.com\/\\w+",
  6200. 'download\.sam\.png|This is a private file|id="filename',
  6201. 'File does not exist|fingerprint protected copyright',
  6202. 'optional--',
  6203. "//a[contains(@href,'hulkshare.com')]"
  6204. );
  6205. }
  6206. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6207. {
  6208. addFileHost(
  6209. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6210. 'col-1">\\s*<s',
  6211. 'col-1">\\s*<h',
  6212. 'optional--',
  6213. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6214. );
  6215. }
  6216. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6217. {
  6218. addFileHost(
  6219. "turbobit\\.(?:net|pl)",
  6220. 'id="download-gate-info',
  6221. 'afterWait()',
  6222. 'optional--',
  6223. "//a[contains(@href,'turbobit.net')]"
  6224. );
  6225. }
  6226. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6227. {
  6228. addFileHost(
  6229. "hitfile\\.net\/download\/folder\/\\d+",
  6230. 'content">\\s*<s',
  6231. 'content">\\s*<h',
  6232. 'optional--',
  6233. "//a[contains(@href,'hitfile.net/download/folder')]"
  6234. );
  6235. }
  6236. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  6237. {
  6238. addFileHost(
  6239. "netload\\.in\/folder\\.php\\?folder_id=\\w+",
  6240. 'images\/online\\.gif',
  6241. 'InPage_Error"',
  6242. 'optional--',
  6243. "//a[contains(@href,'netload.in/folder.php')]"
  6244. );
  6245. }
  6246. if (GM_getValue("Check_movshare_dot_net_links", false))
  6247. {
  6248. addFileHost(
  6249. "movshare\\.net\\/video\\/\\w+",
  6250. 'optional--"',
  6251. 'no longer exists',
  6252. 'optional--',
  6253. "//a[contains(@href,'movshare.net/video')]"
  6254. );
  6255. }
  6256. if (GM_getValue("Check_plunder_dot_com_links", false))
  6257. {
  6258. addFileHost(
  6259. "plunder\.com\/\\w+",
  6260. 'x\/download\\.gif',
  6261. '404 - File or directory not found.',
  6262. 'optional--',
  6263. "//a[contains(@href,'plunder.com')]"
  6264. );
  6265. }
  6266. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6267. {
  6268. addFileHost(
  6269. "mafiastorage\\.com\/\\w+",
  6270. 'op" value="download',
  6271. 'class="err">|style="width:500px;text-align:left;"',
  6272. 'optional--',
  6273. "//a[contains(@href,'mafiastorage.com/')]"
  6274. );
  6275. }
  6276. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6277. {
  6278. addFileHost(
  6279. "uploadspace\.pl\/plik\\w+",
  6280. 'Downloading .+? \\|',
  6281. 'Downloading a file',
  6282. 'optional--',
  6283. "//a[contains(@href,'uploadspace.pl/plik')]"
  6284. );
  6285. }
  6286. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6287. {
  6288. addFileHost(
  6289. "uploadingit\\.com\/file\/\\w+",
  6290. 'downloadTitle">',
  6291. 'deleteContent">',
  6292. 'optional--',
  6293. "//a[contains(@href,'uploadingit.com/file')]"
  6294. );
  6295. }
  6296. if (GM_getValue("Check_rghost_dot_net_links", false))
  6297. {
  6298. addFileHost(
  6299. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6300. 'download_link|btn large download',
  6301. 'file is restricted|File is deleted|503 Service Unavailable',
  6302. 'File was deleted',
  6303. "//a[contains(@href,'rghost.')]"
  6304. );
  6305. }
  6306. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6307. {
  6308. addFileHost(
  6309. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6310. '">Staženo:\\s*<\/span>',
  6311. 'Soubor, který hledáte nenalezen',
  6312. 'optional--',
  6313. "//a[contains(@href,'xdisk.cz/')]"
  6314. );
  6315. }
  6316. if (GM_getValue("Check_expressleech_dot_com_links", false))
  6317. {
  6318. addFileHost(
  6319. "expressleech\.com\/\\w+",
  6320. 'src="/img/Download.gif"|var _gaq =',
  6321. 'var rr =|403 Forbidden',
  6322. 'optional--',
  6323. "//a[contains(@href,'expressleech.com')]");
  6324. }
  6325. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6326. {
  6327. addFileHost(
  6328. "2downloadz\.com\/\\w+",
  6329. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6330. 'color="#006DCC|File error',
  6331. 'optional--',
  6332. "//a[contains(@href,'2downloadz.com')]");
  6333. }
  6334. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6335. {
  6336. addFileHost(
  6337. "mightyupload\.com\/\\w+",
  6338. 'background:#ccc;text-align|CONTENT="Download File"',
  6339. 'style="background:#eee|var rr =|File Not Found',
  6340. 'error-code">1010',
  6341. "//a[contains(@href,'mightyupload.com')]");
  6342. }
  6343. if (GM_getValue("Check_anysend_dot_com_links", false))
  6344. {
  6345. addFileHost(
  6346. "anysend\.com\/\\w+",
  6347. 'var openCalled=false;|content="noindex"',
  6348. '_trackPageview',
  6349. 'optional--',
  6350. "//a[contains(@href,'anysend.com')]");
  6351. }
  6352. if (GM_getValue("Check_datafile_dot_com_links", false))
  6353. {
  6354. addFileHost(
  6355. "datafile\.com\/\\w+",
  6356. 'var captchaPanel',
  6357. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"', //class="error-msg"
  6358. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6359. //'optional--',
  6360. "//a[contains(@href,'datafile.com')]",
  6361. true);
  6362. }
  6363. if (GM_getValue("Check_upstore_dot_net_links", false))
  6364. {
  6365. addFileHost(
  6366. "upstore\.net\/\\w+",
  6367. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6368. 'File not found|onload="redirect|class="error">',
  6369. 'optional--',
  6370. "//a[contains(@href,'upstore.net')]");
  6371. }
  6372. if (GM_getValue("Check_upsto_dot_re_links", false))
  6373. {
  6374. addFileHost(
  6375. "upsto\.re\/\\w+",
  6376. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6377. 'File not found|onload="redirect|class="error">',
  6378. 'optional--',
  6379. "//a[contains(@href,'upsto.re')]");
  6380. }
  6381. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6382. {
  6383. addFileHost(
  6384. "speedy\.sh\/\\w+",
  6385. 'bgcolor=#eeeeee|class="addthis',
  6386. 'File not found|downloadfilenamenotfound>',
  6387. 'optional--',
  6388. "//a[contains(@href,'speedy.sh')]");
  6389. }
  6390. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6391. {
  6392. addFileHost(
  6393. "sanshare\.com\/\\w+",
  6394. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6395. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6396. 'optional--',
  6397. "//a[contains(@href,'sanshare.com')]");
  6398. }
  6399. /* if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6400. {
  6401. addFileHost(
  6402. "kingfiles\.net\/\\w+",
  6403. 'img/spriteBanner.png|If you are the owner of this file',
  6404. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6405. 'optional--',
  6406. "//a[contains(@href,'kingfiles.net')]");
  6407. } */
  6408. if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6409. {
  6410. addFileHost(
  6411. "uploadhero\\.co\/dl\/\\w+",
  6412. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6413. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6414. 'optional--',
  6415. "//a[contains(@href,'uploadhero.co/dl')]"
  6416. );
  6417. }
  6418. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6419. {
  6420. addFileHost(
  6421. "secureupload\\.eu\/\\w+",
  6422. 'Downloading',
  6423. 'cannot be found|File Not Found|could not be found',
  6424. 'optional--',
  6425. "//a[contains(@href,'secureupload.eu')]"
  6426. );
  6427. }
  6428. if (GM_getValue("Check_ge_dot_tt_links", false))
  6429. {
  6430. addFileHost(
  6431. "ge\.tt\/\\w+",
  6432. 'downloads pic',
  6433. 'is NOT the same as',
  6434. 'optional--',
  6435. "//a[contains(@href,'ge.tt')]");
  6436. }
  6437. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6438. {
  6439. addFileHost(
  6440. "filefactory\.com\/\\w+",
  6441. 'div id="file_holder"|download.css',
  6442. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6443. 'Server Maintenance|temporarily overloaded',
  6444. //'optional--',
  6445. "//a[contains(@href,'filefactory.com')]");
  6446. }
  6447. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6448. {
  6449. addFileHost(
  6450. "filesflash\.net\/\\w+",
  6451. 'align:right">Filename:',
  6452. 'class="msg">',
  6453. 'optional--',
  6454. "//a[contains(@href,'filesflash.net')]");
  6455. }
  6456. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6457. {
  6458. addFileHost(
  6459. "rapidgator\\.net\/folder\/\\w+",
  6460. 'href="/folder/',
  6461. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6462. 'optional--',
  6463. "//a[contains(@href,'rapidgator.net/folder')]",
  6464. true
  6465. );
  6466. }
  6467. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6468. {
  6469. addFileHost(
  6470. "salefiles\.com\/\\w+",
  6471. '<Title>Download|CONTENT="Download',
  6472. 'font:15px Arial|background:#eee;',
  6473. 'optional--',
  6474. "//a[contains(@href,'salefiles.com')]");
  6475. }
  6476. if (GM_getValue("Check_megairon_dot_net_links", false))
  6477. {
  6478. addFileHost(
  6479. "megairon\.net\/\\w+",
  6480. 'border: 5px #ffeb90 solid;',
  6481. 'CONTENT="Download File ">|var rr =',
  6482. 'optional--',
  6483. "//a[contains(@href,'megairon.net')]");
  6484. }
  6485. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6486. {
  6487. addFileHost(
  6488. "datoid\.cz\/\\w+",
  6489. 'btn-download|class="icon-download-large"',
  6490. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6491. 'optional--',
  6492. "//a[contains(@href,'datoid.cz')]");
  6493. }
  6494. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6495. {
  6496. addFileHost(
  6497. "stiahni\.si\/\\w+",
  6498. 'report_icon.png"|slow-download-button',
  6499. 'none.png|deleted|<h2>Error 500</h2>',
  6500. 'optional--',
  6501. "//a[contains(@href,'stiahni.si')]");
  6502. }
  6503. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6504. {
  6505. addFileHost(
  6506. "cloudstor\.es\/\\w+",
  6507. '"btn_download"',
  6508. '404: Page Not Found',
  6509. 'optional--',
  6510. "//a[contains(@href,'cloudstor.es')]");
  6511. }
  6512. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6513. {
  6514. addFileHost(
  6515. "streamfile\.com\/\\w+",
  6516. 'class="btn',
  6517. 'class="green-btn',
  6518. 'optional--',
  6519. "//a[contains(@href,'streamfile.com')]");
  6520. }
  6521. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6522. {
  6523. addFileHost(
  6524. "eyesfile\.ca\/\\w+",
  6525. 'value="Get Link',
  6526. 'var rr =',
  6527. 'optional--',
  6528. "//a[contains(@href,'eyesfile.ca')]");
  6529. }
  6530. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6531. {
  6532. addFileHost(
  6533. "filemoney\.com\/\\w+",
  6534. 'og:title',
  6535. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6536. 'error-code">1010',
  6537. "//a[contains(@href,'filemoney.com')]");
  6538. }
  6539. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6540. {
  6541. addFileHost(
  6542. "uploadboy\.com\/\\w+",
  6543. 'width="740">|method_free',
  6544. 'var rr =|background:#ffffff|not be found|file was removed',
  6545. 'optional--',
  6546. "//a[contains(@href,'uploadboy.com')]");
  6547. }
  6548. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6549. {
  6550. addFileHost(
  6551. "speedshare\.eu\/\\w+",
  6552. 'favicon.png|color:#3d87c0|cross.png"',
  6553. 'var rr =|File Not Found|style="background:#eee',
  6554. 'optional--',
  6555. "//a[contains(@href,'speedshare.eu')]");
  6556. }
  6557. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6558. {
  6559. addFileHost(
  6560. "unlimitzone\.com\/\\w+",
  6561. 'name="method_free',
  6562. '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',
  6563. 'optional--',
  6564. "//a[contains(@href,'unlimitzone.com')]");
  6565. }
  6566. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6567. {
  6568. addFileHost(
  6569. "rioupload\.com\/\\w+",
  6570. 'sell.jpg',
  6571. 'var rr =',
  6572. 'optional--',
  6573. "//a[contains(@href,'rioupload.com')]");
  6574. }
  6575. if (GM_getValue("Check_rg_dot_to_links", false))
  6576. {
  6577. addFileHost(
  6578. "rg\.to\/\\w+",
  6579. '/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',
  6580. 'Error 404|File not found|Select your plan',
  6581. 'optional--',
  6582. //'optional--',
  6583. "//a[contains(@href,'rg.to')]");
  6584. }
  6585. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6586. {
  6587. addFileHost(
  6588. "jumbofiles\.org\/\\w+",
  6589. 'H71C5.png|class="downloadtitle">',
  6590. 'var swfu|ViewSourceBIN.png',
  6591. 'optional--',
  6592. "//a[contains(@href,'jumbofiles.org')]");
  6593. }
  6594. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6595. {
  6596. addFileHost(
  6597. "fshare\\.vn\/file\/\\w+",
  6598. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6599. 'không tồn tại|class="color_red m_t_50"',
  6600. 'optional--',
  6601. "//a[contains(@href,'fshare.vn/file')]",
  6602. true
  6603. );
  6604. }
  6605. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6606. {
  6607. addFileHost(
  6608. "spaceforfiles\.com\/\\w+",
  6609. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6610. 'var rr =|AVOID_IE_BUG',
  6611. 'optional--',
  6612. "//a[contains(@href,'spaceforfiles.com')]");
  6613. }
  6614. if (GM_getValue("Check_google_dot_com_links", false))
  6615. {
  6616. addFileHost(
  6617. "google\\.com\/file\/\\w+",
  6618. 'content="!">|color:#2d2d2d',
  6619. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6620. 'optional--',
  6621. "//a[contains(@href,'google.com/file')]",
  6622. true
  6623. );
  6624. }
  6625. if (GM_getValue("Check_google_dot_com_links", false))
  6626. {
  6627. addFileHost(
  6628. "docs.google.com\/\\w+",
  6629. 'content="!">|color:#2d2d2d',
  6630. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6631. 'optional--',
  6632. "//a[contains(@href,'docs.google.com')]",
  6633. true
  6634. );
  6635. }
  6636. if (GM_getValue("Check_google_dot_com_links", false))
  6637. {
  6638. addFileHost(
  6639. "drive.google.com\/\\w+",
  6640. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6641. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6642. 'optional--',
  6643. "//a[contains(@href,'drive.google.com')]",
  6644. true
  6645. );
  6646. }
  6647. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6648. {
  6649. addFileHost(
  6650. "up.media1fire\.com\/\\w+",
  6651. 'class="addthis_|value="download',
  6652. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6653. 'optional--',
  6654. "//a[contains(@href,'up.media1fire.com')]");
  6655. }
  6656. if (GM_getValue("Check_depfile_dot_com_links", false))
  6657. {
  6658. addFileHost(
  6659. "depfile\.com\/\\w+",
  6660. 'logo_0.png|downloads.gif"|verifycode',
  6661. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6662. 'optional--',
  6663. "//a[contains(@href,'depfile.com')]");
  6664. }
  6665. if (GM_getValue("Check_go4up_dot_com_links", false))
  6666. {
  6667. addFileHost(
  6668. "go4up\.com\/\\w+",
  6669. 'style="width: 100%;">|value="Access|download_line',
  6670. '<title>GO4UP|dmca',
  6671. 'optional--',
  6672. "//a[contains(@href,'go4up.com')]");
  6673. }
  6674. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6675. {
  6676. addFileHost(
  6677. "redbunker\.net\/\\w+",
  6678. 'dload.png|rowspan="3">|yep.gif',
  6679. 'CONTENT="RedBunker|#D3D3D3;|color:#d33|AVOID_IE_BUG',
  6680. 'optional--',
  6681. "//a[contains(@href,'redbunker.net')]");
  6682. }
  6683. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6684. {
  6685. addFileHost(
  6686. "divxpress\.com\/\\w+",
  6687. 'btn_download|logo.png"',
  6688. 'AVOID_IE_BUG|var rr =',
  6689. 'optional--',
  6690. "//a[contains(@href,'divxpress.com')]");
  6691. }
  6692. if (GM_getValue("Check_anafile_dot_com_links", false))
  6693. {
  6694. addFileHost(
  6695. "anafile\.com\/\\w+",
  6696. 'width="881" valign="top|color="#800080"',
  6697. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6698. 'optional--',
  6699. "//a[contains(@href,'anafile.com')]");
  6700. }
  6701. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6702. {
  6703. addFileHost(
  6704. "uploadable\\.ch\/file\/\\w+",
  6705. 'captcha.js"|payment.js"|class="btn_download"',
  6706. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6707. 'optional--',
  6708. "//a[contains(@href,'uploadable.ch/file')]",
  6709. true
  6710. );
  6711. }
  6712. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6713. {
  6714. addFileHost(
  6715. "arabloads\.net\/\\w+",
  6716. 'name="method_free"|name="method_premium"',
  6717. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6718. 'optional--',
  6719. "//a[contains(@href,'arabloads.net')]");
  6720. }
  6721. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6722. {
  6723. addFileHost(
  6724. "sharerepo\.com\/\\w+",
  6725. 'name="method_free"',
  6726. 'var public_on=|The file you were looking for could not be found',
  6727. 'optional--',
  6728. "//a[contains(@href,'sharerepo.com')]");
  6729. }
  6730. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6731. {
  6732. addFileHost(
  6733. "sfshare\.se\/\\w+",
  6734. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6735. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6736. 'optional--',
  6737. "//a[contains(@href,'sfshare.se')]");
  6738. }
  6739. if (GM_getValue("Check_files_dot_fm_links", false))
  6740. {
  6741. addFileHost(
  6742. "files\.fm\/\\w+",
  6743. 'dl.png"|background-color: transparent',
  6744. 'margin: 40px 40px|background: none;',
  6745. 'optional--',
  6746. "//a[contains(@href,'files.fm')]");
  6747. }
  6748. if (GM_getValue("Check_koofile_dot_com_links", false))
  6749. {
  6750. addFileHost(
  6751. "koofile\.com\/\\w+",
  6752. 'value="download1">|name="method_free"',
  6753. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6754. 'optional--',
  6755. "//a[contains(@href,'koofile.com')]");
  6756. }
  6757. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6758. {
  6759. addFileHost(
  6760. "vidxden\\.com\/\\w+",
  6761. 'Continue to Video"',
  6762. 'No such file',
  6763. 'optional--',
  6764. "//a[contains(@href,'vidxden.com')]"
  6765. );
  6766. }
  6767. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6768. {
  6769. addFileHost(
  6770. "muchshare\\.net\/\\w+",
  6771. 'id="btn_download"',
  6772. 'File Not Found|width: 500px; text-align: left;',
  6773. 'optional--',
  6774. "//a[contains(@href,'muchshare.net')]"
  6775. );
  6776. }
  6777. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6778. {
  6779. addFileHost(
  6780. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6781. 'Details zur Datei|Details page',
  6782. 'Jetzt hochladen|upload now',
  6783. 'optional--',
  6784. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6785. );
  6786. }
  6787. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6788. {
  6789. addFileHost(
  6790. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6791. 'downloadbtn"',
  6792. 'DL_FileNotFound',
  6793. 'optional--',
  6794. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6795. );
  6796. }
  6797. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6798. {
  6799. addFileHost(
  6800. "fileflyer\.com\/view\/\\w+",
  6801. '(?:dwl|locked)btn"',
  6802. 'error.gif"|link">Removed|removedlink">',
  6803. 'optional--',
  6804. "//a[contains(@href,'fileflyer.com')]"
  6805. );
  6806. }
  6807. if (GM_getValue("Check_filestore_dot_to_links", false))
  6808. {
  6809. addFileHost(
  6810. "filestore\.to\/\\?d=\\w+",
  6811. '"downloading"',
  6812. 'Datei wurde nicht gefunden',
  6813. 'optional--',
  6814. "//a[contains(@href,'filestore.to')]"
  6815. );
  6816. }
  6817. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6818. {
  6819. addFileHost(
  6820. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6821. 'fz24">Download|class="pl15">',
  6822. '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',
  6823. 'optional--',
  6824. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6825. );
  6826. }
  6827. if (GM_getValue("Check_burnupload_dot_com_links", false))
  6828. {
  6829. addFileHost(
  6830. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6831. 'File size:',
  6832. 'file is not found',
  6833. 'optional--',
  6834. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6835. );
  6836. }
  6837. if (GM_getValue("Check_datei_dot_to_links", false))
  6838. {
  6839. addFileHost(
  6840. "datei\\.to\/\\??\\w+",
  6841. 'icon_downloaden\\.png|>Download starten<',
  6842. 'Datei wurde nicht gefunden|icon_deleted.png',
  6843. 'optional--',
  6844. "//a[contains(@href,'datei.to')]"
  6845. );
  6846. }
  6847. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6848. {
  6849. addFileHost(
  6850. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6851. '<body class="body" id="body">|value="Slow Download"',
  6852. '<body class="body" >',
  6853. 'optional--',
  6854. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6855. );
  6856. }
  6857. /* if (GM_getValue("Check_putlocker_dot_com_links", false))
  6858. {
  6859. addFileHost(
  6860. "putlocker\\.com\/file\/\\w{16}",
  6861. 'as Free User|<a class="continue"|Continue to file|#feedback_btn|application file_standalone',
  6862. 'Welcome to PutLocker|<div class="sad_face_image">|404:',
  6863. 'undergoing scheduled maintenance',
  6864. "//a[contains(@href,'putlocker.com/file')]"
  6865. );
  6866. } */
  6867. if (GM_getValue("Check_uploadhero_dot_com_links", false))
  6868. {
  6869. addFileHost(
  6870. "uploadhero\\.com\/dl\/\\w+",
  6871. 'content-dl">',
  6872. 'men_file_lost\\.jpg"',
  6873. 'optional--',
  6874. "//a[contains(@href,'uploadhero.com/dl')]"
  6875. );
  6876. }
  6877. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6878. {
  6879. addFileHost(
  6880. "unibytes\\.com\/[\\w\.]+",
  6881. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6882. 'File not found|Файл не найден|',
  6883. 'optional--',
  6884. "//a[contains(@href,'unibytes.com')]"
  6885. );
  6886. }
  6887. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  6888. {
  6889. addFileHost(
  6890. "www\\.hellshare\\.com\/\\d+",
  6891. 'tab\\-details"',
  6892. 'list-purp-2"|not found on this server',
  6893. 'optional--',
  6894. "//a[contains(@href,'www.hellshare.com')]"
  6895. );
  6896. }
  6897. if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  6898. {
  6899. addFileHost(
  6900. "quickshare\\.cz\/slozka-\\d+",
  6901. 'Počet souborů: <strong>[1-9]',
  6902. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  6903. 'optional--',
  6904. "//a[contains(@href,'quickshare.cz/slozka')]"
  6905. );
  6906. }
  6907. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  6908. {
  6909. addFileHost(
  6910. "filefactory\\.com\/f\/\\w+",
  6911. 'folderFileList">',
  6912. 'table class="items"|Pointer" class="red">',
  6913. 'optional--',
  6914. "//a[contains(@href,'filefactory.com/f/')]"
  6915. );
  6916. }
  6917. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  6918. {
  6919. addFileHost(
  6920. "netfolder\\.in\/\\w+",
  6921. 'list" value="http',
  6922. 'InPage_Error">|list" value=""',
  6923. 'optional--',
  6924. "//a[contains(@href,'netfolder.in')]"
  6925. );
  6926. }
  6927. if (GM_getValue("Check_load_dot_to_links", false))
  6928. {
  6929. addFileHost(
  6930. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  6931. '"download_table_left">Size',
  6932. 'Can\'t find file',
  6933. 'optional--',
  6934. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  6935. );
  6936. }
  6937. /* if (GM_getValue("Check_freakshare_dot_net_links", false))
  6938. {
  6939. addFileHost(
  6940. "freakshare\\.(?:net|com)\/files\/",
  6941. 'box_heading',
  6942. 'Este archivo no existe|Esse arquivo não existe|existent pas|К сожалению, этот файл больше не существует|Plik nie istnieje|Ez a fájl nem létezik|Acest fișier nu există|Dosya bulunamadı|ไฟล์นี้ไม่มีอยู่ |Tệp này không tồn tại|ファイルをありません|이 파일은 존재하지 않습니다!|此文件不存在|This file does not exist|Dieser Download existiert nicht|الملف المطلوب غير موجود',
  6943. 'Your Traffic is used up for today',
  6944. "//a[(contains(@href,'freakshare.net') or contains(@href,'freakshare.com')) and contains(@href,'files')]",
  6945. true
  6946. );
  6947. //folders
  6948. addFileHost(
  6949. "freakshare\\.(?:net|com)\/folder\/",
  6950. 'Files: [1-9]',
  6951. 'Files: 0',
  6952. 'optional--',
  6953. "//a[(contains(@href,'freakshare.net') or contains(@href,'freakshare.com')) and contains(@href,'folder')]",
  6954. true
  6955. );
  6956. } */
  6957. if (GM_getValue("Check_divshare_dot_com_links", false))
  6958. {
  6959. addFileHost(
  6960. "divshare\\.com\/download\/",
  6961. 'download_new\.png',
  6962. 'have been removed',
  6963. 'optional--',
  6964. "//a[contains(@href,'divshare.com')]"
  6965. );
  6966. }
  6967. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  6968. {
  6969. addFileHost(
  6970. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\d+",
  6971. 'nazev-souboru">',
  6972. '<div id="obsah">\\s*<h1>',
  6973. 'optional--',
  6974. "//a[contains(@href,'euroshare.eu/file')]"
  6975. );
  6976. }
  6977. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  6978. {
  6979. addFileHost(
  6980. 'files\\.mail\\.ru/(?:\\w*)',
  6981. 'fileList',
  6982. 'errorMessage',
  6983. 'optional--',
  6984. "//a[contains(@href,'files.mail.ru')]"
  6985. );
  6986. }
  6987. if (GM_getValue("Check_megashares_dot_com_links", false))
  6988. {
  6989. addFileHost(
  6990. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  6991. 'Filesize',
  6992. 'Invalid|deleted|Could not download file',
  6993. 'slots|scheduled maintenance',
  6994. "//a[contains(@href,'megashares.com/')]"
  6995. );
  6996. }
  6997. if (GM_getValue("Check_narod_dot_ru_links", false))
  6998. {
  6999. addFileHost(
  7000. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7001. 'b-submit',
  7002. 'b-download-virus-note|headCode">404<',
  7003. 'Внутренняя ошибка сервиса',
  7004. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7005. );
  7006. }
  7007. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7008. {
  7009. addFileHost(
  7010. "rayfile\\.com\/",
  7011. 'FILEtitleTXT',
  7012. 'blueRow',
  7013. 'optional--',
  7014. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7015. );
  7016. }
  7017. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7018. {
  7019. addFileHost(
  7020. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7021. 'button_green_body"',
  7022. 'error">',
  7023. 'optional--',
  7024. "//a[contains(@href,'filesmonster.com/download')]"
  7025. );
  7026. }
  7027. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7028. {
  7029. addFileHost(
  7030. 'usaupload\\.net\/d\/(?:\w*)',
  7031. '<strong>File size:</strong>',
  7032. 'is not available',
  7033. 'optional--',
  7034. "//a[contains(@href,'usaupload.net/d/')]"
  7035. );
  7036. }
  7037. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7038. {
  7039. addFileHost(
  7040. 'sendspace\\.com\/file\/\\w+',
  7041. 'file_description',
  7042. 'msg error"',
  7043. 'optional--',
  7044. "//a[contains(@href,'sendspace.com/file')]"
  7045. );
  7046. }
  7047. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7048. {
  7049. addFileHost(
  7050. 'sendspace\\.pl\/file\/\\w+',
  7051. 'download_file"',
  7052. 'Podany plik nie',
  7053. 'optional--',
  7054. "//a[contains(@href,'sendspace.pl/file')]"
  7055. );
  7056. }
  7057. if (GM_getValue("Check_uploading_dot_com_links", false))
  7058. {
  7059. addFileHost(
  7060. 'uploading\\.com\/(?:files\/)?\\w+',
  7061. 'free_method">',
  7062. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7063. 'optional--',
  7064. "//a[contains(@href,'uploading.com')]"
  7065. );
  7066. }
  7067. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7068. {
  7069. addFileHost(
  7070. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7071. 'fileId"',
  7072. 'error">',
  7073. 'optional--',
  7074. "//a[contains(@href,'gigasize.com/get')]"
  7075. );
  7076. }
  7077. if (GM_getValue("Check_good_dot_com_links", false))
  7078. {
  7079. addFileHost(
  7080. 'good\\.net\/(?:_|dl)',
  7081. 'Free Download',
  7082. 'Not Found',
  7083. 'Forbidden',
  7084. "//a[contains(@href,'good.net')]"
  7085. );
  7086. }
  7087. if (GM_getValue("Check_2shared_dot_com_links", false))
  7088. {
  7089. addFileHost(
  7090. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7091. 'File size',
  7092. 'File not found|is not valid|/images/important.gif',
  7093. 'optional--',
  7094. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7095. );
  7096. }
  7097. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7098. {
  7099. addFileHost(
  7100. 'turboupload\\.com\/\\w*',
  7101. 'You have requested',
  7102. 'File Not Found',
  7103. 'optional--',
  7104. "//a[contains(@href,'turboupload.com')]"
  7105. );
  7106. }
  7107. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7108. {
  7109. addFileHost(
  7110. 'gigapeta\\.com\/dl\/',
  7111. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7112. '404|page_error',
  7113. 'optional--',
  7114. "//a[contains(@href,'gigapeta.com/dl')]"
  7115. );
  7116. }
  7117. if (GM_getValue("Check_veehd_dot_com_links", false))
  7118. {
  7119. addFileHost(
  7120. 'veehd\.com\/video\/.*?',
  7121. 'No sound|Download video',
  7122. 'Featured Videos',
  7123. 'optional--',
  7124. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7131. 'fast_download_form">|submit_sms_download',
  7132. '<p style="text-align:center">',
  7133. 'optional--',
  7134. "//a[contains(@href,'vip-file.com/download')]"
  7135. );
  7136. }
  7137. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7138. {
  7139. addFileHost(
  7140. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7141. 'download\\-pnl ',
  7142. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7143. 'optional--',
  7144. "//a[contains(@href,'letitbit.net/download')]"
  7145. );
  7146. }
  7147. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7148. {
  7149. addFileHost(
  7150. 'ifolder\.ru\/\\d+',
  7151. 'file-info',
  7152. 'ui-state-error',
  7153. 'optional--',
  7154. "//a[contains(@href,'ifolder.ru')]"
  7155. );
  7156. }
  7157. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7158. {
  7159. addFileHost(
  7160. 'fileswap\\.com\/dl\/\\w+',
  7161. 'bttnDownloadLink"',
  7162. 'rounded_block_error"',
  7163. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7164. "//a[contains(@href,'fileswap.com/dl')]"
  7165. );
  7166. }
  7167. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7168. {
  7169. addFileHost(
  7170. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7171. 'var __error = 0',
  7172. 'FILES__DOESNT_EXIST|removed or did not exist',
  7173. 'optional--',
  7174. "//a[contains(@href,'filecloud.io/')]"
  7175. );
  7176. addFileHost(
  7177. 'ifile\\.it\/\\w+',
  7178. 'var __error = 0',
  7179. 'FILES__DOESNT_EXIST',
  7180. 'optional--',
  7181. "//a[contains(@href,'ifile.it/')]"
  7182. );
  7183. }
  7184. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7185. {
  7186. addFileHost(
  7187. 'solidfiles\\.com\/d\/\\w+',
  7188. 'id="download"|content="Download',
  7189. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7190. 'optional--',
  7191. "//a[contains(@href,'solidfiles.com/d')]"
  7192. );
  7193. }
  7194. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7195. {
  7196. addFileHost(
  7197. "(?:.\\.|)shareflare\\.net",
  7198. 'download-pnl|<div class="premium-block">',
  7199. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7200. 'optional--',
  7201. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7205. {
  7206. addFileHost(
  7207. "u18116681.shareflare\\.net",
  7208. 'download-pnl|<div class="premium-block">',
  7209. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7210. 'optional--',
  7211. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7212. );
  7213. }
  7214. if (GM_getValue("Check_uloz_dot_to_links", false))
  7215. {
  7216. addFileHost(
  7217. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7218. 'fileDownload">|fileSize">',
  7219. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7220. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7221. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7222. true
  7223. );
  7224. }
  7225. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7226. {
  7227. addFileHost(
  7228. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7229. 'file\\-list-orderby|section-filedetail">',
  7230. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  7231. 'optional--',
  7232. "//a[contains(@href,'hellspy.')]"
  7233. );
  7234. }
  7235. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7236. {
  7237. addFileHost(
  7238. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7239. '<body onload="">',
  7240. 'neexistuje|not exist',
  7241. 'optional--',
  7242. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7243. );
  7244. }
  7245. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7246. {
  7247. addFileHost(
  7248. "stahovanizasms\\.cz\/\\w+",
  7249. 'download\\.png>|font-size:11px><tr>',
  7250. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7251. 'optional--',
  7252. "//a[contains(@href,'stahovanizasms.cz')]"
  7253. );
  7254. }
  7255. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7256. {
  7257. addFileHost(
  7258. "share-links\\.biz\/\\w*",
  7259. 'online\\.gif',
  7260. '(?:offline|parts)\\.gif',
  7261. 'optional--',
  7262. "//a[contains(@href,'share-links.biz')]"
  7263. );
  7264. }
  7265. if (GM_getValue("Check_4shared_dot_com_links", false))
  7266. {
  7267. addFileHost(
  7268. "4shared\\.com\/.+\/",
  7269. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7270. 'class="warn\"|big red"|GetDataBack',
  7271. 'Service Unavailable',
  7272. "//a[contains(@href,'4shared.com')]"
  7273. );
  7274. }
  7275. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. "(?:www\\d+\.|)zippyshare\.com\/",
  7279. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7280. 'not exist|Status 404',
  7281. 'optional--',
  7282. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7283. );
  7284. }
  7285. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7286. {
  7287. addFileHost(
  7288. "mediafire\.com\/",
  7289. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7290. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7291. 'set to private',
  7292. "//a[contains(@href,'mediafire.com')]"
  7293. );
  7294. }
  7295. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7296. {
  7297. addFileHost(
  7298. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7299. '<h2>Authentification</h2></li>| MB|1,00 GB',
  7300. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7301. 'optional--',
  7302. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7303. );
  7304. }
  7305. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7306. {
  7307. addFileHost(
  7308. "ulozisko\.sk\/",
  7309. 'Detaily',
  7310. 'neexistuje',
  7311. 'optional--',
  7312. "//a[contains(@href,'ulozisko.sk')]"
  7313. );
  7314. }
  7315. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7316. {
  7317. addFileHost(
  7318. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7319. 'download.php',
  7320. 'notfound|upload\\-suborov\\.php"',
  7321. 'optional--',
  7322. "//a[contains(@href,'upnito.sk')]"
  7323. );
  7324. }
  7325. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7326. {
  7327. addFileHost(
  7328. "uptobox\\.com\/\\w+",
  7329. 'Create Download Link">',
  7330. '500px;text-align:left;">|File not found|Fichier introuvable',
  7331. 'Maintenance|not available in your country',
  7332. "//a[contains(@href,'uptobox.com')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7336. {
  7337. addFileHost(
  7338. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7339. 'FILE DOWNLOAD<',
  7340. 'File Does Not Exist',
  7341. 'optional--',
  7342. "//a[contains(@href,'sharecash.org/download.php')]"
  7343. );
  7344. }
  7345. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7346. {
  7347. addFileHost(
  7348. "depositfiles\\.com\/folders\/\\w+",
  7349. '<div class="progressContainer">',
  7350. '<div id="files" class="files">\\s*<\/div>',
  7351. 'optional--',
  7352. "//a[contains(@href,'depositfiles.com/folders')]"
  7353. );
  7354. }
  7355. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7356. {
  7357. addFileHost(
  7358. "rapidfileshare\\.net/\\w+",
  7359. '<div id="upload-header-bg">',
  7360. '<div style="width:500px;text-align:left;">',
  7361. 'optional--',
  7362. "//a[contains(@href,'rapidfileshare.net/')]"
  7363. );
  7364. }
  7365. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7366. {
  7367. addFileHost(
  7368. "stiahnito\\.sk/",
  7369. '<span class="filesize right">',
  7370. '<ol class="list-purp-2">',
  7371. 'optional--',
  7372. "//a[contains(@href,'stiahnito.sk/')]"
  7373. );
  7374. }
  7375. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7376. {
  7377. addFileHost(
  7378. "rusfolder\\.(?:com|net)",
  7379. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7380. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7381. 'optional--',
  7382. "//a[contains(@href,'rusfolder')]"
  7383. );
  7384. }
  7385. if (GM_getValue("Check_fileover_dot_net_links", false))
  7386. {
  7387. addFileHost(
  7388. "fileover\\.net/\\d+",
  7389. 'id="filesize"',
  7390. 'Not found or deleted|The following file is unavailable',
  7391. 'optional--',
  7392. "//a[contains(@href,'fileover.net/')]"
  7393. );
  7394. }
  7395. if (GM_getValue("Check_catshare_dot_net_links", false))
  7396. {
  7397. addFileHost(
  7398. "catshare\\.net/\\w+",
  7399. '"icon-share',
  7400. 'alert alert-error',
  7401. 'optional--',
  7402. "//a[contains(@href,'catshare.net/')]"
  7403. );
  7404. }
  7405. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7406. {
  7407. addFileHost(
  7408. "anonfiles\\.com/\\w+",
  7409. '"download_button"',
  7410. '<legend><b>404</b>',
  7411. 'optional--',
  7412. "//a[contains(@href,'anonfiles.com')]"
  7413. );
  7414. }
  7415. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7416. {
  7417. addFileHost(
  7418. "mixturecloud\\.com/media/\\w+",
  7419. '"btn icon i_globe gray share_150',
  7420. '"s_cross_close"></span> 404:',
  7421. 'optional--',
  7422. "//a[contains(@href,'mixturecloud.com/media/')]"
  7423. );
  7424. }
  7425. if (GM_getValue("Check_akafile_dot_com_links", false))
  7426. {
  7427. addFileHost(
  7428. "akafile\\.com\/\\w+",
  7429. 'download1',
  7430. 'File Not Found',
  7431. 'optional--',
  7432. "//a[contains(@href,'akafile.com/')]"
  7433. );
  7434. }
  7435. if (GM_getValue("Check_creafile_dot_net_links", false))
  7436. {
  7437. addFileHost(
  7438. "creafile\\.net\/\\w+",
  7439. 'downloadblock',
  7440. 'errtitle',
  7441. 'optional--',
  7442. "//a[contains(@href,'creafile.net/')]"
  7443. );
  7444. }
  7445. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7446. {
  7447. addFileHost(
  7448. "hugefiles\\.net\/\\w+",
  7449. 'download1|class="btn-create-download" value="Create Download Link">',
  7450. 'File Not Found|No such file with this filename',
  7451. 'optional--',
  7452. "//a[contains(@href,'hugefiles.net/')]"
  7453. );
  7454. }
  7455. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7456. {
  7457. addFileHost(
  7458. "sendmyway\\.com\/\\w+",
  7459. 'id="btn_download"',
  7460. '500px;text-align:left;"|<center><h3>',
  7461. 'optional--',
  7462. "//a[contains(@href,'sendmyway.com/')]"
  7463. );
  7464. }
  7465. if (GM_getValue("Check_upload_dot_ee_links", false))
  7466. {
  7467. addFileHost(
  7468. "upload\\.ee\/\\w+",
  7469. 'onmouseout="document.dllink.src',
  7470. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7471. 'optional--',
  7472. "//a[contains(@href,'upload.ee/')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7476. {
  7477. addFileHost(
  7478. "shareplace\\.org\/\\?\\w+",
  7479. 'Download-Link',
  7480. 'Your requested file is not found|Select file to send',
  7481. 'optional--',
  7482. "//a[contains(@href,'shareplace.org/?')]"
  7483. );
  7484. }
  7485. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7486. {
  7487. addFileHost(
  7488. "uploadc\\.com\/\\w+",
  7489. 'id="prebut"',
  7490. 'File Not Found|This file has been removed due',
  7491. 'optional--',
  7492. "//a[contains(@href,'uploadc.com/')]"
  7493. );
  7494. }
  7495. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7496. {
  7497. addFileHost(
  7498. "remixshare\\.com\/\\w+",
  7499. 'id="dl2"',
  7500. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7501. 'optional--',
  7502. "//a[contains(@href,'remixshare.com/')]"
  7503. );
  7504. }
  7505. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7506. {
  7507. addFileHost(
  7508. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7509. 'Last Download :',
  7510. 'img src="\\/404.jpg"',
  7511. 'optional--',
  7512. "//a[contains(@href,'exoshare.com/download.php')]"
  7513. );
  7514. }
  7515. if (GM_getValue("Check_borncash_dot_org_links", false))
  7516. {
  7517. addFileHost(
  7518. "borncash\\.org\/download\/\\?a=\\w+",
  7519. 'class="knop_1"',
  7520. '\/error\/er00',
  7521. 'optional--',
  7522. "//a[contains(@href,'borncash.org/download/')]"
  7523. );
  7524. }
  7525. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7526. {
  7527. addFileHost(
  7528. "vidplay\.net\/\\w+",
  7529. 'solvemedia puzzle widget',
  7530. 'File not found|AVOID_IE_BUG',
  7531. 'optional--',
  7532. "//a[contains(@href,'vidplay.net')]");
  7533. }
  7534. if (GM_getValue("Check_storagon_dot_com_links", false))
  7535. {
  7536. addFileHost(
  7537. "storagon\.com\/\\w+",
  7538. 'class="icon-cloud-download"></i>|content="Download Options',
  7539. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7540. 'optional--',
  7541. "//a[contains(@href,'storagon.com')]");
  7542. }
  7543. if (GM_getValue("Check_filedais_dot_com_links", false))
  7544. {
  7545. addFileHost(
  7546. "filedais\.com\/\\w+",
  7547. 'class="btn btn-info"|name="method_free"',
  7548. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7549. 'optional--',
  7550. "//a[contains(@href,'filedais.com')]");
  7551. }
  7552. /* if (GM_getValue("Check_ryushare_dot_com_links", false))
  7553. {
  7554. addFileHost(
  7555. "ryushare\.com\/\\w+",
  7556. 'KB|MB',
  7557. '<div style="width:500px;text-align:left;">',
  7558. 'in maintenance mode|Software error:',
  7559. "//a[contains(@href,'ryushare.com')]");
  7560. } */
  7561. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7562. {
  7563. addFileHost(
  7564. "up.4share\.vn\/\\w+",
  7565. '<font size="2" face="Verdana">',
  7566. 'font: 13px Tahoma; color: Brown',
  7567. 'optional--',
  7568. //'optional--',
  7569. "//a[contains(@href,'up.4share.vn')]");
  7570. }
  7571. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7572. {
  7573. addFileHost(
  7574. "share.vnn\.vn\/\\w+",
  7575. '"index,follow"|<div class="main" id="download-box">',
  7576. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7577. 'optional--',
  7578. //'optional--',
  7579. "//a[contains(@href,'share.vnn.vn')]");
  7580. }
  7581. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7582. {
  7583. addFileHost(
  7584. "upfile\.vn\/\\w+",
  7585. 'download-timer',
  7586. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7587. 'optional--',
  7588. //'optional--',
  7589. "//a[contains(@href,'upfile.vn')]");
  7590. }
  7591. /* if (GM_getValue("Check_firedrive_dot_com_links", false))
  7592. {
  7593. addFileHost(
  7594. "firedrive\\.com\/file\/\\w{16}",
  7595. 'as Free User|<a class="continue"|Continue to file|#feedback_btn|application file_standalone',
  7596. 'Welcome to PutLocker|<div class="sad_face_image">|404:',
  7597. 'undergoing scheduled maintenance',
  7598. "//a[contains(@href,'firedrive.com/file')]"
  7599. );
  7600. } */
  7601. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7602. {
  7603. addFileHost(
  7604. "aisfile\.com\/\\w+",
  7605. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7606. '<div style="width:500px;text-align:left;">|File Not Found',
  7607. 'optional--',
  7608. //'optional--',
  7609. "//a[contains(@href,'aisfile.com')]");
  7610. }
  7611. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7612. {
  7613. addFileHost(
  7614. "usersfiles\.com\/\\w+",
  7615. 'class="btn btn-success|id="btn_download" class="btn"',
  7616. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7617. 'optional--',
  7618. //'optional--',
  7619. "//a[contains(@href,'usersfiles.com')]");
  7620. }
  7621. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7622. {
  7623. addFileHost(
  7624. "pan.baidu\.com\/\\w+",
  7625. 'target="_blank" title=|share-personal-info',
  7626. 'share_notfound.png|background:#f9f9f9',
  7627. 'optional--',
  7628. //'optional--',
  7629. "//a[contains(@href,'pan.baidu.com')]");
  7630. }
  7631. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7632. {
  7633. addFileHost(
  7634. "yunpan\.cn\/\\w+",
  7635. 'class="icon icon-download',
  7636. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7637. 'optional--',
  7638. //'optional--',
  7639. "//a[contains(@href,'yunpan.cn')]");
  7640. }
  7641. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7642. {
  7643. addFileHost(
  7644. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7645. 'getElementById("downbild")|style.display',
  7646. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7647. 'optional--',
  7648. //'optional--',
  7649. "//a[contains(@href,'file-upload.net')]");
  7650. }
  7651. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7652. {
  7653. addFileHost(
  7654. "gulfup\.com\/",
  7655. '<!-- Downlod template -->|download.gif',
  7656. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7657. 'optional--',
  7658. //'optional--',
  7659. "//a[contains(@href,'gulfup.com')]");
  7660. }
  7661. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7662. {
  7663. addFileHost(
  7664. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7665. 'dldtable">',
  7666. 'does not exist\\.',
  7667. 'optional--',
  7668. //'optional--',
  7669. "//a[contains(@href,'datafilehost.com')]");
  7670. }
  7671. if (GM_getValue("Check_box_dot_com_links", false))
  7672. {
  7673. addFileHost(
  7674. "box\.com\/\\w+",
  7675. 'download-file-btn|id="download_button',
  7676. 'BIyMin.png| <div class="error_message|link has been removed',
  7677. 'optional--',
  7678. //'optional--',
  7679. "//a[contains(@href,'app.box.com')]");
  7680. }
  7681. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7682. {
  7683. addFileHost(
  7684. "dropbox\.com\/s\/\\w+",
  7685. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7686. '>Nothing Here<|>Error (404)<',
  7687. 'title>Dropbox - 509|Error (403)|Error: 429',
  7688. "//a[contains(@href,'dropbox.com')]");
  7689. }
  7690. if (GM_getValue("Check_box_dot_net_links", false))
  7691. {
  7692. addFileHost(
  7693. "box\.net\/\\w+",
  7694. 'download-file-btn|id="download_button',
  7695. 'BIyMin.png| <div class="error_message',
  7696. 'optional--',
  7697. //'optional--',
  7698. "//a[contains(@href,'box.net')]");
  7699. }
  7700. if (GM_getValue("Check_fileband_dot_com_links", false))
  7701. {
  7702. addFileHost(
  7703. "fileband\.com\/\\w+",
  7704. 'value="download1">|name="id" value=',
  7705. '<div style="width:500px;text-align:left;">|not be found',
  7706. 'optional--',
  7707. //'optional--',
  7708. "//a[contains(@href,'fileband.com')]");
  7709. }
  7710. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7711. {
  7712. addFileHost(
  7713. "filedropper\.com\/\\w+",
  7714. 'background:#ddd;|width:985px; ',
  7715. 'background-color:#FFFFFF;|margin-left: -400px;',
  7716. 'optional--',
  7717. //'optional--',
  7718. "//a[contains(@href,'filedropper.com')]");
  7719. }
  7720. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7721. {
  7722. addFileHost(
  7723. "tropicshare\\.com\/files\/\\d+",
  7724. 'MB</span>|GB</span>|KB</span>',
  7725. '>FNF<|size: </span>',
  7726. 'optional--',
  7727. //'optional--',
  7728. "//a[contains(@href,'tropicshare.com')]");
  7729. }
  7730. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7731. {
  7732. addFileHost(
  7733. "goldbytez\.com\/\\w+",
  7734. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7735. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7736. 'optional--',
  7737. //'optional--',
  7738. "//a[contains(@href,'goldbytez.com')]");
  7739. }
  7740. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7741. {
  7742. addFileHost(
  7743. "worldbytez\.com\/\\w+",
  7744. '<div class="download_type">',
  7745. '<div style="width:500px;text-align:left;">',
  7746. 'optional--',
  7747. //'optional--',
  7748. "//a[contains(@href,'worldbytez.com')]");
  7749. }
  7750. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7751. {
  7752. addFileHost(
  7753. "freefilehosting\.net\/\\w+",
  7754. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7755. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7756. 'optional--',
  7757. //'optional--',
  7758. "//a[contains(@href,'freefilehosting.net')]");
  7759. }
  7760. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7761. {
  7762. addFileHost(
  7763. "ziddu\.com\/\\w+",
  7764. 'downloads.ziddu.com|downloadfilelinkicon',
  7765. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7766. 'optional--',
  7767. //'optional--',
  7768. "//a[contains(@href,'ziddu.com')]");
  7769. }
  7770. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7771. {
  7772. addFileHost(
  7773. "exclusiveloader\.com\/\\w+",
  7774. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7775. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7776. 'optional--',
  7777. //'optional--',
  7778. "//a[contains(@href,'exclusiveloader.com')]");
  7779. }
  7780. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7781. {
  7782. addFileHost(
  7783. "sharerapid\.cz\/\\w+",
  7784. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7785. 'error_div">|404 - Not Found',
  7786. 'optional--',
  7787. //'optional--',
  7788. "//a[contains(@href,'sharerapid.cz')]");
  7789. }
  7790. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7791. {
  7792. addFileHost(
  7793. "sdilej\.cz\/\\w+",
  7794. 'class="page-download"',
  7795. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7796. 'optional--',
  7797. //'optional--',
  7798. "//a[contains(@href,'sdilej.cz')]");
  7799. }
  7800. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7801. {
  7802. addFileHost(
  7803. "lafiles\.com\/\\w+",
  7804. '<div id="pay_modes">',
  7805. '<b class="err"></b>',
  7806. 'optional--',
  7807. //'optional--',
  7808. "//a[contains(@href,'lafiles.com')]");
  7809. }
  7810. if (GM_getValue("Check_acefile_dot_net_links", false))
  7811. {
  7812. addFileHost(
  7813. "acefile\.net\/\\w+",
  7814. 'align=right nowrap><b>',
  7815. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7816. 'optional--',
  7817. //'optional--',
  7818. "//a[contains(@href,'acefile.net')]");
  7819. }
  7820. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7821. {
  7822. addFileHost(
  7823. "megarapid\.cz\/\\w+",
  7824. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7825. 'error_div">|404 - Not Found',
  7826. 'optional--',
  7827. //'optional--',
  7828. "//a[contains(@href,'megarapid.cz')]");
  7829. }
  7830. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7831. {
  7832. addFileHost(
  7833. "yadi\.sk\/\\w+",
  7834. 'twitter:site|View and download',
  7835. 'error code|Nothing found',
  7836. 'optional--',
  7837. //'optional--',
  7838. "//a[contains(@href,'yadi.sk')]");
  7839. }
  7840. if (GM_getValue("Check_imdb_dot_com_links", false))
  7841. {
  7842. addFileHost(
  7843. "imdb\.com\/\\w+",
  7844. 'imdb.com',
  7845. '404 Error',
  7846. 'optional--',
  7847. "//a[contains(@href,'imdb.com')]");
  7848. }
  7849. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7850. {
  7851. addFileHost(
  7852. "hitfile\.net\/\\w+",
  7853. 'class="download-file',
  7854. 'style="width:16px;height:16px;border:0;|File not found|Файл не найден. Возможно он был удален',
  7855. 'optional--',
  7856. //'optional--',
  7857. "//a[contains(@href,'hitfile.net')]");
  7858. }
  7859. /* if (GM_getValue("Check_uploadto_dot_us_links", false))
  7860. {
  7861. addFileHost(
  7862. "uploadto\\.us\/file\/details\/[\\w+-]",
  7863. 'name="recaptcha_response',
  7864. '="/folder/add"|>File (?:not found|restricted|has been deleted)|<title>UPLOADTO.US</title>',
  7865. 'btn-large btn-danger">|Account limitation notice|502 Bad Gateway',
  7866. "//a[contains(@href,'uploadto.us/file')]",
  7867. true);
  7868. } */
  7869. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  7870. {
  7871. addFileHost(
  7872. "nitroflare\.com\/\\w+",
  7873. 'MB</span>|left;">1 GB<|KB</span>|left;">1.0',
  7874. 'file has been removed|id="error" style="display|Probably deleted',
  7875. 'optional--',
  7876. "//a[contains(@href,'nitroflare.com')]");
  7877. }
  7878. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7879. {
  7880. addFileHost(
  7881. "up.top4top\.net\/\\w+",
  7882. 'start Downlod template',
  7883. 'start err template',
  7884. 'optional--',
  7885. "//a[contains(@href,'up.top4top.net')]");
  7886. }
  7887. if (GM_getValue("Check_filejoker_dot_net_links", false))
  7888. {
  7889. addFileHost(
  7890. "filejoker\.net\/\\w+",
  7891. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">',
  7892. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  7893. 'optional--',
  7894. "//a[contains(@href,'filejoker.net')]");
  7895. }
  7896. if (GM_getValue("Check_free_dot_fr_links", false))
  7897. {
  7898. addFileHost(
  7899. "(?:dl.\\.|)free\\.fr",
  7900. 'Valider et t&eacute;l&eacute',
  7901. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  7902. 'optional--',
  7903. "//a[contains(@href,'dl.free.fr')]");
  7904. }
  7905. if (GM_getValue("Check_gboxes_dot_com_links", false))
  7906. {
  7907. addFileHost(
  7908. "gboxes\.com\/\\w+",
  7909. 'You have requested|color="red">http://www.gboxes.com',
  7910. 'File Not Found|<div style="width:500px;text-align:left;">',
  7911. 'optional--',
  7912. "//a[contains(@href,'gboxes.com')]");
  7913. }
  7914. if (GM_getValue("Check_1fichier_dot_com_links", false))
  7915. {
  7916. addFileHost(
  7917. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  7918. '<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Télécharger|submit" value="Télécharger',
  7919. '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é',
  7920. 'optional--',
  7921. "//a[contains(@href,'1fichier') or contains(@href,'dl4free.com/')]"
  7922. );
  7923. }
  7924. if (GM_getValue("Check_led_dot_wf_links", false))
  7925. {
  7926. addFileHost(
  7927. "led\.wf\/\\w+",
  7928. 'logo_0.png|downloads.gif"|verifycode',
  7929. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7930. 'optional--',
  7931. "//a[contains(@href,'led.wf')]");
  7932. }
  7933. if (GM_getValue("Check_lan_dot_wf_links", false))
  7934. {
  7935. addFileHost(
  7936. "lan\.wf\/\\w+",
  7937. 'logo_0.png|downloads.gif"|verifycode',
  7938. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7939. 'optional--',
  7940. "//a[contains(@href,'lan.wf')]");
  7941. }
  7942. if (GM_getValue("Check_adlink_dot_wf_links", false))
  7943. {
  7944. addFileHost(
  7945. "adlink\.wf\/\\w+",
  7946. 'logo_0.png|downloads.gif"|verifycode',
  7947. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7948. 'optional--',
  7949. "//a[contains(@href,'adlink.wf')]");
  7950. }
  7951. if (GM_getValue("Check_click_dot_tf_links", false))
  7952. {
  7953. addFileHost(
  7954. "click\.tf\/\\w+",
  7955. 'logo_0.png|downloads.gif"|verifycode',
  7956. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7957. 'optional--',
  7958. "//a[contains(@href,'click.tf')]");
  7959. }
  7960. if (GM_getValue("Check_ssh_dot_tf_links", false))
  7961. {
  7962. addFileHost(
  7963. "ssh\.tf\/\\w+",
  7964. 'logo_0.png|downloads.gif"|verifycode',
  7965. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7966. 'optional--',
  7967. "//a[contains(@href,'ssh.tf')]");
  7968. }
  7969. if (GM_getValue("Check_ssh_dot_yt_links", false))
  7970. {
  7971. addFileHost(
  7972. "ssh\.yt\/\\w+",
  7973. 'logo_0.png|downloads.gif"|verifycode',
  7974. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7975. 'optional--',
  7976. "//a[contains(@href,'ssh.yt')]");
  7977. }
  7978. if (GM_getValue("Check_yep_dot_pm_links", false))
  7979. {
  7980. addFileHost(
  7981. "yep\.pm\/\\w+",
  7982. 'logo_0.png|downloads.gif"|verifycode',
  7983. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7984. 'optional--',
  7985. "//a[contains(@href,'yep.pm')]");
  7986. }
  7987. if (GM_getValue("Check_kyc_dot_pm_links", false))
  7988. {
  7989. addFileHost(
  7990. "kyc\.pm\/\\w+",
  7991. 'logo_0.png|downloads.gif"|verifycode',
  7992. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7993. 'optional--',
  7994. "//a[contains(@href,'kyc.pm')]");
  7995. }
  7996. if (GM_getValue("Check_brupload_dot_net_links", false))
  7997. {
  7998. addFileHost(
  7999. "brupload\.net\/\\w+",
  8000. 'Download Gratuito',
  8001. '<div style="width:500px;text-align:left;">',
  8002. 'optional--',
  8003. //'optional--',
  8004. "//a[contains(@href,'brupload.net')]");
  8005. }
  8006. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8007. {
  8008. addFileHost(
  8009. "cloudzilla\.to\/\\w+",
  8010. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8011. 'File not found|/imgs/broken.png',
  8012. 'optional--',
  8013. //'optional--',
  8014. "//a[contains(@href,'cloudzilla.to')]");
  8015. }
  8016. if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8017. {
  8018. addFileHost(
  8019. "fileparadox\.in\/\\w+",
  8020. 'CONTENT="Download File|method_free_file',
  8021. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8022. 'optional--',
  8023. //'optional--',
  8024. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8025. }
  8026. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8027. {
  8028. addFileHost(
  8029. "clicknupload\.com\/\\w+",
  8030. 'name="method_free',
  8031. 'File Not Found',
  8032. 'optional--',
  8033. //'optional--',
  8034. "//a[contains(@href,'clicknupload.com')]");
  8035. }
  8036. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8037. {
  8038. addFileHost(
  8039. "ex-load\.com\/\\w+",
  8040. 'name="method_free|<p>Download File:</p>',
  8041. 'Folder Not Found|File Not Found|Error 404',
  8042. 'optional--',
  8043. //'optional--',
  8044. "//a[contains(@href,'ex-load.com')]");
  8045. }
  8046. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8047. {
  8048. addFileHost(
  8049. "hexupload\.com\/\\w+",
  8050. 'button" value="Free|type="submit" value=""',
  8051. 'File Not Found|<div style="width:500px;text-align:left;">',
  8052. 'optional--',
  8053. //'optional--',
  8054. "//a[contains(@href,'hexupload.com')]");
  8055. }
  8056. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8057. {
  8058. addFileHost(
  8059. "wizupload\.com\/\\w+",
  8060. 'btn_download|class="downloadbtn"',
  8061. '>File Not Found<',
  8062. 'optional--',
  8063. //'optional--',
  8064. "//a[contains(@href,'wizupload.com')]");
  8065. }
  8066. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8067. {
  8068. addFileHost(
  8069. "filecloud\.cc\/\\w+",
  8070. 'align="center"><input type="submit" name=',
  8071. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8072. 'optional--',
  8073. //'optional--',
  8074. "//a[contains(@href,'filecloud.cc')]");
  8075. }
  8076. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8077. {
  8078. addFileHost(
  8079. "inclouddrive\.com\/\\w+",
  8080. 'initfreedownload',
  8081. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8082. 'optional--',
  8083. //'optional--',
  8084. "//a[contains(@href,'inclouddrive.com')]");
  8085. }
  8086. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8087. {
  8088. addFileHost(
  8089. "radicalshare\.com\/\\w+",
  8090. 'value="download1|name="method_free"',
  8091. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8092. 'optional--',
  8093. //'optional--',
  8094. "//a[contains(@href,'radicalshare.com')]");
  8095. }
  8096. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8097. {
  8098. addFileHost(
  8099. "sharemods\.com\/\\w+",
  8100. 'name="method_free"',
  8101. 'File Not Found<',
  8102. 'optional--',
  8103. //'optional--',
  8104. "//a[contains(@href,'sharemods.com')]");
  8105. }
  8106. if (GM_getValue("Check_hostr_dot_co_links", false))
  8107. {
  8108. addFileHost(
  8109. "hostr\.co\/\\w+",
  8110. 'method="get"',
  8111. 'File not found<|error-page',
  8112. 'optional--',
  8113. //'optional--',
  8114. "//a[contains(@href,'hostr.co')]");
  8115. }
  8116. if (GM_getValue("Check_filepi_dot_com_links", false))
  8117. {
  8118. addFileHost(
  8119. "filepi\.com\/\\w+",
  8120. 'id="button_start">',
  8121. 'File not found',
  8122. 'optional--',
  8123. //'optional--',
  8124. "//a[contains(@href,'filepi.com')]");
  8125. }
  8126. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8127. {
  8128. addFileHost(
  8129. "tikfile\.com\/\\w+",
  8130. 'btn_download',
  8131. 'File Not Found|file was removed|Reason for deletion',
  8132. 'optional--',
  8133. //'optional--',
  8134. "//a[contains(@href,'tikfile.com')]");
  8135. }
  8136. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8137. {
  8138. addFileHost(
  8139. "cloudsix\.me\/\\w+",
  8140. 'name="method_free"',
  8141. 'File Not Found|width:500px;text-align:left;">',
  8142. 'optional--',
  8143. //'optional--',
  8144. "//a[contains(@href,'cloudsix.me')]");
  8145. }
  8146. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8147. {
  8148. addFileHost(
  8149. "neodrive\.co\/\\w+",
  8150. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8151. 'File not found|/imgs/broken.png',
  8152. 'optional--',
  8153. //'optional--',
  8154. "//a[contains(@href,'neodrive.co')]");
  8155. }
  8156. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8157. {
  8158. addFileHost(
  8159. "chayfile\.com\/\\w+",
  8160. 'name="method_free"',
  8161. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8162. 'optional--',
  8163. //'optional--',
  8164. "//a[contains(@href,'chayfile.com')]");
  8165. }
  8166. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8167. {
  8168. addFileHost(
  8169. "xfileload\.com\/\\w+",
  8170. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8171. '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..|הקובץ שחיפשת לא נמצא.',
  8172. 'optional--',
  8173. //'optional--',
  8174. "//a[contains(@href,'xfileload.com')]");
  8175. }
  8176. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8177. {
  8178. addFileHost(
  8179. "rockfile\.eu\/\\w+",
  8180. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8181. 'The file you were looking for could not be found, sorry for any inconvenience.',
  8182. 'optional--',
  8183. //'optional--',
  8184. "//a[contains(@href,'rockfile.eu')]");
  8185. }
  8186. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8187. {
  8188. addFileHost(
  8189. "24uploading\.com\/\\w+",
  8190. 'File:|Download Speed:',
  8191. '<b>File Not Found</b>|file was removed',
  8192. 'optional--',
  8193. //'optional--',
  8194. "//a[contains(@href,'24uploading.com')]");
  8195. }
  8196. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8197. {
  8198. addFileHost(
  8199. "tusfiles\.net\/\\w+",
  8200. 'i/icon/dll.png"|>Start download<br',
  8201. 'no longer available<|i/ino.png"',
  8202. 'optional--',
  8203. //'optional--',
  8204. "//a[contains(@href,'tusfiles.net')]");
  8205. }
  8206. if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8207. {
  8208. addFileHost(
  8209. "jumbofile\.net\/\\w+",
  8210. 'button" class="" value="Free',
  8211. 'This File Was Deleted',
  8212. 'optional--',
  8213. //'optional--',
  8214. "//a[contains(@href,'jumbofile.net')]");
  8215. }
  8216. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8217. {
  8218. addFileHost(
  8219. "ozofiles\.com\/\\w+",
  8220. 'button" value="Free',
  8221. 'File Not Found|width:500px;text-align:left;">|File Deleted',
  8222. 'optional--',
  8223. //'optional--',
  8224. "//a[contains(@href,'ozofiles.com')]");
  8225. }
  8226. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8227. {
  8228. addFileHost(
  8229. "loudupload\.net\/\\w+",
  8230. 'value="Get Links',
  8231. 'File Not Found',
  8232. 'optional--',
  8233. //'optional--',
  8234. "//a[contains(@href,'loudupload.net')]");
  8235. }
  8236. if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8237. {
  8238. addFileHost(
  8239. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8240. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8241. '>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">',
  8242. 'optional--',
  8243. //'optional--',
  8244. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8245. }
  8246. if (GM_getValue("Check_krotix_dot_net_links", false))
  8247. {
  8248. addFileHost(
  8249. "krotix\.net\/\\w+",
  8250. 'btn btn-warning|btn-free',
  8251. 'pageErrors|This File has been removed',
  8252. 'content="Scheduled Maintenance',
  8253. //'optional--',
  8254. "//a[contains(@href,'krotix.net')]");
  8255. }
  8256. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8257. {
  8258. addFileHost(
  8259. "userscloud\.com\/\\w+",
  8260. 'btn_download',
  8261. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8262. 'optional--',
  8263. //'optional--',
  8264. "//a[contains(@href,'userscloud.com')]");
  8265. }
  8266. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8267. {
  8268. addFileHost(
  8269. "kumpulbagi\.com\/\\w+",
  8270. 'class="button download',
  8271. 'internal server error',
  8272. 'optional--',
  8273. //'optional--',
  8274. "//a[contains(@href,'kumpulbagi.com')]");
  8275. }
  8276. if (GM_getValue("Check_faststore_dot_org_links", false))
  8277. {
  8278. addFileHost(
  8279. "faststore\.org\/\\w+",
  8280. 'name="method_free',
  8281. 'File Not Found',
  8282. 'optional--',
  8283. //'optional--',
  8284. "//a[contains(@href,'faststore.org')]");
  8285. }
  8286. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8287. {
  8288. addFileHost(
  8289. "prefiles\.com\/\\w+",
  8290. 'id="method_free',
  8291. 'File not Found',
  8292. 'optional--',
  8293. //'optional--',
  8294. "//a[contains(@href,'prefiles.com')]");
  8295. }
  8296. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8297. {
  8298. addFileHost(
  8299. "doraupload\.com\/\\w+",
  8300. 'btn_download',
  8301. 'class="error-code|Could Not Be Found',
  8302. 'optional--',
  8303. //'optional--',
  8304. "//a[contains(@href,'doraupload.com')]");
  8305. }
  8306. if (GM_getValue("Check_openload_dot_io_links", false))
  8307. {
  8308. addFileHost(
  8309. "openload\.io\/\\w+",
  8310. 'btn btn-primary|class="count">',
  8311. 'class="jumbotron">|We are sorry',
  8312. 'optional--',
  8313. //'optional--',
  8314. "//a[contains(@href,'openload.io')]");
  8315. }
  8316. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8317. {
  8318. addFileHost(
  8319. "uploads\.xxx\/\\w+",
  8320. 'downoadForFree',
  8321. 'File not found',
  8322. 'optional--',
  8323. //'optional--',
  8324. "//a[contains(@href,'uploads.xxx')]");
  8325. }
  8326. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8327. {
  8328. addFileHost(
  8329. "zxcfiles\.com\/\\w+",
  8330. 'class="downloadbtn',
  8331. 'File Not Found',
  8332. 'optional--',
  8333. //'optional--',
  8334. "//a[contains(@href,'zxcfiles.com')]");
  8335. }
  8336. if (GM_getValue("Check_up07_dot_net_links", false))
  8337. {
  8338. addFileHost(
  8339. "up07\.net\/\\w+",
  8340. 'name="method_free',
  8341. 'File Not Found',
  8342. 'optional--',
  8343. //'optional--',
  8344. "//a[contains(@href,'up07.net')]");
  8345. }
  8346. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8347. {
  8348. addFileHost(
  8349. "fileupload\.pw\/\\w+",
  8350. 'value="Free"',
  8351. 'File Not Found',
  8352. 'optional--',
  8353. //'optional--',
  8354. "//a[contains(@href,'fileupload.pw')]");
  8355. }
  8356. if (GM_getValue("Check_4upld_dot_com_links", false))
  8357. {
  8358. addFileHost(
  8359. "4upld\.com\/\\w+",
  8360. 'alt="Download Now"|content="Download file">|btn-free-element',
  8361. '<title>Error|content="error|File not found',
  8362. 'optional--',
  8363. //'optional--',
  8364. "//a[contains(@href,'4upld.com')]");
  8365. }
  8366. if (GM_getValue("Check_newfileland_dot_com_links", false))
  8367. {
  8368. addFileHost(
  8369. "newfileland\.com\/\\w+",
  8370. 'name="method_free',
  8371. 'File Not Found',
  8372. 'optional--',
  8373. //'optional--',
  8374. "//a[contains(@href,'newfileland.com')]");
  8375. }
  8376. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8377. {
  8378. addFileHost(
  8379. "(?:.swoopshare)\\.com\/\\w+",
  8380. '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',
  8381. '<input type="file" name="f"',
  8382. 'optional--',
  8383. //'optional--',
  8384. "//a[contains(@href,'swoopshare.com')]"
  8385. );
  8386. }
  8387. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8388. {
  8389. addFileHost(
  8390. "cloudshares\.net\/\\w+",
  8391. '"method_free|"Low Speed Download|submit" name="go',
  8392. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8393. 'optional--',
  8394. //'optional--',
  8395. "//a[contains(@href,'cloudshares.net')]"
  8396. );
  8397. }
  8398. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8399. {
  8400. addFileHost(
  8401. "allmyvideos\.net\/\\w+",
  8402. 'Continue to Video',
  8403. 'File Not Found|class="err">Removed for',
  8404. 'optional--',
  8405. //'optional--',
  8406. "//a[contains(@href,'allmyvideos.net')]"
  8407. );
  8408. }
  8409. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8410. {
  8411. addFileHost(
  8412. "vodlocker\.com\/\\w+",
  8413. 'Proceed to video',
  8414. 'Not Found',
  8415. 'optional--',
  8416. //'optional--',
  8417. "//a[contains(@href,'vodlocker.com')]"
  8418. );
  8419. }
  8420. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8421. {
  8422. addFileHost(
  8423. "vidbull\.com\/\\w+",
  8424. 'Verifying Video Request',
  8425. 'File Not Found',
  8426. 'optional--',
  8427. //'optional--',
  8428. "//a[contains(@href,'vidbull.com')]");
  8429. }
  8430. if (GM_getValue("Check_novamov_dot_com_links", false))
  8431. {
  8432. addFileHost(
  8433. "novamov\.com\/\\w+",
  8434. 'For version detection',
  8435. 'file no longer exists',
  8436. 'optional--',
  8437. //'optional--',
  8438. "//a[contains(@href,'novamov.com')]"
  8439. );
  8440. }
  8441. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8442. {
  8443. addFileHost(
  8444. "filehoot\.com\/\\w+",
  8445. 'Continue to watch',
  8446. 'File Not Found',
  8447. 'optional--',
  8448. //'optional--',
  8449. "//a[contains(@href,'filehoot.com')]"
  8450. );
  8451. }
  8452. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8453. {
  8454. addFileHost(
  8455. "stagevu\.com\/\\w+",
  8456. 'Video Info',
  8457. 'No video with the provided',
  8458. 'optional--',
  8459. //'optional--',
  8460. "//a[contains(@href,'stagevu.com')]"
  8461. );
  8462. }
  8463. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8464. {
  8465. addFileHost(
  8466. "cloudtime\.to\/\\w+",
  8467. 'Download the video',
  8468. 'no longer exists',
  8469. 'optional--',
  8470. //'optional--',
  8471. "//a[contains(@href,'cloudtime.to')]"
  8472. );
  8473. }
  8474. if (GM_getValue("Check_streamin_dot_to_links", false))
  8475. {
  8476. addFileHost(
  8477. "streamin\.to\/\\w+",
  8478. 'id="btn_download',
  8479. 'Not Found|Copyright Infringement|File Deleted',
  8480. 'optional--',
  8481. //'optional--',
  8482. "//a[contains(@href,'streamin.to')]"
  8483. );
  8484. }
  8485. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8486. {
  8487. addFileHost(
  8488. "videoweed\.es\/\\w+",
  8489. 'version detection',
  8490. 'no longer exists',
  8491. 'optional--',
  8492. //'optional--',
  8493. "//a[contains(@href,'videoweed.es')]"
  8494. );
  8495. }
  8496. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8497. {
  8498. addFileHost(
  8499. "nowvideo\.sx\/\\w+",
  8500. 'Download this video',
  8501. 'no longer exists',
  8502. 'optional--',
  8503. //'optional--',
  8504. "//a[contains(@href,'nowvideo.sx')]"
  8505. );
  8506. }
  8507. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8508. {
  8509. addFileHost(
  8510. "thevideo\.me\/\\w+",
  8511. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8512. 'File Not Found',
  8513. 'optional--',
  8514. //'optional--',
  8515. "//a[contains(@href,'thevideo.me')]"
  8516. );
  8517. }
  8518. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8519. {
  8520. addFileHost(
  8521. "gorillavid\.in\/\\w+",
  8522. 'Wait 5 seconds',
  8523. 'File Not Found',
  8524. 'optional--',
  8525. //'optional--',
  8526. "//a[contains(@href,'gorillavid.in')]"
  8527. );
  8528. }
  8529. if (GM_getValue("Check_thefile_dot_me_links", false))
  8530. {
  8531. addFileHost(
  8532. "thefile\.me\/\\w+",
  8533. 'Choose free or',
  8534. '',
  8535. 'optional--',
  8536. //'optional--',
  8537. "//a[contains(@href,'thefile.me')]"
  8538. );
  8539. }
  8540. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8541. {
  8542. addFileHost(
  8543. "vidzi\.tv\/\\w+",
  8544. 'video-embed-modal row',
  8545. 'File Not Found|file was deleted',
  8546. 'optional--',
  8547. //'optional--',
  8548. "//a[contains(@href,'vidzi.tv')]"
  8549. );
  8550. }
  8551. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8552. {
  8553. addFileHost(
  8554. "filenuke\.com\/\\w+",
  8555. 'Download File',
  8556. 'Earn with us',
  8557. 'optional--',
  8558. //'optional--',
  8559. "//a[contains(@href,'filenuke.com')]"
  8560. );
  8561. }
  8562. if (GM_getValue("Check_vidto_dot_me_links", false))
  8563. {
  8564. addFileHost(
  8565. "vidto\.me\/\\w+",
  8566. 'Proceed to video',
  8567. 'Not Found',
  8568. 'optional--',
  8569. //'optional--',
  8570. "//a[contains(@href,'vidto.me')]"
  8571. );
  8572. }
  8573. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8574. {
  8575. addFileHost(
  8576. "vidspot\.net\/\\w+",
  8577. 'Duration',
  8578. 'Removed for',
  8579. 'optional--',
  8580. //'optional--',
  8581. "//a[contains(@href,'vidspot.net')]"
  8582. );
  8583. }
  8584. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8585. {
  8586. addFileHost(
  8587. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8588. 'Download File',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. //'optional--',
  8592. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8593. );
  8594. }
  8595. if (GM_getValue("Check_movpod_dot_in_links", false))
  8596. {
  8597. addFileHost(
  8598. "movpod\.in\/\\w+",
  8599. 'Continue',
  8600. 'File Not Found',
  8601. 'optional--',
  8602. //'optional--',
  8603. "//a[contains(@href,'movpod.in')]"
  8604. );
  8605. }
  8606. if (GM_getValue("Check_down4files_dot_com_links", false))
  8607. {
  8608. addFileHost(
  8609. "down4files\.com\/\\w+",
  8610. 'down_table.png',
  8611. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8612. 'optional--',
  8613. //'optional--',
  8614. "//a[contains(@href,'down4files.com')]"
  8615. );
  8616. }
  8617. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8618. {
  8619. addFileHost(
  8620. "storefiles\.co\/\\w+",
  8621. 'btn_download',
  8622. 'No such file|>Error<|mqmaintitle">',
  8623. 'optional--',
  8624. //'optional--',
  8625. "//a[contains(@href,'storefiles.co')]"
  8626. );
  8627. }
  8628. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8629. {
  8630. addFileHost(
  8631. "filehost\.pw\/\\w+",
  8632. 'name="method_free',
  8633. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8634. 'optional--',
  8635. //'optional--',
  8636. "//a[contains(@href,'filehost.pw')]"
  8637. );
  8638. }
  8639. if (GM_getValue("Check_inafile_dot_com_links", false))
  8640. {
  8641. addFileHost(
  8642. "inafile\.com\/\\w+",
  8643. 'value="download1">|<h2>File: <font style="color:darkred">',
  8644. '<div style="width:500px;text-align:left;">|File Not Found',
  8645. 'optional--',
  8646. //'optional--',
  8647. "//a[contains(@href,'inafile.com')]"
  8648. );
  8649. }
  8650. if (GM_getValue("Check_uplea_dot_com_links", false))
  8651. {
  8652. addFileHost(
  8653. "uplea\.com\/\\w+",
  8654. 'Download your file:|de votre fichier:|class="download-container',
  8655. 'expired link|ou est invalide',
  8656. 'optional--',
  8657. //'optional--',
  8658. "//a[contains(@href,'uplea.com/dl')]"
  8659. );
  8660. }
  8661. if (GM_getValue("Check_openload_dot_co_links", false))
  8662. {
  8663. addFileHost(
  8664. "openload\.co\/\\w+",
  8665. 'id="downloadTimer">|button dlbutton',
  8666. 'jumbotron{color|got deleted|center !important',
  8667. 'optional--',
  8668. //'optional--',
  8669. "//a[contains(@href,'openload.co')]"
  8670. );
  8671. }
  8672.  
  8673.  
  8674. }
  8675. //start here
  8676.  
  8677. //hosts with direct download, so they must be requested for headers only
  8678. function initFileHostsHeadersOnly()
  8679. {
  8680. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8681. {
  8682. var host = new Array(5);
  8683. host[0] = linkRegex;
  8684. host[1] = isAliveRegex;
  8685. host[2] = isDeadRegex;
  8686. host[3] = xpathEx;
  8687. host[4] = ispremRegex;
  8688. http_file_hosts_headers_only.push(host);
  8689. }
  8690. if (GM_getValue("Check_uloziste_dot_com_links", false))
  8691. {
  8692. addFileHostHeadersOnly(
  8693. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  8694. 'Connection: Keep-Alive',
  8695. 'Content-Length: 3857',
  8696. "//a[contains(@href,'uloziste.com')]"
  8697. )
  8698. }
  8699. if (GM_getValue("Check_adrive_dot_com_links", false))
  8700. {
  8701. addFileHostHeadersOnly(
  8702. "adrive\\.com\/public\/\\w+",
  8703. 'Connection: keep-alive',
  8704. 'orig_ref=deleted',
  8705. "//a[contains(@href,'adrive.com')]"
  8706. )
  8707. }
  8708. if (GM_getValue("Check_myupload_dot_dk_links", false))
  8709. {
  8710. addFileHostHeadersOnly(
  8711. "myupload\\.dk\/showfile\/\\w+",
  8712. 'Expires:',
  8713. 'squeeze1\\s+Vary',
  8714. "//a[contains(@href,'myupload.dk/showfile')]"
  8715. )
  8716. }
  8717. }
  8718. //CustomRules
  8719. //functions add...Host copied here
  8720. function addObsoleteHost(linkRegex, xpathEx)
  8721. {
  8722. var host = new Array(2);
  8723. host[0] = linkRegex;
  8724. host[1] = xpathEx;
  8725. http_file_hosts_obsolete.push(host);
  8726. }
  8727. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  8728. {
  8729. var host = new Array(7);
  8730. host[0] = linkRegex;
  8731. host[1] = isAliveRegex;
  8732. host[2] = isDeadRegex;
  8733. host[3] = isUnavaRegex;
  8734. host[4] = xpathEx;
  8735. tryLoop ? host[5] = true : host[5] = false;
  8736. host[6] = ispremRegex;
  8737. http_file_hosts.push(host);
  8738. }
  8739. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8740. {
  8741. var host = new Array(5);
  8742. host[0] = linkRegex;
  8743. host[1] = isAliveRegex;
  8744. host[2] = isDeadRegex;
  8745. host[3] = xpathEx;
  8746. host[4] = ispremRegex;
  8747. http_file_hosts_headers_only.push(host);
  8748. }
  8749. //takes a fully built rules array and adds the rules to WARLC
  8750. function applyCustomRules(customRules)
  8751. {
  8752. if (!customRules) return;
  8753. var rules, r, i;
  8754. rules = customRules.rules;
  8755. for (i = 0 ; i < rules.length ; i++)
  8756. {
  8757. r = rules[i];
  8758. if (r.enabled)
  8759. {
  8760. switch (r.type)
  8761. {
  8762. case 'single':
  8763. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  8764. break;
  8765. case 'headers':
  8766. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  8767. break;
  8768. case 'obsolete':
  8769. addObsoleteHost(r.urlregex, r.xpath)
  8770. break;
  8771. }
  8772. }
  8773. }
  8774. }
  8775.  
  8776.  
  8777. function initFileHostsCustom()
  8778. {
  8779. if (Custom_rules && Custom_rules_text)
  8780. {
  8781. var msg = '';
  8782. if (newVersion)
  8783. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  8784. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  8785. msg = '60 or more days have passed since this notification.\n\n';
  8786. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  8787. {
  8788. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  8789. msg +=
  8790. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  8791. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  8792. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  8793. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  8794. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  8795. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  8796. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  8797. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  8798. setTimeout(function(){alert(msg)},0);
  8799. }
  8800. var customRules = parseCustomRules(Custom_rules_text);
  8801. if (customRules.warning || customRules.error)
  8802. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  8803. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  8804. JSON.stringify(customRules.info, null, ' '));
  8805. applyCustomRules(customRules);
  8806. }
  8807. }
  8808. //end of CustomRules processing
  8809.  
  8810.  
  8811.  
  8812. } //end of function start
  8813.  
  8814.  
  8815.  
  8816. function initClipBoardTools()
  8817. {
  8818. unsafeWindow.copyToClipboard = function(text)
  8819. {
  8820. try
  8821. {
  8822. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  8823.  
  8824. var str = Components.classes["@mozilla.org/supports-string;1"].
  8825. createInstance(Components.interfaces.nsISupportsString);
  8826. if (!str) return false;
  8827.  
  8828. str.data = text;
  8829.  
  8830. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  8831. createInstance(Components.interfaces.nsITransferable);
  8832. if (!trans) return false;
  8833.  
  8834. trans.addDataFlavor("text/unicode");
  8835. trans.setTransferData("text/unicode", str, text.length * 2);
  8836.  
  8837. var clipid = Components.interfaces.nsIClipboard;
  8838. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  8839. if (!clip) return false;
  8840.  
  8841. clip.setData(trans, null, clipid.kGlobalClipboard);
  8842. } catch (e) {
  8843. GM_log("Error copyToClipboard : " + e);
  8844. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  8845. }
  8846. }
  8847. }
  8848.  
  8849.  
  8850.  
  8851. //CustomRules
  8852.  
  8853. function escapeRegex(str)
  8854. {
  8855. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  8856. }
  8857.  
  8858.  
  8859. //called internally from parseCustomRules.
  8860. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  8861. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  8862. function makeCustomRule(rule)
  8863. {
  8864. function makeMatchRegex(arrmatch)
  8865. {
  8866. return escapeRegex(arrmatch.join('\n'))
  8867. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  8868. .replace(/\n/g,'|'); //join together
  8869. }
  8870. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  8871. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  8872. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  8873. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  8874. if (rule.baseurl)
  8875. {
  8876. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  8877. for (i = 0 ; i < len ; i++)
  8878. {
  8879. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  8880. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  8881. {
  8882. 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'])
  8883. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  8884. }
  8885. else //baseurl in the form: example.com/xxx
  8886. {
  8887. xpath.push(m[0]);
  8888. urlregex.push(escapeRegex(m[0]) + '.');
  8889. }
  8890. }
  8891. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  8892. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  8893. }
  8894. return rule;
  8895. } //function makeCustomRule
  8896.  
  8897.  
  8898. /*
  8899. Takes a string containing custom link checking rules.
  8900. Returns an object with fields:
  8901. info - contains notes, warnings and errors found during parsing
  8902. rules - the array of custom rules
  8903. note, warning, error - number of each of them found during parsing
  8904. Format of the input string:
  8905. One command per line. Command format: @keyword parameter
  8906. Keywords:
  8907. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  8908. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  8909. These keywords can be multiple (any of them will work):
  8910. @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...)
  8911. @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+
  8912. @alivelink, @deadlink - example links
  8913. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  8914. Lines starting with // and empty lines are ignored.
  8915. Invalid parameters generate errors and those lines are skipped.
  8916. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  8917. Example:
  8918. @customrule filehost
  8919. @baseurl filehost.com/download/
  8920. @baseurl filehost2. com net /d?=
  8921. @alivematch id="download">
  8922. @deadmatch File not found
  8923. @deadmatch File deleted
  8924. */
  8925. function parseCustomRules(rulesStr)
  8926. {
  8927. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  8928. function addInfo(type, msg, ln){
  8929. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  8930. customRules[type]++;
  8931. }
  8932. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  8933. if (!lines) return null;
  8934. lines.push('@#customrule _'); //to save the last rule
  8935. var m, linecount = lines.length;
  8936. var keyword, param, constr, rule, err;
  8937. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  8938. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  8939. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  8940. var constraints = {
  8941. 'baseurl': {
  8942. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  8943. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  8944. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  8945. 'alivematch': {
  8946. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  8947. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  8948. 'deadmatch': {
  8949. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  8950. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  8951. 'unavamatch': {
  8952. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  8953. 'alivelink': {
  8954. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  8955. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  8956. 'deadlink': {
  8957. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  8958. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  8959. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  8960. };
  8961. for (linenum = 0 ; linenum < linecount ; linenum++)
  8962. {
  8963. //capturing groups: 1 23 4 5 6
  8964. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  8965. if (m)
  8966. {
  8967. if (m[1] || !m[2])
  8968. continue; // ignore empty lines and lines starting with //
  8969. keyword = (m[4] || m[2]).toLowerCase();
  8970. param = m[6];
  8971. if (keyword == 'customrule')
  8972. {
  8973. //save the current rule if all required fields are provided
  8974. if (rule)
  8975. {
  8976. err = false;
  8977. $.each(constraints, function(kw, constraint){
  8978. var l, constr = constraint[rule.type];
  8979. if (constr)
  8980. {
  8981. l = rule[kw] ? rule[kw].length : 0;
  8982. if (l < constr.min || l > constr.max)
  8983. {
  8984. 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);
  8985. err = true;
  8986. }
  8987. }
  8988. });
  8989. if (!err)
  8990. customRules.rules.push(makeCustomRule(rule));
  8991. }
  8992. //start a new rule
  8993. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  8994. {
  8995. rule = {
  8996. 'enabled': !m[3],
  8997. 'type': m[5] ? m[5].toLowerCase() : 'single',
  8998. 'name': param
  8999. };
  9000. }
  9001. else
  9002. {
  9003. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9004. rule = null;
  9005. }
  9006. }
  9007. else //good line format, but keyword other than customrule
  9008. {
  9009. if (!rule)
  9010. {
  9011. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9012. continue;
  9013. }
  9014. if (constraints[keyword])
  9015. {
  9016. constr = constraints[keyword][rule.type];
  9017. if (constr)
  9018. {
  9019. if (constr.paramRE && !constr.paramRE.test(param))
  9020. {
  9021. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9022. continue;
  9023. }
  9024. }
  9025. else
  9026. {
  9027. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9028. continue;
  9029. }
  9030. }
  9031. //line OK, save
  9032. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9033. }
  9034. } //if (m)
  9035. else
  9036. addInfo('warning', 'Unknown line format. Line skipped.');
  9037. } //for loop
  9038. return customRules;
  9039. } //function parseCustomRules