W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-04-08 提交的版本,查看 最新版本

  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.6.8
  29. // ==/UserScript==
  30.  
  31. var War_version = "1.2.6.8 April 07, 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. "abelhas.pt",
  39. "filedwon.info",
  40. "yandex.com",
  41. "down4files.com",
  42. 'filespace.com',
  43. "uplod.it",
  44. "rapidu.net",
  45. "uploads.ws|upl.me",
  46. "file.up09.com",
  47. "lunaticfiles.com",
  48. "filecad.com",
  49. "filesupload.org",
  50. "gigasize.com",
  51. "bytewhale.com",
  52. "rapidrar.com",
  53. "download.cz.hellshare.com",
  54. "pornfile.cz",
  55. "dinoshare.cz",
  56. "kb.simple-aja.info",
  57. "bitster.cz",
  58. "file-share.top",
  59. "pornoid.cz",
  60. "dailyuploads.net",
  61. "sharehost.eu",
  62. "tezfiles.com",
  63. "devilshare.net",
  64. "alfafile.net",
  65. "openload.co",
  66. "multiup.org",
  67. "uplea.com",
  68. "filenuke.com",
  69. "file.al",
  70. // "inafile.com",
  71. "lolabits.es",
  72. "vidto.me",
  73. "storefiles.co",
  74. "filehost.pw",
  75. "vidspot.net",
  76. "turbobit.ru",
  77. "sharesix.com|sharesix.net",
  78. "movpod.in",
  79. "thefile.me",
  80. "datoteke.com",
  81. "vidzi.tv",
  82. "videoweed.es",
  83. "vodlocker.com",
  84. "nowvideo.sx",
  85. "cloudtime.to",
  86. "thevideo.me",
  87. "vidbull.com",
  88. "allmyvideos.net",
  89. "novamov.com",
  90. "filehoot.com",
  91. "stagevu.com",
  92. "gorillavid.in",
  93. "streamin.to",
  94. "4upld.com|expressleech.com",
  95. "cloudshares.net",
  96. "swoopshare.com",
  97. "2shared.com",
  98. "fileupload.pw",
  99. "zxcfiles.com",
  100. "up07.net",
  101. "4shared.com",
  102. "adrive.com",
  103. "aisfile.com",
  104. "hexupload.com",
  105. "bezvadata.cz",
  106. "xkeepfile.com|Gamesena.com",
  107. "usersfiles.com",
  108. "pan.baidu.com",
  109. "radicalshare.com",
  110. "datei.to",
  111. "daten-hoster.de|filehosting.org|xtraupload.de",
  112. "demo.ovh.eu",
  113. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  114. "divshare.com",
  115. "easy-share.com|crocko.com",
  116. "easybytez.com",
  117. "edisk.cz",
  118. "euroshare.eu",
  119. "file-upload.net",
  120. "yadi.sk",
  121. "wizupload.com",
  122. "fastshare.cz",
  123. "filefactory.com",
  124. "share.vnn.vn",
  125. "yunpan.cn",
  126. "gulfup.com",
  127. "tropicshare.com",
  128. "cloudzilla.to",
  129. "inclouddrive.com",
  130. "fileflyer.com",
  131. "filerio.com|filekeen.com",
  132. "up.4share.vn",
  133. "upfile.vn",
  134. "datafilehost.com",
  135. "fileband.com",
  136. "worldbytez.com",
  137. "files.mail.ru",
  138. "filesflash.com",
  139. "box.com",
  140. "uptobox.com",
  141. "box.net",
  142. "goldbytez.com",
  143. "sdilej.cz",
  144. "ex-load.com",
  145. "filesmonster.com",
  146. "filestore.to",
  147. "hulkload.com",
  148. "filedropper.com",
  149. "free-uploading.com",
  150. "gamefront.com|filefront.com",
  151. "gettyfile.ru",
  152. "gigapeta.com",
  153. "gigasize.com",
  154. "hellshare.com",
  155. "hellspy.com",
  156. "hitfile.net",
  157. "hostuje.net",
  158. "freefilehosting.net",
  159. "free.fr",
  160. "hulkshare.com",
  161. "hyperfileshare.com",
  162. "filecloud.io|ifile.it",
  163. "ifolder.ru",
  164. "jumbofiles.com",
  165. "uploadrocket.net",
  166. "lafiles.com",
  167. "leteckaposta.cz|sharegadget.com",
  168. "letitbit.net",
  169. "load.to",
  170. "mediafire.com",
  171. "megafileupload.com",
  172. "megashares.com",
  173. "movshare.net",
  174. "muchshare.net",
  175. "myupload.dk",
  176. "narod.ru|narod.yandex.ru",
  177. "fboom.me|fileboom.me",
  178. "openfile.ru",
  179. "partage-facile.com",
  180. "plunder.com",
  181. "sharerapid.cz",
  182. "exclusiveloader.com",
  183. "acefile.net",
  184. "queenshare.com",
  185. "rapidgator.net",
  186. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  187. "oboom.com",
  188. "filepi.com",
  189. "neodrive.co",
  190. "rarefile.net",
  191. "rayfile.com",
  192. "rghost.net",
  193. "sendmyway.com",
  194. "clicknupload.com",
  195. "clicknupload.me",
  196. "clicknupload.link",
  197. "sharemods.com",
  198. "hostr.co",
  199. "sendspace.com",
  200. "sharecash.org",
  201. "share-links.biz",
  202. "share-online.biz|egoshare.com",
  203. "megarapid.cz",
  204. "shareflare.net",
  205. "solidfiles.com",
  206. "led.wf",
  207. "lan.wf",
  208. "adlink.wf",
  209. "click.tf",
  210. "kyc.pm",
  211. "ssh.tf",
  212. "ssh.yt",
  213. "yep.pm",
  214. "stahovanizasms.cz",
  215. "turbobit.net",
  216. "filecloud.cc",
  217. "tikfile.com",
  218. "cloudsix.me",
  219. "turboupload.com",
  220. "uloz.to|ulozto.cz|bagruj.cz|zachowajto.pl",
  221. "ulozisko.sk",
  222. "uloziste.com",
  223. "unibytes.com",
  224. "upload-il.net|przeslij.net",
  225. "uploaded.to|ul.to",
  226. "uploading.com",
  227. "chayfile.com",
  228. "rockfile.eu",
  229. "24uploading.com",
  230. "uploadspace.pl",
  231. "upnito.sk",
  232. "usaupload.net",
  233. "veehd.com",
  234. "videobb.com",
  235. "vip-file.com",
  236. "webshare.cz",
  237. "xdisk.cz",
  238. "yunfile.com|filemarkets.com",
  239. "ziddu.com",
  240. "zippyshare.com",
  241. "rodfile.com",
  242. "wikiupload.com",
  243. "uploadstube.de",
  244. "faststore.org",
  245. "flyfiles.net",
  246. "nowdownload.ch",
  247. "prefiles.com",
  248. "axifile.com",
  249. "hackerbox.org",
  250. "amonshare.com",
  251. "data.hu",
  252. "brupload.net",
  253. "userscloud.com",
  254. "netkups.com",
  255. "xfileload.com",
  256. "kumpulbagi.com|kumpulbagi.id",
  257. "uppit.com|up.ht",
  258. "downloadani.me",
  259. "filesabc.com",
  260. "verzend.be",
  261. "4up.me",
  262. "extmatrix.com",
  263. "sendfiles.nl",
  264. "yourfilestore.com",
  265. "filebig.net",
  266. "nekaka.com",
  267. "file4safe.com",
  268. "tusfiles.net|tusfiles.com",
  269. "filemac.com",
  270. "idup.in",
  271. "fileswap.com",
  272. "ozofiles.com",
  273. "loudupload.net",
  274. "nosupload.com",
  275. "gboxes.com",
  276. "myvdrive.com|fileserving.com",
  277. "filesin.com",
  278. "novafile.com",
  279. "longfiles.com",
  280. // "uploadhero.com",
  281. "uploadbaz.com",
  282. "bitupload.com",
  283. "indowebster.com",
  284. "superload.cz",
  285. "mafiastorage.com",
  286. "filesmelt.com",
  287. "hellupload.com",
  288. "uploadingit.com",
  289. "stiahni.si",
  290. "sendspace.pl",
  291. "fastshare.org",
  292. "filejoker.net",
  293. "filestore.com.ua",
  294. "secureupload.eu",
  295. "rapidfileshare.net",
  296. "stiahnito.sk",
  297. "rusfolder.com",
  298. "catshare.net",
  299. "anonfiles.com",
  300. "mixturecloud.com",
  301. "filedais.com",
  302. // "imdb.com",
  303. "nitroflare.com",
  304. "akafile.com",
  305. "creafile.net",
  306. "hugefiles.net",
  307. "vidxden.com",
  308. "up.top4top.net",
  309. "upload.ee",
  310. "shareplace.org",
  311. "uploadc.com",
  312. "remixshare.com",
  313. "exoshare.com",
  314. "borncash.org",
  315. "junocloud.me",
  316. "2downloadz.com",
  317. "mightyupload.com",
  318. "anysend.com",
  319. "datafile.com",
  320. "upstore.net",
  321. "upsto.re",
  322. "speedy.sh",
  323. "sanshare.com",
  324. // "uploadhero.co",
  325. "ge.tt",
  326. "filesflash.net",
  327. "salefiles.com",
  328. // "megairon.net",
  329. "datoid.cz",
  330. "cloudstor.es",
  331. "streamfile.com",
  332. "eyesfile.ca",
  333. "filemoney.com",
  334. "uploadboy.com",
  335. "uploadboy.me",
  336. "speedshare.eu",
  337. "google.com",
  338. "unlimitzone.com",
  339. "rioupload.com",
  340. "rg.to",
  341. "jumbofiles.org",
  342. "fshare.vn",
  343. "spaceforfiles.com",
  344. "up.media1fire.com",
  345. "depfile.com",
  346. "go4up.com",
  347. "dropbox.com",
  348. "redbunker.net",
  349. "divxpress.com",
  350. "mega.nz|mega.co.nz",
  351. "anafile.com",
  352. "uploadable.ch",
  353. "bigfile.to",
  354. "arabloads.net",
  355. "sharerepo.com",
  356. "sfshare.se",
  357. "files.fm",
  358. "koofile.com",
  359. "vidplay.net",
  360. "storagon.com",
  361. "doraupload.com",
  362. "openload.io",
  363. "uploads.xxx",
  364. "toutbox.fr",
  365. ];
  366.  
  367. try
  368. {
  369. //iframes excluded
  370. if (window.top != window.self)
  371. {
  372. return;
  373. }
  374. //allHostNames sites excluded
  375. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  376. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  377. ")"))
  378. {
  379. return;
  380. }
  381. }
  382. catch (e)
  383. {
  384. return;
  385. }
  386.  
  387. //separate alternative domains with "|" char (first name is considered being main)
  388. var allContainerNames = [
  389. "adf.ly",
  390. "linkcrypt.ws",
  391. "linksafe.me",
  392. // "linksave.in",
  393. "linkto.net",
  394. "madlink.sk",
  395. "multiload.cz",
  396. "mirrorcreator.com",
  397. "ncrypt.in",
  398. "redi.re",
  399. "relink.us",
  400. "safelinking.net",
  401. "theloo.katt.it",
  402. "bit.ly",
  403.  
  404. ];
  405.  
  406. //separate alternative domains with "|" char (first name is considered being main)
  407. var allObsoleteNames = [
  408. "uloz.cz",
  409. "secured.in",
  410. "fileover.net",
  411. "fileinz.com",
  412. "linksave.in",
  413. "seenupload.com",
  414. "sangfile.com",
  415. "filepost.com|fp.io",
  416. "sharingmaster.com ",
  417. "filestorm.to",
  418. "uploadnet.co",
  419. "180upload.com",
  420. "rapidsonic.com",
  421. "fileparadox.com",
  422. "4upfiles.com",
  423. "geupload.com",
  424. "lenfile.com",
  425. "fileparadox.in",
  426. "uploadhero.co",
  427. "uploadhero.com",
  428. "newfileland.com",
  429. "quickshare.cz",
  430. "elffiles.com",
  431. "netload.in",
  432. "netload.me",
  433. "movreel.com",
  434. "migahost.com",
  435. "krotix.net",
  436. "jumbofile.net",
  437. "edoc.com",
  438. "cramit.in|cramitin.net",
  439. "freakshare.com",
  440. "burnupload.com|burnupload.ihiphop.com",
  441. "freakshare.net",
  442. "daj.to",
  443. "bl.st",
  444. "2drive.net",
  445. "ryushare.com",
  446. "crisshare.com",
  447. "tufiles.ru",
  448. "uncapped-downloads.com",
  449. "sockshare.com",
  450. "ddlstorage.com",
  451. "dataport.cz",
  452. "dizzcloud.com",
  453. "sharebeast.com",
  454. "stahovadlo.cz",
  455. "shared.com",
  456. "storage.to",
  457. "putlocker.com",
  458. "lumfile.com",
  459. "lumfile.se",
  460. "lumfile.eu",
  461. "firedrive.com",
  462. "fileshare.in.ua",
  463. "filecore.co.nz",
  464. "filecore.co",
  465. "iskladka.cz",
  466. "file-rack.com",
  467. "fast-load.net",
  468. "subory.sk",
  469. "bigandfree.com",
  470. "fileop.com",
  471. "mujsoubor.cz",
  472. "sendfile.to",
  473. "superfastfile.com",
  474. "quickyshare.com",
  475. "duckload.com",
  476. "uploadstore.net",
  477. "meinupload.com",
  478. "dualshare.com",
  479. "2xupload.to|2xupload.de",
  480. "oxedion.com",
  481. "uploadline.com",
  482. "dll.bz",
  483. "movieshare.in",
  484. "milledrive.com",
  485. "quickupload.net",
  486. "safelink.in",
  487. "metadivx.com",
  488. "divxlink.com",
  489. "uploadrack.com",
  490. "teradepot.com",
  491. "dataup.to",
  492. "upit.to",
  493. "driveway.com",
  494. "eatlime.com",
  495. "a2zuploads.com",
  496. "friendlyfiles.net",
  497. "flyfile.us",
  498. "speedyshare.com",
  499. "uploadspace.eu",
  500. "keepfile.com",
  501. "piggyshare.com",
  502. "uplly.com",
  503. "filecrown.com",
  504. "6giga.com",
  505. "uploadjockey.com",
  506. "bluehost.to",
  507. "filegu.ru",
  508. "filebase.to",
  509. "up-file.com",
  510. "xvideos.com",
  511. "ufox.com",
  512. "filebling.com",
  513. "loaded.it",
  514. "uploadcell.com",
  515. "uploadshare.cz",
  516. "mangoshare.com",
  517. "filestab.com",
  518. "crazyupload.com",
  519. "gaiafile.com",
  520. "sharejunky.com",
  521. "fileho.com",
  522. "bigandfree.com",
  523. "bigfile.in",
  524. "bigshare.eu",
  525. "dahosting.org",
  526. "digisofts.net",
  527. "file4save.com",
  528. "filechip.com",
  529. "filescloud.com",
  530. "saveqube.com",
  531. "turboshare.de",
  532. "z-upload.com",
  533. "youshare.com",
  534. "jiffyupload.com",
  535. "gigeshare.com",
  536. "datenklo.net",
  537. "upload.dj",
  538. "loadfiles.in",
  539. "upit.to",
  540. "dsfileshare.com",
  541. "sharesimple.net",
  542. "4files.net",
  543. "wooupload.com",
  544. "odsiebie.com",
  545. "filenavi.com",
  546. "3oof.com",
  547. "meshwaar.com",
  548. "maxupload.com",
  549. "share.cx",
  550. "atserver.eu",
  551. "hotfiles.ws",
  552. "esnips.com",
  553. "tuxfile.com",
  554. "file2upload.net",
  555. "filebling.com",
  556. "turboshare.com",
  557. "rarhost.com",
  558. "isharehd.com",
  559. "i741.com",
  560. "dataup.de",
  561. "fofly.com",
  562. "shareonall.com",
  563. "sexuploader.com",
  564. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  565. "uploadhyper.com",
  566. "filespawn.com",
  567. "caizzii.com",
  568. "volnyweb.cz",
  569. "usershare.net",
  570. "filescash.net",
  571. "metahyper.com",
  572. "combozip.com",
  573. "x7.to",
  574. "uploadbox.com",
  575. "enterupload.com|flyupload.com",
  576. "filepoint.de",
  577. "mystream.to",
  578. "x-fs.com",
  579. "shareator.com",
  580. "srapid.eu",
  581. "sosame.cz",
  582. "filesdump.com",
  583. "2-klicks.de",
  584. "uploking.com",
  585. "silofiles.com",
  586. "upfile.in",
  587. "filehook.com",
  588. "uploadking.com",
  589. "uploadhere.com",
  590. "kewlshare.com",
  591. "rapidable.com",
  592. "uploadwaste.com",
  593. "filemup.com",
  594. "filesonic.com|sharingmatrix.com",
  595. "fileserve.com",
  596. "wupload.com",
  597. "skipfile.com",
  598. "smartuploader.com",
  599. "dualshare.com",
  600. "storeandserve.com",
  601. "mountfile.com",
  602. "transitfiles.com",
  603. "uploadstation.com",
  604. "filejungle.com",
  605. "shareshared.com",
  606. "quickyshare.com",
  607. "save.am",
  608. "petandrive.com",
  609. "file2box.com",
  610. "flyshare.cz",
  611. "yabadaba.ru",
  612. "cloudcache.cc",
  613. "yourfilehost.com",
  614. "jakfile.com",
  615. "kickload.com",
  616. "pyramidfiles.com",
  617. "refile.net",
  618. "zshare.net",
  619. "ddlani.me|ddlanime.com",
  620. "ftp2share.com",
  621. "fooget.com",
  622. "rapidhide.com",
  623. "gotupload.com",
  624. "mooload.com",
  625. "zupload.com",
  626. "mytempdir.com",
  627. "onionshare.com",
  628. "stahnu.to",
  629. "oron.com",
  630. "badongo.com",
  631. "filereactor.com",
  632. "filegaze.com",
  633. "4bytez.com",
  634. "1hostclick.com",
  635. "anonstream.com",
  636. "batshare.com",
  637. "bitroad.net",
  638. "brontofile.com",
  639. "cloudnxt.net",
  640. "cloudnator.com|shragle.com",
  641. "filesfrog.net",
  642. "coolshare.cz",
  643. "dotavi.com",
  644. "ezyfile.net",
  645. "file-bit.net",
  646. "filecosy.com",
  647. "fileduct.com|fileduct.net",
  648. "filefat.com",
  649. "filelaser.com",
  650. "filemashine.com",
  651. "fileserver.cc",
  652. "filetechnology.com",
  653. "fireuploads.net",
  654. "gigfiles.net",
  655. "holderfile.com",
  656. "ihostia.com",
  657. "k2files.com",
  658. "mojofile.com",
  659. "ovfile.com",
  660. "qshare.com",
  661. "shafiles.me",
  662. "sharefilehost.com",
  663. "shareupload.com",
  664. "stahuj.to",
  665. "ugotfile.com",
  666. "uploadboost.com",
  667. "fileom.com",
  668. "vidhog.com",
  669. "xfileshare.eu",
  670. "bzlink.us",
  671. "bulletupload.com",
  672. "bloggerarticles.com",
  673. "mojedata.sk",
  674. "sharpfile.com",
  675. "upgrand.com",
  676. "nasdilej.cz",
  677. "mediatack.cz",
  678. "share-it.to",
  679. "primeupload.com",
  680. "filebeer.info",
  681. "baberepublic",
  682. "xtu.me",
  683. "sharebase.de",
  684. "luckyshare.net",
  685. "filerobo.com",
  686. "filevelocity.com",
  687. "filezpro.com",
  688. "file4sharing.com",
  689. "cing.be",
  690. "ufile.eu",
  691. "pigsonic.com",
  692. "fileupped.com",
  693. "sharerun.com",
  694. "filesaur.com",
  695. "rapidslnare.com",
  696. "bestsharing.com",
  697. "savefiles.net",
  698. "file2share.biz",
  699. "filecache.de",
  700. "monsteruploads.eu",
  701. "b9bb.com",
  702. "aiotool.net",
  703. "jamber.info",
  704. "megaftp.com",
  705. "desiupload.net",
  706. "file27.com",
  707. "yastorage.com",
  708. "filehost.ws",
  709. "copyload.com",
  710. "venusfile.com",
  711. "aieshare.com",
  712. "terafile.co",
  713. "terafile.com",
  714. "fileza.net",
  715. "filerose.com",
  716. "squillion.com",
  717. "fileprohost.com",
  718. "bitbonus.com",
  719. "warserver.cz",
  720. "uload.to",
  721. "sharedbit.net",
  722. "megaload.it",
  723. "filewinds.com",
  724. "uploadcore.com",
  725. "syfiles.com",
  726. "eyesfile.com",
  727. "hotfile.com",
  728. "superupl.com",
  729. "oteupload.com",
  730. "henchfile.com",
  731. "filegag.com",
  732. "HenchFile.com",
  733. "filedefend.com",
  734. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  735. "megabitshare.com",
  736. "cloudzer.com",
  737. "asfile.com",
  738. "cloudzer.net",
  739. "clz.to",
  740. "extabit.com",
  741. "247upload.com",
  742. "2download.de",
  743. "4fastfile.com",
  744. "asixfiles.com",
  745. "berofile.com",
  746. "bigupload.com",
  747. "cepzo.com",
  748. "clouds.to",
  749. "cobrashare.sk",
  750. "coraldrive.net",
  751. "cyberlocker.ch",
  752. "czshare.com",
  753. "darkport.org",
  754. "dark-uploads.com",
  755. "davvas.com",
  756. "enigmashare.com",
  757. "erofly.cz",
  758. "fastsonic.net",
  759. "filebox.com",
  760. "filecity.net",
  761. "filedap.com",
  762. "filedino.com",
  763. "filedownloads.org",
  764. "filefolks.com",
  765. "fileking.co",
  766. "filemates.com",
  767. "files.to",
  768. "files2k.eu",
  769. "filesector.cc",
  770. "bitshare.com",
  771. "filesega.com",
  772. "filesend.net",
  773. "filestay.com",
  774. "filestrum.com",
  775. "fileuplo.de",
  776. "fileupup.com",
  777. "forunesia.com",
  778. "freeuploads.fr",
  779. "uploa.dk",
  780. "getthebit.com",
  781. "getzilla.net",
  782. "goldfile.eu",
  783. "good.com",
  784. "grupload.com",
  785. "hellfile.com",
  786. "hipfile.com",
  787. "hitfile.com",
  788. "hulkfile.eu|duckfile.net",
  789. "i-filez.com",
  790. "ifile.ws",
  791. "kupload.org",
  792. "packupload.com",
  793. "lemuploads.com",
  794. "limelinx.com",
  795. "maxshare.pl",
  796. "megarelease.org",
  797. "megashare.com",
  798. "minus.com",
  799. "mlfat4arab.com",
  800. "multishare.cz",
  801. "nirafile.com",
  802. "ok2upload.com",
  803. "peejeshare.com",
  804. "premiuns.org",
  805. "przeklej.net",
  806. "qkup.net",
  807. "rapidupload.sk",
  808. "rockdizfile.com",
  809. "rocketfile.net",
  810. "share-now.net",
  811. "share76.com",
  812. "sharebees.com",
  813. "sharefiles.co",
  814. "slingfile.com",
  815. "sms4file.com",
  816. "space4file.com",
  817. "tigershare.net",
  818. "toucansharing.com",
  819. "ubuntuone.com",
  820. "unextfiles.com",
  821. "upaj.pl",
  822. "upfile.biz",
  823. "uploadbin.net",
  824. "uploadic.com",
  825. "uploadinc.com",
  826. "uploading4u.eu",
  827. "uploadjet.net",
  828. "uploadorb.com",
  829. "upthe.net",
  830. "uptorch.com",
  831. "vidbox.yt",
  832. "videozer.com",
  833. "vreer.com",
  834. "wallobit.com",
  835. "zooupload.com",
  836. "privatefiles.com",
  837. "xerver.co",
  838. "BillionUploads.com",
  839. "rapidshare.com",
  840. "rapidshare.ru",
  841. "4savefile.com",
  842. "bayfiles.com",
  843. "bayfiles.net",
  844. "dodane.pl",
  845. "dotsemper.com",
  846. "egofiles.com",
  847. "epicshare.net",
  848. "fiberupload.net",
  849. "filemonkey.in",
  850. "filemonster.net",
  851. "filepom.com",
  852. "filesbb.com",
  853. "fileshareup.com",
  854. "filevice.com",
  855. "gigaup.fr",
  856. "isavelink.com",
  857. "loombo.com",
  858. "megafiles.se",
  859. "migupload.com",
  860. "mydisc.net",
  861. "nitrobits.com",
  862. "potload.com",
  863. "redload.net",
  864. "shareprofi.com",
  865. "sharesuper.info",
  866. "sinhro.net",
  867. "speedfile.cz",
  868. "speedshare.org",
  869. "storage.novoro.net",
  870. "swankshare.com",
  871. "swatupload.com",
  872. "upafile.com",
  873. "uploadmachine.com",
  874. "uploadsat.com",
  875. "upshared.com",
  876. "usefile.com",
  877. "yourfiles.to",
  878. "zomgupload.com",
  879. "ultramegabit.com",
  880. "uploadto.us",
  881. "inafile.com",
  882. "megairon.net",
  883.  
  884. ];
  885. ///////////////////////////////////////////////////////////////////////////////////////
  886. var firstRun = GM_getValue("First_run", true);
  887.  
  888. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  889. //////////////////////////////////////////////////////////////////////////////////////
  890. try
  891. {
  892. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  893. var last_known_version = GM_getValue("last_known_version", "");
  894. if (!last_known_version)
  895. {
  896. last_known_version = thisVersion;
  897. GM_setValue("last_known_version", last_known_version);
  898. }
  899. //var newVersion = !(thisVersion == last_known_version);
  900. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  901. GM_setValue("last_known_version", thisVersion);
  902. }
  903. catch (err)
  904. {
  905. var newVersion = false;
  906. }
  907.  
  908. var now = (new Date()).getTime();
  909. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  910. if (!last_custom_rules_nag)
  911. {
  912. last_custom_rules_nag = now;
  913. GM_setValue('last_custom_rules_nag', ''+now);
  914. }
  915.  
  916.  
  917. allHostNames.sort();
  918. allContainerNames.sort();
  919. allObsoleteNames.sort();
  920.  
  921. var RAND_STRING = "8QyvpOSsRG3QWq";
  922. var DEBUG_MODE = false;
  923.  
  924. var TOOLTIP_MAXWIDTH = 600; //in pixels
  925. var TOOLTIP_THUMBWIDTH = 200;
  926. var containers_processed = false;
  927.  
  928. //settings for keyboard functions start
  929. var CHECK_ALL_LINKS_KEY = "A";
  930. var CONFIGURATION_KEY = "C";
  931. var copy_to_dead_key = "D";
  932. var copy_to_live_key = "L";
  933. var toggle_autocheck_key = "W";
  934. var toggle_Enable_Anonymizer_key = "Z";
  935. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  936. var first_key_keycodename = 'CTRL';
  937. var second_key_keycode = '18';
  938. var second_key_keycodename = 'ALT';
  939. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  940. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  941. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  942. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  943. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  944. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  945. //settings for keyboard functions end
  946.  
  947. //global settings start
  948. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  949. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  950. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  951. var Show_progress_stats, Display_tooltip_info, Icon_set;
  952. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  953. var Progress_box_refresh_rate;
  954. var Obsolete_file_hosts;
  955. var Custom_rules, Custom_rules_text;
  956.  
  957. var messageBox = document.createElement('b'); // top-left message box
  958.  
  959. var cLinksTotal = 0;
  960. var cLinksDead = 0;
  961. var cLinksAlive = 0;
  962. var cLinksUnava = 0;
  963. var cLinksprem = 0;
  964. var cLinksProcessed = 0;
  965.  
  966. var intervalId; //for updateProgress()
  967.  
  968. //icon resources
  969. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHg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qS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  983.  
  984. //global settings end
  985. if (window.opera && !window.console)
  986. {
  987. window.console = {};
  988.  
  989. function fn()
  990. {
  991. opera.postError(arguments);
  992. };
  993. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  994. {
  995. window.console[name] = fn;
  996. });
  997. }
  998.  
  999. //displays colored text in message box
  1000. function sendMessage(text, color)
  1001. {
  1002. var msgDiv = document.createElement('div');
  1003. msgDiv.style.color = color;
  1004. msgDiv.innerHTML = text;
  1005. messageBox.appendChild(msgDiv);
  1006. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1007. }
  1008.  
  1009. function linkify(totalourls)
  1010. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1011. var ikkeTilladteTags;
  1012. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1013. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1014. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1015. allLinksRegex = new RegExp(allLinksRegex, "g");
  1016. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1017.  
  1018. if (Do_not_linkify_DL_links)
  1019. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1020. else
  1021. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1022.  
  1023. var regex = new RegExp(regexy);
  1024. var textNode, muligtLink;
  1025.  
  1026. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1027. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1028.  
  1029. var i = textNodes.snapshotLength;
  1030. while (i--)
  1031. {
  1032. textNode = textNodes.snapshotItem(i);
  1033.  
  1034. muligtLink = textNode.nodeValue; //all links on page
  1035.  
  1036. var myArray = null;
  1037. var span = null;
  1038. var lastLastIndex = 0;
  1039. allLinksRegex.lastIndex = 0;
  1040. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1041. {
  1042. if (textNode.parentNode.className == "adead_link") continue;
  1043. var censoredLink = muligtLink;
  1044. var span = document.createElement('span');
  1045. span.className = "adead_link";
  1046. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1047. $(span).html(censoredLink);
  1048. span.addEventListener("mouseover", displayTooltipError, false);
  1049. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1050. textNode.parentNode.replaceChild(span, textNode);
  1051. continue;
  1052. alert(censoredLink);
  1053. }
  1054. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1055. {
  1056. if (!regex.test(myArray[0])) //this link is not recognized
  1057. {
  1058.  
  1059. continue;
  1060. }
  1061. if (!span)
  1062. span = document.createElement('span');
  1063.  
  1064. var link = myArray[0];
  1065. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1066.  
  1067. var $a = $("<a>" + link + "</a>")
  1068. if (!link.match(/https?:\/\//))
  1069. {
  1070. link = 'http://' + link;
  1071. }
  1072.  
  1073. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1074. .addClass("processing_link")
  1075. .appendTo(span);
  1076. lastLastIndex = allLinksRegex.lastIndex;
  1077. }
  1078. if (span)
  1079. {
  1080. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1081. textNode.parentNode.replaceChild(span, textNode);
  1082. }
  1083. }
  1084. }
  1085.  
  1086. function add_WARLC_style()
  1087. {
  1088. if (!(document.getElementsByTagName('WARLC')[0]))
  1089. {
  1090. var meta_not_to_add_more_style = document.createElement("WARLC");
  1091. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1092. meta_not_to_add_more_style.setAttribute('name', 'description');
  1093. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1094. alive_link_png = "";
  1095. adead_link_png = "";
  1096. unava_link_png = "";
  1097. prem_link_png = "";
  1098. switch(Icon_set)
  1099. {
  1100. //no icons
  1101. case 0: break;
  1102. // cat paws
  1103. case 1: alive_link_png = PAW_ICON_GREEN;
  1104. adead_link_png = PAW_ICON_RED;
  1105. unava_link_png = PAW_ICON_YELLOW;
  1106. prem_link_png = PAW_ICON_PINK;
  1107. break;
  1108. // classic RSLC look
  1109. case 2: alive_link_png = RSLC_ICON_GREEN;
  1110. adead_link_png = RSLC_ICON_RED;
  1111. unava_link_png = RSLC_ICON_YELLOW;
  1112. prem_link_png = RSLC_ICON_PINK;
  1113. break;
  1114. // New Icons
  1115. case 3: alive_link_png = NEW_ICON_GREEN;
  1116. adead_link_png = NEW_ICON_RED;
  1117. unava_link_png = NEW_ICON_YELLOW;
  1118. prem_link_png = NEW_ICON_PINK;
  1119. break;
  1120. // cat paws
  1121. default:alive_link_png = PAW_ICON_GREEN;
  1122. adead_link_png = PAW_ICON_RED;
  1123. unava_link_png = PAW_ICON_YELLOW;
  1124. prem_link_png = PAW_ICON_PINK;
  1125. break;
  1126. }
  1127. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1128. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1129.  
  1130. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1131.  
  1132. if (Color_DL_links)
  1133. {
  1134. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1135. live_color_css = 'color:' + Live_links_color + ' !important;';
  1136. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1137. container_color_css = 'color:' + Container_links_color + ' !important;';
  1138. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1139. }
  1140. else
  1141. {
  1142. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1143. }
  1144.  
  1145. if (Show_black_background_in_DL_links)
  1146. {
  1147. black_background_css = 'background-color: black !important;';
  1148. }
  1149. else
  1150. {
  1151. black_background_css = '';
  1152. }
  1153.  
  1154. if (Show_line_through_in_dead_links)
  1155. {
  1156. line_through_css = 'text-decoration: line-through !important;';
  1157. }
  1158. else
  1159. {
  1160. line_through_css = '';
  1161. }
  1162.  
  1163. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1164. 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 + "}");
  1165. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1166. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1167. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1168. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1169. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1170. }
  1171. }
  1172.  
  1173. var warlcTooltip = null;
  1174. var mouseoverLink = null; //link href with mouse cursor over it
  1175.  
  1176. var lastX = 0;
  1177. var lastY = 0;
  1178.  
  1179. $(document).ready(initTooltip);
  1180. //inits tooltip
  1181. function initTooltip()
  1182. { warlcTooltip = document.createElement("div");
  1183. 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;");
  1184. warlcTooltip.style.visibility = "hidden";
  1185. document.body.appendChild(warlcTooltip);
  1186. }
  1187.  
  1188. //"mousemove" event handler for all links
  1189. function moveTooltip(event)
  1190. {
  1191. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1192. { //no need to reflow if the cursor moved just a little
  1193. return;
  1194. }
  1195. else
  1196. {
  1197. lastX = event.clientX;
  1198. lastY = event.clientY;
  1199. }
  1200.  
  1201. posX = event.clientX + window.pageXOffset + 10;
  1202. posY = event.clientY + window.pageYOffset;
  1203. var ttHeight = warlcTooltip.offsetHeight;
  1204. var ttFreeSpace = window.innerHeight - event.clientY;
  1205. if (ttHeight > ttFreeSpace)
  1206. { //prevents tooltip from getting out of the window
  1207. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1208. }
  1209. else
  1210. {
  1211. posY += 7;
  1212. }
  1213. warlcTooltip.style.top = posY + "px";
  1214. warlcTooltip.style.left = posX + "px";
  1215. }
  1216.  
  1217. //"mouseout" event handler for all links
  1218. function hideTooltip(){
  1219. warlcTooltip.style.visibility = "hidden";
  1220. mouseoverLink = null;
  1221. }
  1222.  
  1223.  
  1224. //"mouseover" event handler for dead links
  1225. //displays tooltip error message on dead links
  1226. function displayTooltipError()
  1227. {
  1228. mouseoverLink = this.href;
  1229. this.addEventListener("mouseout", hideTooltip);
  1230. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1231. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1232. warlcTooltip.style.minWidth = 0;
  1233. warlcTooltip.style.visibility = "visible";
  1234. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1235. {
  1236. warlcTooltip.innerHTML = this.warlc_error;
  1237. }
  1238. else
  1239. {
  1240. loadErrorInfo(this);
  1241. }
  1242. function loadErrorInfo(link)
  1243. {
  1244. var href = link.href;
  1245. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1246. GM_xmlhttpRequest({
  1247. method: 'GET',
  1248. url: href.replace(Ref_anonymize_service, ""),
  1249. headers: {
  1250. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1251. 'Accept': 'text/xml',
  1252. 'Referer': ""
  1253. },
  1254. onload: function(result) {
  1255. var res = result.responseText;
  1256. //TODO: errorRegexs -
  1257. var errorRegexs = [ //generic error messages follow
  1258. /(empty directory)/i,
  1259. /(soubor nebyl nalezen)/i,
  1260. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1261. //server specific error messages follow
  1262. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1263. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1264. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1265. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1266. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1267. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1268. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1269. /class="wp640">\s*<h1 class="h1">(.+?)<\/h1>/, //uloz.to
  1270. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1271. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1272. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1273. // /id="obsah">\s*<h2>(.+?)<\/h2>/, //euroshare
  1274. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1275. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1276. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1277. // /Code: ER_NFF_\d+<\/h2>\s*(.+?)\s*<\/div>/, //netload
  1278. /(File has been removed due to Copyright Claim)/, //filerio
  1279. ];
  1280. var errorIdx = errorRegexs.length;
  1281. var error = "Cause of error: <b>unknown</b>";
  1282. var errorCandidate = "";
  1283. while(errorIdx--)
  1284. {
  1285. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1286. if (errorCandidate != null)
  1287. {
  1288. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1289. break;
  1290. }
  1291. }
  1292. //link attributes
  1293. link.warlc_error = error;
  1294. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1295. {
  1296. warlcTooltip.innerHTML = error;
  1297. }
  1298. }
  1299. });
  1300. }
  1301. }
  1302.  
  1303. //"mouseover" event handler for alive links
  1304. //displays tooltip info (file size, file name,...) on alive links
  1305. function displayTooltipInfo()
  1306. {
  1307. mouseoverLink = this.href;
  1308. //exclude direct download filehostings
  1309. 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)/))
  1310. {
  1311. return;
  1312. }
  1313. this.addEventListener("mouseout", hideTooltip);
  1314. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1315. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1316. warlcTooltip.style.minWidth = 0;
  1317. warlcTooltip.style.visibility = "visible";
  1318. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1319. {
  1320. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1321. }
  1322. else
  1323. {
  1324. loadInfo(this);
  1325. }
  1326. function loadInfo(link)
  1327. {
  1328. var href = link.href;
  1329. GM_xmlhttpRequest({
  1330. method: 'GET',
  1331. url: href.replace(Ref_anonymize_service, ""),
  1332. headers: {
  1333. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1334. 'Accept': 'text/xml',
  1335. 'Referer': ""
  1336. },
  1337. onload: function(result) {
  1338. var res = result.responseText;
  1339. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1340. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1341. /fl" title="(.+?)">/, //edisk
  1342. /<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
  1343. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1344. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1345. /title="download (.+?)">/, //sendspace
  1346. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1347. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1348. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1349. /d0FileName = "(.+?)";/, //letitbit
  1350. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1351. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1352. /fname" value="(.+?)">/, //syfiles, grupload,
  1353. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1354. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1355. /Complete name : (.+?)<br \/>/, //bezvadata
  1356. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1357. ];
  1358. var nameIdx = nameRegexs.length;
  1359. // [sizeRegexs]
  1360. // / \ \?
  1361. // prefix (size) postfix
  1362. // / \
  1363. // val quant
  1364. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1365. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1366. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1367. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1368. var postSizeRegex = '(?:\\))?';
  1369. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1370. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1371. ];
  1372. var sizeIdx = sizeRegexs.length;
  1373. //
  1374. //
  1375. var tooltip = "File Name: <b>";
  1376. var fileName = "unknown";
  1377. var nameCandidate = "";
  1378. while(nameIdx--)
  1379. {
  1380. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1381. if (nameCandidate != null)
  1382. {
  1383. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1384. break;
  1385. }
  1386. }
  1387. tooltip += fileName + "</b><br>File Size: <b>";
  1388. var fileSize = "unknown";
  1389. var sizeCandidate = "";
  1390. while(sizeIdx--)
  1391. {
  1392. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1393. if (sizeCandidate != null)
  1394. {
  1395. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1396. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1397. {
  1398. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1399. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1400. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1401. }
  1402. break;
  1403. }
  1404. }
  1405. tooltip += fileSize + "</b>";
  1406. // PROTOTYPE
  1407. // video thumbnails
  1408. if (href.match('hellshare'))
  1409. {
  1410. var thumbs;
  1411. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1412. if (thumbs)
  1413. {
  1414. tooltip += '<br>';
  1415. var j = Math.min(thumbs.length, 9);
  1416. for (var i = 0; i < j; i++)
  1417. {
  1418. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1419. }
  1420. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1421. }
  1422. }
  1423. if (href.match('czshare'))
  1424. {
  1425. var thumbs;
  1426. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1427. if (thumbs)
  1428. {
  1429. var thumbsServer = thumbs[1];
  1430. var thumbsId = thumbs[2];
  1431. tooltip += '<br>';
  1432. for (var i = 1; i < 9; i++)
  1433. {
  1434. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1435. }
  1436. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1437. }
  1438. }
  1439. if (href.match('bezvadata'))
  1440. {
  1441. var thumbs;
  1442. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1443. if (thumbs)
  1444. {
  1445. tooltip += '<br>';
  1446. var j = Math.min(thumbs.length, 9);
  1447. for (var i = 0; i < j; i++)
  1448. {
  1449. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1450. }
  1451. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1452. }
  1453. }
  1454. link.warlc_tooltipcache = tooltip;
  1455. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1456. {
  1457. warlcTooltip.innerHTML = tooltip;
  1458. }
  1459. }
  1460. });
  1461. }
  1462. }
  1463.  
  1464. function setVariables()
  1465. {
  1466. if (firstRun)
  1467. {
  1468. GM_log('First run, applying default settings...');
  1469. GM_setValue("Icon_set",1);
  1470. GM_setValue("Display_tooltip_info",true);
  1471. GM_setValue("Show_black_background_in_DL_links",false);
  1472. GM_setValue("Show_line_through_in_dead_links",false);
  1473. GM_setValue("Display_full_links_in_link_containers",false);
  1474. GM_setValue("Allow_spaces_in_DL_links",false);
  1475. GM_setValue("Autocheck",true);
  1476. GM_setValue("Enable_Anonymizer",false);
  1477. GM_setValue("Do_not_linkify_DL_links",false);
  1478. GM_setValue("Show_progress_stats",true);
  1479. GM_setValue("Keyboard_functions",true);
  1480. GM_setValue("Obsolete_file_hosts",false);
  1481. GM_setValue("Color_DL_links",true);
  1482. GM_setValue("Live_links_color","Green");
  1483. GM_setValue("Dead_links_color","#FF3300");
  1484. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1485. GM_setValue("Container_links_color","DarkKhaki");
  1486. GM_setValue("Premium_links_color","DeepPink");
  1487. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1488. GM_setValue("Custom_rules",false);
  1489. GM_setValue("Custom_rules_text","");
  1490. GM_setValue("First_run", false);
  1491. }
  1492. //hidden settings
  1493. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1494. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1495. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1496. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1497. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1498. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1499. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1500. //hidden settings end
  1501.  
  1502. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1503. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1504. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1505. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1506. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1507. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1508. Autocheck = GM_getValue("Autocheck", true);
  1509. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1510. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1511. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1512. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1513. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1514. Color_DL_links = GM_getValue("Color_DL_links", true);
  1515. Live_links_color = GM_getValue("Live_links_color", "Green");
  1516. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1517. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1518. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1519. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1520. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1521. Custom_rules = GM_getValue("Custom_rules", false);
  1522. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1523. }
  1524.  
  1525.  
  1526. // Delinkifies the links
  1527. // params:
  1528. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1529. // e.g. 'uloz.to/xs68skxl8')
  1530. function delinkifySnapshot(snapshot)
  1531. {
  1532. var n = snapshot.snapshotLength;
  1533.  
  1534. while (n--)
  1535. {
  1536. thisLink = snapshot.snapshotItem(n);
  1537.  
  1538. var spanElm = document.createElement("span");
  1539. spanElm.className = thisLink.className;
  1540. spanElm.innerHTML = thisLink.innerHTML;
  1541.  
  1542. if (Display_tooltip_info)
  1543. {
  1544. spanElm.href = thisLink.href;
  1545. switch (thisLink.className){
  1546. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1547. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1548. case "unava_link": //reserved
  1549. default:
  1550. }
  1551. }
  1552. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1553. }
  1554. }
  1555.  
  1556. function processContainers()
  1557. {
  1558. var redirectorTypes = { "HTTP_302": 0,
  1559. "INNER_LINK": 1,
  1560. "THELOO_KATT_IT": 2,
  1561. "CING_BE": 3,
  1562. "ADF_LY": 4};
  1563. var cMultiloadTotal = 0;
  1564. var cMultiloadProcessed = 0;
  1565.  
  1566. var cMirrorcreatorComTotal = 0;
  1567. var cMirrorcreatorComProcessed = 0;
  1568.  
  1569. var hostRestrictionRegex = "";
  1570. var multiloadComRestriction = "";
  1571. var multiloadComRestrictionRegex;
  1572.  
  1573. //
  1574. //HANDLING REDIRECTORS START
  1575. //
  1576.  
  1577. var redirectors = new Array();
  1578. initRedirectors();
  1579.  
  1580. var redirectorsCount = redirectors.length;
  1581.  
  1582. if (redirectorsCount > 0)
  1583. {
  1584. var allRedirectorsRegex = "";
  1585.  
  1586. //linkify redirector links
  1587. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1588. {
  1589. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1590. }
  1591. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1592. linkify(allRedirectorsRegex);
  1593. //
  1594. //process redirector links
  1595. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1596. {
  1597. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1598. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1599.  
  1600. cLinksTotal += redirectors[redirIdx].cTotal;
  1601. var linkIdx = redirectors[redirIdx].cTotal;
  1602.  
  1603. while(linkIdx--)
  1604. {
  1605. switch(redirectors[redirIdx].type)
  1606. {
  1607. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1608. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1609. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1610. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1611. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1612. default:
  1613. }
  1614. }
  1615. }
  1616. //
  1617. }
  1618.  
  1619. //HTTP_302
  1620. function processRedirectorLink(link, redirectorId)
  1621. {
  1622. link.className = 'container_link';
  1623.  
  1624. GM_xmlhttpRequest({
  1625. method: 'HEAD',
  1626. url: link.href,
  1627. headers: {
  1628. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1629. 'Accept': 'text/xml',
  1630. 'Referer': ""
  1631. },
  1632. onload: function(result) {
  1633. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1634. {
  1635. processRedirectorLink(link, redirectorId);
  1636. }
  1637. else
  1638. {
  1639. redirectors[redirectorId].cProcessed++;
  1640. link.href = result.finalUrl;
  1641. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1642. checkLinks('container_link');
  1643. }
  1644. },
  1645. onerror: function(result) { //probably caused by unresponsive filehosting
  1646. redirectors[redirectorId].cProcessed++;
  1647. link.className = 'unava_link';
  1648. cLinksProcessed++;
  1649. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1650. checkLinks('container_link');
  1651. }
  1652. });
  1653. }
  1654. //INNER_LINK
  1655. function processRedirectorLinkEx(link, redirectorId)
  1656. {
  1657. link.className = 'container_link';
  1658. GM_xmlhttpRequest({
  1659. method: 'GET',
  1660. url: link.href,
  1661. headers: {
  1662. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1663. 'Accept': 'text/xml',
  1664. 'Referer': ""
  1665. },
  1666. onload: function(result) {
  1667. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1668. redirectors[redirectorId].cProcessed++;
  1669. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1670. checkLinks('container_link');
  1671. }
  1672. });
  1673. }
  1674. //theloo.katt.it (wrapped safelinking.net)
  1675. function processThelooKattItLink(link, redirectorId)
  1676. {
  1677. link.className = 'container_link';
  1678. GM_xmlhttpRequest({
  1679. method: 'GET',
  1680. url: link.href,
  1681. headers: {
  1682. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1683. 'Accept': 'text/xml',
  1684. 'Referer': ""
  1685. },
  1686. onload: function(result) {
  1687. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1688. redirectors[redirectorId].cProcessed++;
  1689. //the inner links are safelinking.net links, so lets proceed with it
  1690. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1691. {
  1692. processRedirectorLink(link, 0);
  1693. }
  1694. }
  1695. });
  1696. }
  1697. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1698. function processAdfLyLink(link, redirectorId)
  1699. {
  1700. link.className = 'container_link';
  1701. GM_xmlhttpRequest({
  1702. method: 'GET',
  1703. url: link.href,
  1704. headers: {
  1705. 'User-agent': 'Mozilla/4.0',
  1706. 'Accept': 'text/xml',
  1707. 'Referer': ""
  1708. },
  1709. onload: function(result) {
  1710. if (result.finalUrl.match('/locked/'))
  1711. {
  1712. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1713. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1714. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1715. }
  1716. else
  1717. {
  1718. // GM_log('Processing... ' + link.href);
  1719. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1720. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1721. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1722. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1723. //confirm advert
  1724. GM_xmlhttpRequest(
  1725. {
  1726. method: 'POST',
  1727. url: 'http://adf.ly/l.php',
  1728. headers: {
  1729. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1730. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1731. 'Referer': link.href
  1732. },
  1733. data: users + '&lt=' + logToken,
  1734. onload: function(result) {
  1735. //retrieve final url from .../go/... link
  1736. GM_xmlhttpRequest({
  1737. method: 'GET',
  1738. url: directLink,
  1739. headers: {
  1740. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1741. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1742. 'Referer': link.href
  1743. },
  1744. onload: function(result) {
  1745. link.href = result.finalUrl;
  1746. redirectors[redirectorId].cProcessed++;
  1747. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1748. checkLinks('container_link');
  1749. }
  1750. });
  1751. }
  1752. });
  1753. }
  1754. }
  1755. });
  1756. function proceedOK()
  1757. {
  1758. }
  1759. }
  1760. //MULTILOAD.CZ START
  1761. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1762. {
  1763. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1764. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1765.  
  1766. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1767.  
  1768. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1769. hostRestrictionRegex += 'hellshare|';
  1770. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1771. hostRestrictionRegex += 'downloadhellshare|';
  1772. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1773. hostRestrictionRegex += 'share-rapid\\.com|';
  1774. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1775. hostRestrictionRegex += 'quickshare\\.cz|';
  1776. if (GM_getValue("Check_czshare_dot_com_links", false))
  1777. hostRestrictionRegex += 'czshare\\.com|';
  1778. if (GM_getValue("Check_uloz_dot_to_links", false))
  1779. hostRestrictionRegex += 'uloz\\.to|';
  1780. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1781. hostRestrictionRegex += 'hellspy|';
  1782. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1783. hostRestrictionRegex += 'multishare\\.cz|';
  1784.  
  1785. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1786.  
  1787. linkify(mlRegex);
  1788.  
  1789. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1790. var mlCount = mlSnapshot.snapshotLength;
  1791.  
  1792. if (mlCount > 0)
  1793. {
  1794. cMultiloadTotal += mlCount;
  1795.  
  1796. mlIdx = mlCount - 1;
  1797. do
  1798. {
  1799. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1800. }
  1801. while(mlIdx--)
  1802. }
  1803. }
  1804. //MULTILOAD.CZ END
  1805.  
  1806.  
  1807.  
  1808. function processMultiloadLink(mlLink)
  1809. {
  1810. GM_xmlhttpRequest({
  1811. method: 'GET',
  1812. url: mlLink.href,
  1813. headers: {
  1814. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1815. 'Accept': 'text/xml',
  1816. 'Referer': ""
  1817. },
  1818. onload: function(result) {
  1819. var res = result.responseText;
  1820.  
  1821. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1822. 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;
  1823. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1824. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1825.  
  1826. var blocks; // blocks of links
  1827. var blockIdx;
  1828.  
  1829. mlLink.className = '';
  1830.  
  1831. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1832. {
  1833. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1834. return;
  1835. }
  1836.  
  1837. blocks = res.match(innerBlockRegex);
  1838.  
  1839. if (blocks == null) //no links found, cancel further processing
  1840. {
  1841. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1842. cMultiloadProcessed++;
  1843. if (cMultiloadTotal <= cMultiloadProcessed)
  1844. {
  1845. startBulkCheck('container_link');
  1846. start('container_link');
  1847. }
  1848. return;
  1849. }
  1850.  
  1851. blockIdx = blocks.length;
  1852.  
  1853. if (Display_full_links_in_link_containers)
  1854. {
  1855. var ulElm = document.createElement('ul');
  1856. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1857.  
  1858. while(blockIdx--)
  1859. {
  1860. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1861. {
  1862. continue;
  1863. }
  1864.  
  1865. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1866.  
  1867. var linkIdx = innerLinks.length;
  1868. while (linkIdx--)
  1869. {
  1870. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1871.  
  1872. var liElm = document.createElement('li');
  1873.  
  1874. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1875. {
  1876. liElm.appendChild(document.createTextNode(innerLink));
  1877. }
  1878. else
  1879. {
  1880. var aElm = document.createElement('a');
  1881. aElm.innerHTML = innerLink;
  1882. aElm.href = innerLink;
  1883. aElm.className = 'container_link';
  1884.  
  1885. liElm.appendChild(aElm);
  1886. }
  1887.  
  1888. ulElm.appendChild(liElm);
  1889. cLinksTotal++;
  1890. }
  1891. }
  1892.  
  1893. mlLink.parentNode.appendChild(ulElm);
  1894. }
  1895. else //compact view
  1896. {
  1897. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1898.  
  1899. while(blockIdx--)
  1900. {
  1901. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1902. {
  1903. continue;
  1904. }
  1905.  
  1906. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1907.  
  1908. var linkIdx = innerLinks.length;
  1909. while (linkIdx--)
  1910. {
  1911. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1912.  
  1913. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1914. {
  1915. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1916. }
  1917. else
  1918. {
  1919. var aElm = document.createElement('a');
  1920.  
  1921. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|uloz\.to|multishare|hellspy|share\-rapid|czshare/);
  1922.  
  1923. //abbreviate host name
  1924. switch(hostName + ""){
  1925.  
  1926. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1927. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1928. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1929. case 'uloz.to': aElm.innerHTML = 'UT'; break;
  1930. case 'multishare': aElm.innerHTML = 'MS'; break;
  1931. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1932. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1933. case 'czshare': aElm.innerHTML = 'CS'; break;
  1934. default: aElm.innerHTML = 'xx';
  1935.  
  1936. }
  1937.  
  1938. aElm.href = innerLink;
  1939. aElm.className = 'container_link';
  1940.  
  1941. mlLink.parentNode.appendChild(aElm);
  1942. cLinksTotal++;
  1943. }
  1944. }
  1945.  
  1946. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1947.  
  1948. }
  1949. }
  1950.  
  1951. cMultiloadProcessed++;
  1952. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1953. {
  1954. if (Do_not_linkify_DL_links)
  1955. {
  1956. delinkifySnapshot(mlSnapshot);
  1957. }
  1958. startBulkCheck('container_link');
  1959. start('container_link');
  1960. }
  1961. }
  1962. });
  1963. }
  1964.  
  1965.  
  1966. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1967. {
  1968. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1969. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1970. var mcShortHostNames =
  1971. '?? 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';
  1972. // 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
  1973. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1974. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1975. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1976. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1977.  
  1978. linkify(mcRegex);
  1979.  
  1980. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1981. var mcCount = mcSnapshot.snapshotLength;
  1982.  
  1983. cMirrorcreatorComTotal = mcCount;
  1984.  
  1985. if (mcCount > 0)
  1986. {
  1987. mcShortHostNames = mcShortHostNames.split(' ');
  1988. mcIdx = mcCount;
  1989. while(mcIdx--)
  1990. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  1991. }
  1992.  
  1993. }
  1994. //MIRRORCREATOR.CZ END
  1995.  
  1996.  
  1997. //mirrorcreator.com checking works like this:
  1998. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  1999. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2000. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2001. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2002. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2003. function processMirrorcreatorLink(mcLink)
  2004. {
  2005. var mcURL = mcLink.href.match(mcRegex);
  2006. if(!mcURL || !mcURL[1]) return;
  2007. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2008. GM_xmlhttpRequest({
  2009. method: 'GET',
  2010. url: mcURL,
  2011. headers: {
  2012. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2013. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2014. 'Referer': ""
  2015. },
  2016. onload: function(mcLinkResult) {
  2017. var mcLinkRes = mcLinkResult.responseText;
  2018.  
  2019. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2020. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2021.  
  2022. var mcRedirectors;
  2023. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2024. var m = mcLinkRes.match(mcLinkBlockRegex);
  2025. if (m)
  2026. mcHostsFound = m.length;
  2027. else
  2028. { //no files inside container
  2029. processMirrorcreatorFoundHosts(mcLink, []);
  2030. return;
  2031. }
  2032.  
  2033. var mcRedirectorURL, idx, timedOut = false;
  2034.  
  2035. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2036. GM_xmlhttpRequest({
  2037. method: 'GET',
  2038. url: mcRedirectorURL,
  2039. headers: {
  2040. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2041. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2042. 'Referer': ""
  2043. },
  2044. onload: function(mcHostResult) {
  2045. if (timedOut) return; //too late, the list is already displayed
  2046. var mcHostRes = mcHostResult.responseText;
  2047. var mcHost = mcHostRes.match(mcHostRegex);
  2048. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2049. if (mcHost && idx!=-1)
  2050. {
  2051. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2052. mcHostsRetrieved++;
  2053. mcHostsToProcess++;
  2054. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2055. {
  2056. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2057. mcHostsToProcess = 0;
  2058. }
  2059. }
  2060. } //end of onload: function
  2061. }); //end of GM_xmlhttpRequest call
  2062. };//end of var gmxhrFunc
  2063.  
  2064. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2065. { //load individual redirector pages
  2066. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2067. mcHostURLs.push(mcRedirectorURL);
  2068. mcRedirectorIDs.push(mcRedirectors[2]);
  2069. gmxhrFunc(mcRedirectorURL);
  2070. } //end of while block
  2071.  
  2072. setTimeout(function(){ //in case the last page fails to load and call the function
  2073. timedOut = true;
  2074. if (mcHostsToProcess)
  2075. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2076. }, 60000);
  2077.  
  2078. } //end of onload function
  2079. }); //end of GM_xmlhttpRequest call
  2080. } //end of function processMirrorcreatorLink
  2081.  
  2082.  
  2083. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2084. {
  2085. var aEl, liEl, docFrag;
  2086. var hostName, mcRedirectorID, trimFilename = false;
  2087. var i = mcHostURLs.length;
  2088. if (i == 0)
  2089. {
  2090. trimFilename = true;
  2091. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2092. }
  2093. else
  2094. {
  2095. if (Display_full_links_in_link_containers)
  2096. { //full view
  2097. var wrapperEl = document.createElement('span');
  2098. wrapperEl.style.display = 'block';
  2099. var ulistEl = document.createElement('ul');
  2100. ulistEl.className = 'container_list';
  2101. while (i--)
  2102. {
  2103. liEl = document.createElement('li');
  2104. aEl = document.createElement('a');
  2105. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2106. aEl.href = mcHostURLs[i];
  2107. aEl.className = 'container_link';
  2108. liEl.appendChild(aEl);
  2109. ulistEl.appendChild(liEl);
  2110. }
  2111. wrapperEl.appendChild(ulistEl);
  2112. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2113. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2114. }
  2115. else
  2116. { //compact view
  2117. trimFilename = true;
  2118. docFrag = document.createDocumentFragment();
  2119. docFrag.appendChild(document.createTextNode(' |'));
  2120. while (i--)
  2121. {
  2122. mcRedirectorID = mcRedirectorIDs[i];
  2123. hostName = mcHostURLs[i];
  2124. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2125. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2126. else
  2127. hostName = mcShortHostNames[mcRedirectorID];
  2128. aEl = document.createElement('a');
  2129. aEl.href = mcHostURLs[i];
  2130. aEl.className = 'container_link';
  2131. aEl.appendChild(document.createTextNode(hostName));
  2132. docFrag.appendChild(aEl);
  2133. docFrag.appendChild(document.createTextNode('|'));
  2134. }
  2135. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2136. } //end of else block
  2137. } //end of else block
  2138. mcLink.className = '';
  2139. if (trimFilename)
  2140. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2141. cMirrorcreatorComProcessed++;
  2142. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2143. {
  2144. if (Do_not_linkify_DL_links)
  2145. delinkifySnapshot(mcSnapshot);
  2146. startBulkCheck('container_link');
  2147. start('container_link');
  2148. }
  2149. } //end of function processMirrorcreatorFoundHosts
  2150.  
  2151. containers_processed = true;
  2152.  
  2153.  
  2154. function initRedirectors()
  2155. {
  2156. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2157. {
  2158. var redirector = new Object();
  2159. redirector.linkRegex = linkRegex;
  2160. redirector.xpath = xpathEx; //xpath expression
  2161. redirector.cProcessed = 0; //processed links count
  2162. redirector.cTotal = 0; //total links count
  2163. redirector.type = redirType; //redirectorTypes enum
  2164. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2165. redirectors.push(redirector);
  2166. }
  2167. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2168. {
  2169. addRedirector(
  2170. 'safelinking\\.net\/d\/\\w+',
  2171. "//a[contains(@href,'safelinking.net/d/')]",
  2172. redirectorTypes.HTTP_302,
  2173. null);
  2174. }
  2175. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2176. {
  2177. addRedirector(
  2178. 'linksafe\\.me\/d\/\\w+',
  2179. "//a[contains(@href,'linksafe.me/d/')]",
  2180. redirectorTypes.HTTP_302,
  2181. null);
  2182. }
  2183. if (GM_getValue("Check_linkto_dot_net_links", false))
  2184. {
  2185. addRedirector(
  2186. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2187. "//a[contains(@href,'linkto.net/?')]",
  2188. redirectorTypes.INNER_LINK,
  2189. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2190. }
  2191. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2192. {
  2193. addRedirector(
  2194. '(?:the)?loo\\.katt\\.it\/\\w+',
  2195. "//a[contains(@href,'loo.katt.it/')]",
  2196. redirectorTypes.THELOO_KATT_IT,
  2197. /Proceed to URL - <a href="(.+?)">/);
  2198. }
  2199. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2200. {
  2201. addRedirector(
  2202. 'madlink\\.sk\/\\w+',
  2203. "//a[contains(@href,'madlink.sk/')]",
  2204. redirectorTypes.INNER_LINK,
  2205. /name="url" value="(.+?)\s*"\/>/);
  2206. }
  2207. if (GM_getValue("Check_adf_dot_ly_links", false))
  2208. {
  2209. addRedirector(
  2210. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2211. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2212. redirectorTypes.ADF_LY,
  2213. null);
  2214. }
  2215. if (GM_getValue("Check_redi_dot_re_links", false))
  2216. {
  2217. addRedirector(
  2218. 'redi\\.re\/\\w+',
  2219. "//a[contains(@href,'redi.re/')]",
  2220. redirectorTypes.HTTP_302,
  2221. null);
  2222. }
  2223. if (GM_getValue("Check_bit_dot_ly_links", false))
  2224. {
  2225. addRedirector(
  2226. 'bit\\.ly\/\\w+',
  2227. "//a[contains(@href,'bit.ly/')]",
  2228. redirectorTypes.HTTP_302,
  2229. null);
  2230. }
  2231. }
  2232.  
  2233. }
  2234.  
  2235. var bulkHosts = new Array();
  2236. var bulkHostNames = new Array();
  2237. function initBulkCheck()
  2238. {
  2239. /////////////////////////////
  2240. // Inits filehost object
  2241. /////////////////////////////
  2242. // params :
  2243. // hostName -- [string] host name (multiple domains separated with coma)
  2244. // linkRegex -- [string] link regex
  2245. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2246. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2247. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2248. // corrReplWhat -- [regex] link correction regex (replace)
  2249. // corrReplWith -- [string]
  2250. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2251. //
  2252. // apiUrl -- [string] web linkchecker or API URL
  2253. // postData -- [string] POSTDATA of xmlhttprequest
  2254. // resLinkRegex -- [regex]
  2255. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2256. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2257. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2258. // func -- [function] bulkcheck handler, genBulkCheck if null
  2259. //
  2260. //////////////////////////////
  2261. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2262. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2263. {
  2264. var fileHost = new Object();
  2265.  
  2266. fileHost.linkRegex = linkRegex;
  2267. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2268. fileHost.xpath = xpath;
  2269. fileHost.cFound = 0; //found links counter
  2270. fileHost.links = new Array(); //found links
  2271. if (blockSize == null)
  2272. {
  2273. fileHost.blockSize = 50;
  2274. }
  2275. else
  2276. {
  2277. fileHost.blockSize = blockSize;
  2278. }
  2279. fileHost.corrMatch = corrMatch;
  2280. fileHost.corrReplWhat = corrReplWhat;
  2281. fileHost.corrReplWith = corrReplWith;
  2282. if (splitSeparator == null)
  2283. {
  2284. fileHost.splitSeparator = "\r\n";
  2285. }
  2286. else
  2287. {
  2288. fileHost.splitSeparator = splitSeparator;
  2289. }
  2290. fileHost.apiUrl = apiUrl;
  2291. fileHost.postData = postData;
  2292. fileHost.resLinkRegex = resLinkRegex;
  2293. fileHost.resLiveRegex = resLiveRegex;
  2294. fileHost.resDeadRegex = resDeadRegex;
  2295. fileHost.resUnavaRegex = resUnavaRegex;
  2296. if (func == null)
  2297. {
  2298. fileHost.func = genBulkCheck;
  2299. }
  2300. else
  2301. {
  2302. fileHost.func = func;
  2303. }
  2304. bulkHosts.push(fileHost);
  2305. var names = hostName.split(',');
  2306. var i = names.length;
  2307. while(i--)
  2308. {
  2309. bulkHostNames[names[i]] = fileHost;
  2310. }
  2311. }
  2312. var genType1 = [
  2313. "rodfile.com", "downloadani.me", //"migahost.com",
  2314. "rarefile.net",
  2315. "filesabc.com",
  2316. "verzend.be",
  2317. // "movreel.com",
  2318. "4up.me",
  2319. "file4safe.com", "filemac.com",
  2320. "idup.in", "novafile.com", "longfiles.com",
  2321. "bitupload.com",
  2322. "uploadbaz.com"
  2323. ];
  2324. var genType2 = [ "queenshare.com",
  2325. "hulkload.com",
  2326. "amonshare.com", //"edoc.com",
  2327. ];
  2328. //xfilesharing 1.0
  2329. function addGenericType1()
  2330. {
  2331. var i = genType1.length;
  2332. while(i--)
  2333. {
  2334. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2335. {
  2336. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2337. addHost(
  2338. genType1[i].match(/[\w-]+/)[0], //hostname
  2339. regexSafe + "\/\\w+", //linkregex
  2340. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2341. null, //blocksize
  2342. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2343. null, //corrreplwhat
  2344. null, //corrreplwith
  2345. null, //separator
  2346. "http://" + genType1[i] + "/checkfiles.html", //api url
  2347. "op=checkfiles&process=Check+URLs&list=", //postdata
  2348. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2349. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2350. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2351. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2352. null //function delegate
  2353. )
  2354. }
  2355. }
  2356. }
  2357. //xfilesharing 2.0
  2358. function addGenericType2()
  2359. {
  2360. var i = genType2.length;
  2361. while(i--)
  2362. {
  2363. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2364. {
  2365. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2366. addHost(
  2367. genType2[i].match(/[\w-]+/)[0], //hostname
  2368. regexSafe + "\/\\w+", //linkregex
  2369. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2370. null, //blocksize
  2371. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2372. null, //corrreplwhat
  2373. null, //corrreplwith
  2374. null, //separator
  2375. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2376. "op=checkfiles&process=Check+URLs&list=", //postdata
  2377. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2378. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2379. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2380. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2381. null //function delegate
  2382. )
  2383. }
  2384. }
  2385. }
  2386. // TEMPLATE
  2387. // if (GM_getValue("Check__dot_com_links", false))
  2388. // {
  2389. // addHost(
  2390. // "", //hostname
  2391. // "", //linkregex
  2392. // "//a[contains(@href,'.com/')]", //xpath
  2393. // null, //blocksize
  2394. // null, //corrmatch
  2395. // null, //corrreplwhat
  2396. // null, //corrreplwith
  2397. // null, //separator
  2398. // "", //api url
  2399. // "", //postdata
  2400. // /()/, //linkregex
  2401. // //liveregex
  2402. // //deadregex
  2403. // //unavaregex
  2404. // null //function delegate
  2405. // )
  2406. // }
  2407. addGenericType1();
  2408. addGenericType2();
  2409.  
  2410. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2411. {
  2412. addHost(
  2413. "myvdrive,fileserving", //hostname
  2414. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2415. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2416. null, //blocksize
  2417. null, //corrmatch
  2418. null, //corrreplwhat
  2419. null, //corrreplwith
  2420. null, //separator
  2421. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2422. "links=", //postdata
  2423. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2424. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2425. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2426. null, //unavaregex
  2427. null //function delegate
  2428. )
  2429. }
  2430. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2431. {
  2432. addHost(
  2433. "hackerbox", //hostname
  2434. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2435. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2436. null, //blocksize
  2437. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2438. null, //corrreplwhat
  2439. null, //corrreplwith
  2440. null, //separator
  2441. "http://host.hackerbox.org/checkfiles.html", //api url
  2442. "op=checkfiles&process=Check+URLs&list=", //postdata
  2443. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2444. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2445. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2446. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2447. null //function delegate
  2448. )
  2449. }
  2450. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2451. {
  2452. addHost(
  2453. "hellshare", //hostname
  2454. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2455. "//a[contains(@href,'hellshare.')]", //xpath
  2456. 48, //blocksize
  2457. null, //corrmatch
  2458. null, //corrreplwhat
  2459. null, //corrreplwith
  2460. null, //separator
  2461. null, //api url
  2462. null, //postdata
  2463. null, //linkregex
  2464. null, //liveregex
  2465. null, //deadregex
  2466. null, //unavaregex
  2467. hellshareBulkCheck //function delegate
  2468. )
  2469. }
  2470. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  2471. {
  2472. addHost(
  2473. "ncrypt", //hostname
  2474. "ncrypt\\.in\/folder\\-\\w+", //linkregex
  2475. "//a[contains(@href,'ncrypt.in/folder')]", //xpath
  2476. 100000, //blocksize
  2477. null, //corrmatch
  2478. null, //corrreplwhat
  2479. null, //corrreplwith
  2480. null, //separator
  2481. null,
  2482. null,
  2483. null,
  2484. null,
  2485. null,
  2486. null,
  2487. ncryptBulkCheck //function delegate
  2488. )
  2489. }
  2490. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2491. {
  2492. addHost(
  2493. "uploadrocket", //hostname
  2494. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2495. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2496. null, //blocksize
  2497. null, //corrmatch
  2498. null, //corrreplwhat
  2499. null, //corrreplwith
  2500. "\n", //separator
  2501. 'http://uploadrocket.net/?op=checkfiles',
  2502. 'op=checkfiles&process=Check+URLs&list=',
  2503. /uploadrocket.net\/(\w+)/,
  2504. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2505. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2506. null,
  2507. null //function delegate
  2508. )
  2509. }
  2510. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2511. {
  2512. addHost(
  2513. "k2s,keep2s,keep2share",
  2514. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2515. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2516. 100000, //blocksize
  2517. null, //corrmatch
  2518. null, //corrreplwhat
  2519. null, //corrreplwith
  2520. null, //separator
  2521. null,
  2522. null,
  2523. null,
  2524. null,
  2525. null,
  2526. null,
  2527. k2sBulkCheck //function delegate
  2528. )
  2529. }
  2530. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2531. {
  2532. addHost(
  2533. "tezfiles",
  2534. "(?:tezfiles\\.com)\/\\w+",
  2535. "//a[contains(@href,'tezfiles.com')]",
  2536. 100000, //blocksize
  2537. null, //corrmatch
  2538. null, //corrreplwhat
  2539. null, //corrreplwith
  2540. null, //separator
  2541. null,
  2542. null,
  2543. null,
  2544. null,
  2545. null,
  2546. null,
  2547. k2sBulkCheck //function delegate
  2548. )
  2549. }
  2550. if (GM_getValue("Check_fboom_dot_me_links", false))
  2551. {
  2552. addHost(
  2553. "fboom,fileboom",
  2554. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2555. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2556. 100000, //blocksize
  2557. null, //corrmatch
  2558. null, //corrreplwhat
  2559. null, //corrreplwith
  2560. null, //separator
  2561. null,
  2562. null,
  2563. null,
  2564. null,
  2565. null,
  2566. null,
  2567. fboomBulkCheck //function delegate
  2568. )
  2569. }
  2570. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2571. {
  2572. addHost(
  2573. "1fichier,dl4free",
  2574. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2575. "//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/?')]",
  2576. 100000, //blocksize
  2577. null, //corrmatch
  2578. null, //corrreplwhat
  2579. null, //corrreplwith
  2580. null, //separator
  2581. null,
  2582. null,
  2583. null,
  2584. null,
  2585. null,
  2586. null,
  2587. dl4free_1fichier_BulkCheck //function delegate
  2588. )
  2589. }
  2590. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2591. {
  2592. addHost(
  2593. "nitroflare",
  2594. "nitroflare\\.com\/\\w+",
  2595. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2596. 100000, //blocksize
  2597. null, //corrmatch
  2598. null, //corrreplwhat
  2599. null, //corrreplwith
  2600. null, //separator
  2601. null,
  2602. null,
  2603. null,
  2604. null,
  2605. null,
  2606. null,
  2607. nitroflareBulkCheck //function delegate
  2608. )
  2609. }
  2610. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2611. {
  2612. addHost(
  2613. "depositfiles,dfiles",
  2614. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2615. "//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/')]",
  2616. 100000, //blocksize
  2617. null, //corrmatch
  2618. null, //corrreplwhat
  2619. null, //corrreplwith
  2620. null, //separator
  2621. null,
  2622. null,
  2623. null,
  2624. null,
  2625. null,
  2626. null,
  2627. depositfilesBulkCheck //function delegate
  2628. )
  2629. }
  2630. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2631. {
  2632. addHost(
  2633. "filesflash", //hostname
  2634. "filesflash\\.com\/\\w+", //linkregex
  2635. "//a[contains(@href,'filesflash.com')]", //xpath
  2636. null, //blocksize
  2637. null, //corrmatch
  2638. /http:\/\//, //corrreplwhat
  2639. '', //corrreplwith
  2640. null, //separator
  2641. 'http://filesflash.com/checklinks.php',
  2642. 'submit=Go&links=',
  2643. /filesflash\.com\/(\w+)/,
  2644. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2645. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2646. null,
  2647. null //function delegate
  2648. )
  2649. }
  2650. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2651. {
  2652. addHost(
  2653. "jumbofiles", //hostname
  2654. "jumbofiles\\.com\/\\w+", //linkregex
  2655. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2656. null, //blocksize
  2657. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2658. null, //corrreplwhat
  2659. null, //corrreplwith
  2660. null, //separator
  2661. "http://jumbofiles.com/checkfiles.html", //api url
  2662. "op=checkfiles&process=Check+URLs&list=", //postdata
  2663. /(jumbofiles\.com\/\w+)/, //linkregex
  2664. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2665. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2666. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2667. null //function delegate
  2668. )
  2669. }
  2670. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2671. {
  2672. addHost(
  2673. "edisk", //hostname
  2674. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2675. "//a[contains(@href,'edisk.')]", //xpath
  2676. null, //blocksize
  2677. null, //corrmatch
  2678. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2679. 'edisk.cz/stahni', //corrreplwith
  2680. null, //separator
  2681. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2682. 'submitBtn=Zkontrolovat&checkFiles=',
  2683. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2684. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2685. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2686. null,
  2687. null //function delegate
  2688. )
  2689. }
  2690. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2691. {
  2692. GM_xmlhttpRequest( //age check skip
  2693. {
  2694. method: 'POST',
  2695. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2696. headers: {
  2697. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2698. 'Content-type': 'application/x-www-form-urlencoded',
  2699. 'Referer': ""
  2700. }
  2701. });
  2702. addHost(
  2703. "bezvadata", //hostname
  2704. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2705. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2706. null, //blocksize
  2707. null, //corrmatch
  2708. null, //corrreplwhat
  2709. null, //corrreplwith
  2710. null, //separator
  2711. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2712. 'zkontrolovat=Zkontrolovat&odkazy=',
  2713. /(bezvadata\.cz\/stahnout\/\d+)/,
  2714. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2715. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2716. null,
  2717. null //function delegate
  2718. )
  2719. }
  2720. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2721. {
  2722. addHost(
  2723. "linkcrypt", //hostname
  2724. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2725. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2726. 100000, //blocksize
  2727. null, //corrmatch
  2728. null, //corrreplwhat
  2729. null, //corrreplwith
  2730. null, //separator
  2731. null,
  2732. null,
  2733. null,
  2734. null,
  2735. null,
  2736. null,
  2737. linkcryptBulkCheck //function delegate
  2738. )
  2739. }
  2740. /* if (GM_getValue("Check_linksave_dot_in_links", false))
  2741. {
  2742. addHost(
  2743. "linksave", //hostname
  2744. "linksave\\.in\/\\w+", //linkregex
  2745. "//a[contains(@href,'linksave.in')]", //xpath
  2746. 100000, //blocksize
  2747. null, //corrmatch
  2748. null, //corrreplwhat
  2749. null, //corrreplwith
  2750. null, //separator
  2751. null,
  2752. null,
  2753. null,
  2754. null,
  2755. null,
  2756. null,
  2757. linksaveBulkCheck //function delegate
  2758. )
  2759. } */
  2760. if (GM_getValue("Check_videobb_dot_com_links", false))
  2761. {
  2762. addHost(
  2763. "videobb", //hostname
  2764. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2765. "//a[contains(@href,'videobb.com')]", //xpath
  2766. null, //blocksize
  2767. null, //corrmatch
  2768. /watch_video\.php\?v=/, //corrreplwhat
  2769. 'video/', //corrreplwith
  2770. null, //separator
  2771. 'http://www.videobb.com/link_checker.php',
  2772. 'links=',
  2773. /videobb\.com\/video\/(\w+)/,
  2774. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2775. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2776. null,
  2777. null //function delegate
  2778. )
  2779. }
  2780. /* if (GM_getValue("Check_cramit_dot_in_links", false))
  2781. {
  2782. addHost(
  2783. "cramit,cramitin", //hostname
  2784. "cramit(?:\\.in|in\\.net)\/", //linkregex
  2785. "//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]", //xpath
  2786. null, //blocksize
  2787. null, //corrmatch
  2788. null, //corrreplwhat
  2789. null, //corrreplwith
  2790. null, //separator
  2791. 'http://cramit.in/checkfiles.html',
  2792. 'op=checkfiles&process=CHECK+URL%27S&list=',
  2793. /(cramit(?:\.in|in\.net)\/\w+)/,
  2794. /green>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2795. /red'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2796. /orange'>http:\/\/(?:www\.|)cramit(?:\.in|in\.net)\/\w+/g,
  2797. null //function delegate
  2798. )
  2799. }
  2800. if (GM_getValue("Check_turbobit_dot_net_links", false))
  2801. {
  2802. addHost(
  2803. "turbobit", //hostname
  2804. "turbobit\\.(?:net|pl)\/(?:\\w+\/|).+?\\.html", //linkregex
  2805. "//a[contains(@href,'turbobit.')]", //xpath
  2806. null, //blocksize
  2807. /(turbobit\.(?:net|pl)\/(?:\w+\/|).+?\.html)/, //corrmatch
  2808. null, //corrreplwhat
  2809. null, //corrreplwith
  2810. "\n", //separator
  2811. 'http://turbobit.net/linkchecker/csv',
  2812. 'links_to_check=',
  2813. /(turbobit\.(?:net|pl)\/\w+)/,
  2814. /turbobit\.(?:net|pl)\/.*?, 1/g,
  2815. /turbobit\.(?:net|pl)\/.*?, 0/g,
  2816. null,
  2817. null //function delegate
  2818. )
  2819. } */
  2820. if (GM_getValue("Check_filerio_dot_com_links", false))
  2821. {
  2822. addHost(
  2823. "filekeen,filerio", //hostname
  2824. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2825. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2826. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2827. null, //blocksize
  2828. null, //corrmatch
  2829. null, //corrreplwhat
  2830. null, //corrreplwith
  2831. null, //separator
  2832. 'http://filerio.in/checkfiles.html',
  2833. 'op=checkfiles&process=Check+URLs&list=',
  2834. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2835. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2836. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2837. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2838. null //function delegate
  2839. )
  2840. }
  2841. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2842. {
  2843. addHost(
  2844. "share-online,egoshare", //hostname
  2845. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2846. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2847. null, //blocksize
  2848. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2849. null, //corrreplwhat
  2850. null, //corrreplwith
  2851. "\n", //separator
  2852. 'http://api.share-online.biz/linkcheck.php',
  2853. 'links=',
  2854. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2855. /\w+;OK/g,
  2856. /\w+;(?:NOTFOUND|DELETED)/g,
  2857. null,
  2858. null //function delegate
  2859. )
  2860. }
  2861. /* if (GM_getValue("Check_quickshare_dot_cz_links", false))
  2862. {
  2863. addHost(
  2864. "quickshare", //hostname
  2865. "quickshare\\.cz\/stahnout-soubor\/\\d+", //linkregex
  2866. "//a[contains(@href,'quickshare.cz')]", //xpath
  2867. null, //blocksize
  2868. null, //corrmatch
  2869. null, //corrreplwhat
  2870. null, //corrreplwith
  2871. null, //separator
  2872. 'http://www.quickshare.cz/nastroje/link-checker',
  2873. 'linky=',
  2874. /quickshare\.cz\/stahnout-soubor\/(\d+(?::\w+)?)/,
  2875. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/a><\/td><td><img src="\/img\/ok\.gif/g,
  2876. /quickshare\.cz\/stahnout-soubor\/\d+(?::[\w\-.+$!*\/()\[\]\',~%?:@#&=\\]+)?\s*<\/td><td><img src="\/img\/nenalezeno\.gif/g,
  2877. null,
  2878. null //function delegate
  2879. )
  2880. } */
  2881. if (GM_getValue("Check_oboom_dot_com_links", false))
  2882. {
  2883. addHost(
  2884. "oboom", //hostname
  2885. "oboom\\.com\/#?\\w{8}", //linkregex
  2886. "//a[contains(@href,'oboom.com/')]", //xpath
  2887. null, //blocksize
  2888. /oboom\.com\/#?(\w{8})/, //corrmatch
  2889. null, //corrreplwhat
  2890. null, //corrreplwith
  2891. null, //separator
  2892. null,
  2893. null,
  2894. null,
  2895. null, //liveregex
  2896. null, //deadregex
  2897. null,
  2898. oboomBulk //function delegate
  2899. )
  2900. }
  2901. if (GM_getValue("Check_mega_dot_nz_links", false))
  2902. {
  2903. addHost(
  2904. "mega",
  2905. "mega(?:\\.co)?\\.nz\/#!\\w+",
  2906. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2907. 100000, //blocksize
  2908. null, //corrmatch
  2909. null, //corrreplwhat
  2910. null, //corrreplwith
  2911. null, //separator
  2912. null,
  2913. null,
  2914. null,
  2915. null,
  2916. null,
  2917. null,
  2918. megaBulkCheck //function delegate
  2919. )
  2920. }
  2921.  
  2922. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2923.  
  2924. if (GM_getValue("Check_extabit_dot_com_links", false))
  2925. {
  2926. addHost(
  2927. "extabit", //hostname
  2928. "extabit\\.com\/file\/\\w+", //linkregex
  2929. "//a[contains(@href,'extabit.com')]", //xpath
  2930. null, //blocksize
  2931. null, //corrmatch
  2932. null, //corrreplwhat
  2933. null, //corrreplwith
  2934. "\n", //separator
  2935. "http://extabit.com/linkchecker.jsp", //api url
  2936. "url=", //postdata
  2937. /extabit\.com\/(file\/\w+)/, //linkregex
  2938. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2939. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2940. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2941. extabitBulkCheck //function delegate
  2942. )
  2943. }
  2944. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2945. {
  2946. addHost(
  2947. "junocloud", //hostname
  2948. "junocloud\\.me\/\\w+", //linkregex
  2949. "//a[contains(@href,'junocloud.me')]", //xpath
  2950. null, //blocksize
  2951. null, //corrmatch
  2952. null, //corrreplwhat
  2953. null, //corrreplwith
  2954. "\n", //separator
  2955. "http://junocloud.me/checkfiles.html", //api url
  2956. "op=checkfiles&process=Check+URLs&list=", //postdata
  2957. /(junocloud\.me\/\w+)/, //linkregex
  2958. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2959. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2960. null, //unavaregex
  2961. null //function delegate
  2962. )
  2963. }
  2964. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2965. {
  2966. addHost(
  2967. "webshare", //hostname
  2968. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2969. "//a[contains(@href,'webshare.cz')]", //xpath
  2970. 100000, //blocksize
  2971. null, //corrmatch
  2972. null, //corrreplwhat
  2973. null, //corrreplwith
  2974. null, //separator
  2975. null, //api url
  2976. null, //postdata
  2977. null, //linkregex
  2978. null, //liveregex
  2979. null, //deadregex
  2980. null, //unavaregex
  2981. webshareBulkCheck //function delegate
  2982. )
  2983. }
  2984. /////////////////////////////
  2985. // Common function delegate to send links to get checked by host linkchecker
  2986. /////////////////////////////
  2987. // If you define a new delegate, you may use following properties
  2988. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2989. // this.apiUrl [string] API or web linkchecker URL
  2990. // this.postData [string] POSTDATA for POST request
  2991. // this.resLiveRegex [regex] matches live substrings in the request response
  2992. // this.resDeadRegex [regex] matches dead substrings in the request response
  2993. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2994. //
  2995. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2996. //
  2997. // See the code below for standard bulkcheck handling reference.
  2998. //////////////////////////////
  2999. function genBulkCheck()
  3000. {
  3001. var blockIdx = this.links.length;
  3002. while (blockIdx--)
  3003. {
  3004. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3005. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3006. }
  3007. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3008. {
  3009. GM_xmlhttpRequest(
  3010. {
  3011. method: 'POST',
  3012. url: api,
  3013. headers: {
  3014. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3015. 'Content-type': 'application/x-www-form-urlencoded',
  3016. 'Referer': api,
  3017. 'X-Requested-With': 'XMLHttpRequest'
  3018. },
  3019. data: postData + encodeURIComponent(links),
  3020. onload: function (result)
  3021. {
  3022. var res = result.responseText;
  3023. // GM_log(res);
  3024. var i;
  3025.  
  3026. var livelinks = res.match(liveRegex);
  3027. var deadlinks = res.match(deadRegex);
  3028. // GM_log(livelinks);
  3029. // GM_log(deadlinks);
  3030. if (livelinks != null)
  3031. {
  3032. i = livelinks.length - 1;
  3033. do
  3034. {
  3035. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3036. }
  3037. while (i--);
  3038. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3039. }
  3040.  
  3041. if (deadlinks != null)
  3042. {
  3043. i = deadlinks.length - 1;
  3044. do
  3045. {
  3046. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3047. }
  3048. while (i--);
  3049. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3050. }
  3051.  
  3052. if (unavaRegex != null)
  3053. {
  3054. var unavalinks = res.match(unavaRegex);
  3055. if (unavalinks)
  3056. {
  3057. i = unavalinks.length - 1;
  3058. do
  3059. {
  3060. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3061. }
  3062. while (i--);
  3063. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3064. }
  3065. }
  3066. }
  3067. });
  3068. }
  3069. }
  3070. //specialized bulkchecking handlers follow
  3071. function webshareBulkCheck()
  3072. {
  3073. var arr = this.links[0].split("\r\n");
  3074. var i = arr.length;
  3075. while(i--)
  3076. {
  3077. postRequest(arr[i]);
  3078. }
  3079. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3080. function postRequest(wsLink)
  3081. {
  3082. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3083. GM_xmlhttpRequest(
  3084. {
  3085. method: 'POST',
  3086. url: "http://webshare.cz/api/file_info/",
  3087. headers: {
  3088. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3089. 'Content-type': 'application/x-www-form-urlencoded',
  3090. 'Referer': "",
  3091. },
  3092. data: "wst=&ident=" + id,
  3093. onload: function (result)
  3094. {
  3095. var res = result.responseText;
  3096. if (res.match(/<name>.+?<\/name>/))
  3097. {
  3098. DisplayTheCheckedLinks([id], 'alive_link');
  3099. }
  3100. else
  3101. {
  3102. DisplayTheCheckedLinks([id], 'adead_link');
  3103. }
  3104. }
  3105. });
  3106. }
  3107. }
  3108. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3109. //extabit also doesn't like requests in fast succession, so some delays are added.
  3110. function extabitBulkCheck()
  3111. {
  3112. var timeoutDelay = 0;
  3113. var blockIdx = this.links.length;
  3114. while (blockIdx--)
  3115. {
  3116. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3117. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3118. }
  3119. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3120. {
  3121. GM_xmlhttpRequest(
  3122. {
  3123. method: 'POST',
  3124. url: api,
  3125. headers: {
  3126. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3127. 'Content-type': 'application/x-www-form-urlencoded',
  3128. 'Referer': api,
  3129. 'X-Requested-With': 'XMLHttpRequest'
  3130. },
  3131. data: postData + encodeURIComponent(links),
  3132. onload: function (result)
  3133. {
  3134. var res = result.responseText;
  3135. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3136. {
  3137. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3138. {
  3139. //GM_log(tryID + ': ' + link);
  3140. GM_xmlhttpRequest(
  3141. {
  3142. method: 'GET',
  3143. url: link,
  3144. 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': ""},
  3145. onload: function(result2)
  3146. {
  3147. var res2 = result2.responseText;
  3148. var res2Status = result.status;
  3149. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3150. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3151. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3152. {
  3153. if (tryID < 7)
  3154. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3155. else
  3156. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3157. }
  3158. }
  3159. });
  3160. }
  3161. //split the hrefs and check them one by one
  3162. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3163. links = links.split('\n');
  3164. var i = links.length;
  3165. while (i--)
  3166. {
  3167. if (links[i])
  3168. {
  3169. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3170. timeoutDelay += 500;
  3171. }
  3172. }
  3173. return;
  3174. }
  3175. var i;
  3176.  
  3177. var livelinks = res.match(liveRegex);
  3178. var deadlinks = res.match(deadRegex);
  3179. if (livelinks != null)
  3180. {
  3181. i = livelinks.length - 1;
  3182. do
  3183. {
  3184. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3185. }
  3186. while (i--);
  3187. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3188. }
  3189.  
  3190. if (deadlinks != null)
  3191. {
  3192. i = deadlinks.length - 1;
  3193. do
  3194. {
  3195. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3196. }
  3197. while (i--);
  3198. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3199. }
  3200.  
  3201. if (unavaRegex != null)
  3202. {
  3203. var unavalinks = res.match(unavaRegex);
  3204. if (unavalinks)
  3205. {
  3206. i = unavalinks.length - 1;
  3207. do
  3208. {
  3209. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3210. }
  3211. while (i--);
  3212. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3213. }
  3214. }
  3215. }
  3216. });
  3217. }
  3218. }
  3219. function k2sBulkCheck()
  3220. {
  3221. var arr = this.links[0].split("\r\n");
  3222. var i = arr.length;
  3223. c=0;
  3224. arrIDs=[];
  3225. while(i--)
  3226. {
  3227. id = arr[i].match(/\/file\/(\w+)/)[1];
  3228. if (id=='info')
  3229. {
  3230. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3231. continue;
  3232. }
  3233. k2salreadyexist=false;
  3234. for (j=0;j<arrIDs.length;j++)
  3235. {
  3236. if (arrIDs[j]==id)
  3237. {
  3238. k2salreadyexist=true;
  3239. break;
  3240. }
  3241. }
  3242. if (k2salreadyexist) continue;
  3243. arrIDs.push(id);
  3244. c++;
  3245. setTimeout(k2sRequest,c*500,arr[i]);
  3246. }
  3247. }
  3248. function k2sRequest(K2SLink)
  3249. {
  3250. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3251. GM_xmlhttpRequest(
  3252. {
  3253. method: 'GET',
  3254. url: K2SLink,
  3255. headers: {
  3256. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3257. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3258. 'Referer': ''
  3259. },
  3260. onload: function (result)
  3261. {
  3262. var res = result.responseText;
  3263. K2Dom='k2s.cc';
  3264. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3265. K2SLink2='http://'+K2Dom+'/file/'+id;
  3266.  
  3267. 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'))
  3268. {
  3269. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3270. return;
  3271. }
  3272. if (res.match('method="post">Displaying'))
  3273. {
  3274. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3275. return;
  3276. }
  3277. if (res.match('Premium only'))
  3278. {
  3279. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3280. return;
  3281. }
  3282. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3283. {
  3284. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3285. slID=slow_id.exec(res)[1];
  3286. GM_xmlhttpRequest(
  3287. {
  3288. method: 'POST',
  3289. url: K2SLink2,
  3290. headers: {
  3291. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3292. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3293. 'Content-Type': 'application/x-www-form-urlencoded',
  3294. 'Referer': K2SLink
  3295. },
  3296. data: 'slow_id='+slID+'&yt0=',
  3297. onload: function (result)
  3298. {
  3299. var newres = result.responseText;
  3300. newoversizedtest=new RegExp("Free user can't download large files.");
  3301. if (newoversizedtest.test(newres))
  3302. {
  3303. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3304. return;
  3305. }
  3306. else
  3307. {
  3308. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3309. return;
  3310. }
  3311. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3312. return;
  3313. }
  3314. });
  3315. /////////////////////end additional check for oversized links
  3316. return;
  3317. }
  3318. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3319. return;
  3320. },
  3321. onerror: function ()
  3322. {
  3323. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3324. return;
  3325. }
  3326. });
  3327. }
  3328. function fboomBulkCheck()
  3329. {
  3330. var arr = this.links[0].split("\r\n");
  3331. var i = arr.length;
  3332. c=0;
  3333. arrIDs=[];
  3334. while(i--)
  3335. {
  3336. id = arr[i].match(/\/file\/(\w+)/)[1];
  3337. if (id=='info')
  3338. {
  3339. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3340. continue;
  3341. }
  3342. fbalreadyexist=false;
  3343. for (j=0;j<arrIDs.length;j++)
  3344. {
  3345. if (arrIDs[j]==id)
  3346. {
  3347. fbalreadyexist=true;
  3348. break;
  3349. }
  3350. }
  3351. if (fbalreadyexist) continue;
  3352. arrIDs.push(id);
  3353. c++;
  3354. setTimeout(fboomRequest,c*500,arr[i]);
  3355. }
  3356. }
  3357. function fboomRequest(FBoomLink)
  3358. {
  3359. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3360. FBoomLink2='http://fboom.me/file/'+id;
  3361. GM_xmlhttpRequest(
  3362. {
  3363. method: 'GET',
  3364. url: FBoomLink,
  3365. headers: {
  3366. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3367. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3368. 'Referer': ''
  3369. },
  3370. onload: function (result)
  3371. {
  3372. var res = result.responseText;
  3373. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3374. {
  3375. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3376. return;
  3377. }
  3378. if (res.match('method="post">Displaying'))
  3379. {
  3380. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3381. return;
  3382. }
  3383. if (res.match('only for premium members'))
  3384. {
  3385. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3386. return;
  3387. }
  3388. if (res.match('id="download-free" href="#"'))
  3389. {
  3390. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3391. slID=slow_id.exec(res)[1];
  3392. GM_xmlhttpRequest(
  3393. {
  3394. method: 'POST',
  3395. url: FBoomLink2,
  3396. headers: {
  3397. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3398. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3399. 'Content-Type': 'application/x-www-form-urlencoded',
  3400. 'Referer': FBoomLink
  3401. },
  3402. data: 'slow_id='+slID,
  3403. onload: function (result)
  3404. {
  3405. var newres = result.responseText;
  3406. newoversizedtest=new RegExp("Downloading is not possible");
  3407. if (newoversizedtest.test(newres))
  3408. {
  3409. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3410. return;
  3411. }
  3412. else
  3413. {
  3414. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3415. return;
  3416. }
  3417. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3418. return;
  3419. }
  3420. });
  3421. /////////////////////end additional check for oversized links
  3422. return;
  3423. }
  3424. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3425. return;
  3426. },
  3427. onerror: function ()
  3428. {
  3429. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3430. return;
  3431. }
  3432. });
  3433. }
  3434. function dl4free_1fichier_BulkCheck()
  3435. {
  3436. var arr = this.links[0].split("\r\n");
  3437. var i = arr.length;
  3438. while(i--)
  3439. {
  3440. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3441. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3442. gethead_dl4free_1fichier(arr[i]);
  3443. }
  3444. }
  3445. function gethead_dl4free_1fichier(link)
  3446. {
  3447. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3448. GM_xmlhttpRequest(
  3449. {
  3450. method: 'HEAD',
  3451. url: link,
  3452. headers: {
  3453. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3454. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3455. 'Referer': ''
  3456. },
  3457. onload: function (result)
  3458. {
  3459. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3460. {
  3461. DisplayTheCheckedLinks([id], 'alive_link');
  3462. return;
  3463. }
  3464. else
  3465. {
  3466. getlink_dl4free_1fichier(link);
  3467. }
  3468. return;
  3469. },
  3470. onerror: function ()
  3471. {
  3472. DisplayTheCheckedLinks([id], 'unava_link');
  3473. }
  3474. });
  3475. }
  3476. function getlink_dl4free_1fichier(link)
  3477. {
  3478. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3479. GM_xmlhttpRequest(
  3480. {
  3481. method: 'GET',
  3482. url: link,
  3483. headers: {
  3484. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3485. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3486. 'Referer': ''
  3487. },
  3488. onload: function (result)
  3489. {
  3490. var res = result.responseText;
  3491. 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');
  3492. if (deadRegex.test(res))
  3493. {
  3494. DisplayTheCheckedLinks([id], 'adead_link');
  3495. return;
  3496. }
  3497. premiumRegex=new RegExp('only for premium users');
  3498. if (premiumRegex.test(res))
  3499. {
  3500. DisplayTheCheckedLinks([id], 'prem_link');
  3501. return;
  3502. }
  3503. 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="');
  3504. if (liveRegex.test(res))
  3505. {
  3506. DisplayTheCheckedLinks([id], 'alive_link');
  3507. return;
  3508. }
  3509. DisplayTheCheckedLinks([id], 'unava_link');
  3510. },
  3511. onerror: function ()
  3512. {
  3513. DisplayTheCheckedLinks([id], 'unava_link');
  3514. }
  3515. });
  3516. }
  3517. function nitroflareBulkCheck()
  3518. {
  3519. var arr = this.links[0].split("\r\n");
  3520. var i = arr.length;
  3521. while(i--)
  3522. {
  3523. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3524. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3525. NitroFlareRequest(arr[i]);
  3526. }
  3527. }
  3528. function NitroFlareRequest(NFLink)
  3529. {
  3530. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3531. GM_xmlhttpRequest(
  3532. {
  3533. method: "GET",
  3534. url: NFLink,
  3535. headers: {
  3536. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3537. 'Content-Type': 'application/x-www-form-urlencoded',
  3538. 'Referer': ""
  3539. },
  3540. onload: function (result)
  3541. {
  3542. var res = result.responseText;
  3543. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3544. {
  3545. DisplayTheCheckedLinks([NFID], 'adead_link');
  3546. return;
  3547. }
  3548. if (res.match('Report this file<\/a>'))
  3549. {
  3550. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3551. sizearr=measureRegex.exec(res);
  3552. if (sizearr[2]=='GB')
  3553. {
  3554. if (parseFloat(sizearr[1])>1)
  3555. {
  3556. DisplayTheCheckedLinks([NFID], 'prem_link');
  3557. }
  3558. else
  3559. {
  3560. DisplayTheCheckedLinks([NFID], 'alive_link');
  3561. }
  3562. }
  3563. else
  3564. {
  3565. DisplayTheCheckedLinks([NFID], 'alive_link');
  3566. }
  3567. return;
  3568. }
  3569. DisplayTheCheckedLinks([NFID], 'unava_link');
  3570. }
  3571. });
  3572. }
  3573. function depositfilesBulkCheck()
  3574. {
  3575. var arr = this.links[0].split("\r\n");
  3576. var i = arr.length;
  3577. var seqno = Math.floor(Math.random()*1000000000);
  3578. while(i--)
  3579. {
  3580. DFpostRequest(arr[i]);
  3581. }
  3582. }
  3583. function DFpostRequest(DFLink)
  3584. {
  3585. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3586. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3587. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3588. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3589. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3590. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3591. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3592. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3593. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3594. GM_xmlhttpRequest(
  3595. {
  3596. method: "GET",
  3597. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3598. headers: {
  3599. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3600. 'Content-Type': 'application/x-www-form-urlencoded',
  3601. 'Referer': ""
  3602. },
  3603. onload: function (result)
  3604. {
  3605. var res = result.responseText;
  3606. if (res.match('(?:no_file|file_ban)'))
  3607. {
  3608. DisplayTheCheckedLinks([id], 'adead_link');
  3609. return;
  3610. }
  3611. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3612. {
  3613. DisplayTheCheckedLinks([id], 'alive_link');
  3614. return;
  3615. }
  3616. DisplayTheCheckedLinks([id], 'unava_link');
  3617. }
  3618. });
  3619. }
  3620.  
  3621. function megaBulkCheck()
  3622. {
  3623. var arr = this.links[0].split("\r\n");
  3624. var i = arr.length;
  3625. var seqno = Math.floor(Math.random()*1000000000);
  3626. while(i--)
  3627. {
  3628. postRequest(arr[i]);
  3629. }
  3630. function postRequest(megaLink)
  3631. {
  3632. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3633. var id = megaLink.match(/mega\.co\.nz\/#!(\w+)(?:!\w+)?/)[1];
  3634. GM_xmlhttpRequest(
  3635. {
  3636. method: "POST",
  3637. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3638. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3639. headers: {
  3640. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3641. 'Content-Type': 'application/xml',
  3642. 'Referer': "https://mega.co.nz/"
  3643. },
  3644. onload: function (result)
  3645. {
  3646. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3647. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3648. {
  3649.  
  3650. DisplayTheCheckedLinks([id], 'adead_link');
  3651. }
  3652. if (res.at)
  3653. {
  3654. DisplayTheCheckedLinks([id], 'alive_link');
  3655. }
  3656. if (res.e == "ETEMPUNAVAIL")
  3657. {
  3658. DisplayTheCheckedLinks([id], 'unava_link');
  3659. }
  3660. }
  3661. });
  3662. }
  3663.  
  3664. }
  3665.  
  3666. function oboomBulk() {
  3667. var a = [], b = [], c = [];
  3668. var array = this.links;
  3669.  
  3670. GM_xmlhttpRequest({
  3671. method: 'GET',
  3672. url: 'https://www.oboom.com/1/guestsession',
  3673. headers: {
  3674. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3675. 'Content-type': 'application/x-www-form-urlencoded',
  3676. 'Referer': 'https://www.oboom.com',
  3677. 'X-Requested-With': 'XMLHttpRequest'
  3678. },
  3679. onload: function(result) {
  3680. var blockIdx = array.length;
  3681. var token = JSON.parse(result.responseText)[1];
  3682. while (blockIdx--) {
  3683. startCheck(array[blockIdx].split('\r\n'), token);
  3684. }
  3685. }
  3686. });
  3687.  
  3688. function startCheck(links, token) {
  3689. GM_xmlhttpRequest({
  3690. method: 'POST',
  3691. url: "https://api.oboom.com/1/info",
  3692. headers: {
  3693. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3694. 'Content-type': 'application/x-www-form-urlencoded',
  3695. 'Referer': 'https://www.oboom.com/',
  3696. 'X-Requested-With': 'XMLHttpRequest'
  3697. },
  3698. data: "token=" + token + "&items=" + links.join(","),
  3699. onload: function(result) {
  3700. var res = JSON.parse(result.responseText)[1];
  3701. var i = res.length, s;
  3702.  
  3703. while (i--) {
  3704. s = res[i].state;
  3705. if (s == 'online') a.push(res[i].id);
  3706. 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);
  3707. else c.push(res[i].id);
  3708. }
  3709.  
  3710. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3711. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3712. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3713. }
  3714. });
  3715. }
  3716. }
  3717. /* function linksaveBulkCheck()
  3718. {
  3719. var arr = this.links[0].split("\r\n");
  3720. var i = arr.length;
  3721. while(i--)
  3722. {
  3723. postRequest(arr[i]);
  3724. }
  3725. function postRequest(lsLink)
  3726. {
  3727. GM_xmlhttpRequest(
  3728. {
  3729. method: "GET",
  3730. url: lsLink + '-t.jpg',
  3731. headers: {
  3732. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3733. 'Accept': 'text/xml',
  3734. 'Referer': ""
  3735. },
  3736. onload: function (result)
  3737. {
  3738. var imgLen = result.responseHeaders.match(/Content-Length: (\d+)/)[1];
  3739. if (imgLen == 965) //online
  3740. {
  3741. DisplayTheCheckedLinks([lsLink], 'alive_link');
  3742. }
  3743.  
  3744. if (imgLen == 972) //offline
  3745. {
  3746. DisplayTheCheckedLinks([lsLink], 'adead_link');
  3747. }
  3748. if (imgLen == 978) //unava
  3749. {
  3750. DisplayTheCheckedLinks([lsLink], 'unava_link');
  3751. }
  3752. }
  3753. });
  3754. }
  3755.  
  3756. } */
  3757. function linkcryptBulkCheck()
  3758. {
  3759. var arr = this.links[0].split("\r\n");
  3760. var i = arr.length;
  3761. while(i--)
  3762. {
  3763. postRequest(arr[i]);
  3764. }
  3765. function postRequest(lcLink)
  3766. {
  3767. GM_xmlhttpRequest(
  3768. {
  3769. method: "GET",
  3770. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3771. headers: {
  3772. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3773. 'Accept': 'text/xml',
  3774. 'Referer': ""
  3775. },
  3776. onload: function (result)
  3777. {
  3778. var res = result.responseText;
  3779. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3780. {
  3781. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3782. return;
  3783. }
  3784. if (res.match(/folderStatus>1/)) //Online status
  3785. {
  3786. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3787. }
  3788. else
  3789. {
  3790. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3791. }
  3792. }
  3793. });
  3794. }
  3795. }
  3796.  
  3797. function megashareBulkCheck()
  3798. {
  3799. var arr = this.links[0].split("\r\n");
  3800. var i = arr.length;
  3801. while(i--)
  3802. {
  3803. postRequest(arr[i]);
  3804. }
  3805. function postRequest(msLink)
  3806. {
  3807. GM_xmlhttpRequest(
  3808. {
  3809. method: "GET",
  3810. url: msLink,
  3811. headers: {
  3812. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3813. 'Content-Type': 'application/x-www-form-urlencoded',
  3814. 'Referer': ""
  3815. },
  3816. onload: function (result)
  3817. {
  3818. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3819. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3820. if ((prZVal == null) || (btn3Name == null))
  3821. {
  3822. return;
  3823. }
  3824. GM_xmlhttpRequest(
  3825. {
  3826. method: "POST",
  3827. url: msLink,
  3828. headers: {
  3829. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3830. 'Content-Type': 'application/x-www-form-urlencoded',
  3831. 'Referer': ""
  3832. },
  3833. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3834. onload: function (result)
  3835. {
  3836. var res = result.responseText;
  3837. if (res.match(/<div id="err">/))
  3838. {
  3839. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3840. }
  3841. else
  3842. {
  3843. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3844. }
  3845. }
  3846. });
  3847. }
  3848. });
  3849. }
  3850. }
  3851. function ncryptBulkCheck()
  3852. {
  3853. var arr = this.links[0].split("\r\n");
  3854. var i = arr.length;
  3855. while(i--)
  3856. {
  3857. postRequest(arr[i]);
  3858. }
  3859. function postRequest(ncryptLink)
  3860. {
  3861. GM_xmlhttpRequest(
  3862. {
  3863. method: "POST",
  3864. url: 'http://ncrypt.in/api_status.php',
  3865. headers: {
  3866. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3867. 'Content-Type': 'application/x-www-form-urlencoded',
  3868. 'Referer': ""
  3869. },
  3870. data: 'link=' + encodeURI(ncryptLink),
  3871. onload: function (result)
  3872. {
  3873. var foldStatus = result.responseText.match(/(?:offline|online);/);
  3874. switch(foldStatus + ""){
  3875. // case "offline;": DisplayTheCheckedLinks([ncryptLink], 'adead_link'); break;
  3876. case "online;": DisplayTheCheckedLinks([ncryptLink], 'alive_link'); break;
  3877. default: DisplayTheCheckedLinks([ncryptLink], 'adead_link'); //unava_link
  3878. }
  3879. }
  3880. });
  3881. }
  3882. }
  3883. function hellshareBulkCheck()
  3884. {
  3885. var links = this.links;
  3886. GM_xmlhttpRequest(
  3887. {
  3888. method: "GET",
  3889. url: 'http://www.hellshare.com',
  3890. headers: {
  3891. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3892. 'Accept': 'text/xml',
  3893. 'Referer': ""
  3894. },
  3895. onload: function (result)
  3896. {
  3897. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3898.  
  3899. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3900. if (domain == 'sk')
  3901. loc = 'check=Skontrolova%C5%A5&links=';
  3902. if (domain == 'com')
  3903. loc = 'check=Check+availability&links=';
  3904. if (domain == 'hu')
  3905. loc = 'check=Kontrol%C3%A1lj&links=';
  3906. if (domain == 'pl')
  3907. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3908.  
  3909. genBulkCheck.call({ links: links,
  3910. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3911. postData: loc,
  3912. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3913. 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,
  3914. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3915. resUnavaRegex: null
  3916. });
  3917. }
  3918. });
  3919. }
  3920. /**
  3921. * Displays check result
  3922. * @param {Array} Array of links or link fragments.
  3923. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3924. */
  3925. function DisplayTheCheckedLinks(links, resultStatus)
  3926. {
  3927. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3928. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3929. if (Do_not_linkify_DL_links)
  3930. { //TODO into separate jQuery function
  3931. $links.replaceWith(function(){
  3932. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3933. });
  3934. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3935. }
  3936. $links.removeClass().addClass(resultStatus);
  3937. $links.each(function() {
  3938. this.href = Ref_anonymize_service + $(this).attr("href");
  3939. });
  3940. switch(resultStatus)
  3941. {
  3942. case "alive_link": cLinksAlive += $links.length;
  3943. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3944. break;
  3945. case "adead_link": cLinksDead += $links.length;
  3946. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3947. break;
  3948. case "prem_link": cLinksprem += $links.length;
  3949. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3950. break;
  3951. case "unava_link": cLinksUnava += $links.length; break;
  3952. default:
  3953. }
  3954. cLinksProcessed += $links.length;
  3955. }
  3956. }
  3957. // starts bulkchecking
  3958. //
  3959. // params
  3960. // filterId [string] restricts link detection with passed id attribute
  3961. function startBulkCheck(filterId)
  3962. {
  3963. var cHosts = bulkHosts.length;
  3964. if (cHosts == 0) //no filehostings selected
  3965. return;
  3966. // STEP 1 linkify the links
  3967. var linkifyRegex = '';
  3968. var hostIdx = cHosts;
  3969. while(hostIdx--)
  3970. {
  3971. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3972. }
  3973. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3974. linkify(linkifyRegex);
  3975. //
  3976. //STEP 2 detect link objects
  3977. var xpathAll = '';
  3978. var hostIdx = cHosts;
  3979. while(hostIdx--)
  3980. {
  3981. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3982. }
  3983. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3984. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3985. if (filterId != null) //insert id restriction in the xpath
  3986. {
  3987. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3988. }
  3989. else
  3990. {
  3991. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3992. }
  3993. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3994. if (filterId == null)
  3995. {
  3996. cLinksTotal += links.snapshotLength;
  3997. }
  3998. //
  3999. //STEP 3 bind links with hostings
  4000. var linkIdx = links.snapshotLength;
  4001. var href = null;
  4002. if (linkIdx == 0) // no links found
  4003. return;
  4004. var name;
  4005. while (linkIdx--)
  4006. {
  4007. href = links.snapshotItem(linkIdx).href;
  4008. try // DO NOT REMOVE, filters crap that went through xpath detection
  4009. {
  4010. name = gimmeHostName(href);
  4011. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  4012. bulkHostNames[name].links.push(href);
  4013. }
  4014. catch(e)
  4015. {
  4016.  
  4017. }
  4018. }
  4019. //
  4020. //STEP 4 process the links for each filehosting
  4021. var hostIdx = cHosts;
  4022. var host;
  4023. var m,n;
  4024. var arr;
  4025. while (hostIdx--)
  4026. {
  4027. host = bulkHosts[hostIdx];
  4028. arr = host.links;
  4029. if (arr.length == 0) //no links for this hosting, skip
  4030. {
  4031. continue;
  4032. }
  4033. //links match corrections
  4034. if (host.corrMatch != null)
  4035. {
  4036. var idx = arr.length;
  4037. while (idx--)
  4038. {
  4039. arr[idx] = arr[idx].match(host.corrMatch)[1];
  4040. }
  4041. }
  4042. //links replace corrections
  4043. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  4044. {
  4045. var idx = arr.length;
  4046. while (idx--)
  4047. {
  4048. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  4049. }
  4050. }
  4051. m = arr.length;
  4052. n = host.blockSize;
  4053. if (m > n)
  4054. {
  4055. //insert block separators (RAND_STRING) into the array
  4056. for(var i = n; i < m; i += n + 1)
  4057. {
  4058. arr.splice(i, 0, RAND_STRING);
  4059. }
  4060. }
  4061.  
  4062. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  4063. apiUrl: host.apiUrl,
  4064. postData: host.postData,
  4065. resLinkRegex: host.resLinkRegex,
  4066. resLiveRegex: host.resLiveRegex,
  4067. resDeadRegex: host.resDeadRegex,
  4068. resUnavaRegex: host.resUnavaRegex
  4069. });
  4070. //clean up
  4071. arr.length = 0;
  4072. }
  4073. //
  4074.  
  4075. function gimmeHostName(link)
  4076. {
  4077. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  4078. }
  4079. }
  4080. function checkLinks(filterId)
  4081. {
  4082. startBulkCheck(filterId);
  4083. start(filterId);
  4084. }
  4085.  
  4086. /**
  4087. * Initialises progress box including event binding and CSS
  4088. */
  4089. function initProgressBox()
  4090. {
  4091. if ($("#warlc-progressbox").length > 0)
  4092. return;
  4093. //progressbox css change size and color of progress box
  4094. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  4095. "; opacity:" + (Progress_box_opacity / 100) +
  4096. "; bottom:" + Progress_box_pos_bottom +
  4097. "px; right:" + Progress_box_pos_right +
  4098. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  4099. \
  4100. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  4101. \
  4102. .warlc-progressitem {}\
  4103. \
  4104. .alive {color:#00FF7F; " + Live_links_color +
  4105. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  4106. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  4107. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  4108. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  4109. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  4110. );
  4111. //
  4112. $('body').append(' <div id="warlc-progressbox">\
  4113. <div class="warlc-progressbar"></div>\
  4114. <span class="warlc-progressitem alive"></span> - \
  4115. <span class="warlc-progressitem dead"></span> - \
  4116. <span class="warlc-progressitem unava"></span> - \
  4117. <span class="warlc-progressitem prem"></span> - \
  4118. <span class="warlc-progressitem processing"></span>\
  4119. </div>');
  4120. $('#warlc-progressbox').hide().click(function(){
  4121. clearInterval(intervalId);
  4122. $(this).hide();
  4123. return false;
  4124. });
  4125. $(".warlc-progressbar").progressbar({complete: function(){
  4126. $(this).fadeOut();
  4127. clearInterval(intervalId); //stop refreshing the stats
  4128. }
  4129. })
  4130. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  4131. }
  4132. /**
  4133. * Updates progress data in progress box
  4134. */
  4135. function updateProgress()
  4136. {
  4137. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4138. if (cLinksTotal) // some links were detected on page
  4139. {
  4140. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4141. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4142. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4143. if ((cLinksTotal - cLinksProcessed) == 0)
  4144. {
  4145. $progressItems.first().text(cLinksAlive)
  4146. .next().text(cLinksDead)
  4147. .next().text(cLinksUnava)
  4148. .next().text(cLinksprem)
  4149. .next().remove();
  4150. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4151. $('#warlc-progressbox div:first-child').remove();
  4152. }
  4153. else
  4154. {
  4155. $progressItems.first().text(cLinksAlive)
  4156. .next().text(cLinksDead)
  4157. .next().text(cLinksUnava)
  4158. .next().text(cLinksprem)
  4159. .next().text(cLinksTotal - cLinksProcessed);
  4160. }
  4161. }
  4162. }
  4163.  
  4164. function check_all_links()
  4165. {
  4166. add_WARLC_style();
  4167.  
  4168. if (Show_progress_stats)
  4169. {
  4170. initProgressBox();
  4171. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4172. }
  4173.  
  4174. startBulkCheck(null);
  4175. start(null);
  4176.  
  4177. if (!containers_processed)
  4178. {
  4179. processContainers();
  4180. }
  4181. }
  4182.  
  4183. //Copies all found dead links to clipboard - right now for Scriptish only
  4184. function copy_dead_to_clipboard()
  4185. {
  4186. initClipBoardTools();
  4187.  
  4188. var deadlinksxpath = "//.[@class='adead_link']";
  4189.  
  4190. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4191. var foundlinkstext = '';
  4192.  
  4193. var foundlinkIdx = foundlinks.snapshotLength;
  4194.  
  4195. while(foundlinkIdx--)
  4196. {
  4197. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4198. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4199. }
  4200.  
  4201. GM_setClipboard(foundlinkstext);
  4202. }
  4203. //Copies all found live links to clipboard
  4204. function copy_live_to_clipboard()
  4205. {
  4206. initClipBoardTools();
  4207.  
  4208. var livelinksxpath = "//.[@class='alive_link']";
  4209.  
  4210. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4211. var foundlinks2text = '';
  4212.  
  4213. var foundlink2Idx = foundlinks2.snapshotLength;
  4214.  
  4215. while(foundlink2Idx--)
  4216. {
  4217. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4218. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4219. }
  4220.  
  4221. GM_setClipboard(foundlinks2text);
  4222. }
  4223.  
  4224. function toggle_autocheck()
  4225. {
  4226. var currentState = GM_getValue("Autocheck", false);
  4227. GM_setValue("Autocheck", !currentState);
  4228.  
  4229. if (currentState == true)
  4230. {
  4231. sendMessage('Autocheck disabled', 'red');
  4232. }
  4233. else
  4234. {
  4235. sendMessage('Autocheck enabled', 'SpringGreen');
  4236. }
  4237. }
  4238. function toggle_Enable_Anonymizer()
  4239. {
  4240. var currentState = GM_getValue("Enable_Anonymizer", false);
  4241. GM_setValue("Enable_Anonymizer", !currentState);
  4242.  
  4243. if (currentState == true)
  4244. {
  4245. GM_setValue("Ref_anonymize_service", "");
  4246. sendMessage('Anonymizer Disabled', 'red');
  4247. }
  4248. else
  4249. {
  4250. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4251. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4252. }
  4253. }
  4254.  
  4255. function KeyDownHandler(event)
  4256. {
  4257. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4258. if (event.ctrlKey && event.altKey)
  4259. {
  4260. switch(kcode)
  4261. {
  4262. case 65 : check_all_links(); break;
  4263. case 67 : configuration(); break;
  4264. case 68 : copy_dead_to_clipboard(); break;
  4265. case 76 : copy_live_to_clipboard(); break;
  4266. case 87 : toggle_autocheck(); break;
  4267. case 90 : toggle_Enable_Anonymizer(); break;
  4268. }
  4269. }
  4270. }
  4271.  
  4272. //
  4273. //
  4274. // SCRIPT EXECUTION START POINT
  4275. //
  4276. //
  4277. // Safari specific GM_getResourceText override
  4278. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4279. {
  4280. GM_getResourceText = function(res) {
  4281. var $cssText = GM_getValue("jquery_css", "");
  4282. if ($cssText == "")
  4283. {
  4284. GM_xmlhttpRequest(
  4285. {
  4286. method: 'GET',
  4287. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4288. onload: function (result)
  4289. {
  4290. GM_setValue("jquery_css", result.responseText);
  4291. window.location.reload();
  4292. }
  4293. });
  4294. }
  4295. else
  4296. {
  4297. return $cssText;
  4298. }
  4299. }
  4300. }
  4301. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4302. GM_addStyle(jQueryUICSS);
  4303. //init the stuff
  4304. setVariables();
  4305. initBulkCheck();
  4306. //init info boxes
  4307. messageBox.style.position = 'fixed';
  4308. messageBox.style.top = '20px';
  4309. messageBox.style.left = '10px';
  4310. messageBox.style.opacity = '0.85';
  4311. messageBox.style.background = 'DimGray';
  4312. messageBox.style.fontSize = '36px';
  4313. document.body.appendChild(messageBox);
  4314.  
  4315. //register GM menu commands & keyboard shortcut event handler
  4316. if (Keyboard_functions)
  4317. {
  4318. $(document).keydown(KeyDownHandler);
  4319. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4320. 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);
  4321. }
  4322. else
  4323. {
  4324. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4325. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4326. }
  4327.  
  4328. //start linkchecking
  4329. if (Autocheck)
  4330. {
  4331. $(document).ready(check_all_links);
  4332. }
  4333.  
  4334. //
  4335. //
  4336. // SCRIPT EXECUTION END POINT
  4337. //
  4338. //
  4339.  
  4340. //shows configuration box
  4341. function configuration()
  4342. {
  4343.  
  4344. //prevent multiple creating of config window
  4345. if ($("#hideshow").length)
  4346. {
  4347. $("#hideshow").show();
  4348. return;
  4349. }
  4350.  
  4351. var configcss = '\
  4352. .popup_block .popup fieldset{\
  4353. padding: 1%;\
  4354. border-style: solid;\
  4355. border-width: 1px;\
  4356. border-color: gray;\
  4357. margin-bottom: 1px;\
  4358. }\
  4359. #h3hideshowtitle{\
  4360. font-size: 2em;\
  4361. }\
  4362. #h3hideshow{\
  4363. font-size: 1.5em;\
  4364. }\
  4365. #imghideshow {\
  4366. border: none;\
  4367. }\
  4368. #plusimage{\
  4369. display:inline;\
  4370. }\
  4371. #hideshow {\
  4372. position: fixed;\
  4373. width: 100%;\
  4374. height: 100%;\
  4375. top: 0;\
  4376. left: 0;\
  4377. font-size:12px;\
  4378. z-index:2147483645;\
  4379. text-align:left;\
  4380. }\
  4381. #fade {\
  4382. background: #000;\
  4383. position: fixed;\
  4384. width: 100%;\
  4385. height: 100%;\
  4386. opacity: .80;\
  4387. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4388. left: 0;\
  4389. z-index: 10;\
  4390. }\
  4391. .popup_block {\
  4392. font-family:verdana;\
  4393. color:black;\
  4394. background: #ddd;\
  4395. padding: 10px 20px;\
  4396. border: 2px solid DarkOrange;\
  4397. float: left;\
  4398. width: 700px;\
  4399. position: absolute;\
  4400. top: 7%;\
  4401. left: 50%;\
  4402. bottom: 7%;\
  4403. margin: 0 0 0 -350px;\
  4404. -moz-border-radius:10px;\
  4405. z-index: 100;\
  4406. \
  4407. }\
  4408. .popup_block .popup {\
  4409. float: left;\
  4410. width: 100%;\
  4411. background: #fff;\
  4412. margin: 10px 0;\
  4413. padding: 0px 0 0px;\
  4414. border-left: 1px solid #bbb;\
  4415. border-top: 1px solid #bbb;\
  4416. border-right: 1px solid #bbb;\
  4417. }\
  4418. #h3hideshow{\
  4419. margin: 1px 0 0px;\
  4420. padding: 1px 10px;\
  4421. border-bottom: 1px solid #bbb;\
  4422. font-size: 1.5em;\
  4423. font-weight: normal;\
  4424. cursor:pointer;\
  4425. background:#DDDDDD none repeat scroll 0 0;\
  4426. }\
  4427. #h3hideshow:hover{\
  4428. background:#C0BEBE none repeat scroll 0 0;\
  4429. }\
  4430. #h3hideshowtitle{\
  4431. margin: 2px 0 0px;\
  4432. padding: 7px 10px;\
  4433. border-bottom: 1px solid #bbb;\
  4434. font-size: 1.5em;\
  4435. font-weight: normal;\
  4436. }\
  4437. .popup_block .popup a {\
  4438. color:DarkSkyBlue;\
  4439. text-decoration:none;\
  4440. }\
  4441. .popup p {\
  4442. padding: 1px 10px;\
  4443. margin: 0px 0;\
  4444. -x-system-font:none;\
  4445. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4446. font-size:10pt;\
  4447. font-size-adjust:none;\
  4448. font-stretch:normal;\
  4449. font-style:normal;\
  4450. font-variant:normal;\
  4451. font-weight:normal;\
  4452. line-height:normal;\
  4453. }\
  4454. #sites {\
  4455. padding: 1px 10px;\
  4456. margin: 0px 0;display:inline-block;width:16em;\
  4457. }\
  4458. #dev_ver {\
  4459. color: #00FF00;\
  4460. background: Black;\
  4461. text-align: right;\
  4462. }\
  4463. #sites_suspended {\
  4464. padding: 1px 10px;\
  4465. margin: 0px 0;display:inline-block;width:16em;\
  4466. text-decoration: line-through;\
  4467. }\
  4468. .popup img.cntrl {\
  4469. position: absolute;\
  4470. right: -15px;\
  4471. top: -15px;\
  4472. }\
  4473. #bulk {\
  4474. font-size:8pt;\
  4475. color:orange;\
  4476. padding: 1px 10px;\
  4477. margin: 0px 0;\
  4478. display:inline-block;\
  4479. width:100px;\
  4480. }\
  4481. #note {\
  4482. font-size:7pt;\
  4483. color:gray;\
  4484. padding: 1px 10px;\
  4485. margin: 0px 0;display:inline-block;\
  4486. min-width:100px;\
  4487. }\
  4488. #rednote {\
  4489. font-size:7pt;\
  4490. color:red;\
  4491. padding: 1px 10px;\
  4492. margin: 0px 0;display:inline-block;\
  4493. }\
  4494. #configinfo {\
  4495. font-size:8pt;\
  4496. color:gray;\
  4497. padding: 1px 10px;\
  4498. margin: 0px 0;display:inline-block;width:60em;\
  4499. }\
  4500. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4501. color:black;\
  4502. border-style: solid;\
  4503. border-width: 1px;\
  4504. border-color: gray;\
  4505. }\
  4506. #h3hideshowcontent {\
  4507. min-height:220px;\
  4508. max-height:220px;\
  4509. overflow:auto;\
  4510. display: none;\
  4511. padding: 10px 10px;\
  4512. }\
  4513. #specinfo{\
  4514. font-size:14px;\
  4515. }\
  4516. .warlc-ui-tab {\
  4517. height:300px;\
  4518. overflow:auto;\
  4519. }\
  4520. #warlcsitelist2, #warlcsitelist1 {\
  4521. height:220px;\
  4522. border-top: 1px solid #ddd;\
  4523. padding-top: 5px;\
  4524. overflow:auto;\
  4525. }\
  4526. input:hover+label {\
  4527. background:#F1F77C;\
  4528. font-size:110%;\
  4529. }\
  4530. ';
  4531.  
  4532. GM_addStyle(configcss);
  4533.  
  4534. var customRulesRefHTML =
  4535. '\
  4536. <br>\
  4537. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4538. <b>@keyword</b> <i>parameter</i>\
  4539. <br><br>\
  4540. 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. \
  4541. <br><br>\
  4542. 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.\
  4543. 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.\
  4544. 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.\
  4545. 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,\
  4546. but all commands until the next valid @customrule are ignored.<br><br>\
  4547. Available forms and types:\
  4548. <ul>\
  4549. <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.\
  4550. <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.\
  4551. <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.\
  4552. <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.\
  4553. </ul>\
  4554. Other available commands:<br>\
  4555. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4556. <ul>\
  4557. <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.\
  4558. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4559. <ul>examples:<br>\
  4560. <li>good: <i>filehost.com/download/</i><br>\
  4561. <li>good: <i>download.filehost.net/?d=</i><br>\
  4562. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4563. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4564. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4565. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4566. <li>bad: <i>filehost.com</i> - no slash<br>\
  4567. </ul>\
  4568. \
  4569. <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.\
  4570. 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 \
  4571. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4572. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4573. 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.)\
  4574. Two spaces again match any whitespace.\
  4575. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4576. Two spaces again match any whitespace.\
  4577. <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. \
  4578. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4579. </ul>\
  4580. \
  4581. ';
  4582.  
  4583. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4584. var configurationinnerHTML =
  4585. '<div id="fade"></div>\
  4586. <div class="popup_block">\
  4587. <div class="popup">\
  4588. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofy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w1Hnfl34da2vcFCFTAMqYaBr07nD40/IebZui1t9qqWgE3t6uOfCB3gF8FegrBB6x5qrri9688a+JYN6UK57eijDo2HI2+8/HB/8AVAHlQCfQCvz7chOIBTzS1FocNEx1VSNjHmFWS9jvC6mk11QWAbePhl4K/JWa1fbSypU2uSsI8ZgnEyG2wE9igb/Fa7f9MHGTQuANdbcGLzyFV2smiukr7Siw4WqGvZhlqznxhX7cTzmXayA234c33lqFcjneIqZfxX1TJr+t4dWtcUGXgusNgaPLwvQpgJjHcK8EPOAM6J7+vblEfK0fZ9RoqwAnpTnznsN/2jOkuvOUNvmpXmMTrrQuoJWGj36bAugAMhSo2cnsgUil2fb5LRHi1/jRGlJHc5zenaV7p0PyRB7XkR7vfa4IlZtT69fbVKywyafh8HODHN+WfhH4FnD2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4590. <div id="warlc-conf-tabs">\
  4591. <ul>\
  4592. <li><a href="#tabs-1">Filehostings</a></li>\
  4593. <li><a href="#tabs-2">Containers</a></li>\
  4594. <li><a href="#tabs-5">Custom rules</a></li>\
  4595. <li><a href="#tabs-3">Settings</a></li>\
  4596. <li><a href="#tabs-4">About</a></li>\
  4597. </ul>\
  4598. <div id="tabs-1" class="warlc-ui-tab">\
  4599. <div class="warlc-ui-buttonset">\
  4600. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4601. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4602. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4603. </div><br>\
  4604. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4605. <div id="warlcsitelist1"><span>Empty</span></div>\
  4606. </div>\
  4607. <div id="tabs-2" class="warlc-ui-tab">\
  4608. <div class="warlc-ui-buttonset">\
  4609. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4610. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4611. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4612. </div><br>\
  4613. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4614. <div id="warlcsitelist2"><span>Empty</span></div>\
  4615. </div>\
  4616. <div id="tabs-5" class="warlc-ui-tab">\
  4617. <div class="warlcsettings">\
  4618. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4619. <br>\
  4620. <div>Edit custom rules: \
  4621. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4622. <div id="customRulesReference" style="display:none;">'
  4623. + customRulesRefHTML + '\
  4624. </div>\
  4625. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4626. </div>\
  4627. </div>\
  4628. </div>\
  4629. <div id="tabs-3" class="warlc-ui-tab">\
  4630. <div class="warlcsettings">\
  4631. <fieldset>\
  4632. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4633. <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>\
  4634. </fieldset>\
  4635. <fieldset>\
  4636. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4637. <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>\
  4638. <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>\
  4639. <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>\
  4640. <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>\
  4641. <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>\
  4642. <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>\
  4643. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4644. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4645. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4646. <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>\
  4647. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4648. <fieldset>\
  4649. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4650. <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>\
  4651. <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>\
  4652. <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>\
  4653. </fieldset>\
  4654. </fieldset>\
  4655. <fieldset>\
  4656. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4657. </fieldset>\
  4658. <fieldset>\
  4659. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4660. </fieldset>\
  4661. <fieldset>\
  4662. <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>\
  4663. </fieldset>\
  4664. <fieldset>\
  4665. <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>\
  4666. </fieldset>\
  4667. </div>\
  4668. </div>\
  4669. <div id="tabs-4" class="warlc-ui-tab">\
  4670. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4671. <br />\
  4672. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4673. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4674. <br />\
  4675. <p><b>Currently supported:</b><br>\
  4676. Filehostings: ' + allHostNames.length + '<br />\
  4677. Containers: ' + allContainerNames.length + '<br />\
  4678. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4679. <br />\
  4680. <p><b>Based on:</b><br>\
  4681. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4682. <br />\
  4683. <p><b>Uses:</b></p>\
  4684. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4685. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4686. <br />\
  4687. <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>\
  4688. </div>\
  4689. </div>\
  4690. </div>\
  4691. </div>';
  4692. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4693. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4694. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4695. var elmHostList = document.getElementById("warlcsitelist1");
  4696. var elmContainerList = document.getElementById("warlcsitelist2");
  4697. buildSettings();
  4698. buildSitelist("", allHostNames, elmHostList);
  4699. buildSitelist("", allContainerNames, elmContainerList);
  4700. if (DEBUG_MODE)
  4701. {
  4702. //log all sites availability status
  4703. diagSites();
  4704. }
  4705. //handler for checkbox state change
  4706. function changeConfiguration(e)
  4707. {
  4708. var element = e.target;
  4709.  
  4710. if (element.type == 'checkbox')
  4711. {
  4712. if (element.checked == 1)
  4713. {
  4714. GM_setValue(element.id, true);
  4715. }
  4716. else
  4717. {
  4718. GM_setValue(element.id, false);
  4719. }
  4720.  
  4721. }
  4722. setVariables();
  4723. }
  4724.  
  4725. //Selects all filehosting checkboxes
  4726. function selectAll()
  4727. {
  4728. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4729. .each(function(index, element){GM_setValue(this.id, true)});
  4730. }
  4731.  
  4732. //Deselects all filehosting checkboxes
  4733. function selectNone()
  4734. {
  4735. $(":checkbox:visible:checked").prop("checked",false)
  4736. .each(function(index, element){GM_setValue(this.id, false)});
  4737. }
  4738.  
  4739. //Inverts filehosting checkboxes selection
  4740. function selectInvert()
  4741. {
  4742. var $checked = $(":checkbox:visible:checked");
  4743. var $unchecked = $(":checkbox:visible:not(:checked)");
  4744. $unchecked.prop("checked",true)
  4745. .each(function(index, element){GM_setValue(this.id, true)});
  4746. $checked.prop("checked",false)
  4747. .each(function(index, element){GM_setValue(this.id, false)});
  4748. }
  4749. //toggles anonymizer on off
  4750. function Enable_Anonymizer()
  4751. {
  4752. var $checked = $(":checkbox:visible:checked");
  4753. var $unchecked = $(":checkbox:visible:not(:checked)");
  4754. $unchecked.prop("checked",true)
  4755. .each(function(index, element){GM_setValue(this.id, true)});
  4756. $checked.prop("checked",false)
  4757. .each(function(index, element){GM_setValue(this.id, false)});
  4758. }
  4759.  
  4760. function changeRefAnonymizer(){
  4761. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4762. }
  4763.  
  4764. //Sets live links color
  4765. function changeColorLive()
  4766. {
  4767. var inColorLive = document.getElementById("inputColorLive");
  4768. inColorLive.style.background = inColorLive.value;
  4769. GM_setValue("Live_links_color", inColorLive.value);
  4770. }
  4771.  
  4772. //Sets dead links color
  4773. function changeColorDead()
  4774. {
  4775. var inColorDead = document.getElementById("inputColorDead");
  4776. inColorDead.style.background = inColorDead.value;
  4777. GM_setValue("Dead_links_color", inColorDead.value);
  4778. }
  4779.  
  4780. //Sets temp. unavailable links color
  4781. function changeColorTemp()
  4782. {
  4783. var inColorTemp = document.getElementById("inputColorTemp");
  4784. inColorTemp.style.background = inColorTemp.value;
  4785. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4786. }
  4787.  
  4788. //Sets temp. unavailable links color
  4789. function changeColorCont()
  4790. {
  4791. var inColorCont = document.getElementById("inputColorCont");
  4792. inColorCont.style.background = inColorCont.value;
  4793. GM_setValue("Container_links_color", inColorCont.value);
  4794. }
  4795. //Sets premium. links color
  4796. function changeColorprem()
  4797. {
  4798. var inColorprem = document.getElementById("inputColorprem");
  4799. inColorprem.style.background = inColorprem.value;
  4800. GM_setValue("Premium_links_color", inColorprem.value);
  4801. }
  4802.  
  4803. //Diagnose sites for availability
  4804. function diagSites()
  4805. {
  4806. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4807.  
  4808. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4809. {
  4810. if (boxes[i].type == "checkbox")
  4811. {
  4812. checkAvailability(boxes[i]);
  4813. }
  4814. }
  4815.  
  4816. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4817.  
  4818. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4819. {
  4820. if (boxes[i].type == "checkbox")
  4821. {
  4822. checkAvailability(boxes[i]);
  4823. }
  4824. }
  4825.  
  4826. function checkAvailability(cbElm)
  4827. {
  4828. var cb = cbElm;
  4829. GM_xmlhttpRequest(
  4830. {
  4831. method: 'HEAD',
  4832. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4833. headers: {
  4834. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4835. 'Accept': 'text/xml',
  4836. 'Referer': ""
  4837. },
  4838. onload: function (result)
  4839. {
  4840. if (result.status != 200)
  4841. {
  4842. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4843. }
  4844. },
  4845. onerror: function (result)
  4846. {
  4847. if (result.status != 200)
  4848. {
  4849. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4850. }
  4851. }
  4852. });
  4853. }
  4854. }
  4855. function buildSettings()
  4856. {
  4857. $(".warlcsettings :checkbox").each(function(){
  4858. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4859. .click(function(e){
  4860. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4861. setVariables();
  4862. });
  4863. })
  4864. }
  4865. //Dynamic build of host list
  4866. //param search [string] searches for hostnames matching search substring
  4867. //param siteNames [array] array of site names
  4868. //param targetNode [DOM Node] where the list should be built
  4869. // first child node is replaced
  4870. function buildSitelist(search, siteNames, targetNode)
  4871. {
  4872. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4873. var $targetNode = $(targetNode).empty();
  4874. var searchedSite = "";
  4875. $.each(siteNames, function(i, site){
  4876. if (searchedSite = site.match(searchRegex))
  4877. {
  4878. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4879. //ensuring backward compatibility with the rest of code, to be refactored later
  4880. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4881. //
  4882. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4883. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4884. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4885. );
  4886. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4887. .change(changeConfiguration);
  4888. $targetNode.append('<br />');
  4889. }
  4890. });
  4891. $targetNode.append("<hr>");
  4892. //obsolete hosts checkbox
  4893. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4894. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4895. .change(changeConfiguration);
  4896. $targetNode.append('<br />');
  4897. var foundName = "";
  4898. $.each(allObsoleteNames, function(i, site){
  4899. if (foundName = allObsoleteNames[i].match(searchRegex))
  4900. {
  4901. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4902. }
  4903. })
  4904. }
  4905. var hostSearchBox = document.getElementById("hostSearchBox");
  4906. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4907. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4908. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4909. $(".warlc-ui-select-all").click(selectAll).button();
  4910. $(".warlc-ui-select-none").click(selectNone).button();
  4911. $(".warlc-ui-select-invert").click(selectInvert).button();
  4912. $(".warlc-ui-buttonset").buttonset();
  4913. var inColorLive = document.getElementById("inputColorLive");
  4914. inColorLive.addEventListener('keyup', changeColorLive, false);
  4915.  
  4916. var inColorDead = document.getElementById("inputColorDead");
  4917. inColorDead.addEventListener('keyup', changeColorDead, false);
  4918.  
  4919. var inColorTemp = document.getElementById("inputColorTemp");
  4920. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4921.  
  4922. var inColorCont = document.getElementById("inputColorCont");
  4923. inColorCont.addEventListener('keyup', changeColorCont, false);
  4924. var inColorprem = document.getElementById("inputColorprem");
  4925. inColorprem.addEventListener('keyup', changeColorprem, false);
  4926. $("#refAnonymizer").change(changeRefAnonymizer);
  4927. //buttons and edit boxes init end
  4928.  
  4929. //icon sets radio buttons
  4930. var radioButtons = document.getElementsByName("warlciconset");
  4931. radioButtons[Icon_set].checked = "checked";
  4932.  
  4933. radioButtons[0].addEventListener("change", updateIconSet);
  4934. radioButtons[1].addEventListener("change", updateIconSet);
  4935. radioButtons[2].addEventListener("change", updateIconSet);
  4936. radioButtons[3].addEventListener("change", updateIconSet);
  4937. function updateIconSet()
  4938. {
  4939. GM_setValue("Icon_set", this.value * 1);
  4940. }
  4941. //
  4942. $('#showCustomRulesReference').click(function(e){
  4943. e.preventDefault();
  4944. $('#customRulesReference').toggle();
  4945. });
  4946. $('#Custom_rules_text')
  4947. .val(Custom_rules_text)
  4948. .change(saveCustomRules);
  4949. function saveCustomRules(e)
  4950. {
  4951. var cr = parseCustomRules(this.value);
  4952. if (cr.info.length)
  4953. 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, ' '));
  4954. GM_setValue('Custom_rules_text', this.value);
  4955. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4956. }
  4957. }
  4958.  
  4959. //begin standard link checking algorithm
  4960. function start(filterId)
  4961. {
  4962. var doNotLinkify = Do_not_linkify_DL_links;
  4963.  
  4964. // USER SELECTED FILE HOSTS INITIALIZATION START
  4965. var http_file_hosts = new Array(); //standard hostings
  4966. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4967. var http_file_hosts_obsolete = new Array(); //dead hostings
  4968. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4969.  
  4970. initFileHosts();
  4971. initFileHostsHeadersOnly();
  4972. initFileHostsCustom(); //CustomRules
  4973. // USER SELECTED FILE HOSTS INITIALIZATION END
  4974.  
  4975. // LINKIFICATION START
  4976. var totalxpath = '';
  4977. var totalxpathcoded = '';
  4978. var totalxpathobsolete = '';
  4979. var totalxpathheadersonly = '';
  4980. var totalourls = '';
  4981.  
  4982. var filehostLen = http_file_hosts.length;
  4983. var filehostCodedLen = http_file_hosts_coded.length;
  4984. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4985. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4986.  
  4987. var filehostIdx = filehostLen;
  4988. var filehostCodedIdx = filehostCodedLen;
  4989. var filehostObsoleteIdx = filehostObsoleteLen;
  4990. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4991.  
  4992. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4993. return;
  4994.  
  4995. while (filehostIdx--)
  4996. {
  4997. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4998. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4999. }
  5000.  
  5001. while (filehostCodedIdx--)
  5002. {
  5003. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  5004. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  5005. }
  5006.  
  5007. while (filehostObsoleteIdx--)
  5008. {
  5009. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  5010. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  5011. }
  5012.  
  5013. while (filehostHeadersOnlyIdx--)
  5014. {
  5015. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  5016. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  5017. }
  5018.  
  5019. totalourls = totalourls.replace(/\|$/g, "");
  5020. //TODO: further refactoring needed
  5021. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  5022. totalxpath = totalxpath.replace(/\]\|/, ')]');
  5023. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  5024. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  5025. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  5026. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  5027. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  5028. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  5029. if (filterId != null) //insert id restriction in the xpath
  5030. {
  5031. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  5032. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  5033. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  5034. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  5035. }
  5036. else
  5037. {
  5038. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5039. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5040. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5041. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  5042. }
  5043. linkify(totalourls);
  5044. //LINKIFICATION END
  5045. //ENCRYPTED LINKS PROCESSING START
  5046. if (http_file_hosts_coded.length > 0)
  5047. {
  5048. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5049.  
  5050. // decrypt coded links (redirects, link protectors etc.)
  5051. if (linksCoded.snapshotLength > 0)
  5052. {
  5053. var link;
  5054. var reallinkreg;
  5055. var reallinkcorrection;
  5056.  
  5057. if (filterId == null)
  5058. {
  5059. cLinksTotal += linksCoded.snapshotLength;
  5060. }
  5061.  
  5062. var y = linksCoded.snapshotLength - 1;
  5063. do
  5064. {
  5065. // linksCoded.snapshotItem(y).id = 'processing_link';
  5066. link = linksCoded.snapshotItem(y);
  5067. filehostIdx = filehostCodedLen;
  5068. while (filehostIdx--)
  5069. {
  5070. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  5071. {
  5072. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5073. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  5074. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  5075.  
  5076. decurl(link, reallinkreg, reallinkcorrection);
  5077. break;
  5078. }
  5079. }
  5080. }
  5081. while (y--);
  5082. }
  5083. }
  5084. //ENCRYPTED LINKS PROCESSING END
  5085.  
  5086. //STANDARD LINKCHECKING START
  5087. if (http_file_hosts.length > 0)
  5088. {
  5089. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5090.  
  5091. if (filterId == null)
  5092. {
  5093. cLinksTotal += lianks.snapshotLength;
  5094. }
  5095.  
  5096. if (lianks.snapshotLength > 0)
  5097. {
  5098. var link;
  5099.  
  5100. var URL = "";
  5101. var name = "";
  5102. var isAliveRegex = "";
  5103. var isDeadRegex = "";
  5104. var isUnavaRegex = "";
  5105. var ispremRegex = "";
  5106. var tryLoop = false;
  5107.  
  5108. var y = lianks.snapshotLength;
  5109.  
  5110. while (y--)
  5111. {
  5112. link = lianks.snapshotItem(y);
  5113.  
  5114. filehostIdx = filehostLen;
  5115. while (filehostIdx--)
  5116. {
  5117. if (link.href.match(http_file_hosts[filehostIdx][0]))
  5118. {
  5119. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  5120. isAliveRegex = http_file_hosts[filehostIdx][1];
  5121. isDeadRegex = http_file_hosts[filehostIdx][2];
  5122. isUnavaRegex = http_file_hosts[filehostIdx][3];
  5123. ispremRegex = http_file_hosts[filehostIdx][6];
  5124. tryLoop = http_file_hosts[filehostIdx][5];
  5125.  
  5126. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  5127.  
  5128. break;
  5129. }
  5130. }
  5131. }
  5132. }
  5133. }
  5134. //STANDARD LINKCHECKING END
  5135. //OBSOLETE FILE HOSTS PROCESSING START
  5136. if (filehostObsoleteLen > 0)
  5137. {
  5138. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5139.  
  5140. var obsoleteLink;
  5141.  
  5142. //check links
  5143. if (obsoletelinks.snapshotLength > 0)
  5144. {
  5145. var y = obsoletelinks.snapshotLength;
  5146.  
  5147. if (filterId == null)
  5148. {
  5149. cLinksTotal += y;
  5150. }
  5151.  
  5152. while (y--)
  5153. {
  5154. obsoleteLink = obsoletelinks.snapshotItem(y);
  5155.  
  5156. if (Display_tooltip_info)
  5157. {
  5158. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5159. }
  5160. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5161. }
  5162. }
  5163. }
  5164. //OBSOLETE FILE HOSTS PROCESSING END
  5165.  
  5166. //DIRECT LINKCHECKING START
  5167. if (http_file_hosts_headers_only.length > 0)
  5168. {
  5169. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5170.  
  5171. //check links
  5172. if (links.snapshotLength > 0)
  5173. {
  5174. var link;
  5175. var isAliveRegex;
  5176. var isDeadRegex;
  5177. var ispremRegex;
  5178.  
  5179. var y = links.snapshotLength;
  5180.  
  5181.  
  5182. if (filterId == null)
  5183. {
  5184. cLinksTotal += y;
  5185. }
  5186.  
  5187. while (y--)
  5188. {
  5189. // links.snapshotItem(y).id = 'processing_link';
  5190. link = links.snapshotItem(y);
  5191. filehostIdx = filehostHeadersOnlyLen;
  5192. while (filehostIdx--)
  5193. {
  5194. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5195. {
  5196. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5197. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5198. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5199. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5200.  
  5201. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5202.  
  5203. break;
  5204. }
  5205. }
  5206. }
  5207.  
  5208. }
  5209. }
  5210. //DIRECT LINKCHECKING END
  5211.  
  5212.  
  5213. //finds the real url on the page, replaces link.href with it and calls geturl
  5214. function decurl(link, reallinkreg, reallinkcorrection)
  5215. {
  5216.  
  5217. GM_xmlhttpRequest(
  5218. {
  5219. method: 'GET',
  5220. url: link.href,
  5221. headers: {
  5222. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5223. 'Accept': 'text/xml',
  5224. 'Referer': ""
  5225. },
  5226. onload: function (result)
  5227. {
  5228. // cLinksProcessed++;
  5229.  
  5230. var reallink = result.responseText.match(reallinkreg)[0];
  5231. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5232.  
  5233. link.href = reallink;
  5234.  
  5235. var i = http_file_hosts.length - 1;
  5236. do
  5237. {
  5238. if ((reallink.match(http_file_hosts[i][0])))
  5239. {
  5240. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5241. var isAliveRegex = http_file_hosts[i][1];
  5242. var isDeadRegex = http_file_hosts[i][2];
  5243. var isUnavaRegex = http_file_hosts[i][3];
  5244. var ispremRegex = http_file_hosts[i][4];
  5245.  
  5246. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5247.  
  5248. break;
  5249. }
  5250. }
  5251. while (i--);
  5252. }
  5253. });
  5254. }
  5255.  
  5256. function randUA()
  5257. {
  5258. //TODO
  5259. }
  5260. //Processes link
  5261. //
  5262. // [string] link link URL
  5263. // [string] isAliveRegex alive link regex
  5264. // [string] isDeadRegex dead link regex
  5265. // [string] isUnavaRegex unavailable link regex
  5266. // [string] ispremRegex premium link regex
  5267. // [boolean] tryLoop repeats request until succeeded
  5268. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5269. {
  5270. GM_xmlhttpRequest(
  5271. {
  5272. method: 'GET',
  5273. url: link.href,
  5274. headers: {
  5275. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5276. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5277. 'Referer': ""
  5278. },
  5279. onload: function (result)
  5280. {
  5281. var res = result.responseText;
  5282. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5283. {
  5284. displayTheCheckedLink(link, 'alive_link');
  5285. return;
  5286. }
  5287.  
  5288. if (res.match(isAliveRegex))
  5289. {
  5290. displayTheCheckedLink(link, 'alive_link');
  5291. return;
  5292. }
  5293.  
  5294. if (res.match(isDeadRegex))
  5295. {
  5296. displayTheCheckedLink(link, 'adead_link');
  5297. return;
  5298. }
  5299.  
  5300. if (isUnavaRegex && res.match(isUnavaRegex))
  5301. {
  5302. displayTheCheckedLink(link, 'unava_link');
  5303. return;
  5304. }
  5305. if (res.match(ispremRegex))
  5306. {
  5307. displayTheCheckedLink(link, 'prem_link');
  5308. return;
  5309. }
  5310.  
  5311. var resStatus = result.status;
  5312.  
  5313. if (resStatus == 404)
  5314. {
  5315. displayTheCheckedLink(link, 'adead_link');
  5316. }
  5317. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5318. {
  5319. if (tryLoop)
  5320. {
  5321. //wait 1-5 seconds and repeat the request
  5322. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5323. }
  5324. else
  5325. {
  5326. displayTheCheckedLink(link, 'unava_link');
  5327. }
  5328.  
  5329. return;
  5330. }
  5331. },
  5332. onerror: function ()
  5333. {
  5334. displayTheCheckedLink(link, 'unava_link');
  5335. }
  5336. });
  5337. }
  5338.  
  5339. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5340. {
  5341. GM_xmlhttpRequest(
  5342. {
  5343. method: 'HEAD',
  5344. url: link.href,
  5345. headers: {
  5346. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5347. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5348. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5349. 'Referer': ""
  5350. },
  5351. onload: function (result)
  5352. {
  5353. var resStatus = result.status;
  5354. var resHeaders = "";
  5355. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5356. {
  5357. displayTheCheckedLink(link, 'adead_link');
  5358. return;
  5359. }
  5360.  
  5361. resHeaders = result.responseHeaders;
  5362.  
  5363. if (resHeaders.match(isDeadRegex))
  5364. {
  5365. displayTheCheckedLink(link, 'adead_link');
  5366. return;
  5367. }
  5368.  
  5369. if (resHeaders.match(isAliveRegex))
  5370. {
  5371. displayTheCheckedLink(link, 'alive_link');
  5372. return;
  5373. }
  5374. if (resHeaders.match(ispremRegex))
  5375. {
  5376. displayTheCheckedLink(link, 'prem_link');
  5377. return;
  5378. }
  5379. },
  5380. onerror: function ()
  5381. {
  5382. displayTheCheckedLink(link, 'unava_link');
  5383. }
  5384. });
  5385. }
  5386.  
  5387. //Delinkfifies the <a> element object
  5388. function delinkifyLink(link)
  5389. {
  5390. var spanElm = document.createElement("span");
  5391. spanElm.className = link.className;
  5392. spanElm.innerHTML = link.innerHTML;
  5393.  
  5394. if (Display_tooltip_info)
  5395. {
  5396. spanElm.href = link.href;
  5397. spanElm.warlc_error = link.warlc_error;
  5398. switch (link.className){
  5399. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5400. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5401. case "unava_link": //reserved
  5402. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5403. default:
  5404. }
  5405. }
  5406. link.parentNode.replaceChild(spanElm, link);
  5407. }
  5408.  
  5409. //Assigns result status to the <a> element object and calls delinkifying eventually
  5410. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5411. function displayTheCheckedLink(link, resultStatus)
  5412. {
  5413. link.className = resultStatus;
  5414. link.href = Ref_anonymize_service + link.href;
  5415. if (Display_tooltip_info)
  5416. {
  5417. switch (resultStatus){
  5418. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5419. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5420. case "unava_link": //reserved
  5421. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5422. default:
  5423. }
  5424. }
  5425. if (doNotLinkify)
  5426. {
  5427. delinkifyLink(link);
  5428. }
  5429. cLinksProcessed++;
  5430.  
  5431. if (resultStatus == "alive_link")
  5432. {
  5433. cLinksAlive++;
  5434. return;
  5435. }
  5436.  
  5437. if (resultStatus == "adead_link")
  5438. {
  5439. cLinksDead++;
  5440. return;
  5441. }
  5442.  
  5443. if (resultStatus == "unava_link")
  5444. {
  5445. cLinksUnava++;
  5446. }
  5447. if (resultStatus == "prem_link")
  5448. {
  5449. cLinksprem++;
  5450. return;
  5451. }
  5452. }
  5453.  
  5454.  
  5455. function initFileHosts()
  5456. {
  5457.  
  5458. function addObsoleteHost(linkRegex, xpathEx)
  5459. {
  5460. var host = new Array(2);
  5461. host[0] = linkRegex;
  5462. host[1] = xpathEx;
  5463. http_file_hosts_obsolete.push(host);
  5464. }
  5465.  
  5466. //obsolete file hosts init start
  5467. if (Obsolete_file_hosts)
  5468. {
  5469. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5470. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5471. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5472. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5473. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5474. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5475. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5476. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5477. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5478. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5479. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5480. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5481. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5482. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5483. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5484. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5485. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5486. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5487. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5488. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5489. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5490. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5491. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5492. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5493. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5494. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5495. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5496. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5497. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5498. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5499. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5500. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5501. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5502. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5503. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5504. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5505. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5506. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5507. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5508. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5509. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5510. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5511. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5512. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5513. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5514. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5515. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5516. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5517. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5518. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5519. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5520. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5521. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5522. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5523. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5524. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5525. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5526. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5527. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5528. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5529. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5530. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5531. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5532. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5533. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5534. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5535. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5536. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5537. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5538. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5539. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5540. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5541. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5542. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5543. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5544. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5545. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5546. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5547. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5548. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5549. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5550. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5551. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5552. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5553. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5554. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5555. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5556. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5557. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5558. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5559. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5560. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5561. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5562. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5563. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5564. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5565. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5566. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5567. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5568. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5569. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5570. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5571. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5572. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5573. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5574. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5575. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5576. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5577. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5578. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5579. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5580. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5581. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5582. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5583. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5584. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5585. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5586. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5587. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5588. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5589. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5590. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5591. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5592. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5593. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5594. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5595. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5596. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5597. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5598. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5599. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5600. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5601. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5602. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5603. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5604. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5605. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5606. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5607. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5608. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5609. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5610. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5611. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5612. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5613. 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')]");
  5614. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5615. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5616. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5617. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5618. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5619. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5620. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5621. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5622. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5623. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5624. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5625. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5626. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5627. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5628. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5629. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5630. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5631. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5632. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5633. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5634. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5635. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5636. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5637. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5638. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5639. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5640. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5641. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5642. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5643. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5644. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5645. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5646. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5647. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5648. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5649. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5650. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5651. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5652. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5653. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5654. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5655. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5656. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5657. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5658. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5659. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5660. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5661. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5662. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5663. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5664. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5665. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5666. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5667. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5668. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5669. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5670. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5671. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5672. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5673. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5674. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5675. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5676. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5677. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5678. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5679. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5680. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5681. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5682. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5683. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5684. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5685. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5686. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5687. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5688. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5689. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5690. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5691. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5692. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5693. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5694. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5695. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5696. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5697. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5698. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5699. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5700. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5701. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5702. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5703. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5704. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5705. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5706. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5707. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5708. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5709. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5710. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5711. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5712. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5713. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5714. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5715. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5716. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5717. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5718. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5719. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5720. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5721. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5722. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5723. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5724. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5725. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5726. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5727. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5728. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5729. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5730. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5731. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5732. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5733. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5734. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5735. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5736. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5737. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5738. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5739. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5740. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5741. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5742. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5743. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5744. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5745. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5746. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5747. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5748. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5749. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5750. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5751. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5752. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5753. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5754. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5755. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5756. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5757. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5758. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5759. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5760. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5761. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5762. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5763. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5764. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5765. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5766. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5767. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5768. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5769. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5770. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5771. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5772. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5773. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5774. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5775. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5776. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5777. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5778. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5779. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5780. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5781. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5782. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5783. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5784. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5785. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5786. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5787. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5788. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5789. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5790. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5791. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5792. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5793. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5794. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5795. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5796. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5797. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5798. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5799. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5800. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5801. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5802. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5803. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5804. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5805. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5806. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5807. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5808. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5809. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5810. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5811. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5812. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5813. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5814. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5815. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5816. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5817. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5818. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5819. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5820. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5821. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5822. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5823. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5824. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5825. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5826. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5827. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5828. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5829. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5830. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5831. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5832. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5833. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5834. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5835. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5836. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5837. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5838. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5839. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5840. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5841. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5842. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5843. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5844. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5845. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5846. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5847. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5848. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5849. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5850. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5851. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5852. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5853. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5854. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5855. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5856. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5857. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5858. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5859. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5860. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5861. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5862. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5863. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5864. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5865. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5866. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5867. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5868. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5869. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5870. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5871. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5872. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5873. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5874. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5875. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5876. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5877. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5878. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5879. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5880. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5881. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5882. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5883. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5884. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5885. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5886. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5887. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5888. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5889. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5890. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5891. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5892. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5893. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5894. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5895. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5896. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5897. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5898. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5899. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5900. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5901. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5902. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5903. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5904. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5905. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5906. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5907. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5908. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5909. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5910. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5911. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5912. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5913. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5914. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5915. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5916. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5917. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5918. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5919. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5920. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5921. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5922. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5923. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5924. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5925. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5926. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5927. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5928. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5929. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5930. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5931. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5932. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5933. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5934. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5935. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5936. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5937. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5938. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5939. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5940. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5941. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5942. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5943. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5944. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5945. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5946. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5947. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5948. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5949. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5950. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5951. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5952. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5953. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5954. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5955. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5956. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5957. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm​.to/')]");
  5958. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5959. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5960. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5961. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5962. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5963. // obsolete start
  5964. }
  5965. //obsolete file hosts init end
  5966. //Add Host Example
  5967. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5968. {
  5969. addFileHost(
  5970. "datafile\.com\/\\w+",
  5971. 'var captchaPanel|<link href="/css/files_download.css"',
  5972. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5973. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5974. '<style type="text/css">',
  5975. "//a[contains(@href,'datafile.com')]",
  5976. true);
  5977. } */
  5978.  
  5979. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5980. {
  5981. var host = new Array(7);
  5982. host[0] = linkRegex;
  5983. host[1] = isAliveRegex;
  5984. host[2] = isDeadRegex;
  5985. host[3] = isUnavaRegex;
  5986. host[6] = ispremRegex;
  5987. host[4] = xpathEx;
  5988. tryLoop ? host[5] = true : host[5] = false;
  5989. http_file_hosts.push(host);
  5990. }
  5991. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5992. {
  5993. addFileHost(
  5994. "megafileupload\.com\/..\/file\/",
  5995. 'downloadbtn',
  5996. 'is not found',
  5997. 'optional--',
  5998. 'optional2--',
  5999. "//a[contains(@href,'megafileupload.com')]");
  6000. }
  6001. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  6002. {
  6003. addFileHost(
  6004. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  6005. 'download\\.gif"',
  6006. 'p_point">',
  6007. 'optional--',
  6008. 'optional2--',
  6009. "//a[contains(@href,'demo.ovh.eu')]");
  6010. }
  6011. if (GM_getValue("Check_xkeepfile_dot_com_links", false))
  6012. {
  6013. addFileHost(
  6014. "xkeepfile\.com\/\\w+",
  6015. 'File has been found|Click here to download',
  6016. 'File cannot be found|class="error">',
  6017. 'optional--',
  6018. 'optional2--',
  6019. "//a[contains(@href,'xkeepfile.com/') or contains(@href,'Gamesena.com/')]");
  6020. }
  6021. if (GM_getValue("Check_safelinking_dot_net_links", false))
  6022. {
  6023. addFileHost(
  6024. "safelinking\\.net\/p\/\\w+",
  6025. 'color:green;"',
  6026. 'color:(?:red|orange);"',
  6027. 'color:(?:grey|brown);"',
  6028. 'optional2--',
  6029. "//a[contains(@href,'safelinking.net/p/')]",
  6030. true);
  6031. }
  6032. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  6033. {
  6034. addFileHost(
  6035. "fastshare\\.cz\/\\d+\/\\w*",
  6036. 'dwntable">|speed-low',
  6037. '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',
  6038. 'optional--',
  6039. 'optional2--',
  6040. "//a[contains(@href,'fastshare.cz')]");
  6041. }
  6042. if (GM_getValue("Check_fastshare_dot_org_links", false))
  6043. {
  6044. addFileHost(
  6045. "[fF]ast[sS]hare\\.org\/download",
  6046. 'Download ">',
  6047. 'Diese Datei wurde wegen|wurde kein Dateiname',
  6048. 'optional--',
  6049. 'optional2--',
  6050. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  6051. }
  6052. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  6053. {
  6054. addFileHost(
  6055. "partage-facile\.com\/\\w+",
  6056. 'class="title"><strong>|colspan="2"',
  6057. 'Page introuvable|class="alert-message',
  6058. 'optional--',
  6059. 'optional2--',
  6060. "//a[contains(@href,'partage-facile.com')]");
  6061. }
  6062. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  6063. {
  6064. addFileHost(
  6065. "rapidgator\\.net\/file\/\\w+",
  6066. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|"text-block download-prepare">|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6067. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan',
  6068. 'optional--',
  6069. 'can be downloaded by premium only|files up to 500 MB in free mode|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  6070. "//a[contains(@href,'rapidgator.net/file')]",
  6071. true
  6072. );
  6073. }
  6074. if (GM_getValue("Check_rg_dot_to_links", false))
  6075. {
  6076. addFileHost(
  6077. "rg\.to\/\\w+",
  6078. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|"text-block download-prepare">|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  6079. 'Error 404|File not found|Select your plan|Fichier non trouvé|Archivo no encontrado|ファイルが探せませんでした|Файл не найден',
  6080. 'optional--',
  6081. 'can be downloaded by premium only|files up to 500 MB in free mode|You can download files up to 2 GB in free mode',
  6082. "//a[contains(@href,'rg.to')]");
  6083. }
  6084. if (GM_getValue("Check_relink_dot_us_links", false))
  6085. {
  6086. addFileHost(
  6087. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  6088. 'online_detail\\.png" alt="Status',
  6089. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  6090. 'unknown_detail\\.png" alt="Status',
  6091. 'optional2--',
  6092. "//a[contains(@href,'relink.us/')]"
  6093. );
  6094. }
  6095. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  6096. {
  6097. addFileHost(
  6098. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  6099. 'div id="dl"',
  6100. 'Sie haben den Link falsch',
  6101. 'optional--',
  6102. 'optional2--',
  6103. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  6104. );
  6105. }
  6106. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  6107. {
  6108. addFileHost(
  6109. "flyfiles\\.net\/\\w+",
  6110. 'download_button"|"Download file"',
  6111. 'File not found!|Файл не найден',
  6112. 'optional--',
  6113. 'optional2--',
  6114. "//a[contains(@href,'flyfiles.net/')]"
  6115. );
  6116. }
  6117. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  6118. {
  6119. addFileHost(
  6120. "wikiupload\\.com\/\\w+",
  6121. 'download-button">',
  6122. 'Sorry, File not found',
  6123. 'optional--',
  6124. 'optional2--',
  6125. "//a[contains(@href,'wikiupload.com/')]"
  6126. );
  6127. }
  6128. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6129. {
  6130. addFileHost(
  6131. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6132. 'file\\.php">|Pobierz Plik',
  6133. 'Podany plik nie zosta',
  6134. 'optional--',
  6135. 'optional2--',
  6136. "//a[contains(@href,'hostuje.net/file')]"
  6137. );
  6138. }
  6139. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6140. {
  6141. addFileHost(
  6142. "gettyfile\\.ru\/\\d+",
  6143. 'download\\.gif border',
  6144. '<center><font size="3">',
  6145. 'optional--',
  6146. 'optional2--',
  6147. "//a[contains(@href,'gettyfile.ru/')]"
  6148. );
  6149. }
  6150. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6151. {
  6152. addFileHost(
  6153. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6154. 'download\\-file">',
  6155. 'col-1">\\s*<h1>',
  6156. 'optional--',
  6157. 'optional2--',
  6158. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6159. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6160. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6161. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6162. );
  6163. }
  6164. if (GM_getValue("Check_data_dot_hu_links", false))
  6165. {
  6166. addFileHost(
  6167. "data\\.hu\/get\/\\d+\/",
  6168. 'download_box_button',
  6169. 'missing\\.php',
  6170. 'optional--',
  6171. 'optional2--',
  6172. "//a[contains(@href,'data.hu/get')]",
  6173. true
  6174. );
  6175. }
  6176. if (GM_getValue("Check_filesmelt_dot_com_links", false))
  6177. {
  6178. addFileHost(
  6179. "filesmelt\\.com\/dl\/\\w+",
  6180. '(Your download is ready|Download File)',
  6181. 'Sorry, but your',
  6182. 'optional--',
  6183. 'optional2--',
  6184. "//a[contains(@href,'filesmelt.com/dl')]"
  6185. );
  6186. }
  6187. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6188. {
  6189. addFileHost(
  6190. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6191. 'premiumBtn"',
  6192. 'errorMessage"',
  6193. 'optional--',
  6194. 'optional2--',
  6195. "//a[contains(@href,'indowebster.com/download')]"
  6196. );
  6197. }
  6198. if (GM_getValue("Check_superload_dot_cz_links", false))
  6199. {
  6200. addFileHost(
  6201. "superload\\.cz\/dl\/\\w+",
  6202. 'icon-download">',
  6203. 'soubor nebyl nalezen',
  6204. 'optional--',
  6205. 'optional2--',
  6206. "//a[contains(@href,'superload.cz/dl')]"
  6207. );
  6208. }
  6209. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6210. {
  6211. addFileHost(
  6212. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6213. 'op" value="download',
  6214. 'class="err">|width:500px;text-align:left;">',
  6215. 'optional--',
  6216. 'optional2--',
  6217. "//a[contains(@href,'hulkfile.')]"
  6218. );
  6219. }
  6220. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6221. {
  6222. addFileHost(
  6223. "easybytez\\.com\/\\w+",
  6224. 'op" value="download',
  6225. 'stop_error\\.gif',
  6226. 'optional--',
  6227. 'optional2--',
  6228. "//a[contains(@href,'easybytez.com/')]"
  6229. );
  6230. }
  6231. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6232. {
  6233. addFileHost(
  6234. "filestore\\.com\\.ua\/\\?d=\\w+",
  6235. 'tdrow1>',
  6236. 'class=warn',
  6237. 'optional--',
  6238. 'optional2--',
  6239. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6240. );
  6241. }
  6242. if (GM_getValue("Check_netkups_dot_com_links", false))
  6243. {
  6244. addFileHost(
  6245. "netkups\\.com\/\\?d=\\w+",
  6246. 'submit">Continue',
  6247. 'page">File not found|deleted due to inactivity',
  6248. 'optional--',
  6249. 'optional2--',
  6250. "//a[contains(@href,'netkups.com/?d=')]"
  6251. );
  6252. }
  6253. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6254. {
  6255. addFileHost(
  6256. "openfile\\.ru\/(?:video\/|)\\d+",
  6257. 'videobox_left">',
  6258. 'blog_title">|not found on this server',
  6259. 'optional--',
  6260. 'optional2--',
  6261. "//a[contains(@href,'openfile.ru/')]"
  6262. );
  6263. }
  6264. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6265. {
  6266. addFileHost(
  6267. "extmatrix\\.com\/files\/\\w+",
  6268. 'div class="success"',
  6269. 'div class="error"',
  6270. 'optional--',
  6271. 'optional2--',
  6272. "//a[contains(@href,'extmatrix.com/files')]"
  6273. );
  6274. }
  6275. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6276. {
  6277. addFileHost(
  6278. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6279. 'content_lnkDownload',
  6280. 'error\\.aspx\\?',
  6281. 'optional--',
  6282. 'optional2--',
  6283. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6284. );
  6285. }
  6286. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6287. {
  6288. addFileHost(
  6289. "yourfilestore\\.com\/download\/\\d+\/",
  6290. 'download_data">',
  6291. 'may have been deleted|<h1>Sorry!<\/h1>',
  6292. 'optional--',
  6293. 'optional2--',
  6294. "//a[contains(@href,'yourfilestore.com/download')]"
  6295. );
  6296. }
  6297. if (GM_getValue("Check_nekaka_dot_com_links", false))
  6298. {
  6299. addFileHost(
  6300. "nekaka\\.com\/d\/[\\w-]+",
  6301. 'downloadForm">',
  6302. 'invalid file link',
  6303. 'optional--',
  6304. 'optional2--',
  6305. "//a[contains(@href,'nekaka.com/d')]"
  6306. );
  6307. }
  6308. if (GM_getValue("Check_filebig_dot_net_links", false))
  6309. {
  6310. addFileHost(
  6311. "filebig\\.net\/files\/\\w+",
  6312. 'downloadFile">',
  6313. '<p>File not found<\/p>',
  6314. 'optional--',
  6315. 'optional2--',
  6316. "//a[contains(@href,'filebig.net/files')]"
  6317. );
  6318. }
  6319. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6320. {
  6321. addFileHost(
  6322. "files\\.filefront\\.com\/\/;\\d+;;",
  6323. 'downloadLink">',
  6324. 'File not found, you',
  6325. 'optional--',
  6326. 'optional2--',
  6327. "//a[contains(@href,'files.filefront.com')]"
  6328. );
  6329.  
  6330. addFileHost(
  6331. "gamefront\\.com\/files\/\\d+",
  6332. 'downloadLink">',
  6333. 'File not found, you',
  6334. 'optional--',
  6335. 'optional2--',
  6336. "//a[contains(@href,'gamefront.com/files')]"
  6337. );
  6338. }
  6339. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6340. {
  6341. addFileHost(
  6342. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6343. 'dnlLnk"',
  6344. 'already been deleted',
  6345. 'optional--',
  6346. 'optional2--',
  6347. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6348. );
  6349. }
  6350. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6351. {
  6352. addFileHost(
  6353. "hellupload\\.com\/\\w+",
  6354. '<h3>Download File<br',
  6355. 'id="podstrona">|AVOID_IE_BUG',
  6356. 'optional--',
  6357. 'optional2--',
  6358. "//a[contains(@href,'hellupload.com/')]"
  6359. );
  6360. }
  6361. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6362. {
  6363. addFileHost(
  6364. "free\\-uploading\\.com\/\\w+",
  6365. 'op" value="download',
  6366. 'class="err">|width:500px;text-align:left;">',
  6367. 'optional--',
  6368. 'optional2--',
  6369. "//a[contains(@href,'free-uploading.com/')]"
  6370. );
  6371. }
  6372. if (GM_getValue("Check_fileape_dot_com_links", false))
  6373. {
  6374. addFileHost(
  6375. "fileape\\.com\/download\\-",
  6376. 'button_dl\\.png',
  6377. 'does not exist\\.',
  6378. 'optional--',
  6379. 'optional2--',
  6380. "//a[contains(@href,'fileape.com/')]"
  6381. );
  6382. }
  6383. if (GM_getValue("Check_uppit_dot_com_links", false))
  6384. {
  6385. addFileHost(
  6386. "(?:uppit\\.com|up\\.ht)\/\\w+",
  6387. 'op" value="download',
  6388. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6389. 'optional--',
  6390. 'optional2--',
  6391. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/')]",
  6392. true
  6393. );
  6394. }
  6395. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6396. {
  6397. addFileHost(
  6398. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6399. 'op" value="download',
  6400. '>File Not Found<',
  6401. 'optional--',
  6402. 'optional2--',
  6403. "//a[contains(@href,'nosupload.com')]",
  6404. true
  6405. );
  6406. }
  6407. if (GM_getValue("Check_filesin_dot_com_links", false))
  6408. {
  6409. addFileHost(
  6410. "filesin\\.com\/\\w+\/download\\.html",
  6411. 'download_area">',
  6412. 'error_note">',
  6413. 'optional--',
  6414. 'optional2--',
  6415. "//a[contains(@href,'filesin.com/')]",
  6416. true
  6417. );
  6418. }
  6419. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6420. {
  6421. addFileHost(
  6422. "nowdownload\\.ch\/dl\/\\w+",
  6423. 'alert-success"',
  6424. 'This file does not exist!',
  6425. 'The file is being transfered',
  6426. 'optional2--',
  6427. "//a[contains(@href,'nowdownload.ch/dl')]"
  6428. );
  6429. }
  6430. if (GM_getValue("Check_axifile_dot_com_links", false))
  6431. {
  6432. addFileHost(
  6433. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6434. 'Dbutton_big"',
  6435. 'download\\-error\\.php',
  6436. 'optional--',
  6437. 'optional2--',
  6438. "//a[contains(@href,'axifile.com/')]"
  6439. );
  6440. }
  6441. if (GM_getValue("Check_hulkshare_dot_com_links", false))
  6442. {
  6443. addFileHost(
  6444. "hulkshare\.com\/\\w+",
  6445. 'download\.sam\.png|This is a private file|id="filename',
  6446. 'File does not exist|fingerprint protected copyright',
  6447. 'optional--',
  6448. 'optional2--',
  6449. "//a[contains(@href,'hulkshare.com')]"
  6450. );
  6451. }
  6452. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6453. {
  6454. addFileHost(
  6455. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6456. 'col-1">\\s*<s',
  6457. 'col-1">\\s*<h',
  6458. 'optional--',
  6459. 'optional2--',
  6460. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6461. );
  6462. }
  6463. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6464. {
  6465. addFileHost(
  6466. "turbobit\\.(?:net|pl)",
  6467. 'id="download-gate-info|id="file-list',
  6468. 'afterWait()|no files in this folder',
  6469. 'optional--',
  6470. 'optional2--',
  6471. "//a[contains(@href,'turbobit.net')]"
  6472. );
  6473. }
  6474. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6475. {
  6476. addFileHost(
  6477. "hitfile\\.net\/download\/folder\/\\d+",
  6478. 'content">\\s*<s',
  6479. 'content">\\s*<h',
  6480. 'optional--',
  6481. 'optional2--',
  6482. "//a[contains(@href,'hitfile.net/download/folder')]"
  6483. );
  6484. }
  6485. if (GM_getValue("Check_movshare_dot_net_links", false))
  6486. {
  6487. addFileHost(
  6488. "movshare\\.net\\/video\\/\\w+",
  6489. 'optional--"',
  6490. 'no longer exists',
  6491. 'optional--',
  6492. 'optional2--',
  6493. "//a[contains(@href,'movshare.net/video')]"
  6494. );
  6495. }
  6496. if (GM_getValue("Check_plunder_dot_com_links", false))
  6497. {
  6498. addFileHost(
  6499. "plunder\.com\/\\w+",
  6500. 'x\/download\\.gif',
  6501. '404 - File or directory not found.',
  6502. 'optional--',
  6503. 'optional2--',
  6504. "//a[contains(@href,'plunder.com')]"
  6505. );
  6506. }
  6507. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6508. {
  6509. addFileHost(
  6510. "mafiastorage\\.com\/\\w+",
  6511. 'op" value="download',
  6512. 'class="err">|style="width:500px;text-align:left;"',
  6513. 'optional--',
  6514. 'optional2--',
  6515. "//a[contains(@href,'mafiastorage.com/')]"
  6516. );
  6517. }
  6518. if (GM_getValue("Check_uploadspace_dot_pl_links", false))
  6519. {
  6520. addFileHost(
  6521. "uploadspace\.pl\/plik\\w+",
  6522. 'Downloading .+? \\|',
  6523. 'Downloading a file',
  6524. 'optional--',
  6525. 'optional2--',
  6526. "//a[contains(@href,'uploadspace.pl/plik')]"
  6527. );
  6528. }
  6529. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6530. {
  6531. addFileHost(
  6532. "uploadingit\\.com\/file\/\\w+",
  6533. 'downloadTitle">',
  6534. 'deleteContent">',
  6535. 'optional--',
  6536. 'optional2--',
  6537. "//a[contains(@href,'uploadingit.com/file')]"
  6538. );
  6539. }
  6540. if (GM_getValue("Check_rghost_dot_net_links", false))
  6541. {
  6542. addFileHost(
  6543. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6544. 'download_link|btn large download',
  6545. 'file is restricted|File is deleted|503 Service Unavailable',
  6546. 'optional--',
  6547. 'optional2--',
  6548. "//a[contains(@href,'rghost.')]"
  6549. );
  6550. }
  6551. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6552. {
  6553. addFileHost(
  6554. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6555. '">Staženo:\\s*<\/span>',
  6556. 'Soubor, který hledáte nenalezen',
  6557. 'optional--',
  6558. 'optional2--',
  6559. "//a[contains(@href,'xdisk.cz/')]"
  6560. );
  6561. }
  6562. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6563. {
  6564. addFileHost(
  6565. "2downloadz\.com\/\\w+",
  6566. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6567. 'color="#006DCC|File error',
  6568. 'optional--',
  6569. 'optional2--',
  6570. "//a[contains(@href,'2downloadz.com')]");
  6571. }
  6572. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6573. {
  6574. addFileHost(
  6575. "mightyupload\.com\/\\w+",
  6576. 'background:#ccc;text-align|CONTENT="Download File"',
  6577. 'style="background:#eee|var rr =|File Not Found',
  6578. 'error-code">1010',
  6579. 'optional2--',
  6580. "//a[contains(@href,'mightyupload.com')]");
  6581. }
  6582. if (GM_getValue("Check_anysend_dot_com_links", false))
  6583. {
  6584. addFileHost(
  6585. "anysend\.com\/\\w+",
  6586. 'var openCalled=false;|content="noindex"',
  6587. '_trackPageview',
  6588. 'optional--',
  6589. 'optional2--',
  6590. "//a[contains(@href,'anysend.com')]");
  6591. }
  6592. if (GM_getValue("Check_datafile_dot_com_links", false))
  6593. {
  6594. addFileHost(
  6595. "datafile\.com\/\\w+",
  6596. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6597. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6598. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6599. '; 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">
  6600. "//a[contains(@href,'datafile.com')]",
  6601. true);
  6602. }
  6603. if (GM_getValue("Check_upstore_dot_net_links", false))
  6604. {
  6605. addFileHost(
  6606. "upstore\.net\/\\w+",
  6607. 'Download file|Скачать файл', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;
  6608. 'File not found|onload="redirect|class="error">',
  6609. 'optional--',
  6610. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6611. "//a[contains(@href,'upstore.net')]");
  6612. }
  6613. if (GM_getValue("Check_upsto_dot_re_links", false))
  6614. {
  6615. addFileHost(
  6616. "upsto\.re\/\\w+",
  6617. 'style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">',
  6618. 'File not found|onload="redirect|class="error">',
  6619. 'optional--',
  6620. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6621. "//a[contains(@href,'upsto.re')]");
  6622. }
  6623. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6624. {
  6625. addFileHost(
  6626. "speedy\.sh\/\\w+",
  6627. 'bgcolor=#eeeeee|class="addthis',
  6628. 'File not found|downloadfilenamenotfound>',
  6629. 'optional--',
  6630. 'optional2--',
  6631. "//a[contains(@href,'speedy.sh')]");
  6632. }
  6633. if (GM_getValue("Check_sanshare_dot_com_links", false))
  6634. {
  6635. addFileHost(
  6636. "sanshare\.com\/\\w+",
  6637. 'SANSHARE_TOPBANNER|offset-1"><h3><b>Download File',
  6638. 'offset-1"><b>File Not Found<|width:500px;text-align',
  6639. 'optional--',
  6640. 'optional2--',
  6641. "//a[contains(@href,'sanshare.com')]");
  6642. }
  6643. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6644. {
  6645. addFileHost(
  6646. "kingfiles\.net\/\\w+",
  6647. 'method_free|images/loading_small.gif"',
  6648. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6649. 'optional--',
  6650. 'optional2--',
  6651. "//a[contains(@href,'kingfiles.net')]");
  6652. }
  6653. /* if (GM_getValue("Check_uploadhero_dot_co_links", false))
  6654. {
  6655. addFileHost(
  6656. "uploadhero\\.co\/dl\/\\w+",
  6657. 'class="nom_de_fichier"|Unlimited downloads|Estimated download time|Lien de téléchargement"',
  6658. 'not available on our server|pas disponible sur nos serveurs|Le lien du fichier est incorrect',
  6659. 'optional--',
  6660. 'optional2--',
  6661. "//a[contains(@href,'uploadhero.co/dl')]"
  6662. );
  6663. } */
  6664. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6665. {
  6666. addFileHost(
  6667. "secureupload\\.eu\/\\w+",
  6668. 'Downloading',
  6669. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6670. 'optional--',
  6671. 'optional2--',
  6672. "//a[contains(@href,'secureupload.eu')]"
  6673. );
  6674. }
  6675. if (GM_getValue("Check_ge_dot_tt_links", false))
  6676. {
  6677. addFileHost(
  6678. "ge\.tt\/\\w+",
  6679. 'downloads pic',
  6680. 'is NOT the same as',
  6681. 'optional--',
  6682. 'optional2--',
  6683. "//a[contains(@href,'ge.tt')]");
  6684. }
  6685. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6686. {
  6687. addFileHost(
  6688. "filefactory\.com\/\\w+",
  6689. 'div id="file_holder"|download.css',
  6690. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6691. 'Server Maintenance|temporarily overloaded',
  6692. 'Premium Account Required',
  6693. "//a[contains(@href,'filefactory.com')]");
  6694. }
  6695. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6696. {
  6697. addFileHost(
  6698. "filesflash\.net\/\\w+",
  6699. 'align:right">Filename:',
  6700. 'class="msg">',
  6701. 'optional--',
  6702. 'optional2--',
  6703. "//a[contains(@href,'filesflash.net')]");
  6704. }
  6705. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6706. {
  6707. addFileHost(
  6708. "rapidgator\\.net\/folder\/\\w+",
  6709. 'href="/folder/',
  6710. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6711. 'optional--',
  6712. 'optional2--',
  6713. "//a[contains(@href,'rapidgator.net/folder')]",
  6714. true
  6715. );
  6716. }
  6717. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6718. {
  6719. addFileHost(
  6720. "salefiles\.com\/\\w+",
  6721. 'name="method_free',
  6722. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6723. 'optional--',
  6724. 'optional2--',
  6725. "//a[contains(@href,'salefiles.com')]");
  6726. }
  6727. /* if (GM_getValue("Check_megairon_dot_net_links", false))
  6728. {
  6729. addFileHost(
  6730. "megairon\.net\/\\w+",
  6731. 'border: 5px #ffeb90 solid;',
  6732. 'CONTENT="Download File ">|var rr =',
  6733. 'error-code">523',
  6734. 'optional2--',
  6735. "//a[contains(@href,'megairon.net')]",
  6736. true);
  6737. } */
  6738. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6739. {
  6740. addFileHost(
  6741. "datoid\.cz\/\\w+",
  6742. 'btn-download|class="icon-download-large"',
  6743. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6744. 'optional--',
  6745. 'optional2--',
  6746. "//a[contains(@href,'datoid.cz')]");
  6747. }
  6748. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6749. {
  6750. addFileHost(
  6751. "stiahni\.si\/\\w+",
  6752. 'report_icon.png"|slow-download-button',
  6753. 'none.png|deleted|<h2>Error 500</h2>',
  6754. 'optional--',
  6755. 'optional2--',
  6756. "//a[contains(@href,'stiahni.si')]");
  6757. }
  6758. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6759. {
  6760. addFileHost(
  6761. "cloudstor\.es\/\\w+",
  6762. '"btn_download"',
  6763. '404: Page Not Found',
  6764. 'optional--',
  6765. 'optional2--',
  6766. "//a[contains(@href,'cloudstor.es')]");
  6767. }
  6768. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6769. {
  6770. addFileHost(
  6771. "streamfile\.com\/\\w+",
  6772. 'class="btn',
  6773. 'class="green-btn',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'streamfile.com')]");
  6777. }
  6778. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6779. {
  6780. addFileHost(
  6781. "eyesfile\.ca\/\\w+",
  6782. 'value="Get Link',
  6783. 'var rr =',
  6784. 'optional--',
  6785. 'optional2--',
  6786. "//a[contains(@href,'eyesfile.ca')]");
  6787. }
  6788. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6789. {
  6790. addFileHost(
  6791. "filemoney\.com\/\\w+",
  6792. 'og:title',
  6793. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6794. 'error-code">1010',
  6795. 'optional2--',
  6796. "//a[contains(@href,'filemoney.com')]");
  6797. }
  6798. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6799. {
  6800. addFileHost(
  6801. "uploadboy\.com\/\\w+",
  6802. 'width="740">|method_free',
  6803. 'var rr =|background:#ffffff|not be found|file was removed',
  6804. 'optional--',
  6805. 'optional2--',
  6806. "//a[contains(@href,'uploadboy.com')]");
  6807. }
  6808. if (GM_getValue("Check_uploadboy_dot_me_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.me')]");
  6817. }
  6818. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6819. {
  6820. addFileHost(
  6821. "speedshare\.eu\/\\w+",
  6822. 'favicon.png|color:#3d87c0|cross.png"',
  6823. 'var rr =|File Not Found|style="background:#eee',
  6824. 'optional--',
  6825. 'optional2--',
  6826. "//a[contains(@href,'speedshare.eu')]");
  6827. }
  6828. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6829. {
  6830. addFileHost(
  6831. "unlimitzone\.com\/\\w+",
  6832. 'name="method_free',
  6833. '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',
  6834. 'optional--',
  6835. 'optional2--',
  6836. "//a[contains(@href,'unlimitzone.com')]");
  6837. }
  6838. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6839. {
  6840. addFileHost(
  6841. "rioupload\.com\/\\w+",
  6842. 'sell.jpg',
  6843. 'var rr =',
  6844. 'optional--',
  6845. 'optional2--',
  6846. "//a[contains(@href,'rioupload.com')]");
  6847. }
  6848. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6849. {
  6850. addFileHost(
  6851. "jumbofiles\.org\/\\w+",
  6852. 'H71C5.png|class="downloadtitle">',
  6853. 'var swfu|ViewSourceBIN.png',
  6854. 'optional--',
  6855. 'optional2--',
  6856. "//a[contains(@href,'jumbofiles.org')]");
  6857. }
  6858. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6859. {
  6860. addFileHost(
  6861. "fshare\\.vn\/file\/\\w+",
  6862. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6863. 'không tồn tại|class="color_red m_t_50"',
  6864. 'optional--',
  6865. 'optional2--',
  6866. "//a[contains(@href,'fshare.vn/file')]",
  6867. true
  6868. );
  6869. }
  6870. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6871. {
  6872. addFileHost(
  6873. "spaceforfiles\.com\/\\w+",
  6874. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6875. 'var rr =|AVOID_IE_BUG',
  6876. 'optional--',
  6877. 'optional2--',
  6878. "//a[contains(@href,'spaceforfiles.com')]");
  6879. }
  6880. if (GM_getValue("Check_google_dot_com_links", false))
  6881. {
  6882. addFileHost(
  6883. "google\\.com\/file\/\\w+",
  6884. 'content="!">|color:#2d2d2d',
  6885. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6886. 'optional--',
  6887. 'optional2--',
  6888. "//a[contains(@href,'google.com/file')]",
  6889. true
  6890. );
  6891. }
  6892. if (GM_getValue("Check_google_dot_com_links", false))
  6893. {
  6894. addFileHost(
  6895. "docs.google.com\/\\w+",
  6896. 'content="!">|color:#2d2d2d',
  6897. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6898. 'optional--',
  6899. 'optional2--',
  6900. "//a[contains(@href,'docs.google.com')]",
  6901. true
  6902. );
  6903. }
  6904. if (GM_getValue("Check_google_dot_com_links", false))
  6905. {
  6906. addFileHost(
  6907. "drive.google.com\/\\w+",
  6908. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6909. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6910. 'optional--',
  6911. 'optional2--',
  6912. "//a[contains(@href,'drive.google.com')]",
  6913. true
  6914. );
  6915. }
  6916. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6917. {
  6918. addFileHost(
  6919. "up.media1fire\.com\/\\w+",
  6920. 'class="addthis_|value="download',
  6921. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6922. 'optional--',
  6923. 'optional2--',
  6924. "//a[contains(@href,'up.media1fire.com')]");
  6925. }
  6926. if (GM_getValue("Check_depfile_dot_com_links", false))
  6927. {
  6928. addFileHost(
  6929. "depfile\.com\/\\w+",
  6930. 'logo_0.png|downloads.gif"|verifycode',
  6931. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6932. 'optional--',
  6933. 'available only for Premium users',
  6934. "//a[contains(@href,'depfile.com')]");
  6935. }
  6936. if (GM_getValue("Check_go4up_dot_com_links", false))
  6937. {
  6938. addFileHost(
  6939. "go4up\.com\/\\w+",
  6940. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6941. '<title>GO4UP|dmca',
  6942. 'optional--',
  6943. 'optional2--',
  6944. "//a[contains(@href,'go4up.com')]");
  6945. }
  6946. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6947. {
  6948. addFileHost(
  6949. "redbunker\.net\/\\w+",
  6950. 'name="method_free"',
  6951. 'color="red">Unknow / Bilinmiyor<',
  6952. 'optional--',
  6953. '2.3 GB',
  6954. "//a[contains(@href,'redbunker.net')]");
  6955. }
  6956. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6957. {
  6958. addFileHost(
  6959. "divxpress\.com\/\\w+",
  6960. 'btn_download|logo.png"',
  6961. 'AVOID_IE_BUG|var rr =',
  6962. 'optional--',
  6963. 'optional2--',
  6964. "//a[contains(@href,'divxpress.com')]");
  6965. }
  6966. if (GM_getValue("Check_anafile_dot_com_links", false))
  6967. {
  6968. addFileHost(
  6969. "anafile\.com\/\\w+",
  6970. 'width="881" valign="top|color="#800080"|name="go"',
  6971. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6972. 'optional--',
  6973. 'optional2--',
  6974. "//a[contains(@href,'anafile.com')]");
  6975. }
  6976. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6977. {
  6978. addFileHost(
  6979. "uploadable\\.ch\/file\/\\w+",
  6980. 'captcha.js"|payment.js"|class="btn_download"',
  6981. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6982. 'optional--',
  6983. 'optional2--',
  6984. "//a[contains(@href,'uploadable.ch/file')]",
  6985. true
  6986. );
  6987. }
  6988. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6989. {
  6990. addFileHost(
  6991. "bigfile\\.to\/file\/\\w+",
  6992. 'captcha.js"|payment.js"|class="btn_download"',
  6993. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6994. 'optional--',
  6995. 'optional2--',
  6996. "//a[contains(@href,'bigfile.to/file')]",
  6997. true
  6998. );
  6999. }
  7000. if (GM_getValue("Check_arabloads_dot_net_links", false))
  7001. {
  7002. addFileHost(
  7003. "arabloads\.net\/\\w+",
  7004. 'name="method_free"|name="method_premium"',
  7005. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  7006. 'optional--',
  7007. 'optional2--',
  7008. "//a[contains(@href,'arabloads.net')]");
  7009. }
  7010. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  7011. {
  7012. addFileHost(
  7013. "sharerepo\.com\/\\w+",
  7014. 'name="method_free"',
  7015. 'var public_on=|The file you were looking for could not be found',
  7016. 'optional--',
  7017. 'optional2--',
  7018. "//a[contains(@href,'sharerepo.com')]");
  7019. }
  7020. if (GM_getValue("Check_sfshare_dot_se_links", false))
  7021. {
  7022. addFileHost(
  7023. "sfshare\.se\/\\w+",
  7024. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  7025. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  7026. 'optional--',
  7027. 'optional2--',
  7028. "//a[contains(@href,'sfshare.se')]");
  7029. }
  7030. if (GM_getValue("Check_files_dot_fm_links", false))
  7031. {
  7032. addFileHost(
  7033. "files\.fm\/\\w+",
  7034. 'dl.png"|background-color: transparent',
  7035. 'margin: 40px 40px|background: none;',
  7036. 'optional--',
  7037. 'optional2--',
  7038. "//a[contains(@href,'files.fm')]");
  7039. }
  7040. if (GM_getValue("Check_koofile_dot_com_links", false))
  7041. {
  7042. addFileHost(
  7043. "koofile\.com\/\\w+",
  7044. 'value="download1">|name="method_free"',
  7045. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  7046. 'optional--',
  7047. 'optional2--',
  7048. "//a[contains(@href,'koofile.com')]");
  7049. }
  7050. if (GM_getValue("Check_vidxden_dot_com_links", false))
  7051. {
  7052. addFileHost(
  7053. "vidxden\\.com\/\\w+",
  7054. 'Continue to Video"',
  7055. 'No such file',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'vidxden.com')]"
  7059. );
  7060. }
  7061. if (GM_getValue("Check_muchshare_dot_net_links", false))
  7062. {
  7063. addFileHost(
  7064. "muchshare\\.net\/\\w+",
  7065. 'id="btn_download"',
  7066. 'File Not Found|width: 500px; text-align: left;',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'muchshare.net')]"
  7070. );
  7071. }
  7072. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  7073. {
  7074. addFileHost(
  7075. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  7076. 'Details zur Datei|Details page',
  7077. 'Jetzt hochladen|upload now',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  7081. );
  7082. }
  7083. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  7084. {
  7085. addFileHost(
  7086. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  7087. 'downloadbtn"',
  7088. 'DL_FileNotFound',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  7092. );
  7093. }
  7094. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  7095. {
  7096. addFileHost(
  7097. "fileflyer\.com\/view\/\\w+",
  7098. '(?:dwl|locked)btn"',
  7099. 'error.gif"|link">Removed|removedlink">',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'fileflyer.com')]"
  7103. );
  7104. }
  7105. if (GM_getValue("Check_filestore_dot_to_links", false))
  7106. {
  7107. addFileHost(
  7108. "filestore\.to\/\\?d=\\w+",
  7109. '"downloading"',
  7110. 'Datei wurde nicht gefunden',
  7111. 'optional--',
  7112. 'optional2--',
  7113. "//a[contains(@href,'filestore.to')]"
  7114. );
  7115. }
  7116. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  7117. {
  7118. addFileHost(
  7119. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  7120. 'fz24">Download|class="pl15">',
  7121. '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',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  7125. );
  7126. }
  7127. /* if (GM_getValue("Check_burnupload_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. "burnupload\\.(?:com\/\\?d=|ihiphop\\.com\/download\\.php\\?id=)\\w+",
  7131. 'File size:',
  7132. 'file is not found',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]"
  7136. );
  7137. } */
  7138. if (GM_getValue("Check_datei_dot_to_links", false))
  7139. {
  7140. addFileHost(
  7141. "datei\\.to\/\\??\\w+",
  7142. 'icon_downloaden\\.png|>Download starten<',
  7143. 'Datei wurde nicht gefunden|icon_deleted.png',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'datei.to')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_yunfile_dot_com_links", false))
  7150. {
  7151. addFileHost(
  7152. "(?:yunfile|filemarkets)\\.com\/\\w+",
  7153. '<body class="body" id="body">|value="Slow Download"',
  7154. '<body class="body" >',
  7155. 'optional--',
  7156. 'optional2--',
  7157. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  7158. );
  7159. }
  7160. /* if (GM_getValue("Check_uploadhero_dot_com_links", false))
  7161. {
  7162. addFileHost(
  7163. "uploadhero\\.com\/dl\/\\w+",
  7164. 'content-dl">',
  7165. 'men_file_lost\\.jpg"',
  7166. 'optional--',
  7167. 'optional2--',
  7168. "//a[contains(@href,'uploadhero.com/dl')]"
  7169. );
  7170. } */
  7171. if (GM_getValue("Check_unibytes_dot_com_links", false))
  7172. {
  7173. addFileHost(
  7174. "unibytes\\.com\/[\\w\.]+",
  7175. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  7176. 'File not found|Файл не найден|',
  7177. 'optional--',
  7178. 'optional2--',
  7179. "//a[contains(@href,'unibytes.com')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  7183. {
  7184. addFileHost(
  7185. "www\\.hellshare\\.com\/\\d+",
  7186. 'tab\\-details"',
  7187. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7188. 'optional--',
  7189. 'optional2--',
  7190. "//a[contains(@href,'www.hellshare.com')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  7194. {
  7195. addFileHost(
  7196. "www\\.download.cz.hellshare\\.com\/\\w+",
  7197. 'tab\\-details"',
  7198. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  7199. 'optional--',
  7200. 'optional2--',
  7201. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  7202. );
  7203. }
  7204. /* if (GM_getValue("Check_quickshare_dot_cz_links", false)) //folders
  7205. {
  7206. addFileHost(
  7207. "quickshare\\.cz\/slozka-\\d+",
  7208. 'Počet souborů: <strong>[1-9]',
  7209. 'Počet souborů: <strong>0|Chyba! Taková složka neexistuje',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'quickshare.cz/slozka')]"
  7213. );
  7214. } */
  7215. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  7216. {
  7217. addFileHost(
  7218. "filefactory\\.com\/f\/\\w+",
  7219. 'folderFileList">',
  7220. 'table class="items"|Pointer" class="red">',
  7221. 'optional--',
  7222. 'optional2--',
  7223. "//a[contains(@href,'filefactory.com/f/')]"
  7224. );
  7225. }
  7226. /* if (GM_getValue("Check_netload_dot_in_links", false)) //folders
  7227. {
  7228. addFileHost(
  7229. "netfolder\\.in\/\\w+",
  7230. 'list" value="http',
  7231. 'InPage_Error">|list" value=""',
  7232. 'optional--',
  7233. 'optional2--',
  7234. "//a[contains(@href,'netfolder.in')]"
  7235. );
  7236. } */
  7237. if (GM_getValue("Check_load_dot_to_links", false))
  7238. {
  7239. addFileHost(
  7240. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  7241. '"download_table_left">Size',
  7242. 'Can\'t find file',
  7243. 'optional--',
  7244. 'optional2--',
  7245. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  7246. );
  7247. }
  7248. if (GM_getValue("Check_divshare_dot_com_links", false))
  7249. {
  7250. addFileHost(
  7251. "divshare\\.com\/download\/",
  7252. 'download_new\.png',
  7253. 'have been removed',
  7254. 'optional--',
  7255. 'optional2--',
  7256. "//a[contains(@href,'divshare.com')]"
  7257. );
  7258. }
  7259. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  7260. {
  7261. addFileHost(
  7262. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  7263. 'class="nazev-souboru',
  7264. '<div class="background margin-top vlevo" style="width: 600px;">',
  7265. 'optional--',
  7266. 'optional2--',
  7267. "//a[contains(@href,'euroshare.eu/file')]"
  7268. );
  7269. }
  7270. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  7271. {
  7272. addFileHost(
  7273. 'files\\.mail\\.ru/(?:\\w*)',
  7274. 'fileList',
  7275. 'errorMessage',
  7276. 'optional--',
  7277. 'optional2--',
  7278. "//a[contains(@href,'files.mail.ru')]"
  7279. );
  7280. }
  7281. if (GM_getValue("Check_megashares_dot_com_links", false))
  7282. {
  7283. addFileHost(
  7284. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7285. 'Filesize',
  7286. 'Invalid|deleted|Could not download file',
  7287. 'slots|scheduled maintenance',
  7288. 'optional2--',
  7289. "//a[contains(@href,'megashares.com/')]"
  7290. );
  7291. }
  7292. if (GM_getValue("Check_narod_dot_ru_links", false))
  7293. {
  7294. addFileHost(
  7295. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7296. 'b-submit|action="resource.download"',
  7297. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7298. 'Внутренняя ошибка сервиса',
  7299. 'optional2--',
  7300. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7301. );
  7302. }
  7303. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7304. {
  7305. addFileHost(
  7306. "rayfile\\.com\/",
  7307. 'FILEtitleTXT',
  7308. 'blueRow',
  7309. 'optional--',
  7310. 'optional2--',
  7311. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7312. );
  7313. }
  7314. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7315. {
  7316. addFileHost(
  7317. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7318. 'button_green_body"',
  7319. 'error">',
  7320. 'optional--',
  7321. 'optional2--',
  7322. "//a[contains(@href,'filesmonster.com/download')]"
  7323. );
  7324. }
  7325. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7326. {
  7327. addFileHost(
  7328. 'usaupload\\.net\/d\/(?:\w*)',
  7329. '<strong>File size:</strong>',
  7330. 'is not available',
  7331. 'optional--',
  7332. 'optional2--',
  7333. "//a[contains(@href,'usaupload.net/d/')]"
  7334. );
  7335. }
  7336. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7337. {
  7338. addFileHost(
  7339. 'sendspace\\.com\/file\/\\w+',
  7340. 'file_description',
  7341. 'msg error"',
  7342. 'optional--',
  7343. 'optional2--',
  7344. "//a[contains(@href,'sendspace.com/file')]"
  7345. );
  7346. }
  7347. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7348. {
  7349. addFileHost(
  7350. 'sendspace\\.pl\/file\/\\w+',
  7351. 'download_file"',
  7352. 'Podany plik nie',
  7353. 'optional--',
  7354. 'optional2--',
  7355. "//a[contains(@href,'sendspace.pl/file')]"
  7356. );
  7357. }
  7358. if (GM_getValue("Check_uploading_dot_com_links", false))
  7359. {
  7360. addFileHost(
  7361. 'uploading\\.com\/(?:files\/)?\\w+',
  7362. 'free_method">',
  7363. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7364. 'optional--',
  7365. 'optional2--',
  7366. "//a[contains(@href,'uploading.com')]"
  7367. );
  7368. }
  7369. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7370. {
  7371. addFileHost(
  7372. 'gigasize\\.com\/get\\.php(?:\/\\d+|\\?d=\\w+)',
  7373. 'fileId"',
  7374. 'error">',
  7375. 'optional--',
  7376. 'optional2--',
  7377. "//a[contains(@href,'gigasize.com/get')]"
  7378. );
  7379. }
  7380. if (GM_getValue("Check_good_dot_com_links", false))
  7381. {
  7382. addFileHost(
  7383. 'good\\.net\/(?:_|dl)',
  7384. 'Free Download',
  7385. 'Not Found',
  7386. 'Forbidden',
  7387. 'optional2--',
  7388. "//a[contains(@href,'good.net')]"
  7389. );
  7390. }
  7391. if (GM_getValue("Check_2shared_dot_com_links", false))
  7392. {
  7393. addFileHost(
  7394. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7395. 'File size',
  7396. 'File not found|is not valid|/images/important.gif',
  7397. 'optional--',
  7398. 'optional2--',
  7399. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7400. );
  7401. }
  7402. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7403. {
  7404. addFileHost(
  7405. 'turboupload\\.com\/\\w*',
  7406. 'You have requested',
  7407. 'File Not Found',
  7408. 'optional--',
  7409. 'optional2--',
  7410. "//a[contains(@href,'turboupload.com')]"
  7411. );
  7412. }
  7413. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7414. {
  7415. addFileHost(
  7416. 'gigapeta\\.com\/dl\/',
  7417. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7418. '404|page_error',
  7419. 'optional--',
  7420. 'optional2--',
  7421. "//a[contains(@href,'gigapeta.com/dl')]"
  7422. );
  7423. }
  7424. if (GM_getValue("Check_veehd_dot_com_links", false))
  7425. {
  7426. addFileHost(
  7427. 'veehd\.com\/video\/.*?',
  7428. 'No sound|Download video',
  7429. 'Featured Videos',
  7430. 'optional--',
  7431. 'optional2--',
  7432. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7433. );
  7434. }
  7435. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7436. {
  7437. addFileHost(
  7438. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7439. 'fast_download_form">|submit_sms_download',
  7440. '<p style="text-align:center">',
  7441. 'optional--',
  7442. 'optional2--',
  7443. "//a[contains(@href,'vip-file.com/download')]"
  7444. );
  7445. }
  7446. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7447. {
  7448. addFileHost(
  7449. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7450. 'download\\-pnl ',
  7451. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7452. 'optional--',
  7453. 'optional2--',
  7454. "//a[contains(@href,'letitbit.net/download')]"
  7455. );
  7456. }
  7457. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7458. {
  7459. addFileHost(
  7460. 'ifolder\.ru\/\\d+',
  7461. 'file-info',
  7462. 'ui-state-error',
  7463. 'optional--',
  7464. 'optional2--',
  7465. "//a[contains(@href,'ifolder.ru')]"
  7466. );
  7467. }
  7468. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7469. {
  7470. addFileHost(
  7471. 'fileswap\\.com\/dl\/\\w+',
  7472. 'bttnDownloadLink"',
  7473. 'rounded_block_error"',
  7474. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7475. 'optional2--',
  7476. "//a[contains(@href,'fileswap.com/dl')]"
  7477. );
  7478. }
  7479. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7480. {
  7481. addFileHost(
  7482. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7483. 'var __error = 0|id="recaptchaPanel">',
  7484. 'FILES__DOESNT_EXIST|removed or did not exist',
  7485. 'optional--',
  7486. 'optional2--',
  7487. "//a[contains(@href,'filecloud.io/')]"
  7488. );
  7489. addFileHost(
  7490. 'ifile\\.it\/\\w+',
  7491. 'var __error = 0',
  7492. 'FILES__DOESNT_EXIST',
  7493. 'optional--',
  7494. 'optional2--',
  7495. "//a[contains(@href,'ifile.it/')]"
  7496. );
  7497. }
  7498. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7499. {
  7500. addFileHost(
  7501. 'solidfiles\\.com\/\\w+',
  7502. 'id="download"|content="Download',
  7503. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7504. 'optional--',
  7505. 'optional2--',
  7506. "//a[contains(@href,'solidfiles.com/')]"
  7507. );
  7508. }
  7509. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7510. {
  7511. addFileHost(
  7512. "(?:.\\.|)shareflare\\.net",
  7513. 'download-pnl|<div class="premium-block">',
  7514. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7515. 'optional--',
  7516. 'optional2--',
  7517. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7518. );
  7519. }
  7520. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7521. {
  7522. addFileHost(
  7523. "u18116681.shareflare\\.net",
  7524. 'download-pnl|<div class="premium-block">',
  7525. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7526. 'optional--',
  7527. 'optional2--',
  7528. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7529. );
  7530. }
  7531. if (GM_getValue("Check_uloz_dot_to_links", false))
  7532. {
  7533. addFileHost(
  7534. "(?:uloz|ulozto|bagruj|zachowajto)\\.(to|cz|sk|net|pl)\/\\w",
  7535. 'fileDownload"|fileSize">',
  7536. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  7537. 'passwordProtectedFile">|frmaskAgeForm-disagree',
  7538. 'optional2--',
  7539. "//a[contains(@href,'bagruj.cz') or contains(@href,'uloz.to') or contains(@href,'ulozto.') or contains(@href,'zachowajto.pl')]",
  7540. true
  7541. );
  7542. }
  7543. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7544. {
  7545. addFileHost(
  7546. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7547. 'file\\-list-orderby|section-filedetail">',
  7548. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7549. 'optional--',
  7550. 'optional2--',
  7551. "//a[contains(@href,'hellspy.')]"
  7552. );
  7553. }
  7554. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7555. {
  7556. addFileHost(
  7557. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7558. '<body onload="">',
  7559. 'neexistuje|not exist',
  7560. 'optional--',
  7561. 'optional2--',
  7562. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7563. );
  7564. }
  7565. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7566. {
  7567. addFileHost(
  7568. "stahovanizasms\\.cz\/\\w+",
  7569. 'download\\.png>|font-size:11px><tr>',
  7570. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7571. 'optional--',
  7572. 'optional2--',
  7573. "//a[contains(@href,'stahovanizasms.cz')]"
  7574. );
  7575. }
  7576. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7577. {
  7578. addFileHost(
  7579. "share-links\\.biz\/\\w*",
  7580. 'online\\.gif',
  7581. '(?:offline|parts)\\.gif',
  7582. 'optional--',
  7583. 'optional2--',
  7584. "//a[contains(@href,'share-links.biz')]"
  7585. );
  7586. }
  7587. if (GM_getValue("Check_4shared_dot_com_links", false))
  7588. {
  7589. addFileHost(
  7590. "4shared\\.com\/.+\/",
  7591. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7592. 'class="warn\"|big red"|GetDataBack',
  7593. 'Service Unavailable',
  7594. 'optional2--',
  7595. "//a[contains(@href,'4shared.com')]"
  7596. );
  7597. }
  7598. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7599. {
  7600. addFileHost(
  7601. "(?:www\\d+\.|)zippyshare\.com\/",
  7602. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7603. 'not exist|Status 404',
  7604. 'optional--',
  7605. 'optional2--',
  7606. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7607. );
  7608. }
  7609. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7610. {
  7611. addFileHost(
  7612. "mediafire\.com\/",
  7613. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7614. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7615. 'set to private',
  7616. 'optional2--',
  7617. "//a[contains(@href,'mediafire.com')]"
  7618. );
  7619. }
  7620. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7621. {
  7622. addFileHost(
  7623. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7624. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7625. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7626. 'optional--',
  7627. 'GB</small>',
  7628. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7629. );
  7630. }
  7631. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7632. {
  7633. addFileHost(
  7634. "ulozisko\.sk\/",
  7635. 'Detaily',
  7636. 'neexistuje',
  7637. 'optional--',
  7638. 'optional2--',
  7639. "//a[contains(@href,'ulozisko.sk')]"
  7640. );
  7641. }
  7642. if (GM_getValue("Check_upnito_dot_sk_links", false))
  7643. {
  7644. addFileHost(
  7645. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  7646. 'download.php',
  7647. 'notfound|upload\\-suborov\\.php"',
  7648. 'optional--',
  7649. 'optional2--',
  7650. "//a[contains(@href,'upnito.sk')]"
  7651. );
  7652. }
  7653. if (GM_getValue("Check_box_dot_com_links", false))
  7654. {
  7655. addFileHost(
  7656. "box\.com\/\\w+",
  7657. 'download-file-btn|id="download_button|preview-download',
  7658. 'BIyMin.png| <div class="error_message|link has been removed',
  7659. 'optional--',
  7660. 'optional2--',
  7661. "//a[contains(@href,'app.box.com')]");
  7662. }
  7663. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7664. {
  7665. addFileHost(
  7666. "uptobox\\.com\/\\w+",
  7667. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7668. '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|لا يوجد أي ملف',
  7669. 'Maintenance',
  7670. 'optional2--',
  7671. "//a[contains(@href,'uptobox.com')]"
  7672. );
  7673. }
  7674. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7675. {
  7676. addFileHost(
  7677. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7678. 'FILE DOWNLOAD<',
  7679. 'File Does Not Exist',
  7680. 'optional--',
  7681. 'optional2--',
  7682. "//a[contains(@href,'sharecash.org/download.php')]"
  7683. );
  7684. }
  7685. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7686. {
  7687. addFileHost(
  7688. "depositfiles\\.com\/folders\/\\w+",
  7689. '<div class="progressContainer">',
  7690. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'depositfiles.com/folders')]"
  7694. );
  7695. }
  7696. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7697. {
  7698. addFileHost(
  7699. "rapidfileshare\\.net/\\w+",
  7700. '<div id="upload-header-bg">',
  7701. '<div style="width:500px;text-align:left;">',
  7702. 'optional--',
  7703. 'optional2--',
  7704. "//a[contains(@href,'rapidfileshare.net/')]"
  7705. );
  7706. }
  7707. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7708. {
  7709. addFileHost(
  7710. "stiahnito\\.sk/",
  7711. '<span class="filesize right">',
  7712. '<ol class="list-purp-2">',
  7713. 'optional--',
  7714. 'optional2--',
  7715. "//a[contains(@href,'stiahnito.sk/')]"
  7716. );
  7717. }
  7718. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7719. {
  7720. addFileHost(
  7721. "rusfolder\\.(?:com|net)",
  7722. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7723. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7724. 'optional--',
  7725. 'optional2--',
  7726. "//a[contains(@href,'rusfolder')]"
  7727. );
  7728. }
  7729. /* if (GM_getValue("Check_fileover_dot_net_links", false))
  7730. {
  7731. addFileHost(
  7732. "fileover\\.net/\\d+",
  7733. 'id="filesize"',
  7734. 'Not found or deleted|The following file is unavailable',
  7735. 'optional--',
  7736. 'optional2--',
  7737. "//a[contains(@href,'fileover.net/')]"
  7738. );
  7739. } */
  7740. if (GM_getValue("Check_catshare_dot_net_links", false))
  7741. {
  7742. addFileHost(
  7743. "catshare\\.net/\\w+",
  7744. '"icon-share',
  7745. 'alert alert-error',
  7746. 'optional--',
  7747. 'optional2--',
  7748. "//a[contains(@href,'catshare.net/')]"
  7749. );
  7750. }
  7751. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7752. {
  7753. addFileHost(
  7754. "anonfiles\\.com/\\w+",
  7755. '"download_button"',
  7756. '<legend><b>404</b>',
  7757. 'optional--',
  7758. 'optional2--',
  7759. "//a[contains(@href,'anonfiles.com')]"
  7760. );
  7761. }
  7762. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7763. {
  7764. addFileHost(
  7765. "mixturecloud\\.com/media/\\w+",
  7766. '"btn icon i_globe gray share_150',
  7767. '"s_cross_close"></span> 404:',
  7768. 'optional--',
  7769. 'optional2--',
  7770. "//a[contains(@href,'mixturecloud.com/media/')]"
  7771. );
  7772. }
  7773. if (GM_getValue("Check_akafile_dot_com_links", false))
  7774. {
  7775. addFileHost(
  7776. "akafile\\.com\/\\w+",
  7777. 'download1',
  7778. 'File Not Found',
  7779. 'optional--',
  7780. 'optional2--',
  7781. "//a[contains(@href,'akafile.com/')]"
  7782. );
  7783. }
  7784. if (GM_getValue("Check_creafile_dot_net_links", false))
  7785. {
  7786. addFileHost(
  7787. "creafile\\.net\/\\w+",
  7788. 'downloadblock',
  7789. 'errtitle',
  7790. 'optional--',
  7791. 'optional2--',
  7792. "//a[contains(@href,'creafile.net/')]"
  7793. );
  7794. }
  7795. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7796. {
  7797. addFileHost(
  7798. "hugefiles\\.net\/\\w+",
  7799. 'download1|class="btn-create-download" value="Create Download Link">',
  7800. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7801. 'optional--',
  7802. 'optional2--',
  7803. "//a[contains(@href,'hugefiles.net/')]"
  7804. );
  7805. }
  7806. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7807. {
  7808. addFileHost(
  7809. "sendmyway\\.com\/\\w+",
  7810. 'id="btn_download"',
  7811. '500px;text-align:left;"|<center><h3>',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'sendmyway.com/')]"
  7815. );
  7816. }
  7817. if (GM_getValue("Check_upload_dot_ee_links", false))
  7818. {
  7819. addFileHost(
  7820. "upload\\.ee\/\\w+",
  7821. 'onmouseout="document.dllink.src',
  7822. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7823. 'optional--',
  7824. 'optional2--',
  7825. "//a[contains(@href,'upload.ee/')]"
  7826. );
  7827. }
  7828. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7829. {
  7830. addFileHost(
  7831. "shareplace\\.org\/\\?\\w+",
  7832. 'Download-Link',
  7833. 'Your requested file is not found|Select file to send',
  7834. 'optional--',
  7835. 'optional2--',
  7836. "//a[contains(@href,'shareplace.org/?')]"
  7837. );
  7838. }
  7839. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7840. {
  7841. addFileHost(
  7842. "uploadc\\.com\/\\w+",
  7843. 'id="prebut"',
  7844. 'File Not Found|This file has been removed due',
  7845. 'optional--',
  7846. 'optional2--',
  7847. "//a[contains(@href,'uploadc.com/')]"
  7848. );
  7849. }
  7850. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7851. {
  7852. addFileHost(
  7853. "remixshare\\.com\/\\w+",
  7854. 'id="dl2"',
  7855. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7856. 'optional--',
  7857. 'optional2--',
  7858. "//a[contains(@href,'remixshare.com/')]"
  7859. );
  7860. }
  7861. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7862. {
  7863. addFileHost(
  7864. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7865. 'Last Download :',
  7866. 'img src="\\/404.jpg"',
  7867. 'optional--',
  7868. 'optional2--',
  7869. "//a[contains(@href,'exoshare.com/download.php')]"
  7870. );
  7871. }
  7872. if (GM_getValue("Check_borncash_dot_org_links", false))
  7873. {
  7874. addFileHost(
  7875. "borncash\\.org\/download\/\\?a=\\w+",
  7876. 'class="knop_1"',
  7877. '\/error\/er00',
  7878. 'optional--',
  7879. 'optional2--',
  7880. "//a[contains(@href,'borncash.org/download/')]"
  7881. );
  7882. }
  7883. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7884. {
  7885. addFileHost(
  7886. "vidplay\.net\/\\w+",
  7887. 'solvemedia puzzle widget',
  7888. 'File not found|AVOID_IE_BUG',
  7889. 'optional--',
  7890. 'optional2--',
  7891. "//a[contains(@href,'vidplay.net')]");
  7892. }
  7893. if (GM_getValue("Check_storagon_dot_com_links", false))
  7894. {
  7895. addFileHost(
  7896. "storagon\.com\/\\w+",
  7897. 'class="icon-cloud-download"></i>|content="Download Options',
  7898. 'content="Download Downloads|class="error-container">|class="bigger-300 bolder">404<',
  7899. 'optional--',
  7900. 'optional2--',
  7901. "//a[contains(@href,'storagon.com')]");
  7902. }
  7903. if (GM_getValue("Check_filedais_dot_com_links", false))
  7904. {
  7905. addFileHost(
  7906. "filedais\.com\/\\w+",
  7907. 'class="btn btn-info"|name="method_free"',
  7908. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7909. 'optional--',
  7910. 'optional2--',
  7911. "//a[contains(@href,'filedais.com')]");
  7912. }
  7913. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7914. {
  7915. addFileHost(
  7916. "up.4share\.vn\/\\w+",
  7917. '<font size="2" face="Verdana">',
  7918. 'font: 13px Tahoma; color: Brown',
  7919. 'optional--',
  7920. 'optional2--',
  7921. "//a[contains(@href,'up.4share.vn')]");
  7922. }
  7923. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7924. {
  7925. addFileHost(
  7926. "share.vnn\.vn\/\\w+",
  7927. '"index,follow"|<div class="main" id="download-box">',
  7928. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7929. 'optional--',
  7930. 'optional2--',
  7931. "//a[contains(@href,'share.vnn.vn')]");
  7932. }
  7933. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7934. {
  7935. addFileHost(
  7936. "upfile\.vn\/\\w+",
  7937. 'download-timer',
  7938. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7939. 'optional--',
  7940. 'optional2--',
  7941. "//a[contains(@href,'upfile.vn')]");
  7942. }
  7943. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7944. {
  7945. addFileHost(
  7946. "aisfile\.com\/\\w+",
  7947. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7948. '<div style="width:500px;text-align:left;">|File Not Found',
  7949. 'optional--',
  7950. 'optional2--',
  7951. "//a[contains(@href,'aisfile.com')]");
  7952. }
  7953. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7954. {
  7955. addFileHost(
  7956. "usersfiles\.com\/\\w+",
  7957. 'class="btn btn-success|id="btn_download" class="btn"',
  7958. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7959. 'optional--',
  7960. 'optional2--',
  7961. "//a[contains(@href,'usersfiles.com')]");
  7962. }
  7963. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7964. {
  7965. addFileHost(
  7966. "pan.baidu\.com\/\\w+",
  7967. 'target="_blank" title=|share-personal-info',
  7968. 'share_notfound.png|background:#f9f9f9',
  7969. 'optional--',
  7970. 'optional2--',
  7971. "//a[contains(@href,'pan.baidu.com')]");
  7972. }
  7973. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7974. {
  7975. addFileHost(
  7976. "yunpan\.cn\/\\w+",
  7977. 'class="icon icon-download',
  7978. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7979. 'optional--',
  7980. 'optional2--',
  7981. "//a[contains(@href,'yunpan.cn')]");
  7982. }
  7983. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7984. {
  7985. addFileHost(
  7986. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7987. 'getElementById("downbild")|style.display',
  7988. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7989. 'optional--',
  7990. 'optional2--',
  7991. "//a[contains(@href,'file-upload.net')]");
  7992. }
  7993. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7994. {
  7995. addFileHost(
  7996. "gulfup\.com\/",
  7997. '<!-- Downlod template -->|download.gif',
  7998. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7999. 'optional--',
  8000. 'optional2--',
  8001. "//a[contains(@href,'gulfup.com')]");
  8002. }
  8003. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  8004. {
  8005. addFileHost(
  8006. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  8007. 'dldtable">',
  8008. 'does not exist\\.',
  8009. 'optional--',
  8010. 'optional2--',
  8011. "//a[contains(@href,'datafilehost.com')]");
  8012. }
  8013. if (GM_getValue("Check_dropbox_dot_com_links", false))
  8014. {
  8015. addFileHost(
  8016. "dropbox\.com\/s\/\\w+",
  8017. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  8018. '>Nothing Here<|>Error (404)<',
  8019. 'title>Dropbox - 509|Error (403)|Error: 429',
  8020. 'optional2--',
  8021. "//a[contains(@href,'dropbox.com')]");
  8022. }
  8023. if (GM_getValue("Check_box_dot_net_links", false))
  8024. {
  8025. addFileHost(
  8026. "box\.net\/\\w+",
  8027. 'download-file-btn|id="download_button',
  8028. 'BIyMin.png| <div class="error_message',
  8029. 'optional--',
  8030. 'optional2--',
  8031. "//a[contains(@href,'box.net')]");
  8032. }
  8033. if (GM_getValue("Check_fileband_dot_com_links", false))
  8034. {
  8035. addFileHost(
  8036. "fileband\.com\/\\w+",
  8037. 'value="download1">|name="id" value=',
  8038. '<div style="width:500px;text-align:left;">|not be found',
  8039. 'optional--',
  8040. 'optional2--',
  8041. "//a[contains(@href,'fileband.com')]");
  8042. }
  8043. if (GM_getValue("Check_filedropper_dot_com_links", false))
  8044. {
  8045. addFileHost(
  8046. "filedropper\.com\/\\w+",
  8047. 'background:#ddd;|width:985px; ',
  8048. 'background-color:#FFFFFF;|margin-left: -400px;',
  8049. 'optional--',
  8050. 'optional2--',
  8051. "//a[contains(@href,'filedropper.com')]");
  8052. }
  8053. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  8054. {
  8055. addFileHost(
  8056. "tropicshare\\.com\/files\/\\d+",
  8057. 'MB</span>|GB</span>|KB</span>',
  8058. '>FNF<|size: </span>',
  8059. 'optional--',
  8060. 'optional2--',
  8061. "//a[contains(@href,'tropicshare.com')]");
  8062. }
  8063. if (GM_getValue("Check_goldbytez_dot_com_links", false))
  8064. {
  8065. addFileHost(
  8066. "goldbytez\.com\/\\w+",
  8067. '<h2>Download</h2>|<center><h2>File: <font color="red">',
  8068. '<div style="width:500px;text-align:left;">|<h2>Error</h2>',
  8069. 'optional--',
  8070. 'optional2--',
  8071. "//a[contains(@href,'goldbytez.com')]");
  8072. }
  8073. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  8074. {
  8075. addFileHost(
  8076. "worldbytez\.com\/\\w+",
  8077. '<div class="download_type">',
  8078. '<div style="width:500px;text-align:left;">',
  8079. 'optional--',
  8080. 'optional2--',
  8081. "//a[contains(@href,'worldbytez.com')]");
  8082. }
  8083. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  8084. {
  8085. addFileHost(
  8086. "freefilehosting\.net\/\\w+",
  8087. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  8088. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  8089. 'optional--',
  8090. 'optional2--',
  8091. "//a[contains(@href,'freefilehosting.net')]");
  8092. }
  8093. if (GM_getValue("Check_ziddu_dot_com_links", false))
  8094. {
  8095. addFileHost(
  8096. "ziddu\.com\/\\w+",
  8097. 'downloads.ziddu.com|downloadfilelinkicon',
  8098. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  8099. 'optional--',
  8100. 'optional2--',
  8101. "//a[contains(@href,'ziddu.com')]");
  8102. }
  8103. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  8104. {
  8105. addFileHost(
  8106. "exclusiveloader\.com\/\\w+",
  8107. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  8108. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  8109. 'optional--',
  8110. 'optional2--',
  8111. "//a[contains(@href,'exclusiveloader.com')]");
  8112. }
  8113. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  8114. {
  8115. addFileHost(
  8116. "sharerapid\.cz\/\\w+",
  8117. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8118. 'error_div">|404 - Not Found',
  8119. 'optional--',
  8120. 'optional2--',
  8121. "//a[contains(@href,'sharerapid.cz')]");
  8122. }
  8123. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  8124. {
  8125. addFileHost(
  8126. "sdilej\.cz\/\\w+",
  8127. 'class="page-download"',
  8128. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  8129. 'optional--',
  8130. 'optional2--',
  8131. "//a[contains(@href,'sdilej.cz')]");
  8132. }
  8133. if (GM_getValue("Check_lafiles_dot_com_links", false))
  8134. {
  8135. addFileHost(
  8136. "lafiles\.com\/\\w+",
  8137. '<div id="pay_modes">',
  8138. '<b class="err"></b>',
  8139. 'optional--',
  8140. 'optional2--',
  8141. "//a[contains(@href,'lafiles.com')]");
  8142. }
  8143. if (GM_getValue("Check_acefile_dot_net_links", false))
  8144. {
  8145. addFileHost(
  8146. "acefile\.net\/\\w+",
  8147. 'align=right nowrap><b>',
  8148. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  8149. 'optional--',
  8150. 'optional2--',
  8151. "//a[contains(@href,'acefile.net')]");
  8152. }
  8153. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  8154. {
  8155. addFileHost(
  8156. "megarapid\.cz\/\\w+",
  8157. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  8158. 'error_div">|404 - Not Found',
  8159. 'optional--',
  8160. 'optional2--',
  8161. "//a[contains(@href,'megarapid.cz')]");
  8162. }
  8163. if (GM_getValue("Check_yadi_dot_sk_links", false))
  8164. {
  8165. addFileHost(
  8166. "yadi\.sk\/\\w+",
  8167. 'nb-button _nb-small-button',
  8168. 'error code|Nothing found',
  8169. 'optional--',
  8170. 'optional2--',
  8171. "//a[contains(@href,'yadi.sk')]");
  8172. }
  8173. /* if (GM_getValue("Check_imdb_dot_com_links", false))
  8174. {
  8175. addFileHost(
  8176. "imdb\.com\/\\w+",
  8177. 'imdb.com',
  8178. '404 Error',
  8179. 'optional--',
  8180. 'optional2--',
  8181. "//a[contains(@href,'imdb.com')]");
  8182. } */
  8183. if (GM_getValue("Check_hitfile_dot_net_links", false))
  8184. {
  8185. addFileHost(
  8186. "hitfile\.net\/\\w+",
  8187. 'class="download-file',
  8188. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  8189. 'optional--',
  8190. 'optional2--',
  8191. "//a[contains(@href,'hitfile.net')]");
  8192. }
  8193. /* if (GM_getValue("Check_nitroflare_dot_com_links", true))
  8194. {
  8195. addFileHost(
  8196. "nitroflare\.com\/\\w+",
  8197. 'Report this file</a>|KB</span>',
  8198. 'file has been removed|id="error" style="display|Probably deleted',
  8199. 'optional--',
  8200. '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',
  8201. "//a[contains(@href,'nitroflare.com')]");
  8202. } */
  8203. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  8204. {
  8205. addFileHost(
  8206. "up.top4top\.net\/\\w+",
  8207. 'start Downlod template',
  8208. 'start err template',
  8209. 'optional--',
  8210. 'optional2--',
  8211. "//a[contains(@href,'up.top4top.net')]");
  8212. }
  8213. if (GM_getValue("Check_filejoker_dot_net_links", false))
  8214. {
  8215. addFileHost(
  8216. "filejoker\.net\/\\w+",
  8217. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  8218. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  8219. 'optional--',
  8220. 'id="download" class="premium-only">',
  8221. "//a[contains(@href,'filejoker.net')]");
  8222. }
  8223. if (GM_getValue("Check_free_dot_fr_links", false))
  8224. {
  8225. addFileHost(
  8226. "(?:dl.\\.|)free\\.fr",
  8227. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  8228. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  8229. 'optional--',
  8230. 'optional2--',
  8231. "//a[contains(@href,'dl.free.fr')]");
  8232. }
  8233. if (GM_getValue("Check_gboxes_dot_com_links", false))
  8234. {
  8235. addFileHost(
  8236. "gboxes\.com\/\\w+",
  8237. 'You have requested|color="red">http://www.gboxes.com',
  8238. 'File Not Found|<div style="width:500px;text-align:left;">',
  8239. 'optional--',
  8240. 'optional2--',
  8241. "//a[contains(@href,'gboxes.com')]");
  8242. }
  8243. if (GM_getValue("Check_led_dot_wf_links", false))
  8244. {
  8245. addFileHost(
  8246. "led\.wf\/\\w+",
  8247. 'logo_0.png|downloads.gif"|verifycode',
  8248. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8249. 'optional--',
  8250. 'available only for Premium users',
  8251. "//a[contains(@href,'led.wf')]");
  8252. }
  8253. if (GM_getValue("Check_lan_dot_wf_links", false))
  8254. {
  8255. addFileHost(
  8256. "lan\.wf\/\\w+",
  8257. 'logo_0.png|downloads.gif"|verifycode',
  8258. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8259. 'optional--',
  8260. 'available only for Premium users',
  8261. "//a[contains(@href,'lan.wf')]");
  8262. }
  8263. if (GM_getValue("Check_adlink_dot_wf_links", false))
  8264. {
  8265. addFileHost(
  8266. "adlink\.wf\/\\w+",
  8267. 'logo_0.png|downloads.gif"|verifycode',
  8268. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8269. 'optional--',
  8270. 'available only for Premium users',
  8271. "//a[contains(@href,'adlink.wf')]");
  8272. }
  8273. if (GM_getValue("Check_click_dot_tf_links", false))
  8274. {
  8275. addFileHost(
  8276. "click\.tf\/\\w+",
  8277. 'logo_0.png|downloads.gif"|verifycode',
  8278. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8279. 'optional--',
  8280. 'available only for Premium users',
  8281. "//a[contains(@href,'click.tf')]");
  8282. }
  8283. if (GM_getValue("Check_ssh_dot_tf_links", false))
  8284. {
  8285. addFileHost(
  8286. "ssh\.tf\/\\w+",
  8287. 'logo_0.png|downloads.gif"|verifycode',
  8288. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8289. 'optional--',
  8290. 'available only for Premium users',
  8291. "//a[contains(@href,'ssh.tf')]");
  8292. }
  8293. if (GM_getValue("Check_ssh_dot_yt_links", false))
  8294. {
  8295. addFileHost(
  8296. "ssh\.yt\/\\w+",
  8297. 'logo_0.png|downloads.gif"|verifycode',
  8298. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  8299. 'optional--',
  8300. 'available only for Premium users',
  8301. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  8302. }
  8303. if (GM_getValue("Check_yep_dot_pm_links", false))
  8304. {
  8305. addFileHost(
  8306. "yep\.pm\/\\w+",
  8307. 'logo_0.png|downloads.gif"|verifycode',
  8308. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  8309. 'optional--',
  8310. 'available only for Premium users',
  8311. "//a[contains(@href,'yep.pm')]");
  8312. }
  8313. if (GM_getValue("Check_kyc_dot_pm_links", false))
  8314. {
  8315. addFileHost(
  8316. "kyc\.pm\/\\w+",
  8317. 'logo_0.png|downloads.gif"|verifycode',
  8318. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  8319. 'optional--',
  8320. 'available only for Premium users',
  8321. "//a[contains(@href,'kyc.pm')]");
  8322. }
  8323. if (GM_getValue("Check_brupload_dot_net_links", false))
  8324. {
  8325. addFileHost(
  8326. "brupload\.net\/\\w+",
  8327. 'Download Gratuito',
  8328. '<div style="width:500px;text-align:left;">',
  8329. 'optional--',
  8330. 'optional2--',
  8331. "//a[contains(@href,'brupload.net')]");
  8332. }
  8333. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  8334. {
  8335. addFileHost(
  8336. "cloudzilla\.to\/\\w+",
  8337. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8338. 'File not found|/imgs/broken.png',
  8339. 'optional--',
  8340. 'optional2--',
  8341. "//a[contains(@href,'cloudzilla.to')]");
  8342. }
  8343. /* if (GM_getValue("Check_fileparadox_dot_in_links", false))
  8344. {
  8345. addFileHost(
  8346. "fileparadox\.in\/\\w+",
  8347. 'CONTENT="Download File|method_free_file',
  8348. '>File Not Found<|id="no_filedownload">|FILE NOT FOUND|The file does not exist',
  8349. 'optional--',
  8350. 'optional2--',
  8351. "//a[contains(@href,'fileparadox.in')or contains(@href,'3files.net/')]");
  8352. } */
  8353. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  8354. {
  8355. addFileHost(
  8356. "clicknupload\.com\/\\w+",
  8357. 'name="method_free',
  8358. 'File Not Found',
  8359. 'optional--',
  8360. 'optional2--',
  8361. "//a[contains(@href,'clicknupload.com')]");
  8362. }
  8363. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8364. {
  8365. addFileHost(
  8366. "clicknupload\.me\/\\w+",
  8367. 'name="method_free',
  8368. 'File Not Found',
  8369. 'optional--',
  8370. 'optional2--',
  8371. "//a[contains(@href,'clicknupload.me')]");
  8372. }
  8373. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8374. {
  8375. addFileHost(
  8376. "clicknupload\.link\/\\w+",
  8377. 'name="method_free',
  8378. 'File Not Found',
  8379. 'optional--',
  8380. 'optional2--',
  8381. "//a[contains(@href,'clicknupload.link')]");
  8382. }
  8383. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8384. {
  8385. addFileHost(
  8386. "ex-load\.com\/\\w+",
  8387. 'name="method_free|<p>Download File:</p>',
  8388. 'Folder Not Found|File Not Found|Error 404',
  8389. 'optional--',
  8390. 'class="downprem wow bounceInLeft',
  8391. "//a[contains(@href,'ex-load.com')]");
  8392. }
  8393. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8394. {
  8395. addFileHost(
  8396. "hexupload\.com\/\\w+",
  8397. 'button" value="Free|type="submit" value=""',
  8398. 'File Not Found|<div style="width:500px;text-align:left;">',
  8399. 'optional--',
  8400. 'optional2--',
  8401. "//a[contains(@href,'hexupload.com')]");
  8402. }
  8403. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8404. {
  8405. addFileHost(
  8406. "wizupload\.com\/\\w+",
  8407. 'btn_download|class="downloadbtn"',
  8408. '>File Not Found<',
  8409. 'optional--',
  8410. 'optional2--',
  8411. "//a[contains(@href,'wizupload.com')]");
  8412. }
  8413. if (GM_getValue("Check_filecloud_dot_cc_links", false))
  8414. {
  8415. addFileHost(
  8416. "filecloud\.cc\/\\w+",
  8417. 'align="center"><input type="submit" name=',
  8418. 'File Not Found|<Title>FileCloud - Premium Hosting Service<',
  8419. 'optional--',
  8420. 'optional2--',
  8421. "//a[contains(@href,'filecloud.cc')]");
  8422. }
  8423. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8424. {
  8425. addFileHost(
  8426. "inclouddrive\.com\/\\w+",
  8427. 'initfreedownload',
  8428. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8429. 'optional--',
  8430. 'optional2--',
  8431. "//a[contains(@href,'inclouddrive.com')]");
  8432. }
  8433. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8434. {
  8435. addFileHost(
  8436. "radicalshare\.com\/\\w+",
  8437. 'value="download1|name="method_free"',
  8438. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8439. 'optional--',
  8440. 'optional2--',
  8441. "//a[contains(@href,'radicalshare.com')]");
  8442. }
  8443. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8444. {
  8445. addFileHost(
  8446. "sharemods\.com\/\\w+",
  8447. 'name="method_free"',
  8448. 'File Not Found<',
  8449. 'optional--',
  8450. 'optional2--',
  8451. "//a[contains(@href,'sharemods.com')]");
  8452. }
  8453. if (GM_getValue("Check_hostr_dot_co_links", false))
  8454. {
  8455. addFileHost(
  8456. "hostr\.co\/\\w+",
  8457. 'method="get"',
  8458. 'File not found<|error-page',
  8459. 'optional--',
  8460. 'optional2--',
  8461. "//a[contains(@href,'hostr.co')]");
  8462. }
  8463. if (GM_getValue("Check_filepi_dot_com_links", false))
  8464. {
  8465. addFileHost(
  8466. "filepi\.com\/\\w+",
  8467. 'id="button_start">',
  8468. 'File not found',
  8469. 'optional--',
  8470. 'optional2--',
  8471. "//a[contains(@href,'filepi.com')]");
  8472. }
  8473. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8474. {
  8475. addFileHost(
  8476. "tikfile\.com\/\\w+",
  8477. 'btn_download',
  8478. 'File Not Found|file was removed|Reason for deletion',
  8479. 'optional--',
  8480. 'optional2--',
  8481. "//a[contains(@href,'tikfile.com')]");
  8482. }
  8483. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8484. {
  8485. addFileHost(
  8486. "cloudsix\.me\/\\w+",
  8487. 'name="method_free"',
  8488. 'File Not Found|width:500px;text-align:left;">',
  8489. 'optional--',
  8490. 'optional2--',
  8491. "//a[contains(@href,'cloudsix.me')]");
  8492. }
  8493. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8494. {
  8495. addFileHost(
  8496. "neodrive\.co\/\\w+",
  8497. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8498. 'File not found|/imgs/broken.png',
  8499. 'optional--',
  8500. 'optional2--',
  8501. "//a[contains(@href,'neodrive.co')]");
  8502. }
  8503. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8504. {
  8505. addFileHost(
  8506. "chayfile\.com\/\\w+",
  8507. 'name="method_free"',
  8508. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8509. 'optional--',
  8510. 'optional2--',
  8511. "//a[contains(@href,'chayfile.com')]");
  8512. }
  8513. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8514. {
  8515. addFileHost(
  8516. "xfileload\.com\/\\w+",
  8517. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8518. '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..|הקובץ שחיפשת לא נמצא.',
  8519. 'optional--',
  8520. 'optional2--',
  8521. "//a[contains(@href,'xfileload.com')]");
  8522. }
  8523. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8524. {
  8525. addFileHost(
  8526. "rockfile\.eu\/\\w+",
  8527. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8528. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8529. 'optional--',
  8530. 'optional2--',
  8531. "//a[contains(@href,'rockfile.eu')]");
  8532. }
  8533. if (GM_getValue("Check_24uploading_dot_com_links", false))
  8534. {
  8535. addFileHost(
  8536. "24uploading\.com\/\\w+",
  8537. 'File:|Download Speed:',
  8538. '<b>File Not Found</b>|file was removed',
  8539. 'optional--',
  8540. 'optional2--',
  8541. "//a[contains(@href,'24uploading.com')]");
  8542. }
  8543. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8544. {
  8545. addFileHost(
  8546. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8547. 'i/icon/dll.png"|>Start download<br',
  8548. 'no longer available<|i/ino.png"',
  8549. 'optional--',
  8550. 'optional2--',
  8551. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8552. }
  8553. /* if (GM_getValue("Check_jumbofile_dot_net_links", false))
  8554. {
  8555. addFileHost(
  8556. "jumbofile\.net\/\\w+",
  8557. 'button" class="" value="Free',
  8558. 'This File Was Deleted',
  8559. 'optional--',
  8560. 'optional2--',
  8561. "//a[contains(@href,'jumbofile.net')]");
  8562. } */
  8563. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8564. {
  8565. addFileHost(
  8566. "ozofiles\.com\/\\w+",
  8567. 'button" value="Free|name="method_free',
  8568. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8569. 'optional--',
  8570. 'optional2--',
  8571. "//a[contains(@href,'ozofiles.com')]");
  8572. }
  8573. if (GM_getValue("Check_loudupload_dot_net_links", false))
  8574. {
  8575. addFileHost(
  8576. "loudupload\.net\/\\w+",
  8577. 'value="Get Links',
  8578. 'File Not Found',
  8579. 'optional--',
  8580. 'optional2--',
  8581. "//a[contains(@href,'loudupload.net')]");
  8582. }
  8583. /* if (GM_getValue("Check_rapidsonic_dot_com_links", false))
  8584. {
  8585. addFileHost(
  8586. "(rapidsonic|fileparadox)\\.com\/\\w+",
  8587. 'method_free" id="submit_btn|<h4><i class="icon_document_alt"></i>Download File</h4>',
  8588. '>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">',
  8589. 'optional--',
  8590. 'optional2--',
  8591. "//a[contains(@href,'rapidsonic') or contains(@href,'3files.net/') or contains(@href,'fileparadox.com')]");
  8592. }
  8593. if (GM_getValue("Check_krotix_dot_net_links", false))
  8594. {
  8595. addFileHost(
  8596. "krotix\.net\/\\w+",
  8597. 'btn btn-warning|btn-free',
  8598. 'pageErrors|This File has been removed',
  8599. 'content="Scheduled Maintenance',
  8600. 'optional2--',
  8601. "//a[contains(@href,'krotix.net')]");
  8602. } */
  8603. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8604. {
  8605. addFileHost(
  8606. "userscloud\.com\/\\w+",
  8607. 'btn_download|class="label label-success">',
  8608. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'userscloud.com')]");
  8612. }
  8613. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8614. {
  8615. addFileHost(
  8616. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8617. 'class="button download',
  8618. 'internal server error',
  8619. 'optional--',
  8620. 'optional2--',
  8621. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8622. }
  8623. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8624. {
  8625. addFileHost(
  8626. "kb.simple-aja\.info\/\\w+",
  8627. 'class="button download',
  8628. 'internal server error|<p>404</p>',
  8629. 'optional--',
  8630. 'optional2--',
  8631. "//a[contains(@href,'kb.simple')]");
  8632. }
  8633. if (GM_getValue("Check_faststore_dot_org_links", false))
  8634. {
  8635. addFileHost(
  8636. "faststore\.org\/\\w+",
  8637. 'name="method_free',
  8638. 'File Not Found',
  8639. 'optional--',
  8640. 'optional2--',
  8641. "//a[contains(@href,'faststore.org')]");
  8642. }
  8643. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8644. {
  8645. addFileHost(
  8646. "prefiles\.com\/\\w+",
  8647. 'id="method_free',
  8648. 'File not Found',
  8649. 'optional--',
  8650. 'optional2--',
  8651. "//a[contains(@href,'prefiles.com')]");
  8652. }
  8653. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8654. {
  8655. addFileHost(
  8656. "doraupload\.com\/\\w+",
  8657. 'btn_download|name="method_free',
  8658. 'class="error-code|Could Not Be Found',
  8659. 'optional--',
  8660. 'optional2--',
  8661. "//a[contains(@href,'doraupload.com')]");
  8662. }
  8663. if (GM_getValue("Check_openload_dot_io_links", false))
  8664. {
  8665. addFileHost(
  8666. "openload\.io\/\\w+",
  8667. 'btn btn-primary|class="count">|secondsleftouter',
  8668. 'class="jumbotron">|We are sorry',
  8669. 'optional--',
  8670. 'optional2--',
  8671. "//a[contains(@href,'openload.io')]");
  8672. }
  8673. if (GM_getValue("Check_uploads_dot_xxx_links", false))
  8674. {
  8675. addFileHost(
  8676. "uploads\.xxx\/\\w+",
  8677. 'downoadForFree',
  8678. 'File not found',
  8679. 'optional--',
  8680. 'optional2--',
  8681. "//a[contains(@href,'uploads.xxx')]");
  8682. }
  8683. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8684. {
  8685. addFileHost(
  8686. "zxcfiles\.com\/\\w+",
  8687. 'class="downloadbtn',
  8688. 'File Not Found',
  8689. 'optional--',
  8690. 'optional2--',
  8691. "//a[contains(@href,'zxcfiles.com')]");
  8692. }
  8693. if (GM_getValue("Check_up07_dot_net_links", false))
  8694. {
  8695. addFileHost(
  8696. "up07\.net\/\\w+",
  8697. 'name="method_free',
  8698. 'File Not Found',
  8699. 'optional--',
  8700. 'optional2--',
  8701. "//a[contains(@href,'up07.net')]");
  8702. }
  8703. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8704. {
  8705. addFileHost(
  8706. "fileupload\.pw\/\\w+",
  8707. 'value="Free"',
  8708. 'File Not Found',
  8709. 'optional--',
  8710. 'optional2--',
  8711. "//a[contains(@href,'fileupload.pw')]");
  8712. }
  8713. if (GM_getValue("Check_4upld_dot_com_links", false))
  8714. {
  8715. addFileHost(
  8716. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8717. 'alt="Download Now"|content="Download file">|btn-free-element',
  8718. '<title>Error|content="error|File not found',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8722. }
  8723. /* if (GM_getValue("Check_newfileland_dot_com_links", false))
  8724. {
  8725. addFileHost(
  8726. "newfileland\.com\/\\w+",
  8727. 'name="method_free',
  8728. 'File Not Found',
  8729. 'optional--',
  8730. 'optional2--',
  8731. "//a[contains(@href,'newfileland.com')]");
  8732. } */
  8733. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8734. {
  8735. addFileHost(
  8736. "(?:.swoopshare)\\.com\/\\w+",
  8737. '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',
  8738. '<input type="file" name="f"',
  8739. 'optional--',
  8740. 'optional2--',
  8741. "//a[contains(@href,'swoopshare.com')]"
  8742. );
  8743. }
  8744. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8745. {
  8746. addFileHost(
  8747. "cloudshares\.net\/\\w+",
  8748. '"method_free|"Low Speed Download|submit" name="go',
  8749. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8750. 'optional--',
  8751. 'optional2--',
  8752. "//a[contains(@href,'cloudshares.net')]"
  8753. );
  8754. }
  8755. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8756. {
  8757. addFileHost(
  8758. "allmyvideos\.net\/\\w+",
  8759. 'Continue to Video',
  8760. 'File Not Found|class="err">Removed for',
  8761. 'optional--',
  8762. 'optional2--',
  8763. "//a[contains(@href,'allmyvideos.net')]"
  8764. );
  8765. }
  8766. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8767. {
  8768. addFileHost(
  8769. "vodlocker\.com\/\\w+",
  8770. 'Proceed to video',
  8771. 'Not Found',
  8772. 'optional--',
  8773. 'optional2--',
  8774. "//a[contains(@href,'vodlocker.com')]"
  8775. );
  8776. }
  8777. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8778. {
  8779. addFileHost(
  8780. "vidbull\.com\/\\w+",
  8781. 'Verifying Video Request',
  8782. 'File Not Found',
  8783. 'optional--',
  8784. 'optional2--',
  8785. "//a[contains(@href,'vidbull.com')]");
  8786. }
  8787. if (GM_getValue("Check_novamov_dot_com_links", false))
  8788. {
  8789. addFileHost(
  8790. "novamov\.com\/\\w+",
  8791. 'For version detection',
  8792. 'file no longer exists',
  8793. 'optional--',
  8794. 'optional2--',
  8795. "//a[contains(@href,'novamov.com')]"
  8796. );
  8797. }
  8798. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8799. {
  8800. addFileHost(
  8801. "filehoot\.com\/\\w+",
  8802. 'Continue to watch',
  8803. 'File Not Found',
  8804. 'optional--',
  8805. 'optional2--',
  8806. "//a[contains(@href,'filehoot.com')]"
  8807. );
  8808. }
  8809. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8810. {
  8811. addFileHost(
  8812. "stagevu\.com\/\\w+",
  8813. 'Video Info',
  8814. 'No video with the provided',
  8815. 'optional--',
  8816. 'optional2--',
  8817. "//a[contains(@href,'stagevu.com')]"
  8818. );
  8819. }
  8820. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8821. {
  8822. addFileHost(
  8823. "cloudtime\.to\/\\w+",
  8824. 'Download the video',
  8825. 'no longer exists',
  8826. 'optional--',
  8827. 'optional2--',
  8828. "//a[contains(@href,'cloudtime.to')]"
  8829. );
  8830. }
  8831. if (GM_getValue("Check_streamin_dot_to_links", false))
  8832. {
  8833. addFileHost(
  8834. "streamin\.to\/\\w+",
  8835. 'id="btn_download',
  8836. 'Not Found|Copyright Infringement|File Deleted',
  8837. 'optional--',
  8838. 'optional2--',
  8839. "//a[contains(@href,'streamin.to')]"
  8840. );
  8841. }
  8842. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8843. {
  8844. addFileHost(
  8845. "videoweed\.es\/\\w+",
  8846. 'version detection',
  8847. 'no longer exists',
  8848. 'optional--',
  8849. 'optional2--',
  8850. "//a[contains(@href,'videoweed.es')]"
  8851. );
  8852. }
  8853. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8854. {
  8855. addFileHost(
  8856. "nowvideo\.sx\/\\w+",
  8857. 'Download this video|value="submit">Continue',
  8858. 'no longer exists',
  8859. 'optional--',
  8860. 'optional2--',
  8861. "//a[contains(@href,'nowvideo.sx')]"
  8862. );
  8863. }
  8864. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8865. {
  8866. addFileHost(
  8867. "thevideo\.me\/\\w+",
  8868. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8869. 'File Not Found',
  8870. 'optional--',
  8871. 'optional2--',
  8872. "//a[contains(@href,'thevideo.me')]"
  8873. );
  8874. }
  8875. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8876. {
  8877. addFileHost(
  8878. "gorillavid\.in\/\\w+",
  8879. 'Wait 5 seconds',
  8880. 'File Not Found',
  8881. 'optional--',
  8882. 'optional2--',
  8883. "//a[contains(@href,'gorillavid.in')]"
  8884. );
  8885. }
  8886. if (GM_getValue("Check_thefile_dot_me_links", false))
  8887. {
  8888. addFileHost(
  8889. "thefile\.me\/\\w+",
  8890. 'Choose free or',
  8891. '',
  8892. 'optional--',
  8893. 'optional2--',
  8894. "//a[contains(@href,'thefile.me')]"
  8895. );
  8896. }
  8897. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8898. {
  8899. addFileHost(
  8900. "vidzi\.tv\/\\w+",
  8901. 'video-embed-modal row',
  8902. 'File Not Found|file was deleted',
  8903. 'optional--',
  8904. 'optional2--',
  8905. "//a[contains(@href,'vidzi.tv')]"
  8906. );
  8907. }
  8908. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8909. {
  8910. addFileHost(
  8911. "filenuke\.com\/\\w+",
  8912. 'Download File',
  8913. 'Earn with us',
  8914. 'optional--',
  8915. 'optional2--',
  8916. "//a[contains(@href,'filenuke.com')]"
  8917. );
  8918. }
  8919. if (GM_getValue("Check_vidto_dot_me_links", false))
  8920. {
  8921. addFileHost(
  8922. "vidto\.me\/\\w+",
  8923. 'Proceed to video',
  8924. 'Not Found',
  8925. 'optional--',
  8926. 'optional2--',
  8927. "//a[contains(@href,'vidto.me')]"
  8928. );
  8929. }
  8930. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8931. {
  8932. addFileHost(
  8933. "vidspot\.net\/\\w+",
  8934. 'Duration',
  8935. 'Removed for',
  8936. 'optional--',
  8937. 'optional2--',
  8938. "//a[contains(@href,'vidspot.net')]"
  8939. );
  8940. }
  8941. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8942. {
  8943. addFileHost(
  8944. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8945. 'Download File',
  8946. 'File Not Found',
  8947. 'optional--',
  8948. 'optional2--',
  8949. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8950. );
  8951. }
  8952. if (GM_getValue("Check_movpod_dot_in_links", false))
  8953. {
  8954. addFileHost(
  8955. "movpod\.in\/\\w+",
  8956. 'Continue',
  8957. 'File Not Found',
  8958. 'optional--',
  8959. 'optional2--',
  8960. "//a[contains(@href,'movpod.in')]"
  8961. );
  8962. }
  8963. if (GM_getValue("Check_down4files_dot_com_links", false))
  8964. {
  8965. addFileHost(
  8966. "down4files\.com\/\\w+",
  8967. 'down_table.png',
  8968. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8969. 'optional--',
  8970. 'optional2--',
  8971. "//a[contains(@href,'down4files.com')]"
  8972. );
  8973. }
  8974. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8975. {
  8976. addFileHost(
  8977. "storefiles\.co\/\\w+",
  8978. 'btn_download',
  8979. 'No such file|>Error<|mqmaintitle">',
  8980. 'optional--',
  8981. 'optional2--',
  8982. "//a[contains(@href,'storefiles.co')]"
  8983. );
  8984. }
  8985. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8986. {
  8987. addFileHost(
  8988. "filehost\.pw\/\\w+",
  8989. 'name="method_free',
  8990. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8991. 'optional--',
  8992. 'optional2--',
  8993. "//a[contains(@href,'filehost.pw')]"
  8994. );
  8995. }
  8996. /* if (GM_getValue("Check_inafile_dot_com_links", false))
  8997. {
  8998. addFileHost(
  8999. "inafile\.com\/\\w+",
  9000. 'value="download1">|<h2>File: <font style="color:darkred">',
  9001. '<div style="width:500px;text-align:left;">|File Not Found',
  9002. 'optional--',
  9003. 'optional2--',
  9004. "//a[contains(@href,'inafile.com')]"
  9005. );
  9006. } */
  9007. if (GM_getValue("Check_uplea_dot_com_links", false))
  9008. {
  9009. addFileHost(
  9010. "uplea\.com\/\\w+",
  9011. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  9012. 'expired link|ou est invalide',
  9013. 'optional--',
  9014. 'optional2--',
  9015. "//a[contains(@href,'uplea.com/dl')]",
  9016. true);
  9017. }
  9018. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  9019. {
  9020. addFileHost(
  9021. "toutbox\.fr\/\\w+",
  9022. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  9023. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  9024. 'Serviço temporariamente indisponível',
  9025. 'optional2--',
  9026. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  9027. );
  9028. }
  9029. if (GM_getValue("Check_openload_dot_co_links", false))
  9030. {
  9031. addFileHost(
  9032. "openload\.co\/\\w+",
  9033. 'id="downloadTimer">|button dlbutton',
  9034. 'jumbotron{color|got deleted|center !important',
  9035. 'optional--',
  9036. 'optional2--',
  9037. "//a[contains(@href,'openload.co')]"
  9038. );
  9039. }
  9040. if (GM_getValue("Check_lolabits_dot_es_links", false))
  9041. {
  9042. addFileHost(
  9043. "lolabits\.es\/\\w+",
  9044. 'Descargar:',
  9045. '<title>Archivos de usuario',
  9046. 'Service Unavailable',
  9047. 'optional2--',
  9048. "//a[contains(@href,'lolabits.es')]"
  9049. );
  9050. }
  9051. if (GM_getValue("Check_alfafile_dot_net_links", false))
  9052. {
  9053. addFileHost(
  9054. "alfafile\.net\/\\w+",
  9055. 'id="slow_download_btn',
  9056. 'class="error-box">',
  9057. 'optional--',
  9058. 'optional2--',
  9059. "//a[contains(@href,'alfafile.net')]"
  9060. );
  9061. }
  9062. if (GM_getValue("Check_multiup_dot_org_links", false))
  9063. {
  9064. addFileHost(
  9065. "multiup\.org\/\\w+",
  9066. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  9067. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  9068. 'optional--',
  9069. 'optional2--',
  9070. "//a[contains(@href,'multiup.org')]"
  9071. );
  9072. }
  9073. if (GM_getValue("Check_file_dot_al_links", false))
  9074. {
  9075. addFileHost(
  9076. "file\.al\/\\w+",
  9077. 'method_free',
  9078. 'style="width:500px;text-align:left;">',
  9079. 'optional--',
  9080. 'optional2--',
  9081. "//a[contains(@href,'file.al')]"
  9082. );
  9083. }
  9084. if (GM_getValue("Check_devilshare_dot_net_links", false))
  9085. {
  9086. addFileHost(
  9087. "devilshare\.net\/\\w+",
  9088. '<div class="large-12" id="download">',
  9089. '(Link: 0 Invalid)|File Not Found',
  9090. 'optional--',
  9091. 'optional2--',
  9092. "//a[contains(@href,'devilshare.net')]"
  9093. );
  9094. }
  9095. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  9096. {
  9097. addFileHost(
  9098. "dailyuploads\.net\/\\w+",
  9099. 'id="downloadBtnClickOrignal',
  9100. '<div style="width:500px;text-align:left;">',
  9101. 'optional--',
  9102. 'optional2--',
  9103. "//a[contains(@href,'dailyuploads.net')]"
  9104. );
  9105. }
  9106. if (GM_getValue("Check_datoteke_dot_com_links", false))
  9107. {
  9108. addFileHost(
  9109. "datoteke\.com\/\\w+",
  9110. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  9111. '&nbsp;File has been removed',
  9112. 'optional--',
  9113. '<title>Error - Datoteke',
  9114. "//a[contains(@href,'datoteke.com')]"
  9115. );
  9116. }
  9117. /* if (GM_getValue("Check_tezfiles_dot_com_links", false))
  9118. {
  9119. addFileHost(
  9120. "tezfiles\.com\/\\w+",
  9121. 'virtual/low-speed-download',
  9122. 'class="alert alert-block|file is no longer available',
  9123. 'optional--',
  9124. 'This file is available<br>only for premium members',
  9125. "//a[contains(@href,'tezfiles.com')]"
  9126. );
  9127. } */
  9128. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  9129. {
  9130. addFileHost(
  9131. "sharehost\.eu\/\\w+",
  9132. '/?v=download_free&',
  9133. 'Errors occured|Wystąpiły błędy',
  9134. 'optional--',
  9135. 'optional2--',
  9136. "//a[contains(@href,'sharehost.eu')]"
  9137. );
  9138. }
  9139. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  9140. {
  9141. addFileHost(
  9142. "pornfile\.cz\/\\w+",
  9143. 'Stáhnout soubor',
  9144. 'Soubor byl smazán',
  9145. 'optional--',
  9146. 'optional2--',
  9147. "//a[contains(@href,'pornfile.cz')]"
  9148. );
  9149. }
  9150. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  9151. {
  9152. addFileHost(
  9153. "pornoid\.cz\/\\w+",
  9154. 'class="btn btn-large btn-download',
  9155. 'Soubor byl smazán',
  9156. 'optional--',
  9157. 'optional2--',
  9158. "//a[contains(@href,'pornoid.cz')]"
  9159. );
  9160. }
  9161. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  9162. {
  9163. addFileHost(
  9164. "file-share\.top\/\\w+",
  9165. 'btn-success btn-lg download',
  9166. 'Stránka neexistuje|404 Not Found',
  9167. 'optional--',
  9168. 'optional2--',
  9169. "//a[contains(@href,'file-share.top')]"
  9170. );
  9171. }
  9172. if (GM_getValue("Check_bitster_dot_cz_links", false))
  9173. {
  9174. addFileHost(
  9175. "bitster\.cz\/\\w+",
  9176. 'section" content="VIDEO"',
  9177. 'section" content=""',
  9178. 'optional--',
  9179. 'optional2--',
  9180. "//a[contains(@href,'bitster.cz')]"
  9181. );
  9182. }
  9183. if (GM_getValue("Check_rapidu_dot_net_links", false))
  9184. {
  9185. addFileHost(
  9186. "rapidu\.net\/\\w+",
  9187. 'onclick="downloadFreeFile',
  9188. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  9189. 'optional--',
  9190. 'optional2--',
  9191. "//a[contains(@href,'rapidu.net')]"
  9192. );
  9193. }
  9194. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  9195. {
  9196. addFileHost(
  9197. "dinoshare\.cz\/\\w+",
  9198. 'class="download-button"',
  9199. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  9200. 'optional--',
  9201. 'optional2--',
  9202. "//a[contains(@href,'dinoshare.cz')]"
  9203. );
  9204. }
  9205. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  9206. {
  9207. addFileHost(
  9208. "bytewhale\.com\/\\w+",
  9209. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  9210. 'var rawest = "0 MB',
  9211. 'optional--',
  9212. 'This file is available for premium members only',
  9213. "//a[contains(@href,'bytewhale.com')]"
  9214. );
  9215. }
  9216. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  9217. {
  9218. addFileHost(
  9219. "rapidrar\.com\/\\w+",
  9220. 'value="Free Download',
  9221. '<div style="width:500px;text-align:left;">',
  9222. 'optional--',
  9223. 'optional--',
  9224. "//a[contains(@href,'rapidrar.com')]"
  9225. );
  9226. }
  9227. if (GM_getValue("Check_gigasize_dot_com_links", false))
  9228. {
  9229. addFileHost(
  9230. "gigasize\.com\/\\w+",
  9231. 'class="estimate">',
  9232. 'class="error">',
  9233. 'optional--',
  9234. 'optional--',
  9235. "//a[contains(@href,'gigasize.com')]"
  9236. );
  9237. }
  9238. if (GM_getValue("Check_filesupload_dot_org_links", false))
  9239. {
  9240. addFileHost(
  9241. "filesupload\.org\/\\w+",
  9242. '<a href="/download-or-watch/',
  9243. 'File not found',
  9244. 'optional--',
  9245. 'optional--',
  9246. "//a[contains(@href,'filesupload.org')]"
  9247. );
  9248. }
  9249. if (GM_getValue("Check_filecad_dot_com_links", false))
  9250. {
  9251. addFileHost(
  9252. "filecad\.com\/\\w+",
  9253. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  9254. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  9255. 'optional--',
  9256. 'optional--',
  9257. "//a[contains(@href,'filecad.com')]"
  9258. );
  9259. }
  9260. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  9261. {
  9262. addFileHost(
  9263. "file.up09\.com\/\\w+",
  9264. 'name="method_free',
  9265. 'style="width:500px;text-align:left;">',
  9266. 'optional--',
  9267. 'optional--',
  9268. "//a[contains(@href,'file.up09.com')]"
  9269. );
  9270. }
  9271. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  9272. {
  9273. addFileHost(
  9274. "lunaticfiles\.com\/\\w+",
  9275. 'name="method_free"',
  9276. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  9277. 'optional--',
  9278. 'optional--',
  9279. "//a[contains(@href,'lunaticfiles.com')]"
  9280. );
  9281. }
  9282. if (GM_getValue("Check_upload_dot_af_links", false))
  9283. {
  9284. addFileHost(
  9285. "upload\.af\/\\w+",
  9286. 'id="method_free"',
  9287. '<h1>File Not Found</',
  9288. 'optional--',
  9289. 'optional--',
  9290. "//a[contains(@href,'upload.af')]"
  9291. );
  9292. }
  9293. if (GM_getValue("Check_filedwon_dot_info_links", false))
  9294. {
  9295. addFileHost(
  9296. "filedwon\.info\/\\w+",
  9297. 'name="method_free"',
  9298. 'File Not Found</b>|style="width:500px;text-align:left;">',
  9299. 'optional--',
  9300. 'optional--',
  9301. "//a[contains(@href,'filedwon.info')]"
  9302. );
  9303. }
  9304. if (GM_getValue("Check_uplod_dot_it_links", false))
  9305. {
  9306. addFileHost(
  9307. "uplod\.it\/\\w+",
  9308. 'value="download2">|name="method_free',
  9309. '<Title>Download </Title>',
  9310. 'optional--',
  9311. 'optional--',
  9312. "//a[contains(@href,'uplod.it')]"
  9313. );
  9314. }
  9315. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  9316. {
  9317. addFileHost(
  9318. "abelhas\.pt\/\\w+",
  9319. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  9320. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  9321. 'optional--',
  9322. 'optional--',
  9323. "//a[contains(@href,'abelhas.pt')]"
  9324. );
  9325. }
  9326. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  9327. {
  9328. addFileHost(
  9329. "disk.yandex\.com\/\\w+",
  9330. 'nb-button _nb-small-button',
  9331. 'error code|Nothing found',
  9332. 'optional--',
  9333. 'optional2--',
  9334. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  9335. }
  9336. /* if (GM_getValue("Check_k2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9337. {
  9338. addFileHost(
  9339. "k2s\.cc\/\\w+",
  9340. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9341. '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',
  9342. 'method="post">Displaying',
  9343. 'optional2--',
  9344. "//a[contains(@href,'k2s.cc')]");
  9345. }
  9346. if (GM_getValue("Check_keep2s_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9347. {
  9348. addFileHost(
  9349. "keep2s\.cc\/\\w+",
  9350. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9351. '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',
  9352. 'method="post">Displaying',
  9353. 'optional2--',
  9354. "//a[contains(@href,'keep2s.cc')]");
  9355. }
  9356. if (GM_getValue("Check_keep2share_dot_cc_links", false)) //this is here so host will work past redirect service antiref.com
  9357. {
  9358. addFileHost(
  9359. "keep2share\.cc\/\\w+",
  9360. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9361. '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',
  9362. 'method="post">Displaying',
  9363. 'optional2--',
  9364. "//a[contains(@href,'keep2share.cc')]");
  9365. }
  9366. if (GM_getValue("Check_keep2share_dot_com_links", false)) //this is here so host will work past redirect service antiref.com
  9367. {
  9368. addFileHost(
  9369. "keep2share\.com\/\\w+",
  9370. 'View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;',
  9371. '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',
  9372. 'method="post">Displaying',
  9373. 'optional2--',
  9374. "//a[contains(@href,'keep2share.com')]");
  9375. } */
  9376. if (GM_getValue("Check_filespace_dot_com_links", false))
  9377. {
  9378. addFileHost(
  9379. "filespace\.com\/\\w+",
  9380. 'name="method_free',
  9381. '<div style="text-align:left;"><ul>|>File not found.<',
  9382. 'optional1--',
  9383. 'optional2--',
  9384. "//a[contains(@href,'filespace.com')]");
  9385. }
  9386. if (GM_getValue("Check_uploads_dot_ws_links", false))
  9387. {
  9388. addFileHost(
  9389. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  9390. 'name="downloadFile|id="downloadFile|value="Wait',
  9391. '<title>File not found</title>|>Error:<',
  9392. 'optional1--',
  9393. 'optional2--',
  9394. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  9395. }
  9396.  
  9397. }
  9398. //start here
  9399.  
  9400. //hosts with direct download, so they must be requested for headers only
  9401. function initFileHostsHeadersOnly()
  9402. {
  9403. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9404. {
  9405. var host = new Array(5);
  9406. host[0] = linkRegex;
  9407. host[1] = isAliveRegex;
  9408. host[2] = isDeadRegex;
  9409. host[3] = xpathEx;
  9410. host[4] = ispremRegex;
  9411. http_file_hosts_headers_only.push(host);
  9412. }
  9413. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9414. {
  9415. addFileHostHeadersOnly(
  9416. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9417. 'Connection: Keep-Alive',
  9418. 'Content-Length: 3857',
  9419. "//a[contains(@href,'uloziste.com')]"
  9420. )
  9421. }
  9422. if (GM_getValue("Check_adrive_dot_com_links", false))
  9423. {
  9424. addFileHostHeadersOnly(
  9425. "adrive\\.com\/public\/\\w+",
  9426. 'Connection: keep-alive',
  9427. 'orig_ref=deleted',
  9428. "//a[contains(@href,'adrive.com')]"
  9429. )
  9430. }
  9431. if (GM_getValue("Check_myupload_dot_dk_links", false))
  9432. {
  9433. addFileHostHeadersOnly(
  9434. "myupload\\.dk\/showfile\/\\w+",
  9435. 'Expires:',
  9436. 'squeeze1\\s+Vary',
  9437. "//a[contains(@href,'myupload.dk/showfile')]"
  9438. )
  9439. }
  9440. }
  9441. //CustomRules
  9442. //functions add...Host copied here
  9443. function addObsoleteHost(linkRegex, xpathEx)
  9444. {
  9445. var host = new Array(2);
  9446. host[0] = linkRegex;
  9447. host[1] = xpathEx;
  9448. http_file_hosts_obsolete.push(host);
  9449. }
  9450. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9451. {
  9452. var host = new Array(7);
  9453. host[0] = linkRegex;
  9454. host[1] = isAliveRegex;
  9455. host[2] = isDeadRegex;
  9456. host[3] = isUnavaRegex;
  9457. host[4] = xpathEx;
  9458. tryLoop ? host[5] = true : host[5] = false;
  9459. host[6] = ispremRegex;
  9460. http_file_hosts.push(host);
  9461. }
  9462. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9463. {
  9464. var host = new Array(5);
  9465. host[0] = linkRegex;
  9466. host[1] = isAliveRegex;
  9467. host[2] = isDeadRegex;
  9468. host[3] = xpathEx;
  9469. host[4] = ispremRegex;
  9470. http_file_hosts_headers_only.push(host);
  9471. }
  9472. //takes a fully built rules array and adds the rules to WARLC
  9473. function applyCustomRules(customRules)
  9474. {
  9475. if (!customRules) return;
  9476. var rules, r, i;
  9477. rules = customRules.rules;
  9478. for (i = 0 ; i < rules.length ; i++)
  9479. {
  9480. r = rules[i];
  9481. if (r.enabled)
  9482. {
  9483. switch (r.type)
  9484. {
  9485. case 'single':
  9486. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9487. break;
  9488. case 'headers':
  9489. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9490. break;
  9491. case 'obsolete':
  9492. addObsoleteHost(r.urlregex, r.xpath)
  9493. break;
  9494. }
  9495. }
  9496. }
  9497. }
  9498.  
  9499.  
  9500. function initFileHostsCustom()
  9501. {
  9502. if (Custom_rules && Custom_rules_text)
  9503. {
  9504. var msg = '';
  9505. if (newVersion)
  9506. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9507. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9508. msg = '60 or more days have passed since this notification.\n\n';
  9509. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9510. {
  9511. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9512. msg +=
  9513. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9514. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9515. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9516. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9517. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9518. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9519. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9520. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9521. setTimeout(function(){alert(msg)},0);
  9522. }
  9523. var customRules = parseCustomRules(Custom_rules_text);
  9524. if (customRules.warning || customRules.error)
  9525. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9526. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9527. JSON.stringify(customRules.info, null, ' '));
  9528. applyCustomRules(customRules);
  9529. }
  9530. }
  9531. //end of CustomRules processing
  9532.  
  9533.  
  9534.  
  9535. } //end of function start
  9536.  
  9537.  
  9538.  
  9539. function initClipBoardTools()
  9540. {
  9541. unsafeWindow.copyToClipboard = function(text)
  9542. {
  9543. try
  9544. {
  9545. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9546.  
  9547. var str = Components.classes["@mozilla.org/supports-string;1"].
  9548. createInstance(Components.interfaces.nsISupportsString);
  9549. if (!str) return false;
  9550.  
  9551. str.data = text;
  9552.  
  9553. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9554. createInstance(Components.interfaces.nsITransferable);
  9555. if (!trans) return false;
  9556.  
  9557. trans.addDataFlavor("text/unicode");
  9558. trans.setTransferData("text/unicode", str, text.length * 2);
  9559.  
  9560. var clipid = Components.interfaces.nsIClipboard;
  9561. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9562. if (!clip) return false;
  9563.  
  9564. clip.setData(trans, null, clipid.kGlobalClipboard);
  9565. } catch (e) {
  9566. GM_log("Error copyToClipboard : " + e);
  9567. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9568. }
  9569. }
  9570. }
  9571.  
  9572.  
  9573.  
  9574. //CustomRules
  9575.  
  9576. function escapeRegex(str)
  9577. {
  9578. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9579. }
  9580.  
  9581.  
  9582. //called internally from parseCustomRules.
  9583. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9584. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9585. function makeCustomRule(rule)
  9586. {
  9587. function makeMatchRegex(arrmatch)
  9588. {
  9589. return escapeRegex(arrmatch.join('\n'))
  9590. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9591. .replace(/\n/g,'|'); //join together
  9592. }
  9593. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9594. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9595. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9596. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9597. if (rule.baseurl)
  9598. {
  9599. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9600. for (i = 0 ; i < len ; i++)
  9601. {
  9602. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9603. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9604. {
  9605. 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'])
  9606. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9607. }
  9608. else //baseurl in the form: example.com/xxx
  9609. {
  9610. xpath.push(m[0]);
  9611. urlregex.push(escapeRegex(m[0]) + '.');
  9612. }
  9613. }
  9614. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9615. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9616. }
  9617. return rule;
  9618. } //function makeCustomRule
  9619.  
  9620.  
  9621. /*
  9622. Takes a string containing custom link checking rules.
  9623. Returns an object with fields:
  9624. info - contains notes, warnings and errors found during parsing
  9625. rules - the array of custom rules
  9626. note, warning, error - number of each of them found during parsing
  9627. Format of the input string:
  9628. One command per line. Command format: @keyword parameter
  9629. Keywords:
  9630. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9631. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9632. These keywords can be multiple (any of them will work):
  9633. @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...)
  9634. @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+
  9635. @alivelink, @deadlink - example links
  9636. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9637. Lines starting with // and empty lines are ignored.
  9638. Invalid parameters generate errors and those lines are skipped.
  9639. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9640. Example:
  9641. @customrule filehost
  9642. @baseurl filehost.com/download/
  9643. @baseurl filehost2. com net /d?=
  9644. @alivematch id="download">
  9645. @deadmatch File not found
  9646. @deadmatch File deleted
  9647. */
  9648. function parseCustomRules(rulesStr)
  9649. {
  9650. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9651. function addInfo(type, msg, ln){
  9652. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9653. customRules[type]++;
  9654. }
  9655. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9656. if (!lines) return null;
  9657. lines.push('@#customrule _'); //to save the last rule
  9658. var m, linecount = lines.length;
  9659. var keyword, param, constr, rule, err;
  9660. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9661. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9662. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9663. var constraints = {
  9664. 'baseurl': {
  9665. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9666. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9667. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9668. 'alivematch': {
  9669. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9670. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9671. 'deadmatch': {
  9672. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9673. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9674. 'unavamatch': {
  9675. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9676. 'alivelink': {
  9677. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9678. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9679. 'deadlink': {
  9680. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9681. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9682. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9683. };
  9684. for (linenum = 0 ; linenum < linecount ; linenum++)
  9685. {
  9686. //capturing groups: 1 23 4 5 6
  9687. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9688. if (m)
  9689. {
  9690. if (m[1] || !m[2])
  9691. continue; // ignore empty lines and lines starting with //
  9692. keyword = (m[4] || m[2]).toLowerCase();
  9693. param = m[6];
  9694. if (keyword == 'customrule')
  9695. {
  9696. //save the current rule if all required fields are provided
  9697. if (rule)
  9698. {
  9699. err = false;
  9700. $.each(constraints, function(kw, constraint){
  9701. var l, constr = constraint[rule.type];
  9702. if (constr)
  9703. {
  9704. l = rule[kw] ? rule[kw].length : 0;
  9705. if (l < constr.min || l > constr.max)
  9706. {
  9707. 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);
  9708. err = true;
  9709. }
  9710. }
  9711. });
  9712. if (!err)
  9713. customRules.rules.push(makeCustomRule(rule));
  9714. }
  9715. //start a new rule
  9716. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9717. {
  9718. rule = {
  9719. 'enabled': !m[3],
  9720. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9721. 'name': param
  9722. };
  9723. }
  9724. else
  9725. {
  9726. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9727. rule = null;
  9728. }
  9729. }
  9730. else //good line format, but keyword other than customrule
  9731. {
  9732. if (!rule)
  9733. {
  9734. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9735. continue;
  9736. }
  9737. if (constraints[keyword])
  9738. {
  9739. constr = constraints[keyword][rule.type];
  9740. if (constr)
  9741. {
  9742. if (constr.paramRE && !constr.paramRE.test(param))
  9743. {
  9744. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9745. continue;
  9746. }
  9747. }
  9748. else
  9749. {
  9750. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9751. continue;
  9752. }
  9753. }
  9754. //line OK, save
  9755. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9756. }
  9757. } //if (m)
  9758. else
  9759. addInfo('warning', 'Unknown line format. Line skipped.');
  9760. } //for loop
  9761. return customRules;
  9762. } //function parseCustomRules
  9763.  
  9764.  
  9765. /* ********************UPDATES********************
  9766.  
  9767. april 07, 2016
  9768. Version 1.2.6.8
  9769. added fileinz.com to obsolete hosts.
  9770.  
  9771. april 06, 2016
  9772. Version 1.2.6.7
  9773. added sharingmaster.com to obsolete hosts.
  9774.  
  9775. april 05, 2016
  9776. Version 1.2.6.6
  9777. added 4upfiles.com & elffiles.com to obsolete hosts
  9778.  
  9779. april 03, 2016
  9780. Version 1.2.6.5
  9781. updates to configuration page
  9782.  
  9783. March 31, 2016
  9784. Version 1.2.6.4
  9785. added code for tampermonkey 4.0 compatibility
  9786.  
  9787. March 31, 2016
  9788. Version 1.2.6.3
  9789. fixed uloz.to
  9790. fixed copy dead links to clipboard feature
  9791. added copy live links to clipboard feature.
  9792.  
  9793. March 24, 2016
  9794. Version 1.2.6.2
  9795. changed made to nitroflare. (yurri)
  9796.  
  9797. March 20, 2016
  9798. Version 1.2.6.1
  9799. fixed rapidgator
  9800. fixed dfiles
  9801. fixed dl.free.fr
  9802. fixed nitroflare.com (Fixed by Yurii)
  9803.  
  9804. March 15, 2016
  9805. Version 1.2.6.0
  9806. fixed rapidgator.net
  9807. fixed uploaded.net
  9808.  
  9809. March 13, 2016
  9810. Version 1.2.5.9
  9811. added
  9812. uploads.ws
  9813. upl.me
  9814. clicknupload.link
  9815. added fileover.net to obsolete hosts
  9816. fixed kingfiles.net
  9817.  
  9818. March 09, 2016
  9819. Version 1.2.5.8
  9820. added kingfiles.net to obsolete hosts
  9821. fixed 4upld.com/expressleech.com
  9822.  
  9823. March 08, 2016
  9824. Version 1.2.5.7
  9825. fixed solidfiles.com
  9826.  
  9827. March 01, 2016
  9828. Version 1.2.5.6
  9829. added filespace.com
  9830. fixed depositfiles (by yurii)
  9831.  
  9832. February 29, 2016
  9833. Version 1.2.5.5
  9834. made change to keep2share
  9835.  
  9836. February 28, 2016
  9837. Version 1.2.5.4
  9838. removed down4files.com from obsolete hosts.
  9839.  
  9840. February 26, 2016
  9841. Version 1.2.5.3
  9842. fixed userscloud.com
  9843.  
  9844. February 24, 2016
  9845. Version 1.2.5.2
  9846. added yandex.com
  9847. fixed datafile.com
  9848.  
  9849. February 22, 2016
  9850. Version 1.2.5.1
  9851. added bigfile.to
  9852.  
  9853. February 20, 2016
  9854. Version 1.2.5.0
  9855. added abelhas.pt
  9856.  
  9857. February 18, 2016
  9858. Version 1.2.4.9
  9859. made change to uptobox
  9860.  
  9861. February 17, 2016
  9862. Version 1.2.4.8
  9863. fixed yadi.sk
  9864.  
  9865. February 16, 2016
  9866. Version 1.2.4.7
  9867. fixed datafile.com
  9868. fixed filecad.com
  9869. added filecore.co & filestorm.to to obsolete hosts
  9870. added upload.af, filedwon.in & uplod.it
  9871.  
  9872. February 15, 2016
  9873. Version 1.2.4.6
  9874. fixed kumpulbagi.id
  9875. added sangfile.com to obsolete hosts
  9876.  
  9877. February 14, 2016
  9878. Version 1.2.4.5
  9879. fixed yandex.ru
  9880.  
  9881. February 13, 2016
  9882. Version 1.2.4.4
  9883. added lunaticfiles.com.
  9884.  
  9885. February 09, 2016
  9886. Version 1.2.4.3
  9887. added file.up09.com.
  9888.  
  9889. February 09, 2016
  9890. Version 1.2.4.2
  9891. tezfiles.com premium links now detected.
  9892.  
  9893. February 09, 2016
  9894. Version 1.2.4.1
  9895. added seenupload.com to obsolete hosts
  9896. fixed 180upload.com to show obsolete
  9897.  
  9898. February 08, 2016
  9899. Version 1.2.4.0
  9900. added tusfiles.com
  9901. added filesupload.org
  9902. added gigasize.com
  9903. added filecad.com
  9904. fixed filecloud.io
  9905. added uploadnet.co to obsolete hosts
  9906.  
  9907. February 07,2016
  9908. Vession 1.2.3.9
  9909. fixed depositfiles.com folders
  9910. fixed turbobit.net folders
  9911.  
  9912. February 06, 2016
  9913. Version 1.2.3.8
  9914. fixed 1fichier false dead links
  9915.  
  9916. February 04, 2106
  9917. Version 1.2.3.7
  9918. added geupload and lenfile to obsolete hosts
  9919. fixed kyc.pm/depfile
  9920.  
  9921. February 03, 2016
  9922. Version 1.2.3.6
  9923. fixed some nitroflare.com dead links not being detected
  9924.  
  9925. February 01, 2016
  9926. Version 1.2.3.5
  9927. script moved to new site
  9928.  
  9929. January 20, 2016
  9930. Version 1.2.3.3
  9931. fixed some rapidgator premium link not being detected
  9932.  
  9933. January 17, 2016
  9934. Version 1.2.3.2
  9935. added bytewhale.com
  9936. added rapidrar.com
  9937.  
  9938. Version 1.2.3.1
  9939. added 180upload.com to obsolete hosts
  9940. fixed hellspy.com
  9941. added dinoshare.cz,
  9942.  
  9943. January 13, 2016
  9944. Version 1.2.3.0
  9945. added rapidu.net
  9946. added uploadboy.me
  9947. fixed euroshare.eu
  9948.  
  9949. January 12, 2016
  9950. Version 1.2.2.9
  9951. added kb.simple-aja.info
  9952.  
  9953. January 10, 2016
  9954. Version 1.2.2.8
  9955. made changes to fastshare.cz
  9956.  
  9957. January 10, 2016
  9958. Version 1.2.2.7
  9959. fixed uptobox.com
  9960.  
  9961. January 09, 2016
  9962. Version 1.2.2.6
  9963. datoteke.com now detects premium links
  9964. fixed turbobit.net
  9965. fixed uptobox.com
  9966. added pornfile.cz
  9967. added pornoid.cz
  9968. added file-share.top
  9969. added bitster.cz
  9970.  
  9971. January 05, 2016
  9972. Version 1.2.2.5
  9973. fixed salefiles.com
  9974. fixed ozofile.com
  9975.  
  9976. January 04, 2016
  9977. Version 1.2.2.4
  9978. added sharehost.eu
  9979.  
  9980. December 30, 2015
  9981. Version 1.2.2.3
  9982. added tezfiles.com
  9983.  
  9984. December 28, 2015
  9985. Version 1.2.2.2
  9986. fixed some k2s & fboom dead link not getting detected
  9987. fixed some k2s premium links not getting detected.
  9988. fixed ssh.yt not detecting some dead links
  9989. fixed ncrypt.in dead links showing yellow
  9990.  
  9991. December 20, 2015
  9992. Version 1.2.2.0
  9993. added datoteke.com
  9994.  
  9995. December 19, 2015
  9996. Version 1.2.1.9
  9997. added secured.in & linksave.in to obsolete hosts
  9998.  
  9999. December 17, 2015
  10000. Version 1.2.1.8
  10001. added german for dead links to secureupload.eu.
  10002.  
  10003. December 17, 2015
  10004. Version 1.2.1.7
  10005. added french for dead links to secureupload.eu.
  10006. fixed problem with tooltip display.
  10007.  
  10008. December 13, 2015
  10009. Version 1.2.1.6
  10010. added netload.me & fileparadox.in to obsolete hosts
  10011.  
  10012. December 09, 2015
  10013. Version 1.2.1.5
  10014. added rapidsonic.com & fileparadox.com to obsolete hosts
  10015.  
  10016. December 04, 2015
  10017. Version 1.2.1.4
  10018. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  10019.  
  10020. December 03, 2015
  10021. Version 1.2.1.3
  10022. added dailyuploads.net
  10023.  
  10024. December 02, 2015
  10025. Version 1.2.1.2
  10026. fixed hitfile.net
  10027. fixed kingfiles.net
  10028.  
  10029. November 30, 2015
  10030. Version 1.2.1.1
  10031. added filepost.com to obsolete hosts
  10032. added devilshare.net
  10033.  
  10034. November 28, 2015
  10035. Version 1.2.1.0
  10036. fixed datafile.com not detecting some premium links.
  10037.  
  10038. November 25, 2015
  10039. Version 1.2.0.9
  10040. fixed filejoker.net
  10041. fixed toutbox.fr
  10042. fixed nowvideo.sx
  10043.  
  10044. November 24, 2015
  10045. Version 1.2.0.8
  10046. fixed openload.io
  10047.  
  10048. November 20, 2015
  10049. Version 1.2.0.7
  10050. //added file.al
  10051. //fixed nitroflare.com false live links
  10052. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  10053.  
  10054. November 17, 2015
  10055. Version 1.2.0.6
  10056. added clicknupload.me
  10057.  
  10058. November 09, 2015
  10059. Version 1.2.0.5
  10060. fixed some depfile premium links not being detected
  10061.  
  10062. November 08, 2015
  10063. Version 1.2.0.4
  10064. fixed some rapidgator premium links not being detected
  10065. fixed doraupload.com
  10066.  
  10067. November 08, 2015
  10068. Version 1.2.0.3
  10069. fixed uploaded false premium
  10070.  
  10071. November 07, 2015
  10072. Version 1.2.0.2
  10073. fixed redbunker.net
  10074.  
  10075. November 05, 2015
  10076. Version 1.2.0.1
  10077. fixed app.box.com
  10078. added multiup.org (does not detect all dead links)
  10079.  
  10080. November 01, 2015
  10081. Version 1.2.0.0
  10082. added more languages to rockfile and 1fichier
  10083.  
  10084. November 01, 2015
  10085. Version 1.1.9.9
  10086. fixed rockfile.eu
  10087. changed 1fichier code (Thanks yurri)
  10088. added to obsolete hosts... (Thanks Love Buzz)
  10089. burnupload.com
  10090. cramit.in
  10091. cramitin.net
  10092. down4files.com
  10093. edoc.com
  10094. jumbofile.net
  10095. krotix.net
  10096. migahost.com
  10097. movreel.com
  10098. netload.in
  10099. newfileland.com
  10100. quickshare.cz
  10101.  
  10102. October 30, 2015
  10103. Version 1.1.9.8
  10104. added alfafile.net
  10105.  
  10106. October 26, 2015
  10107. Version 1.1.9.7
  10108. changed datafile.com and uplea.com
  10109. added lolabits.es
  10110.  
  10111. October 26, 2015
  10112. Version 1.1.9.6
  10113. added toutbox.fr
  10114.  
  10115. October 25, 2015
  10116. Version 1.1.9.5
  10117. fixed counter error
  10118.  
  10119. October 25, 2015
  10120. Version 1.1.9.4
  10121. changed uptobox.com code
  10122.  
  10123. October 21, 2015
  10124. Version 1.1.9.3
  10125. fixed uptobox.com
  10126.  
  10127. October 20, 2015
  10128. Version 1.1.9.2
  10129. bug fixes and new method of detecting premium links.
  10130.  
  10131. October 15, 2015
  10132. Version 1.1.9.1
  10133. fixed hugefiles.net false premium
  10134. changed uptobox.com code
  10135.  
  10136. October 06, 2015
  10137. Version 1.1.9.0
  10138. fixed filefactory
  10139. fixed rockfile false premium
  10140. keep2share & fileboom now detect premium links (fixed by yurii)
  10141.  
  10142. October 01, 2015
  10143. Version 1.1.8.9
  10144. fixed free.fr false premium
  10145. fixed thevideo.me false premium
  10146.  
  10147. September 28, 2015
  10148. Version 1.1.8.8
  10149. added uplea.com and openload.co
  10150.  
  10151. September 27, 2015
  10152. Version 1.1.8.7
  10153. fixed fileparadox.in false premium
  10154. added kingfiles.net to obsolete hosts
  10155. removed inafile.com from obsolete hosts
  10156.  
  10157. September 22, 2015
  10158. Version 1.1.8.6
  10159. fixed nitroflare false premium
  10160.  
  10161. September 22, 2015
  10162. Version 1.1.8.5
  10163. fixed userscloud.com false premium
  10164. fixed usersfiles.com false premium
  10165. changed arabloads.com to arabloads.net
  10166. changed nowdownloads.eu to nowdownloads.ch
  10167.  
  10168. September 21, 2015
  10169. Version 1.1.8.3
  10170. added ryushare.com to obsolete hosts.
  10171.  
  10172. September 20, 2015
  10173. Version 1.1.8.2
  10174. fixed nitroflare not showing premium links
  10175. added down4files.com,storfiles.co,filehost.pw
  10176.  
  10177. September 16, 2015
  10178. Version 1.1.8.1
  10179. added crisshare.com to obsolete hosts
  10180. fixed filemoney.com false premium
  10181. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10182.  
  10183. September 14, 2015
  10184. Version 1.1.8.0
  10185. added to obsolete hosts...
  10186. sharebeast.com
  10187. tufiles.ru
  10188.  
  10189. September 12, 2015
  10190. Version 1.1.7.9
  10191. fixed rghost.net false premium
  10192. fixed unlimitzone.com false premium
  10193. fixed turbobit.net false live link
  10194.  
  10195. September 11, 2015
  10196. Version 1.1.7.8
  10197. Fixed filefactory.com false premium.
  10198.  
  10199. September 07, 2015
  10200. Version 1.1.7.7
  10201. fixed "depositfiles.com/en/files" links not checking
  10202.  
  10203. September 06, 2015
  10204. Version 1.1.7.6
  10205. added French code for 1fichier
  10206.  
  10207. August 29, 2015
  10208. Version 1.1.7.5
  10209. fixed depositfiles
  10210. fixed mega.co.nz/mega.nz
  10211. (fixed by yurii)
  10212.  
  10213. August 23, 2015
  10214. Version 1.1.7.4
  10215. Fixed uploadrocket (by yurii)
  10216.  
  10217. August 20, 2015
  10218. Version 1.1.7.3
  10219. fixed depfile.com false premium
  10220. fixed 1fichier false premium
  10221. fixed rapidgator false premium
  10222.  
  10223. August 08, 2015
  10224. Version 1.1.7.1
  10225. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10226.  
  10227. August 07, 2015
  10228. Version 1.1.7.0
  10229. fixed...
  10230. streamin.to
  10231. thefile.me
  10232. vidzi.tv
  10233. added...
  10234. filenuke.com
  10235. vidto.me
  10236. vidspot.net
  10237. sharesix.com
  10238. sharesix.net
  10239. movpod.in,
  10240.  
  10241. August 07, 2015
  10242. Version 1.1.6.9 added...
  10243. thefile.me
  10244. vidzi.tv
  10245. videoweed.es
  10246. vodlocker.com
  10247. nowvideo.sx
  10248. cloudtime.to
  10249. thevideo.me
  10250. vidbull.com
  10251. allmyvideos.net
  10252. novamov.com
  10253. filehoot.com
  10254. stagevu.com
  10255. gorillavid.in
  10256. streamin.to
  10257.  
  10258. August 02, 2015
  10259. Version 1.1.6.8
  10260. added cloudshares.net
  10261.  
  10262. August 01, 2015
  10263. Version 1.1.6.7
  10264. fixed depfile redirectors false premium
  10265.  
  10266. July 31, 2015
  10267. Version 1.1.6.6
  10268. fixed depfile.com false premium
  10269. */