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

detects live, dead and premium links.

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

  1. // 1158 fixed uploadboy
  2. // ==UserScript==
  3. // @name W.A.R. Links Checker Customized Premium Link Version
  4. // @description detects live, dead and premium links.
  5. // @details this script automatically checks links from 650+ filehosts. For Firefox, Chrome, Opera, Safari.
  6. // @namespace premium version
  7. // @version 1.1.5.8
  8. // @icon http://sharenxs.com/photos/2014/02/14/52fd759db90ac/cooltext1428903746.png
  9. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  10. // @author <a href="http://www.mentalps.5gbfree.com/viewtopic.php?f=2&t=6>mental</a>
  11. // @include http://*
  12. // @include https://*
  13. // @include file:///*
  14. // @grant GM_setValue
  15. // @grant GM_getValue
  16. // @grant GM_xmlhttpRequest
  17. // @grant GM_log
  18. // @grant GM_addStyle
  19. // @grant GM_registerMenuCommand
  20. // @grant GM_getResourceText
  21. // @grant GM_info
  22. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  23. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  24. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  25. // @homepage http://www.mentalps.5gbfree.com
  26. // @namespace http://www.mentalps.5gbfree.com
  27. // @noframes
  28. // ==/UserScript==
  29.  
  30. //separate alternative domains with "|" char (first name is considered being main)
  31. var allHostNames = [
  32. "1fichier.com|dl4free.com",
  33. "4upld.com",
  34. "newfileland.com",
  35. "2shared.com",
  36. "fileupload.pw",
  37. "zxcfiles.com",
  38. "up07.net",
  39. "4shared.com",
  40. "adrive.com",
  41. "aisfile.com",
  42. "hexupload.com",
  43. "bezvadata.cz",
  44. "burnupload.com|burnupload.ihiphop.com",
  45. "xkeepfile.com|Gamesena.com",
  46. // "firedrive.com",
  47. "usersfiles.com",
  48. "pan.baidu.com",
  49. "radicalshare.com",
  50. "cramit.in|cramitin.net",
  51. "dataport.cz",
  52. "datei.to",
  53. "daten-hoster.de|filehosting.org|xtraupload.de",
  54. "demo.ovh.eu",
  55. "depositfiles.com",
  56. "divshare.com",
  57. "easy-share.com|crocko.com",
  58. "easybytez.com",
  59. "edisk.cz",
  60. "euroshare.eu",
  61. "file-upload.net",
  62. "yadi.sk",
  63. "ryushare.com",
  64. "wizupload.com",
  65. "fastshare.cz",
  66. "filefactory.com",
  67. "share.vnn.vn",
  68. "yunpan.cn",
  69. "gulfup.com",
  70. "tropicshare.com",
  71. "cloudzilla.to",
  72. "inclouddrive.com",
  73. "fileflyer.com",
  74. "filerio.com|filekeen.com",
  75. "up.4share.vn",
  76. "upfile.vn",
  77. "datafilehost.com",
  78. "fileband.com",
  79. "worldbytez.com",
  80. "files.mail.ru",
  81. "filepost.com|fp.io",
  82. "filesflash.com",
  83. "box.com",
  84. "box.net",
  85. "goldbytez.com",
  86. "sdilej.cz",
  87. "ex-load.com",
  88. "2drive.net",
  89. "filesmonster.com",
  90. "filestore.to",
  91. "freakshare.net",
  92. "hulkload.com",
  93. "filedropper.com",
  94. "free-uploading.com",
  95. "gamefront.com|filefront.com",
  96. "gettyfile.ru",
  97. "gigapeta.com",
  98. "gigasize.com",
  99. "hellshare.com",
  100. "hellspy.com",
  101. "hitfile.net",
  102. "hostuje.net",
  103. "freefilehosting.net",
  104. "free.fr",
  105. "hulkshare.com",
  106. "hyperfileshare.com",
  107. "filecloud.io|ifile.it",
  108. "ifolder.ru",
  109. "jumbofiles.com",
  110. "uploadrocket.net",
  111. "lafiles.com",
  112. "leteckaposta.cz|sharegadget.com",
  113. "letitbit.net",
  114. "load.to",
  115. "mediafire.com",
  116. "megafileupload.com",
  117. "megashares.com",
  118. "movshare.net",
  119. "muchshare.net",
  120. "myupload.dk",
  121. "narod.ru|narod.yandex.ru",
  122. "netload.in",
  123. "fboom.me",
  124. "fileboom.me",
  125. "openfile.ru",
  126. "partage-facile.com",
  127. "plunder.com",
  128. // "putlocker.com",
  129. "sharerapid.cz",
  130. "exclusiveloader.com",
  131. "acefile.net",
  132. "queenshare.com",
  133. "quickshare.cz",
  134. "rapidgator.net",
  135. "daj.to",
  136. "keep2share.com",
  137. "oboom.com",
  138. "filepi.com",
  139. "neodrive.co",
  140. "rarefile.net",
  141. "rayfile.com",
  142. "rghost.net",
  143. "sendmyway.com",
  144. "clicknupload.com",
  145. "sharemods.com",
  146. "hostr.co",
  147. "sendspace.com",
  148. "sharecash.org",
  149. "share-links.biz",
  150. "share-online.biz|egoshare.com",
  151. "megarapid.cz",
  152. "shareflare.net",
  153. "solidfiles.com",
  154. "led.wf",
  155. "lan.wf",
  156. "adlink.wf",
  157. "click.tf",
  158. "kyc.pm",
  159. "ssh.tf",
  160. "ssh.yt",
  161. "yep.pm",
  162. "stahovanizasms.cz",
  163. "tufiles.ru",
  164. "turbobit.net",
  165. "filecloud.cc",
  166. "tikfile.com",
  167. "cloudsix.me",
  168. "turboupload.com",
  169. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  170. "ulozisko.sk",
  171. "uloziste.com",
  172. "unibytes.com",
  173. "upload-il.net|przeslij.net",
  174. "uploaded.to|ul.to",
  175. "uploading.com",
  176. "chayfile.com",
  177. "rockfile.eu",
  178. "24uploading.com",
  179. "uploadspace.pl",
  180. "upnito.sk",
  181. "uptobox.com",
  182. "usaupload.net",
  183. "veehd.com",
  184. "videobb.com",
  185. "vip-file.com",
  186. "webshare.cz",
  187. "xdisk.cz",
  188. "yunfile.com|filemarkets.com",
  189. "ziddu.com",
  190. "krotix.net",
  191. "zippyshare.com",
  192. "rodfile.com",
  193. "migahost.com",
  194. "wikiupload.com",
  195. "uploadstube.de",
  196. "faststore.org",
  197. "flyfiles.net",
  198. "nowdownload.eu",
  199. "prefiles.com",
  200. "axifile.com",
  201. "rapidsonic.com|fileparadox.com",
  202. "hackerbox.org",
  203. "amonshare.com",
  204. "data.hu",
  205. "brupload.net",
  206. "userscloud.com",
  207. "netkups.com",
  208. "edoc.com",
  209. "xfileload.com",
  210. "jumbofile.net",
  211. "kumpulbagi.com",
  212. "uppit.com|up.ht",
  213. "ddlstorage.com",
  214. "downloadani.me",
  215. "filesabc.com",
  216. "sharebeast.com",
  217. "180upload.com",
  218. "verzend.be",
  219. "movreel.com",
  220. "4up.me",
  221. "extmatrix.com",
  222. "sendfiles.nl",
  223. "yourfilestore.com",
  224. "filebig.net",
  225. "sockshare.com",
  226. "nekaka.com",
  227. "file4safe.com",
  228. "tusfiles.net",
  229. "filemac.com",
  230. "idup.in",
  231. "fileswap.com",
  232. "ozofiles.com",
  233. "loudupload.net",
  234. "nosupload.com",
  235. "gboxes.com",
  236. "myvdrive.com|fileserving.com",
  237. "filesin.com",
  238. "novafile.com",
  239. "longfiles.com",
  240. "uploadhero.com",
  241. "uploadbaz.com",
  242. "bitupload.com",
  243. "indowebster.com",
  244. "superload.cz",
  245. "mafiastorage.com",
  246. "4upfiles.com",
  247. "filesmelt.com",
  248. "hellupload.com",
  249. "uploadingit.com",
  250. "stiahni.si",
  251. "sendspace.pl",
  252. "fastshare.org",
  253. "filejoker.net",
  254. "filestore.com.ua",
  255. "secureupload.eu",
  256. "rapidfileshare.net",
  257. "stiahnito.sk",
  258. "rusfolder.com",
  259. "fileover.net",
  260. "catshare.net",
  261. "anonfiles.com",
  262. "mixturecloud.com",
  263. "fileparadox.in",
  264. "filedais.com",
  265. "imdb.com",
  266. "nitroflare.com",
  267. "akafile.com",
  268. "creafile.net",
  269. "hugefiles.net",
  270. "vidxden.com",
  271. "up.top4top.net",
  272. "upload.ee",
  273. "shareplace.org",
  274. "uploadc.com",
  275. "remixshare.com",
  276. "exoshare.com",
  277. "borncash.org",
  278. "junocloud.me",
  279. "keep2share.cc",
  280. "k2s.cc",
  281. "expressleech.com",
  282. "2downloadz.com",
  283. "mightyupload.com",
  284. "uncapped-downloads.com",
  285. "anysend.com",
  286. "datafile.com",
  287. "upstore.net",
  288. "upsto.re",
  289. "speedy.sh",
  290. "sanshare.com",
  291. "dizzcloud.com",
  292. "kingfiles.net",
  293. "uploadhero.co",
  294. "ge.tt",
  295. "filesflash.net",
  296. "salefiles.com",
  297. "keep2s.cc",
  298. "megairon.net",
  299. "datoid.cz",
  300. "cloudstor.es",
  301. "streamfile.com",
  302. "eyesfile.ca",
  303. "filemoney.com",
  304. "uploadboy.com",
  305. "speedshare.eu",
  306. "google.com",
  307. "unlimitzone.com",
  308. "rioupload.com",
  309. "rg.to",
  310. "jumbofiles.org",
  311. "fshare.vn",
  312. "spaceforfiles.com",
  313. "up.media1fire.com",
  314. "depfile.com",
  315. "go4up.com",
  316. "dropbox.com",
  317. "redbunker.net",
  318. "divxpress.com",
  319. "mega.nz|mega.co.nz",
  320. "anafile.com",
  321. "uploadable.ch",
  322. "arabloads.com",
  323. "sharerepo.com",
  324. "sfshare.se",
  325. "files.fm",
  326. "koofile.com",
  327. "vidplay.net",
  328. "storagon.com",
  329. "doraupload.com",
  330. "openload.io",
  331. "geupload.com|lenfile.com",
  332. "uploads.xxx",
  333. ];
  334.  
  335. try
  336. {
  337. //iframes excluded
  338. if (window.top != window.self)
  339. {
  340. return;
  341. }
  342. //allHostNames sites excluded
  343. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  344. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  345. ")"))
  346. {
  347. return;
  348. }
  349. }
  350. catch (e)
  351. {
  352. return;
  353. }
  354.  
  355. //separate alternative domains with "|" char (first name is considered being main)
  356. var allContainerNames = [
  357. "adf.ly",
  358. "linkcrypt.ws",
  359. "linksafe.me",
  360. "linksave.in",
  361. "linkto.net",
  362. "madlink.sk",
  363. "multiload.cz",
  364. "mirrorcreator.com",
  365. "ncrypt.in",
  366. "redi.re",
  367. "relink.us",
  368. "safelinking.net",
  369. "theloo.katt.it",
  370. "bit.ly",
  371.  
  372. ];
  373.  
  374. //separate alternative domains with "|" char (first name is considered being main)
  375. var allObsoleteNames = [
  376. "uloz.cz",
  377. "stahovadlo.cz",
  378. "shared.com",
  379. "storage.to",
  380. "putlocker.com",
  381. "lumfile.com",
  382. "lumfile.se",
  383. "lumfile.eu",
  384. "firedrive.com",
  385. "fileshare.in.ua",
  386. "filecore.co.nz",
  387. "iskladka.cz",
  388. "file-rack.com",
  389. "fast-load.net",
  390. "subory.sk",
  391. "bigandfree.com",
  392. "fileop.com",
  393. "mujsoubor.cz",
  394. "sendfile.to",
  395. "superfastfile.com",
  396. "quickyshare.com",
  397. "duckload.com",
  398. "uploadstore.net",
  399. "meinupload.com",
  400. "dualshare.com",
  401. "2xupload.to|2xupload.de",
  402. "oxedion.com",
  403. "uploadline.com",
  404. "dll.bz",
  405. "movieshare.in",
  406. "milledrive.com",
  407. "quickupload.net",
  408. "safelink.in",
  409. "metadivx.com",
  410. "divxlink.com",
  411. "uploadrack.com",
  412. "teradepot.com",
  413. "dataup.to",
  414. "upit.to",
  415. "driveway.com",
  416. "eatlime.com",
  417. "a2zuploads.com",
  418. "friendlyfiles.net",
  419. "flyfile.us",
  420. "speedyshare.com",
  421. "uploadspace.eu",
  422. "keepfile.com",
  423. "piggyshare.com",
  424. "uplly.com",
  425. "filecrown.com",
  426. "6giga.com",
  427. "uploadjockey.com",
  428. "bluehost.to",
  429. "filegu.ru",
  430. "filebase.to",
  431. "up-file.com",
  432. "xvideos.com",
  433. "ufox.com",
  434. "filebling.com",
  435. "loaded.it",
  436. "uploadcell.com",
  437. "uploadshare.cz",
  438. "mangoshare.com",
  439. "filestab.com",
  440. "crazyupload.com",
  441. "gaiafile.com",
  442. "sharejunky.com",
  443. "fileho.com",
  444. "bigandfree.com",
  445. "bigfile.in",
  446. "bigshare.eu",
  447. "dahosting.org",
  448. "digisofts.net",
  449. "file4save.com",
  450. "filechip.com",
  451. "filescloud.com",
  452. "saveqube.com",
  453. "turboshare.de",
  454. "z-upload.com",
  455. "youshare.com",
  456. "jiffyupload.com",
  457. "gigeshare.com",
  458. "datenklo.net",
  459. "upload.dj",
  460. "loadfiles.in",
  461. "upit.to",
  462. "dsfileshare.com",
  463. "sharesimple.net",
  464. "4files.net",
  465. "wooupload.com",
  466. "odsiebie.com",
  467. "filenavi.com",
  468. "3oof.com",
  469. "meshwaar.com",
  470. "maxupload.com",
  471. "share.cx",
  472. "atserver.eu",
  473. "hotfiles.ws",
  474. "esnips.com",
  475. "tuxfile.com",
  476. "file2upload.net",
  477. "filebling.com",
  478. "turboshare.com",
  479. "rarhost.com",
  480. "isharehd.com",
  481. "i741.com",
  482. "dataup.de",
  483. "fofly.com",
  484. "shareonall.com",
  485. "sexuploader.com",
  486. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  487. "uploadhyper.com",
  488. "filespawn.com",
  489. "caizzii.com",
  490. "volnyweb.cz",
  491. "usershare.net",
  492. "filescash.net",
  493. "metahyper.com",
  494. "combozip.com",
  495. "x7.to",
  496. "uploadbox.com",
  497. "enterupload.com|flyupload.com",
  498. "filepoint.de",
  499. "mystream.to",
  500. "x-fs.com",
  501. "shareator.com",
  502. "srapid.eu",
  503. "sosame.cz",
  504. "filesdump.com",
  505. "2-klicks.de",
  506. "uploking.com",
  507. "silofiles.com",
  508. "upfile.in",
  509. "filehook.com",
  510. "uploadking.com",
  511. "uploadhere.com",
  512. "kewlshare.com",
  513. "rapidable.com",
  514. "uploadwaste.com",
  515. "filemup.com",
  516. "filesonic.com|sharingmatrix.com",
  517. "fileserve.com",
  518. "wupload.com",
  519. "skipfile.com",
  520. "smartuploader.com",
  521. "dualshare.com",
  522. "storeandserve.com",
  523. "mountfile.com",
  524. "transitfiles.com",
  525. "uploadstation.com",
  526. "filejungle.com",
  527. "shareshared.com",
  528. "quickyshare.com",
  529. "save.am",
  530. "petandrive.com",
  531. "file2box.com",
  532. "flyshare.cz",
  533. "yabadaba.ru",
  534. "cloudcache.cc",
  535. "yourfilehost.com",
  536. "jakfile.com",
  537. "kickload.com",
  538. "pyramidfiles.com",
  539. "refile.net",
  540. "zshare.net",
  541. "ddlani.me|ddlanime.com",
  542. "ftp2share.com",
  543. "fooget.com",
  544. "rapidhide.com",
  545. "gotupload.com",
  546. "mooload.com",
  547. "zupload.com",
  548. "mytempdir.com",
  549. "onionshare.com",
  550. "stahnu.to",
  551. "oron.com",
  552. "badongo.com",
  553. "filereactor.com",
  554. "filegaze.com",
  555. "4bytez.com",
  556. "1hostclick.com",
  557. "anonstream.com",
  558. "batshare.com",
  559. "bitroad.net",
  560. "brontofile.com",
  561. "cloudnxt.net",
  562. "cloudnator.com|shragle.com",
  563. "filesfrog.net",
  564. "coolshare.cz",
  565. "dotavi.com",
  566. "ezyfile.net",
  567. "file-bit.net",
  568. "filecosy.com",
  569. "fileduct.com|fileduct.net",
  570. "filefat.com",
  571. "filelaser.com",
  572. "filemashine.com",
  573. "fileserver.cc",
  574. "filetechnology.com",
  575. "fireuploads.net",
  576. "gigfiles.net",
  577. "holderfile.com",
  578. "ihostia.com",
  579. "k2files.com",
  580. "mojofile.com",
  581. "ovfile.com",
  582. "qshare.com",
  583. "shafiles.me",
  584. "sharefilehost.com",
  585. "shareupload.com",
  586. "stahuj.to",
  587. "ugotfile.com",
  588. "uploadboost.com",
  589. "fileom.com",
  590. "vidhog.com",
  591. "xfileshare.eu",
  592. "bzlink.us",
  593. "bulletupload.com",
  594. // "wizzupload.com",
  595. "bloggerarticles.com",
  596. "mojedata.sk",
  597. "sharpfile.com",
  598. "upgrand.com",
  599. "nasdilej.cz",
  600. "mediatack.cz",
  601. "share-it.to",
  602. "primeupload.com",
  603. "filebeer.info",
  604. "baberepublic",
  605. "xtu.me",
  606. "sharebase.de",
  607. "luckyshare.net",
  608. "filerobo.com",
  609. "filevelocity.com",
  610. "filezpro.com",
  611. "file4sharing.com",
  612. "cing.be",
  613. "ufile.eu",
  614. "pigsonic.com",
  615. "fileupped.com",
  616. "sharerun.com",
  617. "filesaur.com",
  618. "rapidslnare.com",
  619. "bestsharing.com",
  620. "savefiles.net",
  621. "file2share.biz",
  622. "filecache.de",
  623. "monsteruploads.eu",
  624. "b9bb.com",
  625. "aiotool.net",
  626. "jamber.info",
  627. "megaftp.com",
  628. "desiupload.net",
  629. "file27.com",
  630. "yastorage.com",
  631. "filehost.ws",
  632. "copyload.com",
  633. "venusfile.com",
  634. "aieshare.com",
  635. "terafile.co",
  636. "terafile.com",
  637. "fileza.net",
  638. "filerose.com",
  639. "squillion.com",
  640. "fileprohost.com",
  641. "bitbonus.com",
  642. "warserver.cz",
  643. "uload.to",
  644. "sharedbit.net",
  645. "megaload.it",
  646. "filewinds.com",
  647. "uploadcore.com",
  648. "syfiles.com",
  649. "eyesfile.com",
  650. "hotfile.com",
  651. "superupl.com",
  652. "oteupload.com",
  653. "henchfile.com",
  654. "filegag.com",
  655. "HenchFile.com",
  656. "filedefend.com",
  657. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  658. "megabitshare.com",
  659. "cloudzer.com",
  660. "asfile.com",
  661. "cloudzer.net",
  662. "clz.to",
  663. "extabit.com",
  664. "247upload.com",
  665. "2download.de",
  666. "4fastfile.com",
  667. "asixfiles.com",
  668. "berofile.com",
  669. "bigupload.com",
  670. "cepzo.com",
  671. "clouds.to",
  672. "cobrashare.sk",
  673. "coraldrive.net",
  674. "cyberlocker.ch",
  675. "czshare.com",
  676. "darkport.org",
  677. "dark-uploads.com",
  678. "davvas.com",
  679. "enigmashare.com",
  680. "erofly.cz",
  681. "fastsonic.net",
  682. "filebox.com",
  683. "filecity.net",
  684. "filedap.com",
  685. "filedino.com",
  686. "filedownloads.org",
  687. "filefolks.com",
  688. "fileking.co",
  689. "filemates.com",
  690. "files.to",
  691. "files2k.eu",
  692. "filesector.cc",
  693. "bitshare.com",
  694. "filesega.com",
  695. "filesend.net",
  696. "filestay.com",
  697. "filestrum.com",
  698. "fileuplo.de",
  699. "fileupup.com",
  700. "forunesia.com",
  701. "freeuploads.fr",
  702. "uploa.dk",
  703. "getthebit.com",
  704. "getzilla.net",
  705. "goldfile.eu",
  706. "good.com",
  707. "grupload.com",
  708. "hellfile.com",
  709. "hipfile.com",
  710. "hitfile.com",
  711. "hulkfile.eu|duckfile.net",
  712. "i-filez.com",
  713. "ifile.ws",
  714. "kupload.org",
  715. "packupload.com",
  716. "lemuploads.com",
  717. "limelinx.com",
  718. "maxshare.pl",
  719. "megarelease.org",
  720. "megashare.com",
  721. "minus.com",
  722. "mlfat4arab.com",
  723. "multishare.cz",
  724. "nirafile.com",
  725. "ok2upload.com",
  726. "peejeshare.com",
  727. "premiuns.org",
  728. "przeklej.net",
  729. "qkup.net",
  730. "rapidupload.sk",
  731. "rockdizfile.com",
  732. "rocketfile.net",
  733. "share-now.net",
  734. "share76.com",
  735. "sharebees.com",
  736. "sharefiles.co",
  737. "slingfile.com",
  738. "sms4file.com",
  739. "space4file.com",
  740. "tigershare.net",
  741. "toucansharing.com",
  742. "ubuntuone.com",
  743. "unextfiles.com",
  744. "upaj.pl",
  745. "upfile.biz",
  746. "uploadbin.net",
  747. "uploadic.com",
  748. "uploadinc.com",
  749. "uploading4u.eu",
  750. "uploadjet.net",
  751. "uploadorb.com",
  752. "upthe.net",
  753. "uptorch.com",
  754. "vidbox.yt",
  755. "videozer.com",
  756. "vreer.com",
  757. "wallobit.com",
  758. "zooupload.com",
  759. "privatefiles.com",
  760. "xerver.co",
  761. "BillionUploads.com",
  762. "rapidshare.com",
  763. "rapidshare.ru",
  764. "4savefile.com",
  765. "bayfiles.com",
  766. "bayfiles.net",
  767. "dodane.pl",
  768. "dotsemper.com",
  769. "egofiles.com",
  770. "epicshare.net",
  771. "fiberupload.net",
  772. "filemonkey.in",
  773. "filemonster.net",
  774. "filepom.com",
  775. "filesbb.com",
  776. "fileshareup.com",
  777. "filevice.com",
  778. "gigaup.fr",
  779. "inafile.com",
  780. "isavelink.com",
  781. "loombo.com",
  782. "megafiles.se",
  783. "migupload.com",
  784. "mydisc.net",
  785. "nitrobits.com",
  786. "potload.com",
  787. "redload.net",
  788. "shareprofi.com",
  789. "sharesuper.info",
  790. "sinhro.net",
  791. "speedfile.cz",
  792. "speedshare.org",
  793. "storage.novoro.net",
  794. "swankshare.com",
  795. "swatupload.com",
  796. "upafile.com",
  797. "uploadmachine.com",
  798. "uploadsat.com",
  799. "upshared.com",
  800. "usefile.com",
  801. "yourfiles.to",
  802. "zomgupload.com",
  803. "ultramegabit.com",
  804. "uploadto.us",
  805.  
  806. ];
  807. ///////////////////////////////////////////////////////////////////////////////////////
  808. var firstRun = GM_getValue("First_run", true);
  809.  
  810. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  811. //////////////////////////////////////////////////////////////////////////////////////
  812. try
  813. {
  814. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  815. var last_known_version = GM_getValue("last_known_version", "");
  816. if (!last_known_version)
  817. {
  818. last_known_version = thisVersion;
  819. GM_setValue("last_known_version", last_known_version);
  820. }
  821. //var newVersion = !(thisVersion == last_known_version);
  822. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  823. GM_setValue("last_known_version", thisVersion);
  824. }
  825. catch (err)
  826. {
  827. var newVersion = false;
  828. }
  829.  
  830. var now = (new Date()).getTime();
  831. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  832. if (!last_custom_rules_nag)
  833. {
  834. last_custom_rules_nag = now;
  835. GM_setValue('last_custom_rules_nag', ''+now);
  836. }
  837.  
  838.  
  839. allHostNames.sort();
  840. allContainerNames.sort();
  841. allObsoleteNames.sort();
  842.  
  843. var RAND_STRING = "8QyvpOSsRG3QWq";
  844. var DEBUG_MODE = false;
  845.  
  846. var TOOLTIP_MAXWIDTH = 600; //in pixels
  847. var TOOLTIP_THUMBWIDTH = 200;
  848. var containers_processed = false;
  849.  
  850. //settings for keyboard functions start
  851. var CHECK_ALL_LINKS_KEY = "A";
  852. var CONFIGURATION_KEY = "C";
  853. var copy_to_dead_key = "D";
  854. var toggle_autocheck_key = "W";
  855. var toggle_Enable_Anonymizer_key = "Z";
  856. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  857. var first_key_keycodename = 'CTRL';
  858. var second_key_keycode = '18';
  859. var second_key_keycodename = 'ALT';
  860. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  861. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  862. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  863. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  864. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  865. //settings for keyboard functions end
  866.  
  867. //global settings start
  868. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  869. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  870. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  871. var Show_progress_stats, Display_tooltip_info, Icon_set;
  872. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  873. var Progress_box_refresh_rate;
  874. var Obsolete_file_hosts;
  875. var Custom_rules, Custom_rules_text;
  876.  
  877. var messageBox = document.createElement('b'); // top-left message box
  878.  
  879. var cLinksTotal = 0;
  880. var cLinksDead = 0;
  881. var cLinksAlive = 0;
  882. var cLinksUnava = 0;
  883. var cLinksprem = 0;
  884. var cLinksProcessed = 0;
  885.  
  886. var intervalId; //for updateProgress()
  887.  
  888. //icon resources
  889. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQ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'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AQJDBgxYO68rwAAAZNJREFUeNptkr9LW1EcxT/3GhOTKIG8QTpm8B8IIoJTFkFwsXVyUaxFJHYoFzJYUVFHn4sKtoidCoKtIigWOtQOhRKowaFzJwcF0VeJ+fFe7nUwP57R7/S9nO+595z7PQJfGUgAsWqPaUBOC/yrHQI+QjKTXc7GQq4EhP+uKzdUcbtnelvhDzXQQHL2bCkbxhOA5GmZ24LUC73zPWE4lQYSmexynaCmjh5Nq9FdANER1uL9j7nfeUhIIFaVJNXEPrguKvPzgfD2G0iBGt8DkPG4CGiIyapZAWBvDUEoBOfnqPQxaANxC3v7Ze1hoQFpmsTbGwMQicLNNeTz2HaKYuO/4DnTauwLeC6i8wW4ZdSbA9rw/GtB6kaPmjyESATKZVZWUxAMQqnI9MTXOqdGcvRFoSw8o+0Pg1DxsD+PcFcJYH8aphSNsr71CkAH/17danAEQAGSa98zv7x4W9AIpGkRzap18cKU3vUv9lmQq6N5SH7cSZ8Uuqx205SI1rPL/6/HN1MW5GiKC84z2at6dixf9u4B/PqUtJuX27QAAAAASUVORK5CYII=';
  897. var RSLC_ICON_PINK = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYC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fcAGYWhrJ5x207ZdSFGB59Ockwb+L3vydX/7oRPYFPW05DnuHbb1aGD79+MRyZev/H9TlvTIB6riK7EhQGbNr2rJe714eq/fjLwPD8x22GO5/eM/CzijN8BdoD0nz3/FuG/an3Sv7/ZehFDyBYIHplzFHcYullyPjp13eGj79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  900. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  901. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9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AABUklEQVQ4jY3TsUuWURQG8F8WEvFNDREfIg5RURAOIeL0DhJBS0tDY9BQQ0Oj29kiIvoDhBpFQRTUD1GKi0sRtEs0SEQ0RBQIRcVXw3eF6+vrWwcunPvc53nuPffcS0uEmA0x38Y5cohwGjOYxBBe4VGI3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  903.  
  904. //global settings end
  905. if (window.opera && !window.console)
  906. {
  907. window.console = {};
  908.  
  909. function fn()
  910. {
  911. opera.postError(arguments);
  912. };
  913. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  914. {
  915. window.console[name] = fn;
  916. });
  917. }
  918.  
  919. //displays colored text in message box
  920. function sendMessage(text, color)
  921. {
  922. var msgDiv = document.createElement('div');
  923. msgDiv.style.color = color;
  924. msgDiv.innerHTML = text;
  925. messageBox.appendChild(msgDiv);
  926. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  927. }
  928.  
  929. function linkify(totalourls)
  930. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  931. var ikkeTilladteTags;
  932. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  933. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  934. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  935. allLinksRegex = new RegExp(allLinksRegex, "g");
  936. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  937.  
  938. if (Do_not_linkify_DL_links)
  939. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  940. else
  941. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  942.  
  943. var regex = new RegExp(regexy);
  944. var textNode, muligtLink;
  945.  
  946. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  947. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  948.  
  949. var i = textNodes.snapshotLength;
  950. while (i--)
  951. {
  952. textNode = textNodes.snapshotItem(i);
  953.  
  954. muligtLink = textNode.nodeValue; //all links on page
  955.  
  956. var myArray = null;
  957. var span = null;
  958. var lastLastIndex = 0;
  959. allLinksRegex.lastIndex = 0;
  960. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  961. {
  962. if (textNode.parentNode.className == "adead_link") continue;
  963. var censoredLink = muligtLink;
  964. var span = document.createElement('span');
  965. span.className = "adead_link";
  966. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  967. $(span).html(censoredLink);
  968. span.addEventListener("mouseover", displayTooltipError, false);
  969. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  970. textNode.parentNode.replaceChild(span, textNode);
  971. continue;
  972. alert(censoredLink);
  973. }
  974. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  975. {
  976. if (!regex.test(myArray[0])) //this link is not recognized
  977. {
  978.  
  979. continue;
  980. }
  981. if (!span)
  982. span = document.createElement('span');
  983.  
  984. var link = myArray[0];
  985. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  986.  
  987. var $a = $("<a>" + link + "</a>")
  988. if (!link.match(/https?:\/\//))
  989. {
  990. link = 'http://' + link;
  991. }
  992.  
  993. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  994. .addClass("processing_link")
  995. .appendTo(span);
  996. lastLastIndex = allLinksRegex.lastIndex;
  997. }
  998. if (span)
  999. {
  1000. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1001. textNode.parentNode.replaceChild(span, textNode);
  1002. }
  1003. }
  1004. }
  1005.  
  1006. function add_WARLC_style()
  1007. {
  1008. if (!(document.getElementsByTagName('WARLC')[0]))
  1009. {
  1010. var meta_not_to_add_more_style = document.createElement("WARLC");
  1011. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1012. meta_not_to_add_more_style.setAttribute('name', 'description');
  1013. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1014. alive_link_png = "";
  1015. adead_link_png = "";
  1016. unava_link_png = "";
  1017. prem_link_png = "";
  1018. switch(Icon_set)
  1019. {
  1020. //no icons
  1021. case 0: break;
  1022. // cat paws
  1023. case 1: alive_link_png = PAW_ICON_GREEN;
  1024. adead_link_png = PAW_ICON_RED;
  1025. unava_link_png = PAW_ICON_YELLOW;
  1026. prem_link_png = PAW_ICON_PINK;
  1027. break;
  1028. // classic RSLC look
  1029. case 2: alive_link_png = RSLC_ICON_GREEN;
  1030. adead_link_png = RSLC_ICON_RED;
  1031. unava_link_png = RSLC_ICON_YELLOW;
  1032. prem_link_png = RSLC_ICON_PINK;
  1033. break;
  1034. // New Icons
  1035. case 3: alive_link_png = NEW_ICON_GREEN;
  1036. adead_link_png = NEW_ICON_RED;
  1037. unava_link_png = NEW_ICON_YELLOW;
  1038. prem_link_png = NEW_ICON_PINK;
  1039. break;
  1040. // cat paws
  1041. default:alive_link_png = PAW_ICON_GREEN;
  1042. adead_link_png = PAW_ICON_RED;
  1043. unava_link_png = PAW_ICON_YELLOW;
  1044. prem_link_png = PAW_ICON_PINK;
  1045. break;
  1046. }
  1047. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1048. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1049.  
  1050. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1051.  
  1052. if (Color_DL_links)
  1053. {
  1054. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1055. live_color_css = 'color:' + Live_links_color + ' !important;';
  1056. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1057. container_color_css = 'color:' + Container_links_color + ' !important;';
  1058. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1059. }
  1060. else
  1061. {
  1062. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1063. }
  1064.  
  1065. if (Show_black_background_in_DL_links)
  1066. {
  1067. black_background_css = 'background-color: black !important;';
  1068. }
  1069. else
  1070. {
  1071. black_background_css = '';
  1072. }
  1073.  
  1074. if (Show_line_through_in_dead_links)
  1075. {
  1076. line_through_css = 'text-decoration: line-through !important;';
  1077. }
  1078. else
  1079. {
  1080. line_through_css = '';
  1081. }
  1082.  
  1083. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1084. 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 + "}");
  1085. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1086. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1087. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1088. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1089. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1090. }
  1091. }
  1092.  
  1093. var warlcTooltip = null;
  1094. var mouseoverLink = null; //link href with mouse cursor over it
  1095.  
  1096. var lastX = 0;
  1097. var lastY = 0;
  1098.  
  1099. $(document).ready(initTooltip);
  1100. //inits tooltip
  1101. function initTooltip()
  1102. { warlcTooltip = document.createElement("div");
  1103. 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;");
  1104. warlcTooltip.style.visibility = "hidden";
  1105. document.body.appendChild(warlcTooltip);
  1106. }
  1107.  
  1108. //"mousemove" event handler for all links
  1109. function moveTooltip(event)
  1110. {
  1111. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1112. { //no need to reflow if the cursor moved just a little
  1113. return;
  1114. }
  1115. else
  1116. {
  1117. lastX = event.clientX;
  1118. lastY = event.clientY;
  1119. }
  1120.  
  1121. posX = event.clientX + window.pageXOffset + 10;
  1122. posY = event.clientY + window.pageYOffset;
  1123. var ttHeight = warlcTooltip.offsetHeight;
  1124. var ttFreeSpace = window.innerHeight - event.clientY;
  1125. if (ttHeight > ttFreeSpace)
  1126. { //prevents tooltip from getting out of the window
  1127. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1128. }
  1129. else
  1130. {
  1131. posY += 7;
  1132. }
  1133. warlcTooltip.style.top = posY + "px";
  1134. warlcTooltip.style.left = posX + "px";
  1135. }
  1136.  
  1137. //"mouseout" event handler for all links
  1138. function hideTooltip(){
  1139. warlcTooltip.style.visibility = "hidden";
  1140. mouseoverLink = null;
  1141. }
  1142.  
  1143.  
  1144. //"mouseover" event handler for dead links
  1145. //displays tooltip error message on dead links
  1146. function displayTooltipError()
  1147. {
  1148. mouseoverLink = this.href;
  1149. this.addEventListener("mouseout", hideTooltip);
  1150. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1151. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1152. warlcTooltip.style.minWidth = 0;
  1153. warlcTooltip.style.visibility = "visible";
  1154. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1155. {
  1156. warlcTooltip.innerHTML = this.warlc_error;
  1157. }
  1158. else
  1159. {
  1160. loadErrorInfo(this);
  1161. }
  1162. function loadErrorInfo(link)
  1163. {
  1164. var href = link.href;
  1165. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1166. GM_xmlhttpRequest({
  1167. method: 'GET',
  1168. url: href.replace(Ref_anonymize_service, ""),
  1169. headers: {
  1170. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1171. 'Accept': 'text/xml',
  1172. 'Referer': ""
  1173. },
  1174. onload: function(result) {
  1175. var res = result.responseText;
  1176. //TODO: errorRegexs -
  1177. var errorRegexs = [ //generic error messages follow
  1178. /(empty directory)/i,
  1179. /(soubor nebyl nalezen)/i,
  1180. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1181. //server specific error messages follow
  1182. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1183. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1184. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1185. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1186. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1187. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1188. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1189. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1190. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1191. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1192. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1193. /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1194. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1195. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1196. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1197. /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1198. /(File has been removed due to Copyright Claim)/, //filerio
  1199. ];
  1200. var errorIdx = errorRegexs.length;
  1201. var error = "Cause of error: <b>unknown</b>";
  1202. var errorCandidate = "";
  1203. while(errorIdx--)
  1204. {
  1205. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1206. if (errorCandidate != null)
  1207. {
  1208. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1209. break;
  1210. }
  1211. }
  1212. //link attributes
  1213. link.warlc_error = error;
  1214. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1215. {
  1216. warlcTooltip.innerHTML = error;
  1217. }
  1218. }
  1219. });
  1220. }
  1221. }
  1222.  
  1223. //"mouseover" event handler for alive links
  1224. //displays tooltip info (file size, file name,...) on alive links
  1225. function displayTooltipInfo()
  1226. {
  1227. mouseoverLink = this.href;
  1228. //exclude direct download filehostings
  1229. 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)/))
  1230. {
  1231. return;
  1232. }
  1233. this.addEventListener("mouseout", hideTooltip);
  1234. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1235. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1236. warlcTooltip.style.minWidth = 0;
  1237. warlcTooltip.style.visibility = "visible";
  1238. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1239. {
  1240. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1241. }
  1242. else
  1243. {
  1244. loadInfo(this);
  1245. }
  1246. function loadInfo(link)
  1247. {
  1248. var href = link.href;
  1249. GM_xmlhttpRequest({
  1250. method: 'GET',
  1251. url: href.replace(Ref_anonymize_service, ""),
  1252. headers: {
  1253. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1254. 'Accept': 'text/xml',
  1255. 'Referer': ""
  1256. },
  1257. onload: function(result) {
  1258. var res = result.responseText;
  1259. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1260. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1261. /fl" title="(.+?)">/, //edisk
  1262. /<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
  1263. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1264. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1265. /title="download (.+?)">/, //sendspace
  1266. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1267. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1268. /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1269. /d0FileName = "(.+?)";/, //letitbit
  1270. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1271. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1272. /fname" value="(.+?)">/, //syfiles, grupload,
  1273. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1274. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1275. /Complete name : (.+?)<br \/>/, //bezvadata
  1276. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1277. ];
  1278. var nameIdx = nameRegexs.length;
  1279. // [sizeRegexs]
  1280. // / \ \?
  1281. // prefix (size) postfix
  1282. // / \
  1283. // val quant
  1284. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1285. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1286. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1287. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1288. var postSizeRegex = '(?:\\))?';
  1289. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1290. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1291. ];
  1292. var sizeIdx = sizeRegexs.length;
  1293. //
  1294. //
  1295. var tooltip = "File Name: <b>";
  1296. var fileName = "unknown";
  1297. var nameCandidate = "";
  1298. while(nameIdx--)
  1299. {
  1300. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1301. if (nameCandidate != null)
  1302. {
  1303. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1304. break;
  1305. }
  1306. }
  1307. tooltip += fileName + "</b><br>File Size: <b>";
  1308. var fileSize = "unknown";
  1309. var sizeCandidate = "";
  1310. while(sizeIdx--)
  1311. {
  1312. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1313. if (sizeCandidate != null)
  1314. {
  1315. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1316. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1317. {
  1318. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1319. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1320. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1321. }
  1322. break;
  1323. }
  1324. }
  1325. tooltip += fileSize + "</b>";
  1326. // PROTOTYPE
  1327. // video thumbnails
  1328. if (href.match('hellshare'))
  1329. {
  1330. var thumbs;
  1331. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1332. if (thumbs)
  1333. {
  1334. tooltip += '<br>';
  1335. var j = Math.min(thumbs.length, 9);
  1336. for (var i = 0; i < j; i++)
  1337. {
  1338. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1339. }
  1340. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1341. }
  1342. }
  1343. if (href.match('czshare'))
  1344. {
  1345. var thumbs;
  1346. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1347. if (thumbs)
  1348. {
  1349. var thumbsServer = thumbs[1];
  1350. var thumbsId = thumbs[2];
  1351. tooltip += '<br>';
  1352. for (var i = 1; i < 9; i++)
  1353. {
  1354. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1355. }
  1356. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1357. }
  1358. }
  1359. if (href.match('bezvadata'))
  1360. {
  1361. var thumbs;
  1362. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1363. if (thumbs)
  1364. {
  1365. tooltip += '<br>';
  1366. var j = Math.min(thumbs.length, 9);
  1367. for (var i = 0; i < j; i++)
  1368. {
  1369. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1370. }
  1371. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1372. }
  1373. }
  1374. link.warlc_tooltipcache = tooltip;
  1375. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1376. {
  1377. warlcTooltip.innerHTML = tooltip;
  1378. }
  1379. }
  1380. });
  1381. }
  1382. }
  1383.  
  1384. function setVariables()
  1385. {
  1386. if (firstRun)
  1387. {
  1388. GM_log('First run, applying default settings...');
  1389. GM_setValue("Icon_set",1);
  1390. GM_setValue("Display_tooltip_info",true);
  1391. GM_setValue("Show_black_background_in_DL_links",false);
  1392. GM_setValue("Show_line_through_in_dead_links",false);
  1393. GM_setValue("Display_full_links_in_link_containers",false);
  1394. GM_setValue("Allow_spaces_in_DL_links",false);
  1395. GM_setValue("Autocheck",true);
  1396. GM_setValue("Enable_Anonymizer",false);
  1397. GM_setValue("Do_not_linkify_DL_links",false);
  1398. GM_setValue("Show_progress_stats",true);
  1399. GM_setValue("Keyboard_functions",true);
  1400. GM_setValue("Obsolete_file_hosts",false);
  1401. GM_setValue("Color_DL_links",true);
  1402. GM_setValue("Live_links_color","Green");
  1403. GM_setValue("Dead_links_color","#FF3300");
  1404. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1405. GM_setValue("Container_links_color","DarkKhaki");
  1406. GM_setValue("Premium_links_color","DeepPink");
  1407. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1408. GM_setValue("Custom_rules",false);
  1409. GM_setValue("Custom_rules_text","");
  1410. GM_setValue("First_run", false);
  1411. }
  1412. //hidden settings
  1413. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1414. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1415. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1416. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1417. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1418. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1419. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1420. //hidden settings end
  1421.  
  1422. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1423. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1424. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1425. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1426. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1427. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1428. Autocheck = GM_getValue("Autocheck", true);
  1429. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1430. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1431. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1432. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1433. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1434. Color_DL_links = GM_getValue("Color_DL_links", true);
  1435. Live_links_color = GM_getValue("Live_links_color", "Green");
  1436. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1437. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1438. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1439. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1440. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1441. Custom_rules = GM_getValue("Custom_rules", false);
  1442. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1443. }
  1444.  
  1445.  
  1446. // Delinkifies the links
  1447. // params:
  1448. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1449. // e.g. 'uloz.to/xs68skxl8')
  1450. function delinkifySnapshot(snapshot)
  1451. {
  1452. var n = snapshot.snapshotLength;
  1453.  
  1454. while (n--)
  1455. {
  1456. thisLink = snapshot.snapshotItem(n);
  1457.  
  1458. var spanElm = document.createElement("span");
  1459. spanElm.className = thisLink.className;
  1460. spanElm.innerHTML = thisLink.innerHTML;
  1461.  
  1462. if (Display_tooltip_info)
  1463. {
  1464. spanElm.href = thisLink.href;
  1465. switch (thisLink.className){
  1466. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1467. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1468. case "unava_link": //reserved
  1469. default:
  1470. }
  1471. }
  1472. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1473. }
  1474. }
  1475.  
  1476. function processContainers()
  1477. {
  1478. var redirectorTypes = { "HTTP_302": 0,
  1479. "INNER_LINK": 1,
  1480. "THELOO_KATT_IT": 2,
  1481. "CING_BE": 3,
  1482. "ADF_LY": 4};
  1483. var cMultiloadTotal = 0;
  1484. var cMultiloadProcessed = 0;
  1485.  
  1486. var cMirrorcreatorComTotal = 0;
  1487. var cMirrorcreatorComProcessed = 0;
  1488.  
  1489. var hostRestrictionRegex = "";
  1490. var multiloadComRestriction = "";
  1491. var multiloadComRestrictionRegex;
  1492.  
  1493. //
  1494. //HANDLING REDIRECTORS START
  1495. //
  1496.  
  1497. var redirectors = new Array();
  1498. initRedirectors();
  1499.  
  1500. var redirectorsCount = redirectors.length;
  1501.  
  1502. if (redirectorsCount > 0)
  1503. {
  1504. var allRedirectorsRegex = "";
  1505.  
  1506. //linkify redirector links
  1507. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1508. {
  1509. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1510. }
  1511. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1512. linkify(allRedirectorsRegex);
  1513. //
  1514. //process redirector links
  1515. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1516. {
  1517. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1518. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1519.  
  1520. cLinksTotal += redirectors[redirIdx].cTotal;
  1521. var linkIdx = redirectors[redirIdx].cTotal;
  1522.  
  1523. while(linkIdx--)
  1524. {
  1525. switch(redirectors[redirIdx].type)
  1526. {
  1527. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1528. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1529. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1530. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1531. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1532. default:
  1533. }
  1534. }
  1535. }
  1536. //
  1537. }
  1538.  
  1539. //HTTP_302
  1540. function processRedirectorLink(link, redirectorId)
  1541. {
  1542. link.className = 'container_link';
  1543.  
  1544. GM_xmlhttpRequest({
  1545. method: 'HEAD',
  1546. url: link.href,
  1547. headers: {
  1548. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1549. 'Accept': 'text/xml',
  1550. 'Referer': ""
  1551. },
  1552. onload: function(result) {
  1553. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1554. {
  1555. processRedirectorLink(link, redirectorId);
  1556. }
  1557. else
  1558. {
  1559. redirectors[redirectorId].cProcessed++;
  1560. link.href = result.finalUrl;
  1561. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1562. checkLinks('container_link');
  1563. }
  1564. },
  1565. onerror: function(result) { //probably caused by unresponsive filehosting
  1566. redirectors[redirectorId].cProcessed++;
  1567. link.className = 'unava_link';
  1568. cLinksProcessed++;
  1569. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1570. checkLinks('container_link');
  1571. }
  1572. });
  1573. }
  1574. //INNER_LINK
  1575. function processRedirectorLinkEx(link, redirectorId)
  1576. {
  1577. link.className = 'container_link';
  1578. GM_xmlhttpRequest({
  1579. method: 'GET',
  1580. url: link.href,
  1581. headers: {
  1582. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1583. 'Accept': 'text/xml',
  1584. 'Referer': ""
  1585. },
  1586. onload: function(result) {
  1587. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1588. redirectors[redirectorId].cProcessed++;
  1589. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1590. checkLinks('container_link');
  1591. }
  1592. });
  1593. }
  1594. //theloo.katt.it (wrapped safelinking.net)
  1595. function processThelooKattItLink(link, redirectorId)
  1596. {
  1597. link.className = 'container_link';
  1598. GM_xmlhttpRequest({
  1599. method: 'GET',
  1600. url: link.href,
  1601. headers: {
  1602. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1603. 'Accept': 'text/xml',
  1604. 'Referer': ""
  1605. },
  1606. onload: function(result) {
  1607. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1608. redirectors[redirectorId].cProcessed++;
  1609. //the inner links are safelinking.net links, so lets proceed with it
  1610. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1611. {
  1612. processRedirectorLink(link, 0);
  1613. }
  1614. }
  1615. });
  1616. }
  1617. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1618. function processAdfLyLink(link, redirectorId)
  1619. {
  1620. link.className = 'container_link';
  1621. GM_xmlhttpRequest({
  1622. method: 'GET',
  1623. url: link.href,
  1624. headers: {
  1625. 'User-agent': 'Mozilla/4.0',
  1626. 'Accept': 'text/xml',
  1627. 'Referer': ""
  1628. },
  1629. onload: function(result) {
  1630. if (result.finalUrl.match('/locked/'))
  1631. {
  1632. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1633. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1634. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1635. }
  1636. else
  1637. {
  1638. // GM_log('Processing... ' + link.href);
  1639. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1640. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1641. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1642. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1643. //confirm advert
  1644. GM_xmlhttpRequest(
  1645. {
  1646. method: 'POST',
  1647. url: 'http://adf.ly/l.php',
  1648. headers: {
  1649. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1650. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1651. 'Referer': link.href
  1652. },
  1653. data: users + '&lt=' + logToken,
  1654. onload: function(result) {
  1655. //retrieve final url from .../go/... link
  1656. GM_xmlhttpRequest({
  1657. method: 'GET',
  1658. url: directLink,
  1659. headers: {
  1660. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1661. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1662. 'Referer': link.href
  1663. },
  1664. onload: function(result) {
  1665. link.href = result.finalUrl;
  1666. redirectors[redirectorId].cProcessed++;
  1667. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1668. checkLinks('container_link');
  1669. }
  1670. });
  1671. }
  1672. });
  1673. }
  1674. }
  1675. });
  1676. function proceedOK()
  1677. {
  1678. }
  1679. }
  1680. //MULTILOAD.CZ START
  1681. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1682. {
  1683. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1684. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1685.  
  1686. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1687.  
  1688. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1689. hostRestrictionRegex += 'hellshare|';
  1690. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1691. hostRestrictionRegex += 'share-rapid\\.com|';
  1692. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1693. hostRestrictionRegex += 'quickshare\\.cz|';
  1694. if (GM_getValue("Check_czshare_dot_com_links", false))
  1695. hostRestrictionRegex += 'czshare\\.com|';
  1696. if (GM_getValue("Check_uloz_dot_to_links", false))
  1697. hostRestrictionRegex += 'uloz\\.to|';
  1698. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1699. hostRestrictionRegex += 'hellspy|';
  1700. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1701. hostRestrictionRegex += 'multishare\\.cz|';
  1702.  
  1703. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1704.  
  1705. linkify(mlRegex);
  1706.  
  1707. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1708. var mlCount = mlSnapshot.snapshotLength;
  1709.  
  1710. if (mlCount > 0)
  1711. {
  1712. cMultiloadTotal += mlCount;
  1713.  
  1714. mlIdx = mlCount - 1;
  1715. do
  1716. {
  1717. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1718. }
  1719. while(mlIdx--)
  1720. }
  1721. }
  1722. //MULTILOAD.CZ END
  1723.  
  1724.  
  1725.  
  1726. function processMultiloadLink(mlLink)
  1727. {
  1728. GM_xmlhttpRequest({
  1729. method: 'GET',
  1730. url: mlLink.href,
  1731. headers: {
  1732. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1733. 'Accept': 'text/xml',
  1734. 'Referer': ""
  1735. },
  1736. onload: function(result) {
  1737. var res = result.responseText;
  1738.  
  1739. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1740. 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;
  1741. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1742. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1743.  
  1744. var blocks; // blocks of links
  1745. var blockIdx;
  1746.  
  1747. mlLink.className = '';
  1748.  
  1749. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1750. {
  1751. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1752. return;
  1753. }
  1754.  
  1755. blocks = res.match(innerBlockRegex);
  1756.  
  1757. if (blocks == null) //no links found, cancel further processing
  1758. {
  1759. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1760. cMultiloadProcessed++;
  1761. if (cMultiloadTotal <= cMultiloadProcessed)
  1762. {
  1763. startBulkCheck('container_link');
  1764. start('container_link');
  1765. }
  1766. return;
  1767. }
  1768.  
  1769. blockIdx = blocks.length;
  1770.  
  1771. if (Display_full_links_in_link_containers)
  1772. {
  1773. var ulElm = document.createElement('ul');
  1774. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1775.  
  1776. while(blockIdx--)
  1777. {
  1778. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1779. {
  1780. continue;
  1781. }
  1782.  
  1783. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1784.  
  1785. var linkIdx = innerLinks.length;
  1786. while (linkIdx--)
  1787. {
  1788. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1789.  
  1790. var liElm = document.createElement('li');
  1791.  
  1792. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1793. {
  1794. liElm.appendChild(document.createTextNode(innerLink));
  1795. }
  1796. else
  1797. {
  1798. var aElm = document.createElement('a');
  1799. aElm.innerHTML = innerLink;
  1800. aElm.href = innerLink;
  1801. aElm.className = 'container_link';
  1802.  
  1803. liElm.appendChild(aElm);
  1804. }
  1805.  
  1806. ulElm.appendChild(liElm);
  1807. cLinksTotal++;
  1808. }
  1809. }
  1810.  
  1811. mlLink.parentNode.appendChild(ulElm);
  1812. }
  1813. else //compact view
  1814. {
  1815. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1816.  
  1817. while(blockIdx--)
  1818. {
  1819. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1820. {
  1821. continue;
  1822. }
  1823.  
  1824. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1825.  
  1826. var linkIdx = innerLinks.length;
  1827. while (linkIdx--)
  1828. {
  1829. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1830.  
  1831. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1832. {
  1833. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1834. }
  1835. else
  1836. {
  1837. var aElm = document.createElement('a');
  1838.  
  1839. var hostName = innerLink.match(/quickshare|hellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1840.  
  1841. //abbreviate host name
  1842. switch(hostName + ""){
  1843.  
  1844. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1845. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1846. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1847. case 'multishare': aElm.innerHTML = 'MS'; break;
  1848. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1849. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1850. case 'czshare': aElm.innerHTML = 'CS'; break;
  1851. default: aElm.innerHTML = 'xx';
  1852.  
  1853. }
  1854.  
  1855. aElm.href = innerLink;
  1856. aElm.className = 'container_link';
  1857.  
  1858. mlLink.parentNode.appendChild(aElm);
  1859. cLinksTotal++;
  1860. }
  1861. }
  1862.  
  1863. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1864.  
  1865. }
  1866. }
  1867.  
  1868. cMultiloadProcessed++;
  1869. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1870. {
  1871. if (Do_not_linkify_DL_links)
  1872. {
  1873. delinkifySnapshot(mlSnapshot);
  1874. }
  1875. startBulkCheck('container_link');
  1876. start('container_link');
  1877. }
  1878. }
  1879. });
  1880. }
  1881.  
  1882.  
  1883. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1884. {
  1885. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1886. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1887. var mcShortHostNames =
  1888. '?? 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';
  1889. // 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
  1890. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1891. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1892. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1893. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1894.  
  1895. linkify(mcRegex);
  1896.  
  1897. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1898. var mcCount = mcSnapshot.snapshotLength;
  1899.  
  1900. cMirrorcreatorComTotal = mcCount;
  1901.  
  1902. if (mcCount > 0)
  1903. {
  1904. mcShortHostNames = mcShortHostNames.split(' ');
  1905. mcIdx = mcCount;
  1906. while(mcIdx--)
  1907. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1908. }
  1909.  
  1910. }
  1911. //MIRRORCREATOR.CZ END
  1912.  
  1913.  
  1914. //mirrorcreator.com checking works like this:
  1915. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1916. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  1917. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  1918. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  1919. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  1920. function processMirrorcreatorLink(mcLink)
  1921. {
  1922. var mcURL = mcLink.href.match(mcRegex);
  1923. if(!mcURL || !mcURL[1]) return;
  1924. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  1925. GM_xmlhttpRequest({
  1926. method: 'GET',
  1927. url: mcURL,
  1928. headers: {
  1929. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1930. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1931. 'Referer': ""
  1932. },
  1933. onload: function(mcLinkResult) {
  1934. var mcLinkRes = mcLinkResult.responseText;
  1935.  
  1936. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  1937. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  1938.  
  1939. var mcRedirectors;
  1940. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  1941. var m = mcLinkRes.match(mcLinkBlockRegex);
  1942. if (m)
  1943. mcHostsFound = m.length;
  1944. else
  1945. { //no files inside container
  1946. processMirrorcreatorFoundHosts(mcLink, []);
  1947. return;
  1948. }
  1949.  
  1950. var mcRedirectorURL, idx, timedOut = false;
  1951.  
  1952. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  1953. GM_xmlhttpRequest({
  1954. method: 'GET',
  1955. url: mcRedirectorURL,
  1956. headers: {
  1957. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1958. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  1959. 'Referer': ""
  1960. },
  1961. onload: function(mcHostResult) {
  1962. if (timedOut) return; //too late, the list is already displayed
  1963. var mcHostRes = mcHostResult.responseText;
  1964. var mcHost = mcHostRes.match(mcHostRegex);
  1965. idx = mcHostURLs.indexOf(mcRedirectorURL);
  1966. if (mcHost && idx!=-1)
  1967. {
  1968. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  1969. mcHostsRetrieved++;
  1970. mcHostsToProcess++;
  1971. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  1972. {
  1973. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  1974. mcHostsToProcess = 0;
  1975. }
  1976. }
  1977. } //end of onload: function
  1978. }); //end of GM_xmlhttpRequest call
  1979. };//end of var gmxhrFunc
  1980.  
  1981. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  1982. { //load individual redirector pages
  1983. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  1984. mcHostURLs.push(mcRedirectorURL);
  1985. mcRedirectorIDs.push(mcRedirectors[2]);
  1986. gmxhrFunc(mcRedirectorURL);
  1987. } //end of while block
  1988.  
  1989. setTimeout(function(){ //in case the last page fails to load and call the function
  1990. timedOut = true;
  1991. if (mcHostsToProcess)
  1992. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  1993. }, 60000);
  1994.  
  1995. } //end of onload function
  1996. }); //end of GM_xmlhttpRequest call
  1997. } //end of function processMirrorcreatorLink
  1998.  
  1999.  
  2000. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2001. {
  2002. var aEl, liEl, docFrag;
  2003. var hostName, mcRedirectorID, trimFilename = false;
  2004. var i = mcHostURLs.length;
  2005. if (i == 0)
  2006. {
  2007. trimFilename = true;
  2008. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2009. }
  2010. else
  2011. {
  2012. if (Display_full_links_in_link_containers)
  2013. { //full view
  2014. var wrapperEl = document.createElement('span');
  2015. wrapperEl.style.display = 'block';
  2016. var ulistEl = document.createElement('ul');
  2017. ulistEl.className = 'container_list';
  2018. while (i--)
  2019. {
  2020. liEl = document.createElement('li');
  2021. aEl = document.createElement('a');
  2022. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2023. aEl.href = mcHostURLs[i];
  2024. aEl.className = 'container_link';
  2025. liEl.appendChild(aEl);
  2026. ulistEl.appendChild(liEl);
  2027. }
  2028. wrapperEl.appendChild(ulistEl);
  2029. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2030. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2031. }
  2032. else
  2033. { //compact view
  2034. trimFilename = true;
  2035. docFrag = document.createDocumentFragment();
  2036. docFrag.appendChild(document.createTextNode(' |'));
  2037. while (i--)
  2038. {
  2039. mcRedirectorID = mcRedirectorIDs[i];
  2040. hostName = mcHostURLs[i];
  2041. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2042. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2043. else
  2044. hostName = mcShortHostNames[mcRedirectorID];
  2045. aEl = document.createElement('a');
  2046. aEl.href = mcHostURLs[i];
  2047. aEl.className = 'container_link';
  2048. aEl.appendChild(document.createTextNode(hostName));
  2049. docFrag.appendChild(aEl);
  2050. docFrag.appendChild(document.createTextNode('|'));
  2051. }
  2052. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2053. } //end of else block
  2054. } //end of else block
  2055. mcLink.className = '';
  2056. if (trimFilename)
  2057. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2058. cMirrorcreatorComProcessed++;
  2059. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2060. {
  2061. if (Do_not_linkify_DL_links)
  2062. delinkifySnapshot(mcSnapshot);
  2063. startBulkCheck('container_link');
  2064. start('container_link');
  2065. }
  2066. } //end of function processMirrorcreatorFoundHosts
  2067.  
  2068. containers_processed = true;
  2069.  
  2070.  
  2071. function initRedirectors()
  2072. {
  2073. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2074. {
  2075. var redirector = new Object();
  2076. redirector.linkRegex = linkRegex;
  2077. redirector.xpath = xpathEx; //xpath expression
  2078. redirector.cProcessed = 0; //processed links count
  2079. redirector.cTotal = 0; //total links count
  2080. redirector.type = redirType; //redirectorTypes enum
  2081. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2082. redirectors.push(redirector);
  2083. }
  2084. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2085. {
  2086. addRedirector(
  2087. 'safelinking\\.net\/d\/\\w+',
  2088. "//a[contains(@href,'safelinking.net/d/')]",
  2089. redirectorTypes.HTTP_302,
  2090. null);
  2091. }
  2092. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2093. {
  2094. addRedirector(
  2095. 'linksafe\\.me\/d\/\\w+',
  2096. "//a[contains(@href,'linksafe.me/d/')]",
  2097. redirectorTypes.HTTP_302,
  2098. null);
  2099. }
  2100. if (GM_getValue("Check_linkto_dot_net_links", false))
  2101. {
  2102. addRedirector(
  2103. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2104. "//a[contains(@href,'linkto.net/?')]",
  2105. redirectorTypes.INNER_LINK,
  2106. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2107. }
  2108. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2109. {
  2110. addRedirector(
  2111. '(?:the)?loo\\.katt\\.it\/\\w+',
  2112. "//a[contains(@href,'loo.katt.it/')]",
  2113. redirectorTypes.THELOO_KATT_IT,
  2114. /Proceed to URL - <a href="(.+?)">/);
  2115. }
  2116. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2117. {
  2118. addRedirector(
  2119. 'madlink\\.sk\/\\w+',
  2120. "//a[contains(@href,'madlink.sk/')]",
  2121. redirectorTypes.INNER_LINK,
  2122. /name="url" value="(.+?)\s*"\/>/);
  2123. }
  2124. if (GM_getValue("Check_adf_dot_ly_links", false))
  2125. {
  2126. addRedirector(
  2127. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2128. "//a[contains(@href,'adf.ly/') or contains(@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2129. redirectorTypes.ADF_LY,
  2130. null);
  2131. }
  2132. if (GM_getValue("Check_redi_dot_re_links", false))
  2133. {
  2134. addRedirector(
  2135. 'redi\\.re\/\\w+',
  2136. "//a[contains(@href,'redi.re/')]",
  2137. redirectorTypes.HTTP_302,
  2138. null);
  2139. }
  2140. if (GM_getValue("Check_bit_dot_ly_links", false))
  2141. {
  2142. addRedirector(
  2143. 'bit\\.ly\/\\w+',
  2144. "//a[contains(@href,'bit.ly/')]",
  2145. redirectorTypes.HTTP_302,
  2146. null);
  2147. }
  2148. }
  2149.  
  2150. }
  2151.  
  2152. var bulkHosts = new Array();
  2153. var bulkHostNames = new Array();
  2154. function initBulkCheck()
  2155. {
  2156. /////////////////////////////
  2157. // Inits filehost object
  2158. /////////////////////////////
  2159. // params :
  2160. // hostName -- [string] host name (multiple domains separated with coma)
  2161. // linkRegex -- [string] link regex
  2162. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2163. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2164. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2165. // corrReplWhat -- [regex] link correction regex (replace)
  2166. // corrReplWith -- [string]
  2167. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2168. //
  2169. // apiUrl -- [string] web linkchecker or API URL
  2170. // postData -- [string] POSTDATA of xmlhttprequest
  2171. // resLinkRegex -- [regex]
  2172. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2173. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2174. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2175. // func -- [function] bulkcheck handler, genBulkCheck if null
  2176. //
  2177. //////////////////////////////
  2178. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2179. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2180. {
  2181. var fileHost = new Object();
  2182.  
  2183. fileHost.linkRegex = linkRegex;
  2184. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2185. fileHost.xpath = xpath;
  2186. fileHost.cFound = 0; //found links counter
  2187. fileHost.links = new Array(); //found links
  2188. if (blockSize == null)
  2189. {
  2190. fileHost.blockSize = 50;
  2191. }
  2192. else
  2193. {
  2194. fileHost.blockSize = blockSize;
  2195. }
  2196. fileHost.corrMatch = corrMatch;
  2197. fileHost.corrReplWhat = corrReplWhat;
  2198. fileHost.corrReplWith = corrReplWith;
  2199. if (splitSeparator == null)
  2200. {
  2201. fileHost.splitSeparator = "\r\n";
  2202. }
  2203. else
  2204. {
  2205. fileHost.splitSeparator = splitSeparator;
  2206. }
  2207. fileHost.apiUrl = apiUrl;
  2208. fileHost.postData = postData;
  2209. fileHost.resLinkRegex = resLinkRegex;
  2210. fileHost.resLiveRegex = resLiveRegex;
  2211. fileHost.resDeadRegex = resDeadRegex;
  2212. fileHost.resUnavaRegex = resUnavaRegex;
  2213. if (func == null)
  2214. {
  2215. fileHost.func = genBulkCheck;
  2216. }
  2217. else
  2218. {
  2219. fileHost.func = func;
  2220. }
  2221. bulkHosts.push(fileHost);
  2222. var names = hostName.split(',');
  2223. var i = names.length;
  2224. while(i--)
  2225. {
  2226. bulkHostNames[names[i]] = fileHost;
  2227. }
  2228. }
  2229. var genType1 = [
  2230. "migahost.com", "rodfile.com", "downloadani.me",
  2231. "rarefile.net",
  2232. "ddlstorage.com", "filesabc.com", "sharebeast.com",
  2233. "180upload.com", "verzend.be",
  2234. "movreel.com",
  2235. "4up.me",
  2236. "file4safe.com", "filemac.com", "4upfiles.com",
  2237. "idup.in", "novafile.com", "longfiles.com",
  2238. "bitupload.com",
  2239. "uploadbaz.com"
  2240. ];
  2241. var genType2 = [ "queenshare.com",
  2242. "hulkload.com",
  2243. "daj.to",
  2244. "amonshare.com", "edoc.com",
  2245. ];
  2246. //xfilesharing 1.0
  2247. function addGenericType1()
  2248. {
  2249. var i = genType1.length;
  2250. while(i--)
  2251. {
  2252. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2253. {
  2254. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2255. addHost(
  2256. genType1[i].match(/[\w-]+/)[0], //hostname
  2257. regexSafe + "\/\\w+", //linkregex
  2258. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2259. null, //blocksize
  2260. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2261. null, //corrreplwhat
  2262. null, //corrreplwith
  2263. null, //separator
  2264. "http://" + genType1[i] + "/checkfiles.html", //api url
  2265. "op=checkfiles&process=Check+URLs&list=", //postdata
  2266. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2267. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2268. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2269. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2270. null //function delegate
  2271. )
  2272. }
  2273. }
  2274. }
  2275. //xfilesharing 2.0
  2276. function addGenericType2()
  2277. {
  2278. var i = genType2.length;
  2279. while(i--)
  2280. {
  2281. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2282. {
  2283. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2284. addHost(
  2285. genType2[i].match(/[\w-]+/)[0], //hostname
  2286. regexSafe + "\/\\w+", //linkregex
  2287. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2288. null, //blocksize
  2289. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2290. null, //corrreplwhat
  2291. null, //corrreplwith
  2292. null, //separator
  2293. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2294. "op=checkfiles&process=Check+URLs&list=", //postdata
  2295. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2296. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2297. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2298. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2299. null //function delegate
  2300. )
  2301. }
  2302. }
  2303. }
  2304. // TEMPLATE
  2305. // if (GM_getValue("Check__dot_com_links", false))
  2306. // {
  2307. // addHost(
  2308. // "", //hostname
  2309. // "", //linkregex
  2310. // "//a[contains(@href,'.com/')]", //xpath
  2311. // null, //blocksize
  2312. // null, //corrmatch
  2313. // null, //corrreplwhat
  2314. // null, //corrreplwith
  2315. // null, //separator
  2316. // "", //api url
  2317. // "", //postdata
  2318. // /()/, //linkregex
  2319. // //liveregex
  2320. // //deadregex
  2321. // //unavaregex
  2322. // null //function delegate
  2323. // )
  2324. // }
  2325. addGenericType1();
  2326. addGenericType2();
  2327.  
  2328. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2329. {
  2330. addHost(
  2331. "myvdrive,fileserving", //hostname
  2332. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2333. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2334. null, //blocksize
  2335. null, //corrmatch
  2336. null, //corrreplwhat
  2337. null, //corrreplwith
  2338. null, //separator
  2339. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2340. "links=", //postdata
  2341. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2342. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2343. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2344. null, //unavaregex
  2345. null //function delegate
  2346. )
  2347. }
  2348. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2349. {
  2350. addHost(
  2351. "hackerbox", //hostname
  2352. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2353. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2354. null, //blocksize
  2355. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2356. null, //corrreplwhat
  2357. null, //corrreplwith
  2358. null, //separator
  2359. "http://host.hackerbox.org/checkfiles.html", //api url
  2360. "op=checkfiles&process=Check+URLs&list=", //postdata
  2361. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2362. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2363. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2364. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2365. null //function delegate
  2366. )
  2367. }
  2368. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2369. {
  2370. addHost(
  2371. "hellshare", //hostname
  2372. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2373. "//a[contains(@href,'hellshare.')]", //xpath
  2374. 48, //blocksize
  2375. null, //corrmatch
  2376. null, //corrreplwhat
  2377. null, //corrreplwith
  2378. null, //separator
  2379. null, //api url
  2380. null, //postdata
  2381. null, //linkregex
  2382. null, //liveregex
  2383. null, //deadregex
  2384. null, //unavaregex
  2385. hellshareBulkCheck //function delegate
  2386. )
  2387. }
  2388. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2389. {
  2390. addHost(
  2391. "ncrypt", //hostname
  2392. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2393. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2394. 100000, //blocksize
  2395. null, //corrmatch
  2396. null, //corrreplwhat
  2397. null, //corrreplwith
  2398. null, //separator
  2399. null,
  2400. null,
  2401. null,
  2402. null,
  2403. null,
  2404. null,
  2405. ncryptBulkCheck //function delegate
  2406. )
  2407. }
  2408. if (GM_getValue("Check_geupload_dot_com_links", false))
  2409. {
  2410. addHost(
  2411. "geupload,lenfile", //hostname
  2412. "(?:geupload\\.com|lenfile\\.com)\/\\w+", //linkregex
  2413. "//a[contains(@href,'geupload.com/') or contains(@href,'lenfile.com/')]", //xpath
  2414. null, //blocksize
  2415. null, //corrmatch
  2416. null, //corrreplwhat
  2417. null, //corrreplwith
  2418. "\n", //separator
  2419. 'http://geupload.com/?op=checkfiles',
  2420. 'op=checkfiles&process=Check+URLs&list=',
  2421. />http:\/\/(?:geupload|lenfile)\.com\/(\w+)/,
  2422. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:green/g,
  2423. />http:\/\/(?:geupload|lenfile)\.com\/\w+(?:[^>]+>)<td style=\"color\:red/g,
  2424. null,
  2425. null
  2426. )
  2427. }
  2428. if (GM_getValue("Check_filepost_dot_com_links", false))
  2429. {
  2430. addHost(
  2431. "filepost,fp", //hostname
  2432. "(?:filepost\\.com\/files|fp\\.io)\/\\w+", //linkregex
  2433. "//a[contains(@href,'filepost.com/files/') or contains(@href,'fp.io/')]", //xpath
  2434. null, //blocksize
  2435. null, //corrmatch
  2436. null, //corrreplwhat
  2437. null, //corrreplwith
  2438. "\n", //separator
  2439. 'http://filepost.com/files/checker/?JsHttpRequest=0-xml',
  2440. 'urls=',
  2441. /\\\/files\\\/(\w+)/,
  2442. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"v\\"/g,
  2443. />http:\\\/\\\/filepost\.com\\\/files\\\/\w+(?:[^>]+>){5}(?:\\n|\\t)+<span class=\\"x\\"/g,
  2444. null,
  2445. null //function delegate
  2446. )
  2447. }
  2448. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2449. {
  2450. addHost(
  2451. "filesflash", //hostname
  2452. "filesflash\\.com\/\\w+", //linkregex
  2453. "//a[contains(@href,'filesflash.com')]", //xpath
  2454. null, //blocksize
  2455. null, //corrmatch
  2456. /http:\/\//, //corrreplwhat
  2457. '', //corrreplwith
  2458. null, //separator
  2459. 'http://filesflash.com/checklinks.php',
  2460. 'submit=Go&links=',
  2461. /filesflash\.com\/(\w+)/,
  2462. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2463. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2464. null,
  2465. null //function delegate
  2466. )
  2467. }
  2468. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2469. {
  2470. addHost(
  2471. "jumbofiles", //hostname
  2472. "jumbofiles\\.com\/\\w+", //linkregex
  2473. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2474. null, //blocksize
  2475. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2476. null, //corrreplwhat
  2477. null, //corrreplwith
  2478. null, //separator
  2479. "http://jumbofiles.com/checkfiles.html", //api url
  2480. "op=checkfiles&process=Check+URLs&list=", //postdata
  2481. /(jumbofiles\.com\/\w+)/, //linkregex
  2482. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2483. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2484. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2485. null //function delegate
  2486. )
  2487. }
  2488. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2489. {
  2490. addHost(
  2491. "edisk", //hostname
  2492. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2493. "//a[contains(@href,'edisk.')]", //xpath
  2494. null, //blocksize
  2495. null, //corrmatch
  2496. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2497. 'edisk.cz/stahni', //corrreplwith
  2498. null, //separator
  2499. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2500. 'submitBtn=Zkontrolovat&checkFiles=',
  2501. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2502. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2503. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2504. null,
  2505. null //function delegate
  2506. )
  2507. }
  2508. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2509. {
  2510. GM_xmlhttpRequest( //age check skip
  2511. {
  2512. method: 'POST',
  2513. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2514. headers: {
  2515. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2516. 'Content-type': 'application/x-www-form-urlencoded',
  2517. 'Referer': ""
  2518. }
  2519. });
  2520. addHost(
  2521. "bezvadata", //hostname
  2522. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2523. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2524. null, //blocksize
  2525. null, //corrmatch
  2526. null, //corrreplwhat
  2527. null, //corrreplwith
  2528. null, //separator
  2529. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2530. 'zkontrolovat=Zkontrolovat&odkazy=',
  2531. /(bezvadata\.cz\/stahnout\/\d+)/,
  2532. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2533. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2534. null,
  2535. null //function delegate
  2536. )
  2537. }
  2538. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2539. {
  2540. addHost(
  2541. "linkcrypt", //hostname
  2542. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2543. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2544. 100000, //blocksize
  2545. null, //corrmatch
  2546. null, //corrreplwhat
  2547. null, //corrreplwith
  2548. null, //separator
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. null,
  2554. null,
  2555. linkcryptBulkCheck //function delegate
  2556. )
  2557. }
  2558. if (GM_getValue("Check_linksave_dot_in_links", false))
  2559. {
  2560. addHost(
  2561. "linksave", //hostname
  2562. "linksave\\.in\/\\w+", //linkregex
  2563. "//a[contains(@href,'linksave.in')]", //xpath
  2564. 100000, //blocksize
  2565. null, //corrmatch
  2566. null, //corrreplwhat
  2567. null, //corrreplwith
  2568. null, //separator
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. null,
  2574. null,
  2575. linksaveBulkCheck //function delegate
  2576. )
  2577. }
  2578. if (GM_getValue("Check_videobb_dot_com_links", false))
  2579. {
  2580. addHost(
  2581. "videobb", //hostname
  2582. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2583. "//a[contains(@href,'videobb.com')]", //xpath
  2584. null, //blocksize
  2585. null, //corrmatch
  2586. /watch_video\.php\?v=/, //corrreplwhat
  2587. 'video/', //corrreplwith
  2588. null, //separator
  2589. 'http://www.videobb.com/link_checker.php',
  2590. 'links=',
  2591. /videobb\.com\/video\/(\w+)/,
  2592. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2593. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2594. null,
  2595. null //function delegate
  2596. )
  2597. }
  2598. if (GM_getValue("Check_cramit_dot_in_links", false))
  2599. {
  2600. addHost(
  2601. "cramit,cramitin", //hostname
  2602. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2603. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2604. null, //blocksize
  2605. null, //corrmatch
  2606. null, //corrreplwhat
  2607. null, //corrreplwith
  2608. null, //separator
  2609. 'http://cramit.in/checkfiles.html',
  2610. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2611. /(cramit(?:\.in|in\.net)\/\w+)/,
  2612. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2613. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2614. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2615. null //function delegate
  2616. )
  2617. }
  2618. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2619. {
  2620. addHost(
  2621. "turbobit", //hostname
  2622. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2623. "//a[contains(@href,'turbobit.')]", //xpath
  2624. null, //blocksize
  2625. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2626. null, //corrreplwhat
  2627. null, //corrreplwith
  2628. "\n", //separator
  2629. 'http://turbobit.net/linkchecker/csv',
  2630. 'links_to_check=',
  2631. /(turbobit\.(?:net|pl)\/\w+)/,
  2632. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2633. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2634. null,
  2635. null //function delegate
  2636. )
  2637. }
  2638. if (GM_getValue("Check_filerio_dot_com_links", false))
  2639. {
  2640. addHost(
  2641. "filekeen,filerio", //hostname
  2642. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2643. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2644. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2645. null, //blocksize
  2646. null, //corrmatch
  2647. null, //corrreplwhat
  2648. null, //corrreplwith
  2649. null, //separator
  2650. 'http://filerio.in/checkfiles.html',
  2651. 'op=checkfiles&process=Check+URLs&list=',
  2652. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2653. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2654. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2655. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2656. null //function delegate
  2657. )
  2658. }
  2659. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2660. {
  2661. addHost(
  2662. "share-online,egoshare", //hostname
  2663. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2664. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2665. null, //blocksize
  2666. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2667. null, //corrreplwhat
  2668. null, //corrreplwith
  2669. "\n", //separator
  2670. 'http://api.share-online.biz/linkcheck.php',
  2671. 'links=',
  2672. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2673. /\w+;OK/g,
  2674. /\w+;(?:NOTFOUND|DELETED)/g,
  2675. null,
  2676. null //function delegate
  2677. )
  2678. }
  2679. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2680. {
  2681. addHost(
  2682. "quickshare", //hostname
  2683. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2684. "//a[contains(@href,'quickshare.cz')]", //xpath
  2685. null, //blocksize
  2686. null, //corrmatch
  2687. null, //corrreplwhat
  2688. null, //corrreplwith
  2689. null, //separator
  2690. 'http://www.quickshare.cz/nastroje/link-checker',
  2691. 'linky=',
  2692. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2693. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2694. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2695. null,
  2696. null //function delegate
  2697. )
  2698. }
  2699. if (GM_getValue("Check_netload_dot_in_links", false))
  2700. {
  2701. addHost(
  2702. "netload", //hostname
  2703. "netload\\.in\/datei\\w{10}", //linkregex
  2704. "//a[contains(@href,'netload.in')]", //xpath
  2705. null, //blocksize
  2706. null, //corrmatch
  2707. null, //corrreplwhat
  2708. null, //corrreplwith
  2709. "\n", //separator
  2710. "http://api.netload.in/index.php?id=2", //api url
  2711. "send=Absenden&links=", //postdata
  2712. /(\w+);/, //linkregex
  2713. /\w{10,};.+?;.+?;online/g, //liveregex
  2714. /\w{10,};.+?;.+?;offline/g, //deadregex
  2715. null, //unavaregex
  2716. //netloadBulkCheck //function delegate //disabled on probation since 1.2.4.5
  2717. null //function delegate
  2718. )
  2719. }
  2720. if (GM_getValue("Check_oboom_dot_com_links", false))
  2721. {
  2722. addHost(
  2723. "oboom", //hostname
  2724. "oboom\\.com\/#?\\w{8}", //linkregex
  2725. "//a[contains(@href,'oboom.com/')]", //xpath
  2726. null, //blocksize
  2727. /oboom\.com\/#?(\w{8})/, //corrmatch
  2728. null, //corrreplwhat
  2729. null, //corrreplwith
  2730. null, //separator
  2731. null,
  2732. null,
  2733. null,
  2734. null, //liveregex
  2735. null, //deadregex
  2736. null,
  2737. oboomBulk //function delegate
  2738. )
  2739. }
  2740. if (GM_getValue("Check_mega_dot_co_dot_nz_links", false))
  2741. {
  2742. addHost(
  2743. "mega",
  2744. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2745. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2746. 100000, //blocksize
  2747. null, //corrmatch
  2748. null, //corrreplwhat
  2749. null, //corrreplwith
  2750. null, //separator
  2751. null,
  2752. null,
  2753. null,
  2754. null,
  2755. null,
  2756. null,
  2757. megaBulkCheck //function delegate
  2758. )
  2759. }
  2760.  
  2761. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2762.  
  2763. if (GM_getValue("Check_extabit_dot_com_links", false))
  2764. {
  2765. addHost(
  2766. "extabit", //hostname
  2767. "extabit\\.com\/file\/\\w+", //linkregex
  2768. "//a[contains(@href,'extabit.com')]", //xpath
  2769. null, //blocksize
  2770. null, //corrmatch
  2771. null, //corrreplwhat
  2772. null, //corrreplwith
  2773. "\n", //separator
  2774. "http://extabit.com/linkchecker.jsp", //api url
  2775. "url=", //postdata
  2776. /extabit\.com\/(file\/\w+)/, //linkregex
  2777. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2778. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2779. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2780. extabitBulkCheck //function delegate
  2781. )
  2782. }
  2783. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2784. {
  2785. addHost(
  2786. "junocloud", //hostname
  2787. "junocloud\\.me\/\\w+", //linkregex
  2788. "//a[contains(@href,'junocloud.me')]", //xpath
  2789. null, //blocksize
  2790. null, //corrmatch
  2791. null, //corrreplwhat
  2792. null, //corrreplwith
  2793. "\n", //separator
  2794. "http://junocloud.me/checkfiles.html", //api url
  2795. "op=checkfiles&process=Check+URLs&list=", //postdata
  2796. /(junocloud\.me\/\w+)/, //linkregex
  2797. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2798. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2799. null, //unavaregex
  2800. null //function delegate
  2801. )
  2802. }
  2803. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2804. {
  2805. addHost(
  2806. "webshare", //hostname
  2807. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2808. "//a[contains(@href,'webshare.cz')]", //xpath
  2809. 100000, //blocksize
  2810. null, //corrmatch
  2811. null, //corrreplwhat
  2812. null, //corrreplwith
  2813. null, //separator
  2814. null, //api url
  2815. null, //postdata
  2816. null, //linkregex
  2817. null, //liveregex
  2818. null, //deadregex
  2819. null, //unavaregex
  2820. webshareBulkCheck //function delegate
  2821. )
  2822. }
  2823. /////////////////////////////
  2824. // Common function delegate to send links to get checked by host linkchecker
  2825. /////////////////////////////
  2826. // If you define a new delegate, you may use following properties
  2827. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2828. // this.apiUrl [string] API or web linkchecker URL
  2829. // this.postData [string] POSTDATA for POST request
  2830. // this.resLiveRegex [regex] matches live substrings in the request response
  2831. // this.resDeadRegex [regex] matches dead substrings in the request response
  2832. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2833. //
  2834. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2835. //
  2836. // See the code below for standard bulkcheck handling reference.
  2837. //////////////////////////////
  2838. function genBulkCheck()
  2839. {
  2840. var blockIdx = this.links.length;
  2841. while (blockIdx--)
  2842. {
  2843. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2844. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2845. }
  2846. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2847. {
  2848. GM_xmlhttpRequest(
  2849. {
  2850. method: 'POST',
  2851. url: api,
  2852. headers: {
  2853. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2854. 'Content-type': 'application/x-www-form-urlencoded',
  2855. 'Referer': api,
  2856. 'X-Requested-With': 'XMLHttpRequest'
  2857. },
  2858. data: postData + encodeURIComponent(links),
  2859. onload: function (result)
  2860. {
  2861. var res = result.responseText;
  2862. // GM_log(res);
  2863. var i;
  2864.  
  2865. var livelinks = res.match(liveRegex);
  2866. var deadlinks = res.match(deadRegex);
  2867. // GM_log(livelinks);
  2868. // GM_log(deadlinks);
  2869. if (livelinks != null)
  2870. {
  2871. i = livelinks.length - 1;
  2872. do
  2873. {
  2874. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2875. }
  2876. while (i--);
  2877. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2878. }
  2879.  
  2880. if (deadlinks != null)
  2881. {
  2882. i = deadlinks.length - 1;
  2883. do
  2884. {
  2885. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2886. }
  2887. while (i--);
  2888. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2889. }
  2890.  
  2891. if (unavaRegex != null)
  2892. {
  2893. var unavalinks = res.match(unavaRegex);
  2894. if (unavalinks)
  2895. {
  2896. i = unavalinks.length - 1;
  2897. do
  2898. {
  2899. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  2900. }
  2901. while (i--);
  2902. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  2903. }
  2904. }
  2905. }
  2906. });
  2907. }
  2908. }
  2909. //specialized bulkchecking handlers follow
  2910. function webshareBulkCheck()
  2911. {
  2912. var arr = this.links[0].split("\r\n");
  2913. var i = arr.length;
  2914. while(i--)
  2915. {
  2916. postRequest(arr[i]);
  2917. }
  2918. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2919. function postRequest(wsLink)
  2920. {
  2921. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  2922. GM_xmlhttpRequest(
  2923. {
  2924. method: 'POST',
  2925. url: "http://webshare.cz/api/file_info/",
  2926. headers: {
  2927. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2928. 'Content-type': 'application/x-www-form-urlencoded',
  2929. 'Referer': "",
  2930. },
  2931. data: "wst=&ident=" + id,
  2932. onload: function (result)
  2933. {
  2934. var res = result.responseText;
  2935. if (res.match(/<name>.+?<\/name>/))
  2936. {
  2937. DisplayTheCheckedLinks([id], 'alive_link');
  2938. }
  2939. else
  2940. {
  2941. DisplayTheCheckedLinks([id], 'adead_link');
  2942. }
  2943. }
  2944. });
  2945. }
  2946. }
  2947. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  2948. //extabit also doesn't like requests in fast succession, so some delays are added.
  2949. function extabitBulkCheck()
  2950. {
  2951. var timeoutDelay = 0;
  2952. var blockIdx = this.links.length;
  2953. while (blockIdx--)
  2954. {
  2955. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2956. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2957. }
  2958. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2959. {
  2960. GM_xmlhttpRequest(
  2961. {
  2962. method: 'POST',
  2963. url: api,
  2964. headers: {
  2965. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2966. 'Content-type': 'application/x-www-form-urlencoded',
  2967. 'Referer': api,
  2968. 'X-Requested-With': 'XMLHttpRequest'
  2969. },
  2970. data: postData + encodeURIComponent(links),
  2971. onload: function (result)
  2972. {
  2973. var res = result.responseText;
  2974. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  2975. {
  2976. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  2977. {
  2978. //GM_log(tryID + ': ' + link);
  2979. GM_xmlhttpRequest(
  2980. {
  2981. method: 'GET',
  2982. url: link,
  2983. 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': ""},
  2984. onload: function(result2)
  2985. {
  2986. var res2 = result2.responseText;
  2987. var res2Status = result.status;
  2988. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  2989. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  2990. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  2991. {
  2992. if (tryID < 7)
  2993. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  2994. else
  2995. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  2996. }
  2997. }
  2998. });
  2999. }
  3000. //split the hrefs and check them one by one
  3001. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3002. links = links.split('\n');
  3003. var i = links.length;
  3004. while (i--)
  3005. {
  3006. if (links[i])
  3007. {
  3008. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3009. timeoutDelay += 500;
  3010. }
  3011. }
  3012. return;
  3013. }
  3014. var i;
  3015.  
  3016. var livelinks = res.match(liveRegex);
  3017. var deadlinks = res.match(deadRegex);
  3018. if (livelinks != null)
  3019. {
  3020. i = livelinks.length - 1;
  3021. do
  3022. {
  3023. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3024. }
  3025. while (i--);
  3026. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3027. }
  3028.  
  3029. if (deadlinks != null)
  3030. {
  3031. i = deadlinks.length - 1;
  3032. do
  3033. {
  3034. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3035. }
  3036. while (i--);
  3037. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3038. }
  3039.  
  3040. if (unavaRegex != null)
  3041. {
  3042. var unavalinks = res.match(unavaRegex);
  3043. if (unavalinks)
  3044. {
  3045. i = unavalinks.length - 1;
  3046. do
  3047. {
  3048. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3049. }
  3050. while (i--);
  3051. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3052. }
  3053. }
  3054. }
  3055. });
  3056. }
  3057. }
  3058. function netloadBulkCheck()
  3059. {
  3060. var blockIdx = this.links.length;
  3061.  
  3062. while (blockIdx--)
  3063. {
  3064. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3065. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.unavaRegex);
  3066. }
  3067. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3068. {
  3069. GM_xmlhttpRequest(
  3070. {
  3071. method: 'POST',
  3072. url: api,
  3073. headers: {
  3074. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3075. 'Content-type': 'application/x-www-form-urlencoded',
  3076. 'Referer': ""
  3077. },
  3078. data: postData + encodeURIComponent(links),
  3079. onload: function (result)
  3080. {
  3081. var res = result.responseText;
  3082. var i;
  3083.  
  3084. var livelinks = res.match(liveRegex);
  3085. var deadlinks = res.match(deadRegex);
  3086. if (livelinks != null)
  3087. {
  3088. i = livelinks.length - 1;
  3089. do
  3090. {
  3091. recheckLink(livelinks[i].match(linkRegex)[1]);
  3092. }
  3093. while(i--);
  3094. }
  3095.  
  3096. if (deadlinks != null)
  3097. {
  3098. i = deadlinks.length - 1;
  3099. do
  3100. {
  3101. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3102. }
  3103. while (i--);
  3104. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3105. }
  3106. }
  3107. });
  3108. }
  3109. function recheckLink(link)
  3110. {
  3111. var link = link;
  3112. GM_xmlhttpRequest(
  3113. {
  3114. method: 'GET',
  3115. url: 'http://netload.in/datei' + link + '.htm',
  3116. headers: {
  3117. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3118. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3119. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3120. 'Referer': ""
  3121. },
  3122. onload: function (result)
  3123. {
  3124. var res = result.responseText;
  3125.  
  3126. if (res.match(/dl_first_file_download">|download_limit\.gif/))
  3127. {
  3128. DisplayTheCheckedLinks([link], 'alive_link');
  3129. return;
  3130. }
  3131.  
  3132. if (res.match(/achtung\.jpg"/))
  3133. {
  3134. DisplayTheCheckedLinks([link], 'adead_link');
  3135. }
  3136. },
  3137. onerror: function ()
  3138. {
  3139. displayTheCheckedLink(link, 'unava_link');
  3140. }
  3141. });
  3142. }
  3143. }
  3144.  
  3145. function megaBulkCheck()
  3146. {
  3147. var arr = this.links[0].split("\r\n");
  3148. var i = arr.length;
  3149. var seqno = Math.floor(Math.random()*1000000000);
  3150. while(i--)
  3151. {
  3152. postRequest(arr[i]);
  3153. }
  3154. function postRequest(megaLink)
  3155. {
  3156. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3157. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3158. GM_xmlhttpRequest(
  3159. {
  3160. method: "POST",
  3161. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3162. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3163. headers: {
  3164. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3165. 'Content-Type': 'application/xml',
  3166. 'Referer': "https://mega.co.nz/"
  3167. },
  3168. onload: function (result)
  3169. {
  3170. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3171. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3172. {
  3173.  
  3174. DisplayTheCheckedLinks([id], 'adead_link');
  3175. }
  3176. if (res.at)
  3177. {
  3178. DisplayTheCheckedLinks([id], 'alive_link');
  3179. }
  3180. if (res.e == "ETEMPUNAVAIL")
  3181. {
  3182. DisplayTheCheckedLinks([id], 'unava_link');
  3183. }
  3184. }
  3185. });
  3186. }
  3187.  
  3188. }
  3189.  
  3190. function oboomBulk() {
  3191. var a = [], b = [], c = [];
  3192. var array = this.links;
  3193.  
  3194. GM_xmlhttpRequest({
  3195. method: 'GET',
  3196. url: 'https://www.oboom.com/1/guestsession',
  3197. headers: {
  3198. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3199. 'Content-type': 'application/x-www-form-urlencoded',
  3200. 'Referer': 'https://www.oboom.com',
  3201. 'X-Requested-With': 'XMLHttpRequest'
  3202. },
  3203. onload: function(result) {
  3204. var blockIdx = array.length;
  3205. var token = JSON.parse(result.responseText)[1];
  3206. while (blockIdx--) {
  3207. startCheck(array[blockIdx].split('\r\n'), token);
  3208. }
  3209. }
  3210. });
  3211.  
  3212. function startCheck(links, token) {
  3213. GM_xmlhttpRequest({
  3214. method: 'POST',
  3215. url: "https://api.oboom.com/1/info",
  3216. headers: {
  3217. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3218. 'Content-type': 'application/x-www-form-urlencoded',
  3219. 'Referer': 'https://www.oboom.com/',
  3220. 'X-Requested-With': 'XMLHttpRequest'
  3221. },
  3222. data: "token=" + token + "&items=" + links.join(","),
  3223. onload: function(result) {
  3224. var res = JSON.parse(result.responseText)[1];
  3225. var i = res.length, s;
  3226.  
  3227. while (i--) {
  3228. s = res[i].state;
  3229. if (s == 'online') a.push(res[i].id);
  3230. else if (s == 'blocked' || s == 'abused' || s == 'lost' || s == 'not_found' || s == 'not_available'|| s == 'download_error' || s == 'offline' ) b.push(res[i].id);
  3231. else c.push(res[i].id);
  3232. }
  3233.  
  3234. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3235. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3236. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3237. }
  3238. });
  3239. }
  3240. }
  3241. function linksaveBulkCheck()
  3242. {
  3243. var arr = this.links[0].split("\r\n");
  3244. var i = arr.length;
  3245. while(i--)
  3246. {
  3247. postRequest(arr[i]);
  3248. }
  3249. function postRequest(lsLink)
  3250. {
  3251. GM_xmlhttpRequest(
  3252. {
  3253. method: "GET",
  3254. url: lsLink + '-t.jpg',
  3255. headers: {
  3256. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3257. 'Accept': 'text/xml',
  3258. 'Referer': ""
  3259. },
  3260. onload: function (result)
  3261. {
  3262. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3263. if (imgLen == 965) //online
  3264. {
  3265. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3266. }
  3267.  
  3268. if (imgLen == 972) //offline
  3269. {
  3270. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3271. }
  3272. if (imgLen == 978) //unava
  3273. {
  3274. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3275. }
  3276. }
  3277. });
  3278. }
  3279.  
  3280. }
  3281. function linkcryptBulkCheck()
  3282. {
  3283. var arr = this.links[0].split("\r\n");
  3284. var i = arr.length;
  3285. while(i--)
  3286. {
  3287. postRequest(arr[i]);
  3288. }
  3289. function postRequest(lcLink)
  3290. {
  3291. GM_xmlhttpRequest(
  3292. {
  3293. method: "GET",
  3294. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3295. headers: {
  3296. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3297. 'Accept': 'text/xml',
  3298. 'Referer': ""
  3299. },
  3300. onload: function (result)
  3301. {
  3302. var res = result.responseText;
  3303. if (res.match(/<errorCode>1101|folderStatus>[23]/)) //Offline status
  3304. {
  3305. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3306. return;
  3307. }
  3308. if (res.match(/folderStatus>1/)) //Online status
  3309. {
  3310. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3311. }
  3312. else
  3313. {
  3314. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3315. }
  3316. }
  3317. });
  3318. }
  3319. }
  3320.  
  3321. function megashareBulkCheck()
  3322. {
  3323. var arr = this.links[0].split("\r\n");
  3324. var i = arr.length;
  3325. while(i--)
  3326. {
  3327. postRequest(arr[i]);
  3328. }
  3329. function postRequest(msLink)
  3330. {
  3331. GM_xmlhttpRequest(
  3332. {
  3333. method: "GET",
  3334. url: msLink,
  3335. headers: {
  3336. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3337. 'Content-Type': 'application/x-www-form-urlencoded',
  3338. 'Referer': ""
  3339. },
  3340. onload: function (result)
  3341. {
  3342. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3343. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3344. if ((prZVal == null) || (btn3Name == null))
  3345. {
  3346. return;
  3347. }
  3348. GM_xmlhttpRequest(
  3349. {
  3350. method: "POST",
  3351. url: msLink,
  3352. headers: {
  3353. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3354. 'Content-Type': 'application/x-www-form-urlencoded',
  3355. 'Referer': ""
  3356. },
  3357. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3358. onload: function (result)
  3359. {
  3360. var res = result.responseText;
  3361. if (res.match(/<div id="err">/))
  3362. {
  3363. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3364. }
  3365. else
  3366. {
  3367. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3368. }
  3369. }
  3370. });
  3371. }
  3372. });
  3373. }
  3374. }
  3375. function ncryptBulkCheck()
  3376. {
  3377. var arr = this.links[0].split("\r\n");
  3378. var i = arr.length;
  3379. while(i--)
  3380. {
  3381. postRequest(arr[i]);
  3382. }
  3383. function postRequest(ncryptLink)
  3384. {
  3385. GM_xmlhttpRequest(
  3386. {
  3387. method: "POST",
  3388. url: 'http://ncrypt.in/api_status.php',
  3389. headers: {
  3390. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3391. 'Content-Type': 'application/x-www-form-urlencoded',
  3392. 'Referer': ""
  3393. },
  3394. data: 'link=' + encodeURI(ncryptLink),
  3395. onload: function (result)
  3396. {
  3397. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3398. switch(foldStatus + ""){
  3399. case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3400. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3401. default: DisplayTheCheckedLinks([ncryptLink], 'unava_link');
  3402. }
  3403. }
  3404. });
  3405. }
  3406. }
  3407. function hellshareBulkCheck()
  3408. {
  3409. var links = this.links;
  3410. GM_xmlhttpRequest(
  3411. {
  3412. method: "GET",
  3413. url: 'http://www.hellshare.com',
  3414. headers: {
  3415. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3416. 'Accept': 'text/xml',
  3417. 'Referer': ""
  3418. },
  3419. onload: function (result)
  3420. {
  3421. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3422.  
  3423. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3424. if (domain == 'sk')
  3425. loc = 'check=Skontrolova%C5%A5&links=';
  3426. if (domain == 'com')
  3427. loc = 'check=Check+availability&links=';
  3428. if (domain == 'hu')
  3429. loc = 'check=Kontrol%C3%A1lj&links=';
  3430. if (domain == 'pl')
  3431. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3432.  
  3433. genBulkCheck.call({ links: links,
  3434. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3435. postData: loc,
  3436. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3437. 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,
  3438. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3439. resUnavaRegex: null
  3440. });
  3441. }
  3442. });
  3443. }
  3444. /**
  3445. * Displays check result
  3446. * @param {Array} Array of links or link fragments.
  3447. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3448. */
  3449. function DisplayTheCheckedLinks(links, resultStatus)
  3450. {
  3451. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3452. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3453. if (Do_not_linkify_DL_links)
  3454. { //TODO into separate jQuery function
  3455. $links.replaceWith(function(){
  3456. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3457. });
  3458. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3459. }
  3460. $links.removeClass().addClass(resultStatus);
  3461. $links.each(function() {
  3462. this.href = Ref_anonymize_service + $(this).attr("href");
  3463. });
  3464. switch(resultStatus)
  3465. {
  3466. case "alive_link": cLinksAlive += $links.length;
  3467. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3468. break;
  3469. case "adead_link": cLinksDead += $links.length;
  3470. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3471. break;
  3472. case "unava_link": cLinksUnava += $links.length; break;
  3473. default:
  3474. }
  3475. cLinksProcessed += $links.length;
  3476. }
  3477. }
  3478. // starts bulkchecking
  3479. //
  3480. // params
  3481. // filterId [string] restricts link detection with passed id attribute
  3482. function startBulkCheck(filterId)
  3483. {
  3484. var cHosts = bulkHosts.length;
  3485. if (cHosts == 0) //no filehostings selected
  3486. return;
  3487. // STEP 1 linkify the links
  3488. var linkifyRegex = '';
  3489. var hostIdx = cHosts;
  3490. while(hostIdx--)
  3491. {
  3492. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3493. }
  3494. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3495. linkify(linkifyRegex);
  3496. //
  3497. //STEP 2 detect link objects
  3498. var xpathAll = '';
  3499. var hostIdx = cHosts;
  3500. while(hostIdx--)
  3501. {
  3502. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3503. }
  3504. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3505. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3506. if (filterId != null) //insert id restriction in the xpath
  3507. {
  3508. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3509. }
  3510. else
  3511. {
  3512. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3513. }
  3514. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3515. if (filterId == null)
  3516. {
  3517. cLinksTotal += links.snapshotLength;
  3518. }
  3519. //
  3520. //STEP 3 bind links with hostings
  3521. var linkIdx = links.snapshotLength;
  3522. var href = null;
  3523. if (linkIdx == 0) // no links found
  3524. return;
  3525. var name;
  3526. while (linkIdx--)
  3527. {
  3528. href = links.snapshotItem(linkIdx).href;
  3529. try // DO NOT REMOVE, filters crap that went through xpath detection
  3530. {
  3531. name = gimmeHostName(href);
  3532. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3533. bulkHostNames[name].links.push(href);
  3534. }
  3535. catch(e)
  3536. {
  3537.  
  3538. }
  3539. }
  3540. //
  3541. //STEP 4 process the links for each filehosting
  3542. var hostIdx = cHosts;
  3543. var host;
  3544. var m,n;
  3545. var arr;
  3546. while (hostIdx--)
  3547. {
  3548. host = bulkHosts[hostIdx];
  3549. arr = host.links;
  3550. if (arr.length == 0) //no links for this hosting, skip
  3551. {
  3552. continue;
  3553. }
  3554. //links match corrections
  3555. if (host.corrMatch != null)
  3556. {
  3557. var idx = arr.length;
  3558. while (idx--)
  3559. {
  3560. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3561. }
  3562. }
  3563. //links replace corrections
  3564. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3565. {
  3566. var idx = arr.length;
  3567. while (idx--)
  3568. {
  3569. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3570. }
  3571. }
  3572. m = arr.length;
  3573. n = host.blockSize;
  3574. if (m > n)
  3575. {
  3576. //insert block separators (RAND_STRING) into the array
  3577. for(var i = n; i < m; i += n + 1)
  3578. {
  3579. arr.splice(i, 0, RAND_STRING);
  3580. }
  3581. }
  3582.  
  3583. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3584. apiUrl: host.apiUrl,
  3585. postData: host.postData,
  3586. resLinkRegex: host.resLinkRegex,
  3587. resLiveRegex: host.resLiveRegex,
  3588. resDeadRegex: host.resDeadRegex,
  3589. resUnavaRegex: host.resUnavaRegex
  3590. });
  3591. //clean up
  3592. arr.length = 0;
  3593. }
  3594. //
  3595.  
  3596. function gimmeHostName(link)
  3597. {
  3598. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3599. }
  3600. }
  3601. function checkLinks(filterId)
  3602. {
  3603. startBulkCheck(filterId);
  3604. start(filterId);
  3605. }
  3606.  
  3607. /**
  3608. * Initialises progress box including event binding and CSS
  3609. */
  3610. function initProgressBox()
  3611. {
  3612. if ($("#warlc-progressbox").length > 0)
  3613. return;
  3614. //progressbox css change size and color of progress box
  3615. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3616. "; opacity:" + (Progress_box_opacity / 100) +
  3617. "; bottom:" + Progress_box_pos_bottom +
  3618. "px; right:" + Progress_box_pos_right +
  3619. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3620. \
  3621. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3622. \
  3623. .warlc-progressitem {}\
  3624. \
  3625. .alive {color:#00FF7F; " + Live_links_color +
  3626. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3627. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3628. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3629. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3630. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3631. );
  3632. //
  3633. $('body').append(' <div id="warlc-progressbox">\
  3634. <div class="warlc-progressbar"></div>\
  3635. <span class="warlc-progressitem alive"></span> - \
  3636. <span class="warlc-progressitem dead"></span> - \
  3637. <span class="warlc-progressitem unava"></span> - \
  3638. <span class="warlc-progressitem prem"></span> - \
  3639. <span class="warlc-progressitem processing"></span>\
  3640. </div>');
  3641. $('#warlc-progressbox').hide().click(function(){
  3642. clearInterval(intervalId);
  3643. $(this).hide();
  3644. return false;
  3645. });
  3646. $(".warlc-progressbar").progressbar({complete: function(){
  3647. $(this).fadeOut();
  3648. clearInterval(intervalId); //stop refreshing the stats
  3649. }
  3650. })
  3651. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  3652. }
  3653. /**
  3654. * Updates progress data in progress box
  3655. */
  3656. function updateProgress()
  3657. {
  3658. if (cLinksTotal) // some links were detected on page
  3659. {
  3660. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  3661. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  3662. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  3663. if ((cLinksTotal - cLinksProcessed) == 0)
  3664. {
  3665. $progressItems.first().text(cLinksAlive)
  3666. .next().text(cLinksDead)
  3667. .next().text(cLinksUnava)
  3668. .next().text(cLinksprem)
  3669. .next().remove();
  3670. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  3671. $('#warlc-progressbox div:first-child').remove();
  3672. }
  3673. else
  3674. {
  3675. $progressItems.first().text(cLinksAlive)
  3676. .next().text(cLinksDead)
  3677. .next().text(cLinksUnava)
  3678. .next().text(cLinksprem)
  3679. .next().text(cLinksTotal - cLinksProcessed);
  3680. }
  3681. }
  3682. }
  3683.  
  3684. function check_all_links()
  3685. {
  3686. add_WARLC_style();
  3687.  
  3688. if (Show_progress_stats)
  3689. {
  3690. initProgressBox();
  3691. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  3692. }
  3693.  
  3694. startBulkCheck(null);
  3695. start(null);
  3696.  
  3697. if (!containers_processed)
  3698. {
  3699. processContainers();
  3700. }
  3701. }
  3702.  
  3703. //Copies all found dead links to clipboard - right now for Scriptish only
  3704. function copy_dead_to_clipboard()
  3705. {
  3706. initClipBoardTools();
  3707.  
  3708. var deadlinksxpath = "//.[@class='adead_link']";
  3709.  
  3710. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3711. var foundlinkstext = '';
  3712.  
  3713. var foundlinkIdx = foundlinks.snapshotLength;
  3714.  
  3715. while(foundlinkIdx--)
  3716. {
  3717. if (foundlinks.snapshotItem(foundlinkIdx).innerHTML != ' x')
  3718. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).innerHTML.replace(/\[\/hide:\w+\]/,"") + '\n';
  3719. }
  3720.  
  3721. unsafeWindow.copyToClipboard(foundlinkstext);
  3722. }
  3723.  
  3724. function toggle_autocheck()
  3725. {
  3726. var currentState = GM_getValue("Autocheck", false);
  3727. GM_setValue("Autocheck", !currentState);
  3728.  
  3729. if (currentState == true)
  3730. {
  3731. sendMessage('Autocheck disabled', 'red');
  3732. }
  3733. else
  3734. {
  3735. sendMessage('Autocheck enabled', 'SpringGreen');
  3736. }
  3737. }
  3738. function toggle_Enable_Anonymizer()
  3739. {
  3740. var currentState = GM_getValue("Enable_Anonymizer", false);
  3741. GM_setValue("Enable_Anonymizer", !currentState);
  3742.  
  3743. if (currentState == true)
  3744. {
  3745. GM_setValue("Ref_anonymize_service", "");
  3746. sendMessage('Anonymizer Disabled', 'red');
  3747. }
  3748. else
  3749. {
  3750. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  3751. sendMessage('Anonymizer Enabled', 'SpringGreen');
  3752. }
  3753. }
  3754.  
  3755. function KeyDownHandler(event)
  3756. {
  3757. var kcode = (event.keyCode) ? event.keyCode : event.which;
  3758. if (event.ctrlKey && event.altKey)
  3759. {
  3760. switch(kcode)
  3761. {
  3762. case 65 : check_all_links(); break;
  3763. case 67 : configuration(); break;
  3764. case 68 : copy_dead_to_clipboard(); break;
  3765. case 87 : toggle_autocheck(); break;
  3766. case 90 : toggle_Enable_Anonymizer(); break;
  3767. }
  3768. }
  3769. }
  3770.  
  3771. //
  3772. //
  3773. // SCRIPT EXECUTION START POINT
  3774. //
  3775. //
  3776. // Safari specific GM_getResourceText override
  3777. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  3778. {
  3779. GM_getResourceText = function(res) {
  3780. var $cssText = GM_getValue("jquery_css", "");
  3781. if ($cssText == "")
  3782. {
  3783. GM_xmlhttpRequest(
  3784. {
  3785. method: 'GET',
  3786. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  3787. onload: function (result)
  3788. {
  3789. GM_setValue("jquery_css", result.responseText);
  3790. window.location.reload();
  3791. }
  3792. });
  3793. }
  3794. else
  3795. {
  3796. return $cssText;
  3797. }
  3798. }
  3799. }
  3800. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  3801. GM_addStyle(jQueryUICSS);
  3802. //init the stuff
  3803. setVariables();
  3804. initBulkCheck();
  3805. //init info boxes
  3806. messageBox.style.position = 'fixed';
  3807. messageBox.style.top = '20px';
  3808. messageBox.style.left = '10px';
  3809. messageBox.style.opacity = '0.85';
  3810. messageBox.style.background = 'DimGray';
  3811. messageBox.style.fontSize = '36px';
  3812. document.body.appendChild(messageBox);
  3813.  
  3814. //register GM menu commands & keyboard shortcut event handler
  3815. if (Keyboard_functions)
  3816. {
  3817. $(document).keydown(KeyDownHandler);
  3818. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  3819. 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);
  3820. }
  3821. else
  3822. {
  3823. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  3824. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  3825. }
  3826.  
  3827. //start linkchecking
  3828. if (Autocheck)
  3829. {
  3830. $(document).ready(check_all_links);
  3831. }
  3832.  
  3833. //
  3834. //
  3835. // SCRIPT EXECUTION END POINT
  3836. //
  3837. //
  3838.  
  3839. //shows configuration box
  3840. function configuration()
  3841. {
  3842.  
  3843. //prevent multiple creating of config window
  3844. if ($("#hideshow").length)
  3845. {
  3846. $("#hideshow").show();
  3847. return;
  3848. }
  3849.  
  3850. var configcss = '\
  3851. .popup_block .popup fieldset{\
  3852. padding: 1%;\
  3853. border-style: solid;\
  3854. border-width: 1px;\
  3855. border-color: gray;\
  3856. margin-bottom: 1px;\
  3857. }\
  3858. #h3hideshowtitle{\
  3859. font-size: 2em;\
  3860. }\
  3861. #h3hideshow{\
  3862. font-size: 1.5em;\
  3863. }\
  3864. #imghideshow {\
  3865. border: none;\
  3866. }\
  3867. #plusimage{\
  3868. display:inline;\
  3869. }\
  3870. #hideshow {\
  3871. position: fixed;\
  3872. width: 100%;\
  3873. height: 100%;\
  3874. top: 0;\
  3875. left: 0;\
  3876. font-size:12px;\
  3877. z-index:2147483645;\
  3878. text-align:left;\
  3879. }\
  3880. #fade {\
  3881. background: #000;\
  3882. position: fixed;\
  3883. width: 100%;\
  3884. height: 100%;\
  3885. opacity: .80;\
  3886. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  3887. left: 0;\
  3888. z-index: 10;\
  3889. }\
  3890. .popup_block {\
  3891. font-family:verdana;\
  3892. color:black;\
  3893. background: #ddd;\
  3894. padding: 10px 20px;\
  3895. border: 2px solid DarkOrange;\
  3896. float: left;\
  3897. width: 700px;\
  3898. position: absolute;\
  3899. top: 7%;\
  3900. left: 50%;\
  3901. bottom: 7%;\
  3902. margin: 0 0 0 -350px;\
  3903. -moz-border-radius:10px;\
  3904. z-index: 100;\
  3905. \
  3906. }\
  3907. .popup_block .popup {\
  3908. float: left;\
  3909. width: 100%;\
  3910. background: #fff;\
  3911. margin: 10px 0;\
  3912. padding: 0px 0 0px;\
  3913. border-left: 1px solid #bbb;\
  3914. border-top: 1px solid #bbb;\
  3915. border-right: 1px solid #bbb;\
  3916. }\
  3917. #h3hideshow{\
  3918. margin: 1px 0 0px;\
  3919. padding: 1px 10px;\
  3920. border-bottom: 1px solid #bbb;\
  3921. font-size: 1.5em;\
  3922. font-weight: normal;\
  3923. cursor:pointer;\
  3924. background:#DDDDDD none repeat scroll 0 0;\
  3925. }\
  3926. #h3hideshow:hover{\
  3927. background:#C0BEBE none repeat scroll 0 0;\
  3928. }\
  3929. #h3hideshowtitle{\
  3930. margin: 2px 0 0px;\
  3931. padding: 7px 10px;\
  3932. border-bottom: 1px solid #bbb;\
  3933. font-size: 1.5em;\
  3934. font-weight: normal;\
  3935. }\
  3936. .popup_block .popup a {\
  3937. color:DarkSkyBlue;\
  3938. text-decoration:none;\
  3939. }\
  3940. .popup p {\
  3941. padding: 1px 10px;\
  3942. margin: 0px 0;\
  3943. -x-system-font:none;\
  3944. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  3945. font-size:10pt;\
  3946. font-size-adjust:none;\
  3947. font-stretch:normal;\
  3948. font-style:normal;\
  3949. font-variant:normal;\
  3950. font-weight:normal;\
  3951. line-height:normal;\
  3952. }\
  3953. #sites {\
  3954. padding: 1px 10px;\
  3955. margin: 0px 0;display:inline-block;width:16em;\
  3956. }\
  3957. #dev_ver {\
  3958. color: #00FF00;\
  3959. background: Black;\
  3960. text-align: right;\
  3961. }\
  3962. #sites_suspended {\
  3963. padding: 1px 10px;\
  3964. margin: 0px 0;display:inline-block;width:16em;\
  3965. text-decoration: line-through;\
  3966. }\
  3967. .popup img.cntrl {\
  3968. position: absolute;\
  3969. right: -15px;\
  3970. top: -15px;\
  3971. }\
  3972. #bulk {\
  3973. font-size:8pt;\
  3974. color:orange;\
  3975. padding: 1px 10px;\
  3976. margin: 0px 0;\
  3977. display:inline-block;\
  3978. width:100px;\
  3979. }\
  3980. #note {\
  3981. font-size:7pt;\
  3982. color:gray;\
  3983. padding: 1px 10px;\
  3984. margin: 0px 0;display:inline-block;\
  3985. min-width:100px;\
  3986. }\
  3987. #rednote {\
  3988. font-size:7pt;\
  3989. color:red;\
  3990. padding: 1px 10px;\
  3991. margin: 0px 0;display:inline-block;\
  3992. }\
  3993. #configinfo {\
  3994. font-size:8pt;\
  3995. color:gray;\
  3996. padding: 1px 10px;\
  3997. margin: 0px 0;display:inline-block;width:60em;\
  3998. }\
  3999. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4000. color:black;\
  4001. border-style: solid;\
  4002. border-width: 1px;\
  4003. border-color: gray;\
  4004. }\
  4005. #h3hideshowcontent {\
  4006. min-height:220px;\
  4007. max-height:220px;\
  4008. overflow:auto;\
  4009. display: none;\
  4010. padding: 10px 10px;\
  4011. }\
  4012. #specinfo{\
  4013. font-size:14px;\
  4014. }\
  4015. .warlc-ui-tab {\
  4016. height:300px;\
  4017. overflow:auto;\
  4018. }\
  4019. #warlcsitelist2, #warlcsitelist1 {\
  4020. height:220px;\
  4021. border-top: 1px solid #ddd;\
  4022. padding-top: 5px;\
  4023. overflow:auto;\
  4024. }\
  4025. input:hover+label {\
  4026. background:#F1F77C;\
  4027. font-size:110%;\
  4028. }\
  4029. ';
  4030.  
  4031. GM_addStyle(configcss);
  4032.  
  4033. var customRulesRefHTML =
  4034. '\
  4035. <br>\
  4036. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4037. <b>@keyword</b> <i>parameter</i>\
  4038. <br><br>\
  4039. 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. \
  4040. <br><br>\
  4041. 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.\
  4042. 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.\
  4043. 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.\
  4044. 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,\
  4045. but all commands until the next valid @customrule are ignored.<br><br>\
  4046. Available forms and types:\
  4047. <ul>\
  4048. <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.\
  4049. <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.\
  4050. <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.\
  4051. <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.\
  4052. </ul>\
  4053. Other available commands:<br>\
  4054. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4055. <ul>\
  4056. <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.\
  4057. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4058. <ul>examples:<br>\
  4059. <li>good: <i>filehost.com/download/</i><br>\
  4060. <li>good: <i>download.filehost.net/?d=</i><br>\
  4061. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4062. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4063. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4064. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4065. <li>bad: <i>filehost.com</i> - no slash<br>\
  4066. </ul>\
  4067. \
  4068. <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.\
  4069. 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 \
  4070. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4071. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4072. 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.)\
  4073. Two spaces again match any whitespace.\
  4074. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4075. Two spaces again match any whitespace.\
  4076. <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. \
  4077. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4078. </ul>\
  4079. \
  4080. ';
  4081.  
  4082. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4083. var configurationinnerHTML =
  4084. '<div id="fade"></div>\
  4085. <div class="popup_block">\
  4086. <div class="popup">\
  4087. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN9/Itq2Hu7xQnsbRFOcWSBKT50FVpMUHrBD/iKsXb+V6KmtFI/H/3Q6nZzdEZPU1PVFSXbtEoltz0Nzm2HRqleIvjsLa/9CoiSnBs99cwaym4lCYSRSHr4/REg64SBHTX9//2fqGNmVevJ5jn/0Xe+Rhd2SBVdGkInr3hizZI8fOibGg8fM5/EthgIJwxPJ7a/Jd05Ozn14uQEHGRGXsVtOIwHS2nbDlTOIYlHoMoUL9w0Q/GSA/0/KeXglFmEWsp/uIjp9FAbnzWttbV3H3ECWFWdnubTuSBulQ9AwDs2jcSPGby6evGn7sIGJzwuzDUViMekdAZ0jrXvlVGVl5RK8ctlKq6ZpHFSKdBzCwS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MXjqAVLzR99LqN8oebWqNRu1qixxC3hASiwOser1sdtP9kZeBTUBZPIY/HAKtRyXDB6++kieVlnZg72iNfA14/qa4HVwasTnmuLzQm3STrtxRUmetW/OXsg3hOh9Z9CTtT+FDsfO7ff2djyVfb5xlrNuxoygQLwbHgUAEjnwIi5dm3J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Customized Premium Link version Configuration</div>\
  4089. <div id="warlc-conf-tabs">\
  4090. <ul>\
  4091. <li><a href="#tabs-1">Filehostings</a></li>\
  4092. <li><a href="#tabs-2">Containers</a></li>\
  4093. <li><a href="#tabs-5">Custom rules</a></li>\
  4094. <li><a href="#tabs-3">Settings</a></li>\
  4095. <li><a href="#tabs-4">About</a></li>\
  4096. </ul>\
  4097. <div id="tabs-1" class="warlc-ui-tab">\
  4098. <div class="warlc-ui-buttonset">\
  4099. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4100. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4101. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4102. </div><br>\
  4103. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4104. <div id="warlcsitelist1"><span>Empty</span></div>\
  4105. </div>\
  4106. <div id="tabs-2" class="warlc-ui-tab">\
  4107. <div class="warlc-ui-buttonset">\
  4108. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4109. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4110. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4111. </div><br>\
  4112. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4113. <div id="warlcsitelist2"><span>Empty</span></div>\
  4114. </div>\
  4115. <div id="tabs-5" class="warlc-ui-tab">\
  4116. <div class="warlcsettings">\
  4117. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4118. <br>\
  4119. <div>Edit custom rules: \
  4120. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4121. <div id="customRulesReference" style="display:none;">'
  4122. + customRulesRefHTML + '\
  4123. </div>\
  4124. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4125. </div>\
  4126. </div>\
  4127. </div>\
  4128. <div id="tabs-3" class="warlc-ui-tab">\
  4129. <div class="warlcsettings">\
  4130. <fieldset>\
  4131. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4132. <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>\
  4133. </fieldset>\
  4134. <fieldset>\
  4135. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4136. <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>\
  4137. <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>\
  4138. <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>\
  4139. <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>\
  4140. <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>\
  4141. <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>\
  4142. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4143. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4144. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4145. <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>\
  4146. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4147. <fieldset>\
  4148. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4149. <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>\
  4150. <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>\
  4151. <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>\
  4152. </fieldset>\
  4153. </fieldset>\
  4154. <fieldset>\
  4155. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4156. </fieldset>\
  4157. <fieldset>\
  4158. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4159. </fieldset>\
  4160. <fieldset>\
  4161. <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>\
  4162. </fieldset>\
  4163. <fieldset>\
  4164. <p><input type="checkbox" id="Enable_Anonymizer"> Enable Anonymizer</div><div id="bulk">EXPERIMENTAL Note: Checkbox does not work use CTRL+ALT+Z.</p>\
  4165. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div>\
  4166. </fieldset>\
  4167. </div>\
  4168. </div>\
  4169. <div id="tabs-4" class="warlc-ui-tab">\
  4170. <p><b>Author:</b> <a href="http://www.mentalps.5gbfree.com/viewtopic.php?f=2&t=6">mentalps</a></p>\
  4171. <br />\
  4172. <p><b>Currently supported:</b><br>\
  4173. Filehostings: ' + allHostNames.length + '<br />\
  4174. Containers: ' + allContainerNames.length + '<br />\
  4175. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4176. <br />\
  4177. <p><b>Based on:</b><br>\
  4178. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4179. <br />\
  4180. <p><b>Uses:</b></p>\
  4181. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4182. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4183. <br />\
  4184. <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>\
  4185. </div>\
  4186. </div>\
  4187. </div>\
  4188. </div>';
  4189. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4190. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4191. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4192. var elmHostList = document.getElementById("warlcsitelist1");
  4193. var elmContainerList = document.getElementById("warlcsitelist2");
  4194. buildSettings();
  4195. buildSitelist("", allHostNames, elmHostList);
  4196. buildSitelist("", allContainerNames, elmContainerList);
  4197. if (DEBUG_MODE)
  4198. {
  4199. //log all sites availability status
  4200. diagSites();
  4201. }
  4202. //handler for checkbox state change
  4203. function changeConfiguration(e)
  4204. {
  4205. var element = e.target;
  4206.  
  4207. if (element.type == 'checkbox')
  4208. {
  4209. if (element.checked == 1)
  4210. {
  4211. GM_setValue(element.id, true);
  4212. }
  4213. else
  4214. {
  4215. GM_setValue(element.id, false);
  4216. }
  4217.  
  4218. }
  4219. setVariables();
  4220. }
  4221.  
  4222. //Selects all filehosting checkboxes
  4223. function selectAll()
  4224. {
  4225. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4226. .each(function(index, element){GM_setValue(this.id, true)});
  4227. }
  4228.  
  4229. //Deselects all filehosting checkboxes
  4230. function selectNone()
  4231. {
  4232. $(":checkbox:visible:checked").prop("checked",false)
  4233. .each(function(index, element){GM_setValue(this.id, false)});
  4234. }
  4235.  
  4236. //Inverts filehosting checkboxes selection
  4237. function selectInvert()
  4238. {
  4239. var $checked = $(":checkbox:visible:checked");
  4240. var $unchecked = $(":checkbox:visible:not(:checked)");
  4241. $unchecked.prop("checked",true)
  4242. .each(function(index, element){GM_setValue(this.id, true)});
  4243. $checked.prop("checked",false)
  4244. .each(function(index, element){GM_setValue(this.id, false)});
  4245. }
  4246. //toggles anonymizer on off
  4247. function Enable_Anonymizer()
  4248. {
  4249. var $checked = $(":checkbox:visible:checked");
  4250. var $unchecked = $(":checkbox:visible:not(:checked)");
  4251. $unchecked.prop("checked",true)
  4252. .each(function(index, element){GM_setValue(this.id, true)});
  4253. $checked.prop("checked",false)
  4254. .each(function(index, element){GM_setValue(this.id, false)});
  4255. }
  4256.  
  4257. function changeRefAnonymizer(){
  4258. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4259. }
  4260.  
  4261. //Sets live links color
  4262. function changeColorLive()
  4263. {
  4264. var inColorLive = document.getElementById("inputColorLive");
  4265. inColorLive.style.background = inColorLive.value;
  4266. GM_setValue("Live_links_color", inColorLive.value);
  4267. }
  4268.  
  4269. //Sets dead links color
  4270. function changeColorDead()
  4271. {
  4272. var inColorDead = document.getElementById("inputColorDead");
  4273. inColorDead.style.background = inColorDead.value;
  4274. GM_setValue("Dead_links_color", inColorDead.value);
  4275. }
  4276.  
  4277. //Sets temp. unavailable links color
  4278. function changeColorTemp()
  4279. {
  4280. var inColorTemp = document.getElementById("inputColorTemp");
  4281. inColorTemp.style.background = inColorTemp.value;
  4282. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4283. }
  4284.  
  4285. //Sets temp. unavailable links color
  4286. function changeColorCont()
  4287. {
  4288. var inColorCont = document.getElementById("inputColorCont");
  4289. inColorCont.style.background = inColorCont.value;
  4290. GM_setValue("Container_links_color", inColorCont.value);
  4291. }
  4292. //Sets premium. links color
  4293. function changeColorprem()
  4294. {
  4295. var inColorprem = document.getElementById("inputColorprem");
  4296. inColorprem.style.background = inColorprem.value;
  4297. GM_setValue("Premium_links_color", inColorprem.value);
  4298. }
  4299.  
  4300. //Diagnose sites for availability
  4301. function diagSites()
  4302. {
  4303. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4304.  
  4305. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4306. {
  4307. if (boxes[i].type == "checkbox")
  4308. {
  4309. checkAvailability(boxes[i]);
  4310. }
  4311. }
  4312.  
  4313. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4314.  
  4315. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4316. {
  4317. if (boxes[i].type == "checkbox")
  4318. {
  4319. checkAvailability(boxes[i]);
  4320. }
  4321. }
  4322.  
  4323. function checkAvailability(cbElm)
  4324. {
  4325. var cb = cbElm;
  4326. GM_xmlhttpRequest(
  4327. {
  4328. method: 'HEAD',
  4329. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4330. headers: {
  4331. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4332. 'Accept': 'text/xml',
  4333. 'Referer': ""
  4334. },
  4335. onload: function (result)
  4336. {
  4337. if (result.status != 200)
  4338. {
  4339. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4340. }
  4341. },
  4342. onerror: function (result)
  4343. {
  4344. if (result.status != 200)
  4345. {
  4346. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4347. }
  4348. }
  4349. });
  4350. }
  4351. }
  4352. function buildSettings()
  4353. {
  4354. $(".warlcsettings :checkbox").each(function(){
  4355. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4356. .click(function(e){
  4357. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4358. setVariables();
  4359. });
  4360. })
  4361. }
  4362. //Dynamic build of host list
  4363. //param search [string] searches for hostnames matching search substring
  4364. //param siteNames [array] array of site names
  4365. //param targetNode [DOM Node] where the list should be built
  4366. // first child node is replaced
  4367. function buildSitelist(search, siteNames, targetNode)
  4368. {
  4369. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4370. var $targetNode = $(targetNode).empty();
  4371. var searchedSite = "";
  4372. $.each(siteNames, function(i, site){
  4373. if (searchedSite = site.match(searchRegex))
  4374. {
  4375. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4376. //ensuring backward compatibility with the rest of code, to be refactored later
  4377. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4378. //
  4379. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4380. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4381. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4382. );
  4383. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4384. .change(changeConfiguration);
  4385. $targetNode.append('<br />');
  4386. }
  4387. });
  4388. $targetNode.append("<hr>");
  4389. //obsolete hosts checkbox
  4390. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4391. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4392. .change(changeConfiguration);
  4393. $targetNode.append('<br />');
  4394. var foundName = "";
  4395. $.each(allObsoleteNames, function(i, site){
  4396. if (foundName = allObsoleteNames[i].match(searchRegex))
  4397. {
  4398. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4399. }
  4400. })
  4401. }
  4402. var hostSearchBox = document.getElementById("hostSearchBox");
  4403. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4404. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4405. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4406. $(".warlc-ui-select-all").click(selectAll).button();
  4407. $(".warlc-ui-select-none").click(selectNone).button();
  4408. $(".warlc-ui-select-invert").click(selectInvert).button();
  4409. $(".warlc-ui-buttonset").buttonset();
  4410. var inColorLive = document.getElementById("inputColorLive");
  4411. inColorLive.addEventListener('keyup', changeColorLive, false);
  4412.  
  4413. var inColorDead = document.getElementById("inputColorDead");
  4414. inColorDead.addEventListener('keyup', changeColorDead, false);
  4415.  
  4416. var inColorTemp = document.getElementById("inputColorTemp");
  4417. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4418.  
  4419. var inColorCont = document.getElementById("inputColorCont");
  4420. inColorCont.addEventListener('keyup', changeColorCont, false);
  4421. var inColorprem = document.getElementById("inputColorprem");
  4422. inColorprem.addEventListener('keyup', changeColorprem, false);
  4423. $("#refAnonymizer").change(changeRefAnonymizer);
  4424. //buttons and edit boxes init end
  4425.  
  4426. //icon sets radio buttons
  4427. var radioButtons = document.getElementsByName("warlciconset");
  4428. radioButtons[Icon_set].checked = "checked";
  4429.  
  4430. radioButtons[0].addEventListener("change", updateIconSet);
  4431. radioButtons[1].addEventListener("change", updateIconSet);
  4432. radioButtons[2].addEventListener("change", updateIconSet);
  4433. radioButtons[3].addEventListener("change", updateIconSet);
  4434. function updateIconSet()
  4435. {
  4436. GM_setValue("Icon_set", this.value * 1);
  4437. }
  4438. //
  4439. $('#showCustomRulesReference').click(function(e){
  4440. e.preventDefault();
  4441. $('#customRulesReference').toggle();
  4442. });
  4443. $('#Custom_rules_text')
  4444. .val(Custom_rules_text)
  4445. .change(saveCustomRules);
  4446. function saveCustomRules(e)
  4447. {
  4448. var cr = parseCustomRules(this.value);
  4449. if (cr.info.length)
  4450. 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, ' '));
  4451. GM_setValue('Custom_rules_text', this.value);
  4452. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4453. }
  4454. }
  4455.  
  4456. //begin standard link checking algorithm
  4457. function start(filterId)
  4458. {
  4459. var doNotLinkify = Do_not_linkify_DL_links;
  4460.  
  4461. // USER SELECTED FILE HOSTS INITIALIZATION START
  4462. var http_file_hosts = new Array(); //standard hostings
  4463. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4464. var http_file_hosts_obsolete = new Array(); //dead hostings
  4465. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4466.  
  4467. initFileHosts();
  4468. initFileHostsHeadersOnly();
  4469. initFileHostsCustom(); //CustomRules
  4470. // USER SELECTED FILE HOSTS INITIALIZATION END
  4471.  
  4472. // LINKIFICATION START
  4473. var totalxpath = '';
  4474. var totalxpathcoded = '';
  4475. var totalxpathobsolete = '';
  4476. var totalxpathheadersonly = '';
  4477. var totalourls = '';
  4478.  
  4479. var filehostLen = http_file_hosts.length;
  4480. var filehostCodedLen = http_file_hosts_coded.length;
  4481. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4482. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4483.  
  4484. var filehostIdx = filehostLen;
  4485. var filehostCodedIdx = filehostCodedLen;
  4486. var filehostObsoleteIdx = filehostObsoleteLen;
  4487. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4488.  
  4489. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4490. return;
  4491.  
  4492. while (filehostIdx--)
  4493. {
  4494. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4495. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4496. }
  4497.  
  4498. while (filehostCodedIdx--)
  4499. {
  4500. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4501. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4502. }
  4503.  
  4504. while (filehostObsoleteIdx--)
  4505. {
  4506. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4507. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4508. }
  4509.  
  4510. while (filehostHeadersOnlyIdx--)
  4511. {
  4512. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4513. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4514. }
  4515.  
  4516. totalourls = totalourls.replace(/\|$/g, "");
  4517. //TODO: further refactoring needed
  4518. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4519. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4520. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4521. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4522. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4523. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4524. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4525. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4526. if (filterId != null) //insert id restriction in the xpath
  4527. {
  4528. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4529. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4530. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4531. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4532. }
  4533. else
  4534. {
  4535. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4536. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4537. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4538. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4539. }
  4540. linkify(totalourls);
  4541. //LINKIFICATION END
  4542. //ENCRYPTED LINKS PROCESSING START
  4543. if (http_file_hosts_coded.length > 0)
  4544. {
  4545. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4546.  
  4547. // decrypt coded links (redirects, link protectors etc.)
  4548. if (linksCoded.snapshotLength > 0)
  4549. {
  4550. var link;
  4551. var reallinkreg;
  4552. var reallinkcorrection;
  4553.  
  4554. if (filterId == null)
  4555. {
  4556. cLinksTotal += linksCoded.snapshotLength;
  4557. }
  4558.  
  4559. var y = linksCoded.snapshotLength - 1;
  4560. do
  4561. {
  4562. // linksCoded.snapshotItem(y).id = 'processing_link';
  4563. link = linksCoded.snapshotItem(y);
  4564. filehostIdx = filehostCodedLen;
  4565. while (filehostIdx--)
  4566. {
  4567. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4568. {
  4569. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4570. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4571. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4572.  
  4573. decurl(link, reallinkreg, reallinkcorrection);
  4574. break;
  4575. }
  4576. }
  4577. }
  4578. while (y--);
  4579. }
  4580. }
  4581. //ENCRYPTED LINKS PROCESSING END
  4582.  
  4583. //STANDARD LINKCHECKING START
  4584. if (http_file_hosts.length > 0)
  4585. {
  4586. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4587.  
  4588. if (filterId == null)
  4589. {
  4590. cLinksTotal += lianks.snapshotLength;
  4591. }
  4592.  
  4593. if (lianks.snapshotLength > 0)
  4594. {
  4595. var link;
  4596.  
  4597. var URL = "";
  4598. var name = "";
  4599. var isAliveRegex = "";
  4600. var isDeadRegex = "";
  4601. var isUnavaRegex = "";
  4602. var ispremRegex = "";
  4603. var tryLoop = false;
  4604.  
  4605. var y = lianks.snapshotLength;
  4606.  
  4607. while (y--)
  4608. {
  4609. link = lianks.snapshotItem(y);
  4610.  
  4611. filehostIdx = filehostLen;
  4612. while (filehostIdx--)
  4613. {
  4614. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4615. {
  4616. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4617. isAliveRegex = http_file_hosts[filehostIdx][1];
  4618. isDeadRegex = http_file_hosts[filehostIdx][2];
  4619. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4620. ispremRegex = http_file_hosts[filehostIdx][6];
  4621. tryLoop = http_file_hosts[filehostIdx][5];
  4622.  
  4623. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4624.  
  4625. break;
  4626. }
  4627. }
  4628. }
  4629. }
  4630. }
  4631. //STANDARD LINKCHECKING END
  4632. //OBSOLETE FILE HOSTS PROCESSING START
  4633. if (filehostObsoleteLen > 0)
  4634. {
  4635. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4636.  
  4637. var obsoleteLink;
  4638.  
  4639. //check links
  4640. if (obsoletelinks.snapshotLength > 0)
  4641. {
  4642. var y = obsoletelinks.snapshotLength;
  4643.  
  4644. if (filterId == null)
  4645. {
  4646. cLinksTotal += y;
  4647. }
  4648.  
  4649. while (y--)
  4650. {
  4651. obsoleteLink = obsoletelinks.snapshotItem(y);
  4652.  
  4653. if (Display_tooltip_info)
  4654. {
  4655. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  4656. }
  4657. displayTheCheckedLink(obsoleteLink, 'adead_link');
  4658. }
  4659. }
  4660. }
  4661. //OBSOLETE FILE HOSTS PROCESSING END
  4662.  
  4663. //DIRECT LINKCHECKING START
  4664. if (http_file_hosts_headers_only.length > 0)
  4665. {
  4666. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4667.  
  4668. //check links
  4669. if (links.snapshotLength > 0)
  4670. {
  4671. var link;
  4672. var isAliveRegex;
  4673. var isDeadRegex;
  4674. var ispremRegex;
  4675.  
  4676. var y = links.snapshotLength;
  4677.  
  4678.  
  4679. if (filterId == null)
  4680. {
  4681. cLinksTotal += y;
  4682. }
  4683.  
  4684. while (y--)
  4685. {
  4686. // links.snapshotItem(y).id = 'processing_link';
  4687. link = links.snapshotItem(y);
  4688. filehostIdx = filehostHeadersOnlyLen;
  4689. while (filehostIdx--)
  4690. {
  4691. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  4692. {
  4693. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4694. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  4695. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  4696. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  4697.  
  4698. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  4699.  
  4700. break;
  4701. }
  4702. }
  4703. }
  4704.  
  4705. }
  4706. }
  4707. //DIRECT LINKCHECKING END
  4708.  
  4709.  
  4710. //finds the real url on the page, replaces link.href with it and calls geturl
  4711. function decurl(link, reallinkreg, reallinkcorrection)
  4712. {
  4713.  
  4714. GM_xmlhttpRequest(
  4715. {
  4716. method: 'GET',
  4717. url: link.href,
  4718. headers: {
  4719. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4720. 'Accept': 'text/xml',
  4721. 'Referer': ""
  4722. },
  4723. onload: function (result)
  4724. {
  4725. // cLinksProcessed++;
  4726.  
  4727. var reallink = result.responseText.match(reallinkreg)[0];
  4728. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  4729.  
  4730. link.href = reallink;
  4731.  
  4732. var i = http_file_hosts.length - 1;
  4733. do
  4734. {
  4735. if ((reallink.match(http_file_hosts[i][0])))
  4736. {
  4737. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  4738. var isAliveRegex = http_file_hosts[i][1];
  4739. var isDeadRegex = http_file_hosts[i][2];
  4740. var isUnavaRegex = http_file_hosts[i][3];
  4741. var ispremRegex = http_file_hosts[i][4];
  4742.  
  4743. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  4744.  
  4745. break;
  4746. }
  4747. }
  4748. while (i--);
  4749. }
  4750. });
  4751. }
  4752.  
  4753. function randUA()
  4754. {
  4755. //TODO
  4756. }
  4757. //Processes link
  4758. //
  4759. // [string] link link URL
  4760. // [string] isAliveRegex alive link regex
  4761. // [string] isDeadRegex dead link regex
  4762. // [string] isUnavaRegex unavailable link regex
  4763. // [string] ispremRegex premium link regex
  4764. // [boolean] tryLoop repeats request until succeeded
  4765. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  4766. {
  4767. GM_xmlhttpRequest(
  4768. {
  4769. method: 'GET',
  4770. url: link.href,
  4771. headers: {
  4772. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  4773. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  4774. 'Referer': ""
  4775. },
  4776. onload: function (result)
  4777. {
  4778. var res = result.responseText;
  4779. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  4780. {
  4781. displayTheCheckedLink(link, 'alive_link');
  4782. return;
  4783. }
  4784.  
  4785. if (res.match(isAliveRegex))
  4786. {
  4787. displayTheCheckedLink(link, 'alive_link');
  4788. return;
  4789. }
  4790.  
  4791. if (res.match(isDeadRegex))
  4792. {
  4793. displayTheCheckedLink(link, 'adead_link');
  4794. return;
  4795. }
  4796.  
  4797. if (isUnavaRegex && res.match(isUnavaRegex))
  4798. {
  4799. displayTheCheckedLink(link, 'unava_link');
  4800. return;
  4801. }
  4802. if (res.match(ispremRegex))
  4803. {
  4804. displayTheCheckedLink(link, 'prem_link');
  4805. return;
  4806. }
  4807.  
  4808. var resStatus = result.status;
  4809.  
  4810. if (resStatus == 404)
  4811. {
  4812. displayTheCheckedLink(link, 'adead_link');
  4813. }
  4814. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  4815. {
  4816. if (tryLoop)
  4817. {
  4818. //wait 1-5 seconds and repeat the request
  4819. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  4820. }
  4821. else
  4822. {
  4823. displayTheCheckedLink(link, 'unava_link');
  4824. }
  4825.  
  4826. return;
  4827. }
  4828. },
  4829. onerror: function ()
  4830. {
  4831. displayTheCheckedLink(link, 'unava_link');
  4832. }
  4833. });
  4834. }
  4835.  
  4836. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  4837. {
  4838. GM_xmlhttpRequest(
  4839. {
  4840. method: 'HEAD',
  4841. url: link.href,
  4842. headers: {
  4843. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4844. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  4845. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  4846. 'Referer': ""
  4847. },
  4848. onload: function (result)
  4849. {
  4850. var resStatus = result.status;
  4851. var resHeaders = "";
  4852. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  4853. {
  4854. displayTheCheckedLink(link, 'adead_link');
  4855. return;
  4856. }
  4857.  
  4858. resHeaders = result.responseHeaders;
  4859.  
  4860. if (resHeaders.match(isDeadRegex))
  4861. {
  4862. displayTheCheckedLink(link, 'adead_link');
  4863. return;
  4864. }
  4865.  
  4866. if (resHeaders.match(isAliveRegex))
  4867. {
  4868. displayTheCheckedLink(link, 'alive_link');
  4869. return;
  4870. }
  4871. if (resHeaders.match(ispremRegex))
  4872. {
  4873. displayTheCheckedLink(link, 'prem_link');
  4874. return;
  4875. }
  4876. },
  4877. onerror: function ()
  4878. {
  4879. displayTheCheckedLink(link, 'unava_link');
  4880. }
  4881. });
  4882. }
  4883.  
  4884. //Delinkfifies the <a> element object
  4885. function delinkifyLink(link)
  4886. {
  4887. var spanElm = document.createElement("span");
  4888. spanElm.className = link.className;
  4889. spanElm.innerHTML = link.innerHTML;
  4890.  
  4891. if (Display_tooltip_info)
  4892. {
  4893. spanElm.href = link.href;
  4894. spanElm.warlc_error = link.warlc_error;
  4895. switch (link.className){
  4896. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  4897. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  4898. case "unava_link": //reserved
  4899. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  4900. default:
  4901. }
  4902. }
  4903. link.parentNode.replaceChild(spanElm, link);
  4904. }
  4905.  
  4906. //Assigns result status to the <a> element object and calls delinkifying eventually
  4907. //Possible result states: adead_link, alive_link, unava_link, prem_link
  4908. function displayTheCheckedLink(link, resultStatus)
  4909. {
  4910. link.className = resultStatus;
  4911. link.href = Ref_anonymize_service + link.href;
  4912. if (Display_tooltip_info)
  4913. {
  4914. switch (resultStatus){
  4915. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  4916. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  4917. case "unava_link": //reserved
  4918. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  4919. default:
  4920. }
  4921. }
  4922. if (doNotLinkify)
  4923. {
  4924. delinkifyLink(link);
  4925. }
  4926. cLinksProcessed++;
  4927.  
  4928. if (resultStatus == "alive_link")
  4929. {
  4930. cLinksAlive++;
  4931. return;
  4932. }
  4933.  
  4934. if (resultStatus == "adead_link")
  4935. {
  4936. cLinksDead++;
  4937. return;
  4938. }
  4939.  
  4940. if (resultStatus == "unava_link")
  4941. {
  4942. cLinksUnava++;
  4943. }
  4944. if (resultStatus == "prem_link")
  4945. {
  4946. cLinksprem++;
  4947. return;
  4948. }
  4949. }
  4950.  
  4951.  
  4952. function initFileHosts()
  4953. {
  4954.  
  4955. function addObsoleteHost(linkRegex, xpathEx)
  4956. {
  4957. var host = new Array(2);
  4958. host[0] = linkRegex;
  4959. host[1] = xpathEx;
  4960. http_file_hosts_obsolete.push(host);
  4961. }
  4962.  
  4963. //obsolete file hosts init start
  4964. if (Obsolete_file_hosts)
  4965. {
  4966. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  4967. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  4968. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  4969. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  4970. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  4971. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  4972. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  4973. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  4974. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  4975. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  4976. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  4977. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  4978. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  4979. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  4980. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  4981. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  4982. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  4983. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  4984. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  4985. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  4986. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  4987. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  4988. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  4989. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  4990. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  4991. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  4992. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  4993. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  4994. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  4995. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  4996. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  4997. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  4998. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  4999. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5000. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5001. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5002. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5003. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5004. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5005. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5006. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5007. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5008. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5009. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5010. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5011. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5012. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5013. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5014. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5015. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5016. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5017. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5018. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5019. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5020. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5021. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5022. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5023. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5024. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5025. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5026. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5027. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5028. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5029. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5030. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5031. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5032. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5033. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5034. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5035. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5036. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5037. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5038. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5039. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5040. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5041. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5042. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5043. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5044. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5045. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5046. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5047. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5048. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5049. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5050. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5051. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5052. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5053. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5054. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5055. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5056. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5057. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5058. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5059. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5060. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5061. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5062. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5063. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5064. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5065. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5066. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5067. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5068. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5069. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5070. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5071. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5072. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5073. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5074. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5075. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5076. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5077. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5078. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5079. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5080. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5081. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5082. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5083. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5084. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5085. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5086. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5087. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5088. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5089. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5090. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5091. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5092. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5093. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5094. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5095. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5096. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5097. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5098. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5099. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5100. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5101. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5102. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5103. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5104. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5105. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5106. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5107. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5108. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5109. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5110. 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')]");
  5111. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5112. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5113. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5114. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5115. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5116. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5117. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5118. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5119. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5120. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5121. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5122. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5123. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5124. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5125. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5126. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5127. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5128. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5129. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5130. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5131. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5132. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5133. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5134. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5135. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5136. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5137. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5138. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5139. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5140. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5141. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5142. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5143. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5144. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5145. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5146. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5147. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5148. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5149. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5150. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5151. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5152. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5153. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5154. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5155. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5156. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5157. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5158. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5159. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5160. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5161. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5162. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5163. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5164. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5165. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5166. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5167. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5168. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5169. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5170. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5171. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5172. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5173. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5174. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5175. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5176. // addObsoleteHost("wizzupload\\.com\/\\w+","//a[contains(@href,'wizzupload.com/')]");
  5177. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5178. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5179. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5180. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5181. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5182. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5183. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5184. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5185. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5186. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5187. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5188. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5189. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5190. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5191. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5192. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5193. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5194. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5195. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5196. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5197. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5198. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5199. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5200. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5201. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5202. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5203. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5204. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5205. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5206. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5207. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5208. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5209. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5210. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5211. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5212. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5213. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5214. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5215. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5216. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5217. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5218. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5219. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5220. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5221. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5222. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5223. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5224. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5225. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5226. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5227. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5228. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5229. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5230. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5231. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5232. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5233. //addObsoleteHost("sharerapid\\.cz\/\\w+","//a[contains(@href,'sharerapid.cz/')]");
  5234. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5235. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5236. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5237. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5238. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5239. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5240. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5241. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5242. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5243. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5244. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5245. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5246. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5247. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5248. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5249. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5250. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5251. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5252. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5253. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5254. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5255. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5256. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5257. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5258. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5259. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5260. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5261. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5262. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5263. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5264. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5265. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5266. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5267. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5268. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5269. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5270. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5271. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5272. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5273. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5274. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5275. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5276. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5277. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5278. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5279. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5280. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5281. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5282. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5283. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5284. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5285. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5286. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5287. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5288. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5289. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5290. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5291. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5292. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5293. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5294. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5295. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5296. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5297. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5298. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5299. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5300. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5301. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5302. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5303. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5304. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5305. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5306. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5307. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5308. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5309. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5310. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5311. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5312. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5313. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5314. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5315. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5316. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5317. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5318. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5319. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5320. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5321. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5322. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5323. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5324. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5325. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5326. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5327. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5328. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5329. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5330. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5331. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5332. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5333. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5334. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5335. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5336. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5337. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5338. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5339. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5340. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5341. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5342. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5343. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5344. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5345. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5346. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5347. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5348. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5349. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5350. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5351. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5352. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5353. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5354. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5355. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5356. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5357. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5358. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5359. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5360. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5361. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5362. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5363. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5364. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5365. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5366. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5367. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5368. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5369. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5370. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5371. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5372. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5373. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5374. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5375. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5376. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5377. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5378. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5379. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5380. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5381. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5382. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5383. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5384. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5385. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5386. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5387. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5388. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5389. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5390. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5391. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5392. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5393. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5394. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5395. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5396. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5397. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5398. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5399. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5400. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5401. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5402. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5403. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5404. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5405. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5406. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5407. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5408. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5409. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5410. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5411. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5412. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5413. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5414. // obsolete start
  5415. }
  5416. //obsolete file hosts init end
  5417.  
  5418. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  5419. {
  5420. var host = new Array(7);
  5421. host[0] = linkRegex;
  5422. host[1] = isAliveRegex;
  5423. host[2] = isDeadRegex;
  5424. host[3] = isUnavaRegex;
  5425. host[6] = ispremRegex;
  5426. host[4] = xpathEx;
  5427. tryLoop ? host[5] = true : host[5] = false;
  5428. http_file_hosts.push(host);
  5429. }
  5430. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5431. {
  5432. addFileHost(
  5433. "megafileupload\.com\/..\/file\/",
  5434. 'downloadbtn',
  5435. 'is not found',
  5436. 'optional--',
  5437. "//a[contains(@href,'megafileupload.com')]");
  5438. }
  5439. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5440. {
  5441. addFileHost(
  5442. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5443. 'download\\.gif"',
  5444. 'p_point">',
  5445. 'optional--',
  5446. "//a[contains(@href,'demo.ovh.eu')]");
  5447. }
  5448. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  5449. {
  5450. addFileHost(
  5451. "xkeepfile\.com\/\\w+",
  5452. 'File has been found|Click here to download',
  5453. 'File cannot be found|class="error">',
  5454. 'optional--',
  5455. //'optional--',
  5456. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  5457. }
  5458. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5459. {
  5460. addFileHost(
  5461. "safelinking\\.net\/p\/\\w+",
  5462. 'color:green;"',
  5463. 'color:(?:red|orange);"',
  5464. 'color:(?:grey|brown);"',
  5465. "//a[contains(@href,'safelinking.net/p/')]",
  5466. true);
  5467. }
  5468. /* if (GM_getValue("Check_ultramegabit_dot_com_links", false))
  5469. {
  5470. addFileHost(
  5471. "ultramegabit\\.com\/file\/details\/[\\w+-]",
  5472. 'name="recaptcha_response',
  5473. '="/folder/add"|>File (?:not found|restricted|has been deleted)|<title>ULTRAMEGABIT</title>',
  5474. 'btn-large btn-danger">|Account limitation notice|502 Bad Gateway',
  5475. "//a[contains(@href,'ultramegabit.com/file')]",
  5476. true);
  5477. } */
  5478. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5479. {
  5480. addFileHost(
  5481. "fastshare\\.cz\/\\d+\/\\w*",
  5482. 'dwntable">',
  5483. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>',
  5484. 'optional--',
  5485. "//a[contains(@href,'fastshare.cz')]");
  5486. }
  5487. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5488. {
  5489. addFileHost(
  5490. "[fF]ast[sS]hare\\.org\/download",
  5491. 'Download ">',
  5492. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5493. 'optional--',
  5494. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5495. }
  5496. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5497. {
  5498. addFileHost(
  5499. "partage-facile\.com\/\\w+",
  5500. 'class="title"><strong>|colspan="2"',
  5501. 'Page introuvable|class="alert-message',
  5502. 'optional--',
  5503. "//a[contains(@href,'partage-facile.com')]");
  5504. }
  5505. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5506. {
  5507. addFileHost(
  5508. "rapidgator\\.net\/file\/\\w+",
  5509. '/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',
  5510. 'Error 404|File not found|Error 500|Файл не найден|File not found|Select your plan',
  5511. 'optional--',
  5512. "//a[contains(@href,'rapidgator.net/file')]",
  5513. true
  5514. );
  5515. }
  5516. if (GM_getValue("Check_relink_dot_us_links", false))
  5517. {
  5518. addFileHost(
  5519. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5520. 'online_detail\\.png" alt="Status',
  5521. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5522. 'unknown_detail\\.png" alt="Status',
  5523. "//a[contains(@href,'relink.us/')]"
  5524. );
  5525. }
  5526. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5527. {
  5528. addFileHost(
  5529. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5530. 'div id="dl"',
  5531. 'Sie haben den Link falsch',
  5532. 'optional--',
  5533. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5534. );
  5535. }
  5536. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5537. {
  5538. addFileHost(
  5539. "flyfiles\\.net\/\\w+",
  5540. 'download_button"|"Download file"',
  5541. 'File not found!|Файл не найден',
  5542. 'optional--',
  5543. "//a[contains(@href,'flyfiles.net/')]"
  5544. );
  5545. }
  5546. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5547. {
  5548. addFileHost(
  5549. "wikiupload\\.com\/\\w+",
  5550. 'download-button">',
  5551. 'Sorry, File not found',
  5552. 'optional--',
  5553. "//a[contains(@href,'wikiupload.com/')]"
  5554. );
  5555. }
  5556. if (GM_getValue("Check_hostuje_dot_net_links", false))
  5557. {
  5558. addFileHost(
  5559. "hostuje\\.net\/file\\.php\\?id=\\w+",
  5560. 'file\\.php">|Pobierz Plik',
  5561. 'Podany plik nie zosta',
  5562. 'optional--',
  5563. "//a[contains(@href,'hostuje.net/file')]"
  5564. );
  5565. }
  5566. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  5567. {
  5568. addFileHost(
  5569. "gettyfile\\.ru\/\\d+",
  5570. 'download\\.gif border',
  5571. '<center><font size="3">',
  5572. 'optional--',
  5573. "//a[contains(@href,'gettyfile.ru/')]"
  5574. );
  5575. }
  5576. if (GM_getValue("Check_tufiles_dot_ru_links", false))
  5577. {
  5578. addFileHost(
  5579. "(?:tufiles|turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  5580. 'download\\-file">',
  5581. 'col-1">\\s*<h1>',
  5582. 'optional--',
  5583. "//a[contains(@href,'tufiles.ru/') or contains(@href,'turbob1t.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  5584. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  5585. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  5586. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  5587. );
  5588. }
  5589. if (GM_getValue("Check_data_dot_hu_links", false))
  5590. {
  5591. addFileHost(
  5592. "data\\.hu\/get\/\\d+\/",
  5593. 'download_box_button',
  5594. 'missing\\.php',
  5595. 'optional--',
  5596. "//a[contains(@href,'data.hu/get')]",
  5597. true
  5598. );
  5599. }
  5600. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  5601. {
  5602. addFileHost(
  5603. "filesmelt\\.com\/dl\/\\w+",
  5604. '(Your download is ready|Download File)',
  5605. 'Sorry, but your',
  5606. 'optional--',
  5607. "//a[contains(@href,'filesmelt.com/dl')]"
  5608. );
  5609. }
  5610. if (GM_getValue("Check_indowebster_dot_com_links", false))
  5611. {
  5612. addFileHost(
  5613. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  5614. 'premiumBtn"',
  5615. 'errorMessage"',
  5616. 'optional--',
  5617. "//a[contains(@href,'indowebster.com/download')]"
  5618. );
  5619. }
  5620. if (GM_getValue("Check_superload_dot_cz_links", false))
  5621. {
  5622. addFileHost(
  5623. "superload\\.cz\/dl\/\\w+",
  5624. 'icon-download">',
  5625. 'soubor nebyl nalezen',
  5626. 'optional--',
  5627. "//a[contains(@href,'superload.cz/dl')]"
  5628. );
  5629. }
  5630. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  5631. {
  5632. addFileHost(
  5633. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  5634. 'op" value="download',
  5635. 'class="err">|width:500px;text-align:left;">',
  5636. 'optional--',
  5637. "//a[contains(@href,'hulkfile.')]"
  5638. );
  5639. }
  5640. if (GM_getValue("Check_easybytez_dot_com_links", false))
  5641. {
  5642. addFileHost(
  5643. "easybytez\\.com\/\\w+",
  5644. 'op" value="download',
  5645. 'stop_error\\.gif',
  5646. 'optional--',
  5647. "//a[contains(@href,'easybytez.com/')]"
  5648. );
  5649. }
  5650. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  5651. {
  5652. addFileHost(
  5653. "filestore\\.com\\.ua\/\\?d=\\w+",
  5654. 'tdrow1>',
  5655. 'class=warn',
  5656. 'optional--',
  5657. "//a[contains(@href,'filestore.com.ua/?d=')]"
  5658. );
  5659. }
  5660. if (GM_getValue("Check_netkups_dot_com_links", false))
  5661. {
  5662. addFileHost(
  5663. "netkups\\.com\/\\?d=\\w+",
  5664. 'submit">Continue',
  5665. 'page">File not found|deleted due to inactivity',
  5666. 'optional--',
  5667. "//a[contains(@href,'netkups.com/?d=')]"
  5668. );
  5669. }
  5670. if (GM_getValue("Check_openfile_dot_ru_links", false))
  5671. {
  5672. addFileHost(
  5673. "openfile\\.ru\/(?:video\/|)\\d+",
  5674. 'videobox_left">',
  5675. 'blog_title">|not found on this server',
  5676. 'optional--',
  5677. "//a[contains(@href,'openfile.ru/')]"
  5678. );
  5679. }
  5680. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  5681. {
  5682. addFileHost(
  5683. "extmatrix\\.com\/files\/\\w+",
  5684. 'div class="success"',
  5685. 'div class="error"',
  5686. 'optional--',
  5687. "//a[contains(@href,'extmatrix.com/files')]"
  5688. );
  5689. }
  5690. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  5691. {
  5692. addFileHost(
  5693. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  5694. 'content_lnkDownload',
  5695. 'error\\.aspx\\?',
  5696. 'optional--',
  5697. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  5698. );
  5699. }
  5700. if (GM_getValue("Check_sockshare_dot_com_links", false))
  5701. {
  5702. addFileHost(
  5703. "sockshare\\.com\/file\/\\w+",
  5704. 'choose_speed">',
  5705. 'message t_0\'>',
  5706. 'optional--',
  5707. "//a[contains(@href,'sockshare.com/file')]"
  5708. );
  5709. }
  5710. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  5711. {
  5712. addFileHost(
  5713. "yourfilestore\\.com\/download\/\\d+\/",
  5714. 'download_data">',
  5715. 'may have been deleted|<h1>Sorry!<\/h1>',
  5716. 'optional--',
  5717. "//a[contains(@href,'yourfilestore.com/download')]"
  5718. );
  5719. }
  5720. if (GM_getValue("Check_nekaka_dot_com_links", false))
  5721. {
  5722. addFileHost(
  5723. "nekaka\\.com\/d\/[\\w-]+",
  5724. 'downloadForm">',
  5725. 'invalid file link',
  5726. 'optional--',
  5727. "//a[contains(@href,'nekaka.com/d')]"
  5728. );
  5729. }
  5730. if (GM_getValue("Check_filebig_dot_net_links", false))
  5731. {
  5732. addFileHost(
  5733. "filebig\\.net\/files\/\\w+",
  5734. 'downloadFile">',
  5735. '<p>File not found<\/p>',
  5736. 'optional--',
  5737. "//a[contains(@href,'filebig.net/files')]"
  5738. );
  5739. }
  5740. if (GM_getValue("Check_gamefront_dot_com_links", false))
  5741. {
  5742. addFileHost(
  5743. "files\\.filefront\\.com\/\/;\\d+;;",
  5744. 'downloadLink">',
  5745. 'File not found, you',
  5746. 'optional--',
  5747. "//a[contains(@href,'files.filefront.com')]"
  5748. );
  5749.  
  5750. addFileHost(
  5751. "gamefront\\.com\/files\/\\d+",
  5752. 'downloadLink">',
  5753. 'File not found, you',
  5754. 'optional--',
  5755. "//a[contains(@href,'gamefront.com/files')]"
  5756. );
  5757. }
  5758. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  5759. {
  5760. addFileHost(
  5761. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  5762. 'dnlLnk"',
  5763. 'already been deleted',
  5764. 'optional--',
  5765. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  5766. );
  5767. }
  5768. if (GM_getValue("Check_hellupload_dot_com_links", false))
  5769. {
  5770. addFileHost(
  5771. "hellupload\\.com\/\\w+",
  5772. '<h3>Download File<br',
  5773. 'id="podstrona">|AVOID_IE_BUG',
  5774. 'optional--',
  5775. "//a[contains(@href,'hellupload.com/')]"
  5776. );
  5777. }
  5778. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  5779. {
  5780. addFileHost(
  5781. "free\\-uploading\\.com\/\\w+",
  5782. 'op" value="download',
  5783. 'class="err">|width:500px;text-align:left;">',
  5784. 'optional--',
  5785. "//a[contains(@href,'free-uploading.com/')]"
  5786. );
  5787. }
  5788. if (GM_getValue("Check_fileape_dot_com_links", false))
  5789. {
  5790. addFileHost(
  5791. "fileape\\.com\/download\\-",
  5792. 'button_dl\\.png',
  5793. 'does not exist\\.',
  5794. 'optional--',
  5795. "//a[contains(@href,'fileape.com/')]"
  5796. );
  5797. }
  5798. if (GM_getValue("Check_uppit_dot_com_links", false))
  5799. {
  5800. addFileHost(
  5801. "(?:uppit\\.com|up\\.ht)\/\\w+",
  5802. 'op" value="download',
  5803. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  5804. 'optional--',
  5805. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  5806. true
  5807. );
  5808. }
  5809. if (GM_getValue("Check_nosupload_dot_com_links", false))
  5810. {
  5811. addFileHost(
  5812. "nosupload\\.com\/(?:\\?d=)?\\w+",
  5813. 'op" value="download',
  5814. '>File Not Found<',
  5815. 'optional--',
  5816. "//a[contains(@href,'nosupload.com')]",
  5817. true
  5818. );
  5819. }
  5820. if (GM_getValue("Check_filesin_dot_com_links", false))
  5821. {
  5822. addFileHost(
  5823. "filesin\\.com\/\\w+\/download\\.html",
  5824. 'download_area">',
  5825. 'error_note">',
  5826. 'optional--',
  5827. "//a[contains(@href,'filesin.com/')]",
  5828. true
  5829. );
  5830. }
  5831. if (GM_getValue("Check_nowdownload_dot_eu_links", false))
  5832. {
  5833. addFileHost(
  5834. "nowdownload\\.eu\/dl\/\\w+",
  5835. 'alert-success"',
  5836. 'This file does not exist!',
  5837. 'The file is being transfered',
  5838. "//a[contains(@href,'nowdownload.eu/dl')]"
  5839. );
  5840. }
  5841. if (GM_getValue("Check_axifile_dot_com_links", false))
  5842. {
  5843. addFileHost(
  5844. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  5845. 'Dbutton_big"',
  5846. 'download\\-error\\.php',
  5847. 'optional--',
  5848. "//a[contains(@href,'axifile.com/')]"
  5849. );
  5850. }
  5851. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  5852. {
  5853. addFileHost(
  5854. "hulkshare\.com\/\\w+",
  5855. 'download\.sam\.png|This is a private file|id="filename',
  5856. 'File does not exist|fingerprint protected copyright',
  5857. 'optional--',
  5858. "//a[contains(@href,'hulkshare.com')]"
  5859. );
  5860. }
  5861. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  5862. {
  5863. addFileHost(
  5864. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  5865. 'col-1">\\s*<s',
  5866. 'col-1">\\s*<h',
  5867. 'optional--',
  5868. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  5869. );
  5870. }
  5871. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  5872. {
  5873. addFileHost(
  5874. "hitfile\\.net\/download\/folder\/\\d+",
  5875. 'content">\\s*<s',
  5876. 'content">\\s*<h',
  5877. 'optional--',
  5878. "//a[contains(@href,'hitfile.net/download/folder')]"
  5879. );
  5880. }
  5881. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  5882. {
  5883. addFileHost(
  5884. "netload\\.in\/folder\\.php\\?folder_id=\\w+",
  5885. 'images\/online\\.gif',
  5886. 'InPage_Error"',
  5887. 'optional--',
  5888. "//a[contains(@href,'netload.in/folder.php')]"
  5889. );
  5890. }
  5891. if (GM_getValue("Check_movshare_dot_net_links", false))
  5892. {
  5893. addFileHost(
  5894. "movshare\\.net\\/video\\/\\w+",
  5895. 'optional--"',
  5896. 'no longer exists',
  5897. 'optional--',
  5898. "//a[contains(@href,'movshare.net/video')]"
  5899. );
  5900. }
  5901. if (GM_getValue("Check_plunder_dot_com_links", false))
  5902. {
  5903. addFileHost(
  5904. "plunder\.com\/\\w+",
  5905. 'x\/download\\.gif',
  5906. '404 - File or directory not found.',
  5907. 'optional--',
  5908. "//a[contains(@href,'plunder.com')]"
  5909. );
  5910. }
  5911. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  5912. {
  5913. addFileHost(
  5914. "mafiastorage\\.com\/\\w+",
  5915. 'op" value="download',
  5916. 'class="err">|style="width:500px;text-align:left;"',
  5917. 'optional--',
  5918. "//a[contains(@href,'mafiastorage.com/')]"
  5919. );
  5920. }
  5921. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  5922. {
  5923. addFileHost(
  5924. "uploadspace\.pl\/plik\\w+",
  5925. 'Downloading .+? \\|',
  5926. 'Downloading a file',
  5927. 'optional--',
  5928. "//a[contains(@href,'uploadspace.pl/plik')]"
  5929. );
  5930. }
  5931. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  5932. {
  5933. addFileHost(
  5934. "uploadingit\\.com\/file\/\\w+",
  5935. 'downloadTitle">',
  5936. 'deleteContent">',
  5937. 'optional--',
  5938. "//a[contains(@href,'uploadingit.com/file')]"
  5939. );
  5940. }
  5941. if (GM_getValue("Check_rghost_dot_net_links", false))
  5942. {
  5943. addFileHost(
  5944. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  5945. 'download_link|btn large download"',
  5946. 'file is restricted|File is deleted|503 Service Unavailable',
  5947. 'File was deleted',
  5948. "//a[contains(@href,'rghost.')]"
  5949. );
  5950. }
  5951. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  5952. {
  5953. addFileHost(
  5954. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  5955. '">Staženo:\\s*<\/span>',
  5956. 'Soubor, který hledáte nenalezen',
  5957. 'optional--',
  5958. "//a[contains(@href,'xdisk.cz/')]"
  5959. );
  5960. }
  5961. if (GM_getValue("Check_expressleech_dot_com_links", false))
  5962. {
  5963. addFileHost(
  5964. "expressleech\.com\/\\w+",
  5965. 'src="/img/Download.gif"|var _gaq =',
  5966. 'var rr =|403 Forbidden',
  5967. 'optional--',
  5968. "//a[contains(@href,'expressleech.com')]");
  5969. }
  5970. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  5971. {
  5972. addFileHost(
  5973. "2downloadz\.com\/\\w+",
  5974. 'color="#848484|src="images/Download.png"|color:#238DCA',
  5975. 'color="#006DCC|File error',
  5976. 'optional--',
  5977. "//a[contains(@href,'2downloadz.com')]");
  5978. }
  5979. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  5980. {
  5981. addFileHost(
  5982. "mightyupload\.com\/\\w+",
  5983. 'background:#ccc;text-align|CONTENT="Download File"',
  5984. 'style="background:#eee|var rr =|File Not Found',
  5985. 'optional--',
  5986. "//a[contains(@href,'mightyupload.com')]");
  5987. }
  5988. if (GM_getValue("Check_uncapped_dash_downloads_dot_com_links", false))
  5989. {
  5990. addFileHost(
  5991. "uncapped-downloads\.com\/\\w+",
  5992. 'btn_download',
  5993. 'File Not Found',
  5994. 'optional--',
  5995. "//a[contains(@href,'uncapped-downloads.com')]");
  5996. }
  5997. if (GM_getValue("Check_k2s_dot_cc_links", false))
  5998. {
  5999. addFileHost(
  6000. "k2s\.cc\/file\/\\w+",
  6001. 'Click here for slow download with|class="btn" id="yw0"|onclick="download',
  6002. 'Error 404|class="errorSummary">|this file is blocked or deleted|>404 Not Found<|To avoid damaged files|This file is no longer available',
  6003. 'please try later',
  6004. //'optional--',
  6005. "//a[contains(@href,'k2s.cc')]");
  6006. }
  6007. if (GM_getValue("Check_keep2share_dot_cc_links", false))
  6008. {
  6009. addFileHost(
  6010. "keep2share\.cc\/file\/\\w+",
  6011. 'Click here for slow download with|class="btn" id="yw0"|onclick="download',
  6012. 'Error 404|class="errorSummary">|this file is blocked or deleted|>404 Not Found<|To avoid damaged files|This file is no longer available',
  6013. 'please try later',
  6014. //'optional--',
  6015. "//a[contains(@href,'keep2share.cc')]");
  6016. }
  6017. if (GM_getValue("Check_keep2s_dot_cc_links", false))
  6018. {
  6019. addFileHost(
  6020. "keep2s\.cc\/file\/\\w+",
  6021. 'Click here for slow download with|class="btn" id="yw0"|onclick="download',
  6022. 'Error 404|class="errorSummary">|this file is blocked or deleted|>404 Not Found<|To avoid damaged files|This file is no longer available',
  6023. 'please try later',
  6024. //'optional--',
  6025. "//a[contains(@href,'keep2s.cc')]");
  6026. }
  6027. if (GM_getValue("Check_keep2share_dot_com_links", false))
  6028. {
  6029. addFileHost(
  6030. "keep2share\.com\/file\/\\w+",
  6031. 'Click here for slow download with|class="btn" id="yw0"|onclick="download',
  6032. 'Error 404|class="errorSummary">|this file is blocked or deleted|>404 Not Found<|To avoid damaged files|This file is no longer available',
  6033. 'please try later',
  6034. //'optional--',
  6035. "//a[contains(@href,'keep2share.com')]");
  6036. }
  6037. if (GM_getValue("Check_anysend_dot_com_links", false))
  6038. {
  6039. addFileHost(
  6040. "anysend\.com\/\\w+",
  6041. 'var openCalled=false;|content="noindex"',
  6042. '_trackPageview',
  6043. 'optional--',
  6044. "//a[contains(@href,'anysend.com')]");
  6045. }
  6046. if (GM_getValue("Check_datafile_dot_com_links", true))
  6047. {
  6048. addFileHost(
  6049. "datafile\.com\/\\w+",
  6050. 'src="/js/files_download.js"|get-premium-button',
  6051. 'ErrorCode|class="error-msg"|ErrorCode 0: Invalid Link',
  6052. 'You are downloading another file at this moment|You exceeded your free',
  6053. //'optional--',
  6054. "//a[contains(@href,'datafile.com')]");
  6055. }
  6056. if (GM_getValue("Check_upstore_dot_net_links", false))
  6057. {
  6058. addFileHost(
  6059. "upstore\.net\/\\w+",
  6060. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6061. 'File not found|onload="redirect|class="error">',
  6062. 'optional--',
  6063. "//a[contains(@href,'upstore.net')]");
  6064. }
  6065. if (GM_getValue("Check_upsto_dot_re_links", false))
  6066. {
  6067. addFileHost(
  6068. "upsto\.re\/\\w+",
  6069. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6070. 'File not found|onload="redirect|class="error">',
  6071. 'optional--',
  6072. "//a[contains(@href,'upsto.re')]");
  6073. }
  6074. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6075. {
  6076. addFileHost(
  6077. "speedy\.sh\/\\w+",
  6078. 'bgcolor=#eeeeee|class="addthis',
  6079. 'File not found|downloadfilenamenotfound>',
  6080. 'optional--',
  6081. "//a[contains(@href,'speedy.sh')]");
  6082. }
  6083. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6084. {
  6085. addFileHost(
  6086. "sanshare\.com\/\\w+",
  6087. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6088. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6089. 'optional--',
  6090. "//a[contains(@href,'sanshare.com')]");
  6091. }
  6092. if (GM_getValue("Check_dizzcloud_dot_com_links", false))
  6093. {
  6094. addFileHost(
  6095. "dizzcloud\.com\/\\w+",
  6096. '2299210355.png"|class="name"',
  6097. 'span>404|class="cyan upgrade"',
  6098. 'optional--',
  6099. "//a[contains(@href,'dizzcloud.com')]");
  6100. }
  6101. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6102. {
  6103. addFileHost(
  6104. "kingfiles\.net\/\\w+",
  6105. 'img/spriteBanner.png|If you are the owner of this file',
  6106. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6107. 'optional--',
  6108. "//a[contains(@href,'kingfiles.net')]");
  6109. }
  6110. if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6111. {
  6112. addFileHost(
  6113. "uploadhero\\.co\/dl\/\\w+",
  6114. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6115. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6116. 'optional--',
  6117. "//a[contains(@href,'uploadhero.co/dl')]"
  6118. );
  6119. }
  6120. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6121. {
  6122. addFileHost(
  6123. "secureupload\\.eu\/\\w+",
  6124. 'Downloading',
  6125. 'cannot be found|File Not Found|could not be found',
  6126. 'optional--',
  6127. "//a[contains(@href,'secureupload.eu')]"
  6128. );
  6129. }
  6130. if (GM_getValue("Check_ge_dot_tt_links", false))
  6131. {
  6132. addFileHost(
  6133. "ge\.tt\/\\w+",
  6134. 'downloads pic',
  6135. 'is NOT the same as',
  6136. 'optional--',
  6137. "//a[contains(@href,'ge.tt')]");
  6138. }
  6139. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6140. {
  6141. addFileHost(
  6142. "filefactory\.com\/\\w+",
  6143. 'div id="file_holder"|download.css',
  6144. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6145. 'Server Maintenance|temporarily overloaded',
  6146. //'optional--',
  6147. "//a[contains(@href,'filefactory.com')]");
  6148. }
  6149. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6150. {
  6151. addFileHost(
  6152. "filesflash\.net\/\\w+",
  6153. 'align:right">Filename:',
  6154. 'class="msg">',
  6155. 'optional--',
  6156. "//a[contains(@href,'filesflash.net')]");
  6157. }
  6158. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6159. {
  6160. addFileHost(
  6161. "rapidgator\\.net\/folder\/\\w+",
  6162. 'href="/folder/',
  6163. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6164. 'optional--',
  6165. "//a[contains(@href,'rapidgator.net/folder')]",
  6166. true
  6167. );
  6168. }
  6169. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6170. {
  6171. addFileHost(
  6172. "salefiles\.com\/\\w+",
  6173. '<Title>Download|CONTENT="Download',
  6174. 'font:15px Arial|background:#eee;',
  6175. 'optional--',
  6176. "//a[contains(@href,'salefiles.com')]");
  6177. }
  6178. if (GM_getValue("Check_megairon_dot_net_links", false))
  6179. {
  6180. addFileHost(
  6181. "megairon\.net\/\\w+",
  6182. 'border: 5px #ffeb90 solid;',
  6183. 'CONTENT="Download File ">|var rr =',
  6184. 'optional--',
  6185. "//a[contains(@href,'megairon.net')]");
  6186. }
  6187. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6188. {
  6189. addFileHost(
  6190. "datoid\.cz\/\\w+",
  6191. 'btn-download|class="icon-download-large"',
  6192. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6193. 'optional--',
  6194. "//a[contains(@href,'datoid.cz')]");
  6195. }
  6196. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6197. {
  6198. addFileHost(
  6199. "stiahni\.si\/\\w+",
  6200. 'report_icon.png"|slow-download-button',
  6201. 'none.png|deleted|<h2>Error 500</h2>',
  6202. 'optional--',
  6203. "//a[contains(@href,'stiahni.si')]");
  6204. }
  6205. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6206. {
  6207. addFileHost(
  6208. "cloudstor\.es\/\\w+",
  6209. '"btn_download"',
  6210. '404: Page Not Found',
  6211. 'optional--',
  6212. "//a[contains(@href,'cloudstor.es')]");
  6213. }
  6214. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6215. {
  6216. addFileHost(
  6217. "streamfile\.com\/\\w+",
  6218. 'class="btn',
  6219. 'class="green-btn',
  6220. 'optional--',
  6221. "//a[contains(@href,'streamfile.com')]");
  6222. }
  6223. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6224. {
  6225. addFileHost(
  6226. "eyesfile\.ca\/\\w+",
  6227. 'value="Get Link',
  6228. 'var rr =',
  6229. 'optional--',
  6230. "//a[contains(@href,'eyesfile.ca')]");
  6231. }
  6232. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6233. {
  6234. addFileHost(
  6235. "filemoney\.com\/\\w+",
  6236. 'og:title',
  6237. '404 Not Found|<Title>FileMoney',
  6238. 'optional--',
  6239. "//a[contains(@href,'filemoney.com')]");
  6240. }
  6241. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6242. {
  6243. addFileHost(
  6244. "uploadboy\.com\/\\w+",
  6245. 'width="740">|method_free',
  6246. 'var rr =|background:#ffffff|not be found|file was removed',
  6247. 'optional--',
  6248. "//a[contains(@href,'uploadboy.com')]");
  6249. }
  6250. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6251. {
  6252. addFileHost(
  6253. "speedshare\.eu\/\\w+",
  6254. 'favicon.png|color:#3d87c0|cross.png"',
  6255. 'var rr =|File Not Found|style="background:#eee',
  6256. 'optional--',
  6257. "//a[contains(@href,'speedshare.eu')]");
  6258. }
  6259. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6260. {
  6261. addFileHost(
  6262. "unlimitzone\.com\/\\w+",
  6263. 'content="1" name="',
  6264. 'var rr =|File Not Found',
  6265. 'optional--',
  6266. "//a[contains(@href,'unlimitzone.com')]");
  6267. }
  6268. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6269. {
  6270. addFileHost(
  6271. "rioupload\.com\/\\w+",
  6272. 'sell.jpg',
  6273. 'var rr =',
  6274. 'optional--',
  6275. "//a[contains(@href,'rioupload.com')]");
  6276. }
  6277. if (GM_getValue("Check_rg_dot_to_links", false))
  6278. {
  6279. addFileHost(
  6280. "rg\.to\/\\w+",
  6281. '/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',
  6282. 'Error 404|File not found|Select your plan',
  6283. 'optional--',
  6284. //'optional--',
  6285. "//a[contains(@href,'rg.to')]");
  6286. }
  6287. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6288. {
  6289. addFileHost(
  6290. "jumbofiles\.org\/\\w+",
  6291. 'H71C5.png|class="downloadtitle">',
  6292. 'var swfu|ViewSourceBIN.png',
  6293. 'optional--',
  6294. "//a[contains(@href,'jumbofiles.org')]");
  6295. }
  6296. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6297. {
  6298. addFileHost(
  6299. "fshare\\.vn\/file\/\\w+",
  6300. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6301. 'không tồn tại|class="color_red m_t_50"',
  6302. 'optional--',
  6303. "//a[contains(@href,'fshare.vn/file')]",
  6304. true
  6305. );
  6306. }
  6307. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6308. {
  6309. addFileHost(
  6310. "spaceforfiles\.com\/\\w+",
  6311. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6312. 'var rr =|AVOID_IE_BUG',
  6313. 'optional--',
  6314. "//a[contains(@href,'spaceforfiles.com')]");
  6315. }
  6316. if (GM_getValue("Check_google_dot_com_links", false))
  6317. {
  6318. addFileHost(
  6319. "google\\.com\/file\/\\w+",
  6320. 'content="!">|color:#2d2d2d',
  6321. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6322. 'optional--',
  6323. "//a[contains(@href,'google.com/file')]",
  6324. true
  6325. );
  6326. }
  6327. if (GM_getValue("Check_google_dot_com_links", false))
  6328. {
  6329. addFileHost(
  6330. "docs.google.com\/\\w+",
  6331. 'content="!">|color:#2d2d2d',
  6332. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6333. 'optional--',
  6334. "//a[contains(@href,'docs.google.com')]",
  6335. true
  6336. );
  6337. }
  6338. if (GM_getValue("Check_google_dot_com_links", false))
  6339. {
  6340. addFileHost(
  6341. "drive.google.com\/\\w+",
  6342. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6343. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6344. 'optional--',
  6345. "//a[contains(@href,'drive.google.com')]",
  6346. true
  6347. );
  6348. }
  6349. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6350. {
  6351. addFileHost(
  6352. "up.media1fire\.com\/\\w+",
  6353. 'class="addthis_|value="download',
  6354. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6355. 'optional--',
  6356. "//a[contains(@href,'up.media1fire.com')]");
  6357. }
  6358. if (GM_getValue("Check_depfile_dot_com_links", false))
  6359. {
  6360. addFileHost(
  6361. "depfile\.com\/\\w+",
  6362. 'logo_0.png|downloads.gif"',
  6363. 'border-color: #5D729B;|bgcolor="#778AAF"',
  6364. 'optional--',
  6365. "//a[contains(@href,'depfile.com')]");
  6366. }
  6367. if (GM_getValue("Check_go4up_dot_com_links", false))
  6368. {
  6369. addFileHost(
  6370. "go4up\.com\/\\w+",
  6371. 'style="width: 100%;">|value="Access|download_line',
  6372. '<title>GO4UP|dmca',
  6373. 'optional--',
  6374. "//a[contains(@href,'go4up.com')]");
  6375. }
  6376. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6377. {
  6378. addFileHost(
  6379. "redbunker\.net\/\\w+",
  6380. 'dload.png|rowspan="3">|yep.gif',
  6381. 'CONTENT="RedBunker|#D3D3D3;|color:#d33|AVOID_IE_BUG',
  6382. 'optional--',
  6383. "//a[contains(@href,'redbunker.net')]");
  6384. }
  6385. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6386. {
  6387. addFileHost(
  6388. "divxpress\.com\/\\w+",
  6389. 'btn_download|logo.png"',
  6390. 'AVOID_IE_BUG|var rr =',
  6391. 'optional--',
  6392. "//a[contains(@href,'divxpress.com')]");
  6393. }
  6394. if (GM_getValue("Check_anafile_dot_com_links", false))
  6395. {
  6396. addFileHost(
  6397. "anafile\.com\/\\w+",
  6398. 'width="881" valign="top|color="#800080"',
  6399. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6400. 'optional--',
  6401. "//a[contains(@href,'anafile.com')]");
  6402. }
  6403. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6404. {
  6405. addFileHost(
  6406. "uploadable\\.ch\/file\/\\w+",
  6407. 'captcha.js"|payment.js"|class="btn_download"',
  6408. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6409. 'optional--',
  6410. "//a[contains(@href,'uploadable.ch/file')]",
  6411. true
  6412. );
  6413. }
  6414. if (GM_getValue("Check_arabloads_dot_com_links", false))
  6415. {
  6416. addFileHost(
  6417. "arabloads\.com\/\\w+",
  6418. 'name="method_free"|name="method_premium"',
  6419. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error',
  6420. 'optional--',
  6421. "//a[contains(@href,'arabloads.com')]");
  6422. }
  6423. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6424. {
  6425. addFileHost(
  6426. "sharerepo\.com\/\\w+",
  6427. 'name="method_free"',
  6428. 'var public_on=|The file you were looking for could not be found',
  6429. 'optional--',
  6430. "//a[contains(@href,'sharerepo.com')]");
  6431. }
  6432. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6433. {
  6434. addFileHost(
  6435. "sfshare\.se\/\\w+",
  6436. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6437. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6438. 'optional--',
  6439. "//a[contains(@href,'sfshare.se')]");
  6440. }
  6441. if (GM_getValue("Check_files_dot_fm_links", false))
  6442. {
  6443. addFileHost(
  6444. "files\.fm\/\\w+",
  6445. 'dl.png"|background-color: transparent',
  6446. 'margin: 40px 40px|background: none;',
  6447. 'optional--',
  6448. "//a[contains(@href,'files.fm')]");
  6449. }
  6450. if (GM_getValue("Check_koofile_dot_com_links", false))
  6451. {
  6452. addFileHost(
  6453. "koofile\.com\/\\w+",
  6454. 'value="download1">|name="method_free"',
  6455. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6456. 'optional--',
  6457. "//a[contains(@href,'koofile.com')]");
  6458. }
  6459. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6460. {
  6461. addFileHost(
  6462. "vidxden\\.com\/\\w+",
  6463. 'Continue to Video"',
  6464. 'No such file',
  6465. 'optional--',
  6466. "//a[contains(@href,'vidxden.com')]"
  6467. );
  6468. }
  6469. if (GM_getValue("Check_muchshare_dot_net_links", false))
  6470. {
  6471. addFileHost(
  6472. "muchshare\\.net\/\\w+",
  6473. 'id="btn_download"',
  6474. 'File Not Found|width: 500px; text-align: left;',
  6475. 'optional--',
  6476. "//a[contains(@href,'muchshare.net')]"
  6477. );
  6478. }
  6479. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6480. {
  6481. addFileHost(
  6482. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6483. 'Details zur Datei|Details page',
  6484. 'Jetzt hochladen|upload now',
  6485. 'optional--',
  6486. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6487. );
  6488. }
  6489. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6490. {
  6491. addFileHost(
  6492. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6493. 'downloadbtn"',
  6494. 'DL_FileNotFound',
  6495. 'optional--',
  6496. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6497. );
  6498. }
  6499. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6500. {
  6501. addFileHost(
  6502. "fileflyer\.com\/view\/\\w+",
  6503. '(?:dwl|locked)btn"',
  6504. 'error.gif"|link">Removed|removedlink">',
  6505. 'optional--',
  6506. "//a[contains(@href,'fileflyer.com')]"
  6507. );
  6508. }
  6509. if (GM_getValue("Check_filestore_dot_to_links", false))
  6510. {
  6511. addFileHost(
  6512. "filestore\.to\/\\?d=\\w+",
  6513. '"downloading"',
  6514. 'Datei wurde nicht gefunden',
  6515. 'optional--',
  6516. "//a[contains(@href,'filestore.to')]"
  6517. );
  6518. }
  6519. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6520. {
  6521. addFileHost(
  6522. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6523. 'fz24">Download|class="pl15">',
  6524. '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',
  6525. 'optional--',
  6526. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6527. );
  6528. }
  6529. if (GM_getValue("Check_burnupload_dot_com_links", false))
  6530. {
  6531. addFileHost(
  6532. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  6533. 'File size:',
  6534. 'file is not found',
  6535. 'optional--',
  6536. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  6537. );
  6538. }
  6539. if (GM_getValue("Check_datei_dot_to_links", false))
  6540. {
  6541. addFileHost(
  6542. "datei\\.to\/\\??\\w+",
  6543. 'icon_downloaden\\.png|>Download starten<',
  6544. 'Datei wurde nicht gefunden|icon_deleted.png',
  6545. 'optional--',
  6546. "//a[contains(@href,'datei.to')]"
  6547. );
  6548. }
  6549. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6550. {
  6551. addFileHost(
  6552. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6553. '<body class="body" id="body">|value="Slow Download"',
  6554. '<body class="body" >',
  6555. 'optional--',
  6556. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6557. );
  6558. }
  6559. /* if (GM_getValue("Check_putlocker_dot_com_links", false))
  6560. {
  6561. addFileHost(
  6562. "putlocker\\.com\/file\/\\w{16}",
  6563. 'as Free User|<a class="continue"|Continue to file|#feedback_btn|application file_standalone',
  6564. 'Welcome to PutLocker|<div class="sad_face_image">|404:',
  6565. 'undergoing scheduled maintenance',
  6566. "//a[contains(@href,'putlocker.com/file')]"
  6567. );
  6568. } */
  6569. if (GM_getValue("Check_uploadhero_dot_com_links", false))
  6570. {
  6571. addFileHost(
  6572. "uploadhero\\.com\/dl\/\\w+",
  6573. 'content-dl">',
  6574. 'men_file_lost\\.jpg"',
  6575. 'optional--',
  6576. "//a[contains(@href,'uploadhero.com/dl')]"
  6577. );
  6578. }
  6579. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6580. {
  6581. addFileHost(
  6582. "unibytes\\.com\/[\\w\.]+",
  6583. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6584. 'File not found|Файл не найден|',
  6585. 'optional--',
  6586. "//a[contains(@href,'unibytes.com')]"
  6587. );
  6588. }
  6589. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  6590. {
  6591. addFileHost(
  6592. "www\\.hellshare\\.com\/\\d+",
  6593. 'tab\\-details"',
  6594. 'list-purp-2"|not found on this server',
  6595. 'optional--',
  6596. "//a[contains(@href,'www.hellshare.com')]"
  6597. );
  6598. }
  6599. if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  6600. {
  6601. addFileHost(
  6602. "quickshare\\.cz\/slozka-\\d+",
  6603. 'Počet souborů: <strong>[1-9]',
  6604. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  6605. 'optional--',
  6606. "//a[contains(@href,'quickshare.cz/slozka')]"
  6607. );
  6608. }
  6609. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  6610. {
  6611. addFileHost(
  6612. "filefactory\\.com\/f\/\\w+",
  6613. 'folderFileList">',
  6614. 'table class="items"|Pointer" class="red">',
  6615. 'optional--',
  6616. "//a[contains(@href,'filefactory.com/f/')]"
  6617. );
  6618. }
  6619. if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  6620. {
  6621. addFileHost(
  6622. "netfolder\\.in\/\\w+",
  6623. 'list" value="http',
  6624. 'InPage_Error">|list" value=""',
  6625. 'optional--',
  6626. "//a[contains(@href,'netfolder.in')]"
  6627. );
  6628. }
  6629. if (GM_getValue("Check_load_dot_to_links", false))
  6630. {
  6631. addFileHost(
  6632. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  6633. '"download_table_left">Size',
  6634. 'Can\'t find file',
  6635. 'optional--',
  6636. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  6637. );
  6638. }
  6639. if (GM_getValue("Check_freakshare_dot_net_links", false))
  6640. {
  6641. addFileHost(
  6642. "freakshare\\.(?:net|com)\/files\/",
  6643. 'box_heading',
  6644. '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|الملف المطلوب غير موجود',
  6645. 'Your Traffic is used up for today',
  6646. "//a[(contains(@href,'freakshare.net') or contains(@href,'freakshare.com')) and contains(@href,'files')]",
  6647. true
  6648. );
  6649. //folders
  6650. addFileHost(
  6651. "freakshare\\.(?:net|com)\/folder\/",
  6652. 'Files: [1-9]',
  6653. 'Files: 0',
  6654. 'optional--',
  6655. "//a[(contains(@href,'freakshare.net') or contains(@href,'freakshare.com')) and contains(@href,'folder')]",
  6656. true
  6657. );
  6658. }
  6659. if (GM_getValue("Check_divshare_dot_com_links", false))
  6660. {
  6661. addFileHost(
  6662. "divshare\\.com\/download\/",
  6663. 'download_new\.png',
  6664. 'have been removed',
  6665. 'optional--',
  6666. "//a[contains(@href,'divshare.com')]"
  6667. );
  6668. }
  6669. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  6670. {
  6671. addFileHost(
  6672. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\d+",
  6673. 'nazev-souboru">',
  6674. '<div id="obsah">\\s*<h1>',
  6675. 'optional--',
  6676. "//a[contains(@href,'euroshare.eu/file')]"
  6677. );
  6678. }
  6679. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  6680. {
  6681. addFileHost(
  6682. 'files\\.mail\\.ru/(?:\\w*)',
  6683. 'fileList',
  6684. 'errorMessage',
  6685. 'optional--',
  6686. "//a[contains(@href,'files.mail.ru')]"
  6687. );
  6688. }
  6689. if (GM_getValue("Check_megashares_dot_com_links", false))
  6690. {
  6691. addFileHost(
  6692. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  6693. 'Filesize',
  6694. 'Invalid|deleted|Could not download file',
  6695. 'slots|scheduled maintenance',
  6696. "//a[contains(@href,'megashares.com/')]"
  6697. );
  6698. }
  6699. if (GM_getValue("Check_narod_dot_ru_links", false))
  6700. {
  6701. addFileHost(
  6702. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  6703. 'b-submit',
  6704. 'b-download-virus-note|headCode">404<',
  6705. 'Внутренняя ошибка сервиса',
  6706. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  6707. );
  6708. }
  6709. if (GM_getValue("Check_rayfile_dot_com_links", false))
  6710. {
  6711. addFileHost(
  6712. "rayfile\\.com\/",
  6713. 'FILEtitleTXT',
  6714. 'blueRow',
  6715. 'optional--',
  6716. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  6717. );
  6718. }
  6719. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  6720. {
  6721. addFileHost(
  6722. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  6723. 'button_green_body"',
  6724. 'error">',
  6725. 'optional--',
  6726. "//a[contains(@href,'filesmonster.com/download')]"
  6727. );
  6728. }
  6729. if (GM_getValue("Check_usaupload_dot_net_links", false))
  6730. {
  6731. addFileHost(
  6732. 'usaupload\\.net\/d\/(?:\w*)',
  6733. '<strong>File size:</strong>',
  6734. 'is not available',
  6735. 'optional--',
  6736. "//a[contains(@href,'usaupload.net/d/')]"
  6737. );
  6738. }
  6739. if (GM_getValue("Check_sendspace_dot_com_links", false))
  6740. {
  6741. addFileHost(
  6742. 'sendspace\\.com\/file\/\\w+',
  6743. 'file_description',
  6744. 'msg error"',
  6745. 'optional--',
  6746. "//a[contains(@href,'sendspace.com/file')]"
  6747. );
  6748. }
  6749. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  6750. {
  6751. addFileHost(
  6752. 'sendspace\\.pl\/file\/\\w+',
  6753. 'download_file"',
  6754. 'Podany plik nie',
  6755. 'optional--',
  6756. "//a[contains(@href,'sendspace.pl/file')]"
  6757. );
  6758. }
  6759. if (GM_getValue("Check_uploading_dot_com_links", false))
  6760. {
  6761. addFileHost(
  6762. 'uploading\\.com\/(?:files\/)?\\w+',
  6763. 'free_method">',
  6764. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  6765. 'optional--',
  6766. "//a[contains(@href,'uploading.com')]"
  6767. );
  6768. }
  6769. if (GM_getValue("Check_gigasize_dot_com_links", false))
  6770. {
  6771. addFileHost(
  6772. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  6773. 'fileId"',
  6774. 'error">',
  6775. 'optional--',
  6776. "//a[contains(@href,'gigasize.com/get')]"
  6777. );
  6778. }
  6779. if (GM_getValue("Check_good_dot_com_links", false))
  6780. {
  6781. addFileHost(
  6782. 'good\\.net\/(?:_|dl)',
  6783. 'Free Download',
  6784. 'Not Found',
  6785. 'Forbidden',
  6786. "//a[contains(@href,'good.net')]"
  6787. );
  6788. }
  6789. if (GM_getValue("Check_2shared_dot_com_links", false))
  6790. {
  6791. addFileHost(
  6792. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  6793. 'File size',
  6794. 'File not found|is not valid|/images/important.gif',
  6795. 'optional--',
  6796. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  6797. );
  6798. }
  6799. if (GM_getValue("Check_turboupload_dot_com_links", false))
  6800. {
  6801. addFileHost(
  6802. 'turboupload\\.com\/\\w*',
  6803. 'You have requested',
  6804. 'File Not Found',
  6805. 'optional--',
  6806. "//a[contains(@href,'turboupload.com')]"
  6807. );
  6808. }
  6809. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  6810. {
  6811. addFileHost(
  6812. 'gigapeta\\.com\/dl\/',
  6813. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  6814. '404|page_error',
  6815. 'optional--',
  6816. "//a[contains(@href,'gigapeta.com/dl')]"
  6817. );
  6818. }
  6819. if (GM_getValue("Check_veehd_dot_com_links", false))
  6820. {
  6821. addFileHost(
  6822. 'veehd\.com\/video\/.*?',
  6823. 'No sound|Download video',
  6824. 'Featured Videos',
  6825. 'optional--',
  6826. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  6827. );
  6828. }
  6829. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  6830. {
  6831. addFileHost(
  6832. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  6833. 'fast_download_form">|submit_sms_download',
  6834. '<p style="text-align:center">',
  6835. 'optional--',
  6836. "//a[contains(@href,'vip-file.com/download')]"
  6837. );
  6838. }
  6839. if (GM_getValue("Check_letitbit_dot_net_links", false))
  6840. {
  6841. addFileHost(
  6842. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  6843. 'download\\-pnl ',
  6844. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  6845. 'optional--',
  6846. "//a[contains(@href,'letitbit.net/download')]"
  6847. );
  6848. }
  6849. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  6850. {
  6851. addFileHost(
  6852. 'ifolder\.ru\/\\d+',
  6853. 'file-info',
  6854. 'ui-state-error',
  6855. 'optional--',
  6856. "//a[contains(@href,'ifolder.ru')]"
  6857. );
  6858. }
  6859. if (GM_getValue("Check_fileswap_dot_com_links", false))
  6860. {
  6861. addFileHost(
  6862. 'fileswap\\.com\/dl\/\\w+',
  6863. 'bttnDownloadLink"',
  6864. 'rounded_block_error"',
  6865. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  6866. "//a[contains(@href,'fileswap.com/dl')]"
  6867. );
  6868. }
  6869. if (GM_getValue("Check_filecloud_dot_io_links", false))
  6870. {
  6871. addFileHost(
  6872. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  6873. 'var __error = 0',
  6874. 'FILES__DOESNT_EXIST|removed or did not exist',
  6875. 'optional--',
  6876. "//a[contains(@href,'filecloud.io/')]"
  6877. );
  6878. addFileHost(
  6879. 'ifile\\.it\/\\w+',
  6880. 'var __error = 0',
  6881. 'FILES__DOESNT_EXIST',
  6882. 'optional--',
  6883. "//a[contains(@href,'ifile.it/')]"
  6884. );
  6885. }
  6886. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  6887. {
  6888. addFileHost(
  6889. 'solidfiles\\.com\/d\/\\w+',
  6890. 'id="download"|content="Download',
  6891. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  6892. 'optional--',
  6893. "//a[contains(@href,'solidfiles.com/d')]"
  6894. );
  6895. }
  6896. if (GM_getValue("Check_shareflare_dot_net_links", false))
  6897. {
  6898. addFileHost(
  6899. "(?:.\\.|)shareflare\\.net",
  6900. 'download-pnl|<div class="premium-block">',
  6901. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  6902. 'optional--',
  6903. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  6904. );
  6905. }
  6906. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  6907. {
  6908. addFileHost(
  6909. "u18116681.shareflare\\.net",
  6910. 'download-pnl|<div class="premium-block">',
  6911. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  6912. 'optional--',
  6913. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  6914. );
  6915. }
  6916. if (GM_getValue("Check_uloz_dot_to_links", false))
  6917. {
  6918. addFileHost(
  6919. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  6920. 'fileDownload">|fileSize">',
  6921. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  6922. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  6923. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  6924. true
  6925. );
  6926. }
  6927. if (GM_getValue("Check_hellspy_dot_com_links", false))
  6928. {
  6929. addFileHost(
  6930. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  6931. 'file\\-list-orderby|section-filedetail">',
  6932. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">',
  6933. 'optional--',
  6934. "//a[contains(@href,'hellspy.')]"
  6935. );
  6936. }
  6937. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  6938. {
  6939. addFileHost(
  6940. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  6941. '<body onload="">',
  6942. 'neexistuje|not exist',
  6943. 'optional--',
  6944. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  6945. );
  6946. }
  6947. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  6948. {
  6949. addFileHost(
  6950. "stahovanizasms\\.cz\/\\w+",
  6951. 'download\\.png>|font-size:11px><tr>',
  6952. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  6953. 'optional--',
  6954. "//a[contains(@href,'stahovanizasms.cz')]"
  6955. );
  6956. }
  6957. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  6958. {
  6959. addFileHost(
  6960. "share-links\\.biz\/\\w*",
  6961. 'online\\.gif',
  6962. '(?:offline|parts)\\.gif',
  6963. 'optional--',
  6964. "//a[contains(@href,'share-links.biz')]"
  6965. );
  6966. }
  6967. if (GM_getValue("Check_4shared_dot_com_links", false))
  6968. {
  6969. addFileHost(
  6970. "4shared\\.com\/.+\/",
  6971. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  6972. 'class="warn\"|big red"|GetDataBack',
  6973. 'Service Unavailable',
  6974. "//a[contains(@href,'4shared.com')]"
  6975. );
  6976. }
  6977. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  6978. {
  6979. addFileHost(
  6980. "(?:www\\d+\.|)zippyshare\.com\/",
  6981. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  6982. 'not exist|Status 404',
  6983. 'optional--',
  6984. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  6985. );
  6986. }
  6987. if (GM_getValue("Check_mediafire_dot_com_links", false))
  6988. {
  6989. addFileHost(
  6990. "mediafire\.com\/",
  6991. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  6992. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  6993. 'set to private',
  6994. "//a[contains(@href,'mediafire.com')]"
  6995. );
  6996. }
  6997. if (GM_getValue("Check_uploaded_dot_to_links", false))
  6998. {
  6999. addFileHost(
  7000. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7001. '<h2>Authentification</h2></li>| MB|0 seconds',
  7002. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>|<title>uploaded.net</title>',
  7003. 'optional--',
  7004. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7005. );
  7006. }
  7007. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7008. {
  7009. addFileHost(
  7010. "ulozisko\.sk\/",
  7011. 'Detaily',
  7012. 'neexistuje',
  7013. 'optional--',
  7014. "//a[contains(@href,'ulozisko.sk')]"
  7015. );
  7016. }
  7017. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7018. {
  7019. addFileHost(
  7020. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7021. 'download.php',
  7022. 'notfound|upload\\-suborov\\.php"',
  7023. 'optional--',
  7024. "//a[contains(@href,'upnito.sk')]"
  7025. );
  7026. }
  7027. if (GM_getValue("Check_dataport_dot_cz_links", false))
  7028. {
  7029. addFileHost(
  7030. "dataport\.cz\/file\/",
  7031. 'premium_download">',
  7032. '="error">',
  7033. 'optional--',
  7034. "//a[contains(@href,'dataport.cz/file')]",
  7035. true
  7036. );
  7037. }
  7038. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7039. {
  7040. addFileHost(
  7041. "uptobox\\.com\/\\w+",
  7042. 'Create Download Link">',
  7043. '500px;text-align:left;">|File not found|Fichier introuvable',
  7044. 'Maintenance|not available in your country',
  7045. "//a[contains(@href,'uptobox.com')]"
  7046. );
  7047. }
  7048. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7049. {
  7050. addFileHost(
  7051. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7052. 'FILE DOWNLOAD<',
  7053. 'File Does Not Exist',
  7054. 'optional--',
  7055. "//a[contains(@href,'sharecash.org/download.php')]"
  7056. );
  7057. }
  7058. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7059. {
  7060. addFileHost(
  7061. "depositfiles\\.com\/folders\/\\w+",
  7062. '<div class="progressContainer">',
  7063. '<div id="files" class="files">\\s*<\/div>',
  7064. 'optional--',
  7065. "//a[contains(@href,'depositfiles.com/folders')]"
  7066. );
  7067. }
  7068. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  7069. {
  7070. addFileHost(
  7071. "depositfiles\\.com\/|depositfiles.org|dfiles\.eu|dfiles.ru",
  7072. '<b>File Download</b>|File name|Nom du fichier|Nome do arquivo|speed_small\.gif',
  7073. 'Such file does not exist|<div class="no_download_msg"|This file does not exist',
  7074. 'optional--',
  7075. "//a[contains(@href,'depositfiles') or contains(@href,'dfiles')]"
  7076. );
  7077. }
  7078. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7079. {
  7080. addFileHost(
  7081. "rapidfileshare\\.net/\\w+",
  7082. '<div id="upload-header-bg">',
  7083. '<div style="width:500px;text-align:left;">',
  7084. 'optional--',
  7085. "//a[contains(@href,'rapidfileshare.net/')]"
  7086. );
  7087. }
  7088. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7089. {
  7090. addFileHost(
  7091. "stiahnito\\.sk/",
  7092. '<span class="filesize right">',
  7093. '<ol class="list-purp-2">',
  7094. 'optional--',
  7095. "//a[contains(@href,'stiahnito.sk/')]"
  7096. );
  7097. }
  7098. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7099. {
  7100. addFileHost(
  7101. "rusfolder\\.(?:com|net)",
  7102. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7103. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7104. 'optional--',
  7105. "//a[contains(@href,'rusfolder')]"
  7106. );
  7107. }
  7108. if (GM_getValue("Check_fileover_dot_net_links", false))
  7109. {
  7110. addFileHost(
  7111. "fileover\\.net/\\d+",
  7112. 'id="filesize"',
  7113. 'Not found or deleted|The following file is unavailable',
  7114. 'optional--',
  7115. "//a[contains(@href,'fileover.net/')]"
  7116. );
  7117. }
  7118. if (GM_getValue("Check_catshare_dot_net_links", false))
  7119. {
  7120. addFileHost(
  7121. "catshare\\.net/\\w+",
  7122. '"icon-share',
  7123. 'alert alert-error',
  7124. 'optional--',
  7125. "//a[contains(@href,'catshare.net/')]"
  7126. );
  7127. }
  7128. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7129. {
  7130. addFileHost(
  7131. "anonfiles\\.com/\\w+",
  7132. '"download_button"',
  7133. '<legend><b>404</b>',
  7134. 'optional--',
  7135. "//a[contains(@href,'anonfiles.com')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7139. {
  7140. addFileHost(
  7141. "mixturecloud\\.com/media/\\w+",
  7142. '"btn icon i_globe gray share_150',
  7143. '"s_cross_close"></span> 404:',
  7144. 'optional--',
  7145. "//a[contains(@href,'mixturecloud.com/media/')]"
  7146. );
  7147. }
  7148. if (GM_getValue("Check_akafile_dot_com_links", false))
  7149. {
  7150. addFileHost(
  7151. "akafile\\.com\/\\w+",
  7152. 'download1',
  7153. 'File Not Found',
  7154. 'optional--',
  7155. "//a[contains(@href,'akafile.com/')]"
  7156. );
  7157. }
  7158. if (GM_getValue("Check_creafile_dot_net_links", false))
  7159. {
  7160. addFileHost(
  7161. "creafile\\.net\/\\w+",
  7162. 'downloadblock',
  7163. 'errtitle',
  7164. 'optional--',
  7165. "//a[contains(@href,'creafile.net/')]"
  7166. );
  7167. }
  7168. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7169. {
  7170. addFileHost(
  7171. "hugefiles\\.net\/\\w+",
  7172. 'download1|class="btn-create-download" value="Create Download Link">',
  7173. 'File Not Found|No such file with this filename',
  7174. 'optional--',
  7175. "//a[contains(@href,'hugefiles.net/')]"
  7176. );
  7177. }
  7178. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7179. {
  7180. addFileHost(
  7181. "sendmyway\\.com\/\\w+",
  7182. 'id="btn_download"',
  7183. '500px;text-align:left;"|<center><h3>',
  7184. 'optional--',
  7185. "//a[contains(@href,'sendmyway.com/')]"
  7186. );
  7187. }
  7188. if (GM_getValue("Check_upload_dot_ee_links", false))
  7189. {
  7190. addFileHost(
  7191. "upload\\.ee\/\\w+",
  7192. 'onmouseout="document.dllink.src',
  7193. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7194. 'optional--',
  7195. "//a[contains(@href,'upload.ee/')]"
  7196. );
  7197. }
  7198. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7199. {
  7200. addFileHost(
  7201. "shareplace\\.org\/\\?\\w+",
  7202. 'Download-Link',
  7203. 'Your requested file is not found|Select file to send',
  7204. 'optional--',
  7205. "//a[contains(@href,'shareplace.org/?')]"
  7206. );
  7207. }
  7208. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7209. {
  7210. addFileHost(
  7211. "uploadc\\.com\/\\w+",
  7212. 'id="prebut"',
  7213. 'File Not Found|This file has been removed due',
  7214. 'optional--',
  7215. "//a[contains(@href,'uploadc.com/')]"
  7216. );
  7217. }
  7218. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7219. {
  7220. addFileHost(
  7221. "remixshare\\.com\/\\w+",
  7222. 'id="dl2"',
  7223. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7224. 'optional--',
  7225. "//a[contains(@href,'remixshare.com/')]"
  7226. );
  7227. }
  7228. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7229. {
  7230. addFileHost(
  7231. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7232. 'Last Download :',
  7233. 'img src="\\/404.jpg"',
  7234. 'optional--',
  7235. "//a[contains(@href,'exoshare.com/download.php')]"
  7236. );
  7237. }
  7238. if (GM_getValue("Check_borncash_dot_org_links", false))
  7239. {
  7240. addFileHost(
  7241. "borncash\\.org\/download\/\\?a=\\w+",
  7242. 'class="knop_1"',
  7243. '\/error\/er00',
  7244. 'optional--',
  7245. "//a[contains(@href,'borncash.org/download/')]"
  7246. );
  7247. }
  7248. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7249. {
  7250. addFileHost(
  7251. "vidplay\.net\/\\w+",
  7252. 'solvemedia puzzle widget',
  7253. 'File not found|AVOID_IE_BUG',
  7254. 'optional--',
  7255. "//a[contains(@href,'vidplay.net')]");
  7256. }
  7257. if (GM_getValue("Check_storagon_dot_com_links", false))
  7258. {
  7259. addFileHost(
  7260. "storagon\.com\/\\w+",
  7261. 'class="icon-cloud-download"></i>|content="Download Options',
  7262. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7263. 'optional--',
  7264. "//a[contains(@href,'storagon.com')]");
  7265. }
  7266. if (GM_getValue("Check_filedais_dot_com_links", false))
  7267. {
  7268. addFileHost(
  7269. "filedais\.com\/\\w+",
  7270. 'class="btn btn-info"|name="method_free"',
  7271. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7272. 'optional--',
  7273. "//a[contains(@href,'filedais.com')]");
  7274. }
  7275. if (GM_getValue("Check_ryushare_dot_com_links", false))
  7276. {
  7277. addFileHost(
  7278. "ryushare\.com\/\\w+",
  7279. 'KB|MB',
  7280. '<div style="width:500px;text-align:left;">',
  7281. 'in maintenance mode|Software error:',
  7282. "//a[contains(@href,'ryushare.com')]");
  7283. }
  7284. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7285. {
  7286. addFileHost(
  7287. "up.4share\.vn\/\\w+",
  7288. '<font size="2" face="Verdana">',
  7289. 'font: 13px Tahoma; color: Brown',
  7290. 'optional--',
  7291. //'optional--',
  7292. "//a[contains(@href,'up.4share.vn')]");
  7293. }
  7294. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7295. {
  7296. addFileHost(
  7297. "share.vnn\.vn\/\\w+",
  7298. '"index,follow"|<div class="main" id="download-box">',
  7299. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7300. 'optional--',
  7301. //'optional--',
  7302. "//a[contains(@href,'share.vnn.vn')]");
  7303. }
  7304. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7305. {
  7306. addFileHost(
  7307. "upfile\.vn\/\\w+",
  7308. 'download-timer',
  7309. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7310. 'optional--',
  7311. //'optional--',
  7312. "//a[contains(@href,'upfile.vn')]");
  7313. }
  7314. /* if (GM_getValue("Check_firedrive_dot_com_links", false))
  7315. {
  7316. addFileHost(
  7317. "firedrive\\.com\/file\/\\w{16}",
  7318. 'as Free User|<a class="continue"|Continue to file|#feedback_btn|application file_standalone',
  7319. 'Welcome to PutLocker|<div class="sad_face_image">|404:',
  7320. 'undergoing scheduled maintenance',
  7321. "//a[contains(@href,'firedrive.com/file')]"
  7322. );
  7323. } */
  7324. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. "aisfile\.com\/\\w+",
  7328. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7329. '<div style="width:500px;text-align:left;">|File Not Found',
  7330. 'optional--',
  7331. //'optional--',
  7332. "//a[contains(@href,'aisfile.com')]");
  7333. }
  7334. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7335. {
  7336. addFileHost(
  7337. "usersfiles\.com\/\\w+",
  7338. 'class="btn btn-success|id="btn_download" class="btn"',
  7339. '<div style="width:500px;text-align:left;">',
  7340. 'optional--',
  7341. //'optional--',
  7342. "//a[contains(@href,'usersfiles.com')]");
  7343. }
  7344. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7345. {
  7346. addFileHost(
  7347. "pan.baidu\.com\/\\w+",
  7348. 'target="_blank" title=|share-personal-info',
  7349. 'share_notfound.png|background:#f9f9f9',
  7350. 'optional--',
  7351. //'optional--',
  7352. "//a[contains(@href,'pan.baidu.com')]");
  7353. }
  7354. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7355. {
  7356. addFileHost(
  7357. "yunpan\.cn\/\\w+",
  7358. 'class="icon icon-download',
  7359. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7360. 'optional--',
  7361. //'optional--',
  7362. "//a[contains(@href,'yunpan.cn')]");
  7363. }
  7364. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7365. {
  7366. addFileHost(
  7367. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7368. 'getElementById("downbild")|style.display',
  7369. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7370. 'optional--',
  7371. //'optional--',
  7372. "//a[contains(@href,'file-upload.net')]");
  7373. }
  7374. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7375. {
  7376. addFileHost(
  7377. "gulfup\.com\/",
  7378. '<!-- Downlod template -->|download.gif',
  7379. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7380. 'optional--',
  7381. //'optional--',
  7382. "//a[contains(@href,'gulfup.com')]");
  7383. }
  7384. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7385. {
  7386. addFileHost(
  7387. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7388. 'dldtable">',
  7389. 'does not exist\\.',
  7390. 'optional--',
  7391. //'optional--',
  7392. "//a[contains(@href,'datafilehost.com')]");
  7393. }
  7394. if (GM_getValue("Check_box_dot_com_links", false))
  7395. {
  7396. addFileHost(
  7397. "box\.com\/\\w+",
  7398. 'download-file-btn|id="download_button',
  7399. 'BIyMin.png| <div class="error_message|link has been removed',
  7400. 'optional--',
  7401. //'optional--',
  7402. "//a[contains(@href,'app.box.com')]");
  7403. }
  7404. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7405. {
  7406. addFileHost(
  7407. "dropbox\.com\/s\/\\w+",
  7408. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7409. '>Nothing Here<|>Error (404)<',
  7410. 'title>Dropbox - 509|Error (403)|Error: 429',
  7411. "//a[contains(@href,'dropbox.com')]");
  7412. }
  7413. if (GM_getValue("Check_box_dot_net_links", false))
  7414. {
  7415. addFileHost(
  7416. "box\.net\/\\w+",
  7417. 'download-file-btn|id="download_button',
  7418. 'BIyMin.png| <div class="error_message',
  7419. 'optional--',
  7420. //'optional--',
  7421. "//a[contains(@href,'box.net')]");
  7422. }
  7423. if (GM_getValue("Check_fileband_dot_com_links", false))
  7424. {
  7425. addFileHost(
  7426. "fileband\.com\/\\w+",
  7427. 'value="download1">|name="id" value=',
  7428. '<div style="width:500px;text-align:left;">|not be found',
  7429. 'optional--',
  7430. //'optional--',
  7431. "//a[contains(@href,'fileband.com')]");
  7432. }
  7433. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  7434. {
  7435. addFileHost(
  7436. "uploadrocket\.net\/\\w+",
  7437. '<font style="font-size:12px;">|<h2>Download File|method_isfree',
  7438. 'font style="color:#d33;|File Not Found',
  7439. 'optional--',
  7440. //'optional--',
  7441. "//a[contains(@href,'uploadrocket.net')]");
  7442. }
  7443. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7444. {
  7445. addFileHost(
  7446. "filedropper\.com\/\\w+",
  7447. 'background:#ddd;|width:985px; ',
  7448. 'background-color:#FFFFFF;|margin-left: -400px;',
  7449. 'optional--',
  7450. //'optional--',
  7451. "//a[contains(@href,'filedropper.com')]");
  7452. }
  7453. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7454. {
  7455. addFileHost(
  7456. "tropicshare\\.com\/files\/\\d+",
  7457. 'MB</span>|GB</span>|KB</span>',
  7458. '>FNF<|size: </span>',
  7459. 'optional--',
  7460. //'optional--',
  7461. "//a[contains(@href,'tropicshare.com')]");
  7462. }
  7463. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  7464. {
  7465. addFileHost(
  7466. "goldbytez\.com\/\\w+",
  7467. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  7468. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  7469. 'optional--',
  7470. //'optional--',
  7471. "//a[contains(@href,'goldbytez.com')]");
  7472. }
  7473. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7474. {
  7475. addFileHost(
  7476. "worldbytez\.com\/\\w+",
  7477. '<div class="download_type">',
  7478. '<div style="width:500px;text-align:left;">',
  7479. 'optional--',
  7480. //'optional--',
  7481. "//a[contains(@href,'worldbytez.com')]");
  7482. }
  7483. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7484. {
  7485. addFileHost(
  7486. "freefilehosting\.net\/\\w+",
  7487. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7488. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7489. 'optional--',
  7490. //'optional--',
  7491. "//a[contains(@href,'freefilehosting.net')]");
  7492. }
  7493. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7494. {
  7495. addFileHost(
  7496. "ziddu\.com\/\\w+",
  7497. 'downloads.ziddu.com|downloadfilelinkicon',
  7498. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7499. 'optional--',
  7500. //'optional--',
  7501. "//a[contains(@href,'ziddu.com')]");
  7502. }
  7503. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7504. {
  7505. addFileHost(
  7506. "exclusiveloader\.com\/\\w+",
  7507. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7508. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7509. 'optional--',
  7510. //'optional--',
  7511. "//a[contains(@href,'exclusiveloader.com')]");
  7512. }
  7513. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7514. {
  7515. addFileHost(
  7516. "sharerapid\.cz\/\\w+",
  7517. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7518. 'error_div">|404 - Not Found',
  7519. 'optional--',
  7520. //'optional--',
  7521. "//a[contains(@href,'sharerapid.cz')]");
  7522. }
  7523. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7524. {
  7525. addFileHost(
  7526. "sdilej\.cz\/\\w+",
  7527. 'class="page-download"',
  7528. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7529. 'optional--',
  7530. //'optional--',
  7531. "//a[contains(@href,'sdilej.cz')]");
  7532. }
  7533. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7534. {
  7535. addFileHost(
  7536. "lafiles\.com\/\\w+",
  7537. '<div id="pay_modes">',
  7538. '<b class="err"></b>',
  7539. 'optional--',
  7540. //'optional--',
  7541. "//a[contains(@href,'lafiles.com')]");
  7542. }
  7543. if (GM_getValue("Check_fboom_dot_me_links", false))
  7544. {
  7545. addFileHost(
  7546. "fboom\.me\/file\/\\w+",
  7547. 'id="download-free" href="#"',
  7548. 'class="error-v1-title">404<|File not found or deleted',
  7549. 'optional--',
  7550. //'optional--',
  7551. "//a[contains(@href,'fboom.me')]");
  7552. }
  7553. if (GM_getValue("Check_fileboom_dot_me_links", false))
  7554. {
  7555. addFileHost(
  7556. "fileboom\.me\/file\/\\w+",
  7557. 'id="download-free" href="#"',
  7558. 'class="error-v1-title">404<|File not found or deleted',
  7559. 'optional--',
  7560. //'optional--',
  7561. "//a[contains(@href,'fileboom.me')]");
  7562. }
  7563. if (GM_getValue("Check_acefile_dot_net_links", false))
  7564. {
  7565. addFileHost(
  7566. "acefile\.net\/\\w+",
  7567. 'align=right nowrap><b>',
  7568. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7569. 'optional--',
  7570. //'optional--',
  7571. "//a[contains(@href,'acefile.net')]");
  7572. }
  7573. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7574. {
  7575. addFileHost(
  7576. "megarapid\.cz\/\\w+",
  7577. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7578. 'error_div">|404 - Not Found',
  7579. 'optional--',
  7580. //'optional--',
  7581. "//a[contains(@href,'megarapid.cz')]");
  7582. }
  7583. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7584. {
  7585. addFileHost(
  7586. "yadi\.sk\/\\w+",
  7587. 'twitter:site|View and download',
  7588. 'error code|Nothing found',
  7589. 'optional--',
  7590. //'optional--',
  7591. "//a[contains(@href,'yadi.sk')]");
  7592. }
  7593. if (GM_getValue("Check_imdb_dot_com_links", false))
  7594. {
  7595. addFileHost(
  7596. "imdb\.com\/\\w+",
  7597. 'imdb.com',
  7598. '404 Error',
  7599. 'optional--',
  7600. "//a[contains(@href,'imdb.com')]");
  7601. }
  7602. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7603. {
  7604. addFileHost(
  7605. "hitfile\.net\/\\w+",
  7606. 'class="download-file',
  7607. 'style="width:16px;height:16px;border:0;|File not found|Файл не найден. Возможно он был удален',
  7608. 'optional--',
  7609. //'optional--',
  7610. "//a[contains(@href,'hitfile.net')]");
  7611. }
  7612. /* if (GM_getValue("Check_uploadto_dot_us_links", false))
  7613. {
  7614. addFileHost(
  7615. "uploadto\\.us\/file\/details\/[\\w+-]",
  7616. 'name="recaptcha_response',
  7617. '="/folder/add"|>File (?:not found|restricted|has been deleted)|<title>UPLOADTO.US</title>',
  7618. 'btn-large btn-danger">|Account limitation notice|502 Bad Gateway',
  7619. "//a[contains(@href,'uploadto.us/file')]",
  7620. true);
  7621. } */
  7622. if (GM_getValue("Check_nitroflare_dot_com_links", true))
  7623. {
  7624. addFileHost(
  7625. "nitroflare\.com\/\\w+",
  7626. 'alert.png|LowSpeedMeter.png',
  7627. 'file has been removed|id="error" style="display|Probably deleted',
  7628. 'optional--',
  7629. "//a[contains(@href,'nitroflare.com')]");
  7630. }
  7631. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7632. {
  7633. addFileHost(
  7634. "up.top4top\.net\/\\w+",
  7635. 'start Downlod template',
  7636. 'start err template',
  7637. 'optional--',
  7638. "//a[contains(@href,'up.top4top.net')]");
  7639. }
  7640. if (GM_getValue("Check_filejoker_dot_net_links", false))
  7641. {
  7642. addFileHost(
  7643. "filejoker\.net\/\\w+",
  7644. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">',
  7645. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  7646. 'optional--',
  7647. "//a[contains(@href,'filejoker.net')]");
  7648. }
  7649. if (GM_getValue("Check_free_dot_fr_links", false))
  7650. {
  7651. addFileHost(
  7652. "(?:dl.\\.|)free\\.fr",
  7653. 'Valider et t&eacute;l&eacute',
  7654. 'Fichier inexistant',
  7655. 'optional--',
  7656. "//a[contains(@href,'free.fr')]");
  7657. }
  7658. if (GM_getValue("Check_gboxes_dot_com_links", false))
  7659. {
  7660. addFileHost(
  7661. "gboxes\.com\/\\w+",
  7662. 'You have requested|color="red">http://www.gboxes.com',
  7663. 'File Not Found|<div style="width:500px;text-align:left;">',
  7664. 'optional--',
  7665. "//a[contains(@href,'gboxes.com')]");
  7666. }
  7667. if (GM_getValue("Check_1fichier_dot_com_links", false))
  7668. {
  7669. addFileHost(
  7670. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  7671. '<title>Download</title>|<br/>You must wait|submit" value="Download',
  7672. 'File not found|file could not be found|Select files to send',
  7673. 'optional--',
  7674. "//a[contains(@href,'1fichier') or contains(@href,'dl4free.com/')]"
  7675. );
  7676. }
  7677. if (GM_getValue("Check_led_dot_wf_links", false))
  7678. {
  7679. addFileHost(
  7680. "led\.wf\/\\w+",
  7681. 'logo_0.png|downloads.gif"',
  7682. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7683. 'optional--',
  7684. "//a[contains(@href,'led.wf')]");
  7685. }
  7686. if (GM_getValue("Check_lan_dot_wf_links", false))
  7687. {
  7688. addFileHost(
  7689. "lan\.wf\/\\w+",
  7690. 'logo_0.png|downloads.gif"',
  7691. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7692. 'optional--',
  7693. "//a[contains(@href,'lan.wf')]");
  7694. }
  7695. if (GM_getValue("Check_adlink_dot_wf_links", false))
  7696. {
  7697. addFileHost(
  7698. "adlink\.wf\/\\w+",
  7699. 'logo_0.png|downloads.gif"',
  7700. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7701. 'optional--',
  7702. "//a[contains(@href,'adlink.wf')]");
  7703. }
  7704. if (GM_getValue("Check_click_dot_tf_links", false))
  7705. {
  7706. addFileHost(
  7707. "click\.tf\/\\w+",
  7708. 'logo_0.png|downloads.gif"',
  7709. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7710. 'optional--',
  7711. "//a[contains(@href,'click.tf')]");
  7712. }
  7713. if (GM_getValue("Check_ssh_dot_tf_links", false))
  7714. {
  7715. addFileHost(
  7716. "ssh\.tf\/\\w+",
  7717. 'logo_0.png|downloads.gif"',
  7718. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7719. 'optional--',
  7720. "//a[contains(@href,'ssh.tf')]");
  7721. }
  7722. if (GM_getValue("Check_ssh_dot_yt_links", false))
  7723. {
  7724. addFileHost(
  7725. "ssh\.yt\/\\w+",
  7726. 'logo_0.png|downloads.gif"',
  7727. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7728. 'optional--',
  7729. "//a[contains(@href,'ssh.yt')]");
  7730. }
  7731. if (GM_getValue("Check_yep_dot_pm_links", false))
  7732. {
  7733. addFileHost(
  7734. "yep\.pm\/\\w+",
  7735. 'logo_0.png|downloads.gif"',
  7736. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7737. 'optional--',
  7738. "//a[contains(@href,'yep.pm')]");
  7739. }
  7740. if (GM_getValue("Check_kyc_dot_pm_links", false))
  7741. {
  7742. addFileHost(
  7743. "kyc\.pm\/\\w+",
  7744. 'logo_0.png|downloads.gif"',
  7745. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link',
  7746. 'optional--',
  7747. "//a[contains(@href,'kyc.pm')]");
  7748. }
  7749. if (GM_getValue("Check_brupload_dot_net_links", false))
  7750. {
  7751. addFileHost(
  7752. "brupload\.net\/\\w+",
  7753. 'Download Gratuito',
  7754. '<div style="width:500px;text-align:left;">',
  7755. 'optional--',
  7756. //'optional--',
  7757. "//a[contains(@href,'brupload.net')]");
  7758. }
  7759. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  7760. {
  7761. addFileHost(
  7762. "cloudzilla\.to\/\\w+",
  7763. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  7764. 'File not found|/imgs/broken.png',
  7765. 'optional--',
  7766. //'optional--',
  7767. "//a[contains(@href,'cloudzilla.to')]");
  7768. }
  7769. if (GM_getValue("Check_fileparadox_dot_in_links", false))
  7770. {
  7771. addFileHost(
  7772. "fileparadox\.in\/\\w+",
  7773. 'CONTENT="Download File|method_free_file',
  7774. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND',
  7775. 'optional--',
  7776. //'optional--',
  7777. "//a[contains(@href,'fileparadox.in')]");
  7778. }
  7779. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  7780. {
  7781. addFileHost(
  7782. "clicknupload\.com\/\\w+",
  7783. 'name="method_free',
  7784. 'File Not Found',
  7785. 'optional--',
  7786. //'optional--',
  7787. "//a[contains(@href,'clicknupload.com')]");
  7788. }
  7789. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  7790. {
  7791. addFileHost(
  7792. "ex-load\.com\/\\w+",
  7793. 'name="method_free|<p>Download File:</p>',
  7794. 'Folder Not Found|File Not Found|Error 404',
  7795. 'optional--',
  7796. //'optional--',
  7797. "//a[contains(@href,'ex-load.com')]");
  7798. }
  7799. if (GM_getValue("Check_hexupload_dot_com_links", false))
  7800. {
  7801. addFileHost(
  7802. "hexupload\.com\/\\w+",
  7803. 'button" value="Free|type="submit" value=""',
  7804. 'File Not Found|<div style="width:500px;text-align:left;">',
  7805. 'optional--',
  7806. //'optional--',
  7807. "//a[contains(@href,'hexupload.com')]");
  7808. }
  7809. if (GM_getValue("Check_wizupload_dot_com_links", false))
  7810. {
  7811. addFileHost(
  7812. "wizupload\.com\/\\w+",
  7813. 'btn_download|class="downloadbtn"',
  7814. '>File Not Found<',
  7815. 'optional--',
  7816. //'optional--',
  7817. "//a[contains(@href,'wizupload.com')]");
  7818. }
  7819. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  7820. {
  7821. addFileHost(
  7822. "filecloud\.cc\/\\w+",
  7823. 'align="center"><input type="submit" name=',
  7824. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  7825. 'optional--',
  7826. //'optional--',
  7827. "//a[contains(@href,'filecloud.cc')]");
  7828. }
  7829. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  7830. {
  7831. addFileHost(
  7832. "inclouddrive\.com\/\\w+",
  7833. 'initfreedownload',
  7834. '<title>Content Unavailable|The file you are trying to download is no longer available',
  7835. 'optional--',
  7836. //'optional--',
  7837. "//a[contains(@href,'inclouddrive.com')]");
  7838. }
  7839. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "radicalshare\.com\/\\w+",
  7843. 'value="download1|name="method_free"',
  7844. 'File Not Found<|<div style="width:500px;text-align:left;">',
  7845. 'optional--',
  7846. //'optional--',
  7847. "//a[contains(@href,'radicalshare.com')]");
  7848. }
  7849. if (GM_getValue("Check_sharemods_dot_com_links", false))
  7850. {
  7851. addFileHost(
  7852. "sharemods\.com\/\\w+",
  7853. 'name="method_free"',
  7854. 'File Not Found<',
  7855. 'optional--',
  7856. //'optional--',
  7857. "//a[contains(@href,'sharemods.com')]");
  7858. }
  7859. if (GM_getValue("Check_hostr_dot_co_links", false))
  7860. {
  7861. addFileHost(
  7862. "hostr\.co\/\\w+",
  7863. 'method="get"',
  7864. 'File not found<|error-page',
  7865. 'optional--',
  7866. //'optional--',
  7867. "//a[contains(@href,'hostr.co')]");
  7868. }
  7869. if (GM_getValue("Check_filepi_dot_com_links", false))
  7870. {
  7871. addFileHost(
  7872. "filepi\.com\/\\w+",
  7873. 'id="button_start">',
  7874. 'File not found',
  7875. 'optional--',
  7876. //'optional--',
  7877. "//a[contains(@href,'filepi.com')]");
  7878. }
  7879. if (GM_getValue("Check_tikfile_dot_com_links", false))
  7880. {
  7881. addFileHost(
  7882. "tikfile\.com\/\\w+",
  7883. 'btn_download',
  7884. 'File Not Found|file was removed|Reason for deletion',
  7885. 'optional--',
  7886. //'optional--',
  7887. "//a[contains(@href,'tikfile.com')]");
  7888. }
  7889. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  7890. {
  7891. addFileHost(
  7892. "cloudsix\.me\/\\w+",
  7893. 'name="method_free"',
  7894. 'File Not Found|width:500px;text-align:left;">',
  7895. 'optional--',
  7896. //'optional--',
  7897. "//a[contains(@href,'cloudsix.me')]");
  7898. }
  7899. if (GM_getValue("Check_neodrive_dot_co_links", false))
  7900. {
  7901. addFileHost(
  7902. "neodrive\.co\/\\w+",
  7903. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  7904. 'File not found|/imgs/broken.png',
  7905. 'optional--',
  7906. //'optional--',
  7907. "//a[contains(@href,'neodrive.co')]");
  7908. }
  7909. if (GM_getValue("Check_chayfile_dot_com_links", false))
  7910. {
  7911. addFileHost(
  7912. "chayfile\.com\/\\w+",
  7913. 'name="method_free"',
  7914. 'File Not Found|<h3>The file was removed by administrator</h3>',
  7915. 'optional--',
  7916. //'optional--',
  7917. "//a[contains(@href,'chayfile.com')]");
  7918. }
  7919. if (GM_getValue("Check_xfileload_dot_com_links", false))
  7920. {
  7921. addFileHost(
  7922. "xfileload\.com\/\\w+",
  7923. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  7924. '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..|הקובץ שחיפשת לא נמצא.',
  7925. 'optional--',
  7926. //'optional--',
  7927. "//a[contains(@href,'xfileload.com')]");
  7928. }
  7929. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  7930. {
  7931. addFileHost(
  7932. "rockfile\.eu\/\\w+",
  7933. 'You have requested:',
  7934. 'The file you were looking for could not be found, sorry for any inconvenience.',
  7935. 'optional--',
  7936. //'optional--',
  7937. "//a[contains(@href,'rockfile.eu')]");
  7938. }
  7939. if (GM_getValue("Check_24uploading_dot_com_links", false))
  7940. {
  7941. addFileHost(
  7942. "24uploading\.com\/\\w+",
  7943. 'File:|Download Speed:',
  7944. '<b>File Not Found</b>|file was removed',
  7945. 'optional--',
  7946. //'optional--',
  7947. "//a[contains(@href,'24uploading.com')]");
  7948. }
  7949. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  7950. {
  7951. addFileHost(
  7952. "tusfiles\.net\/\\w+",
  7953. 'i/icon/dll.png"|>Start download<br',
  7954. 'no longer available<|i/ino.png"',
  7955. 'optional--',
  7956. //'optional--',
  7957. "//a[contains(@href,'tusfiles.net')]");
  7958. }
  7959. if (GM_getValue("Check_2drive_dot_net_links", false))
  7960. {
  7961. addFileHost(
  7962. "2drive\.net\/\\w+",
  7963. 'value="Free Download"',
  7964. 'File Not Found',
  7965. 'optional--',
  7966. //'optional--',
  7967. "//a[contains(@href,'2drive.net')]");
  7968. }
  7969. if (GM_getValue("Check_jumbofile_dot_net_links", false))
  7970. {
  7971. addFileHost(
  7972. "jumbofile\.net\/\\w+",
  7973. 'button" class="" value="Free',
  7974. 'This File Was Deleted',
  7975. 'optional--',
  7976. //'optional--',
  7977. "//a[contains(@href,'jumbofile.net')]");
  7978. }
  7979. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  7980. {
  7981. addFileHost(
  7982. "ozofiles\.com\/\\w+",
  7983. 'button" value="Free',
  7984. 'File Not Found|width:500px;text-align:left;">',
  7985. 'optional--',
  7986. //'optional--',
  7987. "//a[contains(@href,'ozofiles.com')]");
  7988. }
  7989. if (GM_getValue("Check_loudupload_dot_net_links", false))
  7990. {
  7991. addFileHost(
  7992. "loudupload\.net\/\\w+",
  7993. 'value="Get Links',
  7994. 'File Not Found',
  7995. 'optional--',
  7996. //'optional--',
  7997. "//a[contains(@href,'loudupload.net')]");
  7998. }
  7999. if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8000. {
  8001. addFileHost(
  8002. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8003. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8004. '>File Not Found<|id="no_filedownload">|>FILE NOT FOUND<|file has been deleted|No such file with this filename',
  8005. 'optional--',
  8006. //'optional--',
  8007. "//a[contains(@href,'rapidsonic') or contains(@href,'fileparadox.com')]");
  8008. }
  8009. if (GM_getValue("Check_krotix_dot_net_links", false))
  8010. {
  8011. addFileHost(
  8012. "krotix\.net\/\\w+",
  8013. 'btn btn-warning|btn-free',
  8014. 'pageErrors|This File has been removed',
  8015. 'content="Scheduled Maintenance',
  8016. //'optional--',
  8017. "//a[contains(@href,'krotix.net')]");
  8018. }
  8019. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8020. {
  8021. addFileHost(
  8022. "userscloud\.com\/\\w+",
  8023. 'btn_download',
  8024. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">',
  8025. 'optional--',
  8026. //'optional--',
  8027. "//a[contains(@href,'userscloud.com')]");
  8028. }
  8029. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8030. {
  8031. addFileHost(
  8032. "kumpulbagi\.com\/\\w+",
  8033. 'class="button download',
  8034. 'internal server error',
  8035. 'optional--',
  8036. //'optional--',
  8037. "//a[contains(@href,'kumpulbagi.com')]");
  8038. }
  8039. if (GM_getValue("Check_faststore_dot_org_links", false))
  8040. {
  8041. addFileHost(
  8042. "faststore\.org\/\\w+",
  8043. 'name="method_free',
  8044. 'File Not Found',
  8045. 'optional--',
  8046. //'optional--',
  8047. "//a[contains(@href,'faststore.org')]");
  8048. }
  8049. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8050. {
  8051. addFileHost(
  8052. "prefiles\.com\/\\w+",
  8053. 'id="method_free',
  8054. 'File not Found',
  8055. 'optional--',
  8056. //'optional--',
  8057. "//a[contains(@href,'prefiles.com')]");
  8058. }
  8059. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8060. {
  8061. addFileHost(
  8062. "doraupload\.com\/\\w+",
  8063. 'btn_download',
  8064. 'class="error-code|Could Not Be Found',
  8065. 'optional--',
  8066. //'optional--',
  8067. "//a[contains(@href,'doraupload.com')]");
  8068. }
  8069. if (GM_getValue("Check_openload_dot_io_links", false))
  8070. {
  8071. addFileHost(
  8072. "openload\.io\/\\w+",
  8073. 'btn btn-primary|class="count">',
  8074. 'class="jumbotron">|We are sorry',
  8075. 'optional--',
  8076. //'optional--',
  8077. "//a[contains(@href,'openload.io')]");
  8078. }
  8079. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8080. {
  8081. addFileHost(
  8082. "uploads\.xxx\/\\w+",
  8083. 'downoadForFree',
  8084. 'File not found',
  8085. 'optional--',
  8086. //'optional--',
  8087. "//a[contains(@href,'uploads.xxx')]");
  8088. }
  8089. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8090. {
  8091. addFileHost(
  8092. "zxcfiles\.com\/\\w+",
  8093. 'class="downloadbtn',
  8094. 'File Not Found',
  8095. 'optional--',
  8096. //'optional--',
  8097. "//a[contains(@href,'zxcfiles.com')]");
  8098. }
  8099. if (GM_getValue("Check_up07_dot_net_links", false))
  8100. {
  8101. addFileHost(
  8102. "up07\.net\/\\w+",
  8103. 'name="method_free',
  8104. 'File Not Found',
  8105. 'optional--',
  8106. //'optional--',
  8107. "//a[contains(@href,'up07.net')]");
  8108. }
  8109. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8110. {
  8111. addFileHost(
  8112. "fileupload\.pw\/\\w+",
  8113. 'value="Free"',
  8114. 'File Not Found',
  8115. 'optional--',
  8116. //'optional--',
  8117. "//a[contains(@href,'fileupload.pw')]");
  8118. }
  8119. if (GM_getValue("Check_4upld_dot_com_links", false))
  8120. {
  8121. addFileHost(
  8122. "4upld\.com\/\\w+",
  8123. 'alt="Download Now"|content="Download file">|btn-free-element',
  8124. '<title>Error|content="error|File not found',
  8125. 'optional--',
  8126. //'optional--',
  8127. "//a[contains(@href,'4upld.com')]");
  8128. }
  8129. if (GM_getValue("Check_newfileland_dot_com_links", false))
  8130. {
  8131. addFileHost(
  8132. "newfileland\.com\/\\w+",
  8133. 'name="method_free',
  8134. 'File Not Found',
  8135. 'optional--',
  8136. //'optional--',
  8137. "//a[contains(@href,'newfileland.com')]");
  8138. }
  8139.  
  8140. }
  8141. //start here
  8142.  
  8143. //hosts with direct download, so they must be requested for headers only
  8144. function initFileHostsHeadersOnly()
  8145. {
  8146. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8147. {
  8148. var host = new Array(5);
  8149. host[0] = linkRegex;
  8150. host[1] = isAliveRegex;
  8151. host[2] = isDeadRegex;
  8152. host[3] = xpathEx;
  8153. host[4] = ispremRegex;
  8154. http_file_hosts_headers_only.push(host);
  8155. }
  8156. if (GM_getValue("Check_uloziste_dot_com_links", false))
  8157. {
  8158. addFileHostHeadersOnly(
  8159. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  8160. 'Connection: Keep-Alive',
  8161. 'Content-Length: 3857',
  8162. "//a[contains(@href,'uloziste.com')]"
  8163. )
  8164. }
  8165. if (GM_getValue("Check_adrive_dot_com_links", false))
  8166. {
  8167. addFileHostHeadersOnly(
  8168. "adrive\\.com\/public\/\\w+",
  8169. 'Connection: keep-alive',
  8170. 'orig_ref=deleted',
  8171. "//a[contains(@href,'adrive.com')]"
  8172. )
  8173. }
  8174. if (GM_getValue("Check_myupload_dot_dk_links", false))
  8175. {
  8176. addFileHostHeadersOnly(
  8177. "myupload\\.dk\/showfile\/\\w+",
  8178. 'Expires:',
  8179. 'squeeze1\\s+Vary',
  8180. "//a[contains(@href,'myupload.dk/showfile')]"
  8181. )
  8182. }
  8183. }
  8184. //CustomRules
  8185. //functions add...Host copied here
  8186. function addObsoleteHost(linkRegex, xpathEx)
  8187. {
  8188. var host = new Array(2);
  8189. host[0] = linkRegex;
  8190. host[1] = xpathEx;
  8191. http_file_hosts_obsolete.push(host);
  8192. }
  8193. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  8194. {
  8195. var host = new Array(7);
  8196. host[0] = linkRegex;
  8197. host[1] = isAliveRegex;
  8198. host[2] = isDeadRegex;
  8199. host[3] = isUnavaRegex;
  8200. host[4] = xpathEx;
  8201. tryLoop ? host[5] = true : host[5] = false;
  8202. host[6] = ispremRegex;
  8203. http_file_hosts.push(host);
  8204. }
  8205. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  8206. {
  8207. var host = new Array(5);
  8208. host[0] = linkRegex;
  8209. host[1] = isAliveRegex;
  8210. host[2] = isDeadRegex;
  8211. host[3] = xpathEx;
  8212. host[4] = ispremRegex;
  8213. http_file_hosts_headers_only.push(host);
  8214. }
  8215. //takes a fully built rules array and adds the rules to WARLC
  8216. function applyCustomRules(customRules)
  8217. {
  8218. if (!customRules) return;
  8219. var rules, r, i;
  8220. rules = customRules.rules;
  8221. for (i = 0 ; i < rules.length ; i++)
  8222. {
  8223. r = rules[i];
  8224. if (r.enabled)
  8225. {
  8226. switch (r.type)
  8227. {
  8228. case 'single':
  8229. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  8230. break;
  8231. case 'headers':
  8232. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  8233. break;
  8234. case 'obsolete':
  8235. addObsoleteHost(r.urlregex, r.xpath)
  8236. break;
  8237. }
  8238. }
  8239. }
  8240. }
  8241.  
  8242.  
  8243. function initFileHostsCustom()
  8244. {
  8245. if (Custom_rules && Custom_rules_text)
  8246. {
  8247. var msg = '';
  8248. if (newVersion)
  8249. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  8250. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  8251. msg = '60 or more days have passed since this notification.\n\n';
  8252. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  8253. {
  8254. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  8255. msg +=
  8256. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  8257. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  8258. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  8259. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  8260. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  8261. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  8262. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  8263. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  8264. setTimeout(function(){alert(msg)},0);
  8265. }
  8266. var customRules = parseCustomRules(Custom_rules_text);
  8267. if (customRules.warning || customRules.error)
  8268. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  8269. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  8270. JSON.stringify(customRules.info, null, ' '));
  8271. applyCustomRules(customRules);
  8272. }
  8273. }
  8274. //end of CustomRules processing
  8275.  
  8276.  
  8277.  
  8278. } //end of function start
  8279.  
  8280.  
  8281.  
  8282. function initClipBoardTools()
  8283. {
  8284. unsafeWindow.copyToClipboard = function(text)
  8285. {
  8286. try
  8287. {
  8288. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  8289.  
  8290. var str = Components.classes["@mozilla.org/supports-string;1"].
  8291. createInstance(Components.interfaces.nsISupportsString);
  8292. if (!str) return false;
  8293.  
  8294. str.data = text;
  8295.  
  8296. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  8297. createInstance(Components.interfaces.nsITransferable);
  8298. if (!trans) return false;
  8299.  
  8300. trans.addDataFlavor("text/unicode");
  8301. trans.setTransferData("text/unicode", str, text.length * 2);
  8302.  
  8303. var clipid = Components.interfaces.nsIClipboard;
  8304. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  8305. if (!clip) return false;
  8306.  
  8307. clip.setData(trans, null, clipid.kGlobalClipboard);
  8308. } catch (e) {
  8309. GM_log("Error copyToClipboard : " + e);
  8310. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  8311. }
  8312. }
  8313. }
  8314.  
  8315.  
  8316.  
  8317. //CustomRules
  8318.  
  8319. function escapeRegex(str)
  8320. {
  8321. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  8322. }
  8323.  
  8324.  
  8325. //called internally from parseCustomRules.
  8326. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  8327. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  8328. function makeCustomRule(rule)
  8329. {
  8330. function makeMatchRegex(arrmatch)
  8331. {
  8332. return escapeRegex(arrmatch.join('\n'))
  8333. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  8334. .replace(/\n/g,'|'); //join together
  8335. }
  8336. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  8337. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  8338. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  8339. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  8340. if (rule.baseurl)
  8341. {
  8342. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  8343. for (i = 0 ; i < len ; i++)
  8344. {
  8345. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  8346. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  8347. {
  8348. 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'])
  8349. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  8350. }
  8351. else //baseurl in the form: example.com/xxx
  8352. {
  8353. xpath.push(m[0]);
  8354. urlregex.push(escapeRegex(m[0]) + '.');
  8355. }
  8356. }
  8357. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  8358. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  8359. }
  8360. return rule;
  8361. } //function makeCustomRule
  8362.  
  8363.  
  8364. /*
  8365. Takes a string containing custom link checking rules.
  8366. Returns an object with fields:
  8367. info - contains notes, warnings and errors found during parsing
  8368. rules - the array of custom rules
  8369. note, warning, error - number of each of them found during parsing
  8370. Format of the input string:
  8371. One command per line. Command format: @keyword parameter
  8372. Keywords:
  8373. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  8374. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  8375. These keywords can be multiple (any of them will work):
  8376. @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...)
  8377. @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+
  8378. @alivelink, @deadlink - example links
  8379. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  8380. Lines starting with // and empty lines are ignored.
  8381. Invalid parameters generate errors and those lines are skipped.
  8382. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  8383. Example:
  8384. @customrule filehost
  8385. @baseurl filehost.com/download/
  8386. @baseurl filehost2. com net /d?=
  8387. @alivematch id="download">
  8388. @deadmatch File not found
  8389. @deadmatch File deleted
  8390. */
  8391. function parseCustomRules(rulesStr)
  8392. {
  8393. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  8394. function addInfo(type, msg, ln){
  8395. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  8396. customRules[type]++;
  8397. }
  8398. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  8399. if (!lines) return null;
  8400. lines.push('@#customrule _'); //to save the last rule
  8401. var m, linecount = lines.length;
  8402. var keyword, param, constr, rule, err;
  8403. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  8404. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  8405. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  8406. var constraints = {
  8407. 'baseurl': {
  8408. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  8409. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  8410. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  8411. 'alivematch': {
  8412. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  8413. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  8414. 'deadmatch': {
  8415. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  8416. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  8417. 'unavamatch': {
  8418. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  8419. 'alivelink': {
  8420. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  8421. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  8422. 'deadlink': {
  8423. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  8424. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  8425. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  8426. };
  8427. for (linenum = 0 ; linenum < linecount ; linenum++)
  8428. {
  8429. //capturing groups: 1 23 4 5 6
  8430. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  8431. if (m)
  8432. {
  8433. if (m[1] || !m[2])
  8434. continue; // ignore empty lines and lines starting with //
  8435. keyword = (m[4] || m[2]).toLowerCase();
  8436. param = m[6];
  8437. if (keyword == 'customrule')
  8438. {
  8439. //save the current rule if all required fields are provided
  8440. if (rule)
  8441. {
  8442. err = false;
  8443. $.each(constraints, function(kw, constraint){
  8444. var l, constr = constraint[rule.type];
  8445. if (constr)
  8446. {
  8447. l = rule[kw] ? rule[kw].length : 0;
  8448. if (l < constr.min || l > constr.max)
  8449. {
  8450. 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);
  8451. err = true;
  8452. }
  8453. }
  8454. });
  8455. if (!err)
  8456. customRules.rules.push(makeCustomRule(rule));
  8457. }
  8458. //start a new rule
  8459. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  8460. {
  8461. rule = {
  8462. 'enabled': !m[3],
  8463. 'type': m[5] ? m[5].toLowerCase() : 'single',
  8464. 'name': param
  8465. };
  8466. }
  8467. else
  8468. {
  8469. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  8470. rule = null;
  8471. }
  8472. }
  8473. else //good line format, but keyword other than customrule
  8474. {
  8475. if (!rule)
  8476. {
  8477. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  8478. continue;
  8479. }
  8480. if (constraints[keyword])
  8481. {
  8482. constr = constraints[keyword][rule.type];
  8483. if (constr)
  8484. {
  8485. if (constr.paramRE && !constr.paramRE.test(param))
  8486. {
  8487. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  8488. continue;
  8489. }
  8490. }
  8491. else
  8492. {
  8493. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  8494. continue;
  8495. }
  8496. }
  8497. //line OK, save
  8498. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  8499. }
  8500. } //if (m)
  8501. else
  8502. addInfo('warning', 'Unknown line format. Line skipped.');
  8503. } //for loop
  8504. return customRules;
  8505. } //function parseCustomRules

QingJ © 2025

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