W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-05-12 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name W.A.R. Links Checker Premium
  3. // @description detects live, dead and premium links.
  4. // @details this script automatically checks links from hundreds of filehosts. For Firefox, Chrome, Opera, Safari.
  5. // @namespace premium version
  6. // @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANUAAABGCAYAAABbstFuAAAABGdBTUEAALGPC/xhBQAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94CDgIACp2uztwAACAASURBVHja7X13nBxHne+3e/LMzmzO2iBpJa1W0QpWlpUtyzaSscG2bB8PMBxn8DuO+5BsDjg47t4DjnfAAQabM1iyDRzISchyULKyrOhVTpu0Oc7u5ND9/ujqmeru6tlJK9mfz9Xn05+dnVBVv6r65VAcEjcOmTcRH/72YYaTy2Jf4kdoPfERhBsAYBxlUTgAfBqLJVJ/hQ8xgmUCJw2jmGUY6fF51TzTPVBjvRepzpkbo8Ov3gvxZiMYN8ohM1APn8KmCgCi1CNQGyp+iJCJV8HJpwCnqAOnmCGcenMzqBAfH6K9SGfOY4VUAoVMAuMRx/occozX8mKYAVgAWAGYCFcb7cDRBy1EniD5Gybv32rEouE0EthShVPenAgFowxnNAM46bmZqD0wk8eQJtKP5V7ozdlC/mfN2cSAIZQhdxJVyBQlcMp7FKHgHlPkUot/8sJYAeQAeB7A6jT67QZwP4ARAMMAPAB81KHjbjFiyXDaCJzPAliXRj/bAXyfwDlC4AyQz6IZHE4zmZsTwF4ANRnA2gJgs2ov/FnaC705X0uTq6bTZGTxEfj6AXQAuA6gEcApCmY/ISxhiviN2VmUxT0LgHwA7zCwP52nC8ASAJMAFAOwE0S+VYosRw6AFUABgLeyBOd2AHPI4c8j68inCCdH1sZO1qo5S3OTn2YAi8leFGVpL+T1tAEoJIdU/JA9XQCeBLAIQD2ASnLG7UlKJSk3XvXaDMCRRSpTSjayBICLHDYDAYK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iPqdBF46DtMIKSM4n4LxKUip/2MJW4DiUP1kbh1kroOEmEW4LC+0XGXIAilxKx9S7n8Bea0ueJ+I4wUIlRokiCVzkgg5OC6CWIWkf/mWikTF9EWVXO4m/dL902XIeGoD88hYRVDeiqEu/iEmuU6JNpPOV/NB8p/1qygj61pUNWHLJfNlzTkbhioxhXMxWj80BxqipJIhFbxA/PI8GbHkfZEvrLOoYJTXxQFgJnSqIFHn7wOKY6r1OdkfO0ipJPLlBuFscyoaALrikFylRg6RV18kxgKK9nt5oHTIRhEvOOJAvPqNDaPfUKEWU31Q+qZYBeoNFPWnx7MnOV4qB4ylHwXI3OiCnolupuCoQ5fOGmUbwbgkf0sbumgXAa1TQbUvMow5KhjlqHFetSZy2bhySJcwcCpiuI+st/yEVEhFZ2XQe0LXqBCzjVRqxDIRwC0U9RitJrdAHfwQlFVropSoYyT9WxGvR2ccpW91vGKIGiOsQihapDJQmyjDoq4vng2koudIR2aHoKzck6iOOz1no2rOyazRrUQqWo8NUvujhpcFo1yzj1X3nS5uKn/XRn2ftl4HCJIEqDMhUnOIUvOiEU/momOCVDTQPLTlvPgUFzlKmY3pjeNV/fMpHJZE/YsJYGGNOVZrKKooJP13NNGLy8Ia3YomqPZFoA9rBjBy1HeMFDLRpZ4FFSFXcynWnkQZn4/p4nIqBOBSpFxqqg2wyy1zKkTNVv968Kjl8bFcQ1G1menqMums0a1o6cCbDIxqBKQrzvIUUglQulNYIvaoc7xZizuWCjGXxc28WfDcjDniI4BEN3NPaMSCSq/kVCKewCC4Sc/xo7jY/9P+p2WDuCSy/mVEyP4/pwf2OF7wrI4AAAAASUVORK5CYII=
  7. // @license GPL version 3 or any later version (http://www.gnu.org/copyleft/gpl.html)
  8. // @author mental
  9. // @connect *
  10. // @include http://*
  11. // @include https://*
  12. // @include file:///*
  13. // @grant GM_setValue
  14. // @grant GM_getValue
  15. // @grant GM_xmlhttpRequest
  16. // @grant GM_log
  17. // @grant GM_addStyle
  18. // @grant GM_registerMenuCommand
  19. // @grant GM_getResourceText
  20. // @grant GM_info
  21. // @grant GM_setClipboard
  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://usa.x10host.com/mybb
  26. // @namespace war premium
  27. // @noframes
  28. // @version 1.2.8.1
  29. // ==/UserScript==
  30.  
  31. var War_version = "1.2.8.1 May 11, 2016";
  32.  
  33. //separate alternative domains with "|" char (first name is considered being main)
  34. var allHostNames = [
  35. "1fichier.com|dl4free.com",
  36. "upload.af",
  37. "kingfiles.net",
  38. "myfiles.onl",
  39. "uploadserv.com",
  40. "abelhas.pt",
  41. "filedwon.info",
  42. "jeodrive.com",
  43. "ncrypt.in",
  44. "yandex.com",
  45. "down4files.com",
  46. 'filespace.com',
  47. "uplod.it",
  48. "rapidu.net",
  49. "uploads.ws|upl.me",
  50. "file.up09.com",
  51. "lunaticfiles.com",
  52. "filecad.com",
  53. "filesupload.org",
  54. "gigasize.com",
  55. "bytewhale.com",
  56. "rapidrar.com",
  57. "download.cz.hellshare.com",
  58. "pornfile.cz",
  59. "dinoshare.cz",
  60. "kb.simple-aja.info",
  61. "bitster.cz",
  62. "file-share.top",
  63. "pornoid.cz",
  64. "dailyuploads.net",
  65. "sharehost.eu",
  66. "tezfiles.com",
  67. "devilshare.net",
  68. "alfafile.net",
  69. "openload.co",
  70. "multiup.org",
  71. "uplea.com",
  72. "filenuke.com",
  73. "file.al",
  74. // "inafile.com",
  75. "lolabits.es",
  76. "vidto.me",
  77. "storefiles.co",
  78. "filehost.pw",
  79. "vidspot.net",
  80. "turbobit.ru",
  81. "sharesix.com|sharesix.net",
  82. "movpod.in",
  83. "thefile.me",
  84. "datoteke.com",
  85. "vidzi.tv",
  86. "videoweed.es",
  87. "vodlocker.com",
  88. "nowvideo.sx",
  89. "cloudtime.to",
  90. "thevideo.me",
  91. "vidbull.com",
  92. "allmyvideos.net",
  93. "novamov.com",
  94. "filehoot.com",
  95. "stagevu.com",
  96. "gorillavid.in",
  97. "streamin.to",
  98. "4upld.com|expressleech.com",
  99. "cloudshares.net",
  100. "swoopshare.com",
  101. "2shared.com",
  102. "fileupload.pw",
  103. "zxcfiles.com",
  104. "up07.net",
  105. "4shared.com",
  106. "adrive.com",
  107. "aisfile.com",
  108. "hexupload.com",
  109. "bezvadata.cz",
  110. "xkeepfile.com|Gamesena.com",
  111. "usersfiles.com",
  112. "pan.baidu.com",
  113. "radicalshare.com",
  114. "datei.to",
  115. "daten-hoster.de|filehosting.org|xtraupload.de",
  116. "demo.ovh.eu",
  117. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  118. "divshare.com",
  119. "easy-share.com|crocko.com",
  120. "easybytez.com",
  121. "edisk.cz",
  122. "euroshare.eu",
  123. "file-upload.net",
  124. "yadi.sk",
  125. "wizupload.com",
  126. "fastshare.cz",
  127. "filefactory.com",
  128. "share.vnn.vn",
  129. "yunpan.cn",
  130. "gulfup.com",
  131. "tropicshare.com",
  132. "cloudzilla.to",
  133. "inclouddrive.com",
  134. "fileflyer.com",
  135. "filerio.com|filekeen.com",
  136. "up.4share.vn",
  137. "upfile.vn",
  138. "datafilehost.com",
  139. "fileband.com",
  140. "worldbytez.com",
  141. "files.mail.ru",
  142. "filesflash.com",
  143. "box.com",
  144. "uptobox.com",
  145. "box.net",
  146. "goldbytez.com",
  147. "sdilej.cz",
  148. "ex-load.com",
  149. "filesmonster.com",
  150. "filestore.to",
  151. "hulkload.com",
  152. "filedropper.com",
  153. "free-uploading.com",
  154. "gamefront.com|filefront.com",
  155. "gettyfile.ru",
  156. "gigapeta.com",
  157. "gigasize.com",
  158. "hellshare.com",
  159. "hellspy.com",
  160. "hitfile.net",
  161. "hostuje.net",
  162. "freefilehosting.net",
  163. "free.fr",
  164. "hulkshare.com",
  165. "hyperfileshare.com",
  166. "filecloud.io|ifile.it",
  167. "ifolder.ru",
  168. "jumbofiles.com",
  169. "uploadrocket.net",
  170. "lafiles.com",
  171. "leteckaposta.cz|sharegadget.com",
  172. "letitbit.net",
  173. "load.to",
  174. "mediafire.com",
  175. "megafileupload.com",
  176. "megashares.com",
  177. "movshare.net",
  178. "muchshare.net",
  179. "myupload.dk",
  180. "narod.ru|narod.yandex.ru",
  181. "fboom.me|fileboom.me",
  182. "openfile.ru",
  183. "partage-facile.com",
  184. "plunder.com",
  185. "sharerapid.cz",
  186. "exclusiveloader.com",
  187. "acefile.net",
  188. "queenshare.com",
  189. "rapidgator.net",
  190. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  191. "oboom.com",
  192. "filepi.com",
  193. "neodrive.co",
  194. "rarefile.net",
  195. "rayfile.com",
  196. "rghost.net",
  197. "sendmyway.com",
  198. "clicknupload.com",
  199. "clicknupload.me",
  200. "clicknupload.link",
  201. "sharemods.com",
  202. "hostr.co",
  203. "sendspace.com",
  204. "sharecash.org",
  205. "share-links.biz",
  206. "share-online.biz|egoshare.com",
  207. "megarapid.cz",
  208. "shareflare.net",
  209. "solidfiles.com",
  210. "led.wf",
  211. "lan.wf",
  212. "adlink.wf",
  213. "click.tf",
  214. "kyc.pm",
  215. "ssh.tf",
  216. "ssh.yt",
  217. "yep.pm",
  218. "stahovanizasms.cz",
  219. "turbobit.net",
  220. "filecloud.cc",
  221. "tikfile.com",
  222. "cloudsix.me",
  223. "turboupload.com",
  224. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  225. "ulozisko.sk",
  226. "uloziste.com",
  227. "unibytes.com",
  228. "upload-il.net|przeslij.net",
  229. "uploaded.to|uploaded.net|ul.to",
  230. "uploading.com",
  231. "chayfile.com",
  232. "rockfile.eu",
  233. "uploadspace.pl",
  234. "upnito.sk",
  235. "usaupload.net",
  236. "veehd.com",
  237. "videobb.com",
  238. "vip-file.com",
  239. "webshare.cz",
  240. "xdisk.cz",
  241. "yunfile.com|filemarkets.com",
  242. "ziddu.com",
  243. "zippyshare.com",
  244. "rodfile.com",
  245. "wikiupload.com",
  246. "uploadstube.de",
  247. "faststore.org",
  248. "flyfiles.net",
  249. "nowdownload.ch",
  250. "prefiles.com",
  251. "axifile.com",
  252. "hackerbox.org",
  253. "amonshare.com",
  254. "data.hu",
  255. "brupload.net",
  256. "userscloud.com",
  257. "netkups.com",
  258. "xfileload.com",
  259. "kumpulbagi.com|kumpulbagi.id",
  260. "uppit.com|up.ht|upx.nz",
  261. "downloadani.me",
  262. "filesabc.com",
  263. "verzend.be",
  264. "4up.me",
  265. "extmatrix.com",
  266. "sendfiles.nl",
  267. "yourfilestore.com",
  268. "filebig.net",
  269. "nekaka.com",
  270. "file4safe.com",
  271. "tusfiles.net|tusfiles.com",
  272. "filemac.com",
  273. "idup.in",
  274. "fileswap.com",
  275. "ozofiles.com",
  276. "loudupload.net",
  277. "nosupload.com",
  278. "gboxes.com",
  279. "myvdrive.com|fileserving.com",
  280. "filesin.com",
  281. "novafile.com",
  282. "longfiles.com",
  283. // "uploadhero.com",
  284. "uploadbaz.com",
  285. "bitupload.com",
  286. "indowebster.com",
  287. "superload.cz",
  288. "mafiastorage.com",
  289. "filesmelt.com",
  290. "hellupload.com",
  291. "uploadingit.com",
  292. "stiahni.si",
  293. "sendspace.pl",
  294. "fastshare.org",
  295. "filejoker.net",
  296. "filestore.com.ua",
  297. "secureupload.eu",
  298. "rapidfileshare.net",
  299. "stiahnito.sk",
  300. "rusfolder.com",
  301. "catshare.net",
  302. "anonfiles.com",
  303. "mixturecloud.com",
  304. "filedais.com",
  305. // "imdb.com",
  306. "nitroflare.com",
  307. "akafile.com",
  308. "creafile.net",
  309. "hugefiles.net",
  310. "vidxden.com",
  311. "up.top4top.net",
  312. "upload.ee",
  313. "shareplace.org",
  314. "uploadc.com",
  315. "remixshare.com",
  316. "exoshare.com",
  317. "borncash.org",
  318. "junocloud.me",
  319. "2downloadz.com",
  320. "mightyupload.com",
  321. "anysend.com",
  322. "datafile.com",
  323. "upstore.net",
  324. "upsto.re",
  325. "speedy.sh",
  326. // "sanshare.com",
  327. // "uploadhero.co",
  328. "ge.tt",
  329. "filesflash.net",
  330. "salefiles.com",
  331. // "megairon.net",
  332. "datoid.cz",
  333. "cloudstor.es",
  334. "streamfile.com",
  335. "eyesfile.ca",
  336. "filemoney.com",
  337. "uploadboy.com",
  338. "uploadboy.me",
  339. "speedshare.eu",
  340. "google.com",
  341. "unlimitzone.com",
  342. "rioupload.com",
  343. "rg.to",
  344. "jumbofiles.org",
  345. "fshare.vn",
  346. "spaceforfiles.com",
  347. "up.media1fire.com",
  348. "depfile.com",
  349. "go4up.com",
  350. "dropbox.com",
  351. "redbunker.net",
  352. "divxpress.com",
  353. "mega.nz|mega.co.nz",
  354. "anafile.com",
  355. "uploadable.ch",
  356. "bigfile.to",
  357. "arabloads.net",
  358. "sharerepo.com",
  359. "sfshare.se",
  360. "files.fm",
  361. "koofile.com",
  362. "vidplay.net",
  363. "doraupload.com",
  364. "openload.io",
  365. "uploads.xxx",
  366. "toutbox.fr",
  367. ];
  368.  
  369. try
  370. {
  371. //iframes excluded
  372. if (window.top != window.self)
  373. {
  374. return;
  375. }
  376. //allHostNames sites excluded
  377. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  378. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  379. ")"))
  380. {
  381. return;
  382. }
  383. }
  384. catch (e)
  385. {
  386. return;
  387. }
  388.  
  389. //separate alternative domains with "|" char (first name is considered being main)
  390. var allContainerNames = [
  391. "adf.ly",
  392. "linkcrypt.ws",
  393. "linksafe.me",
  394. // "linksave.in",
  395. "linkto.net",
  396. "madlink.sk",
  397. "multiload.cz",
  398. "mirrorcreator.com",
  399. // "ncrypt.in",
  400. "redi.re",
  401. "relink.us",
  402. "safelinking.net",
  403. "theloo.katt.it",
  404. "bit.ly",
  405.  
  406. ];
  407.  
  408. //separate alternative domains with "|" char (first name is considered being main)
  409. var allObsoleteNames = [
  410. "uloz.cz",
  411. "secured.in",
  412. "rapidfilehost.com",
  413. "fileover.net",
  414. "fileinz.com",
  415. "linksave.in",
  416. "seenupload.com",
  417. "sangfile.com",
  418. "filepost.com|fp.io",
  419. "sharingmaster.com ",
  420. "24uploading.com",
  421. "storagon.com",
  422. "sanshare.com",
  423. "filestorm.to",
  424. "uploadnet.co",
  425. "180upload.com",
  426. "rapidsonic.com",
  427. "fileparadox.com",
  428. "4upfiles.com",
  429. "geupload.com",
  430. "lenfile.com",
  431. "fileparadox.in",
  432. "uploadhero.co",
  433. "uploadhero.com",
  434. "newfileland.com",
  435. "quickshare.cz",
  436. "elffiles.com",
  437. "netload.in",
  438. "netload.me",
  439. "movreel.com",
  440. "migahost.com",
  441. "krotix.net",
  442. "jumbofile.net",
  443. "edoc.com",
  444. "cramit.in|cramitin.net",
  445. "freakshare.com",
  446. "burnupload.com|burnupload.ihiphop.com",
  447. "freakshare.net",
  448. "daj.to",
  449. "bl.st",
  450. "2drive.net",
  451. "ryushare.com",
  452. "crisshare.com",
  453. "tufiles.ru",
  454. "uncapped-downloads.com",
  455. "sockshare.com",
  456. "ddlstorage.com",
  457. "dataport.cz",
  458. "dizzcloud.com",
  459. "sharebeast.com",
  460. "stahovadlo.cz",
  461. "shared.com",
  462. "storage.to",
  463. "putlocker.com",
  464. "lumfile.com",
  465. "lumfile.se",
  466. "lumfile.eu",
  467. "firedrive.com",
  468. "fileshare.in.ua",
  469. "filecore.co.nz",
  470. "filecore.co",
  471. "iskladka.cz",
  472. "file-rack.com",
  473. "fast-load.net",
  474. "subory.sk",
  475. "bigandfree.com",
  476. "fileop.com",
  477. "mujsoubor.cz",
  478. "sendfile.to",
  479. "superfastfile.com",
  480. "quickyshare.com",
  481. "duckload.com",
  482. "uploadstore.net",
  483. "meinupload.com",
  484. "dualshare.com",
  485. "2xupload.to|2xupload.de",
  486. "oxedion.com",
  487. "uploadline.com",
  488. "dll.bz",
  489. "movieshare.in",
  490. "milledrive.com",
  491. "quickupload.net",
  492. "safelink.in",
  493. "metadivx.com",
  494. "divxlink.com",
  495. "uploadrack.com",
  496. "teradepot.com",
  497. "dataup.to",
  498. "upit.to",
  499. "driveway.com",
  500. "eatlime.com",
  501. "a2zuploads.com",
  502. "friendlyfiles.net",
  503. "flyfile.us",
  504. "speedyshare.com",
  505. "uploadspace.eu",
  506. "keepfile.com",
  507. "piggyshare.com",
  508. "uplly.com",
  509. "filecrown.com",
  510. "6giga.com",
  511. "uploadjockey.com",
  512. "bluehost.to",
  513. "filegu.ru",
  514. "filebase.to",
  515. "up-file.com",
  516. "xvideos.com",
  517. "ufox.com",
  518. "filebling.com",
  519. "loaded.it",
  520. "uploadcell.com",
  521. "uploadshare.cz",
  522. "mangoshare.com",
  523. "filestab.com",
  524. "crazyupload.com",
  525. "gaiafile.com",
  526. "sharejunky.com",
  527. "fileho.com",
  528. "bigandfree.com",
  529. "bigfile.in",
  530. "bigshare.eu",
  531. "dahosting.org",
  532. "digisofts.net",
  533. "file4save.com",
  534. "filechip.com",
  535. "filescloud.com",
  536. "saveqube.com",
  537. "turboshare.de",
  538. "z-upload.com",
  539. "youshare.com",
  540. "jiffyupload.com",
  541. "gigeshare.com",
  542. "datenklo.net",
  543. "upload.dj",
  544. "loadfiles.in",
  545. "upit.to",
  546. "dsfileshare.com",
  547. "sharesimple.net",
  548. "4files.net",
  549. "wooupload.com",
  550. "odsiebie.com",
  551. "filenavi.com",
  552. "3oof.com",
  553. "meshwaar.com",
  554. "maxupload.com",
  555. "share.cx",
  556. "atserver.eu",
  557. "hotfiles.ws",
  558. "esnips.com",
  559. "tuxfile.com",
  560. "file2upload.net",
  561. "filebling.com",
  562. "turboshare.com",
  563. "rarhost.com",
  564. "isharehd.com",
  565. "i741.com",
  566. "dataup.de",
  567. "fofly.com",
  568. "shareonall.com",
  569. "sexuploader.com",
  570. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  571. "uploadhyper.com",
  572. "filespawn.com",
  573. "caizzii.com",
  574. "volnyweb.cz",
  575. "usershare.net",
  576. "filescash.net",
  577. "metahyper.com",
  578. "combozip.com",
  579. "x7.to",
  580. "uploadbox.com",
  581. "enterupload.com|flyupload.com",
  582. "filepoint.de",
  583. "mystream.to",
  584. "x-fs.com",
  585. "shareator.com",
  586. "srapid.eu",
  587. "sosame.cz",
  588. "filesdump.com",
  589. "2-klicks.de",
  590. "uploking.com",
  591. "silofiles.com",
  592. "upfile.in",
  593. "filehook.com",
  594. "uploadking.com",
  595. "uploadhere.com",
  596. "kewlshare.com",
  597. "rapidable.com",
  598. "uploadwaste.com",
  599. "filemup.com",
  600. "filesonic.com|sharingmatrix.com",
  601. "fileserve.com",
  602. "wupload.com",
  603. "skipfile.com",
  604. "smartuploader.com",
  605. "dualshare.com",
  606. "storeandserve.com",
  607. "mountfile.com",
  608. "transitfiles.com",
  609. "uploadstation.com",
  610. "filejungle.com",
  611. "shareshared.com",
  612. "quickyshare.com",
  613. "save.am",
  614. "petandrive.com",
  615. "file2box.com",
  616. "flyshare.cz",
  617. "yabadaba.ru",
  618. "cloudcache.cc",
  619. "yourfilehost.com",
  620. "jakfile.com",
  621. "kickload.com",
  622. "pyramidfiles.com",
  623. "refile.net",
  624. "zshare.net",
  625. "ddlani.me|ddlanime.com",
  626. "ftp2share.com",
  627. "fooget.com",
  628. "rapidhide.com",
  629. "gotupload.com",
  630. "mooload.com",
  631. "zupload.com",
  632. "mytempdir.com",
  633. "onionshare.com",
  634. "stahnu.to",
  635. "oron.com",
  636. "badongo.com",
  637. "filereactor.com",
  638. "filegaze.com",
  639. "4bytez.com",
  640. "1hostclick.com",
  641. "anonstream.com",
  642. "batshare.com",
  643. "bitroad.net",
  644. "brontofile.com",
  645. "cloudnxt.net",
  646. "cloudnator.com|shragle.com",
  647. "filesfrog.net",
  648. "coolshare.cz",
  649. "dotavi.com",
  650. "ezyfile.net",
  651. "file-bit.net",
  652. "filecosy.com",
  653. "fileduct.com|fileduct.net",
  654. "filefat.com",
  655. "filelaser.com",
  656. "filemashine.com",
  657. "fileserver.cc",
  658. "filetechnology.com",
  659. "fireuploads.net",
  660. "gigfiles.net",
  661. "holderfile.com",
  662. "ihostia.com",
  663. "k2files.com",
  664. "mojofile.com",
  665. "ovfile.com",
  666. "qshare.com",
  667. "shafiles.me",
  668. "sharefilehost.com",
  669. "shareupload.com",
  670. "stahuj.to",
  671. "ugotfile.com",
  672. "uploadboost.com",
  673. "fileom.com",
  674. "vidhog.com",
  675. "xfileshare.eu",
  676. "bzlink.us",
  677. "bulletupload.com",
  678. "bloggerarticles.com",
  679. "mojedata.sk",
  680. "sharpfile.com",
  681. "upgrand.com",
  682. "nasdilej.cz",
  683. "mediatack.cz",
  684. "share-it.to",
  685. "primeupload.com",
  686. "filebeer.info",
  687. "baberepublic",
  688. "xtu.me",
  689. "sharebase.de",
  690. "luckyshare.net",
  691. "filerobo.com",
  692. "filevelocity.com",
  693. "filezpro.com",
  694. "file4sharing.com",
  695. "cing.be",
  696. "ufile.eu",
  697. "pigsonic.com",
  698. "fileupped.com",
  699. "sharerun.com",
  700. "filesaur.com",
  701. "rapidslnare.com",
  702. "bestsharing.com",
  703. "savefiles.net",
  704. "file2share.biz",
  705. "filecache.de",
  706. "monsteruploads.eu",
  707. "b9bb.com",
  708. "aiotool.net",
  709. "jamber.info",
  710. "megaftp.com",
  711. "desiupload.net",
  712. "file27.com",
  713. "yastorage.com",
  714. "filehost.ws",
  715. "copyload.com",
  716. "venusfile.com",
  717. "aieshare.com",
  718. "terafile.co",
  719. "terafile.com",
  720. "fileza.net",
  721. "filerose.com",
  722. "squillion.com",
  723. "fileprohost.com",
  724. "bitbonus.com",
  725. "warserver.cz",
  726. "uload.to",
  727. "sharedbit.net",
  728. "megaload.it",
  729. "filewinds.com",
  730. "uploadcore.com",
  731. "syfiles.com",
  732. "eyesfile.com",
  733. "hotfile.com",
  734. "superupl.com",
  735. "oteupload.com",
  736. "henchfile.com",
  737. "filegag.com",
  738. "HenchFile.com",
  739. "filedefend.com",
  740. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  741. "megabitshare.com",
  742. "cloudzer.com",
  743. "asfile.com",
  744. "cloudzer.net",
  745. "clz.to",
  746. "extabit.com",
  747. "247upload.com",
  748. "2download.de",
  749. "4fastfile.com",
  750. "asixfiles.com",
  751. "berofile.com",
  752. "bigupload.com",
  753. "cepzo.com",
  754. "clouds.to",
  755. "cobrashare.sk",
  756. "coraldrive.net",
  757. "cyberlocker.ch",
  758. "czshare.com",
  759. "darkport.org",
  760. "dark-uploads.com",
  761. "davvas.com",
  762. "enigmashare.com",
  763. "erofly.cz",
  764. "fastsonic.net",
  765. "filebox.com",
  766. "filecity.net",
  767. "filedap.com",
  768. "filedino.com",
  769. "filedownloads.org",
  770. "filefolks.com",
  771. "fileking.co",
  772. "filemates.com",
  773. "files.to",
  774. "files2k.eu",
  775. "filesector.cc",
  776. "bitshare.com",
  777. "filesega.com",
  778. "filesend.net",
  779. "filestay.com",
  780. "filestrum.com",
  781. "fileuplo.de",
  782. "fileupup.com",
  783. "forunesia.com",
  784. "freeuploads.fr",
  785. "uploa.dk",
  786. "getthebit.com",
  787. "getzilla.net",
  788. "goldfile.eu",
  789. "good.com",
  790. "grupload.com",
  791. "hellfile.com",
  792. "hipfile.com",
  793. "hitfile.com",
  794. "hulkfile.eu|duckfile.net",
  795. "i-filez.com",
  796. "ifile.ws",
  797. "kupload.org",
  798. "packupload.com",
  799. "lemuploads.com",
  800. "limelinx.com",
  801. "maxshare.pl",
  802. "megarelease.org",
  803. "megashare.com",
  804. "minus.com",
  805. "mlfat4arab.com",
  806. "multishare.cz",
  807. "nirafile.com",
  808. "ok2upload.com",
  809. "peejeshare.com",
  810. "premiuns.org",
  811. "przeklej.net",
  812. "qkup.net",
  813. "rapidupload.sk",
  814. "rockdizfile.com",
  815. "rocketfile.net",
  816. "share-now.net",
  817. "share76.com",
  818. "sharebees.com",
  819. "sharefiles.co",
  820. "slingfile.com",
  821. "sms4file.com",
  822. "space4file.com",
  823. "tigershare.net",
  824. "toucansharing.com",
  825. "ubuntuone.com",
  826. "unextfiles.com",
  827. "upaj.pl",
  828. "upfile.biz",
  829. "uploadbin.net",
  830. "uploadic.com",
  831. "uploadinc.com",
  832. "uploading4u.eu",
  833. "uploadjet.net",
  834. "uploadorb.com",
  835. "upthe.net",
  836. "uptorch.com",
  837. "vidbox.yt",
  838. "videozer.com",
  839. "vreer.com",
  840. "wallobit.com",
  841. "zooupload.com",
  842. "privatefiles.com",
  843. "xerver.co",
  844. "BillionUploads.com",
  845. "rapidshare.com",
  846. "rapidshare.ru",
  847. "4savefile.com",
  848. "bayfiles.com",
  849. "bayfiles.net",
  850. "dodane.pl",
  851. "dotsemper.com",
  852. "egofiles.com",
  853. "epicshare.net",
  854. "fiberupload.net",
  855. "filemonkey.in",
  856. "filemonster.net",
  857. "filepom.com",
  858. "filesbb.com",
  859. "fileshareup.com",
  860. "filevice.com",
  861. "gigaup.fr",
  862. "isavelink.com",
  863. "loombo.com",
  864. "megafiles.se",
  865. "migupload.com",
  866. "mydisc.net",
  867. "nitrobits.com",
  868. "potload.com",
  869. "redload.net",
  870. "shareprofi.com",
  871. "sharesuper.info",
  872. "sinhro.net",
  873. "speedfile.cz",
  874. "speedshare.org",
  875. "storage.novoro.net",
  876. "swankshare.com",
  877. "swatupload.com",
  878. "upafile.com",
  879. "uploadmachine.com",
  880. "uploadsat.com",
  881. "upshared.com",
  882. "usefile.com",
  883. "yourfiles.to",
  884. "zomgupload.com",
  885. "ultramegabit.com",
  886. "uploadto.us",
  887. "inafile.com",
  888. "megairon.net",
  889.  
  890. ];
  891. ///////////////////////////////////////////////////////////////////////////////////////
  892. var firstRun = GM_getValue("First_run", true);
  893.  
  894. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  895. //////////////////////////////////////////////////////////////////////////////////////
  896. try
  897. {
  898. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  899. var last_known_version = GM_getValue("last_known_version", "");
  900. if (!last_known_version)
  901. {
  902. last_known_version = thisVersion;
  903. GM_setValue("last_known_version", last_known_version);
  904. }
  905. //var newVersion = !(thisVersion == last_known_version);
  906. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  907. GM_setValue("last_known_version", thisVersion);
  908. }
  909. catch (err)
  910. {
  911. var newVersion = false;
  912. }
  913.  
  914. var now = (new Date()).getTime();
  915. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  916. if (!last_custom_rules_nag)
  917. {
  918. last_custom_rules_nag = now;
  919. GM_setValue('last_custom_rules_nag', ''+now);
  920. }
  921.  
  922.  
  923. allHostNames.sort();
  924. allContainerNames.sort();
  925. allObsoleteNames.sort();
  926.  
  927. var RAND_STRING = "8QyvpOSsRG3QWq";
  928. var DEBUG_MODE = false;
  929.  
  930. var TOOLTIP_MAXWIDTH = 600; //in pixels
  931. var TOOLTIP_THUMBWIDTH = 200;
  932. var containers_processed = false;
  933.  
  934. //settings for keyboard functions start
  935. var CHECK_ALL_LINKS_KEY = "A";
  936. var CONFIGURATION_KEY = "C";
  937. var copy_to_dead_key = "D";
  938. var copy_to_live_key = "L";
  939. var toggle_autocheck_key = "W";
  940. var toggle_Enable_Anonymizer_key = "Z";
  941. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  942. var first_key_keycodename = 'CTRL';
  943. var second_key_keycode = '18';
  944. var second_key_keycodename = 'ALT';
  945. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  946. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  947. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  948. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  949. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  950. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  951. //settings for keyboard functions end
  952.  
  953. //global settings start
  954. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  955. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  956. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  957. var Show_progress_stats, Display_tooltip_info, Icon_set;
  958. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  959. var Progress_box_refresh_rate;
  960. var Obsolete_file_hosts;
  961. var Custom_rules, Custom_rules_text;
  962.  
  963. var messageBox = document.createElement('b'); // top-left message box
  964.  
  965. var cLinksTotal = 0;
  966. var cLinksDead = 0;
  967. var cLinksAlive = 0;
  968. var cLinksUnava = 0;
  969. var cLinksprem = 0;
  970. var cLinksProcessed = 0;
  971.  
  972. var intervalId; //for updateProgress()
  973.  
  974. //icon resources
  975. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7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ExutRtGVcBqA3t7wEAAvu/CBcY/dsAAAAASUVORK5CYII=';
  979.  
  980. var RSLC_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AMJCQY36Sc4vgAAAlRJREFUeNpV0r9PE3EABfD3veu1lJYr15ZCoBHBqJBAMEbjL0hYFAkyOAmJMUYd/Q+cXF1wYPQPILppYkKIRARiMDGoaAKimBaKHMWDXnu93venE0Tf9Ib3tg/BP7m3NGgwxtKcM4vyIKSk4BBqnwux9/LGKjvckcNy9/1Akgk2ZJHMWNyw+qWUMSGZ51R2FzbdX1NSyOnZWznn6HRn8UqSCv6gLdz58GSsL2voURJIirAWhh+U1fLO4tbKztdJIvHsw/1NR7/97pJBOR9tDXc+6rMGsg4vkd3AhkMdVJgLounkdKLHdL1S13ZpdyMzbK5pnNF0I0mNn4r3Ze3AJrZvo0zL8KkPyil6rTOgipFzrRezLXVt4zWKtBbwWjIeTgyEQlHiUhepcBpNkSaYehxX20Yw2HYd3VYP6iNRYhrpAeojGfJqvs7rRIyKGpSUGOm4iYgWwX7wB72ps/hWXMZCbgaNkUYQrseUr3SNB0JQRj0DBnSlYWN/DcfNEzifuYzVvS94vf4cVeoiBB2ScY8IiBBnytk7KM5XG8qj9SRClrbnUKNVZKLNWMjPwKkWkYk146BSUbZrz0PC0ZuHzaBYLokq9S90p3pMJRnJl35gtfgZQnAko0lY4WY1+2lu63s+N0EE+agXXrkydc3czjtF7noHXccSx82mWIY0hBpgRVMIalK9WX67tfJzfZJo5EVuouAdieh4kk3KQA21J1rGmuoy/UToMSG5t+vaC5u/7Smikenc04LzHyMAaH+cNcBVGgyWClSIgHAA+2DYy00Wjuz9Bce5MucW9xnuAAAAAElFTkSuQmCC';
  981. var RSLC_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAN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m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  986. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  987. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4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GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  989.  
  990. //global settings end
  991. if (window.opera && !window.console)
  992. {
  993. window.console = {};
  994.  
  995. function fn()
  996. {
  997. opera.postError(arguments);
  998. };
  999. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1000. {
  1001. window.console[name] = fn;
  1002. });
  1003. }
  1004.  
  1005. //displays colored text in message box
  1006. function sendMessage(text, color)
  1007. {
  1008. var msgDiv = document.createElement('div');
  1009. msgDiv.style.color = color;
  1010. msgDiv.innerHTML = text;
  1011. messageBox.appendChild(msgDiv);
  1012. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1013. }
  1014.  
  1015. function linkify(totalourls)
  1016. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1017. var ikkeTilladteTags;
  1018. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1019. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1020. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1021. allLinksRegex = new RegExp(allLinksRegex, "g");
  1022. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1023.  
  1024. if (Do_not_linkify_DL_links)
  1025. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1026. else
  1027. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1028.  
  1029. var regex = new RegExp(regexy);
  1030. var textNode, muligtLink;
  1031.  
  1032. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1033. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1034.  
  1035. var i = textNodes.snapshotLength;
  1036. while (i--)
  1037. {
  1038. textNode = textNodes.snapshotItem(i);
  1039.  
  1040. muligtLink = textNode.nodeValue; //all links on page
  1041.  
  1042. var myArray = null;
  1043. var span = null;
  1044. var lastLastIndex = 0;
  1045. allLinksRegex.lastIndex = 0;
  1046. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1047. {
  1048. if (textNode.parentNode.className == "adead_link") continue;
  1049. var censoredLink = muligtLink;
  1050. var span = document.createElement('span');
  1051. span.className = "adead_link";
  1052. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1053. $(span).html(censoredLink);
  1054. span.addEventListener("mouseover", displayTooltipError, false);
  1055. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1056. textNode.parentNode.replaceChild(span, textNode);
  1057. continue;
  1058. alert(censoredLink);
  1059. }
  1060. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1061. {
  1062. if (!regex.test(myArray[0])) //this link is not recognized
  1063. {
  1064.  
  1065. continue;
  1066. }
  1067. if (!span)
  1068. span = document.createElement('span');
  1069.  
  1070. var link = myArray[0];
  1071. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1072.  
  1073. var $a = $("<a>" + link + "</a>")
  1074. if (!link.match(/https?:\/\//))
  1075. {
  1076. link = 'http://' + link;
  1077. }
  1078.  
  1079. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1080. .addClass("processing_link")
  1081. .appendTo(span);
  1082. lastLastIndex = allLinksRegex.lastIndex;
  1083. }
  1084. if (span)
  1085. {
  1086. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1087. textNode.parentNode.replaceChild(span, textNode);
  1088. }
  1089. }
  1090. }
  1091.  
  1092. function add_WARLC_style()
  1093. {
  1094. if (!(document.getElementsByTagName('WARLC')[0]))
  1095. {
  1096. var meta_not_to_add_more_style = document.createElement("WARLC");
  1097. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1098. meta_not_to_add_more_style.setAttribute('name', 'description');
  1099. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1100. alive_link_png = "";
  1101. adead_link_png = "";
  1102. unava_link_png = "";
  1103. prem_link_png = "";
  1104. switch(Icon_set)
  1105. {
  1106. //no icons
  1107. case 0: break;
  1108. // cat paws
  1109. case 1: alive_link_png = PAW_ICON_GREEN;
  1110. adead_link_png = PAW_ICON_RED;
  1111. unava_link_png = PAW_ICON_YELLOW;
  1112. prem_link_png = PAW_ICON_PINK;
  1113. break;
  1114. // classic RSLC look
  1115. case 2: alive_link_png = RSLC_ICON_GREEN;
  1116. adead_link_png = RSLC_ICON_RED;
  1117. unava_link_png = RSLC_ICON_YELLOW;
  1118. prem_link_png = RSLC_ICON_PINK;
  1119. break;
  1120. // New Icons
  1121. case 3: alive_link_png = NEW_ICON_GREEN;
  1122. adead_link_png = NEW_ICON_RED;
  1123. unava_link_png = NEW_ICON_YELLOW;
  1124. prem_link_png = NEW_ICON_PINK;
  1125. break;
  1126. // cat paws
  1127. default:alive_link_png = PAW_ICON_GREEN;
  1128. adead_link_png = PAW_ICON_RED;
  1129. unava_link_png = PAW_ICON_YELLOW;
  1130. prem_link_png = PAW_ICON_PINK;
  1131. break;
  1132. }
  1133. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1134. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1135.  
  1136. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1137.  
  1138. if (Color_DL_links)
  1139. {
  1140. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1141. live_color_css = 'color:' + Live_links_color + ' !important;';
  1142. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1143. container_color_css = 'color:' + Container_links_color + ' !important;';
  1144. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1145. }
  1146. else
  1147. {
  1148. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1149. }
  1150.  
  1151. if (Show_black_background_in_DL_links)
  1152. {
  1153. black_background_css = 'background-color: black !important;';
  1154. }
  1155. else
  1156. {
  1157. black_background_css = '';
  1158. }
  1159.  
  1160. if (Show_line_through_in_dead_links)
  1161. {
  1162. line_through_css = 'text-decoration: line-through !important;';
  1163. }
  1164. else
  1165. {
  1166. line_through_css = '';
  1167. }
  1168.  
  1169. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1170. 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 + "}");
  1171. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1172. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1173. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1174. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1175. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1176. }
  1177. }
  1178.  
  1179. var warlcTooltip = null;
  1180. var mouseoverLink = null; //link href with mouse cursor over it
  1181.  
  1182. var lastX = 0;
  1183. var lastY = 0;
  1184.  
  1185. $(document).ready(initTooltip);
  1186. //inits tooltip
  1187. function initTooltip()
  1188. { warlcTooltip = document.createElement("div");
  1189. warlcTooltip.setAttribute("style", "background: #EAEAEA; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);padding: 6px 6px 6px 6px; border-radius:2px; border:2px solid #6699CC; color:#000000;font-family:Verdana,sans-serif;font-size:11px;position:absolute;z-index:2000; max-width: " + TOOLTIP_MAXWIDTH + "px;");
  1190. warlcTooltip.style.visibility = "hidden";
  1191. document.body.appendChild(warlcTooltip);
  1192. }
  1193.  
  1194. //"mousemove" event handler for all links
  1195. function moveTooltip(event)
  1196. {
  1197. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1198. { //no need to reflow if the cursor moved just a little
  1199. return;
  1200. }
  1201. else
  1202. {
  1203. lastX = event.clientX;
  1204. lastY = event.clientY;
  1205. }
  1206.  
  1207. posX = event.clientX + window.pageXOffset + 10;
  1208. posY = event.clientY + window.pageYOffset;
  1209. var ttHeight = warlcTooltip.offsetHeight;
  1210. var ttFreeSpace = window.innerHeight - event.clientY;
  1211. if (ttHeight > ttFreeSpace)
  1212. { //prevents tooltip from getting out of the window
  1213. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1214. }
  1215. else
  1216. {
  1217. posY += 7;
  1218. }
  1219. warlcTooltip.style.top = posY + "px";
  1220. warlcTooltip.style.left = posX + "px";
  1221. }
  1222.  
  1223. //"mouseout" event handler for all links
  1224. function hideTooltip(){
  1225. warlcTooltip.style.visibility = "hidden";
  1226. mouseoverLink = null;
  1227. }
  1228.  
  1229.  
  1230. //"mouseover" event handler for dead links
  1231. //displays tooltip error message on dead links
  1232. function displayTooltipError()
  1233. {
  1234. mouseoverLink = this.href;
  1235. this.addEventListener("mouseout", hideTooltip);
  1236. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1237. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1238. warlcTooltip.style.minWidth = 0;
  1239. warlcTooltip.style.visibility = "visible";
  1240. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1241. {
  1242. warlcTooltip.innerHTML = this.warlc_error;
  1243. }
  1244. else
  1245. {
  1246. loadErrorInfo(this);
  1247. }
  1248. function loadErrorInfo(link)
  1249. {
  1250. var href = link.href;
  1251. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1252. GM_xmlhttpRequest({
  1253. method: 'GET',
  1254. url: href.replace(Ref_anonymize_service, ""),
  1255. headers: {
  1256. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1257. 'Accept': 'text/xml',
  1258. 'Referer': ""
  1259. },
  1260. onload: function(result) {
  1261. var res = result.responseText;
  1262. //TODO: errorRegexs -
  1263. var errorRegexs = [ //generic error messages follow
  1264. /(empty directory)/i,
  1265. /(soubor nebyl nalezen)/i,
  1266. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1267. //server specific error messages follow
  1268. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1269. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1270. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1271. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1272. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1273. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1274. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1275. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1276. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1277. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1278. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1279. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1280. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1281. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1282. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1283. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1284. /(File has been removed due to Copyright Claim)/, //filerio
  1285. ];
  1286. var errorIdx = errorRegexs.length;
  1287. var error = "Cause of error: <b>unknown</b>";
  1288. var errorCandidate = "";
  1289. while(errorIdx--)
  1290. {
  1291. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1292. if (errorCandidate != null)
  1293. {
  1294. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1295. break;
  1296. }
  1297. }
  1298. //link attributes
  1299. link.warlc_error = error;
  1300. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1301. {
  1302. warlcTooltip.innerHTML = error;
  1303. }
  1304. }
  1305. });
  1306. }
  1307. }
  1308.  
  1309. //"mouseover" event handler for alive links
  1310. //displays tooltip info (file size, file name,...) on alive links
  1311. function displayTooltipInfo()
  1312. {
  1313. mouseoverLink = this.href;
  1314. //exclude direct download filehostings
  1315. 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)/))
  1316. {
  1317. return;
  1318. }
  1319. this.addEventListener("mouseout", hideTooltip);
  1320. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1321. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1322. warlcTooltip.style.minWidth = 0;
  1323. warlcTooltip.style.visibility = "visible";
  1324. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1325. {
  1326. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1327. }
  1328. else
  1329. {
  1330. loadInfo(this);
  1331. }
  1332. function loadInfo(link)
  1333. {
  1334. var href = link.href;
  1335. GM_xmlhttpRequest({
  1336. method: 'GET',
  1337. url: href.replace(Ref_anonymize_service, ""),
  1338. headers: {
  1339. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1340. 'Accept': 'text/xml',
  1341. 'Referer': ""
  1342. },
  1343. onload: function(result) {
  1344. var res = result.responseText;
  1345. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1346. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1347. /fl" title="(.+?)">/, //edisk
  1348. /<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
  1349. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1350. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1351. /title="download (.+?)">/, //sendspace
  1352. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1353. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1354. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1355. /d0FileName = "(.+?)";/, //letitbit
  1356. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1357. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1358. /fname" value="(.+?)">/, //syfiles, grupload,
  1359. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1360. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1361. /Complete name : (.+?)<br \/>/, //bezvadata
  1362. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1363. ];
  1364. var nameIdx = nameRegexs.length;
  1365. // [sizeRegexs]
  1366. // / \ \?
  1367. // prefix (size) postfix
  1368. // / \
  1369. // val quant
  1370. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1371. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1372. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1373. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1374. var postSizeRegex = '(?:\\))?';
  1375. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1376. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1377. ];
  1378. var sizeIdx = sizeRegexs.length;
  1379. //
  1380. //
  1381. var tooltip = "File Name: <b>";
  1382. var fileName = "unknown";
  1383. var nameCandidate = "";
  1384. while(nameIdx--)
  1385. {
  1386. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1387. if (nameCandidate != null)
  1388. {
  1389. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1390. break;
  1391. }
  1392. }
  1393. tooltip += fileName + "</b><br>File Size: <b>";
  1394. var fileSize = "unknown";
  1395. var sizeCandidate = "";
  1396. while(sizeIdx--)
  1397. {
  1398. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1399. if (sizeCandidate != null)
  1400. {
  1401. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1402. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1403. {
  1404. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1405. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1406. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1407. }
  1408. break;
  1409. }
  1410. }
  1411. tooltip += fileSize + "</b>";
  1412. // PROTOTYPE
  1413. // video thumbnails
  1414. if (href.match('hellshare'))
  1415. {
  1416. var thumbs;
  1417. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1418. if (thumbs)
  1419. {
  1420. tooltip += '<br>';
  1421. var j = Math.min(thumbs.length, 9);
  1422. for (var i = 0; i < j; i++)
  1423. {
  1424. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1425. }
  1426. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1427. }
  1428. }
  1429. if (href.match('czshare'))
  1430. {
  1431. var thumbs;
  1432. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1433. if (thumbs)
  1434. {
  1435. var thumbsServer = thumbs[1];
  1436. var thumbsId = thumbs[2];
  1437. tooltip += '<br>';
  1438. for (var i = 1; i < 9; i++)
  1439. {
  1440. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1441. }
  1442. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1443. }
  1444. }
  1445. if (href.match('bezvadata'))
  1446. {
  1447. var thumbs;
  1448. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1449. if (thumbs)
  1450. {
  1451. tooltip += '<br>';
  1452. var j = Math.min(thumbs.length, 9);
  1453. for (var i = 0; i < j; i++)
  1454. {
  1455. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1456. }
  1457. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1458. }
  1459. }
  1460. link.warlc_tooltipcache = tooltip;
  1461. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1462. {
  1463. warlcTooltip.innerHTML = tooltip;
  1464. }
  1465. }
  1466. });
  1467. }
  1468. }
  1469.  
  1470. function setVariables()
  1471. {
  1472. if (firstRun)
  1473. {
  1474. GM_log('First run, applying default settings...');
  1475. GM_setValue("Icon_set",1);
  1476. GM_setValue("Display_tooltip_info",true);
  1477. GM_setValue("Show_black_background_in_DL_links",false);
  1478. GM_setValue("Show_line_through_in_dead_links",false);
  1479. GM_setValue("Display_full_links_in_link_containers",false);
  1480. GM_setValue("Allow_spaces_in_DL_links",false);
  1481. GM_setValue("Autocheck",true);
  1482. GM_setValue("Enable_Anonymizer",false);
  1483. GM_setValue("Do_not_linkify_DL_links",false);
  1484. GM_setValue("Show_progress_stats",true);
  1485. GM_setValue("Keyboard_functions",true);
  1486. GM_setValue("Obsolete_file_hosts",false);
  1487. GM_setValue("Color_DL_links",true);
  1488. GM_setValue("Live_links_color","Green");
  1489. GM_setValue("Dead_links_color","#FF3300");
  1490. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1491. GM_setValue("Container_links_color","DarkKhaki");
  1492. GM_setValue("Premium_links_color","DeepPink");
  1493. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1494. GM_setValue("Custom_rules",false);
  1495. GM_setValue("Custom_rules_text","");
  1496. GM_setValue("First_run", false);
  1497. }
  1498. //hidden settings
  1499. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1500. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1501. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1502. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1503. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1504. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1505. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1506. //hidden settings end
  1507.  
  1508. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1509. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1510. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1511. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1512. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1513. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1514. Autocheck = GM_getValue("Autocheck", true);
  1515. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1516. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1517. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1518. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1519. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1520. Color_DL_links = GM_getValue("Color_DL_links", true);
  1521. Live_links_color = GM_getValue("Live_links_color", "Green");
  1522. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1523. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1524. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1525. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1526. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1527. Custom_rules = GM_getValue("Custom_rules", false);
  1528. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1529. }
  1530.  
  1531.  
  1532. // Delinkifies the links
  1533. // params:
  1534. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1535. // e.g. 'uloz.to/xs68skxl8')
  1536. function delinkifySnapshot(snapshot)
  1537. {
  1538. var n = snapshot.snapshotLength;
  1539.  
  1540. while (n--)
  1541. {
  1542. thisLink = snapshot.snapshotItem(n);
  1543.  
  1544. var spanElm = document.createElement("span");
  1545. spanElm.className = thisLink.className;
  1546. spanElm.innerHTML = thisLink.innerHTML;
  1547.  
  1548. if (Display_tooltip_info)
  1549. {
  1550. spanElm.href = thisLink.href;
  1551. switch (thisLink.className){
  1552. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1553. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1554. case "unava_link": //reserved
  1555. default:
  1556. }
  1557. }
  1558. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1559. }
  1560. }
  1561.  
  1562. function processContainers()
  1563. {
  1564. var redirectorTypes = { "HTTP_302": 0,
  1565. "INNER_LINK": 1,
  1566. "THELOO_KATT_IT": 2,
  1567. "CING_BE": 3,
  1568. "ADF_LY": 4};
  1569. var cMultiloadTotal = 0;
  1570. var cMultiloadProcessed = 0;
  1571.  
  1572. var cMirrorcreatorComTotal = 0;
  1573. var cMirrorcreatorComProcessed = 0;
  1574.  
  1575. var hostRestrictionRegex = "";
  1576. var multiloadComRestriction = "";
  1577. var multiloadComRestrictionRegex;
  1578.  
  1579. //
  1580. //HANDLING REDIRECTORS START
  1581. //
  1582.  
  1583. var redirectors = new Array();
  1584. initRedirectors();
  1585.  
  1586. var redirectorsCount = redirectors.length;
  1587.  
  1588. if (redirectorsCount > 0)
  1589. {
  1590. var allRedirectorsRegex = "";
  1591.  
  1592. //linkify redirector links
  1593. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1594. {
  1595. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1596. }
  1597. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1598. linkify(allRedirectorsRegex);
  1599. //
  1600. //process redirector links
  1601. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1602. {
  1603. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1604. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1605.  
  1606. cLinksTotal += redirectors[redirIdx].cTotal;
  1607. var linkIdx = redirectors[redirIdx].cTotal;
  1608.  
  1609. while(linkIdx--)
  1610. {
  1611. switch(redirectors[redirIdx].type)
  1612. {
  1613. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1614. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1615. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1616. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1617. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1618. default:
  1619. }
  1620. }
  1621. }
  1622. //
  1623. }
  1624.  
  1625. //HTTP_302
  1626. function processRedirectorLink(link, redirectorId)
  1627. {
  1628. link.className = 'container_link';
  1629.  
  1630. GM_xmlhttpRequest({
  1631. method: 'HEAD',
  1632. url: link.href,
  1633. headers: {
  1634. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1635. 'Accept': 'text/xml',
  1636. 'Referer': ""
  1637. },
  1638. onload: function(result) {
  1639. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1640. {
  1641. processRedirectorLink(link, redirectorId);
  1642. }
  1643. else
  1644. {
  1645. redirectors[redirectorId].cProcessed++;
  1646. link.href = result.finalUrl;
  1647. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1648. checkLinks('container_link');
  1649. }
  1650. },
  1651. onerror: function(result) { //probably caused by unresponsive filehosting
  1652. redirectors[redirectorId].cProcessed++;
  1653. link.className = 'unava_link';
  1654. cLinksProcessed++;
  1655. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1656. checkLinks('container_link');
  1657. }
  1658. });
  1659. }
  1660. //INNER_LINK
  1661. function processRedirectorLinkEx(link, redirectorId)
  1662. {
  1663. link.className = 'container_link';
  1664. GM_xmlhttpRequest({
  1665. method: 'GET',
  1666. url: link.href,
  1667. headers: {
  1668. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1669. 'Accept': 'text/xml',
  1670. 'Referer': ""
  1671. },
  1672. onload: function(result) {
  1673. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1674. redirectors[redirectorId].cProcessed++;
  1675. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1676. checkLinks('container_link');
  1677. }
  1678. });
  1679. }
  1680. //theloo.katt.it (wrapped safelinking.net)
  1681. function processThelooKattItLink(link, redirectorId)
  1682. {
  1683. link.className = 'container_link';
  1684. GM_xmlhttpRequest({
  1685. method: 'GET',
  1686. url: link.href,
  1687. headers: {
  1688. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1689. 'Accept': 'text/xml',
  1690. 'Referer': ""
  1691. },
  1692. onload: function(result) {
  1693. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1694. redirectors[redirectorId].cProcessed++;
  1695. //the inner links are safelinking.net links, so lets proceed with it
  1696. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1697. {
  1698. processRedirectorLink(link, 0);
  1699. }
  1700. }
  1701. });
  1702. }
  1703. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1704. function processAdfLyLink(link, redirectorId)
  1705. {
  1706. link.className = 'container_link';
  1707. GM_xmlhttpRequest({
  1708. method: 'GET',
  1709. url: link.href,
  1710. headers: {
  1711. 'User-agent': 'Mozilla/4.0',
  1712. 'Accept': 'text/xml',
  1713. 'Referer': ""
  1714. },
  1715. onload: function(result) {
  1716. if (result.finalUrl.match('/locked/'))
  1717. {
  1718. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1719. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1720. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1721. }
  1722. else
  1723. {
  1724. // GM_log('Processing... ' + link.href);
  1725. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1726. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1727. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1728. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1729. //confirm advert
  1730. GM_xmlhttpRequest(
  1731. {
  1732. method: 'POST',
  1733. url: 'http://adf.ly/l.php',
  1734. headers: {
  1735. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1736. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1737. 'Referer': link.href
  1738. },
  1739. data: users + '&lt=' + logToken,
  1740. onload: function(result) {
  1741. //retrieve final url from .../go/... link
  1742. GM_xmlhttpRequest({
  1743. method: 'GET',
  1744. url: directLink,
  1745. headers: {
  1746. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1747. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1748. 'Referer': link.href
  1749. },
  1750. onload: function(result) {
  1751. link.href = result.finalUrl;
  1752. redirectors[redirectorId].cProcessed++;
  1753. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1754. checkLinks('container_link');
  1755. }
  1756. });
  1757. }
  1758. });
  1759. }
  1760. }
  1761. });
  1762. function proceedOK()
  1763. {
  1764. }
  1765. }
  1766. //MULTILOAD.CZ START
  1767. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1768. {
  1769. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1770. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1771.  
  1772. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1773.  
  1774. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1775. hostRestrictionRegex += 'hellshare|';
  1776. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1777. hostRestrictionRegex += 'downloadhellshare|';
  1778. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1779. hostRestrictionRegex += 'share-rapid\\.com|';
  1780. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1781. hostRestrictionRegex += 'quickshare\\.cz|';
  1782. if (GM_getValue("Check_czshare_dot_com_links", false))
  1783. hostRestrictionRegex += 'czshare\\.com|';
  1784. if (GM_getValue("Check_uloz_dot_to_links", false))
  1785. hostRestrictionRegex += 'uloz\\.to|';
  1786. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1787. hostRestrictionRegex += 'hellspy|';
  1788. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1789. hostRestrictionRegex += 'multishare\\.cz|';
  1790.  
  1791. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1792.  
  1793. linkify(mlRegex);
  1794.  
  1795. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1796. var mlCount = mlSnapshot.snapshotLength;
  1797.  
  1798. if (mlCount > 0)
  1799. {
  1800. cMultiloadTotal += mlCount;
  1801.  
  1802. mlIdx = mlCount - 1;
  1803. do
  1804. {
  1805. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1806. }
  1807. while(mlIdx--)
  1808. }
  1809. }
  1810. //MULTILOAD.CZ END
  1811.  
  1812.  
  1813.  
  1814. function processMultiloadLink(mlLink)
  1815. {
  1816. GM_xmlhttpRequest({
  1817. method: 'GET',
  1818. url: mlLink.href,
  1819. headers: {
  1820. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1821. 'Accept': 'text/xml',
  1822. 'Referer': ""
  1823. },
  1824. onload: function(result) {
  1825. var res = result.responseText;
  1826.  
  1827. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1828. 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;
  1829. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1830. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1831.  
  1832. var blocks; // blocks of links
  1833. var blockIdx;
  1834.  
  1835. mlLink.className = '';
  1836.  
  1837. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1838. {
  1839. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1840. return;
  1841. }
  1842.  
  1843. blocks = res.match(innerBlockRegex);
  1844.  
  1845. if (blocks == null) //no links found, cancel further processing
  1846. {
  1847. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1848. cMultiloadProcessed++;
  1849. if (cMultiloadTotal <= cMultiloadProcessed)
  1850. {
  1851. startBulkCheck('container_link');
  1852. start('container_link');
  1853. }
  1854. return;
  1855. }
  1856.  
  1857. blockIdx = blocks.length;
  1858.  
  1859. if (Display_full_links_in_link_containers)
  1860. {
  1861. var ulElm = document.createElement('ul');
  1862. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1863.  
  1864. while(blockIdx--)
  1865. {
  1866. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1867. {
  1868. continue;
  1869. }
  1870.  
  1871. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1872.  
  1873. var linkIdx = innerLinks.length;
  1874. while (linkIdx--)
  1875. {
  1876. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1877.  
  1878. var liElm = document.createElement('li');
  1879.  
  1880. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1881. {
  1882. liElm.appendChild(document.createTextNode(innerLink));
  1883. }
  1884. else
  1885. {
  1886. var aElm = document.createElement('a');
  1887. aElm.innerHTML = innerLink;
  1888. aElm.href = innerLink;
  1889. aElm.className = 'container_link';
  1890.  
  1891. liElm.appendChild(aElm);
  1892. }
  1893.  
  1894. ulElm.appendChild(liElm);
  1895. cLinksTotal++;
  1896. }
  1897. }
  1898.  
  1899. mlLink.parentNode.appendChild(ulElm);
  1900. }
  1901. else //compact view
  1902. {
  1903. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1904.  
  1905. while(blockIdx--)
  1906. {
  1907. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1908. {
  1909. continue;
  1910. }
  1911.  
  1912. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1913.  
  1914. var linkIdx = innerLinks.length;
  1915. while (linkIdx--)
  1916. {
  1917. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1918.  
  1919. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1920. {
  1921. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1922. }
  1923. else
  1924. {
  1925. var aElm = document.createElement('a');
  1926.  
  1927. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1928.  
  1929. //abbreviate host name
  1930. switch(hostName + ""){
  1931.  
  1932. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1933. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1934. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1935. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1936. case 'multishare': aElm.innerHTML = 'MS'; break;
  1937. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1938. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1939. case 'czshare': aElm.innerHTML = 'CS'; break;
  1940. default: aElm.innerHTML = 'xx';
  1941.  
  1942. }
  1943.  
  1944. aElm.href = innerLink;
  1945. aElm.className = 'container_link';
  1946.  
  1947. mlLink.parentNode.appendChild(aElm);
  1948. cLinksTotal++;
  1949. }
  1950. }
  1951.  
  1952. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1953.  
  1954. }
  1955. }
  1956.  
  1957. cMultiloadProcessed++;
  1958. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1959. {
  1960. if (Do_not_linkify_DL_links)
  1961. {
  1962. delinkifySnapshot(mlSnapshot);
  1963. }
  1964. startBulkCheck('container_link');
  1965. start('container_link');
  1966. }
  1967. }
  1968. });
  1969. }
  1970.  
  1971.  
  1972. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1973. {
  1974. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1975. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1976. var mcShortHostNames =
  1977. '?? 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';
  1978. // 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
  1979. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1980. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1981. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1982. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1983.  
  1984. linkify(mcRegex);
  1985.  
  1986. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1987. var mcCount = mcSnapshot.snapshotLength;
  1988.  
  1989. cMirrorcreatorComTotal = mcCount;
  1990.  
  1991. if (mcCount > 0)
  1992. {
  1993. mcShortHostNames = mcShortHostNames.split(' ');
  1994. mcIdx = mcCount;
  1995. while(mcIdx--)
  1996. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1997. }
  1998.  
  1999. }
  2000. //MIRRORCREATOR.CZ END
  2001.  
  2002.  
  2003. //mirrorcreator.com checking works like this:
  2004. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2005. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2006. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2007. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2008. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2009. function processMirrorcreatorLink(mcLink)
  2010. {
  2011. var mcURL = mcLink.href.match(mcRegex);
  2012. if(!mcURL || !mcURL[1]) return;
  2013. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2014. GM_xmlhttpRequest({
  2015. method: 'GET',
  2016. url: mcURL,
  2017. headers: {
  2018. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2019. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2020. 'Referer': ""
  2021. },
  2022. onload: function(mcLinkResult) {
  2023. var mcLinkRes = mcLinkResult.responseText;
  2024.  
  2025. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2026. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2027.  
  2028. var mcRedirectors;
  2029. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2030. var m = mcLinkRes.match(mcLinkBlockRegex);
  2031. if (m)
  2032. mcHostsFound = m.length;
  2033. else
  2034. { //no files inside container
  2035. processMirrorcreatorFoundHosts(mcLink, []);
  2036. return;
  2037. }
  2038.  
  2039. var mcRedirectorURL, idx, timedOut = false;
  2040.  
  2041. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2042. GM_xmlhttpRequest({
  2043. method: 'GET',
  2044. url: mcRedirectorURL,
  2045. headers: {
  2046. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2047. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2048. 'Referer': ""
  2049. },
  2050. onload: function(mcHostResult) {
  2051. if (timedOut) return; //too late, the list is already displayed
  2052. var mcHostRes = mcHostResult.responseText;
  2053. var mcHost = mcHostRes.match(mcHostRegex);
  2054. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2055. if (mcHost && idx!=-1)
  2056. {
  2057. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2058. mcHostsRetrieved++;
  2059. mcHostsToProcess++;
  2060. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2061. {
  2062. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2063. mcHostsToProcess = 0;
  2064. }
  2065. }
  2066. } //end of onload: function
  2067. }); //end of GM_xmlhttpRequest call
  2068. };//end of var gmxhrFunc
  2069.  
  2070. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2071. { //load individual redirector pages
  2072. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2073. mcHostURLs.push(mcRedirectorURL);
  2074. mcRedirectorIDs.push(mcRedirectors[2]);
  2075. gmxhrFunc(mcRedirectorURL);
  2076. } //end of while block
  2077.  
  2078. setTimeout(function(){ //in case the last page fails to load and call the function
  2079. timedOut = true;
  2080. if (mcHostsToProcess)
  2081. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2082. }, 60000);
  2083.  
  2084. } //end of onload function
  2085. }); //end of GM_xmlhttpRequest call
  2086. } //end of function processMirrorcreatorLink
  2087.  
  2088.  
  2089. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2090. {
  2091. var aEl, liEl, docFrag;
  2092. var hostName, mcRedirectorID, trimFilename = false;
  2093. var i = mcHostURLs.length;
  2094. if (i == 0)
  2095. {
  2096. trimFilename = true;
  2097. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2098. }
  2099. else
  2100. {
  2101. if (Display_full_links_in_link_containers)
  2102. { //full view
  2103. var wrapperEl = document.createElement('span');
  2104. wrapperEl.style.display = 'block';
  2105. var ulistEl = document.createElement('ul');
  2106. ulistEl.className = 'container_list';
  2107. while (i--)
  2108. {
  2109. liEl = document.createElement('li');
  2110. aEl = document.createElement('a');
  2111. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2112. aEl.href = mcHostURLs[i];
  2113. aEl.className = 'container_link';
  2114. liEl.appendChild(aEl);
  2115. ulistEl.appendChild(liEl);
  2116. }
  2117. wrapperEl.appendChild(ulistEl);
  2118. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2119. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2120. }
  2121. else
  2122. { //compact view
  2123. trimFilename = true;
  2124. docFrag = document.createDocumentFragment();
  2125. docFrag.appendChild(document.createTextNode(' |'));
  2126. while (i--)
  2127. {
  2128. mcRedirectorID = mcRedirectorIDs[i];
  2129. hostName = mcHostURLs[i];
  2130. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2131. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2132. else
  2133. hostName = mcShortHostNames[mcRedirectorID];
  2134. aEl = document.createElement('a');
  2135. aEl.href = mcHostURLs[i];
  2136. aEl.className = 'container_link';
  2137. aEl.appendChild(document.createTextNode(hostName));
  2138. docFrag.appendChild(aEl);
  2139. docFrag.appendChild(document.createTextNode('|'));
  2140. }
  2141. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2142. } //end of else block
  2143. } //end of else block
  2144. mcLink.className = '';
  2145. if (trimFilename)
  2146. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2147. cMirrorcreatorComProcessed++;
  2148. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2149. {
  2150. if (Do_not_linkify_DL_links)
  2151. delinkifySnapshot(mcSnapshot);
  2152. startBulkCheck('container_link');
  2153. start('container_link');
  2154. }
  2155. } //end of function processMirrorcreatorFoundHosts
  2156.  
  2157. containers_processed = true;
  2158.  
  2159.  
  2160. function initRedirectors()
  2161. {
  2162. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2163. {
  2164. var redirector = new Object();
  2165. redirector.linkRegex = linkRegex;
  2166. redirector.xpath = xpathEx; //xpath expression
  2167. redirector.cProcessed = 0; //processed links count
  2168. redirector.cTotal = 0; //total links count
  2169. redirector.type = redirType; //redirectorTypes enum
  2170. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2171. redirectors.push(redirector);
  2172. }
  2173. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2174. {
  2175. addRedirector(
  2176. 'safelinking\\.net\/d\/\\w+',
  2177. "//a[contains(@href,'safelinking.net/d/')]",
  2178. redirectorTypes.HTTP_302,
  2179. null);
  2180. }
  2181. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2182. {
  2183. addRedirector(
  2184. 'linksafe\\.me\/d\/\\w+',
  2185. "//a[contains(@href,'linksafe.me/d/')]",
  2186. redirectorTypes.HTTP_302,
  2187. null);
  2188. }
  2189. if (GM_getValue("Check_linkto_dot_net_links", false))
  2190. {
  2191. addRedirector(
  2192. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2193. "//a[contains(@href,'linkto.net/?')]",
  2194. redirectorTypes.INNER_LINK,
  2195. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2196. }
  2197. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2198. {
  2199. addRedirector(
  2200. '(?:the)?loo\\.katt\\.it\/\\w+',
  2201. "//a[contains(@href,'loo.katt.it/')]",
  2202. redirectorTypes.THELOO_KATT_IT,
  2203. /Proceed to URL - <a href="(.+?)">/);
  2204. }
  2205. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2206. {
  2207. addRedirector(
  2208. 'madlink\\.sk\/\\w+',
  2209. "//a[contains(@href,'madlink.sk/')]",
  2210. redirectorTypes.INNER_LINK,
  2211. /name="url" value="(.+?)\s*"\/>/);
  2212. }
  2213. if (GM_getValue("Check_adf_dot_ly_links", false))
  2214. {
  2215. addRedirector(
  2216. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2217. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2218. redirectorTypes.ADF_LY,
  2219. null);
  2220. }
  2221. if (GM_getValue("Check_redi_dot_re_links", false))
  2222. {
  2223. addRedirector(
  2224. 'redi\\.re\/\\w+',
  2225. "//a[contains(@href,'redi.re/')]",
  2226. redirectorTypes.HTTP_302,
  2227. null);
  2228. }
  2229. if (GM_getValue("Check_bit_dot_ly_links", false))
  2230. {
  2231. addRedirector(
  2232. 'bit\\.ly\/\\w+',
  2233. "//a[contains(@href,'bit.ly/')]",
  2234. redirectorTypes.HTTP_302,
  2235. null);
  2236. }
  2237. }
  2238.  
  2239. }
  2240.  
  2241. var bulkHosts = new Array();
  2242. var bulkHostNames = new Array();
  2243. function initBulkCheck()
  2244. {
  2245. /////////////////////////////
  2246. // Inits filehost object
  2247. /////////////////////////////
  2248. // params :
  2249. // hostName -- [string] host name (multiple domains separated with coma)
  2250. // linkRegex -- [string] link regex
  2251. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2252. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2253. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2254. // corrReplWhat -- [regex] link correction regex (replace)
  2255. // corrReplWith -- [string]
  2256. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2257. //
  2258. // apiUrl -- [string] web linkchecker or API URL
  2259. // postData -- [string] POSTDATA of xmlhttprequest
  2260. // resLinkRegex -- [regex]
  2261. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2262. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2263. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2264. // func -- [function] bulkcheck handler, genBulkCheck if null
  2265. //
  2266. //////////////////////////////
  2267. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2268. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2269. {
  2270. var fileHost = new Object();
  2271.  
  2272. fileHost.linkRegex = linkRegex;
  2273. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2274. fileHost.xpath = xpath;
  2275. fileHost.cFound = 0; //found links counter
  2276. fileHost.links = new Array(); //found links
  2277. if (blockSize == null)
  2278. {
  2279. fileHost.blockSize = 50;
  2280. }
  2281. else
  2282. {
  2283. fileHost.blockSize = blockSize;
  2284. }
  2285. fileHost.corrMatch = corrMatch;
  2286. fileHost.corrReplWhat = corrReplWhat;
  2287. fileHost.corrReplWith = corrReplWith;
  2288. if (splitSeparator == null)
  2289. {
  2290. fileHost.splitSeparator = "\r\n";
  2291. }
  2292. else
  2293. {
  2294. fileHost.splitSeparator = splitSeparator;
  2295. }
  2296. fileHost.apiUrl = apiUrl;
  2297. fileHost.postData = postData;
  2298. fileHost.resLinkRegex = resLinkRegex;
  2299. fileHost.resLiveRegex = resLiveRegex;
  2300. fileHost.resDeadRegex = resDeadRegex;
  2301. fileHost.resUnavaRegex = resUnavaRegex;
  2302. if (func == null)
  2303. {
  2304. fileHost.func = genBulkCheck;
  2305. }
  2306. else
  2307. {
  2308. fileHost.func = func;
  2309. }
  2310. bulkHosts.push(fileHost);
  2311. var names = hostName.split(',');
  2312. var i = names.length;
  2313. while(i--)
  2314. {
  2315. bulkHostNames[names[i]] = fileHost;
  2316. }
  2317. }
  2318. var genType1 = [
  2319. "rodfile.com", "downloadani.me", //"migahost.com",
  2320. "rarefile.net",
  2321. "filesabc.com",
  2322. "verzend.be",
  2323. // "movreel.com",
  2324. "4up.me",
  2325. "file4safe.com", "filemac.com",
  2326. "idup.in", "novafile.com", "longfiles.com",
  2327. "bitupload.com",
  2328. "uploadbaz.com"
  2329. ];
  2330. var genType2 = [ "queenshare.com",
  2331. "hulkload.com",
  2332. "amonshare.com", //"edoc.com",
  2333. ];
  2334. //xfilesharing 1.0
  2335. function addGenericType1()
  2336. {
  2337. var i = genType1.length;
  2338. while(i--)
  2339. {
  2340. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2341. {
  2342. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2343. addHost(
  2344. genType1[i].match(/[\w-]+/)[0], //hostname
  2345. regexSafe + "\/\\w+", //linkregex
  2346. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2347. null, //blocksize
  2348. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2349. null, //corrreplwhat
  2350. null, //corrreplwith
  2351. null, //separator
  2352. "http://" + genType1[i] + "/checkfiles.html", //api url
  2353. "op=checkfiles&process=Check+URLs&list=", //postdata
  2354. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2355. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2356. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2357. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2358. null //function delegate
  2359. )
  2360. }
  2361. }
  2362. }
  2363. //xfilesharing 2.0
  2364. function addGenericType2()
  2365. {
  2366. var i = genType2.length;
  2367. while(i--)
  2368. {
  2369. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2370. {
  2371. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2372. addHost(
  2373. genType2[i].match(/[\w-]+/)[0], //hostname
  2374. regexSafe + "\/\\w+", //linkregex
  2375. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2376. null, //blocksize
  2377. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2378. null, //corrreplwhat
  2379. null, //corrreplwith
  2380. null, //separator
  2381. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2382. "op=checkfiles&process=Check+URLs&list=", //postdata
  2383. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2384. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2385. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2386. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2387. null //function delegate
  2388. )
  2389. }
  2390. }
  2391. }
  2392. // TEMPLATE
  2393. // if (GM_getValue("Check__dot_com_links", false))
  2394. // {
  2395. // addHost(
  2396. // "", //hostname
  2397. // "", //linkregex
  2398. // "//a[contains(@href,'.com/')]", //xpath
  2399. // null, //blocksize
  2400. // null, //corrmatch
  2401. // null, //corrreplwhat
  2402. // null, //corrreplwith
  2403. // null, //separator
  2404. // "", //api url
  2405. // "", //postdata
  2406. // /()/, //linkregex
  2407. // //liveregex
  2408. // //deadregex
  2409. // //unavaregex
  2410. // null //function delegate
  2411. // )
  2412. // }
  2413. addGenericType1();
  2414. addGenericType2();
  2415.  
  2416. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2417. {
  2418. addHost(
  2419. "myvdrive,fileserving", //hostname
  2420. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2421. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2422. null, //blocksize
  2423. null, //corrmatch
  2424. null, //corrreplwhat
  2425. null, //corrreplwith
  2426. null, //separator
  2427. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2428. "links=", //postdata
  2429. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2430. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2431. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2432. null, //unavaregex
  2433. null //function delegate
  2434. )
  2435. }
  2436. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2437. {
  2438. addHost(
  2439. "hackerbox", //hostname
  2440. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2441. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2442. null, //blocksize
  2443. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2444. null, //corrreplwhat
  2445. null, //corrreplwith
  2446. null, //separator
  2447. "http://host.hackerbox.org/checkfiles.html", //api url
  2448. "op=checkfiles&process=Check+URLs&list=", //postdata
  2449. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2450. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2451. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2452. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2453. null //function delegate
  2454. )
  2455. }
  2456. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2457. {
  2458. addHost(
  2459. "hellshare", //hostname
  2460. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2461. "//a[contains(@href,'hellshare.')]", //xpath
  2462. 48, //blocksize
  2463. null, //corrmatch
  2464. null, //corrreplwhat
  2465. null, //corrreplwith
  2466. null, //separator
  2467. null, //api url
  2468. null, //postdata
  2469. null, //linkregex
  2470. null, //liveregex
  2471. null, //deadregex
  2472. null, //unavaregex
  2473. hellshareBulkCheck //function delegate
  2474. )
  2475. }
  2476. /* if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2477. {
  2478. addHost(
  2479. "ncrypt", //hostname
  2480. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2481. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2482. 100000, //blocksize
  2483. null, //corrmatch
  2484. null, //corrreplwhat
  2485. null, //corrreplwith
  2486. null, //separator
  2487. null,
  2488. null,
  2489. null,
  2490. null,
  2491. null,
  2492. null,
  2493. ncryptBulkCheck //function delegate
  2494. )
  2495. } */
  2496. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2497. {
  2498. addHost(
  2499. "uploadrocket", //hostname
  2500. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2501. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2502. null, //blocksize
  2503. null, //corrmatch
  2504. null, //corrreplwhat
  2505. null, //corrreplwith
  2506. "\n", //separator
  2507. 'http://uploadrocket.net/?op=checkfiles',
  2508. 'op=checkfiles&process=Check+URLs&list=',
  2509. /uploadrocket.net\/(\w+)/,
  2510. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2511. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2512. null,
  2513. null //function delegate
  2514. )
  2515. }
  2516. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2517. {
  2518. addHost(
  2519. "k2s,keep2s,keep2share",
  2520. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2521. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2522. 100000, //blocksize
  2523. null, //corrmatch
  2524. null, //corrreplwhat
  2525. null, //corrreplwith
  2526. null, //separator
  2527. null,
  2528. null,
  2529. null,
  2530. null,
  2531. null,
  2532. null,
  2533. k2sBulkCheck //function delegate
  2534. )
  2535. }
  2536. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2537. {
  2538. addHost(
  2539. "tezfiles",
  2540. "(?:tezfiles\\.com)\/\\w+",
  2541. "//a[contains(@href,'tezfiles.com')]",
  2542. 100000, //blocksize
  2543. null, //corrmatch
  2544. null, //corrreplwhat
  2545. null, //corrreplwith
  2546. null, //separator
  2547. null,
  2548. null,
  2549. null,
  2550. null,
  2551. null,
  2552. null,
  2553. k2sBulkCheck //function delegate
  2554. )
  2555. }
  2556. if (GM_getValue("Check_fboom_dot_me_links", false))
  2557. {
  2558. addHost(
  2559. "fboom,fileboom",
  2560. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2561. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2562. 100000, //blocksize
  2563. null, //corrmatch
  2564. null, //corrreplwhat
  2565. null, //corrreplwith
  2566. null, //separator
  2567. null,
  2568. null,
  2569. null,
  2570. null,
  2571. null,
  2572. null,
  2573. fboomBulkCheck //function delegate
  2574. )
  2575. }
  2576. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2577. {
  2578. addHost(
  2579. "1fichier,dl4free",
  2580. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2581. "//a[contains(@href,'.1fichier.com') or contains(@href,'1fichier.com?') or contains(@href,'1fichier.com/?') or contains(@href,'.dl4free.com') or contains(@href,'dl4free.com?')or contains(@href,'dl4free.com/?')]",
  2582. 100000, //blocksize
  2583. null, //corrmatch
  2584. null, //corrreplwhat
  2585. null, //corrreplwith
  2586. null, //separator
  2587. null,
  2588. null,
  2589. null,
  2590. null,
  2591. null,
  2592. null,
  2593. dl4free_1fichier_BulkCheck //function delegate
  2594. )
  2595. }
  2596. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2597. {
  2598. addHost(
  2599. "nitroflare",
  2600. "nitroflare\\.com\/\\w+",
  2601. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2602. 100000, //blocksize
  2603. null, //corrmatch
  2604. null, //corrreplwhat
  2605. null, //corrreplwith
  2606. null, //separator
  2607. null,
  2608. null,
  2609. null,
  2610. null,
  2611. null,
  2612. null,
  2613. nitroflareBulkCheck //function delegate
  2614. )
  2615. }
  2616. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2617. {
  2618. addHost(
  2619. "depositfiles,dfiles",
  2620. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2621. "//a[contains(@href,'depositfiles.lt/files/') or contains(@href,'depositfiles.com/files/') or contains(@href,'depositfiles.com/en/files/') or contains(@href,'depositfiles.com/es/files/') or contains(@href,'depositfiles.org/files/') or contains(@href,'dfiles.ru/files/') or contains(@href,'dfiles.eu/files/') or contains(@href,'dfiles.eu/en/files/') or contains(@href,'dfiles.eu/de/files/') or contains(@href,'dfiles.eu/es/files/') or contains(@href,'dfiles.eu/ru/files/')]",
  2622. 100000, //blocksize
  2623. null, //corrmatch
  2624. null, //corrreplwhat
  2625. null, //corrreplwith
  2626. null, //separator
  2627. null,
  2628. null,
  2629. null,
  2630. null,
  2631. null,
  2632. null,
  2633. depositfilesBulkCheck //function delegate
  2634. )
  2635. }
  2636. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2637. {
  2638. addHost(
  2639. "filesflash", //hostname
  2640. "filesflash\\.com\/\\w+", //linkregex
  2641. "//a[contains(@href,'filesflash.com')]", //xpath
  2642. null, //blocksize
  2643. null, //corrmatch
  2644. /http:\/\//, //corrreplwhat
  2645. '', //corrreplwith
  2646. null, //separator
  2647. 'http://filesflash.com/checklinks.php',
  2648. 'submit=Go&links=',
  2649. /filesflash\.com\/(\w+)/,
  2650. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2651. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2652. null,
  2653. null //function delegate
  2654. )
  2655. }
  2656. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2657. {
  2658. addHost(
  2659. "jumbofiles", //hostname
  2660. "jumbofiles\\.com\/\\w+", //linkregex
  2661. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2662. null, //blocksize
  2663. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2664. null, //corrreplwhat
  2665. null, //corrreplwith
  2666. null, //separator
  2667. "http://jumbofiles.com/checkfiles.html", //api url
  2668. "op=checkfiles&process=Check+URLs&list=", //postdata
  2669. /(jumbofiles\.com\/\w+)/, //linkregex
  2670. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2671. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2672. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2673. null //function delegate
  2674. )
  2675. }
  2676. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2677. {
  2678. addHost(
  2679. "edisk", //hostname
  2680. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2681. "//a[contains(@href,'edisk.')]", //xpath
  2682. null, //blocksize
  2683. null, //corrmatch
  2684. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2685. 'edisk.cz/stahni', //corrreplwith
  2686. null, //separator
  2687. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2688. 'submitBtn=Zkontrolovat&checkFiles=',
  2689. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2690. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2691. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2692. null,
  2693. null //function delegate
  2694. )
  2695. }
  2696. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2697. {
  2698. GM_xmlhttpRequest( //age check skip
  2699. {
  2700. method: 'POST',
  2701. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2702. headers: {
  2703. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2704. 'Content-type': 'application/x-www-form-urlencoded',
  2705. 'Referer': ""
  2706. }
  2707. });
  2708. addHost(
  2709. "bezvadata", //hostname
  2710. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2711. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2712. null, //blocksize
  2713. null, //corrmatch
  2714. null, //corrreplwhat
  2715. null, //corrreplwith
  2716. null, //separator
  2717. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2718. 'zkontrolovat=Zkontrolovat&odkazy=',
  2719. /(bezvadata\.cz\/stahnout\/\d+)/,
  2720. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2721. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2722. null,
  2723. null //function delegate
  2724. )
  2725. }
  2726. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2727. {
  2728. addHost(
  2729. "linkcrypt", //hostname
  2730. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2731. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2732. 100000, //blocksize
  2733. null, //corrmatch
  2734. null, //corrreplwhat
  2735. null, //corrreplwith
  2736. null, //separator
  2737. null,
  2738. null,
  2739. null,
  2740. null,
  2741. null,
  2742. null,
  2743. linkcryptBulkCheck //function delegate
  2744. )
  2745. }
  2746. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2747. {
  2748. addHost(
  2749. "linksave", //hostname
  2750. "linksave\\.in\/\\w+", //linkregex
  2751. "//a[contains(@href,'linksave.in')]", //xpath
  2752. 100000, //blocksize
  2753. null, //corrmatch
  2754. null, //corrreplwhat
  2755. null, //corrreplwith
  2756. null, //separator
  2757. null,
  2758. null,
  2759. null,
  2760. null,
  2761. null,
  2762. null,
  2763. linksaveBulkCheck //function delegate
  2764. )
  2765. } */
  2766. if (GM_getValue("Check_videobb_dot_com_links", false))
  2767. {
  2768. addHost(
  2769. "videobb", //hostname
  2770. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2771. "//a[contains(@href,'videobb.com')]", //xpath
  2772. null, //blocksize
  2773. null, //corrmatch
  2774. /watch_video\.php\?v=/, //corrreplwhat
  2775. 'video/', //corrreplwith
  2776. null, //separator
  2777. 'http://www.videobb.com/link_checker.php',
  2778. 'links=',
  2779. /videobb\.com\/video\/(\w+)/,
  2780. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2781. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2782. null,
  2783. null //function delegate
  2784. )
  2785. }
  2786. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2787. {
  2788. addHost(
  2789. "cramit,cramitin", //hostname
  2790. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2791. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2792. null, //blocksize
  2793. null, //corrmatch
  2794. null, //corrreplwhat
  2795. null, //corrreplwith
  2796. null, //separator
  2797. 'http://cramit.in/checkfiles.html',
  2798. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2799. /(cramit(?:\.in|in\.net)\/\w+)/,
  2800. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2801. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2802. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2803. null //function delegate
  2804. )
  2805. }
  2806. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2807. {
  2808. addHost(
  2809. "turbobit", //hostname
  2810. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2811. "//a[contains(@href,'turbobit.')]", //xpath
  2812. null, //blocksize
  2813. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2814. null, //corrreplwhat
  2815. null, //corrreplwith
  2816. "\n", //separator
  2817. 'http://turbobit.net/linkchecker/csv',
  2818. 'links_to_check=',
  2819. /(turbobit\.(?:net|pl)\/\w+)/,
  2820. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2821. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2822. null,
  2823. null //function delegate
  2824. )
  2825. } */
  2826. if (GM_getValue("Check_filerio_dot_com_links", false))
  2827. {
  2828. addHost(
  2829. "filekeen,filerio", //hostname
  2830. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2831. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2832. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2833. null, //blocksize
  2834. null, //corrmatch
  2835. null, //corrreplwhat
  2836. null, //corrreplwith
  2837. null, //separator
  2838. 'http://filerio.in/checkfiles.html',
  2839. 'op=checkfiles&process=Check+URLs&list=',
  2840. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2841. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2842. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2843. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2844. null //function delegate
  2845. )
  2846. }
  2847. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2848. {
  2849. addHost(
  2850. "share-online,egoshare", //hostname
  2851. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2852. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2853. null, //blocksize
  2854. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2855. null, //corrreplwhat
  2856. null, //corrreplwith
  2857. "\n", //separator
  2858. 'http://api.share-online.biz/linkcheck.php',
  2859. 'links=',
  2860. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2861. /\w+;OK/g,
  2862. /\w+;(?:NOTFOUND|DELETED)/g,
  2863. null,
  2864. null //function delegate
  2865. )
  2866. }
  2867. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2868. {
  2869. addHost(
  2870. "quickshare", //hostname
  2871. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2872. "//a[contains(@href,'quickshare.cz')]", //xpath
  2873. null, //blocksize
  2874. null, //corrmatch
  2875. null, //corrreplwhat
  2876. null, //corrreplwith
  2877. null, //separator
  2878. 'http://www.quickshare.cz/nastroje/link-checker',
  2879. 'linky=',
  2880. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2881. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2882. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2883. null,
  2884. null //function delegate
  2885. )
  2886. } */
  2887. if (GM_getValue("Check_oboom_dot_com_links", false))
  2888. {
  2889. addHost(
  2890. "oboom", //hostname
  2891. "oboom\\.com\/#?\\w{8}", //linkregex
  2892. "//a[contains(@href,'oboom.com/')]", //xpath
  2893. null, //blocksize
  2894. /oboom\.com\/#?(\w{8})/, //corrmatch
  2895. null, //corrreplwhat
  2896. null, //corrreplwith
  2897. null, //separator
  2898. null,
  2899. null,
  2900. null,
  2901. null, //liveregex
  2902. null, //deadregex
  2903. null,
  2904. oboomBulk //function delegate
  2905. )
  2906. }
  2907. if (GM_getValue("Check_mega_dot_nz_links", false))
  2908. {
  2909. addHost(
  2910. "mega",
  2911. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2912. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2913. 100000, //blocksize
  2914. null, //corrmatch
  2915. null, //corrreplwhat
  2916. null, //corrreplwith
  2917. null, //separator
  2918. null,
  2919. null,
  2920. null,
  2921. null,
  2922. null,
  2923. null,
  2924. megaBulkCheck //function delegate
  2925. )
  2926. }
  2927.  
  2928. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2929.  
  2930. if (GM_getValue("Check_extabit_dot_com_links", false))
  2931. {
  2932. addHost(
  2933. "extabit", //hostname
  2934. "extabit\\.com\/file\/\\w+", //linkregex
  2935. "//a[contains(@href,'extabit.com')]", //xpath
  2936. null, //blocksize
  2937. null, //corrmatch
  2938. null, //corrreplwhat
  2939. null, //corrreplwith
  2940. "\n", //separator
  2941. "http://extabit.com/linkchecker.jsp", //api url
  2942. "url=", //postdata
  2943. /extabit\.com\/(file\/\w+)/, //linkregex
  2944. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2945. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2946. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2947. extabitBulkCheck //function delegate
  2948. )
  2949. }
  2950. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2951. {
  2952. addHost(
  2953. "junocloud", //hostname
  2954. "junocloud\\.me\/\\w+", //linkregex
  2955. "//a[contains(@href,'junocloud.me')]", //xpath
  2956. null, //blocksize
  2957. null, //corrmatch
  2958. null, //corrreplwhat
  2959. null, //corrreplwith
  2960. "\n", //separator
  2961. "http://junocloud.me/checkfiles.html", //api url
  2962. "op=checkfiles&process=Check+URLs&list=", //postdata
  2963. /(junocloud\.me\/\w+)/, //linkregex
  2964. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2965. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2966. null, //unavaregex
  2967. null //function delegate
  2968. )
  2969. }
  2970. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2971. {
  2972. addHost(
  2973. "webshare", //hostname
  2974. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2975. "//a[contains(@href,'webshare.cz')]", //xpath
  2976. 100000, //blocksize
  2977. null, //corrmatch
  2978. null, //corrreplwhat
  2979. null, //corrreplwith
  2980. null, //separator
  2981. null, //api url
  2982. null, //postdata
  2983. null, //linkregex
  2984. null, //liveregex
  2985. null, //deadregex
  2986. null, //unavaregex
  2987. webshareBulkCheck //function delegate
  2988. )
  2989. }
  2990. /////////////////////////////
  2991. // Common function delegate to send links to get checked by host linkchecker
  2992. /////////////////////////////
  2993. // If you define a new delegate, you may use following properties
  2994. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2995. // this.apiUrl [string] API or web linkchecker URL
  2996. // this.postData [string] POSTDATA for POST request
  2997. // this.resLiveRegex [regex] matches live substrings in the request response
  2998. // this.resDeadRegex [regex] matches dead substrings in the request response
  2999. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  3000. //
  3001. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  3002. //
  3003. // See the code below for standard bulkcheck handling reference.
  3004. //////////////////////////////
  3005. function genBulkCheck()
  3006. {
  3007. var blockIdx = this.links.length;
  3008. while (blockIdx--)
  3009. {
  3010. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3011. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3012. }
  3013. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3014. {
  3015. GM_xmlhttpRequest(
  3016. {
  3017. method: 'POST',
  3018. url: api,
  3019. headers: {
  3020. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3021. 'Content-type': 'application/x-www-form-urlencoded',
  3022. 'Referer': api,
  3023. 'X-Requested-With': 'XMLHttpRequest'
  3024. },
  3025. data: postData + encodeURIComponent(links),
  3026. onload: function (result)
  3027. {
  3028. var res = result.responseText;
  3029. // GM_log(res);
  3030. var i;
  3031.  
  3032. var livelinks = res.match(liveRegex);
  3033. var deadlinks = res.match(deadRegex);
  3034. // GM_log(livelinks);
  3035. // GM_log(deadlinks);
  3036. if (livelinks != null)
  3037. {
  3038. i = livelinks.length - 1;
  3039. do
  3040. {
  3041. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3042. }
  3043. while (i--);
  3044. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3045. }
  3046.  
  3047. if (deadlinks != null)
  3048. {
  3049. i = deadlinks.length - 1;
  3050. do
  3051. {
  3052. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3053. }
  3054. while (i--);
  3055. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3056. }
  3057.  
  3058. if (unavaRegex != null)
  3059. {
  3060. var unavalinks = res.match(unavaRegex);
  3061. if (unavalinks)
  3062. {
  3063. i = unavalinks.length - 1;
  3064. do
  3065. {
  3066. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3067. }
  3068. while (i--);
  3069. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3070. }
  3071. }
  3072. }
  3073. });
  3074. }
  3075. }
  3076. //specialized bulkchecking handlers follow
  3077. function webshareBulkCheck()
  3078. {
  3079. var arr = this.links[0].split("\r\n");
  3080. var i = arr.length;
  3081. while(i--)
  3082. {
  3083. postRequest(arr[i]);
  3084. }
  3085. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3086. function postRequest(wsLink)
  3087. {
  3088. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3089. GM_xmlhttpRequest(
  3090. {
  3091. method: 'POST',
  3092. url: "http://webshare.cz/api/file_info/",
  3093. headers: {
  3094. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3095. 'Content-type': 'application/x-www-form-urlencoded',
  3096. 'Referer': "",
  3097. },
  3098. data: "wst=&ident=" + id,
  3099. onload: function (result)
  3100. {
  3101. var res = result.responseText;
  3102. if (res.match(/<name>.+?<\/name>/))
  3103. {
  3104. DisplayTheCheckedLinks([id], 'alive_link');
  3105. }
  3106. else
  3107. {
  3108. DisplayTheCheckedLinks([id], 'adead_link');
  3109. }
  3110. }
  3111. });
  3112. }
  3113. }
  3114. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3115. //extabit also doesn't like requests in fast succession, so some delays are added.
  3116. function extabitBulkCheck()
  3117. {
  3118. var timeoutDelay = 0;
  3119. var blockIdx = this.links.length;
  3120. while (blockIdx--)
  3121. {
  3122. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3123. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3124. }
  3125. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3126. {
  3127. GM_xmlhttpRequest(
  3128. {
  3129. method: 'POST',
  3130. url: api,
  3131. headers: {
  3132. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3133. 'Content-type': 'application/x-www-form-urlencoded',
  3134. 'Referer': api,
  3135. 'X-Requested-With': 'XMLHttpRequest'
  3136. },
  3137. data: postData + encodeURIComponent(links),
  3138. onload: function (result)
  3139. {
  3140. var res = result.responseText;
  3141. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3142. {
  3143. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3144. {
  3145. //GM_log(tryID + ': ' + link);
  3146. GM_xmlhttpRequest(
  3147. {
  3148. method: 'GET',
  3149. url: link,
  3150. 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': ""},
  3151. onload: function(result2)
  3152. {
  3153. var res2 = result2.responseText;
  3154. var res2Status = result.status;
  3155. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3156. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3157. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3158. {
  3159. if (tryID < 7)
  3160. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3161. else
  3162. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3163. }
  3164. }
  3165. });
  3166. }
  3167. //split the hrefs and check them one by one
  3168. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3169. links = links.split('\n');
  3170. var i = links.length;
  3171. while (i--)
  3172. {
  3173. if (links[i])
  3174. {
  3175. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3176. timeoutDelay += 500;
  3177. }
  3178. }
  3179. return;
  3180. }
  3181. var i;
  3182.  
  3183. var livelinks = res.match(liveRegex);
  3184. var deadlinks = res.match(deadRegex);
  3185. if (livelinks != null)
  3186. {
  3187. i = livelinks.length - 1;
  3188. do
  3189. {
  3190. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3191. }
  3192. while (i--);
  3193. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3194. }
  3195.  
  3196. if (deadlinks != null)
  3197. {
  3198. i = deadlinks.length - 1;
  3199. do
  3200. {
  3201. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3202. }
  3203. while (i--);
  3204. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3205. }
  3206.  
  3207. if (unavaRegex != null)
  3208. {
  3209. var unavalinks = res.match(unavaRegex);
  3210. if (unavalinks)
  3211. {
  3212. i = unavalinks.length - 1;
  3213. do
  3214. {
  3215. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3216. }
  3217. while (i--);
  3218. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3219. }
  3220. }
  3221. }
  3222. });
  3223. }
  3224. }
  3225. function k2sBulkCheck()
  3226. {
  3227. var arr = this.links[0].split("\r\n");
  3228. var i = arr.length;
  3229. c=0;
  3230. arrIDs=[];
  3231. while(i--)
  3232. {
  3233. id = arr[i].match(/\/file\/(\w+)/)[1];
  3234. if (id=='info')
  3235. {
  3236. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3237. continue;
  3238. }
  3239. k2salreadyexist=false;
  3240. for (j=0;j<arrIDs.length;j++)
  3241. {
  3242. if (arrIDs[j]==id)
  3243. {
  3244. k2salreadyexist=g
  3245. break;
  3246. }
  3247. }
  3248. if (k2salreadyexist) continue;
  3249. arrIDs.push(id);
  3250. c++;
  3251. setTimeout(k2sRequest,c*500,arr[i]);
  3252. }
  3253. }
  3254. function k2sRequest(K2SLink)
  3255. {
  3256. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3257. GM_xmlhttpRequest(
  3258. {
  3259. method: 'GET',
  3260. url: K2SLink,
  3261. headers: {
  3262. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3263. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3264. 'Referer': ''
  3265. },
  3266. onload: function (result)
  3267. {
  3268. var res = result.responseText;
  3269. K2Dom='k2s.cc';
  3270. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3271. K2SLink2='http://'+K2Dom+'/file/'+id;
  3272.  
  3273. if (res.match('div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available'))
  3274. {
  3275. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3276. return;
  3277. }
  3278. if (res.match('method="post">Displaying'))
  3279. {
  3280. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3281. return;
  3282. }
  3283. if (res.match('Premium only'))
  3284. {
  3285. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3286. return;
  3287. }
  3288. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3289. {
  3290. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3291. slID=slow_id.exec(res)[1];
  3292. GM_xmlhttpRequest(
  3293. {
  3294. method: 'POST',
  3295. url: K2SLink2,
  3296. headers: {
  3297. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3298. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3299. 'Content-Type': 'application/x-www-form-urlencoded',
  3300. 'Referer': K2SLink
  3301. },
  3302. data: 'slow_id='+slID+'&yt0=',
  3303. onload: function (result)
  3304. {
  3305. var newres = result.responseText;
  3306. newoversizedtest=new RegExp("Free user can't download large files.");
  3307. if (newoversizedtest.test(newres))
  3308. {
  3309. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3310. return;
  3311. }
  3312. else
  3313. {
  3314. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3315. return;
  3316. }
  3317. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3318. return;
  3319. }
  3320. });
  3321. /////////////////////end additional check for oversized links
  3322. return;
  3323. }
  3324. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3325. return;
  3326. },
  3327. onerror: function ()
  3328. {
  3329. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3330. return;
  3331. }
  3332. });
  3333. }
  3334. function fboomBulkCheck()
  3335. {
  3336. var arr = this.links[0].split("\r\n");
  3337. var i = arr.length;
  3338. c=0;
  3339. arrIDs=[];
  3340. while(i--)
  3341. {
  3342. id = arr[i].match(/\/file\/(\w+)/)[1];
  3343. if (id=='info')
  3344. {
  3345. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3346. continue;
  3347. }
  3348. fbalreadyexist=false;
  3349. for (j=0;j<arrIDs.length;j++)
  3350. {
  3351. if (arrIDs[j]==id)
  3352. {
  3353. fbalreadyexist=true;
  3354. break;
  3355. }
  3356. }
  3357. if (fbalreadyexist) continue;
  3358. arrIDs.push(id);
  3359. c++;
  3360. setTimeout(fboomRequest,c*500,arr[i]);
  3361. }
  3362. }
  3363. function fboomRequest(FBoomLink)
  3364. {
  3365. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3366. FBoomLink2='http://fboom.me/file/'+id;
  3367. GM_xmlhttpRequest(
  3368. {
  3369. method: 'GET',
  3370. url: FBoomLink,
  3371. headers: {
  3372. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3373. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3374. 'Referer': ''
  3375. },
  3376. onload: function (result)
  3377. {
  3378. var res = result.responseText;
  3379. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3380. {
  3381. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3382. return;
  3383. }
  3384. if (res.match('method="post">Displaying'))
  3385. {
  3386. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3387. return;
  3388. }
  3389. if (res.match('only for premium members'))
  3390. {
  3391. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3392. return;
  3393. }
  3394. if (res.match('id="download-free" href="#"'))
  3395. {
  3396. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3397. slID=slow_id.exec(res)[1];
  3398. GM_xmlhttpRequest(
  3399. {
  3400. method: 'POST',
  3401. url: FBoomLink2,
  3402. headers: {
  3403. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3404. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3405. 'Content-Type': 'application/x-www-form-urlencoded',
  3406. 'Referer': FBoomLink
  3407. },
  3408. data: 'slow_id='+slID,
  3409. onload: function (result)
  3410. {
  3411. var newres = result.responseText;
  3412. newoversizedtest=new RegExp("Downloading is not possible");
  3413. if (newoversizedtest.test(newres))
  3414. {
  3415. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3416. return;
  3417. }
  3418. else
  3419. {
  3420. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3421. return;
  3422. }
  3423. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3424. return;
  3425. }
  3426. });
  3427. /////////////////////end additional check for oversized links
  3428. return;
  3429. }
  3430. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3431. return;
  3432. },
  3433. onerror: function ()
  3434. {
  3435. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3436. return;
  3437. }
  3438. });
  3439. }
  3440. function dl4free_1fichier_BulkCheck()
  3441. {
  3442. var arr = this.links[0].split("\r\n");
  3443. var i = arr.length;
  3444. while(i--)
  3445. {
  3446. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3447. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3448. gethead_dl4free_1fichier(arr[i]);
  3449. }
  3450. }
  3451. function gethead_dl4free_1fichier(link)
  3452. {
  3453. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3454. GM_xmlhttpRequest(
  3455. {
  3456. method: 'HEAD',
  3457. url: link,
  3458. headers: {
  3459. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3460. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3461. 'Referer': ''
  3462. },
  3463. onload: function (result)
  3464. {
  3465. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3466. {
  3467. DisplayTheCheckedLinks([id], 'alive_link');
  3468. return;
  3469. }
  3470. else
  3471. {
  3472. getlink_dl4free_1fichier(link);
  3473. }
  3474. return;
  3475. },
  3476. onerror: function ()
  3477. {
  3478. DisplayTheCheckedLinks([id], 'unava_link');
  3479. }
  3480. });
  3481. }
  3482. function getlink_dl4free_1fichier(link)
  3483. {
  3484. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3485. GM_xmlhttpRequest(
  3486. {
  3487. method: 'GET',
  3488. url: link,
  3489. headers: {
  3490. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3491. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3492. 'Referer': ''
  3493. },
  3494. onload: function (result)
  3495. {
  3496. var res = result.responseText;
  3497. deadRegex=new RegExp('The requested file has been deleted|File not found|file could not be found|Select files to send|Selectionnez les fichiers a envoyer|file has been deleted|Le fichier demande a ete supprime|Le fichier demandé n');
  3498. if (deadRegex.test(res))
  3499. {
  3500. DisplayTheCheckedLinks([id], 'adead_link');
  3501. return;
  3502. }
  3503. premiumRegex=new RegExp('only for premium users');
  3504. if (premiumRegex.test(res))
  3505. {
  3506. DisplayTheCheckedLinks([id], 'prem_link');
  3507. return;
  3508. }
  3509. liveRegex=new RegExp('<title>Download</title>|<br/>You must wait|submit" value="Download|Download without SSL encryption|submit" value="Telecharger|submit" value="Telecharger|ok btn-general btn-orange|<input type="submit" value="');
  3510. if (liveRegex.test(res))
  3511. {
  3512. DisplayTheCheckedLinks([id], 'alive_link');
  3513. return;
  3514. }
  3515. DisplayTheCheckedLinks([id], 'unava_link');
  3516. },
  3517. onerror: function ()
  3518. {
  3519. DisplayTheCheckedLinks([id], 'unava_link');
  3520. }
  3521. });
  3522. }
  3523. function nitroflareBulkCheck()
  3524. {
  3525. var arr = this.links[0].split("\r\n");
  3526. var i = arr.length;
  3527. while(i--)
  3528. {
  3529. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3530. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3531. NitroFlareRequest(arr[i]);
  3532. }
  3533. }
  3534. function NitroFlareRequest(NFLink)
  3535. {
  3536. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3537. GM_xmlhttpRequest(
  3538. {
  3539. method: "GET",
  3540. url: NFLink,
  3541. headers: {
  3542. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3543. 'Content-Type': 'application/x-www-form-urlencoded',
  3544. 'Referer': ""
  3545. },
  3546. onload: function (result)
  3547. {
  3548. var res = result.responseText;
  3549. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3550. {
  3551. DisplayTheCheckedLinks([NFID], 'adead_link');
  3552. return;
  3553. }
  3554. if (res.match('Report this file<\/a>'))
  3555. {
  3556. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3557. sizearr=measureRegex.exec(res);
  3558. if (sizearr[2]=='GB')
  3559. {
  3560. if (parseFloat(sizearr[1])>1)
  3561. {
  3562. DisplayTheCheckedLinks([NFID], 'prem_link');
  3563. }
  3564. else
  3565. {
  3566. DisplayTheCheckedLinks([NFID], 'alive_link');
  3567. }
  3568. }
  3569. else
  3570. {
  3571. DisplayTheCheckedLinks([NFID], 'alive_link');
  3572. }
  3573. return;
  3574. }
  3575. DisplayTheCheckedLinks([NFID], 'unava_link');
  3576. }
  3577. });
  3578. }
  3579. function depositfilesBulkCheck()
  3580. {
  3581. var arr = this.links[0].split("\r\n");
  3582. var i = arr.length;
  3583. var seqno = Math.floor(Math.random()*1000000000);
  3584. while(i--)
  3585. {
  3586. DFpostRequest(arr[i]);
  3587. }
  3588. }
  3589. function DFpostRequest(DFLink)
  3590. {
  3591. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3592. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3593. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3594. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3595. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3596. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3597. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3598. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3599. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3600. GM_xmlhttpRequest(
  3601. {
  3602. method: "GET",
  3603. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3604. headers: {
  3605. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3606. 'Content-Type': 'application/x-www-form-urlencoded',
  3607. 'Referer': ""
  3608. },
  3609. onload: function (result)
  3610. {
  3611. var res = result.responseText;
  3612. if (res.match('(?:no_file|file_ban)'))
  3613. {
  3614. DisplayTheCheckedLinks([id], 'adead_link');
  3615. return;
  3616. }
  3617. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3618. {
  3619. DisplayTheCheckedLinks([id], 'alive_link');
  3620. return;
  3621. }
  3622. DisplayTheCheckedLinks([id], 'unava_link');
  3623. }
  3624. });
  3625. }
  3626.  
  3627. function megaBulkCheck()
  3628. {
  3629. var arr = this.links[0].split("\r\n");
  3630. var i = arr.length;
  3631. var seqno = Math.floor(Math.random()*1000000000);
  3632. while(i--)
  3633. {
  3634. postRequest(arr[i]);
  3635. }
  3636. function postRequest(megaLink)
  3637. {
  3638. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3639. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3640. GM_xmlhttpRequest(
  3641. {
  3642. method: "POST",
  3643. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3644. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3645. headers: {
  3646. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3647. 'Content-Type': 'application/xml',
  3648. 'Referer': "https://mega.co.nz/"
  3649. },
  3650. onload: function (result)
  3651. {
  3652. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3653. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3654. {
  3655.  
  3656. DisplayTheCheckedLinks([id], 'adead_link');
  3657. }
  3658. if (res.at)
  3659. {
  3660. DisplayTheCheckedLinks([id], 'alive_link');
  3661. }
  3662. if (res.e == "ETEMPUNAVAIL")
  3663. {
  3664. DisplayTheCheckedLinks([id], 'unava_link');
  3665. }
  3666. }
  3667. });
  3668. }
  3669.  
  3670. }
  3671.  
  3672. function oboomBulk() {
  3673. var a = [], b = [], c = [];
  3674. var array = this.links;
  3675.  
  3676. GM_xmlhttpRequest({
  3677. method: 'GET',
  3678. url: 'https://www.oboom.com/1/guestsession',
  3679. headers: {
  3680. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3681. 'Content-type': 'application/x-www-form-urlencoded',
  3682. 'Referer': 'https://www.oboom.com',
  3683. 'X-Requested-With': 'XMLHttpRequest'
  3684. },
  3685. onload: function(result) {
  3686. var blockIdx = array.length;
  3687. var token = JSON.parse(result.responseText)[1];
  3688. while (blockIdx--) {
  3689. startCheck(array[blockIdx].split('\r\n'), token);
  3690. }
  3691. }
  3692. });
  3693.  
  3694. function startCheck(links, token) {
  3695. GM_xmlhttpRequest({
  3696. method: 'POST',
  3697. url: "https://api.oboom.com/1/info",
  3698. headers: {
  3699. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3700. 'Content-type': 'application/x-www-form-urlencoded',
  3701. 'Referer': 'https://www.oboom.com/',
  3702. 'X-Requested-With': 'XMLHttpRequest'
  3703. },
  3704. data: "token=" + token + "&items=" + links.join(","),
  3705. onload: function(result) {
  3706. var res = JSON.parse(result.responseText)[1];
  3707. var i = res.length, s;
  3708.  
  3709. while (i--) {
  3710. s = res[i].state;
  3711. if (s == 'online') a.push(res[i].id);
  3712. else if (s == 'blocked' || s == 'abused' || s == 'lost' || s == 'not_found' || s == 'not_available'|| s == 'download_error' || s == 'offline' || s == 'expired' ) b.push(res[i].id);
  3713. else c.push(res[i].id);
  3714. }
  3715.  
  3716. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3717. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3718. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3719. }
  3720. });
  3721. }
  3722. }
  3723. /* function linksaveBulkCheck()
  3724. {
  3725. var arr = this.links[0].split("\r\n");
  3726. var i = arr.length;
  3727. while(i--)
  3728. {
  3729. postRequest(arr[i]);
  3730. }
  3731. function postRequest(lsLink)
  3732. {
  3733. GM_xmlhttpRequest(
  3734. {
  3735. method: "GET",
  3736. url: lsLink + '-t.jpg',
  3737. headers: {
  3738. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3739. 'Accept': 'text/xml',
  3740. 'Referer': ""
  3741. },
  3742. onload: function (result)
  3743. {
  3744. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3745. if (imgLen == 965) //online
  3746. {
  3747. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3748. }
  3749.  
  3750. if (imgLen == 972) //offline
  3751. {
  3752. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3753. }
  3754. if (imgLen == 978) //unava
  3755. {
  3756. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3757. }
  3758. }
  3759. });
  3760. }
  3761.  
  3762. } */
  3763. function linkcryptBulkCheck()
  3764. {
  3765. var arr = this.links[0].split("\r\n");
  3766. var i = arr.length;
  3767. while(i--)
  3768. {
  3769. postRequest(arr[i]);
  3770. }
  3771. function postRequest(lcLink)
  3772. {
  3773. GM_xmlhttpRequest(
  3774. {
  3775. method: "GET",
  3776. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3777. headers: {
  3778. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3779. 'Accept': 'text/xml',
  3780. 'Referer': ""
  3781. },
  3782. onload: function (result)
  3783. {
  3784. var res = result.responseText;
  3785. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3786. {
  3787. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3788. return;
  3789. }
  3790. if (res.match(/folderStatus>1/)) //Online status
  3791. {
  3792. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3793. }
  3794. else
  3795. {
  3796. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3797. }
  3798. }
  3799. });
  3800. }
  3801. }
  3802.  
  3803. function megashareBulkCheck()
  3804. {
  3805. var arr = this.links[0].split("\r\n");
  3806. var i = arr.length;
  3807. while(i--)
  3808. {
  3809. postRequest(arr[i]);
  3810. }
  3811. function postRequest(msLink)
  3812. {
  3813. GM_xmlhttpRequest(
  3814. {
  3815. method: "GET",
  3816. url: msLink,
  3817. headers: {
  3818. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3819. 'Content-Type': 'application/x-www-form-urlencoded',
  3820. 'Referer': ""
  3821. },
  3822. onload: function (result)
  3823. {
  3824. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3825. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3826. if ((prZVal == null) || (btn3Name == null))
  3827. {
  3828. return;
  3829. }
  3830. GM_xmlhttpRequest(
  3831. {
  3832. method: "POST",
  3833. url: msLink,
  3834. headers: {
  3835. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3836. 'Content-Type': 'application/x-www-form-urlencoded',
  3837. 'Referer': ""
  3838. },
  3839. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3840. onload: function (result)
  3841. {
  3842. var res = result.responseText;
  3843. if (res.match(/<div id="err">/))
  3844. {
  3845. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3846. }
  3847. else
  3848. {
  3849. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3850. }
  3851. }
  3852. });
  3853. }
  3854. });
  3855. }
  3856. }
  3857. /* function ncryptBulkCheck()
  3858. {
  3859. var arr = this.links[0].split("\r\n");
  3860. var i = arr.length;
  3861. while(i--)
  3862. {
  3863. postRequest(arr[i]);
  3864. }
  3865. function postRequest(ncryptLink)
  3866. {
  3867. GM_xmlhttpRequest(
  3868. {
  3869. method: "POST",
  3870. url: 'http://ncrypt.in/api_status.php',
  3871. headers: {
  3872. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3873. 'Content-Type': 'application/x-www-form-urlencoded',
  3874. 'Referer': ""
  3875. },
  3876. data: 'link=' + encodeURI(ncryptLink),
  3877. onload: function (result)
  3878. {
  3879. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3880. switch(foldStatus + ""){
  3881. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3882. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3883. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3884. }
  3885. }
  3886. });
  3887. }
  3888. } */
  3889. function hellshareBulkCheck()
  3890. {
  3891. var links = this.links;
  3892. GM_xmlhttpRequest(
  3893. {
  3894. method: "GET",
  3895. url: 'http://www.hellshare.com',
  3896. headers: {
  3897. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3898. 'Accept': 'text/xml',
  3899. 'Referer': ""
  3900. },
  3901. onload: function (result)
  3902. {
  3903. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3904.  
  3905. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3906. if (domain == 'sk')
  3907. loc = 'check=Skontrolova%C5%A5&links=';
  3908. if (domain == 'com')
  3909. loc = 'check=Check+availability&links=';
  3910. if (domain == 'hu')
  3911. loc = 'check=Kontrol%C3%A1lj&links=';
  3912. if (domain == 'pl')
  3913. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3914.  
  3915. genBulkCheck.call({ links: links,
  3916. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3917. postData: loc,
  3918. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3919. 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,
  3920. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3921. resUnavaRegex: null
  3922. });
  3923. }
  3924. });
  3925. }
  3926. /**
  3927. * Displays check result
  3928. * @param {Array} Array of links or link fragments.
  3929. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3930. */
  3931. function DisplayTheCheckedLinks(links, resultStatus)
  3932. {
  3933. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3934. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3935. if (Do_not_linkify_DL_links)
  3936. { //TODO into separate jQuery function
  3937. $links.replaceWith(function(){
  3938. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3939. });
  3940. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3941. }
  3942. $links.removeClass().addClass(resultStatus);
  3943. $links.each(function() {
  3944. this.href = Ref_anonymize_service + $(this).attr("href");
  3945. });
  3946. switch(resultStatus)
  3947. {
  3948. case "alive_link": cLinksAlive += $links.length;
  3949. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3950. break;
  3951. case "adead_link": cLinksDead += $links.length;
  3952. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3953. break;
  3954. case "prem_link": cLinksprem += $links.length;
  3955. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3956. break;
  3957. case "unava_link": cLinksUnava += $links.length; break;
  3958. default:
  3959. }
  3960. cLinksProcessed += $links.length;
  3961. }
  3962. }
  3963. // starts bulkchecking
  3964. //
  3965. // params
  3966. // filterId [string] restricts link detection with passed id attribute
  3967. function startBulkCheck(filterId)
  3968. {
  3969. var cHosts = bulkHosts.length;
  3970. if (cHosts == 0) //no filehostings selected
  3971. return;
  3972. // STEP 1 linkify the links
  3973. var linkifyRegex = '';
  3974. var hostIdx = cHosts;
  3975. while(hostIdx--)
  3976. {
  3977. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3978. }
  3979. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3980. linkify(linkifyRegex);
  3981. //
  3982. //STEP 2 detect link objects
  3983. var xpathAll = '';
  3984. var hostIdx = cHosts;
  3985. while(hostIdx--)
  3986. {
  3987. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3988. }
  3989. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3990. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3991. if (filterId != null) //insert id restriction in the xpath
  3992. {
  3993. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3994. }
  3995. else
  3996. {
  3997. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3998. }
  3999. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4000. if (filterId == null)
  4001. {
  4002. cLinksTotal += links.snapshotLength;
  4003. }
  4004. //
  4005. //STEP 3 bind links with hostings
  4006. var linkIdx = links.snapshotLength;
  4007. var href = null;
  4008. if (linkIdx == 0) // no links found
  4009. return;
  4010. var name;
  4011. while (linkIdx--)
  4012. {
  4013. href = links.snapshotItem(linkIdx).href;
  4014. try // DO NOT REMOVE, filters crap that went through xpath detection
  4015. {
  4016. name = gimmeHostName(href);
  4017. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4018. bulkHostNames[name].links.push(href);
  4019. }
  4020. catch(e)
  4021. {
  4022.  
  4023. }
  4024. }
  4025. //
  4026. //STEP 4 process the links for each filehosting
  4027. var hostIdx = cHosts;
  4028. var host;
  4029. var m,n;
  4030. var arr;
  4031. while (hostIdx--)
  4032. {
  4033. host = bulkHosts[hostIdx];
  4034. arr = host.links;
  4035. if (arr.length == 0) //no links for this hosting, skip
  4036. {
  4037. continue;
  4038. }
  4039. //links match corrections
  4040. if (host.corrMatch != null)
  4041. {
  4042. var idx = arr.length;
  4043. while (idx--)
  4044. {
  4045. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4046. }
  4047. }
  4048. //links replace corrections
  4049. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4050. {
  4051. var idx = arr.length;
  4052. while (idx--)
  4053. {
  4054. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4055. }
  4056. }
  4057. m = arr.length;
  4058. n = host.blockSize;
  4059. if (m > n)
  4060. {
  4061. //insert block separators (RAND_STRING) into the array
  4062. for(var i = n; i < m; i += n + 1)
  4063. {
  4064. arr.splice(i, 0, RAND_STRING);
  4065. }
  4066. }
  4067.  
  4068. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4069. apiUrl: host.apiUrl,
  4070. postData: host.postData,
  4071. resLinkRegex: host.resLinkRegex,
  4072. resLiveRegex: host.resLiveRegex,
  4073. resDeadRegex: host.resDeadRegex,
  4074. resUnavaRegex: host.resUnavaRegex
  4075. });
  4076. //clean up
  4077. arr.length = 0;
  4078. }
  4079. //
  4080.  
  4081. function gimmeHostName(link)
  4082. {
  4083. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4084. }
  4085. }
  4086. function checkLinks(filterId)
  4087. {
  4088. startBulkCheck(filterId);
  4089. start(filterId);
  4090. }
  4091.  
  4092. /**
  4093. * Initialises progress box including event binding and CSS
  4094. */
  4095. function initProgressBox()
  4096. {
  4097. if ($("#warlc-progressbox").length > 0)
  4098. return;
  4099. //progressbox css change size and color of progress box
  4100. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4101. "; opacity:" + (Progress_box_opacity / 100) +
  4102. "; bottom:" + Progress_box_pos_bottom +
  4103. "px; right:" + Progress_box_pos_right +
  4104. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4105. \
  4106. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4107. \
  4108. .warlc-progressitem {}\
  4109. \
  4110. .alive {color:#00FF7F; " + Live_links_color +
  4111. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4112. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4113. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4114. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4115. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4116. );
  4117. //
  4118. $('body').append(' <div id="warlc-progressbox">\
  4119. <div class="warlc-progressbar"></div>\
  4120. <span class="warlc-progressitem alive"></span> - \
  4121. <span class="warlc-progressitem dead"></span> - \
  4122. <span class="warlc-progressitem unava"></span> - \
  4123. <span class="warlc-progressitem prem"></span> - \
  4124. <span class="warlc-progressitem processing"></span>\
  4125. </div>');
  4126. $('#warlc-progressbox').hide().click(function(){
  4127. clearInterval(intervalId);
  4128. $(this).hide();
  4129. return false;
  4130. });
  4131. $(".warlc-progressbar").progressbar({complete: function(){
  4132. $(this).fadeOut();
  4133. clearInterval(intervalId); //stop refreshing the stats
  4134. }
  4135. })
  4136. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4137. }
  4138. /**
  4139. * Updates progress data in progress box
  4140. */
  4141. function updateProgress()
  4142. {
  4143. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4144. if (cLinksTotal) // some links were detected on page
  4145. {
  4146. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4147. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4148. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4149. if ((cLinksTotal - cLinksProcessed) == 0)
  4150. {
  4151. $progressItems.first().text(cLinksAlive)
  4152. .next().text(cLinksDead)
  4153. .next().text(cLinksUnava)
  4154. .next().text(cLinksprem)
  4155. .next().remove();
  4156. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4157. $('#warlc-progressbox div:first-child').remove();
  4158. }
  4159. else
  4160. {
  4161. $progressItems.first().text(cLinksAlive)
  4162. .next().text(cLinksDead)
  4163. .next().text(cLinksUnava)
  4164. .next().text(cLinksprem)
  4165. .next().text(cLinksTotal - cLinksProcessed);
  4166. }
  4167. }
  4168. }
  4169.  
  4170. function check_all_links()
  4171. {
  4172. add_WARLC_style();
  4173.  
  4174. if (Show_progress_stats)
  4175. {
  4176. initProgressBox();
  4177. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4178. }
  4179.  
  4180. startBulkCheck(null);
  4181. start(null);
  4182.  
  4183. if (!containers_processed)
  4184. {
  4185. processContainers();
  4186. }
  4187. }
  4188.  
  4189. //Copies all found dead links to clipboard - right now for Scriptish only
  4190. function copy_dead_to_clipboard()
  4191. {
  4192. initClipBoardTools();
  4193.  
  4194. var deadlinksxpath = "//.[@class='adead_link']";
  4195.  
  4196. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4197. var foundlinkstext = '';
  4198.  
  4199. var foundlinkIdx = foundlinks.snapshotLength;
  4200.  
  4201. while(foundlinkIdx--)
  4202. {
  4203. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4204. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4205. }
  4206.  
  4207. GM_setClipboard(foundlinkstext);
  4208. }
  4209. //Copies all found live links to clipboard
  4210. function copy_live_to_clipboard()
  4211. {
  4212. initClipBoardTools();
  4213.  
  4214. var livelinksxpath = "//.[@class='alive_link']";
  4215.  
  4216. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4217. var foundlinks2text = '';
  4218.  
  4219. var foundlink2Idx = foundlinks2.snapshotLength;
  4220.  
  4221. while(foundlink2Idx--)
  4222. {
  4223. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4224. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4225. }
  4226.  
  4227. GM_setClipboard(foundlinks2text);
  4228. }
  4229.  
  4230. function toggle_autocheck()
  4231. {
  4232. var currentState = GM_getValue("Autocheck", false);
  4233. GM_setValue("Autocheck", !currentState);
  4234.  
  4235. if (currentState == true)
  4236. {
  4237. sendMessage('Autocheck disabled', 'red');
  4238. }
  4239. else
  4240. {
  4241. sendMessage('Autocheck enabled', 'SpringGreen');
  4242. }
  4243. }
  4244. function toggle_Enable_Anonymizer()
  4245. {
  4246. var currentState = GM_getValue("Enable_Anonymizer", false);
  4247. GM_setValue("Enable_Anonymizer", !currentState);
  4248.  
  4249. if (currentState == true)
  4250. {
  4251. GM_setValue("Ref_anonymize_service", "");
  4252. sendMessage('Anonymizer Disabled', 'red');
  4253. }
  4254. else
  4255. {
  4256. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4257. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4258. }
  4259. }
  4260.  
  4261. function KeyDownHandler(event)
  4262. {
  4263. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4264. if (event.ctrlKey && event.altKey)
  4265. {
  4266. switch(kcode)
  4267. {
  4268. case 65 : check_all_links(); break;
  4269. case 67 : configuration(); break;
  4270. case 68 : copy_dead_to_clipboard(); break;
  4271. case 76 : copy_live_to_clipboard(); break;
  4272. case 87 : toggle_autocheck(); break;
  4273. case 90 : toggle_Enable_Anonymizer(); break;
  4274. }
  4275. }
  4276. }
  4277.  
  4278. //
  4279. //
  4280. // SCRIPT EXECUTION START POINT
  4281. //
  4282. //
  4283. // Safari specific GM_getResourceText override
  4284. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4285. {
  4286. GM_getResourceText = function(res) {
  4287. var $cssText = GM_getValue("jquery_css", "");
  4288. if ($cssText == "")
  4289. {
  4290. GM_xmlhttpRequest(
  4291. {
  4292. method: 'GET',
  4293. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4294. onload: function (result)
  4295. {
  4296. GM_setValue("jquery_css", result.responseText);
  4297. window.location.reload();
  4298. }
  4299. });
  4300. }
  4301. else
  4302. {
  4303. return $cssText;
  4304. }
  4305. }
  4306. }
  4307. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4308. GM_addStyle(jQueryUICSS);
  4309. //init the stuff
  4310. setVariables();
  4311. initBulkCheck();
  4312. //init info boxes
  4313. messageBox.style.position = 'fixed';
  4314. messageBox.style.top = '20px';
  4315. messageBox.style.left = '10px';
  4316. messageBox.style.opacity = '0.85';
  4317. messageBox.style.background = 'DimGray';
  4318. messageBox.style.fontSize = '36px';
  4319. document.body.appendChild(messageBox);
  4320.  
  4321. //register GM menu commands & keyboard shortcut event handler
  4322. if (Keyboard_functions)
  4323. {
  4324. $(document).keydown(KeyDownHandler);
  4325. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4326. 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);
  4327. }
  4328. else
  4329. {
  4330. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4331. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4332. }
  4333.  
  4334. //start linkchecking
  4335. if (Autocheck)
  4336. {
  4337. $(document).ready(check_all_links);
  4338. }
  4339.  
  4340. //
  4341. //
  4342. // SCRIPT EXECUTION END POINT
  4343. //
  4344. //
  4345.  
  4346. //shows configuration box
  4347. function configuration()
  4348. {
  4349.  
  4350. //prevent multiple creating of config window
  4351. if ($("#hideshow").length)
  4352. {
  4353. $("#hideshow").show();
  4354. return;
  4355. }
  4356.  
  4357. var configcss = '\
  4358. .popup_block .popup fieldset{\
  4359. padding: 1%;\
  4360. border-style: solid;\
  4361. border-width: 1px;\
  4362. border-color: gray;\
  4363. margin-bottom: 1px;\
  4364. }\
  4365. #h3hideshowtitle{\
  4366. font-size: 2em;\
  4367. }\
  4368. #h3hideshow{\
  4369. font-size: 1.5em;\
  4370. }\
  4371. #imghideshow {\
  4372. border: none;\
  4373. }\
  4374. #plusimage{\
  4375. display:inline;\
  4376. }\
  4377. #hideshow {\
  4378. position: fixed;\
  4379. width: 100%;\
  4380. height: 100%;\
  4381. top: 0;\
  4382. left: 0;\
  4383. font-size:12px;\
  4384. z-index:2147483645;\
  4385. text-align:left;\
  4386. }\
  4387. #fade {\
  4388. background: #000;\
  4389. position: fixed;\
  4390. width: 100%;\
  4391. height: 100%;\
  4392. opacity: .80;\
  4393. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4394. left: 0;\
  4395. z-index: 10;\
  4396. }\
  4397. .popup_block {\
  4398. font-family:verdana;\
  4399. color:black;\
  4400. background: #ddd;\
  4401. padding: 10px 20px;\
  4402. border: 2px solid DarkOrange;\
  4403. float: left;\
  4404. width: 700px;\
  4405. position: absolute;\
  4406. top: 7%;\
  4407. left: 50%;\
  4408. bottom: 7%;\
  4409. margin: 0 0 0 -350px;\
  4410. -moz-border-radius:10px;\
  4411. z-index: 100;\
  4412. \
  4413. }\
  4414. .popup_block .popup {\
  4415. float: left;\
  4416. width: 100%;\
  4417. background: #fff;\
  4418. margin: 10px 0;\
  4419. padding: 0px 0 0px;\
  4420. border-left: 1px solid #bbb;\
  4421. border-top: 1px solid #bbb;\
  4422. border-right: 1px solid #bbb;\
  4423. }\
  4424. #h3hideshow{\
  4425. margin: 1px 0 0px;\
  4426. padding: 1px 10px;\
  4427. border-bottom: 1px solid #bbb;\
  4428. font-size: 1.5em;\
  4429. font-weight: normal;\
  4430. cursor:pointer;\
  4431. background:#DDDDDD none repeat scroll 0 0;\
  4432. }\
  4433. #h3hideshow:hover{\
  4434. background:#C0BEBE none repeat scroll 0 0;\
  4435. }\
  4436. #h3hideshowtitle{\
  4437. margin: 2px 0 0px;\
  4438. padding: 7px 10px;\
  4439. border-bottom: 1px solid #bbb;\
  4440. font-size: 1.5em;\
  4441. font-weight: normal;\
  4442. }\
  4443. .popup_block .popup a {\
  4444. color:DarkSkyBlue;\
  4445. text-decoration:none;\
  4446. }\
  4447. .popup p {\
  4448. padding: 1px 10px;\
  4449. margin: 0px 0;\
  4450. -x-system-font:none;\
  4451. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4452. font-size:10pt;\
  4453. font-size-adjust:none;\
  4454. font-stretch:normal;\
  4455. font-style:normal;\
  4456. font-variant:normal;\
  4457. font-weight:normal;\
  4458. line-height:normal;\
  4459. }\
  4460. #sites {\
  4461. padding: 1px 10px;\
  4462. margin: 0px 0;display:inline-block;width:16em;\
  4463. }\
  4464. #dev_ver {\
  4465. color: #00FF00;\
  4466. background: Black;\
  4467. text-align: right;\
  4468. }\
  4469. #sites_suspended {\
  4470. padding: 1px 10px;\
  4471. margin: 0px 0;display:inline-block;width:16em;\
  4472. text-decoration: line-through;\
  4473. }\
  4474. .popup img.cntrl {\
  4475. position: absolute;\
  4476. right: -15px;\
  4477. top: -15px;\
  4478. }\
  4479. #bulk {\
  4480. font-size:8pt;\
  4481. color:orange;\
  4482. padding: 1px 10px;\
  4483. margin: 0px 0;\
  4484. display:inline-block;\
  4485. width:100px;\
  4486. }\
  4487. #note {\
  4488. font-size:7pt;\
  4489. color:gray;\
  4490. padding: 1px 10px;\
  4491. margin: 0px 0;display:inline-block;\
  4492. min-width:100px;\
  4493. }\
  4494. #rednote {\
  4495. font-size:7pt;\
  4496. color:red;\
  4497. padding: 1px 10px;\
  4498. margin: 0px 0;display:inline-block;\
  4499. }\
  4500. #configinfo {\
  4501. font-size:8pt;\
  4502. color:gray;\
  4503. padding: 1px 10px;\
  4504. margin: 0px 0;display:inline-block;width:60em;\
  4505. }\
  4506. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4507. color:black;\
  4508. border-style: solid;\
  4509. border-width: 1px;\
  4510. border-color: gray;\
  4511. }\
  4512. #h3hideshowcontent {\
  4513. min-height:220px;\
  4514. max-height:220px;\
  4515. overflow:auto;\
  4516. display: none;\
  4517. padding: 10px 10px;\
  4518. }\
  4519. #specinfo{\
  4520. font-size:14px;\
  4521. }\
  4522. .warlc-ui-tab {\
  4523. height:300px;\
  4524. overflow:auto;\
  4525. }\
  4526. #warlcsitelist2, #warlcsitelist1 {\
  4527. height:220px;\
  4528. border-top: 1px solid #ddd;\
  4529. padding-top: 5px;\
  4530. overflow:auto;\
  4531. }\
  4532. input:hover+label {\
  4533. background:#F1F77C;\
  4534. font-size:110%;\
  4535. }\
  4536. ';
  4537.  
  4538. GM_addStyle(configcss);
  4539.  
  4540. var customRulesRefHTML =
  4541. '\
  4542. <br>\
  4543. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4544. <b>@keyword</b> <i>parameter</i>\
  4545. <br><br>\
  4546. 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. \
  4547. <br><br>\
  4548. 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.\
  4549. 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.\
  4550. 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.\
  4551. 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,\
  4552. but all commands until the next valid @customrule are ignored.<br><br>\
  4553. Available forms and types:\
  4554. <ul>\
  4555. <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.\
  4556. <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.\
  4557. <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.\
  4558. <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.\
  4559. </ul>\
  4560. Other available commands:<br>\
  4561. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4562. <ul>\
  4563. <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.\
  4564. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4565. <ul>examples:<br>\
  4566. <li>good: <i>filehost.com/download/</i><br>\
  4567. <li>good: <i>download.filehost.net/?d=</i><br>\
  4568. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4569. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4570. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4571. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4572. <li>bad: <i>filehost.com</i> - no slash<br>\
  4573. </ul>\
  4574. \
  4575. <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.\
  4576. 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 \
  4577. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4578. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4579. 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.)\
  4580. Two spaces again match any whitespace.\
  4581. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4582. Two spaces again match any whitespace.\
  4583. <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. \
  4584. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4585. </ul>\
  4586. \
  4587. ';
  4588.  
  4589. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4590. var configurationinnerHTML =
  4591. '<div id="fade"></div>\
  4592. <div class="popup_block">\
  4593. <div class="popup">\
  4594. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcm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J4zsgTYNbqfHAC2H0m7ibf608V7B53urOYngWJ1/YoXS2+bMq9oUuiIbgSYvjQQ6P6b03hsv+trmm3I3GtNZQUUvT1wz6YsnQf0U8CTFHgrFZDw1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4596. <div id="warlc-conf-tabs">\
  4597. <ul>\
  4598. <li><a href="#tabs-1">Filehostings</a></li>\
  4599. <li><a href="#tabs-2">Containers</a></li>\
  4600. <li><a href="#tabs-5">Custom rules</a></li>\
  4601. <li><a href="#tabs-3">Settings</a></li>\
  4602. <li><a href="#tabs-4">About</a></li>\
  4603. </ul>\
  4604. <div id="tabs-1" class="warlc-ui-tab">\
  4605. <div class="warlc-ui-buttonset">\
  4606. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4607. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4608. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4609. </div><br>\
  4610. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4611. <div id="warlcsitelist1"><span>Empty</span></div>\
  4612. </div>\
  4613. <div id="tabs-2" class="warlc-ui-tab">\
  4614. <div class="warlc-ui-buttonset">\
  4615. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4616. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4617. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4618. </div><br>\
  4619. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4620. <div id="warlcsitelist2"><span>Empty</span></div>\
  4621. </div>\
  4622. <div id="tabs-5" class="warlc-ui-tab">\
  4623. <div class="warlcsettings">\
  4624. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4625. <br>\
  4626. <div>Edit custom rules: \
  4627. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4628. <div id="customRulesReference" style="display:none;">'
  4629. + customRulesRefHTML + '\
  4630. </div>\
  4631. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4632. </div>\
  4633. </div>\
  4634. </div>\
  4635. <div id="tabs-3" class="warlc-ui-tab">\
  4636. <div class="warlcsettings">\
  4637. <fieldset>\
  4638. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4639. <div id="configinfo">' + first_key_keycodename + '+' + second_key_keycodename + '+' + CONFIGURATION_KEY + ' = Configuration <br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + CHECK_ALL_LINKS_KEY + ' = Check all the links' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_dead_key + ' = Copy found dead links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + copy_to_live_key + ' = Copy found live links to clipboard' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_autocheck_key + ' = Autocheck ON/OFF' + '<br/>' + first_key_keycodename + '+' + second_key_keycodename + '+' + toggle_Enable_Anonymizer_key + ' = Anonymizer ON/OFF' + '</div>\
  4640. </fieldset>\
  4641. <fieldset>\
  4642. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4643. <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>\
  4644. <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>\
  4645. <div id="sites"><label for="inputColorTemp">Temp. unavailable links color</label><input type="text" id="inputColorTemp" style="background:' + Temp_unavailable_links_color + ';" value="' + Temp_unavailable_links_color + '"></div>\
  4646. <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>\
  4647. <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>\
  4648. <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>\
  4649. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4650. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4651. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4652. <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>\
  4653. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4654. <fieldset>\
  4655. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4656. <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>\
  4657. <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>\
  4658. <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>\
  4659. </fieldset>\
  4660. </fieldset>\
  4661. <fieldset>\
  4662. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4663. </fieldset>\
  4664. <fieldset>\
  4665. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4666. </fieldset>\
  4667. <fieldset>\
  4668. <div id="sites"><input type="checkbox" id="Display_tooltip_info"> Display tooltip info</div><div id="bulk"></div><br><div id="configinfo">Note: File name, file size, error messages etc. (does not work on all links)</div><br>\
  4669. </fieldset>\
  4670. <fieldset>\
  4671. <div id="sites"><label for="refAnonymizer">Refererer anonymizing service</label><input type="text" id="refAnonymizer" value="' + Ref_anonymize_service + '"></div><br><div id="configinfo">Note: Example: http://hiderefer.com/? or http://hidemyass.com/? or http://anonym.to/?, CTRL+ALT+Z toggles the anonymizer service on or off</div><br>\
  4672. </fieldset>\
  4673. </div>\
  4674. </div>\
  4675. <div id="tabs-4" class="warlc-ui-tab">\
  4676. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4677. <br />\
  4678. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4679. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4680. <br />\
  4681. <p><b>Currently supported:</b><br>\
  4682. Filehostings: ' + allHostNames.length + '<br />\
  4683. Containers: ' + allContainerNames.length + '<br />\
  4684. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4685. <br />\
  4686. <p><b>Based on:</b><br>\
  4687. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4688. <br />\
  4689. <p><b>Uses:</b></p>\
  4690. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4691. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4692. <br />\
  4693. <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>\
  4694. </div>\
  4695. </div>\
  4696. </div>\
  4697. </div>';
  4698. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4699. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4700. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4701. var elmHostList = document.getElementById("warlcsitelist1");
  4702. var elmContainerList = document.getElementById("warlcsitelist2");
  4703. buildSettings();
  4704. buildSitelist("", allHostNames, elmHostList);
  4705. buildSitelist("", allContainerNames, elmContainerList);
  4706. if (DEBUG_MODE)
  4707. {
  4708. //log all sites availability status
  4709. diagSites();
  4710. }
  4711. //handler for checkbox state change
  4712. function changeConfiguration(e)
  4713. {
  4714. var element = e.target;
  4715.  
  4716. if (element.type == 'checkbox')
  4717. {
  4718. if (element.checked == 1)
  4719. {
  4720. GM_setValue(element.id, true);
  4721. }
  4722. else
  4723. {
  4724. GM_setValue(element.id, false);
  4725. }
  4726.  
  4727. }
  4728. setVariables();
  4729. }
  4730.  
  4731. //Selects all filehosting checkboxes
  4732. function selectAll()
  4733. {
  4734. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4735. .each(function(index, element){GM_setValue(this.id, true)});
  4736. }
  4737.  
  4738. //Deselects all filehosting checkboxes
  4739. function selectNone()
  4740. {
  4741. $(":checkbox:visible:checked").prop("checked",false)
  4742. .each(function(index, element){GM_setValue(this.id, false)});
  4743. }
  4744.  
  4745. //Inverts filehosting checkboxes selection
  4746. function selectInvert()
  4747. {
  4748. var $checked = $(":checkbox:visible:checked");
  4749. var $unchecked = $(":checkbox:visible:not(:checked)");
  4750. $unchecked.prop("checked",true)
  4751. .each(function(index, element){GM_setValue(this.id, true)});
  4752. $checked.prop("checked",false)
  4753. .each(function(index, element){GM_setValue(this.id, false)});
  4754. }
  4755. //toggles anonymizer on off
  4756. function Enable_Anonymizer()
  4757. {
  4758. var $checked = $(":checkbox:visible:checked");
  4759. var $unchecked = $(":checkbox:visible:not(:checked)");
  4760. $unchecked.prop("checked",true)
  4761. .each(function(index, element){GM_setValue(this.id, true)});
  4762. $checked.prop("checked",false)
  4763. .each(function(index, element){GM_setValue(this.id, false)});
  4764. }
  4765.  
  4766. function changeRefAnonymizer(){
  4767. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4768. }
  4769.  
  4770. //Sets live links color
  4771. function changeColorLive()
  4772. {
  4773. var inColorLive = document.getElementById("inputColorLive");
  4774. inColorLive.style.background = inColorLive.value;
  4775. GM_setValue("Live_links_color", inColorLive.value);
  4776. }
  4777.  
  4778. //Sets dead links color
  4779. function changeColorDead()
  4780. {
  4781. var inColorDead = document.getElementById("inputColorDead");
  4782. inColorDead.style.background = inColorDead.value;
  4783. GM_setValue("Dead_links_color", inColorDead.value);
  4784. }
  4785.  
  4786. //Sets temp. unavailable links color
  4787. function changeColorTemp()
  4788. {
  4789. var inColorTemp = document.getElementById("inputColorTemp");
  4790. inColorTemp.style.background = inColorTemp.value;
  4791. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4792. }
  4793.  
  4794. //Sets temp. unavailable links color
  4795. function changeColorCont()
  4796. {
  4797. var inColorCont = document.getElementById("inputColorCont");
  4798. inColorCont.style.background = inColorCont.value;
  4799. GM_setValue("Container_links_color", inColorCont.value);
  4800. }
  4801. //Sets premium. links color
  4802. function changeColorprem()
  4803. {
  4804. var inColorprem = document.getElementById("inputColorprem");
  4805. inColorprem.style.background = inColorprem.value;
  4806. GM_setValue("Premium_links_color", inColorprem.value);
  4807. }
  4808.  
  4809. //Diagnose sites for availability
  4810. function diagSites()
  4811. {
  4812. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4813.  
  4814. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4815. {
  4816. if (boxes[i].type == "checkbox")
  4817. {
  4818. checkAvailability(boxes[i]);
  4819. }
  4820. }
  4821.  
  4822. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4823.  
  4824. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4825. {
  4826. if (boxes[i].type == "checkbox")
  4827. {
  4828. checkAvailability(boxes[i]);
  4829. }
  4830. }
  4831.  
  4832. function checkAvailability(cbElm)
  4833. {
  4834. var cb = cbElm;
  4835. GM_xmlhttpRequest(
  4836. {
  4837. method: 'HEAD',
  4838. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4839. headers: {
  4840. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4841. 'Accept': 'text/xml',
  4842. 'Referer': ""
  4843. },
  4844. onload: function (result)
  4845. {
  4846. if (result.status != 200)
  4847. {
  4848. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4849. }
  4850. },
  4851. onerror: function (result)
  4852. {
  4853. if (result.status != 200)
  4854. {
  4855. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4856. }
  4857. }
  4858. });
  4859. }
  4860. }
  4861. function buildSettings()
  4862. {
  4863. $(".warlcsettings :checkbox").each(function(){
  4864. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4865. .click(function(e){
  4866. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4867. setVariables();
  4868. });
  4869. })
  4870. }
  4871. //Dynamic build of host list
  4872. //param search [string] searches for hostnames matching search substring
  4873. //param siteNames [array] array of site names
  4874. //param targetNode [DOM Node] where the list should be built
  4875. // first child node is replaced
  4876. function buildSitelist(search, siteNames, targetNode)
  4877. {
  4878. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4879. var $targetNode = $(targetNode).empty();
  4880. var searchedSite = "";
  4881. $.each(siteNames, function(i, site){
  4882. if (searchedSite = site.match(searchRegex))
  4883. {
  4884. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4885. //ensuring backward compatibility with the rest of code, to be refactored later
  4886. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4887. //
  4888. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4889. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4890. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4891. );
  4892. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4893. .change(changeConfiguration);
  4894. $targetNode.append('<br />');
  4895. }
  4896. });
  4897. $targetNode.append("<hr>");
  4898. //obsolete hosts checkbox
  4899. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4900. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4901. .change(changeConfiguration);
  4902. $targetNode.append('<br />');
  4903. var foundName = "";
  4904. $.each(allObsoleteNames, function(i, site){
  4905. if (foundName = allObsoleteNames[i].match(searchRegex))
  4906. {
  4907. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4908. }
  4909. })
  4910. }
  4911. var hostSearchBox = document.getElementById("hostSearchBox");
  4912. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4913. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4914. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4915. $(".warlc-ui-select-all").click(selectAll).button();
  4916. $(".warlc-ui-select-none").click(selectNone).button();
  4917. $(".warlc-ui-select-invert").click(selectInvert).button();
  4918. $(".warlc-ui-buttonset").buttonset();
  4919. var inColorLive = document.getElementById("inputColorLive");
  4920. inColorLive.addEventListener('keyup', changeColorLive, false);
  4921.  
  4922. var inColorDead = document.getElementById("inputColorDead");
  4923. inColorDead.addEventListener('keyup', changeColorDead, false);
  4924.  
  4925. var inColorTemp = document.getElementById("inputColorTemp");
  4926. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4927.  
  4928. var inColorCont = document.getElementById("inputColorCont");
  4929. inColorCont.addEventListener('keyup', changeColorCont, false);
  4930. var inColorprem = document.getElementById("inputColorprem");
  4931. inColorprem.addEventListener('keyup', changeColorprem, false);
  4932. $("#refAnonymizer").change(changeRefAnonymizer);
  4933. //buttons and edit boxes init end
  4934.  
  4935. //icon sets radio buttons
  4936. var radioButtons = document.getElementsByName("warlciconset");
  4937. radioButtons[Icon_set].checked = "checked";
  4938.  
  4939. radioButtons[0].addEventListener("change", updateIconSet);
  4940. radioButtons[1].addEventListener("change", updateIconSet);
  4941. radioButtons[2].addEventListener("change", updateIconSet);
  4942. radioButtons[3].addEventListener("change", updateIconSet);
  4943. function updateIconSet()
  4944. {
  4945. GM_setValue("Icon_set", this.value * 1);
  4946. }
  4947. //
  4948. $('#showCustomRulesReference').click(function(e){
  4949. e.preventDefault();
  4950. $('#customRulesReference').toggle();
  4951. });
  4952. $('#Custom_rules_text')
  4953. .val(Custom_rules_text)
  4954. .change(saveCustomRules);
  4955. function saveCustomRules(e)
  4956. {
  4957. var cr = parseCustomRules(this.value);
  4958. if (cr.info.length)
  4959. 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, ' '));
  4960. GM_setValue('Custom_rules_text', this.value);
  4961. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4962. }
  4963. }
  4964.  
  4965. //begin standard link checking algorithm
  4966. function start(filterId)
  4967. {
  4968. var doNotLinkify = Do_not_linkify_DL_links;
  4969.  
  4970. // USER SELECTED FILE HOSTS INITIALIZATION START
  4971. var http_file_hosts = new Array(); //standard hostings
  4972. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4973. var http_file_hosts_obsolete = new Array(); //dead hostings
  4974. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4975.  
  4976. initFileHosts();
  4977. initFileHostsHeadersOnly();
  4978. initFileHostsCustom(); //CustomRules
  4979. // USER SELECTED FILE HOSTS INITIALIZATION END
  4980.  
  4981. // LINKIFICATION START
  4982. var totalxpath = '';
  4983. var totalxpathcoded = '';
  4984. var totalxpathobsolete = '';
  4985. var totalxpathheadersonly = '';
  4986. var totalourls = '';
  4987.  
  4988. var filehostLen = http_file_hosts.length;
  4989. var filehostCodedLen = http_file_hosts_coded.length;
  4990. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4991. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4992.  
  4993. var filehostIdx = filehostLen;
  4994. var filehostCodedIdx = filehostCodedLen;
  4995. var filehostObsoleteIdx = filehostObsoleteLen;
  4996. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4997.  
  4998. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4999. return;
  5000.  
  5001. while (filehostIdx--)
  5002. {
  5003. totalourls += http_file_hosts[filehostIdx][0] + '|';
  5004. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  5005. }
  5006.  
  5007. while (filehostCodedIdx--)
  5008. {
  5009. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5010. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5011. }
  5012.  
  5013. while (filehostObsoleteIdx--)
  5014. {
  5015. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5016. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5017. }
  5018.  
  5019. while (filehostHeadersOnlyIdx--)
  5020. {
  5021. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5022. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5023. }
  5024.  
  5025. totalourls = totalourls.replace(/\|$/g, "");
  5026. //TODO: further refactoring needed
  5027. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5028. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5029. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5030. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5031. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5032. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5033. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5034. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5035. if (filterId != null) //insert id restriction in the xpath
  5036. {
  5037. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5038. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5039. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5040. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5041. }
  5042. else
  5043. {
  5044. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5045. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5046. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5047. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5048. }
  5049. linkify(totalourls);
  5050. //LINKIFICATION END
  5051. //ENCRYPTED LINKS PROCESSING START
  5052. if (http_file_hosts_coded.length > 0)
  5053. {
  5054. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5055.  
  5056. // decrypt coded links (redirects, link protectors etc.)
  5057. if (linksCoded.snapshotLength > 0)
  5058. {
  5059. var link;
  5060. var reallinkreg;
  5061. var reallinkcorrection;
  5062.  
  5063. if (filterId == null)
  5064. {
  5065. cLinksTotal += linksCoded.snapshotLength;
  5066. }
  5067.  
  5068. var y = linksCoded.snapshotLength - 1;
  5069. do
  5070. {
  5071. // linksCoded.snapshotItem(y).id = 'processing_link';
  5072. link = linksCoded.snapshotItem(y);
  5073. filehostIdx = filehostCodedLen;
  5074. while (filehostIdx--)
  5075. {
  5076. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5077. {
  5078. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5079. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5080. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5081.  
  5082. decurl(link, reallinkreg, reallinkcorrection);
  5083. break;
  5084. }
  5085. }
  5086. }
  5087. while (y--);
  5088. }
  5089. }
  5090. //ENCRYPTED LINKS PROCESSING END
  5091.  
  5092. //STANDARD LINKCHECKING START
  5093. if (http_file_hosts.length > 0)
  5094. {
  5095. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5096.  
  5097. if (filterId == null)
  5098. {
  5099. cLinksTotal += lianks.snapshotLength;
  5100. }
  5101.  
  5102. if (lianks.snapshotLength > 0)
  5103. {
  5104. var link;
  5105.  
  5106. var URL = "";
  5107. var name = "";
  5108. var isAliveRegex = "";
  5109. var isDeadRegex = "";
  5110. var isUnavaRegex = "";
  5111. var ispremRegex = "";
  5112. var tryLoop = false;
  5113.  
  5114. var y = lianks.snapshotLength;
  5115.  
  5116. while (y--)
  5117. {
  5118. link = lianks.snapshotItem(y);
  5119.  
  5120. filehostIdx = filehostLen;
  5121. while (filehostIdx--)
  5122. {
  5123. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5124. {
  5125. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5126. isAliveRegex = http_file_hosts[filehostIdx][1];
  5127. isDeadRegex = http_file_hosts[filehostIdx][2];
  5128. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5129. ispremRegex = http_file_hosts[filehostIdx][6];
  5130. tryLoop = http_file_hosts[filehostIdx][5];
  5131.  
  5132. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5133.  
  5134. break;
  5135. }
  5136. }
  5137. }
  5138. }
  5139. }
  5140. //STANDARD LINKCHECKING END
  5141. //OBSOLETE FILE HOSTS PROCESSING START
  5142. if (filehostObsoleteLen > 0)
  5143. {
  5144. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5145.  
  5146. var obsoleteLink;
  5147.  
  5148. //check links
  5149. if (obsoletelinks.snapshotLength > 0)
  5150. {
  5151. var y = obsoletelinks.snapshotLength;
  5152.  
  5153. if (filterId == null)
  5154. {
  5155. cLinksTotal += y;
  5156. }
  5157.  
  5158. while (y--)
  5159. {
  5160. obsoleteLink = obsoletelinks.snapshotItem(y);
  5161.  
  5162. if (Display_tooltip_info)
  5163. {
  5164. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5165. }
  5166. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5167. }
  5168. }
  5169. }
  5170. //OBSOLETE FILE HOSTS PROCESSING END
  5171.  
  5172. //DIRECT LINKCHECKING START
  5173. if (http_file_hosts_headers_only.length > 0)
  5174. {
  5175. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5176.  
  5177. //check links
  5178. if (links.snapshotLength > 0)
  5179. {
  5180. var link;
  5181. var isAliveRegex;
  5182. var isDeadRegex;
  5183. var ispremRegex;
  5184.  
  5185. var y = links.snapshotLength;
  5186.  
  5187.  
  5188. if (filterId == null)
  5189. {
  5190. cLinksTotal += y;
  5191. }
  5192.  
  5193. while (y--)
  5194. {
  5195. // links.snapshotItem(y).id = 'processing_link';
  5196. link = links.snapshotItem(y);
  5197. filehostIdx = filehostHeadersOnlyLen;
  5198. while (filehostIdx--)
  5199. {
  5200. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5201. {
  5202. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5203. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5204. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5205. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5206.  
  5207. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5208.  
  5209. break;
  5210. }
  5211. }
  5212. }
  5213.  
  5214. }
  5215. }
  5216. //DIRECT LINKCHECKING END
  5217.  
  5218.  
  5219. //finds the real url on the page, replaces link.href with it and calls geturl
  5220. function decurl(link, reallinkreg, reallinkcorrection)
  5221. {
  5222.  
  5223. GM_xmlhttpRequest(
  5224. {
  5225. method: 'GET',
  5226. url: link.href,
  5227. headers: {
  5228. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5229. 'Accept': 'text/xml',
  5230. 'Referer': ""
  5231. },
  5232. onload: function (result)
  5233. {
  5234. // cLinksProcessed++;
  5235.  
  5236. var reallink = result.responseText.match(reallinkreg)[0];
  5237. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5238.  
  5239. link.href = reallink;
  5240.  
  5241. var i = http_file_hosts.length - 1;
  5242. do
  5243. {
  5244. if ((reallink.match(http_file_hosts[i][0])))
  5245. {
  5246. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5247. var isAliveRegex = http_file_hosts[i][1];
  5248. var isDeadRegex = http_file_hosts[i][2];
  5249. var isUnavaRegex = http_file_hosts[i][3];
  5250. var ispremRegex = http_file_hosts[i][4];
  5251.  
  5252. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5253.  
  5254. break;
  5255. }
  5256. }
  5257. while (i--);
  5258. }
  5259. });
  5260. }
  5261.  
  5262. function randUA()
  5263. {
  5264. //TODO
  5265. }
  5266. //Processes link
  5267. //
  5268. // [string] link link URL
  5269. // [string] isAliveRegex alive link regex
  5270. // [string] isDeadRegex dead link regex
  5271. // [string] isUnavaRegex unavailable link regex
  5272. // [string] ispremRegex premium link regex
  5273. // [boolean] tryLoop repeats request until succeeded
  5274. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5275. {
  5276. GM_xmlhttpRequest(
  5277. {
  5278. method: 'GET',
  5279. url: link.href,
  5280. headers: {
  5281. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5282. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5283. 'Referer': ""
  5284. },
  5285. onload: function (result)
  5286. {
  5287. var res = result.responseText;
  5288. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5289. {
  5290. displayTheCheckedLink(link, 'alive_link');
  5291. return;
  5292. }
  5293.  
  5294. if (res.match(isAliveRegex))
  5295. {
  5296. displayTheCheckedLink(link, 'alive_link');
  5297. return;
  5298. }
  5299.  
  5300. if (res.match(isDeadRegex))
  5301. {
  5302. displayTheCheckedLink(link, 'adead_link');
  5303. return;
  5304. }
  5305.  
  5306. if (isUnavaRegex && res.match(isUnavaRegex))
  5307. {
  5308. displayTheCheckedLink(link, 'unava_link');
  5309. return;
  5310. }
  5311. if (res.match(ispremRegex))
  5312. {
  5313. displayTheCheckedLink(link, 'prem_link');
  5314. return;
  5315. }
  5316.  
  5317. var resStatus = result.status;
  5318.  
  5319. if (resStatus == 404)
  5320. {
  5321. displayTheCheckedLink(link, 'adead_link');
  5322. }
  5323. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5324. {
  5325. if (tryLoop)
  5326. {
  5327. //wait 1-5 seconds and repeat the request
  5328. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5329. }
  5330. else
  5331. {
  5332. displayTheCheckedLink(link, 'unava_link');
  5333. }
  5334.  
  5335. return;
  5336. }
  5337. },
  5338. onerror: function ()
  5339. {
  5340. displayTheCheckedLink(link, 'unava_link');
  5341. }
  5342. });
  5343. }
  5344.  
  5345. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5346. {
  5347. GM_xmlhttpRequest(
  5348. {
  5349. method: 'HEAD',
  5350. url: link.href,
  5351. headers: {
  5352. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5353. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5354. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5355. 'Referer': ""
  5356. },
  5357. onload: function (result)
  5358. {
  5359. var resStatus = result.status;
  5360. var resHeaders = "";
  5361. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5362. {
  5363. displayTheCheckedLink(link, 'adead_link');
  5364. return;
  5365. }
  5366.  
  5367. resHeaders = result.responseHeaders;
  5368.  
  5369. if (resHeaders.match(isDeadRegex))
  5370. {
  5371. displayTheCheckedLink(link, 'adead_link');
  5372. return;
  5373. }
  5374.  
  5375. if (resHeaders.match(isAliveRegex))
  5376. {
  5377. displayTheCheckedLink(link, 'alive_link');
  5378. return;
  5379. }
  5380. if (resHeaders.match(ispremRegex))
  5381. {
  5382. displayTheCheckedLink(link, 'prem_link');
  5383. return;
  5384. }
  5385. },
  5386. onerror: function ()
  5387. {
  5388. displayTheCheckedLink(link, 'unava_link');
  5389. }
  5390. });
  5391. }
  5392.  
  5393. //Delinkfifies the <a> element object
  5394. function delinkifyLink(link)
  5395. {
  5396. var spanElm = document.createElement("span");
  5397. spanElm.className = link.className;
  5398. spanElm.innerHTML = link.innerHTML;
  5399.  
  5400. if (Display_tooltip_info)
  5401. {
  5402. spanElm.href = link.href;
  5403. spanElm.warlc_error = link.warlc_error;
  5404. switch (link.className){
  5405. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5406. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5407. case "unava_link": //reserved
  5408. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5409. default:
  5410. }
  5411. }
  5412. link.parentNode.replaceChild(spanElm, link);
  5413. }
  5414.  
  5415. //Assigns result status to the <a> element object and calls delinkifying eventually
  5416. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5417. function displayTheCheckedLink(link, resultStatus)
  5418. {
  5419. link.className = resultStatus;
  5420. link.href = Ref_anonymize_service + link.href;
  5421. if (Display_tooltip_info)
  5422. {
  5423. switch (resultStatus){
  5424. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5425. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5426. case "unava_link": //reserved
  5427. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5428. default:
  5429. }
  5430. }
  5431. if (doNotLinkify)
  5432. {
  5433. delinkifyLink(link);
  5434. }
  5435. cLinksProcessed++;
  5436.  
  5437. if (resultStatus == "alive_link")
  5438. {
  5439. cLinksAlive++;
  5440. return;
  5441. }
  5442.  
  5443. if (resultStatus == "adead_link")
  5444. {
  5445. cLinksDead++;
  5446. return;
  5447. }
  5448.  
  5449. if (resultStatus == "unava_link")
  5450. {
  5451. cLinksUnava++;
  5452. }
  5453. if (resultStatus == "prem_link")
  5454. {
  5455. cLinksprem++;
  5456. return;
  5457. }
  5458. }
  5459.  
  5460.  
  5461. function initFileHosts()
  5462. {
  5463.  
  5464. function addObsoleteHost(linkRegex, xpathEx)
  5465. {
  5466. var host = new Array(2);
  5467. host[0] = linkRegex;
  5468. host[1] = xpathEx;
  5469. http_file_hosts_obsolete.push(host);
  5470. }
  5471.  
  5472. //obsolete file hosts init start
  5473. if (Obsolete_file_hosts)
  5474. {
  5475. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5476. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5477. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5478. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5479. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5480. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5481. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5482. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5483. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5484. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5485. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5486. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5487. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5488. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5489. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5490. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5491. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5492. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5493. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5494. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5495. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5496. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5497. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5498. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5499. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5500. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5501. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5502. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5503. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5504. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5505. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5506. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5507. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5508. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5509. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5510. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5511. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5512. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5513. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5514. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5515. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5516. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5517. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5518. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5519. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5520. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5521. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5522. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5523. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5524. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5525. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5526. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5527. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5528. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5529. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5530. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5531. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5532. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5533. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5534. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5535. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5536. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5537. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5538. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5539. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5540. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5541. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5542. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5543. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5544. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5545. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5546. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5547. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5548. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5549. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5550. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5551. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5552. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5553. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5554. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5555. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5556. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5557. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5558. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5559. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5560. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5561. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5562. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5563. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5564. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5565. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5566. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5567. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5568. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5569. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5570. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5571. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5572. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5573. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5574. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5575. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5576. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5577. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5578. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5579. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5580. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5581. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5582. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5583. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5584. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5585. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5586. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5587. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5588. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5589. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5590. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5591. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5592. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5593. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5594. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5595. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5596. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5597. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5598. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5599. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5600. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5601. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5602. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5603. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5604. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5605. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5606. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5607. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5608. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5609. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5610. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5611. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5612. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5613. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5614. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5615. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5616. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5617. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5618. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5619. 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')]");
  5620. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5621. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5622. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5623. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5624. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5625. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5626. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5627. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5628. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5629. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5630. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5631. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5632. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5633. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5634. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5635. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5636. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5637. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5638. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5639. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5640. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5641. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5642. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5643. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5644. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5645. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5646. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5647. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5648. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5649. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5650. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5651. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5652. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5653. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5654. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5655. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5656. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5657. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5658. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5659. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5660. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5661. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5662. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5663. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5664. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5665. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5666. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5667. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5668. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5669. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5670. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5671. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5672. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5673. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5674. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5675. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5676. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5677. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5678. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5679. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5680. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5681. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5682. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5683. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5684. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5685. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5686. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5687. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5688. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5689. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5690. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5691. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5692. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5693. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5694. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5695. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5696. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5697. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5698. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5699. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5700. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5701. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5702. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5703. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5704. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5705. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5706. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5707. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5708. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5709. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5710. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5711. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5712. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5713. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5714. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5715. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5716. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5717. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5718. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5719. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5720. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5721. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5722. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5723. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5724. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5725. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5726. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5727. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5728. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5729. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5730. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5731. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5732. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5733. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5734. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5735. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5736. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5737. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5738. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5739. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5740. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5741. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5742. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5743. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5744. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5745. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5746. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5747. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5748. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5749. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5750. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5751. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5752. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5753. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5754. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5755. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5756. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5757. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5758. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5759. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5760. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5761. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5762. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5763. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5764. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5765. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5766. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5767. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5768. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5769. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5770. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5771. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5772. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5773. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5774. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5775. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5776. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5777. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5778. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5779. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5780. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5781. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5782. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5783. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5784. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5785. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5786. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5787. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5788. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5789. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5790. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5791. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5792. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5793. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5794. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5795. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5796. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5797. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5798. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5799. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5800. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5801. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5802. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5803. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5804. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5805. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5806. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5807. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5808. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5809. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5810. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5811. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5812. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5813. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5814. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5815. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5816. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5817. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5818. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5819. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5820. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5821. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5822. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5823. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5824. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5825. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5826. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5827. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5828. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5829. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5830. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5831. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5832. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5833. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5834. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5835. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5836. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5837. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5838. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5839. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5840. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5841. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5842. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5843. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5844. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5845. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5846. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5847. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5848. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5849. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5850. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5851. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5852. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5853. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5854. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5855. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5856. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5857. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5858. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5859. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5860. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5861. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5862. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5863. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5864. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5865. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5866. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5867. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5868. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5869. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5870. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5871. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5872. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5873. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5874. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5875. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5876. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5877. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5878. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5879. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5880. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5881. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5882. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5883. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5884. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5885. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5886. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5887. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5888. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5889. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5890. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5891. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5892. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5893. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5894. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5895. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5896. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5897. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5898. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5899. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5900. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5901. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5902. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5903. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5904. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5905. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5906. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5907. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5908. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5909. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5910. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5911. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5912. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5913. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5914. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5915. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5916. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5917. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5918. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5919. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5920. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5921. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5922. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5923. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5924. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5925. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5926. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5927. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5928. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5929. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5930. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5931. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5932. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5933. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5934. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5935. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5936. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5937. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5938. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5939. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5940. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5941. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5942. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5943. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5944. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5945. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5946. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5947. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5948. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5949. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5950. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5951. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5952. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5953. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5954. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5955. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5956. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5957. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5958. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5959. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5960. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5961. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5962. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5963. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5964. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5965. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5966. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5967. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5968. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5969. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  5970. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  5971. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  5972. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  5973. // obsolete start
  5974. }
  5975. //obsolete file hosts init end
  5976. //Add Host Example
  5977. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5978. {
  5979. addFileHost(
  5980. "datafile\.com\/\\w+",
  5981. 'var captchaPanel|<link href="/css/files_download.css"',
  5982. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5983. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5984. '<style type="text/css">',
  5985. "//a[contains(@href,'datafile.com')]",
  5986. true);
  5987. } */
  5988.  
  5989. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5990. {
  5991. var host = new Array(7);
  5992. host[0] = linkRegex;
  5993. host[1] = isAliveRegex;
  5994. host[2] = isDeadRegex;
  5995. host[3] = isUnavaRegex;
  5996. host[6] = ispremRegex;
  5997. host[4] = xpathEx;
  5998. tryLoop ? host[5] = true : host[5] = false;
  5999. http_file_hosts.push(host);
  6000. }
  6001. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  6002. {
  6003. addFileHost(
  6004. "megafileupload\.com\/..\/file\/",
  6005. 'downloadbtn',
  6006. 'is not found',
  6007. 'optional--',
  6008. 'optional2--',
  6009. "//a[contains(@href,'megafileupload.com')]");
  6010. }
  6011. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6012. {
  6013. addFileHost(
  6014. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6015. 'download\\.gif"',
  6016. 'p_point">',
  6017. 'optional--',
  6018. 'optional2--',
  6019. "//a[contains(@href,'demo.ovh.eu')]");
  6020. }
  6021. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  6022. {
  6023. addFileHost(
  6024. "xkeepfile\.com\/\\w+",
  6025. 'File has been found|Click here to download',
  6026. 'File cannot be found|class="error">',
  6027. 'optional--',
  6028. 'optional2--',
  6029. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  6030. }
  6031. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6032. {
  6033. addFileHost(
  6034. "safelinking\\.net\/p\/\\w+",
  6035. 'color:green;"',
  6036. 'color:(?:red|orange);"',
  6037. 'color:(?:grey|brown);"',
  6038. 'optional2--',
  6039. "//a[contains(@href,'safelinking.net/p/')]",
  6040. true);
  6041. }
  6042. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6043. {
  6044. addFileHost(
  6045. "fastshare\\.cz\/\\d+\/\\w*",
  6046. 'dwntable">|speed-low',
  6047. 'nebyla nalezena|nebola nájdená|nie została odnaleziona|color:red;font-weight:bold;border\\-style:dashed|<i class="fa fa-copyright"></i>|<title>FastShare.cz</title>|file has been deleted|website is not available from your country',
  6048. 'optional--',
  6049. 'optional2--',
  6050. "//a[contains(@href,'fastshare.cz')]");
  6051. }
  6052. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6053. {
  6054. addFileHost(
  6055. "[fF]ast[sS]hare\\.org\/download",
  6056. 'Download ">',
  6057. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6058. 'optional--',
  6059. 'optional2--',
  6060. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6061. }
  6062. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6063. {
  6064. addFileHost(
  6065. "partage-facile\.com\/\\w+",
  6066. 'class="title"><strong>|colspan="2"',
  6067. 'Page introuvable|class="alert-message',
  6068. 'optional--',
  6069. 'optional2--',
  6070. "//a[contains(@href,'partage-facile.com')]");
  6071. }
  6072. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6073. {
  6074. addFileHost(
  6075. "rapidgator\\.net\/file\/\\w+",
  6076. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6077. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  6078. 'optional--',
  6079. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  6080. "//a[contains(@href,'rapidgator.net/file')]",
  6081. true
  6082. );
  6083. }
  6084. if (GM_getValue("Check_rg_dot_to_links", false))
  6085. {
  6086. addFileHost(
  6087. "rg\.to\/\\w+",
  6088. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6089. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6090. 'optional--',
  6091. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode',
  6092. "//a[contains(@href,'rg.to')]");
  6093. }
  6094. if (GM_getValue("Check_relink_dot_us_links", false))
  6095. {
  6096. addFileHost(
  6097. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6098. 'online_detail\\.png" alt="Status',
  6099. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6100. 'unknown_detail\\.png" alt="Status',
  6101. 'optional2--',
  6102. "//a[contains(@href,'relink.us/')]"
  6103. );
  6104. }
  6105. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6106. {
  6107. addFileHost(
  6108. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6109. 'div id="dl"',
  6110. 'Sie haben den Link falsch',
  6111. 'optional--',
  6112. 'optional2--',
  6113. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6114. );
  6115. }
  6116. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6117. {
  6118. addFileHost(
  6119. "flyfiles\\.net\/\\w+",
  6120. 'download_button"|"Download file"',
  6121. 'File not found!|Файл не найден',
  6122. 'optional--',
  6123. 'optional2--',
  6124. "//a[contains(@href,'flyfiles.net/')]"
  6125. );
  6126. }
  6127. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6128. {
  6129. addFileHost(
  6130. "wikiupload\\.com\/\\w+",
  6131. 'download-button">',
  6132. 'Sorry, File not found',
  6133. 'optional--',
  6134. 'optional2--',
  6135. "//a[contains(@href,'wikiupload.com/')]"
  6136. );
  6137. }
  6138. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6139. {
  6140. addFileHost(
  6141. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6142. 'file\\.php">|Pobierz Plik',
  6143. 'Podany plik nie zosta',
  6144. 'optional--',
  6145. 'optional2--',
  6146. "//a[contains(@href,'hostuje.net/file')]"
  6147. );
  6148. }
  6149. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6150. {
  6151. addFileHost(
  6152. "gettyfile\\.ru\/\\d+",
  6153. 'download\\.gif border',
  6154. '<center><font size="3">',
  6155. 'optional--',
  6156. 'optional2--',
  6157. "//a[contains(@href,'gettyfile.ru/')]"
  6158. );
  6159. }
  6160. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6161. {
  6162. addFileHost(
  6163. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6164. 'download\\-file">',
  6165. 'col-1">\\s*<h1>',
  6166. 'optional--',
  6167. 'optional2--',
  6168. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6169. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6170. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6171. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6172. );
  6173. }
  6174. if (GM_getValue("Check_data_dot_hu_links", false))
  6175. {
  6176. addFileHost(
  6177. "data\\.hu\/get\/\\d+\/",
  6178. 'download_box_button',
  6179. 'missing\\.php',
  6180. 'optional--',
  6181. 'optional2--',
  6182. "//a[contains(@href,'data.hu/get')]",
  6183. true
  6184. );
  6185. }
  6186. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6187. {
  6188. addFileHost(
  6189. "filesmelt\\.com\/dl\/\\w+",
  6190. '(Your download is ready|Download File)',
  6191. 'Sorry, but your',
  6192. 'optional--',
  6193. 'optional2--',
  6194. "//a[contains(@href,'filesmelt.com/dl')]"
  6195. );
  6196. }
  6197. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6198. {
  6199. addFileHost(
  6200. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6201. 'premiumBtn"',
  6202. 'errorMessage"',
  6203. 'optional--',
  6204. 'optional2--',
  6205. "//a[contains(@href,'indowebster.com/download')]"
  6206. );
  6207. }
  6208. if (GM_getValue("Check_superload_dot_cz_links", false))
  6209. {
  6210. addFileHost(
  6211. "superload\\.cz\/dl\/\\w+",
  6212. 'icon-download">',
  6213. 'soubor nebyl nalezen',
  6214. 'optional--',
  6215. 'optional2--',
  6216. "//a[contains(@href,'superload.cz/dl')]"
  6217. );
  6218. }
  6219. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6220. {
  6221. addFileHost(
  6222. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6223. 'op" value="download',
  6224. 'class="err">|width:500px;text-align:left;">',
  6225. 'optional--',
  6226. 'optional2--',
  6227. "//a[contains(@href,'hulkfile.')]"
  6228. );
  6229. }
  6230. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6231. {
  6232. addFileHost(
  6233. "easybytez\\.com\/\\w+",
  6234. 'op" value="download',
  6235. 'stop_error\\.gif',
  6236. 'optional--',
  6237. 'optional2--',
  6238. "//a[contains(@href,'easybytez.com/')]"
  6239. );
  6240. }
  6241. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6242. {
  6243. addFileHost(
  6244. "filestore\\.com\\.ua\/\\?d=\\w+",
  6245. 'tdrow1>',
  6246. 'class=warn',
  6247. 'optional--',
  6248. 'optional2--',
  6249. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6250. );
  6251. }
  6252. if (GM_getValue("Check_netkups_dot_com_links", false))
  6253. {
  6254. addFileHost(
  6255. "netkups\\.com\/\\?d=\\w+",
  6256. 'submit">Continue',
  6257. 'page">File not found|deleted due to inactivity',
  6258. 'optional--',
  6259. 'optional2--',
  6260. "//a[contains(@href,'netkups.com/?d=')]"
  6261. );
  6262. }
  6263. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6264. {
  6265. addFileHost(
  6266. "openfile\\.ru\/(?:video\/|)\\d+",
  6267. 'videobox_left">',
  6268. 'blog_title">|not found on this server',
  6269. 'optional--',
  6270. 'optional2--',
  6271. "//a[contains(@href,'openfile.ru/')]"
  6272. );
  6273. }
  6274. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6275. {
  6276. addFileHost(
  6277. "extmatrix\\.com\/files\/\\w+",
  6278. 'div class="success"',
  6279. 'div class="error"',
  6280. 'optional--',
  6281. 'optional2--',
  6282. "//a[contains(@href,'extmatrix.com/files')]"
  6283. );
  6284. }
  6285. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6286. {
  6287. addFileHost(
  6288. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6289. 'content_lnkDownload',
  6290. 'error\\.aspx\\?',
  6291. 'optional--',
  6292. 'optional2--',
  6293. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6294. );
  6295. }
  6296. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6297. {
  6298. addFileHost(
  6299. "yourfilestore\\.com\/download\/\\d+\/",
  6300. 'download_data">',
  6301. 'may have been deleted|<h1>Sorry!<\/h1>',
  6302. 'optional--',
  6303. 'optional2--',
  6304. "//a[contains(@href,'yourfilestore.com/download')]"
  6305. );
  6306. }
  6307. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6308. {
  6309. addFileHost(
  6310. "nekaka\\.com\/d\/[\\w-]+",
  6311. 'downloadForm">',
  6312. 'invalid file link',
  6313. 'optional--',
  6314. 'optional2--',
  6315. "//a[contains(@href,'nekaka.com/d')]"
  6316. );
  6317. }
  6318. if (GM_getValue("Check_filebig_dot_net_links", false))
  6319. {
  6320. addFileHost(
  6321. "filebig\\.net\/files\/\\w+",
  6322. 'downloadFile">',
  6323. '<p>File not found<\/p>',
  6324. 'optional--',
  6325. 'optional2--',
  6326. "//a[contains(@href,'filebig.net/files')]"
  6327. );
  6328. }
  6329. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6330. {
  6331. addFileHost(
  6332. "files\\.filefront\\.com\/\/;\\d+;;",
  6333. 'downloadLink">',
  6334. 'File not found, you',
  6335. 'optional--',
  6336. 'optional2--',
  6337. "//a[contains(@href,'files.filefront.com')]"
  6338. );
  6339.  
  6340. addFileHost(
  6341. "gamefront\\.com\/files\/\\d+",
  6342. 'downloadLink">',
  6343. 'File not found, you',
  6344. 'optional--',
  6345. 'optional2--',
  6346. "//a[contains(@href,'gamefront.com/files')]"
  6347. );
  6348. }
  6349. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6350. {
  6351. addFileHost(
  6352. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6353. 'dnlLnk"',
  6354. 'already been deleted',
  6355. 'optional--',
  6356. 'optional2--',
  6357. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6358. );
  6359. }
  6360. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6361. {
  6362. addFileHost(
  6363. "hellupload\\.com\/\\w+",
  6364. '<h3>Download File<br',
  6365. 'id="podstrona">|AVOID_IE_BUG',
  6366. 'optional--',
  6367. 'optional2--',
  6368. "//a[contains(@href,'hellupload.com/')]"
  6369. );
  6370. }
  6371. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6372. {
  6373. addFileHost(
  6374. "free\\-uploading\\.com\/\\w+",
  6375. 'op" value="download',
  6376. 'class="err">|width:500px;text-align:left;">',
  6377. 'optional--',
  6378. 'optional2--',
  6379. "//a[contains(@href,'free-uploading.com/')]"
  6380. );
  6381. }
  6382. if (GM_getValue("Check_fileape_dot_com_links", false))
  6383. {
  6384. addFileHost(
  6385. "fileape\\.com\/download\\-",
  6386. 'button_dl\\.png',
  6387. 'does not exist\\.',
  6388. 'optional--',
  6389. 'optional2--',
  6390. "//a[contains(@href,'fileape.com/')]"
  6391. );
  6392. }
  6393. if (GM_getValue("Check_uppit_dot_com_links", false))
  6394. {
  6395. addFileHost(
  6396. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6397. 'op" value="download',
  6398. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6399. 'optional--',
  6400. 'optional2--',
  6401. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6402. true
  6403. );
  6404. }
  6405. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6406. {
  6407. addFileHost(
  6408. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6409. 'op" value="download',
  6410. '>File Not Found<',
  6411. 'optional--',
  6412. 'optional2--',
  6413. "//a[contains(@href,'nosupload.com')]",
  6414. true
  6415. );
  6416. }
  6417. if (GM_getValue("Check_filesin_dot_com_links", false))
  6418. {
  6419. addFileHost(
  6420. "filesin\\.com\/\\w+\/download\\.html",
  6421. 'download_area">',
  6422. 'error_note">',
  6423. 'optional--',
  6424. 'optional2--',
  6425. "//a[contains(@href,'filesin.com/')]",
  6426. true
  6427. );
  6428. }
  6429. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6430. {
  6431. addFileHost(
  6432. "nowdownload\\.ch\/dl\/\\w+",
  6433. 'alert-success"',
  6434. 'This file does not exist!',
  6435. 'The file is being transfered',
  6436. 'optional2--',
  6437. "//a[contains(@href,'nowdownload.ch/dl')]"
  6438. );
  6439. }
  6440. if (GM_getValue("Check_axifile_dot_com_links", false))
  6441. {
  6442. addFileHost(
  6443. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6444. 'Dbutton_big"',
  6445. 'download\\-error\\.php',
  6446. 'optional--',
  6447. 'optional2--',
  6448. "//a[contains(@href,'axifile.com/')]"
  6449. );
  6450. }
  6451. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6452. {
  6453. addFileHost(
  6454. "hulkshare\.com\/\\w+",
  6455. 'download\.sam\.png|This is a private file|id="filename',
  6456. 'File does not exist|fingerprint protected copyright',
  6457. 'optional--',
  6458. 'optional2--',
  6459. "//a[contains(@href,'hulkshare.com')]"
  6460. );
  6461. }
  6462. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6463. {
  6464. addFileHost(
  6465. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6466. 'col-1">\\s*<s',
  6467. 'col-1">\\s*<h',
  6468. 'optional--',
  6469. 'optional2--',
  6470. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6471. );
  6472. }
  6473. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6474. {
  6475. addFileHost(
  6476. "turbobit\\.(?:net|pl)",
  6477. 'id="download-gate-info|id="file-list',
  6478. 'afterWait()|no files in this folder',
  6479. 'optional--',
  6480. 'optional2--',
  6481. "//a[contains(@href,'turbobit.net')]"
  6482. );
  6483. }
  6484. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6485. {
  6486. addFileHost(
  6487. "hitfile\\.net\/download\/folder\/\\d+",
  6488. 'content">\\s*<s',
  6489. 'content">\\s*<h',
  6490. 'optional--',
  6491. 'optional2--',
  6492. "//a[contains(@href,'hitfile.net/download/folder')]"
  6493. );
  6494. }
  6495. if (GM_getValue("Check_movshare_dot_net_links", false))
  6496. {
  6497. addFileHost(
  6498. "movshare\\.net\\/video\\/\\w+",
  6499. 'optional--"',
  6500. 'no longer exists',
  6501. 'optional--',
  6502. 'optional2--',
  6503. "//a[contains(@href,'movshare.net/video')]"
  6504. );
  6505. }
  6506. if (GM_getValue("Check_plunder_dot_com_links", false))
  6507. {
  6508. addFileHost(
  6509. "plunder\.com\/\\w+",
  6510. 'x\/download\\.gif',
  6511. '404 - File or directory not found.',
  6512. 'optional--',
  6513. 'optional2--',
  6514. "//a[contains(@href,'plunder.com')]"
  6515. );
  6516. }
  6517. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6518. {
  6519. addFileHost(
  6520. "mafiastorage\\.com\/\\w+",
  6521. 'op" value="download',
  6522. 'class="err">|style="width:500px;text-align:left;"',
  6523. 'optional--',
  6524. 'optional2--',
  6525. "//a[contains(@href,'mafiastorage.com/')]"
  6526. );
  6527. }
  6528. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6529. {
  6530. addFileHost(
  6531. "uploadspace\.pl\/plik\\w+",
  6532. 'Downloading .+? \\|',
  6533. 'Downloading a file',
  6534. 'optional--',
  6535. 'optional2--',
  6536. "//a[contains(@href,'uploadspace.pl/plik')]"
  6537. );
  6538. }
  6539. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6540. {
  6541. addFileHost(
  6542. "uploadingit\\.com\/file\/\\w+",
  6543. 'downloadTitle">',
  6544. 'deleteContent">',
  6545. 'optional--',
  6546. 'optional2--',
  6547. "//a[contains(@href,'uploadingit.com/file')]"
  6548. );
  6549. }
  6550. if (GM_getValue("Check_rghost_dot_net_links", false))
  6551. {
  6552. addFileHost(
  6553. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6554. 'download_link|btn large download',
  6555. 'file is restricted|File is deleted|503 Service Unavailable',
  6556. 'optional--',
  6557. 'optional2--',
  6558. "//a[contains(@href,'rghost.')]"
  6559. );
  6560. }
  6561. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6562. {
  6563. addFileHost(
  6564. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6565. '">Staženo:\\s*<\/span>',
  6566. 'Soubor, který hledáte nenalezen',
  6567. 'optional--',
  6568. 'optional2--',
  6569. "//a[contains(@href,'xdisk.cz/')]"
  6570. );
  6571. }
  6572. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6573. {
  6574. addFileHost(
  6575. "2downloadz\.com\/\\w+",
  6576. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6577. 'color="#006DCC|File error',
  6578. 'optional--',
  6579. 'optional2--',
  6580. "//a[contains(@href,'2downloadz.com')]");
  6581. }
  6582. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6583. {
  6584. addFileHost(
  6585. "mightyupload\.com\/\\w+",
  6586. 'background:#ccc;text-align|CONTENT="Download File"',
  6587. 'style="background:#eee|var rr =|File Not Found',
  6588. 'error-code">1010',
  6589. 'optional2--',
  6590. "//a[contains(@href,'mightyupload.com')]");
  6591. }
  6592. if (GM_getValue("Check_anysend_dot_com_links", false))
  6593. {
  6594. addFileHost(
  6595. "anysend\.com\/\\w+",
  6596. 'var openCalled=false;|content="noindex"',
  6597. '_trackPageview',
  6598. 'optional--',
  6599. 'optional2--',
  6600. "//a[contains(@href,'anysend.com')]");
  6601. }
  6602. if (GM_getValue("Check_datafile_dot_com_links", false))
  6603. {
  6604. addFileHost(
  6605. "datafile\.com\/\\w+",
  6606. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6607. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6608. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6609. '; display:none;">|<a style="margin-top: auto; margin-bottom: auto;" class="get-premium-button" href="javascript:void(0)">|only by users with<br />Premium account!', //<style type="text/css">
  6610. "//a[contains(@href,'datafile.com')]",
  6611. true);
  6612. }
  6613. if (GM_getValue("Check_upstore_dot_net_links", false))
  6614. {
  6615. addFileHost(
  6616. "upstore\.net\/\\w+",
  6617. 'name="free"',
  6618. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6619. 'optional--',
  6620. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6621. "//a[contains(@href,'upstore.net')]");
  6622. }
  6623. if (GM_getValue("Check_upsto_dot_re_links", false))
  6624. {
  6625. addFileHost(
  6626. "upsto\.re\/\\w+",
  6627. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6628. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6629. 'optional--',
  6630. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6631. "//a[contains(@href,'upsto.re')]");
  6632. }
  6633. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6634. {
  6635. addFileHost(
  6636. "speedy\.sh\/\\w+",
  6637. 'bgcolor=#eeeeee|class="addthis',
  6638. 'File not found|downloadfilenamenotfound>',
  6639. 'optional--',
  6640. 'optional2--',
  6641. "//a[contains(@href,'speedy.sh')]");
  6642. }
  6643. /* if (GM_getValue("Check_sanshare_dot_com_links", false))
  6644. {
  6645. addFileHost(
  6646. "sanshare\.com\/\\w+",
  6647. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6648. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6649. 'optional--',
  6650. 'optional2--',
  6651. "//a[contains(@href,'sanshare.com')]");
  6652. } */
  6653. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6654. {
  6655. addFileHost(
  6656. "kingfiles\.net\/\\w+",
  6657. 'method_free|images/loading_small.gif"',
  6658. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6659. 'optional--',
  6660. 'optional2--',
  6661. "//a[contains(@href,'kingfiles.net')]");
  6662. }
  6663. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6664. {
  6665. addFileHost(
  6666. "uploadhero\\.co\/dl\/\\w+",
  6667. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6668. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6669. 'optional--',
  6670. 'optional2--',
  6671. "//a[contains(@href,'uploadhero.co/dl')]"
  6672. );
  6673. } */
  6674. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6675. {
  6676. addFileHost(
  6677. "secureupload\\.eu\/\\w+",
  6678. 'Downloading',
  6679. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6680. 'optional--',
  6681. 'optional2--',
  6682. "//a[contains(@href,'secureupload.eu')]"
  6683. );
  6684. }
  6685. if (GM_getValue("Check_ge_dot_tt_links", false))
  6686. {
  6687. addFileHost(
  6688. "ge\.tt\/\\w+",
  6689. 'downloads pic',
  6690. 'is NOT the same as',
  6691. 'optional--',
  6692. 'optional2--',
  6693. "//a[contains(@href,'ge.tt')]");
  6694. }
  6695. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6696. {
  6697. addFileHost(
  6698. "filefactory\.com\/\\w+",
  6699. 'div id="file_holder"|download.css',
  6700. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6701. 'Server Maintenance|temporarily overloaded',
  6702. 'Premium Account Required',
  6703. "//a[contains(@href,'filefactory.com')]");
  6704. }
  6705. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6706. {
  6707. addFileHost(
  6708. "filesflash\.net\/\\w+",
  6709. 'align:right">Filename:',
  6710. 'class="msg">',
  6711. 'optional--',
  6712. 'optional2--',
  6713. "//a[contains(@href,'filesflash.net')]");
  6714. }
  6715. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6716. {
  6717. addFileHost(
  6718. "rapidgator\\.net\/folder\/\\w+",
  6719. 'href="/folder/',
  6720. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6721. 'optional--',
  6722. 'optional2--',
  6723. "//a[contains(@href,'rapidgator.net/folder')]",
  6724. true
  6725. );
  6726. }
  6727. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6728. {
  6729. addFileHost(
  6730. "salefiles\.com\/\\w+",
  6731. 'name="method_free',
  6732. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6733. 'optional--',
  6734. 'optional2--',
  6735. "//a[contains(@href,'salefiles.com')]");
  6736. }
  6737. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6738. {
  6739. addFileHost(
  6740. "megairon\.net\/\\w+",
  6741. 'border: 5px #ffeb90 solid;',
  6742. 'CONTENT="Download File ">|var rr =',
  6743. 'error-code">523',
  6744. 'optional2--',
  6745. "//a[contains(@href,'megairon.net')]",
  6746. true);
  6747. } */
  6748. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6749. {
  6750. addFileHost(
  6751. "datoid\.cz\/\\w+",
  6752. 'btn-download|class="icon-download-large"',
  6753. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'datoid.cz')]");
  6757. }
  6758. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6759. {
  6760. addFileHost(
  6761. "stiahni\.si\/\\w+",
  6762. 'report_icon.png"|slow-download-button',
  6763. 'none.png|deleted|<h2>Error 500</h2>',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'stiahni.si')]");
  6767. }
  6768. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6769. {
  6770. addFileHost(
  6771. "cloudstor\.es\/\\w+",
  6772. '"btn_download"',
  6773. '404: Page Not Found',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'cloudstor.es')]");
  6777. }
  6778. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6779. {
  6780. addFileHost(
  6781. "streamfile\.com\/\\w+",
  6782. 'class="btn',
  6783. 'class="green-btn',
  6784. 'optional--',
  6785. 'optional2--',
  6786. "//a[contains(@href,'streamfile.com')]");
  6787. }
  6788. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6789. {
  6790. addFileHost(
  6791. "eyesfile\.ca\/\\w+",
  6792. 'value="Get Link',
  6793. 'var rr =',
  6794. 'optional--',
  6795. 'optional2--',
  6796. "//a[contains(@href,'eyesfile.ca')]");
  6797. }
  6798. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6799. {
  6800. addFileHost(
  6801. "filemoney\.com\/\\w+",
  6802. 'og:title',
  6803. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6804. 'error-code">1010',
  6805. 'optional2--',
  6806. "//a[contains(@href,'filemoney.com')]");
  6807. }
  6808. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6809. {
  6810. addFileHost(
  6811. "uploadboy\.com\/\\w+",
  6812. 'width="740">|method_free',
  6813. 'var rr =|background:#ffffff|not be found|file was removed',
  6814. 'optional--',
  6815. 'optional2--',
  6816. "//a[contains(@href,'uploadboy.com')]");
  6817. }
  6818. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6819. {
  6820. addFileHost(
  6821. "uploadboy\.com\/\\w+",
  6822. 'width="740">|method_free',
  6823. 'var rr =|background:#ffffff|not be found|file was removed',
  6824. 'optional--',
  6825. 'optional2--',
  6826. "//a[contains(@href,'uploadboy.me')]");
  6827. }
  6828. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6829. {
  6830. addFileHost(
  6831. "speedshare\.eu\/\\w+",
  6832. 'favicon.png|color:#3d87c0|cross.png"',
  6833. 'var rr =|File Not Found|style="background:#eee',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'speedshare.eu')]");
  6837. }
  6838. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6839. {
  6840. addFileHost(
  6841. "unlimitzone\.com\/\\w+",
  6842. 'name="method_free',
  6843. 'var rr =|File Not Found|removed by administrator|class="err">|Файл не найден|Datei nicht gefunden|fichier non trouve|Dosya bulunamadД±|Nie znaleziono pliku|ไม่พบไฟล์ที่ต้องการ|Nie znaleziono pliku|Archive no Encontrado|ファイルが見つかりません。|File nem talГЎlhatГі|File tidak ditemukan|Bestand niet gevonden',
  6844. 'optional--',
  6845. 'optional2--',
  6846. "//a[contains(@href,'unlimitzone.com')]");
  6847. }
  6848. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6849. {
  6850. addFileHost(
  6851. "rioupload\.com\/\\w+",
  6852. 'sell.jpg',
  6853. 'var rr =',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'rioupload.com')]");
  6857. }
  6858. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6859. {
  6860. addFileHost(
  6861. "jumbofiles\.org\/\\w+",
  6862. 'H71C5.png|class="downloadtitle">',
  6863. 'var swfu|ViewSourceBIN.png',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'jumbofiles.org')]");
  6867. }
  6868. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6869. {
  6870. addFileHost(
  6871. "fshare\\.vn\/file\/\\w+",
  6872. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6873. 'không tồn tại|class="color_red m_t_50"',
  6874. 'optional--',
  6875. 'optional2--',
  6876. "//a[contains(@href,'fshare.vn/file')]",
  6877. true
  6878. );
  6879. }
  6880. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6881. {
  6882. addFileHost(
  6883. "spaceforfiles\.com\/\\w+",
  6884. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6885. 'var rr =|AVOID_IE_BUG',
  6886. 'optional--',
  6887. 'optional2--',
  6888. "//a[contains(@href,'spaceforfiles.com')]");
  6889. }
  6890. if (GM_getValue("Check_google_dot_com_links", false))
  6891. {
  6892. addFileHost(
  6893. "google\\.com\/file\/\\w+",
  6894. 'content="!">|color:#2d2d2d',
  6895. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6896. 'optional--',
  6897. 'optional2--',
  6898. "//a[contains(@href,'google.com/file')]",
  6899. true
  6900. );
  6901. }
  6902. if (GM_getValue("Check_google_dot_com_links", false))
  6903. {
  6904. addFileHost(
  6905. "docs.google.com\/\\w+",
  6906. 'content="!">|color:#2d2d2d',
  6907. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6908. 'optional--',
  6909. 'optional2--',
  6910. "//a[contains(@href,'docs.google.com')]",
  6911. true
  6912. );
  6913. }
  6914. if (GM_getValue("Check_google_dot_com_links", false))
  6915. {
  6916. addFileHost(
  6917. "drive.google.com\/\\w+",
  6918. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6919. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6920. 'optional--',
  6921. 'optional2--',
  6922. "//a[contains(@href,'drive.google.com')]",
  6923. true
  6924. );
  6925. }
  6926. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6927. {
  6928. addFileHost(
  6929. "up.media1fire\.com\/\\w+",
  6930. 'class="addthis_|value="download',
  6931. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6932. 'optional--',
  6933. 'optional2--',
  6934. "//a[contains(@href,'up.media1fire.com')]");
  6935. }
  6936. if (GM_getValue("Check_depfile_dot_com_links", false))
  6937. {
  6938. addFileHost(
  6939. "depfile\.com\/\\w+",
  6940. 'logo_0.png|downloads.gif"|verifycode',
  6941. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6942. 'optional--',
  6943. 'available only for Premium users',
  6944. "//a[contains(@href,'depfile.com')]");
  6945. }
  6946. if (GM_getValue("Check_go4up_dot_com_links", false))
  6947. {
  6948. addFileHost(
  6949. "go4up\.com\/\\w+",
  6950. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6951. '<title>GO4UP|dmca',
  6952. 'optional--',
  6953. 'optional2--',
  6954. "//a[contains(@href,'go4up.com')]");
  6955. }
  6956. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6957. {
  6958. addFileHost(
  6959. "redbunker\.net\/\\w+",
  6960. 'name="method_free"',
  6961. 'color="red">Unknow / Bilinmiyor<',
  6962. 'optional--',
  6963. '2.3 GB',
  6964. "//a[contains(@href,'redbunker.net')]");
  6965. }
  6966. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6967. {
  6968. addFileHost(
  6969. "divxpress\.com\/\\w+",
  6970. 'btn_download|logo.png"',
  6971. 'AVOID_IE_BUG|var rr =',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'divxpress.com')]");
  6975. }
  6976. if (GM_getValue("Check_anafile_dot_com_links", false))
  6977. {
  6978. addFileHost(
  6979. "anafile\.com\/\\w+",
  6980. 'width="881" valign="top|color="#800080"|name="go"',
  6981. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'anafile.com')]");
  6985. }
  6986. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6987. {
  6988. addFileHost(
  6989. "uploadable\\.ch\/file\/\\w+",
  6990. 'captcha.js"|payment.js"|class="btn_download"',
  6991. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6992. 'optional--',
  6993. 'optional2--',
  6994. "//a[contains(@href,'uploadable.ch/file')]",
  6995. true
  6996. );
  6997. }
  6998. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6999. {
  7000. addFileHost(
  7001. "bigfile\\.to\/file\/\\w+",
  7002. 'captcha.js"|payment.js"|class="btn_download"',
  7003. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  7004. 'optional--',
  7005. 'optional2--',
  7006. "//a[contains(@href,'bigfile.to/file')]",
  7007. true
  7008. );
  7009. }
  7010. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7011. {
  7012. addFileHost(
  7013. "arabloads\.net\/\\w+",
  7014. 'name="method_free"|name="method_premium"',
  7015. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'arabloads.net')]");
  7019. }
  7020. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7021. {
  7022. addFileHost(
  7023. "sharerepo\.com\/\\w+",
  7024. 'name="method_free"',
  7025. 'var public_on=|The file you were looking for could not be found',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'sharerepo.com')]");
  7029. }
  7030. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7031. {
  7032. addFileHost(
  7033. "sfshare\.se\/\\w+",
  7034. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7035. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'sfshare.se')]");
  7039. }
  7040. if (GM_getValue("Check_files_dot_fm_links", false))
  7041. {
  7042. addFileHost(
  7043. "files\.fm\/\\w+",
  7044. 'dl.png"|background-color: transparent',
  7045. 'margin: 40px 40px|background: none;',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'files.fm')]");
  7049. }
  7050. if (GM_getValue("Check_koofile_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "koofile\.com\/\\w+",
  7054. 'value="download1">|name="method_free"',
  7055. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'koofile.com')]");
  7059. }
  7060. if (GM_getValue("Check_vidxden_dot_com_links", false))
  7061. {
  7062. addFileHost(
  7063. "vidxden\\.com\/\\w+",
  7064. 'Continue to Video"',
  7065. 'No such file',
  7066. 'optional--',
  7067. 'optional2--',
  7068. "//a[contains(@href,'vidxden.com')]"
  7069. );
  7070. }
  7071. if (GM_getValue("Check_muchshare_dot_net_links", false))
  7072. {
  7073. addFileHost(
  7074. "muchshare\\.net\/\\w+",
  7075. 'id="btn_download"',
  7076. 'File Not Found|width: 500px; text-align: left;',
  7077. 'optional--',
  7078. 'optional2--',
  7079. "//a[contains(@href,'muchshare.net')]"
  7080. );
  7081. }
  7082. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7083. {
  7084. addFileHost(
  7085. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7086. 'Details zur Datei|Details page',
  7087. 'Jetzt hochladen|upload now',
  7088. 'optional--',
  7089. 'optional2--',
  7090. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7091. );
  7092. }
  7093. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7094. {
  7095. addFileHost(
  7096. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7097. 'downloadbtn"',
  7098. 'DL_FileNotFound',
  7099. 'optional--',
  7100. 'optional2--',
  7101. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7102. );
  7103. }
  7104. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7105. {
  7106. addFileHost(
  7107. "fileflyer\.com\/view\/\\w+",
  7108. '(?:dwl|locked)btn"',
  7109. 'error.gif"|link">Removed|removedlink">',
  7110. 'optional--',
  7111. 'optional2--',
  7112. "//a[contains(@href,'fileflyer.com')]"
  7113. );
  7114. }
  7115. if (GM_getValue("Check_filestore_dot_to_links", false))
  7116. {
  7117. addFileHost(
  7118. "filestore\.to\/\\?d=\\w+",
  7119. '"downloading"',
  7120. 'Datei wurde nicht gefunden',
  7121. 'optional--',
  7122. 'optional2--',
  7123. "//a[contains(@href,'filestore.to')]"
  7124. );
  7125. }
  7126. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7127. {
  7128. addFileHost(
  7129. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7130. 'fz24">Download|class="pl15">',
  7131. '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',
  7132. 'optional--',
  7133. 'optional2--',
  7134. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7135. );
  7136. }
  7137. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7138. {
  7139. addFileHost(
  7140. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7141. 'File size:',
  7142. 'file is not found',
  7143. 'optional--',
  7144. 'optional2--',
  7145. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7146. );
  7147. } */
  7148. if (GM_getValue("Check_datei_dot_to_links", false))
  7149. {
  7150. addFileHost(
  7151. "datei\\.to\/\\??\\w+",
  7152. 'icon_downloaden\\.png|>Download starten<',
  7153. 'Datei wurde nicht gefunden|icon_deleted.png',
  7154. 'optional--',
  7155. 'optional2--',
  7156. "//a[contains(@href,'datei.to')]"
  7157. );
  7158. }
  7159. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7160. {
  7161. addFileHost(
  7162. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7163. '<body class="body" id="body">|value="Slow Download"',
  7164. '<body class="body" >',
  7165. 'optional--',
  7166. 'optional2--',
  7167. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7168. );
  7169. }
  7170. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7171. {
  7172. addFileHost(
  7173. "uploadhero\\.com\/dl\/\\w+",
  7174. 'content-dl">',
  7175. 'men_file_lost\\.jpg"',
  7176. 'optional--',
  7177. 'optional2--',
  7178. "//a[contains(@href,'uploadhero.com/dl')]"
  7179. );
  7180. } */
  7181. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7182. {
  7183. addFileHost(
  7184. "unibytes\\.com\/[\\w\.]+",
  7185. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7186. 'File not found|Файл не найден|',
  7187. 'optional--',
  7188. 'optional2--',
  7189. "//a[contains(@href,'unibytes.com')]"
  7190. );
  7191. }
  7192. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7193. {
  7194. addFileHost(
  7195. "www\\.hellshare\\.com\/\\d+",
  7196. 'tab\\-details"',
  7197. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7198. 'optional--',
  7199. 'optional2--',
  7200. "//a[contains(@href,'www.hellshare.com')]"
  7201. );
  7202. }
  7203. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7204. {
  7205. addFileHost(
  7206. "www\\.download.cz.hellshare\\.com\/\\w+",
  7207. 'tab\\-details"',
  7208. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7209. 'optional--',
  7210. 'optional2--',
  7211. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7212. );
  7213. }
  7214. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7215. {
  7216. addFileHost(
  7217. "quickshare\\.cz\/slozka-\\d+",
  7218. 'Počet souborů: <strong>[1-9]',
  7219. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7220. 'optional--',
  7221. 'optional2--',
  7222. "//a[contains(@href,'quickshare.cz/slozka')]"
  7223. );
  7224. } */
  7225. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7226. {
  7227. addFileHost(
  7228. "filefactory\\.com\/f\/\\w+",
  7229. 'folderFileList">',
  7230. 'table class="items"|Pointer" class="red">',
  7231. 'optional--',
  7232. 'optional2--',
  7233. "//a[contains(@href,'filefactory.com/f/')]"
  7234. );
  7235. }
  7236. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7237. {
  7238. addFileHost(
  7239. "netfolder\\.in\/\\w+",
  7240. 'list" value="http',
  7241. 'InPage_Error">|list" value=""',
  7242. 'optional--',
  7243. 'optional2--',
  7244. "//a[contains(@href,'netfolder.in')]"
  7245. );
  7246. } */
  7247. if (GM_getValue("Check_load_dot_to_links", false))
  7248. {
  7249. addFileHost(
  7250. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7251. '"download_table_left">Size',
  7252. 'Can\'t find file',
  7253. 'optional--',
  7254. 'optional2--',
  7255. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7256. );
  7257. }
  7258. if (GM_getValue("Check_divshare_dot_com_links", false))
  7259. {
  7260. addFileHost(
  7261. "divshare\\.com\/download\/",
  7262. 'download_new\.png',
  7263. 'have been removed',
  7264. 'optional--',
  7265. 'optional2--',
  7266. "//a[contains(@href,'divshare.com')]"
  7267. );
  7268. }
  7269. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7270. {
  7271. addFileHost(
  7272. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7273. 'class="nazev-souboru',
  7274. '<div class="background margin-top vlevo" style="width: 600px;">',
  7275. 'optional--',
  7276. 'optional2--',
  7277. "//a[contains(@href,'euroshare.eu/file')]"
  7278. );
  7279. }
  7280. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7281. {
  7282. addFileHost(
  7283. 'files\\.mail\\.ru/(?:\\w*)',
  7284. 'fileList',
  7285. 'errorMessage',
  7286. 'optional--',
  7287. 'optional2--',
  7288. "//a[contains(@href,'files.mail.ru')]"
  7289. );
  7290. }
  7291. if (GM_getValue("Check_megashares_dot_com_links", false))
  7292. {
  7293. addFileHost(
  7294. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7295. 'Filesize',
  7296. 'Invalid|deleted|Could not download file',
  7297. 'slots|scheduled maintenance',
  7298. 'optional2--',
  7299. "//a[contains(@href,'megashares.com/')]"
  7300. );
  7301. }
  7302. if (GM_getValue("Check_narod_dot_ru_links", false))
  7303. {
  7304. addFileHost(
  7305. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7306. 'b-submit|action="resource.download"',
  7307. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7308. 'Внутренняя ошибка сервиса',
  7309. 'optional2--',
  7310. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7311. );
  7312. }
  7313. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7314. {
  7315. addFileHost(
  7316. "rayfile\\.com\/",
  7317. 'FILEtitleTXT',
  7318. 'blueRow',
  7319. 'optional--',
  7320. 'optional2--',
  7321. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7322. );
  7323. }
  7324. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7325. {
  7326. addFileHost(
  7327. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7328. 'button_green_body"',
  7329. 'error">',
  7330. 'optional--',
  7331. 'optional2--',
  7332. "//a[contains(@href,'filesmonster.com/download')]"
  7333. );
  7334. }
  7335. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7336. {
  7337. addFileHost(
  7338. 'usaupload\\.net\/d\/(?:\w*)',
  7339. '<strong>File size:</strong>',
  7340. 'is not available',
  7341. 'optional--',
  7342. 'optional2--',
  7343. "//a[contains(@href,'usaupload.net/d/')]"
  7344. );
  7345. }
  7346. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7347. {
  7348. addFileHost(
  7349. 'sendspace\\.com\/file\/\\w+',
  7350. 'file_description',
  7351. 'msg error"',
  7352. 'optional--',
  7353. 'optional2--',
  7354. "//a[contains(@href,'sendspace.com/file')]"
  7355. );
  7356. }
  7357. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7358. {
  7359. addFileHost(
  7360. 'sendspace\\.pl\/file\/\\w+',
  7361. 'download_file"',
  7362. 'Podany plik nie',
  7363. 'optional--',
  7364. 'optional2--',
  7365. "//a[contains(@href,'sendspace.pl/file')]"
  7366. );
  7367. }
  7368. if (GM_getValue("Check_uploading_dot_com_links", false))
  7369. {
  7370. addFileHost(
  7371. 'uploading\\.com\/(?:files\/)?\\w+',
  7372. 'free_method">',
  7373. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7374. 'optional--',
  7375. 'optional2--',
  7376. "//a[contains(@href,'uploading.com')]"
  7377. );
  7378. }
  7379. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7380. {
  7381. addFileHost(
  7382. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7383. 'fileId"',
  7384. 'error">',
  7385. 'optional--',
  7386. 'optional2--',
  7387. "//a[contains(@href,'gigasize.com/get')]"
  7388. );
  7389. }
  7390. if (GM_getValue("Check_good_dot_com_links", false))
  7391. {
  7392. addFileHost(
  7393. 'good\\.net\/(?:_|dl)',
  7394. 'Free Download',
  7395. 'Not Found',
  7396. 'Forbidden',
  7397. 'optional2--',
  7398. "//a[contains(@href,'good.net')]"
  7399. );
  7400. }
  7401. if (GM_getValue("Check_2shared_dot_com_links", false))
  7402. {
  7403. addFileHost(
  7404. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7405. 'File size',
  7406. 'File not found|is not valid|/images/important.gif',
  7407. 'optional--',
  7408. 'optional2--',
  7409. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7410. );
  7411. }
  7412. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7413. {
  7414. addFileHost(
  7415. 'turboupload\\.com\/\\w*',
  7416. 'You have requested',
  7417. 'File Not Found',
  7418. 'optional--',
  7419. 'optional2--',
  7420. "//a[contains(@href,'turboupload.com')]"
  7421. );
  7422. }
  7423. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7424. {
  7425. addFileHost(
  7426. 'gigapeta\\.com\/dl\/',
  7427. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7428. '404|page_error',
  7429. 'optional--',
  7430. 'optional2--',
  7431. "//a[contains(@href,'gigapeta.com/dl')]"
  7432. );
  7433. }
  7434. if (GM_getValue("Check_veehd_dot_com_links", false))
  7435. {
  7436. addFileHost(
  7437. 'veehd\.com\/video\/.*?',
  7438. 'No sound|Download video',
  7439. 'Featured Videos',
  7440. 'optional--',
  7441. 'optional2--',
  7442. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7443. );
  7444. }
  7445. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7446. {
  7447. addFileHost(
  7448. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7449. 'fast_download_form">|submit_sms_download',
  7450. '<p style="text-align:center">',
  7451. 'optional--',
  7452. 'optional2--',
  7453. "//a[contains(@href,'vip-file.com/download')]"
  7454. );
  7455. }
  7456. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7457. {
  7458. addFileHost(
  7459. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7460. 'download\\-pnl ',
  7461. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7462. 'optional--',
  7463. 'optional2--',
  7464. "//a[contains(@href,'letitbit.net/download')]"
  7465. );
  7466. }
  7467. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7468. {
  7469. addFileHost(
  7470. 'ifolder\.ru\/\\d+',
  7471. 'file-info',
  7472. 'ui-state-error',
  7473. 'optional--',
  7474. 'optional2--',
  7475. "//a[contains(@href,'ifolder.ru')]"
  7476. );
  7477. }
  7478. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7479. {
  7480. addFileHost(
  7481. 'fileswap\\.com\/dl\/\\w+',
  7482. 'bttnDownloadLink"',
  7483. 'rounded_block_error"',
  7484. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7485. 'optional2--',
  7486. "//a[contains(@href,'fileswap.com/dl')]"
  7487. );
  7488. }
  7489. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7490. {
  7491. addFileHost(
  7492. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7493. 'var __error = 0|id="recaptchaPanel">',
  7494. 'FILES__DOESNT_EXIST|removed or did not exist',
  7495. 'optional--',
  7496. 'optional2--',
  7497. "//a[contains(@href,'filecloud.io/')]"
  7498. );
  7499. addFileHost(
  7500. 'ifile\\.it\/\\w+',
  7501. 'var __error = 0',
  7502. 'FILES__DOESNT_EXIST',
  7503. 'optional--',
  7504. 'optional2--',
  7505. "//a[contains(@href,'ifile.it/')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7509. {
  7510. addFileHost(
  7511. 'solidfiles\\.com\/\\w+',
  7512. 'id="download"|content="Download',
  7513. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7514. 'optional--',
  7515. 'optional2--',
  7516. "//a[contains(@href,'solidfiles.com/')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7520. {
  7521. addFileHost(
  7522. "(?:.\\.|)shareflare\\.net",
  7523. 'download-pnl|<div class="premium-block">',
  7524. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7531. {
  7532. addFileHost(
  7533. "u18116681.shareflare\\.net",
  7534. 'download-pnl|<div class="premium-block">',
  7535. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_uloz_dot_to_links", false))
  7542. {
  7543. addFileHost(
  7544. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7545. 'fileDownload"|fileSize">',
  7546. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7547. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7548. 'optional2--',
  7549. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7550. true
  7551. );
  7552. }
  7553. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7554. {
  7555. addFileHost(
  7556. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7557. 'file\\-list-orderby|section-filedetail">',
  7558. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7559. 'optional--',
  7560. 'optional2--',
  7561. "//a[contains(@href,'hellspy.')]"
  7562. );
  7563. }
  7564. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7565. {
  7566. addFileHost(
  7567. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7568. '<body onload="">',
  7569. 'neexistuje|not exist',
  7570. 'optional--',
  7571. 'optional2--',
  7572. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7573. );
  7574. }
  7575. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7576. {
  7577. addFileHost(
  7578. "stahovanizasms\\.cz\/\\w+",
  7579. 'download\\.png>|font-size:11px><tr>',
  7580. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7581. 'optional--',
  7582. 'optional2--',
  7583. "//a[contains(@href,'stahovanizasms.cz')]"
  7584. );
  7585. }
  7586. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7587. {
  7588. addFileHost(
  7589. "share-links\\.biz\/\\w*",
  7590. 'online\\.gif',
  7591. '(?:offline|parts)\\.gif',
  7592. 'optional--',
  7593. 'optional2--',
  7594. "//a[contains(@href,'share-links.biz')]"
  7595. );
  7596. }
  7597. if (GM_getValue("Check_4shared_dot_com_links", false))
  7598. {
  7599. addFileHost(
  7600. "4shared\\.com\/.+\/",
  7601. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7602. 'class="warn\"|big red"|GetDataBack',
  7603. 'Service Unavailable',
  7604. 'optional2--',
  7605. "//a[contains(@href,'4shared.com')]"
  7606. );
  7607. }
  7608. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7609. {
  7610. addFileHost(
  7611. "(?:www\\d+\.|)zippyshare\.com\/",
  7612. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7613. 'not exist|Status 404',
  7614. 'optional--',
  7615. 'optional2--',
  7616. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7617. );
  7618. }
  7619. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7620. {
  7621. addFileHost(
  7622. "mediafire\.com\/",
  7623. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7624. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7625. 'set to private',
  7626. 'optional2--',
  7627. "//a[contains(@href,'mediafire.com')]"
  7628. );
  7629. }
  7630. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7631. {
  7632. addFileHost(
  7633. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7634. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7635. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7636. 'optional--',
  7637. 'GB</small>',
  7638. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7639. );
  7640. }
  7641. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7642. {
  7643. addFileHost(
  7644. "ulozisko\.sk\/",
  7645. 'Detaily',
  7646. 'neexistuje',
  7647. 'optional--',
  7648. 'optional2--',
  7649. "//a[contains(@href,'ulozisko.sk')]"
  7650. );
  7651. }
  7652. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7653. {
  7654. addFileHost(
  7655. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7656. 'download.php',
  7657. 'notfound|upload\\-suborov\\.php"',
  7658. 'optional--',
  7659. 'optional2--',
  7660. "//a[contains(@href,'upnito.sk')]"
  7661. );
  7662. }
  7663. if (GM_getValue("Check_box_dot_com_links", false))
  7664. {
  7665. addFileHost(
  7666. "box\.com\/\\w+",
  7667. 'download-file-btn|id="download_button|preview-download',
  7668. 'BIyMin.png| <div class="error_message|link has been removed',
  7669. 'optional--',
  7670. 'optional2--',
  7671. "//a[contains(@href,'app.box.com')]");
  7672. }
  7673. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7674. {
  7675. addFileHost(
  7676. "uptobox\\.com\/\\w+",
  7677. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7678. 'The file expired|The file was deleted|Fichier introuvable|not available in your country|No files uploaded yet|aucun fichier présent|Belum ada berkas yang diunggah|لا يوجد أي ملف',
  7679. 'Maintenance',
  7680. 'optional2--',
  7681. "//a[contains(@href,'uptobox.com')]"
  7682. );
  7683. }
  7684. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7685. {
  7686. addFileHost(
  7687. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7688. 'FILE DOWNLOAD<',
  7689. 'File Does Not Exist',
  7690. 'optional--',
  7691. 'optional2--',
  7692. "//a[contains(@href,'sharecash.org/download.php')]"
  7693. );
  7694. }
  7695. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7696. {
  7697. addFileHost(
  7698. "depositfiles\\.com\/folders\/\\w+",
  7699. '<div class="progressContainer">',
  7700. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'depositfiles.com/folders')]"
  7704. );
  7705. }
  7706. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7707. {
  7708. addFileHost(
  7709. "rapidfileshare\\.net/\\w+",
  7710. '<div id="upload-header-bg">',
  7711. '<div style="width:500px;text-align:left;">',
  7712. 'optional--',
  7713. 'optional2--',
  7714. "//a[contains(@href,'rapidfileshare.net/')]"
  7715. );
  7716. }
  7717. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7718. {
  7719. addFileHost(
  7720. "stiahnito\\.sk/",
  7721. '<span class="filesize right">',
  7722. '<ol class="list-purp-2">',
  7723. 'optional--',
  7724. 'optional2--',
  7725. "//a[contains(@href,'stiahnito.sk/')]"
  7726. );
  7727. }
  7728. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7729. {
  7730. addFileHost(
  7731. "rusfolder\\.(?:com|net)",
  7732. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7733. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7734. 'optional--',
  7735. 'optional2--',
  7736. "//a[contains(@href,'rusfolder')]"
  7737. );
  7738. }
  7739. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7740. {
  7741. addFileHost(
  7742. "fileover\\.net/\\d+",
  7743. 'id="filesize"',
  7744. 'Not found or deleted|The following file is unavailable',
  7745. 'optional--',
  7746. 'optional2--',
  7747. "//a[contains(@href,'fileover.net/')]"
  7748. );
  7749. } */
  7750. if (GM_getValue("Check_catshare_dot_net_links", false))
  7751. {
  7752. addFileHost(
  7753. "catshare\\.net/\\w+",
  7754. '"icon-share',
  7755. 'alert alert-error',
  7756. 'optional--',
  7757. 'optional2--',
  7758. "//a[contains(@href,'catshare.net/')]"
  7759. );
  7760. }
  7761. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7762. {
  7763. addFileHost(
  7764. "anonfiles\\.com/\\w+",
  7765. '"download_button"',
  7766. '<legend><b>404</b>',
  7767. 'optional--',
  7768. 'optional2--',
  7769. "//a[contains(@href,'anonfiles.com')]"
  7770. );
  7771. }
  7772. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7773. {
  7774. addFileHost(
  7775. "mixturecloud\\.com/media/\\w+",
  7776. '"btn icon i_globe gray share_150',
  7777. '"s_cross_close"></span> 404:',
  7778. 'optional--',
  7779. 'optional2--',
  7780. "//a[contains(@href,'mixturecloud.com/media/')]"
  7781. );
  7782. }
  7783. if (GM_getValue("Check_akafile_dot_com_links", false))
  7784. {
  7785. addFileHost(
  7786. "akafile\\.com\/\\w+",
  7787. 'download1',
  7788. 'File Not Found',
  7789. 'optional--',
  7790. 'optional2--',
  7791. "//a[contains(@href,'akafile.com/')]"
  7792. );
  7793. }
  7794. if (GM_getValue("Check_creafile_dot_net_links", false))
  7795. {
  7796. addFileHost(
  7797. "creafile\\.net\/\\w+",
  7798. 'downloadblock',
  7799. 'errtitle',
  7800. 'optional--',
  7801. 'optional2--',
  7802. "//a[contains(@href,'creafile.net/')]"
  7803. );
  7804. }
  7805. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7806. {
  7807. addFileHost(
  7808. "hugefiles\\.net\/\\w+",
  7809. 'download1|class="btn-create-download" value="Create Download Link">',
  7810. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7811. 'optional--',
  7812. 'optional2--',
  7813. "//a[contains(@href,'hugefiles.net/')]"
  7814. );
  7815. }
  7816. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7817. {
  7818. addFileHost(
  7819. "sendmyway\\.com\/\\w+",
  7820. 'id="btn_download"',
  7821. '500px;text-align:left;"|<center><h3>',
  7822. 'optional--',
  7823. 'optional2--',
  7824. "//a[contains(@href,'sendmyway.com/')]"
  7825. );
  7826. }
  7827. if (GM_getValue("Check_upload_dot_ee_links", false))
  7828. {
  7829. addFileHost(
  7830. "upload\\.ee\/\\w+",
  7831. 'onmouseout="document.dllink.src',
  7832. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7833. 'optional--',
  7834. 'optional2--',
  7835. "//a[contains(@href,'upload.ee/')]"
  7836. );
  7837. }
  7838. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7839. {
  7840. addFileHost(
  7841. "shareplace\\.org\/\\?\\w+",
  7842. 'Download-Link',
  7843. 'Your requested file is not found|Select file to send',
  7844. 'optional--',
  7845. 'optional2--',
  7846. "//a[contains(@href,'shareplace.org/?')]"
  7847. );
  7848. }
  7849. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7850. {
  7851. addFileHost(
  7852. "uploadc\\.com\/\\w+",
  7853. 'id="prebut"',
  7854. 'File Not Found|This file has been removed due',
  7855. 'optional--',
  7856. 'optional2--',
  7857. "//a[contains(@href,'uploadc.com/')]"
  7858. );
  7859. }
  7860. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7861. {
  7862. addFileHost(
  7863. "remixshare\\.com\/\\w+",
  7864. 'id="dl2"',
  7865. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7866. 'optional--',
  7867. 'optional2--',
  7868. "//a[contains(@href,'remixshare.com/')]"
  7869. );
  7870. }
  7871. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7872. {
  7873. addFileHost(
  7874. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7875. 'Last Download :',
  7876. 'img src="\\/404.jpg"',
  7877. 'optional--',
  7878. 'optional2--',
  7879. "//a[contains(@href,'exoshare.com/download.php')]"
  7880. );
  7881. }
  7882. if (GM_getValue("Check_borncash_dot_org_links", false))
  7883. {
  7884. addFileHost(
  7885. "borncash\\.org\/download\/\\?a=\\w+",
  7886. 'class="knop_1"',
  7887. '\/error\/er00',
  7888. 'optional--',
  7889. 'optional2--',
  7890. "//a[contains(@href,'borncash.org/download/')]"
  7891. );
  7892. }
  7893. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7894. {
  7895. addFileHost(
  7896. "vidplay\.net\/\\w+",
  7897. 'solvemedia puzzle widget',
  7898. 'File not found|AVOID_IE_BUG',
  7899. 'optional--',
  7900. 'optional2--',
  7901. "//a[contains(@href,'vidplay.net')]");
  7902. }
  7903. /* if (GM_getValue("Check_storagon_dot_com_links", false))
  7904. {
  7905. addFileHost(
  7906. "storagon\.com\/\\w+",
  7907. 'class="icon-cloud-download"></i>|content="Download Options',
  7908. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7909. 'optional--',
  7910. 'optional2--',
  7911. "//a[contains(@href,'storagon.com')]");
  7912. } */
  7913. if (GM_getValue("Check_filedais_dot_com_links", false))
  7914. {
  7915. addFileHost(
  7916. "filedais\.com\/\\w+",
  7917. 'class="btn btn-info"|name="method_free"',
  7918. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7919. 'optional--',
  7920. 'optional2--',
  7921. "//a[contains(@href,'filedais.com')]");
  7922. }
  7923. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7924. {
  7925. addFileHost(
  7926. "up.4share\.vn\/\\w+",
  7927. '<font size="2" face="Verdana">',
  7928. 'font: 13px Tahoma; color: Brown',
  7929. 'optional--',
  7930. 'optional2--',
  7931. "//a[contains(@href,'up.4share.vn')]");
  7932. }
  7933. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7934. {
  7935. addFileHost(
  7936. "share.vnn\.vn\/\\w+",
  7937. '"index,follow"|<div class="main" id="download-box">',
  7938. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7939. 'optional--',
  7940. 'optional2--',
  7941. "//a[contains(@href,'share.vnn.vn')]");
  7942. }
  7943. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7944. {
  7945. addFileHost(
  7946. "upfile\.vn\/\\w+",
  7947. 'download-timer',
  7948. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7949. 'optional--',
  7950. 'optional2--',
  7951. "//a[contains(@href,'upfile.vn')]");
  7952. }
  7953. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7954. {
  7955. addFileHost(
  7956. "aisfile\.com\/\\w+",
  7957. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7958. '<div style="width:500px;text-align:left;">|File Not Found',
  7959. 'optional--',
  7960. 'optional2--',
  7961. "//a[contains(@href,'aisfile.com')]");
  7962. }
  7963. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7964. {
  7965. addFileHost(
  7966. "usersfiles\.com\/\\w+",
  7967. 'class="btn btn-success|id="btn_download" class="btn"',
  7968. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7969. 'optional--',
  7970. 'optional2--',
  7971. "//a[contains(@href,'usersfiles.com')]");
  7972. }
  7973. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7974. {
  7975. addFileHost(
  7976. "pan.baidu\.com\/\\w+",
  7977. 'target="_blank" title=|share-personal-info',
  7978. 'share_notfound.png|background:#f9f9f9',
  7979. 'optional--',
  7980. 'optional2--',
  7981. "//a[contains(@href,'pan.baidu.com')]");
  7982. }
  7983. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7984. {
  7985. addFileHost(
  7986. "yunpan\.cn\/\\w+",
  7987. 'class="icon icon-download',
  7988. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7989. 'optional--',
  7990. 'optional2--',
  7991. "//a[contains(@href,'yunpan.cn')]");
  7992. }
  7993. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7994. {
  7995. addFileHost(
  7996. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7997. 'getElementById("downbild")|style.display',
  7998. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7999. 'optional--',
  8000. 'optional2--',
  8001. "//a[contains(@href,'file-upload.net')]");
  8002. }
  8003. if (GM_getValue("Check_gulfup_dot_com_links", false))
  8004. {
  8005. addFileHost(
  8006. "gulfup\.com\/",
  8007. '<!-- Downlod template -->|download.gif',
  8008. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  8009. 'optional--',
  8010. 'optional2--',
  8011. "//a[contains(@href,'gulfup.com')]");
  8012. }
  8013. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8014. {
  8015. addFileHost(
  8016. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8017. 'dldtable">',
  8018. 'does not exist\\.',
  8019. 'optional--',
  8020. 'optional2--',
  8021. "//a[contains(@href,'datafilehost.com')]");
  8022. }
  8023. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8024. {
  8025. addFileHost(
  8026. "dropbox\.com\/s\/\\w+",
  8027. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8028. '>Nothing Here<|>Error (404)<',
  8029. 'title>Dropbox - 509|Error (403)|Error: 429',
  8030. 'optional2--',
  8031. "//a[contains(@href,'dropbox.com')]");
  8032. }
  8033. if (GM_getValue("Check_box_dot_net_links", false))
  8034. {
  8035. addFileHost(
  8036. "box\.net\/\\w+",
  8037. 'download-file-btn|id="download_button',
  8038. 'BIyMin.png| <div class="error_message',
  8039. 'optional--',
  8040. 'optional2--',
  8041. "//a[contains(@href,'box.net')]");
  8042. }
  8043. if (GM_getValue("Check_fileband_dot_com_links", false))
  8044. {
  8045. addFileHost(
  8046. "fileband\.com\/\\w+",
  8047. 'value="download1">|name="id" value=',
  8048. '<div style="width:500px;text-align:left;">|not be found',
  8049. 'optional--',
  8050. 'optional2--',
  8051. "//a[contains(@href,'fileband.com')]");
  8052. }
  8053. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8054. {
  8055. addFileHost(
  8056. "filedropper\.com\/\\w+",
  8057. 'background:#ddd;|width:985px; ',
  8058. 'background-color:#FFFFFF;|margin-left: -400px;',
  8059. 'optional--',
  8060. 'optional2--',
  8061. "//a[contains(@href,'filedropper.com')]");
  8062. }
  8063. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8064. {
  8065. addFileHost(
  8066. "tropicshare\\.com\/files\/\\d+",
  8067. 'MB</span>|GB</span>|KB</span>',
  8068. '>FNF<|size: </span>',
  8069. 'optional--',
  8070. 'optional2--',
  8071. "//a[contains(@href,'tropicshare.com')]");
  8072. }
  8073. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  8074. {
  8075. addFileHost(
  8076. "goldbytez\.com\/\\w+",
  8077. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  8078. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  8079. 'optional--',
  8080. 'optional2--',
  8081. "//a[contains(@href,'goldbytez.com')]");
  8082. }
  8083. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8084. {
  8085. addFileHost(
  8086. "worldbytez\.com",
  8087. '<div class="download_type">|method_free',
  8088. '<div style="width:500px;text-align:left;">',
  8089. 'optional--',
  8090. 'optional2--',
  8091. "//a[contains(@href,'worldbytez.com')]",
  8092. true);
  8093. }
  8094. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8095. {
  8096. addFileHost(
  8097. "freefilehosting\.net\/\\w+",
  8098. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8099. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8100. 'optional--',
  8101. 'optional2--',
  8102. "//a[contains(@href,'freefilehosting.net')]");
  8103. }
  8104. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8105. {
  8106. addFileHost(
  8107. "ziddu\.com\/\\w+",
  8108. 'downloads.ziddu.com|downloadfilelinkicon',
  8109. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8110. 'optional--',
  8111. 'optional2--',
  8112. "//a[contains(@href,'ziddu.com')]");
  8113. }
  8114. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8115. {
  8116. addFileHost(
  8117. "exclusiveloader\.com\/\\w+",
  8118. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8119. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8120. 'optional--',
  8121. 'optional2--',
  8122. "//a[contains(@href,'exclusiveloader.com')]");
  8123. }
  8124. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8125. {
  8126. addFileHost(
  8127. "sharerapid\.cz\/\\w+",
  8128. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8129. 'error_div">|404 - Not Found',
  8130. 'optional--',
  8131. 'optional2--',
  8132. "//a[contains(@href,'sharerapid.cz')]");
  8133. }
  8134. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8135. {
  8136. addFileHost(
  8137. "sdilej\.cz\/\\w+",
  8138. 'class="page-download"',
  8139. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8140. 'optional--',
  8141. 'optional2--',
  8142. "//a[contains(@href,'sdilej.cz')]");
  8143. }
  8144. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8145. {
  8146. addFileHost(
  8147. "lafiles\.com\/\\w+",
  8148. '<div id="pay_modes">',
  8149. '<b class="err"></b>',
  8150. 'optional--',
  8151. 'optional2--',
  8152. "//a[contains(@href,'lafiles.com')]");
  8153. }
  8154. if (GM_getValue("Check_acefile_dot_net_links", false))
  8155. {
  8156. addFileHost(
  8157. "acefile\.net\/\\w+",
  8158. 'align=right nowrap><b>',
  8159. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8160. 'optional--',
  8161. 'optional2--',
  8162. "//a[contains(@href,'acefile.net')]");
  8163. }
  8164. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8165. {
  8166. addFileHost(
  8167. "megarapid\.cz\/\\w+",
  8168. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8169. 'error_div">|404 - Not Found',
  8170. 'optional--',
  8171. 'optional2--',
  8172. "//a[contains(@href,'megarapid.cz')]");
  8173. }
  8174. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8175. {
  8176. addFileHost(
  8177. "yadi\.sk\/\\w+",
  8178. 'nb-button _nb-small-button',
  8179. 'error code|Nothing found',
  8180. 'optional--',
  8181. 'optional2--',
  8182. "//a[contains(@href,'yadi.sk')]");
  8183. }
  8184. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8185. {
  8186. addFileHost(
  8187. "imdb\.com\/\\w+",
  8188. 'imdb.com',
  8189. '404 Error',
  8190. 'optional--',
  8191. 'optional2--',
  8192. "//a[contains(@href,'imdb.com')]");
  8193. } */
  8194. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8195. {
  8196. addFileHost(
  8197. "hitfile\.net\/\\w+",
  8198. 'class="download-file',
  8199. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8200. 'optional--',
  8201. 'optional2--',
  8202. "//a[contains(@href,'hitfile.net')]");
  8203. }
  8204. /* if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8205. {
  8206. addFileHost(
  8207. "nitroflare\.com\/\\w+",
  8208. 'Report this file</a>|KB</span>',
  8209. 'file has been removed|id="error" style="display|Probably deleted',
  8210. 'optional--',
  8211. 'left;">1.1|left;">1.2|left;">1.3|left;">1.4|left;">1.5|left;">1.6|left;">1.7|left;">1.8|left;">1.9|left;">4.19',
  8212. "//a[contains(@href,'nitroflare.com')]");
  8213. } */
  8214. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8215. {
  8216. addFileHost(
  8217. "up.top4top\.net\/\\w+",
  8218. 'start Downlod template',
  8219. 'start err template',
  8220. 'optional--',
  8221. 'optional2--',
  8222. "//a[contains(@href,'up.top4top.net')]");
  8223. }
  8224. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8225. {
  8226. addFileHost(
  8227. "filejoker\.net\/\\w+",
  8228. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8229. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8230. 'optional--',
  8231. 'id="download" class="premium-only">',
  8232. "//a[contains(@href,'filejoker.net')]");
  8233. }
  8234. if (GM_getValue("Check_free_dot_fr_links", false))
  8235. {
  8236. addFileHost(
  8237. "(?:dl.\\.|)free\\.fr",
  8238. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8239. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8240. 'optional--',
  8241. 'optional2--',
  8242. "//a[contains(@href,'dl.free.fr')]");
  8243. }
  8244. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8245. {
  8246. addFileHost(
  8247. "gboxes\.com\/\\w+",
  8248. 'You have requested|color="red">http://www.gboxes.com',
  8249. 'File Not Found|<div style="width:500px;text-align:left;">',
  8250. 'optional--',
  8251. 'optional2--',
  8252. "//a[contains(@href,'gboxes.com')]");
  8253. }
  8254. if (GM_getValue("Check_led_dot_wf_links", false))
  8255. {
  8256. addFileHost(
  8257. "led\.wf\/\\w+",
  8258. 'logo_0.png|downloads.gif"|verifycode',
  8259. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8260. 'optional--',
  8261. 'available only for Premium users',
  8262. "//a[contains(@href,'led.wf')]");
  8263. }
  8264. if (GM_getValue("Check_lan_dot_wf_links", false))
  8265. {
  8266. addFileHost(
  8267. "lan\.wf\/\\w+",
  8268. 'logo_0.png|downloads.gif"|verifycode',
  8269. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8270. 'optional--',
  8271. 'available only for Premium users',
  8272. "//a[contains(@href,'lan.wf')]");
  8273. }
  8274. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8275. {
  8276. addFileHost(
  8277. "adlink\.wf\/\\w+",
  8278. 'logo_0.png|downloads.gif"|verifycode',
  8279. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8280. 'optional--',
  8281. 'available only for Premium users',
  8282. "//a[contains(@href,'adlink.wf')]");
  8283. }
  8284. if (GM_getValue("Check_click_dot_tf_links", false))
  8285. {
  8286. addFileHost(
  8287. "click\.tf\/\\w+",
  8288. 'logo_0.png|downloads.gif"|verifycode',
  8289. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8290. 'optional--',
  8291. 'available only for Premium users',
  8292. "//a[contains(@href,'click.tf')]");
  8293. }
  8294. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8295. {
  8296. addFileHost(
  8297. "ssh\.tf\/\\w+",
  8298. 'logo_0.png|downloads.gif"|verifycode',
  8299. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8300. 'optional--',
  8301. 'available only for Premium users',
  8302. "//a[contains(@href,'ssh.tf')]");
  8303. }
  8304. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8305. {
  8306. addFileHost(
  8307. "ssh\.yt\/\\w+",
  8308. 'logo_0.png|downloads.gif"|verifycode',
  8309. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8310. 'optional--',
  8311. 'available only for Premium users',
  8312. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8313. }
  8314. if (GM_getValue("Check_yep_dot_pm_links", false))
  8315. {
  8316. addFileHost(
  8317. "yep\.pm\/\\w+",
  8318. 'logo_0.png|downloads.gif"|verifycode',
  8319. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8320. 'optional--',
  8321. 'available only for Premium users',
  8322. "//a[contains(@href,'yep.pm')]");
  8323. }
  8324. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8325. {
  8326. addFileHost(
  8327. "kyc\.pm\/\\w+",
  8328. 'logo_0.png|downloads.gif"|verifycode',
  8329. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8330. 'optional--',
  8331. 'available only for Premium users',
  8332. "//a[contains(@href,'kyc.pm')]");
  8333. }
  8334. if (GM_getValue("Check_brupload_dot_net_links", false))
  8335. {
  8336. addFileHost(
  8337. "brupload\.net\/\\w+",
  8338. 'Download Gratuito',
  8339. '<div style="width:500px;text-align:left;">',
  8340. 'optional--',
  8341. 'optional2--',
  8342. "//a[contains(@href,'brupload.net')]");
  8343. }
  8344. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8345. {
  8346. addFileHost(
  8347. "cloudzilla\.to\/\\w+",
  8348. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8349. 'File not found|/imgs/broken.png',
  8350. 'optional--',
  8351. 'optional2--',
  8352. "//a[contains(@href,'cloudzilla.to')]");
  8353. }
  8354. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8355. {
  8356. addFileHost(
  8357. "fileparadox\.in\/\\w+",
  8358. 'CONTENT="Download File|method_free_file',
  8359. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8360. 'optional--',
  8361. 'optional2--',
  8362. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8363. } */
  8364. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8365. {
  8366. addFileHost(
  8367. "clicknupload\.com\/\\w+",
  8368. 'name="method_free',
  8369. 'File Not Found',
  8370. 'optional--',
  8371. 'optional2--',
  8372. "//a[contains(@href,'clicknupload.com')]");
  8373. }
  8374. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8375. {
  8376. addFileHost(
  8377. "clicknupload\.me\/\\w+",
  8378. 'name="method_free',
  8379. 'File Not Found',
  8380. 'optional--',
  8381. 'optional2--',
  8382. "//a[contains(@href,'clicknupload.me')]");
  8383. }
  8384. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8385. {
  8386. addFileHost(
  8387. "clicknupload\.link\/\\w+",
  8388. 'name="method_free',
  8389. 'File Not Found',
  8390. 'optional--',
  8391. 'optional2--',
  8392. "//a[contains(@href,'clicknupload.link')]");
  8393. }
  8394. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8395. {
  8396. addFileHost(
  8397. "ex-load\.com\/\\w+",
  8398. 'name="method_free|<p>Download File:</p>',
  8399. 'Folder Not Found|File Not Found|Error 404',
  8400. 'optional--',
  8401. 'class="downprem wow bounceInLeft',
  8402. "//a[contains(@href,'ex-load.com')]");
  8403. }
  8404. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8405. {
  8406. addFileHost(
  8407. "hexupload\.com\/\\w+",
  8408. 'button" value="Free|type="submit" value=""',
  8409. 'File Not Found|<div style="width:500px;text-align:left;">',
  8410. 'optional--',
  8411. 'optional2--',
  8412. "//a[contains(@href,'hexupload.com')]");
  8413. }
  8414. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8415. {
  8416. addFileHost(
  8417. "wizupload\.com\/\\w+",
  8418. 'btn_download|class="downloadbtn"',
  8419. '>File Not Found<',
  8420. 'optional--',
  8421. 'optional2--',
  8422. "//a[contains(@href,'wizupload.com')]");
  8423. }
  8424. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8425. {
  8426. addFileHost(
  8427. "filecloud\.cc\/\\w+",
  8428. 'align="center"><input type="submit" name=',
  8429. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8430. 'optional--',
  8431. 'optional2--',
  8432. "//a[contains(@href,'filecloud.cc')]");
  8433. }
  8434. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8435. {
  8436. addFileHost(
  8437. "inclouddrive\.com\/\\w+",
  8438. 'initfreedownload',
  8439. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8440. 'optional--',
  8441. 'optional2--',
  8442. "//a[contains(@href,'inclouddrive.com')]");
  8443. }
  8444. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8445. {
  8446. addFileHost(
  8447. "radicalshare\.com\/\\w+",
  8448. 'value="download1|name="method_free"',
  8449. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8450. 'optional--',
  8451. 'optional2--',
  8452. "//a[contains(@href,'radicalshare.com')]");
  8453. }
  8454. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8455. {
  8456. addFileHost(
  8457. "sharemods\.com\/\\w+",
  8458. 'name="method_free"',
  8459. 'File Not Found<',
  8460. 'optional--',
  8461. 'optional2--',
  8462. "//a[contains(@href,'sharemods.com')]");
  8463. }
  8464. if (GM_getValue("Check_hostr_dot_co_links", false))
  8465. {
  8466. addFileHost(
  8467. "hostr\.co\/\\w+",
  8468. 'method="get"',
  8469. 'File not found<|error-page',
  8470. 'optional--',
  8471. 'optional2--',
  8472. "//a[contains(@href,'hostr.co')]");
  8473. }
  8474. if (GM_getValue("Check_filepi_dot_com_links", false))
  8475. {
  8476. addFileHost(
  8477. "filepi\.com\/\\w+",
  8478. 'id="button_start">',
  8479. 'File not found',
  8480. 'optional--',
  8481. 'optional2--',
  8482. "//a[contains(@href,'filepi.com')]");
  8483. }
  8484. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8485. {
  8486. addFileHost(
  8487. "tikfile\.com\/\\w+",
  8488. 'btn_download',
  8489. 'File Not Found|file was removed|Reason for deletion',
  8490. 'optional--',
  8491. 'optional2--',
  8492. "//a[contains(@href,'tikfile.com')]");
  8493. }
  8494. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8495. {
  8496. addFileHost(
  8497. "cloudsix\.me\/\\w+",
  8498. 'name="method_free"',
  8499. 'File Not Found|width:500px;text-align:left;">',
  8500. 'optional--',
  8501. 'optional2--',
  8502. "//a[contains(@href,'cloudsix.me')]");
  8503. }
  8504. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8505. {
  8506. addFileHost(
  8507. "neodrive\.co\/\\w+",
  8508. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8509. 'File not found|/imgs/broken.png',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'neodrive.co')]");
  8513. }
  8514. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8515. {
  8516. addFileHost(
  8517. "chayfile\.com\/\\w+",
  8518. 'name="method_free"',
  8519. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8520. 'optional--',
  8521. 'optional2--',
  8522. "//a[contains(@href,'chayfile.com')]");
  8523. }
  8524. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8525. {
  8526. addFileHost(
  8527. "xfileload\.com\/\\w+",
  8528. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8529. '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..|הקובץ שחיפשת לא נמצא.',
  8530. 'optional--',
  8531. 'optional2--',
  8532. "//a[contains(@href,'xfileload.com')]");
  8533. }
  8534. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8535. {
  8536. addFileHost(
  8537. "rockfile\.eu\/\\w+",
  8538. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8539. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8540. 'optional--',
  8541. 'optional2--',
  8542. "//a[contains(@href,'rockfile.eu')]");
  8543. }
  8544. /* if (GM_getValue("Check_24uploading_dot_com_links", false))
  8545. {
  8546. addFileHost(
  8547. "24uploading\.com\/\\w+",
  8548. 'File:|Download Speed:',
  8549. '<b>File Not Found</b>|file was removed',
  8550. 'optional--',
  8551. 'optional2--',
  8552. "//a[contains(@href,'24uploading.com')]");
  8553. } */
  8554. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8555. {
  8556. addFileHost(
  8557. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8558. 'i/icon/dll.png"|>Start download<br',
  8559. 'no longer available<|i/ino.png"',
  8560. 'optional--',
  8561. 'optional2--',
  8562. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8563. }
  8564. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8565. {
  8566. addFileHost(
  8567. "jumbofile\.net\/\\w+",
  8568. 'button" class="" value="Free',
  8569. 'This File Was Deleted',
  8570. 'optional--',
  8571. 'optional2--',
  8572. "//a[contains(@href,'jumbofile.net')]");
  8573. } */
  8574. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8575. {
  8576. addFileHost(
  8577. "ozofiles\.com\/\\w+",
  8578. 'button" value="Free|name="method_free',
  8579. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8580. 'optional--',
  8581. 'optional2--',
  8582. "//a[contains(@href,'ozofiles.com')]");
  8583. }
  8584. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8585. {
  8586. addFileHost(
  8587. "loudupload\.net\/\\w+",
  8588. 'value="Get Links',
  8589. 'File Not Found',
  8590. 'optional--',
  8591. 'optional2--',
  8592. "//a[contains(@href,'loudupload.net')]");
  8593. }
  8594. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8595. {
  8596. addFileHost(
  8597. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8598. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8599. '>File Not Found<|id="no_filedownload">|>FILE NOT FOUND<|file has been deleted|No such file with this filename|style="font-size:24px;color:#E70012">',
  8600. 'optional--',
  8601. 'optional2--',
  8602. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8603. }
  8604. if (GM_getValue("Check_krotix_dot_net_links", false))
  8605. {
  8606. addFileHost(
  8607. "krotix\.net\/\\w+",
  8608. 'btn btn-warning|btn-free',
  8609. 'pageErrors|This File has been removed',
  8610. 'content="Scheduled Maintenance',
  8611. 'optional2--',
  8612. "//a[contains(@href,'krotix.net')]");
  8613. } */
  8614. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8615. {
  8616. addFileHost(
  8617. "userscloud\.com\/\\w+",
  8618. 'btn_download|class="label label-success">',
  8619. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'userscloud.com')]");
  8623. }
  8624. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8625. {
  8626. addFileHost(
  8627. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8628. 'class="button download',
  8629. 'internal server error',
  8630. 'optional--',
  8631. 'optional2--',
  8632. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8633. }
  8634. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8635. {
  8636. addFileHost(
  8637. "kb.simple-aja\.info\/\\w+",
  8638. 'class="button download',
  8639. 'internal server error|<p>404</p>',
  8640. 'optional--',
  8641. 'optional2--',
  8642. "//a[contains(@href,'kb.simple')]");
  8643. }
  8644. if (GM_getValue("Check_faststore_dot_org_links", false))
  8645. {
  8646. addFileHost(
  8647. "faststore\.org\/\\w+",
  8648. 'name="method_free',
  8649. 'File Not Found',
  8650. 'optional--',
  8651. 'optional2--',
  8652. "//a[contains(@href,'faststore.org')]");
  8653. }
  8654. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8655. {
  8656. addFileHost(
  8657. "prefiles\.com\/\\w+",
  8658. 'id="method_free',
  8659. 'File not Found',
  8660. 'optional--',
  8661. 'optional2--',
  8662. "//a[contains(@href,'prefiles.com')]");
  8663. }
  8664. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8665. {
  8666. addFileHost(
  8667. "doraupload\.com\/\\w+",
  8668. 'btn_download|name="method_free',
  8669. 'class="error-code|Could Not Be Found',
  8670. 'optional--',
  8671. 'optional2--',
  8672. "//a[contains(@href,'doraupload.com')]");
  8673. }
  8674. if (GM_getValue("Check_openload_dot_io_links", false))
  8675. {
  8676. addFileHost(
  8677. "openload\.io\/\\w+",
  8678. 'btn btn-primary|class="count">|secondsleftouter',
  8679. 'class="jumbotron">|We are sorry',
  8680. 'optional--',
  8681. 'optional2--',
  8682. "//a[contains(@href,'openload.io')]");
  8683. }
  8684. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8685. {
  8686. addFileHost(
  8687. "uploads\.xxx\/\\w+",
  8688. 'downoadForFree',
  8689. 'File not found',
  8690. 'optional--',
  8691. 'optional2--',
  8692. "//a[contains(@href,'uploads.xxx')]");
  8693. }
  8694. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8695. {
  8696. addFileHost(
  8697. "zxcfiles\.com\/\\w+",
  8698. 'class="downloadbtn',
  8699. 'File Not Found',
  8700. 'optional--',
  8701. 'optional2--',
  8702. "//a[contains(@href,'zxcfiles.com')]");
  8703. }
  8704. if (GM_getValue("Check_up07_dot_net_links", false))
  8705. {
  8706. addFileHost(
  8707. "up07\.net\/\\w+",
  8708. 'name="method_free',
  8709. 'File Not Found',
  8710. 'optional--',
  8711. 'optional2--',
  8712. "//a[contains(@href,'up07.net')]");
  8713. }
  8714. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8715. {
  8716. addFileHost(
  8717. "fileupload\.pw\/\\w+",
  8718. 'value="Free"',
  8719. 'File Not Found',
  8720. 'optional--',
  8721. 'optional2--',
  8722. "//a[contains(@href,'fileupload.pw')]");
  8723. }
  8724. if (GM_getValue("Check_4upld_dot_com_links", false))
  8725. {
  8726. addFileHost(
  8727. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8728. 'alt="Download Now"|content="Download file">|btn-free-element',
  8729. '<title>Error|content="error|File not found',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8733. }
  8734. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8735. {
  8736. addFileHost(
  8737. "newfileland\.com\/\\w+",
  8738. 'name="method_free',
  8739. 'File Not Found',
  8740. 'optional--',
  8741. 'optional2--',
  8742. "//a[contains(@href,'newfileland.com')]");
  8743. } */
  8744. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8745. {
  8746. addFileHost(
  8747. "(?:.swoopshare)\\.com\/\\w+",
  8748. 'Click below to start|Klicken Sie nachfolgend|Cliquez ci-après pour|Cliccate qui per iniziare|Klik hierna om het bestand|Haga ahora clic para iniciar la',
  8749. '<input type="file" name="f"',
  8750. 'optional--',
  8751. 'optional2--',
  8752. "//a[contains(@href,'swoopshare.com')]"
  8753. );
  8754. }
  8755. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8756. {
  8757. addFileHost(
  8758. "cloudshares\.net\/\\w+",
  8759. '"method_free|"Low Speed Download|submit" name="go',
  8760. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8761. 'optional--',
  8762. 'optional2--',
  8763. "//a[contains(@href,'cloudshares.net')]"
  8764. );
  8765. }
  8766. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8767. {
  8768. addFileHost(
  8769. "allmyvideos\.net\/\\w+",
  8770. 'Continue to Video',
  8771. 'File Not Found|class="err">Removed for',
  8772. 'optional--',
  8773. 'optional2--',
  8774. "//a[contains(@href,'allmyvideos.net')]"
  8775. );
  8776. }
  8777. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8778. {
  8779. addFileHost(
  8780. "vodlocker\.com\/\\w+",
  8781. 'Proceed to video',
  8782. 'Not Found',
  8783. 'optional--',
  8784. 'optional2--',
  8785. "//a[contains(@href,'vodlocker.com')]"
  8786. );
  8787. }
  8788. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8789. {
  8790. addFileHost(
  8791. "vidbull\.com\/\\w+",
  8792. 'Verifying Video Request',
  8793. 'File Not Found',
  8794. 'optional--',
  8795. 'optional2--',
  8796. "//a[contains(@href,'vidbull.com')]");
  8797. }
  8798. if (GM_getValue("Check_novamov_dot_com_links", false))
  8799. {
  8800. addFileHost(
  8801. "novamov\.com\/\\w+",
  8802. 'For version detection',
  8803. 'file no longer exists',
  8804. 'optional--',
  8805. 'optional2--',
  8806. "//a[contains(@href,'novamov.com')]"
  8807. );
  8808. }
  8809. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8810. {
  8811. addFileHost(
  8812. "filehoot\.com\/\\w+",
  8813. 'Continue to watch',
  8814. 'File Not Found',
  8815. 'optional--',
  8816. 'optional2--',
  8817. "//a[contains(@href,'filehoot.com')]"
  8818. );
  8819. }
  8820. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8821. {
  8822. addFileHost(
  8823. "stagevu\.com\/\\w+",
  8824. 'Video Info',
  8825. 'No video with the provided',
  8826. 'optional--',
  8827. 'optional2--',
  8828. "//a[contains(@href,'stagevu.com')]"
  8829. );
  8830. }
  8831. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8832. {
  8833. addFileHost(
  8834. "cloudtime\.to\/\\w+",
  8835. 'Download the video',
  8836. 'no longer exists',
  8837. 'optional--',
  8838. 'optional2--',
  8839. "//a[contains(@href,'cloudtime.to')]"
  8840. );
  8841. }
  8842. if (GM_getValue("Check_streamin_dot_to_links", false))
  8843. {
  8844. addFileHost(
  8845. "streamin\.to\/\\w+",
  8846. 'id="btn_download',
  8847. 'Not Found|Copyright Infringement|File Deleted',
  8848. 'optional--',
  8849. 'optional2--',
  8850. "//a[contains(@href,'streamin.to')]"
  8851. );
  8852. }
  8853. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8854. {
  8855. addFileHost(
  8856. "videoweed\.es\/\\w+",
  8857. 'version detection',
  8858. 'no longer exists',
  8859. 'optional--',
  8860. 'optional2--',
  8861. "//a[contains(@href,'videoweed.es')]"
  8862. );
  8863. }
  8864. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8865. {
  8866. addFileHost(
  8867. "nowvideo\.sx\/\\w+",
  8868. 'Download this video|value="submit">Continue',
  8869. 'no longer exists',
  8870. 'optional--',
  8871. 'optional2--',
  8872. "//a[contains(@href,'nowvideo.sx')]"
  8873. );
  8874. }
  8875. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8876. {
  8877. addFileHost(
  8878. "thevideo\.me\/\\w+",
  8879. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8880. 'File Not Found',
  8881. 'optional--',
  8882. 'optional2--',
  8883. "//a[contains(@href,'thevideo.me')]"
  8884. );
  8885. }
  8886. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8887. {
  8888. addFileHost(
  8889. "gorillavid\.in\/\\w+",
  8890. 'Wait 5 seconds',
  8891. 'File Not Found',
  8892. 'optional--',
  8893. 'optional2--',
  8894. "//a[contains(@href,'gorillavid.in')]"
  8895. );
  8896. }
  8897. if (GM_getValue("Check_thefile_dot_me_links", false))
  8898. {
  8899. addFileHost(
  8900. "thefile\.me\/\\w+",
  8901. 'Choose free or',
  8902. '',
  8903. 'optional--',
  8904. 'optional2--',
  8905. "//a[contains(@href,'thefile.me')]"
  8906. );
  8907. }
  8908. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8909. {
  8910. addFileHost(
  8911. "vidzi\.tv\/\\w+",
  8912. 'video-embed-modal row',
  8913. 'File Not Found|file was deleted',
  8914. 'optional--',
  8915. 'optional2--',
  8916. "//a[contains(@href,'vidzi.tv')]"
  8917. );
  8918. }
  8919. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8920. {
  8921. addFileHost(
  8922. "filenuke\.com\/\\w+",
  8923. 'Download File',
  8924. 'Earn with us',
  8925. 'optional--',
  8926. 'optional2--',
  8927. "//a[contains(@href,'filenuke.com')]"
  8928. );
  8929. }
  8930. if (GM_getValue("Check_vidto_dot_me_links", false))
  8931. {
  8932. addFileHost(
  8933. "vidto\.me\/\\w+",
  8934. 'Proceed to video',
  8935. 'Not Found',
  8936. 'optional--',
  8937. 'optional2--',
  8938. "//a[contains(@href,'vidto.me')]"
  8939. );
  8940. }
  8941. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8942. {
  8943. addFileHost(
  8944. "vidspot\.net\/\\w+",
  8945. 'Duration',
  8946. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8947. 'optional--',
  8948. 'optional2--',
  8949. "//a[contains(@href,'vidspot.net')]"
  8950. );
  8951. }
  8952. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8953. {
  8954. addFileHost(
  8955. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8956. 'Download File',
  8957. 'File Not Found',
  8958. 'optional--',
  8959. 'optional2--',
  8960. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8961. );
  8962. }
  8963. if (GM_getValue("Check_movpod_dot_in_links", false))
  8964. {
  8965. addFileHost(
  8966. "movpod\.in\/\\w+",
  8967. 'Continue',
  8968. 'File Not Found',
  8969. 'optional--',
  8970. 'optional2--',
  8971. "//a[contains(@href,'movpod.in')]"
  8972. );
  8973. }
  8974. if (GM_getValue("Check_down4files_dot_com_links", false))
  8975. {
  8976. addFileHost(
  8977. "down4files\.com\/\\w+",
  8978. 'down_table.png',
  8979. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8980. 'optional--',
  8981. 'optional2--',
  8982. "//a[contains(@href,'down4files.com')]"
  8983. );
  8984. }
  8985. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8986. {
  8987. addFileHost(
  8988. "storefiles\.co\/\\w+",
  8989. 'btn_download',
  8990. 'No such file|>Error<|mqmaintitle">',
  8991. 'optional--',
  8992. 'optional2--',
  8993. "//a[contains(@href,'storefiles.co')]"
  8994. );
  8995. }
  8996. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8997. {
  8998. addFileHost(
  8999. "filehost\.pw\/\\w+",
  9000. 'name="method_free',
  9001. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  9002. 'optional--',
  9003. 'optional2--',
  9004. "//a[contains(@href,'filehost.pw')]"
  9005. );
  9006. }
  9007. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  9008. {
  9009. addFileHost(
  9010. "inafile\.com\/\\w+",
  9011. 'value="download1">|<h2>File: <font style="color:darkred">',
  9012. '<div style="width:500px;text-align:left;">|File Not Found',
  9013. 'optional--',
  9014. 'optional2--',
  9015. "//a[contains(@href,'inafile.com')]"
  9016. );
  9017. } */
  9018. if (GM_getValue("Check_uplea_dot_com_links", false))
  9019. {
  9020. addFileHost(
  9021. "uplea\.com\/\\w+",
  9022. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  9023. 'expired link|ou est invalide',
  9024. 'optional--',
  9025. 'optional2--',
  9026. "//a[contains(@href,'uplea.com/dl')]",
  9027. true);
  9028. }
  9029. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  9030. {
  9031. addFileHost(
  9032. "toutbox\.fr\/\\w+",
  9033. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  9034. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  9035. 'Serviço temporariamente indisponível',
  9036. 'optional2--',
  9037. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  9038. );
  9039. }
  9040. if (GM_getValue("Check_openload_dot_co_links", false))
  9041. {
  9042. addFileHost(
  9043. "openload\.co\/\\w+",
  9044. 'id="downloadTimer">|button dlbutton',
  9045. 'jumbotron{color|got deleted|center !important',
  9046. 'optional--',
  9047. 'optional2--',
  9048. "//a[contains(@href,'openload.co')]"
  9049. );
  9050. }
  9051. if (GM_getValue("Check_lolabits_dot_es_links", false))
  9052. {
  9053. addFileHost(
  9054. "lolabits\.es\/\\w+",
  9055. 'Descargar:',
  9056. '<title>Archivos de usuario',
  9057. 'Service Unavailable',
  9058. 'optional2--',
  9059. "//a[contains(@href,'lolabits.es')]"
  9060. );
  9061. }
  9062. if (GM_getValue("Check_alfafile_dot_net_links", false))
  9063. {
  9064. addFileHost(
  9065. "alfafile\.net\/\\w+",
  9066. 'id="slow_download_btn',
  9067. 'class="error-box">',
  9068. 'optional--',
  9069. 'optional2--',
  9070. "//a[contains(@href,'alfafile.net')]"
  9071. );
  9072. }
  9073. if (GM_getValue("Check_multiup_dot_org_links", false))
  9074. {
  9075. addFileHost(
  9076. "multiup\.org\/\\w+",
  9077. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  9078. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  9079. 'optional--',
  9080. 'optional2--',
  9081. "//a[contains(@href,'multiup.org')]"
  9082. );
  9083. }
  9084. if (GM_getValue("Check_file_dot_al_links", false))
  9085. {
  9086. addFileHost(
  9087. "file\.al\/\\w+",
  9088. 'method_free',
  9089. 'style="width:500px;text-align:left;">',
  9090. 'optional--',
  9091. 'optional2--',
  9092. "//a[contains(@href,'file.al')]"
  9093. );
  9094. }
  9095. if (GM_getValue("Check_devilshare_dot_net_links", false))
  9096. {
  9097. addFileHost(
  9098. "devilshare\.net\/\\w+",
  9099. '<div class="large-12" id="download">',
  9100. '(Link: 0 Invalid)|File Not Found',
  9101. 'optional--',
  9102. 'optional2--',
  9103. "//a[contains(@href,'devilshare.net')]"
  9104. );
  9105. }
  9106. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9107. {
  9108. addFileHost(
  9109. "dailyuploads\.net\/\\w+",
  9110. 'id="downloadBtnClickOrignal',
  9111. '<div style="width:500px;text-align:left;">',
  9112. 'optional--',
  9113. 'optional2--',
  9114. "//a[contains(@href,'dailyuploads.net')]"
  9115. );
  9116. }
  9117. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9118. {
  9119. addFileHost(
  9120. "datoteke\.com\/\\w+",
  9121. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9122. '&nbsp;File has been removed',
  9123. 'optional--',
  9124. '<title>Error - Datoteke',
  9125. "//a[contains(@href,'datoteke.com')]"
  9126. );
  9127. }
  9128. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9129. {
  9130. addFileHost(
  9131. "tezfiles\.com\/\\w+",
  9132. 'virtual/low-speed-download',
  9133. 'class="alert alert-block|file is no longer available',
  9134. 'optional--',
  9135. 'This file is available<br>only for premium members',
  9136. "//a[contains(@href,'tezfiles.com')]"
  9137. );
  9138. } */
  9139. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9140. {
  9141. addFileHost(
  9142. "sharehost\.eu\/\\w+",
  9143. '/?v=download_free&',
  9144. 'Errors occured|Wystąpiły błędy',
  9145. 'optional--',
  9146. 'optional2--',
  9147. "//a[contains(@href,'sharehost.eu')]"
  9148. );
  9149. }
  9150. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9151. {
  9152. addFileHost(
  9153. "pornfile\.cz\/\\w+",
  9154. 'Stáhnout soubor',
  9155. 'Soubor byl smazán',
  9156. 'optional--',
  9157. 'optional2--',
  9158. "//a[contains(@href,'pornfile.cz')]"
  9159. );
  9160. }
  9161. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9162. {
  9163. addFileHost(
  9164. "pornoid\.cz\/\\w+",
  9165. 'class="btn btn-large btn-download',
  9166. 'Soubor byl smazán',
  9167. 'optional--',
  9168. 'optional2--',
  9169. "//a[contains(@href,'pornoid.cz')]"
  9170. );
  9171. }
  9172. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9173. {
  9174. addFileHost(
  9175. "file-share\.top\/\\w+",
  9176. 'btn-success btn-lg download',
  9177. 'Stránka neexistuje|404 Not Found',
  9178. 'optional--',
  9179. 'optional2--',
  9180. "//a[contains(@href,'file-share.top')]"
  9181. );
  9182. }
  9183. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9184. {
  9185. addFileHost(
  9186. "bitster\.cz\/",
  9187. 'section" content="VIDEO"|section" content="ARCHIVE"',
  9188. 'section" content=""',
  9189. 'optional--',
  9190. 'optional2--',
  9191. "//a[contains(@href,'bitster.cz')]"
  9192. );
  9193. }
  9194. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9195. {
  9196. addFileHost(
  9197. "rapidu\.net\/\\w+",
  9198. 'onclick="downloadFreeFile',
  9199. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9200. 'optional--',
  9201. 'optional2--',
  9202. "//a[contains(@href,'rapidu.net')]"
  9203. );
  9204. }
  9205. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9206. {
  9207. addFileHost(
  9208. "dinoshare\.cz\/\\w+",
  9209. 'class="download-button"',
  9210. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9211. 'optional--',
  9212. 'optional2--',
  9213. "//a[contains(@href,'dinoshare.cz')]"
  9214. );
  9215. }
  9216. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9217. {
  9218. addFileHost(
  9219. "bytewhale\.com\/\\w+",
  9220. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9221. 'var rawest = "0 MB|Copyrights Claim</div>',
  9222. 'optional--',
  9223. 'This file is available for premium members only',
  9224. "//a[contains(@href,'bytewhale.com')]"
  9225. );
  9226. }
  9227. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9228. {
  9229. addFileHost(
  9230. "rapidrar\.com\/\\w+",
  9231. 'value="Free Download',
  9232. '<div style="width:500px;text-align:left;">',
  9233. 'optional--',
  9234. 'optional--',
  9235. "//a[contains(@href,'rapidrar.com')]"
  9236. );
  9237. }
  9238. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9239. {
  9240. addFileHost(
  9241. "gigasize\.com\/\\w+",
  9242. 'class="estimate">',
  9243. 'class="error">',
  9244. 'optional--',
  9245. 'optional--',
  9246. "//a[contains(@href,'gigasize.com')]"
  9247. );
  9248. }
  9249. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9250. {
  9251. addFileHost(
  9252. "filesupload\.org\/\\w+",
  9253. '<a href="/download-or-watch/',
  9254. 'File not found',
  9255. 'optional--',
  9256. 'optional--',
  9257. "//a[contains(@href,'filesupload.org')]"
  9258. );
  9259. }
  9260. if (GM_getValue("Check_filecad_dot_com_links", false))
  9261. {
  9262. addFileHost(
  9263. "filecad\.com\/\\w+",
  9264. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9265. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9266. 'optional--',
  9267. 'optional--',
  9268. "//a[contains(@href,'filecad.com')]"
  9269. );
  9270. }
  9271. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9272. {
  9273. addFileHost(
  9274. "file.up09\.com\/\\w+",
  9275. 'name="method_free',
  9276. 'style="width:500px;text-align:left;">',
  9277. 'optional--',
  9278. 'optional--',
  9279. "//a[contains(@href,'file.up09.com')]"
  9280. );
  9281. }
  9282. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9283. {
  9284. addFileHost(
  9285. "lunaticfiles\.com\/\\w+",
  9286. 'name="method_free"',
  9287. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9288. 'optional--',
  9289. 'optional--',
  9290. "//a[contains(@href,'lunaticfiles.com')]"
  9291. );
  9292. }
  9293. if (GM_getValue("Check_upload_dot_af_links", false))
  9294. {
  9295. addFileHost(
  9296. "upload\.af\/\\w+",
  9297. 'id="method_free"',
  9298. '<h1>File Not Found</',
  9299. 'optional--',
  9300. 'optional--',
  9301. "//a[contains(@href,'upload.af')]"
  9302. );
  9303. }
  9304. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9305. {
  9306. addFileHost(
  9307. "filedwon\.info\/\\w+",
  9308. 'name="method_free"',
  9309. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9310. 'optional--',
  9311. 'optional--',
  9312. "//a[contains(@href,'filedwon.info')]"
  9313. );
  9314. }
  9315. if (GM_getValue("Check_uplod_dot_it_links", false))
  9316. {
  9317. addFileHost(
  9318. "uplod\.it\/\\w+",
  9319. 'value="download2">|name="method_free',
  9320. '<Title>Download </Title>',
  9321. 'optional--',
  9322. 'optional--',
  9323. "//a[contains(@href,'uplod.it')]"
  9324. );
  9325. }
  9326. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9327. {
  9328. addFileHost(
  9329. "abelhas\.pt\/\\w+",
  9330. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9331. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9332. 'optional--',
  9333. 'optional--',
  9334. "//a[contains(@href,'abelhas.pt')]"
  9335. );
  9336. }
  9337. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9338. {
  9339. addFileHost(
  9340. "disk.yandex\.com\/\\w+",
  9341. 'nb-button _nb-small-button',
  9342. 'error code|Nothing found',
  9343. 'optional--',
  9344. 'optional2--',
  9345. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9346. }
  9347. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9348. {
  9349. addFileHost(
  9350. "k2s\.cc\/\\w+",
  9351. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9352. 'div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available',
  9353. 'method="post">Displaying',
  9354. 'optional2--',
  9355. "//a[contains(@href,'k2s.cc')]");
  9356. }
  9357. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9358. {
  9359. addFileHost(
  9360. "keep2s\.cc\/\\w+",
  9361. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9362. 'div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available',
  9363. 'method="post">Displaying',
  9364. 'optional2--',
  9365. "//a[contains(@href,'keep2s.cc')]");
  9366. }
  9367. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9368. {
  9369. addFileHost(
  9370. "keep2share\.cc\/\\w+",
  9371. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9372. 'div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available',
  9373. 'method="post">Displaying',
  9374. 'optional2--',
  9375. "//a[contains(@href,'keep2share.cc')]");
  9376. }
  9377. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9378. {
  9379. addFileHost(
  9380. "keep2share\.com\/\\w+",
  9381. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9382. 'div class="well2"|error 404|The system is unable to find the requested action|http://keep2share.cc/file/check.html|To avoid damaged files|This file is no longer available',
  9383. 'method="post">Displaying',
  9384. 'optional2--',
  9385. "//a[contains(@href,'keep2share.com')]");
  9386. } */
  9387. if (GM_getValue("Check_filespace_dot_com_links", false))
  9388. {
  9389. addFileHost(
  9390. "filespace\.com\/\\w+",
  9391. 'name="method_free',
  9392. '<div style="text-align:left;"><ul>|>File not found.<',
  9393. 'optional1--',
  9394. 'optional2--',
  9395. "//a[contains(@href,'filespace.com')]");
  9396. }
  9397. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9398. {
  9399. addFileHost(
  9400. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9401. 'name="downloadFile|id="downloadFile|value="Wait',
  9402. '<title>File not found</title>|>Error:<',
  9403. 'optional1--',
  9404. 'optional2--',
  9405. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9406. }
  9407. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  9408. {
  9409. addFileHost(
  9410. "ncrypt\.in\/\\w+",
  9411. 'Sicherheitsabfrage:|Securitycheck:',
  9412. 'does not exist|existiert nicht',
  9413. 'optional1--',
  9414. 'optional2--',
  9415. "//a[contains(@href,'ncrypt.in')]");
  9416. }
  9417. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  9418. {
  9419. addFileHost(
  9420. "jeodrive\.com\/\\w+",
  9421. 'btn-lg regular',
  9422. 'Not found',
  9423. 'optional1--',
  9424. 'optional2--',
  9425. "//a[contains(@href,'jeodrive.com')]");
  9426. }
  9427. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  9428. {
  9429. addFileHost(
  9430. "myfiles\.onl\/\\w+",
  9431. 'value="Free"',
  9432. '<div style="width:500px;text-align:left;">',
  9433. 'optional1--',
  9434. 'optional2--',
  9435. "//a[contains(@href,'myfiles.onl')]");
  9436. }
  9437. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  9438. {
  9439. addFileHost(
  9440. "uploadserv\.com\/\\w+",
  9441. 'color="red">http://uploadserv.com/',
  9442. 'content="Download File ">|<title>Download </title>',
  9443. 'optional1--',
  9444. 'optional2--',
  9445. "//a[contains(@href,'uploadserv.com')]");
  9446. }
  9447.  
  9448. }
  9449. //start here
  9450.  
  9451. //hosts with direct download, so they must be requested for headers only
  9452. function initFileHostsHeadersOnly()
  9453. {
  9454. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9455. {
  9456. var host = new Array(5);
  9457. host[0] = linkRegex;
  9458. host[1] = isAliveRegex;
  9459. host[2] = isDeadRegex;
  9460. host[3] = xpathEx;
  9461. host[4] = ispremRegex;
  9462. http_file_hosts_headers_only.push(host);
  9463. }
  9464. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9465. {
  9466. addFileHostHeadersOnly(
  9467. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9468. 'Connection: Keep-Alive',
  9469. 'Content-Length: 3857',
  9470. "//a[contains(@href,'uloziste.com')]"
  9471. )
  9472. }
  9473. if (GM_getValue("Check_adrive_dot_com_links", false))
  9474. {
  9475. addFileHostHeadersOnly(
  9476. "adrive\\.com\/public\/\\w+",
  9477. 'Connection: keep-alive',
  9478. 'orig_ref=deleted',
  9479. "//a[contains(@href,'adrive.com')]"
  9480. )
  9481. }
  9482. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9483. {
  9484. addFileHostHeadersOnly(
  9485. "myupload\\.dk\/showfile\/\\w+",
  9486. 'Expires:',
  9487. 'squeeze1\\s+Vary',
  9488. "//a[contains(@href,'myupload.dk/showfile')]"
  9489. )
  9490. }
  9491. }
  9492. //CustomRules
  9493. //functions add...Host copied here
  9494. function addObsoleteHost(linkRegex, xpathEx)
  9495. {
  9496. var host = new Array(2);
  9497. host[0] = linkRegex;
  9498. host[1] = xpathEx;
  9499. http_file_hosts_obsolete.push(host);
  9500. }
  9501. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9502. {
  9503. var host = new Array(7);
  9504. host[0] = linkRegex;
  9505. host[1] = isAliveRegex;
  9506. host[2] = isDeadRegex;
  9507. host[3] = isUnavaRegex;
  9508. host[4] = xpathEx;
  9509. tryLoop ? host[5] = true : host[5] = false;
  9510. host[6] = ispremRegex;
  9511. http_file_hosts.push(host);
  9512. }
  9513. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9514. {
  9515. var host = new Array(5);
  9516. host[0] = linkRegex;
  9517. host[1] = isAliveRegex;
  9518. host[2] = isDeadRegex;
  9519. host[3] = xpathEx;
  9520. host[4] = ispremRegex;
  9521. http_file_hosts_headers_only.push(host);
  9522. }
  9523. //takes a fully built rules array and adds the rules to WARLC
  9524. function applyCustomRules(customRules)
  9525. {
  9526. if (!customRules) return;
  9527. var rules, r, i;
  9528. rules = customRules.rules;
  9529. for (i = 0 ; i < rules.length ; i++)
  9530. {
  9531. r = rules[i];
  9532. if (r.enabled)
  9533. {
  9534. switch (r.type)
  9535. {
  9536. case 'single':
  9537. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9538. break;
  9539. case 'headers':
  9540. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9541. break;
  9542. case 'obsolete':
  9543. addObsoleteHost(r.urlregex, r.xpath)
  9544. break;
  9545. }
  9546. }
  9547. }
  9548. }
  9549.  
  9550.  
  9551. function initFileHostsCustom()
  9552. {
  9553. if (Custom_rules && Custom_rules_text)
  9554. {
  9555. var msg = '';
  9556. if (newVersion)
  9557. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9558. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9559. msg = '60 or more days have passed since this notification.\n\n';
  9560. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9561. {
  9562. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9563. msg +=
  9564. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9565. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9566. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9567. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9568. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9569. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9570. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9571. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9572. setTimeout(function(){alert(msg)},0);
  9573. }
  9574. var customRules = parseCustomRules(Custom_rules_text);
  9575. if (customRules.warning || customRules.error)
  9576. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9577. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9578. JSON.stringify(customRules.info, null, ' '));
  9579. applyCustomRules(customRules);
  9580. }
  9581. }
  9582. //end of CustomRules processing
  9583.  
  9584.  
  9585.  
  9586. } //end of function start
  9587.  
  9588.  
  9589.  
  9590. function initClipBoardTools()
  9591. {
  9592. unsafeWindow.copyToClipboard = function(text)
  9593. {
  9594. try
  9595. {
  9596. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9597.  
  9598. var str = Components.classes["@mozilla.org/supports-string;1"].
  9599. createInstance(Components.interfaces.nsISupportsString);
  9600. if (!str) return false;
  9601.  
  9602. str.data = text;
  9603.  
  9604. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9605. createInstance(Components.interfaces.nsITransferable);
  9606. if (!trans) return false;
  9607.  
  9608. trans.addDataFlavor("text/unicode");
  9609. trans.setTransferData("text/unicode", str, text.length * 2);
  9610.  
  9611. var clipid = Components.interfaces.nsIClipboard;
  9612. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9613. if (!clip) return false;
  9614.  
  9615. clip.setData(trans, null, clipid.kGlobalClipboard);
  9616. } catch (e) {
  9617. GM_log("Error copyToClipboard : " + e);
  9618. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9619. }
  9620. }
  9621. }
  9622.  
  9623.  
  9624.  
  9625. //CustomRules
  9626.  
  9627. function escapeRegex(str)
  9628. {
  9629. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9630. }
  9631.  
  9632.  
  9633. //called internally from parseCustomRules.
  9634. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9635. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9636. function makeCustomRule(rule)
  9637. {
  9638. function makeMatchRegex(arrmatch)
  9639. {
  9640. return escapeRegex(arrmatch.join('\n'))
  9641. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9642. .replace(/\n/g,'|'); //join together
  9643. }
  9644. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9645. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9646. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9647. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9648. if (rule.baseurl)
  9649. {
  9650. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9651. for (i = 0 ; i < len ; i++)
  9652. {
  9653. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9654. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9655. {
  9656. 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'])
  9657. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9658. }
  9659. else //baseurl in the form: example.com/xxx
  9660. {
  9661. xpath.push(m[0]);
  9662. urlregex.push(escapeRegex(m[0]) + '.');
  9663. }
  9664. }
  9665. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9666. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9667. }
  9668. return rule;
  9669. } //function makeCustomRule
  9670.  
  9671.  
  9672. /*
  9673. Takes a string containing custom link checking rules.
  9674. Returns an object with fields:
  9675. info - contains notes, warnings and errors found during parsing
  9676. rules - the array of custom rules
  9677. note, warning, error - number of each of them found during parsing
  9678. Format of the input string:
  9679. One command per line. Command format: @keyword parameter
  9680. Keywords:
  9681. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9682. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9683. These keywords can be multiple (any of them will work):
  9684. @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...)
  9685. @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+
  9686. @alivelink, @deadlink - example links
  9687. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9688. Lines starting with // and empty lines are ignored.
  9689. Invalid parameters generate errors and those lines are skipped.
  9690. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9691. Example:
  9692. @customrule filehost
  9693. @baseurl filehost.com/download/
  9694. @baseurl filehost2. com net /d?=
  9695. @alivematch id="download">
  9696. @deadmatch File not found
  9697. @deadmatch File deleted
  9698. */
  9699. function parseCustomRules(rulesStr)
  9700. {
  9701. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9702. function addInfo(type, msg, ln){
  9703. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9704. customRules[type]++;
  9705. }
  9706. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9707. if (!lines) return null;
  9708. lines.push('@#customrule _'); //to save the last rule
  9709. var m, linecount = lines.length;
  9710. var keyword, param, constr, rule, err;
  9711. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9712. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9713. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9714. var constraints = {
  9715. 'baseurl': {
  9716. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9717. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9718. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9719. 'alivematch': {
  9720. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9721. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9722. 'deadmatch': {
  9723. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9724. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9725. 'unavamatch': {
  9726. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9727. 'alivelink': {
  9728. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9729. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9730. 'deadlink': {
  9731. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9732. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9733. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9734. };
  9735. for (linenum = 0 ; linenum < linecount ; linenum++)
  9736. {
  9737. //capturing groups: 1 23 4 5 6
  9738. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9739. if (m)
  9740. {
  9741. if (m[1] || !m[2])
  9742. continue; // ignore empty lines and lines starting with //
  9743. keyword = (m[4] || m[2]).toLowerCase();
  9744. param = m[6];
  9745. if (keyword == 'customrule')
  9746. {
  9747. //save the current rule if all required fields are provided
  9748. if (rule)
  9749. {
  9750. err = false;
  9751. $.each(constraints, function(kw, constraint){
  9752. var l, constr = constraint[rule.type];
  9753. if (constr)
  9754. {
  9755. l = rule[kw] ? rule[kw].length : 0;
  9756. if (l < constr.min || l > constr.max)
  9757. {
  9758. 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);
  9759. err = true;
  9760. }
  9761. }
  9762. });
  9763. if (!err)
  9764. customRules.rules.push(makeCustomRule(rule));
  9765. }
  9766. //start a new rule
  9767. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9768. {
  9769. rule = {
  9770. 'enabled': !m[3],
  9771. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9772. 'name': param
  9773. };
  9774. }
  9775. else
  9776. {
  9777. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9778. rule = null;
  9779. }
  9780. }
  9781. else //good line format, but keyword other than customrule
  9782. {
  9783. if (!rule)
  9784. {
  9785. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9786. continue;
  9787. }
  9788. if (constraints[keyword])
  9789. {
  9790. constr = constraints[keyword][rule.type];
  9791. if (constr)
  9792. {
  9793. if (constr.paramRE && !constr.paramRE.test(param))
  9794. {
  9795. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9796. continue;
  9797. }
  9798. }
  9799. else
  9800. {
  9801. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9802. continue;
  9803. }
  9804. }
  9805. //line OK, save
  9806. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9807. }
  9808. } //if (m)
  9809. else
  9810. addInfo('warning', 'Unknown line format. Line skipped.');
  9811. } //for loop
  9812. return customRules;
  9813. } //function parseCustomRules
  9814.  
  9815.  
  9816. /* ********************UPDATES********************
  9817.  
  9818. May 11, 2016
  9819. Version 1.2.8.1
  9820. added uploadserv.com
  9821.  
  9822. May 09, 2016
  9823. Version 1.2.8.0
  9824. fixed upstore.net & upsto.re
  9825. added 24uploading.com to obsolete hosts
  9826.  
  9827. May 06, 2016
  9828. Version 1.2.7.9
  9829. added storagon.com to obsolete hosts
  9830. fixed worldbytez.com
  9831.  
  9832. May 02, 2016
  9833. Version 1.2.7.8
  9834. added myfiles.onl
  9835.  
  9836. april 28, 2016
  9837. Version 1.2.7.7
  9838. fixed bytewhale.com
  9839.  
  9840. april 27, 2016
  9841. Version 1.2.7.6
  9842. fixed rapidgator not detecting some premium links.
  9843.  
  9844. april 27, 2016
  9845. Version 1.2.7.5
  9846. added jeodrive.com
  9847.  
  9848. april 26, 2016
  9849. Version 1.2.7.4
  9850. added sanshare.com to obsolete hosts
  9851.  
  9852. april 26, 2016
  9853. Version 1.2.7.3
  9854. fixed vidspot.net
  9855.  
  9856. april 26, 2016
  9857. Version 1.2.7.2
  9858. added upx.nz
  9859.  
  9860. april 25, 2016
  9861. Version 1.2.7.1
  9862. added rapidfilehost.com to obsolete hosts
  9863. fixed bitster.cz
  9864.  
  9865. april 12, 2016
  9866. Version 1.2.7.0
  9867. fixed rapidgator not detecting some premium links.
  9868.  
  9869. april 11, 2016
  9870. Version 1.2.6.9
  9871. changed code for ncrypt.in
  9872.  
  9873. april 07, 2016
  9874. Version 1.2.6.8
  9875. added fileinz.com to obsolete hosts.
  9876.  
  9877. april 06, 2016
  9878. Version 1.2.6.7
  9879. added sharingmaster.com to obsolete hosts.
  9880.  
  9881. april 05, 2016
  9882. Version 1.2.6.6
  9883. added 4upfiles.com & elffiles.com to obsolete hosts
  9884.  
  9885. april 03, 2016
  9886. Version 1.2.6.5
  9887. updates to configuration page
  9888.  
  9889. March 31, 2016
  9890. Version 1.2.6.4
  9891. added code for tampermonkey 4.0 compatibility
  9892.  
  9893. March 31, 2016
  9894. Version 1.2.6.3
  9895. fixed uloz.to
  9896. fixed copy dead links to clipboard feature
  9897. added copy live links to clipboard feature.
  9898.  
  9899. March 24, 2016
  9900. Version 1.2.6.2
  9901. changed made to nitroflare. (yurri)
  9902.  
  9903. March 20, 2016
  9904. Version 1.2.6.1
  9905. fixed rapidgator
  9906. fixed dfiles
  9907. fixed dl.free.fr
  9908. fixed nitroflare.com (Fixed by Yurii)
  9909.  
  9910. March 15, 2016
  9911. Version 1.2.6.0
  9912. fixed rapidgator.net
  9913. fixed uploaded.net
  9914.  
  9915. March 13, 2016
  9916. Version 1.2.5.9
  9917. added
  9918. uploads.ws
  9919. upl.me
  9920. clicknupload.link
  9921. added fileover.net to obsolete hosts
  9922. fixed kingfiles.net
  9923.  
  9924. March 09, 2016
  9925. Version 1.2.5.8
  9926. added kingfiles.net to obsolete hosts
  9927. fixed 4upld.com/expressleech.com
  9928.  
  9929. March 08, 2016
  9930. Version 1.2.5.7
  9931. fixed solidfiles.com
  9932.  
  9933. March 01, 2016
  9934. Version 1.2.5.6
  9935. added filespace.com
  9936. fixed depositfiles (by yurii)
  9937.  
  9938. February 29, 2016
  9939. Version 1.2.5.5
  9940. made change to keep2share
  9941.  
  9942. February 28, 2016
  9943. Version 1.2.5.4
  9944. removed down4files.com from obsolete hosts.
  9945.  
  9946. February 26, 2016
  9947. Version 1.2.5.3
  9948. fixed userscloud.com
  9949.  
  9950. February 24, 2016
  9951. Version 1.2.5.2
  9952. added yandex.com
  9953. fixed datafile.com
  9954.  
  9955. February 22, 2016
  9956. Version 1.2.5.1
  9957. added bigfile.to
  9958.  
  9959. February 20, 2016
  9960. Version 1.2.5.0
  9961. added abelhas.pt
  9962.  
  9963. February 18, 2016
  9964. Version 1.2.4.9
  9965. made change to uptobox
  9966.  
  9967. February 17, 2016
  9968. Version 1.2.4.8
  9969. fixed yadi.sk
  9970.  
  9971. February 16, 2016
  9972. Version 1.2.4.7
  9973. fixed datafile.com
  9974. fixed filecad.com
  9975. added filecore.co & filestorm.to to obsolete hosts
  9976. added upload.af, filedwon.in & uplod.it
  9977.  
  9978. February 15, 2016
  9979. Version 1.2.4.6
  9980. fixed kumpulbagi.id
  9981. added sangfile.com to obsolete hosts
  9982.  
  9983. February 14, 2016
  9984. Version 1.2.4.5
  9985. fixed yandex.ru
  9986.  
  9987. February 13, 2016
  9988. Version 1.2.4.4
  9989. added lunaticfiles.com.
  9990.  
  9991. February 09, 2016
  9992. Version 1.2.4.3
  9993. added file.up09.com.
  9994.  
  9995. February 09, 2016
  9996. Version 1.2.4.2
  9997. tezfiles.com premium links now detected.
  9998.  
  9999. February 09, 2016
  10000. Version 1.2.4.1
  10001. added seenupload.com to obsolete hosts
  10002. fixed 180upload.com to show obsolete
  10003.  
  10004. February 08, 2016
  10005. Version 1.2.4.0
  10006. added tusfiles.com
  10007. added filesupload.org
  10008. added gigasize.com
  10009. added filecad.com
  10010. fixed filecloud.io
  10011. added uploadnet.co to obsolete hosts
  10012.  
  10013. February 07,2016
  10014. Vession 1.2.3.9
  10015. fixed depositfiles.com folders
  10016. fixed turbobit.net folders
  10017.  
  10018. February 06, 2016
  10019. Version 1.2.3.8
  10020. fixed 1fichier false dead links
  10021.  
  10022. February 04, 2106
  10023. Version 1.2.3.7
  10024. added geupload and lenfile to obsolete hosts
  10025. fixed kyc.pm/depfile
  10026.  
  10027. February 03, 2016
  10028. Version 1.2.3.6
  10029. fixed some nitroflare.com dead links not being detected
  10030.  
  10031. February 01, 2016
  10032. Version 1.2.3.5
  10033. script moved to new site
  10034.  
  10035. January 20, 2016
  10036. Version 1.2.3.3
  10037. fixed some rapidgator premium link not being detected
  10038.  
  10039. January 17, 2016
  10040. Version 1.2.3.2
  10041. added bytewhale.com
  10042. added rapidrar.com
  10043.  
  10044. Version 1.2.3.1
  10045. added 180upload.com to obsolete hosts
  10046. fixed hellspy.com
  10047. added dinoshare.cz,
  10048.  
  10049. January 13, 2016
  10050. Version 1.2.3.0
  10051. added rapidu.net
  10052. added uploadboy.me
  10053. fixed euroshare.eu
  10054.  
  10055. January 12, 2016
  10056. Version 1.2.2.9
  10057. added kb.simple-aja.info
  10058.  
  10059. January 10, 2016
  10060. Version 1.2.2.8
  10061. made changes to fastshare.cz
  10062.  
  10063. January 10, 2016
  10064. Version 1.2.2.7
  10065. fixed uptobox.com
  10066.  
  10067. January 09, 2016
  10068. Version 1.2.2.6
  10069. datoteke.com now detects premium links
  10070. fixed turbobit.net
  10071. fixed uptobox.com
  10072. added pornfile.cz
  10073. added pornoid.cz
  10074. added file-share.top
  10075. added bitster.cz
  10076.  
  10077. January 05, 2016
  10078. Version 1.2.2.5
  10079. fixed salefiles.com
  10080. fixed ozofile.com
  10081.  
  10082. January 04, 2016
  10083. Version 1.2.2.4
  10084. added sharehost.eu
  10085.  
  10086. December 30, 2015
  10087. Version 1.2.2.3
  10088. added tezfiles.com
  10089.  
  10090. December 28, 2015
  10091. Version 1.2.2.2
  10092. fixed some k2s & fboom dead link not getting detected
  10093. fixed some k2s premium links not getting detected.
  10094. fixed ssh.yt not detecting some dead links
  10095. fixed ncrypt.in dead links showing yellow
  10096.  
  10097. December 20, 2015
  10098. Version 1.2.2.0
  10099. added datoteke.com
  10100.  
  10101. December 19, 2015
  10102. Version 1.2.1.9
  10103. added secured.in & linksave.in to obsolete hosts
  10104.  
  10105. December 17, 2015
  10106. Version 1.2.1.8
  10107. added german for dead links to secureupload.eu.
  10108.  
  10109. December 17, 2015
  10110. Version 1.2.1.7
  10111. added french for dead links to secureupload.eu.
  10112. fixed problem with tooltip display.
  10113.  
  10114. December 13, 2015
  10115. Version 1.2.1.6
  10116. added netload.me & fileparadox.in to obsolete hosts
  10117.  
  10118. December 09, 2015
  10119. Version 1.2.1.5
  10120. added rapidsonic.com & fileparadox.com to obsolete hosts
  10121.  
  10122. December 04, 2015
  10123. Version 1.2.1.4
  10124. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10125.  
  10126. December 03, 2015
  10127. Version 1.2.1.3
  10128. added dailyuploads.net
  10129.  
  10130. December 02, 2015
  10131. Version 1.2.1.2
  10132. fixed hitfile.net
  10133. fixed kingfiles.net
  10134.  
  10135. November 30, 2015
  10136. Version 1.2.1.1
  10137. added filepost.com to obsolete hosts
  10138. added devilshare.net
  10139.  
  10140. November 28, 2015
  10141. Version 1.2.1.0
  10142. fixed datafile.com not detecting some premium links.
  10143.  
  10144. November 25, 2015
  10145. Version 1.2.0.9
  10146. fixed filejoker.net
  10147. fixed toutbox.fr
  10148. fixed nowvideo.sx
  10149.  
  10150. November 24, 2015
  10151. Version 1.2.0.8
  10152. fixed openload.io
  10153.  
  10154. November 20, 2015
  10155. Version 1.2.0.7
  10156. //added file.al
  10157. //fixed nitroflare.com false live links
  10158. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10159.  
  10160. November 17, 2015
  10161. Version 1.2.0.6
  10162. added clicknupload.me
  10163.  
  10164. November 09, 2015
  10165. Version 1.2.0.5
  10166. fixed some depfile premium links not being detected
  10167.  
  10168. November 08, 2015
  10169. Version 1.2.0.4
  10170. fixed some rapidgator premium links not being detected
  10171. fixed doraupload.com
  10172.  
  10173. November 08, 2015
  10174. Version 1.2.0.3
  10175. fixed uploaded false premium
  10176.  
  10177. November 07, 2015
  10178. Version 1.2.0.2
  10179. fixed redbunker.net
  10180.  
  10181. November 05, 2015
  10182. Version 1.2.0.1
  10183. fixed app.box.com
  10184. added multiup.org (does not detect all dead links)
  10185.  
  10186. November 01, 2015
  10187. Version 1.2.0.0
  10188. added more languages to rockfile and 1fichier
  10189.  
  10190. November 01, 2015
  10191. Version 1.1.9.9
  10192. fixed rockfile.eu
  10193. changed 1fichier code (Thanks yurri)
  10194. added to obsolete hosts... (Thanks Love Buzz)
  10195. burnupload.com
  10196. cramit.in
  10197. cramitin.net
  10198. down4files.com
  10199. edoc.com
  10200. jumbofile.net
  10201. krotix.net
  10202. migahost.com
  10203. movreel.com
  10204. netload.in
  10205. newfileland.com
  10206. quickshare.cz
  10207.  
  10208. October 30, 2015
  10209. Version 1.1.9.8
  10210. added alfafile.net
  10211.  
  10212. October 26, 2015
  10213. Version 1.1.9.7
  10214. changed datafile.com and uplea.com
  10215. added lolabits.es
  10216.  
  10217. October 26, 2015
  10218. Version 1.1.9.6
  10219. added toutbox.fr
  10220.  
  10221. October 25, 2015
  10222. Version 1.1.9.5
  10223. fixed counter error
  10224.  
  10225. October 25, 2015
  10226. Version 1.1.9.4
  10227. changed uptobox.com code
  10228.  
  10229. October 21, 2015
  10230. Version 1.1.9.3
  10231. fixed uptobox.com
  10232.  
  10233. October 20, 2015
  10234. Version 1.1.9.2
  10235. bug fixes and new method of detecting premium links.
  10236.  
  10237. October 15, 2015
  10238. Version 1.1.9.1
  10239. fixed hugefiles.net false premium
  10240. changed uptobox.com code
  10241.  
  10242. October 06, 2015
  10243. Version 1.1.9.0
  10244. fixed filefactory
  10245. fixed rockfile false premium
  10246. keep2share & fileboom now detect premium links (fixed by yurii)
  10247.  
  10248. October 01, 2015
  10249. Version 1.1.8.9
  10250. fixed free.fr false premium
  10251. fixed thevideo.me false premium
  10252.  
  10253. September 28, 2015
  10254. Version 1.1.8.8
  10255. added uplea.com and openload.co
  10256.  
  10257. September 27, 2015
  10258. Version 1.1.8.7
  10259. fixed fileparadox.in false premium
  10260. added kingfiles.net to obsolete hosts
  10261. removed inafile.com from obsolete hosts
  10262.  
  10263. September 22, 2015
  10264. Version 1.1.8.6
  10265. fixed nitroflare false premium
  10266.  
  10267. September 22, 2015
  10268. Version 1.1.8.5
  10269. fixed userscloud.com false premium
  10270. fixed usersfiles.com false premium
  10271. changed arabloads.com to arabloads.net
  10272. changed nowdownloads.eu to nowdownloads.ch
  10273.  
  10274. September 21, 2015
  10275. Version 1.1.8.3
  10276. added ryushare.com to obsolete hosts.
  10277.  
  10278. September 20, 2015
  10279. Version 1.1.8.2
  10280. fixed nitroflare not showing premium links
  10281. added down4files.com,storfiles.co,filehost.pw
  10282.  
  10283. September 16, 2015
  10284. Version 1.1.8.1
  10285. added crisshare.com to obsolete hosts
  10286. fixed filemoney.com false premium
  10287. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10288.  
  10289. September 14, 2015
  10290. Version 1.1.8.0
  10291. added to obsolete hosts...
  10292. sharebeast.com
  10293. tufiles.ru
  10294.  
  10295. September 12, 2015
  10296. Version 1.1.7.9
  10297. fixed rghost.net false premium
  10298. fixed unlimitzone.com false premium
  10299. fixed turbobit.net false live link
  10300.  
  10301. September 11, 2015
  10302. Version 1.1.7.8
  10303. Fixed filefactory.com false premium.
  10304.  
  10305. September 07, 2015
  10306. Version 1.1.7.7
  10307. fixed "depositfiles.com/en/files" links not checking
  10308.  
  10309. September 06, 2015
  10310. Version 1.1.7.6
  10311. added French code for 1fichier
  10312.  
  10313. August 29, 2015
  10314. Version 1.1.7.5
  10315. fixed depositfiles
  10316. fixed mega.co.nz/mega.nz
  10317. (fixed by yurii)
  10318.  
  10319. August 23, 2015
  10320. Version 1.1.7.4
  10321. Fixed uploadrocket (by yurii)
  10322.  
  10323. August 20, 2015
  10324. Version 1.1.7.3
  10325. fixed depfile.com false premium
  10326. fixed 1fichier false premium
  10327. fixed rapidgator false premium
  10328.  
  10329. August 08, 2015
  10330. Version 1.1.7.1
  10331. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10332.  
  10333. August 07, 2015
  10334. Version 1.1.7.0
  10335. fixed...
  10336. streamin.to
  10337. thefile.me
  10338. vidzi.tv
  10339. added...
  10340. filenuke.com
  10341. vidto.me
  10342. vidspot.net
  10343. sharesix.com
  10344. sharesix.net
  10345. movpod.in,
  10346.  
  10347. August 07, 2015
  10348. Version 1.1.6.9 added...
  10349. thefile.me
  10350. vidzi.tv
  10351. videoweed.es
  10352. vodlocker.com
  10353. nowvideo.sx
  10354. cloudtime.to
  10355. thevideo.me
  10356. vidbull.com
  10357. allmyvideos.net
  10358. novamov.com
  10359. filehoot.com
  10360. stagevu.com
  10361. gorillavid.in
  10362. streamin.to
  10363.  
  10364. August 02, 2015
  10365. Version 1.1.6.8
  10366. added cloudshares.net
  10367.  
  10368. August 01, 2015
  10369. Version 1.1.6.7
  10370. fixed depfile redirectors false premium
  10371.  
  10372. July 31, 2015
  10373. Version 1.1.6.6
  10374. fixed depfile.com false premium
  10375. */

QingJ © 2025

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