W.A.R. Links Checker Premium

detects live, dead and premium links.

当前为 2016-07-17 提交的版本,查看 最新版本

  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. // @match http://*.nexcess.net/*
  11. // @exclude http://*.nexcess.net*
  12. // @include http://*
  13. // @include https://*
  14. // @include file:///*
  15. // @grant GM_setValue
  16. // @grant GM_getValue
  17. // @grant GM_xmlhttpRequest
  18. // @grant GM_log
  19. // @grant GM_addStyle
  20. // @grant GM_registerMenuCommand
  21. // @grant GM_getResourceText
  22. // @grant GM_info
  23. // @grant GM_setClipboard
  24. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
  25. // @require https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js
  26. // @resource jQueryUICSS https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/smoothness/jquery-ui.css
  27. // @homepage http://usa.x10host.com/mybb
  28. // @namespace war premium
  29. // @noframes
  30. // @version 1.3.0.5
  31. // ==/UserScript==
  32.  
  33. var War_version = "1.3.0.5 July 10, 2016";
  34.  
  35. //separate alternative domains with "|" char (first name is considered being main)
  36. var allHostNames = [
  37. "1fichier.com|dl4free.com",
  38. "daofile.com",
  39. "mexashare.com",
  40. "uploadgig.com",
  41. "upload.af",
  42. "alltu.eu",
  43. "filesin.space",
  44. "imagenetz.de",
  45. "katfile.com",
  46. "bankupload.com",
  47. "kingfiles.net",
  48. "keepshare.net",
  49. "filescdn.com",
  50. "myfiles.onl",
  51. "uploadserv.com",
  52. "uploading.site",
  53. "abelhas.pt",
  54. "filedwon.info",
  55. "jeodrive.com",
  56. "ncrypt.in",
  57. "yandex.com",
  58. "down4files.com",
  59. 'filespace.com',
  60. "uplod.it",
  61. "rapidu.net",
  62. "uploads.ws|upl.me",
  63. "file.up09.com",
  64. "lunaticfiles.com",
  65. "filecad.com",
  66. "filesupload.org",
  67. "bytewhale.com",
  68. "rapidrar.com",
  69. "download.cz.hellshare.com",
  70. "pornfile.cz",
  71. "dinoshare.cz",
  72. "kb.simple-aja.info",
  73. "bitster.cz",
  74. "file-share.top",
  75. "pornoid.cz",
  76. "dailyuploads.net",
  77. "sharehost.eu",
  78. "tezfiles.com",
  79. "devilshare.net",
  80. "alfafile.net",
  81. "openload.co",
  82. "multiup.org",
  83. "uplea.com",
  84. "filenuke.com",
  85. "file.al",
  86. // "inafile.com",
  87. "lolabits.es",
  88. "vidto.me",
  89. "storefiles.co",
  90. "filehost.pw",
  91. "vidspot.net",
  92. "turbobit.ru",
  93. "sharesix.com|sharesix.net",
  94. "movpod.in",
  95. "thefile.me",
  96. "datoteke.com",
  97. "vidzi.tv",
  98. "videoweed.es",
  99. "vodlocker.com",
  100. "nowvideo.sx",
  101. "cloudtime.to",
  102. "thevideo.me",
  103. "vidbull.com",
  104. "allmyvideos.net",
  105. "novamov.com",
  106. "filehoot.com",
  107. "stagevu.com",
  108. "gorillavid.in",
  109. "streamin.to",
  110. "4upld.com|expressleech.com",
  111. "cloudshares.net",
  112. "swoopshare.com",
  113. "2shared.com",
  114. "fileupload.pw",
  115. "zxcfiles.com",
  116. "up07.net",
  117. "4shared.com",
  118. "adrive.com",
  119. "aisfile.com",
  120. "hexupload.com",
  121. "bezvadata.cz",
  122. "usersfiles.com",
  123. "pan.baidu.com",
  124. "radicalshare.com",
  125. "datei.to",
  126. "daten-hoster.de|filehosting.org|xtraupload.de",
  127. "demo.ovh.eu",
  128. "depositfiles.com|depositfiles.lt|depositfiles.org|dfiles.ru|dfiles.eu",
  129. "divshare.com",
  130. "easy-share.com|crocko.com",
  131. "easybytez.com",
  132. "edisk.cz",
  133. "euroshare.eu",
  134. "file-upload.net",
  135. "yadi.sk",
  136. "wizupload.com",
  137. "fastshare.cz",
  138. "filefactory.com",
  139. "share.vnn.vn",
  140. "yunpan.cn",
  141. "gulfup.com",
  142. "tropicshare.com",
  143. "cloudzilla.to",
  144. "inclouddrive.com",
  145. "fileflyer.com",
  146. "filerio.com|filekeen.com",
  147. "up.4share.vn",
  148. "upfile.vn",
  149. "datafilehost.com",
  150. "worldbytez.com",
  151. "files.mail.ru",
  152. "filesflash.com",
  153. "box.com",
  154. "uptobox.com",
  155. "box.net",
  156. "sdilej.cz",
  157. "ex-load.com",
  158. "filesmonster.com",
  159. "filestore.to",
  160. "hulkload.com",
  161. "filedropper.com",
  162. "free-uploading.com",
  163. "gamefront.com|filefront.com",
  164. "gettyfile.ru",
  165. "gigapeta.com",
  166. "gigasize.com",
  167. "hellshare.com",
  168. "hellspy.com",
  169. "hitfile.net",
  170. "hostuje.net",
  171. "freefilehosting.net",
  172. "free.fr",
  173. "hyperfileshare.com",
  174. "filecloud.io|ifile.it",
  175. "ifolder.ru",
  176. "jumbofiles.com",
  177. "uploadrocket.net",
  178. "lafiles.com",
  179. "leteckaposta.cz|sharegadget.com",
  180. "letitbit.net",
  181. "load.to",
  182. "mediafire.com",
  183. "megafileupload.com",
  184. "megashares.com",
  185. "movshare.net",
  186. "narod.ru|narod.yandex.ru",
  187. "fboom.me|fileboom.me",
  188. "openfile.ru",
  189. "partage-facile.com",
  190. "sharerapid.cz",
  191. "exclusiveloader.com",
  192. "acefile.net",
  193. "queenshare.com",
  194. "rapidgator.net",
  195. "k2s.cc|keep2s.cc|keep2share.cc|keep2share.com",
  196. "oboom.com",
  197. "filepi.com",
  198. "neodrive.co",
  199. "rarefile.net",
  200. "rayfile.com",
  201. "rghost.net",
  202. "sendmyway.com",
  203. "clicknupload.com",
  204. "clicknupload.me",
  205. "clicknupload.link",
  206. "sharemods.com",
  207. "hostr.co",
  208. "sendspace.com",
  209. "sharecash.org",
  210. "share-links.biz",
  211. "share-online.biz|egoshare.com",
  212. "megarapid.cz",
  213. "shareflare.net",
  214. "solidfiles.com",
  215. "led.wf",
  216. "lan.wf",
  217. "adlink.wf",
  218. "click.tf",
  219. "kyc.pm",
  220. "ssh.tf",
  221. "ssh.yt",
  222. "yep.pm",
  223. "stahovanizasms.cz",
  224. "turbobit.net",
  225. "tikfile.com",
  226. "cloudsix.me",
  227. "turboupload.com",
  228. "uloz.to",
  229. "ulozto.net",
  230. "ulozisko.sk",
  231. "uloziste.com",
  232. "unibytes.com",
  233. "upload-il.net|przeslij.net",
  234. "uploaded.to|uploaded.net|ul.to",
  235. "uploading.com",
  236. "chayfile.com",
  237. "rockfile.eu",
  238. "usaupload.net",
  239. "veehd.com",
  240. "videobb.com",
  241. "vip-file.com",
  242. "webshare.cz",
  243. "xdisk.cz",
  244. "yunfile.com|filemarkets.com",
  245. "ziddu.com",
  246. "zippyshare.com",
  247. "rodfile.com",
  248. "wikiupload.com",
  249. "uploadstube.de",
  250. "faststore.org",
  251. "flyfiles.net",
  252. "nowdownload.ch",
  253. "prefiles.com",
  254. "axifile.com",
  255. "hackerbox.org",
  256. "amonshare.com",
  257. "data.hu",
  258. "brupload.net",
  259. "userscloud.com",
  260. "xfileload.com",
  261. "kumpulbagi.com|kumpulbagi.id",
  262. "uppit.com|up.ht|upx.nz",
  263. "downloadani.me",
  264. "filesabc.com",
  265. "verzend.be",
  266. "4up.me",
  267. "extmatrix.com",
  268. "sendfiles.nl",
  269. "yourfilestore.com",
  270. "filebig.net",
  271. "file4safe.com",
  272. "tusfiles.net|tusfiles.com",
  273. "filemac.com",
  274. "fileswap.com",
  275. "ozofiles.com",
  276. "nosupload.com",
  277. "gboxes.com",
  278. "myvdrive.com|fileserving.com",
  279. "filesin.com",
  280. "novafile.com",
  281. "longfiles.com",
  282. // "uploadhero.com",
  283. "uploadbaz.com",
  284. "bitupload.com",
  285. "indowebster.com",
  286. "superload.cz",
  287. "mafiastorage.com",
  288. "hellupload.com",
  289. "uploadingit.com",
  290. "stiahni.si",
  291. "sendspace.pl",
  292. "fastshare.org",
  293. "filejoker.net",
  294. "filestore.com.ua",
  295. "secureupload.eu",
  296. "rapidfileshare.net",
  297. "stiahnito.sk",
  298. "rusfolder.com",
  299. "catshare.net",
  300. "anonfiles.com",
  301. "mixturecloud.com",
  302. "filedais.com",
  303. // "imdb.com",
  304. "nitroflare.com",
  305. "akafile.com",
  306. "creafile.net",
  307. "hugefiles.net",
  308. "vidxden.com",
  309. "up.top4top.net",
  310. "upload.ee",
  311. "shareplace.org",
  312. "uploadc.com",
  313. "uploadc.ch",
  314. "remixshare.com",
  315. "exoshare.com",
  316. "borncash.org",
  317. "junocloud.me",
  318. "2downloadz.com",
  319. "mightyupload.com",
  320. "anysend.com",
  321. "datafile.com",
  322. "upstore.net",
  323. "upsto.re",
  324. "speedy.sh",
  325. // "sanshare.com",
  326. // "uploadhero.co",
  327. "ge.tt",
  328. "filesflash.net",
  329. "salefiles.com",
  330. // "megairon.net",
  331. "datoid.cz",
  332. "cloudstor.es",
  333. "streamfile.com",
  334. "eyesfile.ca",
  335. "filemoney.com",
  336. "uploadboy.com",
  337. "uploadboy.me",
  338. "speedshare.eu",
  339. "google.com",
  340. "unlimitzone.com",
  341. "rioupload.com",
  342. "rg.to",
  343. "jumbofiles.org",
  344. "fshare.vn",
  345. "spaceforfiles.com",
  346. "up.media1fire.com",
  347. "depfile.com",
  348. "go4up.com",
  349. "dropbox.com",
  350. "redbunker.net",
  351. "divxpress.com",
  352. "mega.nz|mega.co.nz",
  353. "anafile.com",
  354. "uploadable.ch",
  355. "bigfile.to",
  356. "arabloads.net",
  357. "sharerepo.com",
  358. "sfshare.se",
  359. "files.fm",
  360. "koofile.com",
  361. "vidplay.net",
  362. "doraupload.com",
  363. "openload.io",
  364. "toutbox.fr",
  365. "upnito.sk",
  366. "oload.net",
  367. ];
  368.  
  369. try
  370. {
  371. //iframes excluded
  372. if (window.top != window.self)
  373. {
  374. return;
  375. }
  376. //allHostNames sites excluded
  377. if (window.location.href.match("https?:\/\/(www\.)?[\w\.-]*(?:" +
  378. allHostNames.join("|").replace(/\./g, "\\.").replace(/-/g, "\\-") +
  379. ")"))
  380. {
  381. return;
  382. }
  383. }
  384. catch (e)
  385. {
  386. return;
  387. }
  388.  
  389. //separate alternative domains with "|" char (first name is considered being main)
  390. var allContainerNames = [
  391. "adf.ly",
  392. "linkcrypt.ws",
  393. "linksafe.me",
  394. // "linksave.in",
  395. "linkto.net",
  396. "madlink.sk",
  397. "multiload.cz",
  398. "mirrorcreator.com",
  399. // "ncrypt.in",
  400. "redi.re",
  401. "relink.us",
  402. "safelinking.net",
  403. "theloo.katt.it",
  404. "bit.ly",
  405.  
  406. ];
  407.  
  408. //separate alternative domains with "|" char (first name is considered being main)
  409. var allObsoleteNames = [
  410. "warped.co",
  411. "xkeepfile.com",
  412. "uploadspace.pl",
  413. "uploads.xxx",
  414. "netkups.com",
  415. "nekaka.com",
  416. "myupload.dk",
  417. "muchshare.net",
  418. "loudupload.net",
  419. "idup.in",
  420. "hulkshare.com",
  421. "goldbytez.com",
  422. "filesmelt.com",
  423. "fileband.com",
  424. "uloz.cz",
  425. "secured.in",
  426. "rapidfilehost.com",
  427. "fileover.net",
  428. "fileinz.com",
  429. "linksave.in",
  430. "seenupload.com",
  431. "sangfile.com",
  432. "filepost.com|fp.io",
  433. "sharingmaster.com ",
  434. "24uploading.com",
  435. "storagon.com",
  436. "sanshare.com",
  437. "filestorm.to",
  438. "uploadnet.co",
  439. "180upload.com",
  440. "rapidsonic.com",
  441. "fileparadox.com",
  442. "4upfiles.com",
  443. "geupload.com",
  444. "lenfile.com",
  445. "fileparadox.in",
  446. "uploadhero.co",
  447. "uploadhero.com",
  448. "newfileland.com",
  449. "quickshare.cz",
  450. "elffiles.com",
  451. "netload.in",
  452. "netload.me",
  453. "movreel.com",
  454. "migahost.com",
  455. "krotix.net",
  456. "jumbofile.net",
  457. "edoc.com",
  458. "cramit.in|cramitin.net",
  459. "freakshare.com",
  460. "burnupload.com|burnupload.ihiphop.com",
  461. "freakshare.net",
  462. "daj.to",
  463. "bl.st",
  464. "2drive.net",
  465. "ryushare.com",
  466. "crisshare.com",
  467. "tufiles.ru",
  468. "uncapped-downloads.com",
  469. "sockshare.com",
  470. "ddlstorage.com",
  471. "dataport.cz",
  472. "dizzcloud.com",
  473. "sharebeast.com",
  474. "stahovadlo.cz",
  475. "shared.com",
  476. "storage.to",
  477. "putlocker.com",
  478. "lumfile.com",
  479. "lumfile.se",
  480. "lumfile.eu",
  481. "firedrive.com",
  482. "fileshare.in.ua",
  483. "filecore.co.nz",
  484. "filecore.co",
  485. "iskladka.cz",
  486. "file-rack.com",
  487. "fast-load.net",
  488. "subory.sk",
  489. "bigandfree.com",
  490. "fileop.com",
  491. "mujsoubor.cz",
  492. "sendfile.to",
  493. "superfastfile.com",
  494. "quickyshare.com",
  495. "duckload.com",
  496. "uploadstore.net",
  497. "meinupload.com",
  498. "dualshare.com",
  499. "2xupload.to|2xupload.de",
  500. "oxedion.com",
  501. "uploadline.com",
  502. "dll.bz",
  503. "movieshare.in",
  504. "milledrive.com",
  505. "quickupload.net",
  506. "safelink.in",
  507. "metadivx.com",
  508. "divxlink.com",
  509. "uploadrack.com",
  510. "teradepot.com",
  511. "dataup.to",
  512. "upit.to",
  513. "driveway.com",
  514. "eatlime.com",
  515. "a2zuploads.com",
  516. "friendlyfiles.net",
  517. "flyfile.us",
  518. "speedyshare.com",
  519. "uploadspace.eu",
  520. "keepfile.com",
  521. "piggyshare.com",
  522. "uplly.com",
  523. "filecrown.com",
  524. "6giga.com",
  525. "uploadjockey.com",
  526. "bluehost.to",
  527. "filegu.ru",
  528. "filebase.to",
  529. "up-file.com",
  530. "xvideos.com",
  531. "ufox.com",
  532. "filebling.com",
  533. "loaded.it",
  534. "uploadcell.com",
  535. "uploadshare.cz",
  536. "mangoshare.com",
  537. "filestab.com",
  538. "crazyupload.com",
  539. "gaiafile.com",
  540. "sharejunky.com",
  541. "fileho.com",
  542. "bigandfree.com",
  543. "bigfile.in",
  544. "bigshare.eu",
  545. "dahosting.org",
  546. "digisofts.net",
  547. "file4save.com",
  548. "filechip.com",
  549. "filescloud.com",
  550. "saveqube.com",
  551. "turboshare.de",
  552. "z-upload.com",
  553. "youshare.com",
  554. "jiffyupload.com",
  555. "gigeshare.com",
  556. "datenklo.net",
  557. "upload.dj",
  558. "loadfiles.in",
  559. "upit.to",
  560. "dsfileshare.com",
  561. "sharesimple.net",
  562. "4files.net",
  563. "wooupload.com",
  564. "odsiebie.com",
  565. "filenavi.com",
  566. "3oof.com",
  567. "meshwaar.com",
  568. "maxupload.com",
  569. "share.cx",
  570. "atserver.eu",
  571. "hotfiles.ws",
  572. "esnips.com",
  573. "tuxfile.com",
  574. "file2upload.net",
  575. "filebling.com",
  576. "turboshare.com",
  577. "rarhost.com",
  578. "isharehd.com",
  579. "i741.com",
  580. "dataup.de",
  581. "fofly.com",
  582. "shareonall.com",
  583. "sexuploader.com",
  584. "megaupload.com|megavideo.com|megaporn.com|megarotic.com",
  585. "uploadhyper.com",
  586. "filespawn.com",
  587. "caizzii.com",
  588. "volnyweb.cz",
  589. "usershare.net",
  590. "filescash.net",
  591. "metahyper.com",
  592. "combozip.com",
  593. "x7.to",
  594. "uploadbox.com",
  595. "enterupload.com|flyupload.com",
  596. "filepoint.de",
  597. "mystream.to",
  598. "x-fs.com",
  599. "shareator.com",
  600. "srapid.eu",
  601. "sosame.cz",
  602. "filesdump.com",
  603. "2-klicks.de",
  604. "uploking.com",
  605. "silofiles.com",
  606. "upfile.in",
  607. "filehook.com",
  608. "uploadking.com",
  609. "uploadhere.com",
  610. "kewlshare.com",
  611. "rapidable.com",
  612. "uploadwaste.com",
  613. "filemup.com",
  614. "filesonic.com|sharingmatrix.com",
  615. "fileserve.com",
  616. "wupload.com",
  617. "skipfile.com",
  618. "smartuploader.com",
  619. "dualshare.com",
  620. "storeandserve.com",
  621. "mountfile.com",
  622. "transitfiles.com",
  623. "uploadstation.com",
  624. "filejungle.com",
  625. "shareshared.com",
  626. "quickyshare.com",
  627. "save.am",
  628. "petandrive.com",
  629. "file2box.com",
  630. "flyshare.cz",
  631. "yabadaba.ru",
  632. "cloudcache.cc",
  633. "yourfilehost.com",
  634. "jakfile.com",
  635. "kickload.com",
  636. "pyramidfiles.com",
  637. "refile.net",
  638. "zshare.net",
  639. "ddlani.me|ddlanime.com",
  640. "ftp2share.com",
  641. "fooget.com",
  642. "rapidhide.com",
  643. "gotupload.com",
  644. "mooload.com",
  645. "zupload.com",
  646. "mytempdir.com",
  647. "onionshare.com",
  648. "stahnu.to",
  649. "oron.com",
  650. "badongo.com",
  651. "filereactor.com",
  652. "filegaze.com",
  653. "4bytez.com",
  654. "1hostclick.com",
  655. "anonstream.com",
  656. "batshare.com",
  657. "bitroad.net",
  658. "brontofile.com",
  659. "cloudnxt.net",
  660. "cloudnator.com|shragle.com",
  661. "filesfrog.net",
  662. "coolshare.cz",
  663. "dotavi.com",
  664. "ezyfile.net",
  665. "file-bit.net",
  666. "filecosy.com",
  667. "fileduct.com|fileduct.net",
  668. "filefat.com",
  669. "filelaser.com",
  670. "filemashine.com",
  671. "fileserver.cc",
  672. "filetechnology.com",
  673. "fireuploads.net",
  674. "gigfiles.net",
  675. "holderfile.com",
  676. "ihostia.com",
  677. "k2files.com",
  678. "mojofile.com",
  679. "ovfile.com",
  680. "qshare.com",
  681. "shafiles.me",
  682. "sharefilehost.com",
  683. "shareupload.com",
  684. "stahuj.to",
  685. "ugotfile.com",
  686. "uploadboost.com",
  687. "fileom.com",
  688. "vidhog.com",
  689. "xfileshare.eu",
  690. "bzlink.us",
  691. "bulletupload.com",
  692. "bloggerarticles.com",
  693. "mojedata.sk",
  694. "sharpfile.com",
  695. "upgrand.com",
  696. "nasdilej.cz",
  697. "mediatack.cz",
  698. "share-it.to",
  699. "primeupload.com",
  700. "filebeer.info",
  701. "baberepublic",
  702. "xtu.me",
  703. "sharebase.de",
  704. "luckyshare.net",
  705. "filerobo.com",
  706. "filevelocity.com",
  707. "filezpro.com",
  708. "file4sharing.com",
  709. "cing.be",
  710. "ufile.eu",
  711. "pigsonic.com",
  712. "fileupped.com",
  713. "sharerun.com",
  714. "filesaur.com",
  715. "rapidslnare.com",
  716. "bestsharing.com",
  717. "savefiles.net",
  718. "file2share.biz",
  719. "filecache.de",
  720. "monsteruploads.eu",
  721. "b9bb.com",
  722. "aiotool.net",
  723. "jamber.info",
  724. "megaftp.com",
  725. "desiupload.net",
  726. "file27.com",
  727. "yastorage.com",
  728. "filehost.ws",
  729. "copyload.com",
  730. "venusfile.com",
  731. "aieshare.com",
  732. "terafile.co",
  733. "terafile.com",
  734. "fileza.net",
  735. "filerose.com",
  736. "squillion.com",
  737. "fileprohost.com",
  738. "bitbonus.com",
  739. "warserver.cz",
  740. "uload.to",
  741. "sharedbit.net",
  742. "megaload.it",
  743. "filewinds.com",
  744. "uploadcore.com",
  745. "syfiles.com",
  746. "eyesfile.com",
  747. "hotfile.com",
  748. "superupl.com",
  749. "oteupload.com",
  750. "henchfile.com",
  751. "filegag.com",
  752. "HenchFile.com",
  753. "filedefend.com",
  754. "share-rapid.com|rapids.cz|share-credit.cz|share-central.cz|share-ms.cz|share-net.cz|srapid.cz|share-rapid.cz",
  755. "megabitshare.com",
  756. "cloudzer.com",
  757. "asfile.com",
  758. "cloudzer.net",
  759. "clz.to",
  760. "extabit.com",
  761. "247upload.com",
  762. "2download.de",
  763. "4fastfile.com",
  764. "asixfiles.com",
  765. "berofile.com",
  766. "bigupload.com",
  767. "cepzo.com",
  768. "clouds.to",
  769. "cobrashare.sk",
  770. "coraldrive.net",
  771. "cyberlocker.ch",
  772. "czshare.com",
  773. "darkport.org",
  774. "dark-uploads.com",
  775. "davvas.com",
  776. "enigmashare.com",
  777. "erofly.cz",
  778. "fastsonic.net",
  779. "filebox.com",
  780. "filecity.net",
  781. "filedap.com",
  782. "filedino.com",
  783. "filedownloads.org",
  784. "filefolks.com",
  785. "fileking.co",
  786. "filemates.com",
  787. "files.to",
  788. "files2k.eu",
  789. "filesector.cc",
  790. "bitshare.com",
  791. "filesega.com",
  792. "filesend.net",
  793. "filestay.com",
  794. "filestrum.com",
  795. "fileuplo.de",
  796. "fileupup.com",
  797. "forunesia.com",
  798. "freeuploads.fr",
  799. "uploa.dk",
  800. "getthebit.com",
  801. "getzilla.net",
  802. "goldfile.eu",
  803. "good.com",
  804. "grupload.com",
  805. "hellfile.com",
  806. "hipfile.com",
  807. "hitfile.com",
  808. "hulkfile.eu|duckfile.net",
  809. "i-filez.com",
  810. "ifile.ws",
  811. "kupload.org",
  812. "packupload.com",
  813. "lemuploads.com",
  814. "limelinx.com",
  815. "maxshare.pl",
  816. "megarelease.org",
  817. "megashare.com",
  818. "minus.com",
  819. "mlfat4arab.com",
  820. "multishare.cz",
  821. "nirafile.com",
  822. "ok2upload.com",
  823. "peejeshare.com",
  824. "premiuns.org",
  825. "przeklej.net",
  826. "qkup.net",
  827. "rapidupload.sk",
  828. "rockdizfile.com",
  829. "rocketfile.net",
  830. "share-now.net",
  831. "share76.com",
  832. "sharebees.com",
  833. "sharefiles.co",
  834. "slingfile.com",
  835. "sms4file.com",
  836. "space4file.com",
  837. "tigershare.net",
  838. "toucansharing.com",
  839. "ubuntuone.com",
  840. "unextfiles.com",
  841. "upaj.pl",
  842. "upfile.biz",
  843. "uploadbin.net",
  844. "uploadic.com",
  845. "uploadinc.com",
  846. "uploading4u.eu",
  847. "uploadjet.net",
  848. "uploadorb.com",
  849. "upthe.net",
  850. "uptorch.com",
  851. "vidbox.yt",
  852. "videozer.com",
  853. "vreer.com",
  854. "wallobit.com",
  855. "zooupload.com",
  856. "privatefiles.com",
  857. "xerver.co",
  858. "BillionUploads.com",
  859. "rapidshare.com",
  860. "rapidshare.ru",
  861. "4savefile.com",
  862. "bayfiles.com",
  863. "bayfiles.net",
  864. "dodane.pl",
  865. "dotsemper.com",
  866. "egofiles.com",
  867. "epicshare.net",
  868. "fiberupload.net",
  869. "filemonkey.in",
  870. "filemonster.net",
  871. "filepom.com",
  872. "filesbb.com",
  873. "fileshareup.com",
  874. "filevice.com",
  875. "gigaup.fr",
  876. "isavelink.com",
  877. "loombo.com",
  878. "megafiles.se",
  879. "migupload.com",
  880. "mydisc.net",
  881. "nitrobits.com",
  882. "potload.com",
  883. "redload.net",
  884. "shareprofi.com",
  885. "sharesuper.info",
  886. "sinhro.net",
  887. "speedfile.cz",
  888. "speedshare.org",
  889. "storage.novoro.net",
  890. "swankshare.com",
  891. "swatupload.com",
  892. "upafile.com",
  893. "uploadmachine.com",
  894. "uploadsat.com",
  895. "upshared.com",
  896. "usefile.com",
  897. "yourfiles.to",
  898. "zomgupload.com",
  899. "ultramegabit.com",
  900. "uploadto.us",
  901. "inafile.com",
  902. "megairon.net",
  903.  
  904. ];
  905. ///////////////////////////////////////////////////////////////////////////////////////
  906. var firstRun = GM_getValue("First_run", true);
  907.  
  908. var chromeBrowser = /chrom(e|ium)/.test(navigator.userAgent.toLowerCase());
  909. //////////////////////////////////////////////////////////////////////////////////////
  910. try
  911. {
  912. var thisVersion = GM_info.script.version; //not supported in Scriptish and others
  913. var last_known_version = GM_getValue("last_known_version", "");
  914. if (!last_known_version)
  915. {
  916. last_known_version = thisVersion;
  917. GM_setValue("last_known_version", last_known_version);
  918. }
  919. //var newVersion = !(thisVersion == last_known_version);
  920. var newVersion = !(a.replace(/^(\d+\.\d+\.\d+).*/,'$1') == b.replace(/^(\d+\.\d+\.\d+).*/,'$1')); //true only if one of the first three numbers differs
  921. GM_setValue("last_known_version", thisVersion);
  922. }
  923. catch (err)
  924. {
  925. var newVersion = false;
  926. }
  927.  
  928. var now = (new Date()).getTime();
  929. var last_custom_rules_nag = GM_getValue('last_custom_rules_nag', 0);
  930. if (!last_custom_rules_nag)
  931. {
  932. last_custom_rules_nag = now;
  933. GM_setValue('last_custom_rules_nag', ''+now);
  934. }
  935.  
  936.  
  937. allHostNames.sort();
  938. allContainerNames.sort();
  939. allObsoleteNames.sort();
  940.  
  941. var RAND_STRING = "8QyvpOSsRG3QWq";
  942. var DEBUG_MODE = false;
  943.  
  944. var TOOLTIP_MAXWIDTH = 600; //in pixels
  945. var TOOLTIP_THUMBWIDTH = 200;
  946. var containers_processed = false;
  947.  
  948. //settings for keyboard functions start
  949. var CHECK_ALL_LINKS_KEY = "A";
  950. var CONFIGURATION_KEY = "C";
  951. var copy_to_dead_key = "D";
  952. var copy_to_live_key = "L";
  953. var toggle_autocheck_key = "W";
  954. var toggle_Enable_Anonymizer_key = "Z";
  955. var first_key_keycode = '17'; // 18=ALT 16=Shift 17=Ctrl 32=SPACE_BAR 9=TAB
  956. var first_key_keycodename = 'CTRL';
  957. var second_key_keycode = '18';
  958. var second_key_keycodename = 'ALT';
  959. var CHECK_ALL_LINKS_KEYCODE = CHECK_ALL_LINKS_KEY.charCodeAt(0);
  960. var CONFIGURATION_KEYCODE = CONFIGURATION_KEY.charCodeAt(0);
  961. var copy_to_dead_keycode = copy_to_dead_key.charCodeAt(0);
  962. var copy_to_live_keycode = copy_to_live_key.charCodeAt(0);
  963. var toggle_autocheck_keycode = toggle_autocheck_key.charCodeAt(0);
  964. var toggle_Enable_Anonymizer_keycode = toggle_Enable_Anonymizer_key.charCodeAt(0);
  965. //settings for keyboard functions end
  966.  
  967. //global settings start
  968. var Show_black_background_in_DL_links, Show_line_through_in_dead_links, Color_DL_links;
  969. var Live_links_color, Dead_links_color, Temp_unavailable_links_color, Premium_links_color, Ref_anonymize_service;
  970. var Do_not_linkify_DL_links, Keyboard_functions, Autocheck, Enable_Anonymizer;
  971. var Show_progress_stats, Display_tooltip_info, Icon_set;
  972. var Progress_box_pos_bottom, Progress_box_pos_right, Progress_box_opacity, Progress_box_background_color, Progress_box_item_color;
  973. var Progress_box_refresh_rate;
  974. var Obsolete_file_hosts;
  975. var Custom_rules, Custom_rules_text;
  976.  
  977. var messageBox = document.createElement('b'); // top-left message box
  978.  
  979. var cLinksTotal = 0;
  980. var cLinksDead = 0;
  981. var cLinksAlive = 0;
  982. var cLinksUnava = 0;
  983. var cLinksprem = 0;
  984. var cLinksProcessed = 0;
  985.  
  986. var intervalId; //for updateProgress()
  987.  
  988. //icon resources
  989. var PAW_ICON_GREEN = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAANCAYAAABy6+R8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplc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j79/MHwEagRpfvPpB8OuuJsHvz785QRU9w+XAQwCMkyby3aZ+/xj5YBr/vDzD8OpngefHq55rw9U8gBbFCFHo4pljvAV60x19o+/fgMN+cNw79h7hjNFD5IZ/jPMwxXHKOmAmYOxPWCNWgWzKBfDm7c/GY4m3Nr089Uff3yJBD0h8Ug68tzQbVCUvtD66PWrXR91gWIvSTEABOw5pNlKfjz91QNkHySUTAGg7t0uvj1ytQAAAABJRU5ErkJggg==';
  1000. var NEW_ICON_RED = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA6klEQVQ4jbWTwWrCQBRFz6Rxnay6iuAXlJIg+BHZZR/d6++4t/5MpRQRf8CCrurGrDP6uumESTol04J3dbmPd7hvYBTAG5QBzIFH/PQpsBzDWm2gDGEFKM9lIxGYBSEsustRnpPWNZkImQip1sRF0QUoBQv1DgdgZE9SrdmGIX0Z8NFKni8XHqIIgEzkR+dMhGtVsYvjJgt6L+1Rq4FN/hcA2md01a0PjhPM8n44bDLjXeBf36A+nZzeG+Cr+wEGSeL0LsDZDq5VBcDT8dhkxpuZpbN6hXIAL76Vbd1gqgC+IX/6zhqWE1h/AYSwSjYrmXJlAAAAAElFTkSuQmCC';
  1001. var NEW_ICON_YELLOW = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtA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3j8NQlzHYhaW0cfNEAslWCfBw4yvYhkv8hjCgxD7yMdquw/jbJ4+xq2cz+AKdrJRv9EAv/EDx3Ft75QhtrHdcFpHy0mS/lSqcVzAFM7he6XaTNLXJoOmS+ziOc4XcB893A3xodUgm5zAHdzHSLH0DhdD/GwsoSjlV5Je5nK+YQUTOInXSXq7x6134RQuo4unGf6Me7iKMxgrNfUuXMJazr8U+DA6Of/UZrCF9xjFM3zELpZwOptulIKmLlQGNXdqS7u4EWK9BA9cYpJ2KtWcwaMazcInuB3iTZ3fGv/znf8CBMxX4hrPUbUAAAAASUVORK5CYII=';
  1003.  
  1004. //global settings end
  1005. if (window.opera && !window.console)
  1006. {
  1007. window.console = {};
  1008.  
  1009. function fn()
  1010. {
  1011. opera.postError(arguments);
  1012. };
  1013. ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'].forEach(function (name)
  1014. {
  1015. window.console[name] = fn;
  1016. });
  1017. }
  1018.  
  1019. //displays colored text in message box
  1020. function sendMessage(text, color)
  1021. {
  1022. var msgDiv = document.createElement('div');
  1023. msgDiv.style.color = color;
  1024. msgDiv.innerHTML = text;
  1025. messageBox.appendChild(msgDiv);
  1026. setTimeout(function(){messageBox.removeChild(msgDiv)}, 3000);
  1027. }
  1028.  
  1029. function linkify(totalourls)
  1030. { // code from http://userscripts.org/scripts/review/2254 Linkify ting
  1031. var ikkeTilladteTags;
  1032. var allLinksRegex = "(?:http:\/\/.+?\\?)?(?:https?:\/\/)?"
  1033. + "[0-9A-Za-z]+(?:[\\.-][0-9A-Za-z]+)*\\.[A-Za-z]+/" //instead of totalourls
  1034. + "[\\w\\–\\-\\.+$!*\\/()\\[\\]\',~%?:@#&=\\\\\\—;…×Ã\\_\\u0080-\\u03FF’‘" + (Allow_spaces_in_DL_links ? "\\u0020" : "") + "]*";
  1035. allLinksRegex = new RegExp(allLinksRegex, "g");
  1036. var regexy = "^(?:http:\/\/.+?\\?)?(?:https?:\/\/)?(?:www\\.)?(?:" + totalourls + ")";
  1037.  
  1038. if (Do_not_linkify_DL_links)
  1039. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea', 'span']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1040. else
  1041. ikkeTilladteTags = ['a', 'head', 'script', 'style', 'title', 'option', 'iframe', 'textarea']; //tags, hvor det der stAΞ’Β¥r inden i ikke skal vAΞ’Β¦re links
  1042.  
  1043. var regex = new RegExp(regexy);
  1044. var textNode, muligtLink;
  1045.  
  1046. var path = "//text()[not(parent::" + ikkeTilladteTags.join(" or parent::") + ") and contains(.,'/')]";
  1047. var textNodes = document.evaluate(path, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1048.  
  1049. var i = textNodes.snapshotLength;
  1050. while (i--)
  1051. {
  1052. textNode = textNodes.snapshotItem(i);
  1053.  
  1054. muligtLink = textNode.nodeValue; //all links on page
  1055.  
  1056. var myArray = null;
  1057. var span = null;
  1058. var lastLastIndex = 0;
  1059. allLinksRegex.lastIndex = 0;
  1060. if (/^https?:\/\/~[\w\s\~]*\//.test(muligtLink))
  1061. {
  1062. if (textNode.parentNode.className == "adead_link") continue;
  1063. var censoredLink = muligtLink;
  1064. var span = document.createElement('span');
  1065. span.className = "adead_link";
  1066. $(span).attr('warlc_error', "Cause of error: <b>Censored link.</b>");
  1067. $(span).html(censoredLink);
  1068. span.addEventListener("mouseover", displayTooltipError, false);
  1069. cLinksTotal++; cLinksProcessed++; cLinksDead++;
  1070. textNode.parentNode.replaceChild(span, textNode);
  1071. continue;
  1072. alert(censoredLink);
  1073. }
  1074. while (myArray = allLinksRegex.exec(muligtLink)) //find all links
  1075. {
  1076. if (!regex.test(myArray[0])) //this link is not recognized
  1077. {
  1078.  
  1079. continue;
  1080. }
  1081. if (!span)
  1082. span = document.createElement('span');
  1083.  
  1084. var link = myArray[0];
  1085. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex, myArray.index))); //inds?t det der kommer for dette hit
  1086.  
  1087. var $a = $("<a>" + link + "</a>")
  1088. if (!link.match(/https?:\/\//))
  1089. {
  1090. link = 'http://' + link;
  1091. }
  1092.  
  1093. $a.attr("href", link.replace(/\[\/hide:\w+\]/,""))
  1094. .addClass("processing_link")
  1095. .appendTo(span);
  1096. lastLastIndex = allLinksRegex.lastIndex;
  1097. }
  1098. if (span)
  1099. {
  1100. span.appendChild(document.createTextNode(muligtLink.substring(lastLastIndex))); //ins?t det der kommer efter sidste hit
  1101. textNode.parentNode.replaceChild(span, textNode);
  1102. }
  1103. }
  1104. }
  1105.  
  1106. function add_WARLC_style()
  1107. {
  1108. if (!(document.getElementsByTagName('WARLC')[0]))
  1109. {
  1110. var meta_not_to_add_more_style = document.createElement("WARLC");
  1111. meta_not_to_add_more_style.setAttribute('content', 'war_links_checker');
  1112. meta_not_to_add_more_style.setAttribute('name', 'description');
  1113. document.getElementsByTagName('head')[0].appendChild(meta_not_to_add_more_style);
  1114. alive_link_png = "";
  1115. adead_link_png = "";
  1116. unava_link_png = "";
  1117. prem_link_png = "";
  1118. switch(Icon_set)
  1119. {
  1120. //no icons
  1121. case 0: break;
  1122. // cat paws
  1123. case 1: alive_link_png = PAW_ICON_GREEN;
  1124. adead_link_png = PAW_ICON_RED;
  1125. unava_link_png = PAW_ICON_YELLOW;
  1126. prem_link_png = PAW_ICON_PINK;
  1127. break;
  1128. // classic RSLC look
  1129. case 2: alive_link_png = RSLC_ICON_GREEN;
  1130. adead_link_png = RSLC_ICON_RED;
  1131. unava_link_png = RSLC_ICON_YELLOW;
  1132. prem_link_png = RSLC_ICON_PINK;
  1133. break;
  1134. // New Icons
  1135. case 3: alive_link_png = NEW_ICON_GREEN;
  1136. adead_link_png = NEW_ICON_RED;
  1137. unava_link_png = NEW_ICON_YELLOW;
  1138. prem_link_png = NEW_ICON_PINK;
  1139. break;
  1140. // cat paws
  1141. default:alive_link_png = PAW_ICON_GREEN;
  1142. adead_link_png = PAW_ICON_RED;
  1143. unava_link_png = PAW_ICON_YELLOW;
  1144. prem_link_png = PAW_ICON_PINK;
  1145. break;
  1146. }
  1147. processing_link_gif = 'data:image/gif;base64,' + // or temporary anavailable
  1148. 'R0lGODlhCgAKAJEDAMzMzP9mZv8AAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFAAADACwAAAAACgAKAAACF5wncgaAGgJzJ647cWua4sOBFEd62VEAACH5BAUAAAMALAEAAAAIAAMAAAIKnBM2IoMDAFMQFAAh+QQFAAADACwAAAAABgAGAAACDJwHMBGofKIRItJYAAAh+QQFAAADACwAAAEAAwAIAAACChxgOBPBvpYQYxYAIfkEBQAAAwAsAAAEAAYABgAAAgoEhmPJHOGgEGwWACH5BAUAAAMALAEABwAIAAMAAAIKBIYjYhOhRHqpAAAh+QQFAAADACwEAAQABgAGAAACDJwncqi7EQYAA0p6CgAh+QQJAAADACwHAAEAAwAIAAACCpRmoxoxvQAYchQAOw%3D%3D';
  1149.  
  1150. var dead_color_css, live_color_css, unava_color_css, prem_color_css, black_background_css;
  1151.  
  1152. if (Color_DL_links)
  1153. {
  1154. dead_color_css = 'color:' + Dead_links_color + ' !important;';
  1155. live_color_css = 'color:' + Live_links_color + ' !important;';
  1156. unava_color_css = 'color:' + Temp_unavailable_links_color + ' !important;';
  1157. container_color_css = 'color:' + Container_links_color + ' !important;';
  1158. prem_color_css = 'color:' + Premium_links_color + ' !important;';
  1159. }
  1160. else
  1161. {
  1162. dead_color_css = live_color_css = unava_color_css = container_color_css = prem_color_css = '';
  1163. }
  1164.  
  1165. if (Show_black_background_in_DL_links)
  1166. {
  1167. black_background_css = 'background-color: black !important;';
  1168. }
  1169. else
  1170. {
  1171. black_background_css = '';
  1172. }
  1173.  
  1174. if (Show_line_through_in_dead_links)
  1175. {
  1176. line_through_css = 'text-decoration: line-through !important;';
  1177. }
  1178. else
  1179. {
  1180. line_through_css = '';
  1181. }
  1182.  
  1183. GM_addStyle(".alive_link {background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + live_color_css + black_background_css + "}");
  1184. 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 + "}");
  1185. GM_addStyle(".unava_link {background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + unava_color_css + black_background_css + "}");
  1186. GM_addStyle(".processing_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1187. GM_addStyle(".container_link {background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;" + container_color_css + black_background_css + "}");
  1188. GM_addStyle(".container_list {font-size:90%; list-style-type:square; padding: 0px 5% 0px; margin: 0px}");
  1189. GM_addStyle(".prem_link {background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;" + prem_color_css + black_background_css + "}");
  1190. }
  1191. }
  1192.  
  1193. var warlcTooltip = null;
  1194. var mouseoverLink = null; //link href with mouse cursor over it
  1195.  
  1196. var lastX = 0;
  1197. var lastY = 0;
  1198.  
  1199. $(document).ready(initTooltip);
  1200. //inits tooltip
  1201. function initTooltip()
  1202. { warlcTooltip = document.createElement("div");
  1203. 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;");
  1204. warlcTooltip.style.visibility = "hidden";
  1205. document.body.appendChild(warlcTooltip);
  1206. }
  1207.  
  1208. //"mousemove" event handler for all links
  1209. function moveTooltip(event)
  1210. {
  1211. if ((Math.abs(lastX - event.clientX) + Math.abs(lastY - event.clientY)) < 6)
  1212. { //no need to reflow if the cursor moved just a little
  1213. return;
  1214. }
  1215. else
  1216. {
  1217. lastX = event.clientX;
  1218. lastY = event.clientY;
  1219. }
  1220.  
  1221. posX = event.clientX + window.pageXOffset + 10;
  1222. posY = event.clientY + window.pageYOffset;
  1223. var ttHeight = warlcTooltip.offsetHeight;
  1224. var ttFreeSpace = window.innerHeight - event.clientY;
  1225. if (ttHeight > ttFreeSpace)
  1226. { //prevents tooltip from getting out of the window
  1227. posY -= (ttHeight - (ttFreeSpace)) + 10;
  1228. }
  1229. else
  1230. {
  1231. posY += 7;
  1232. }
  1233. warlcTooltip.style.top = posY + "px";
  1234. warlcTooltip.style.left = posX + "px";
  1235. }
  1236.  
  1237. //"mouseout" event handler for all links
  1238. function hideTooltip(){
  1239. warlcTooltip.style.visibility = "hidden";
  1240. mouseoverLink = null;
  1241. }
  1242.  
  1243.  
  1244. //"mouseover" event handler for dead links
  1245. //displays tooltip error message on dead links
  1246. function displayTooltipError()
  1247. {
  1248. mouseoverLink = this.href;
  1249. this.addEventListener("mouseout", hideTooltip);
  1250. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1251. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1252. warlcTooltip.style.minWidth = 0;
  1253. warlcTooltip.style.visibility = "visible";
  1254. if (this.warlc_error) //an error message is already known and stored in warlc_error attribute
  1255. {
  1256. warlcTooltip.innerHTML = this.warlc_error;
  1257. }
  1258. else
  1259. {
  1260. loadErrorInfo(this);
  1261. }
  1262. function loadErrorInfo(link)
  1263. {
  1264. var href = link.href;
  1265. href = href.replace(/quickshare\.cz\/.+/, "quickshare.cz/chyba");
  1266. GM_xmlhttpRequest({
  1267. method: 'GET',
  1268. url: href.replace(Ref_anonymize_service, ""),
  1269. headers: {
  1270. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1271. 'Accept': 'text/xml',
  1272. 'Referer': ""
  1273. },
  1274. onload: function(result) {
  1275. var res = result.responseText;
  1276. //TODO: errorRegexs -
  1277. var errorRegexs = [ //generic error messages follow
  1278. /(empty directory)/i,
  1279. /(soubor nebyl nalezen)/i,
  1280. /((?:file|page|link|folder)(?:is|not|does|has been|was| ){1,}(?:found|available|blocked|exists?|deleted|removed))/i,
  1281. //server specific error messages follow
  1282. /msg error" style="cursor: default">(.+?)<\/div>/, //sendspace
  1283. /color:red;font\-weight:bold;border\-style:dashed;font-size:12px;border\-width:2px;><tr><td align=center>(.+?)<\/td>/, //fastshare
  1284. /(Takový soubor neexistuje. Je možné, že byl již smazán.)/, //quickshare
  1285. /file_info file_info_deleted">\s*<h1>(.+?)<\/h1>/, //filepost
  1286. /<br \/>\s*<p style="color:#000">(.+?)<\/p>\s*<\/center>/, //letitbit
  1287. /(?:error_div">|<\/h1><p>)<strong>(.+?)<\/strong>/, //share-rapid,quickshare
  1288. /class="red">(.+?)<(?:span|br)>/, //czshare, megashares
  1289. /not-found">\s*<p>(.+?)<\/p>/, //bayfiles
  1290. /(Your file could not be found. Please check the download link.)/, //stahnu.to
  1291. /error_msg">\s*(<h3>.+?<\/h3><ul>(.+?)<\/ul>)/, //edisk
  1292. /error">\s*(?:<[bp]>)?\s*(.+?)<\/[bp]>/, //filesmonster, shragle, gigapeta
  1293. ///center aC">\s*<h1>(.+?)<br \/>/, //uploaded.to
  1294. /icon_err">\s*<h1>(.+?)<\/h1>/, //filejungle
  1295. /(File has been removed due to Copyright Claim)/, //filerio
  1296. ];
  1297. var errorIdx = errorRegexs.length;
  1298. var error = "Cause of error: <b>unknown</b>";
  1299. var errorCandidate = "";
  1300. while(errorIdx--)
  1301. {
  1302. var errorCandidate = res.match(errorRegexs[errorIdx]);
  1303. if (errorCandidate != null)
  1304. {
  1305. error = "Cause of error: <b>" + errorCandidate[1].replace(/&nbsp;/g," ") + "</b>";
  1306. break;
  1307. }
  1308. }
  1309. //link attributes
  1310. link.warlc_error = error;
  1311. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1312. {
  1313. warlcTooltip.innerHTML = error;
  1314. }
  1315. }
  1316. });
  1317. }
  1318. }
  1319.  
  1320. //"mouseover" event handler for alive links
  1321. //displays tooltip info (file size, file name,...) on alive links
  1322. function displayTooltipInfo()
  1323. {
  1324. mouseoverLink = this.href;
  1325. //exclude direct download filehostings
  1326. if (this.href.match(/(?: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)/))
  1327. {
  1328. return;
  1329. }
  1330. this.addEventListener("mouseout", hideTooltip);
  1331. this.addEventListener("mousemove", function(event) { moveTooltip(event); });
  1332. warlcTooltip.innerHTML = '<b>LOADING...</b>';
  1333. warlcTooltip.style.minWidth = 0;
  1334. warlcTooltip.style.visibility = "visible";
  1335. if (this.warlc_tooltipcache) //file size is already known and stored in warlc_filename and warlc_filesize attributes
  1336. {
  1337. warlcTooltip.innerHTML = this.warlc_tooltipcache;
  1338. }
  1339. else
  1340. {
  1341. loadInfo(this);
  1342. }
  1343. function loadInfo(link)
  1344. {
  1345. var href = link.href;
  1346. GM_xmlhttpRequest({
  1347. method: 'GET',
  1348. url: href.replace(Ref_anonymize_service, ""),
  1349. headers: {
  1350. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1351. 'Accept': 'text/xml',
  1352. 'Referer': ""
  1353. },
  1354. onload: function(result) {
  1355. var res = result.responseText;
  1356. var nameRegexs = [ /Filename: <b class="f_arial f_14px">(.+?)<\/b>/, //oron
  1357. /(?:finfo|file[-_]?name)">\s*(.+?)<\/?(?:h1|a|div|span style|td)/, //hellshare, netload, badongo, 4fastfile
  1358. /fl" title="(.+?)">/, //edisk
  1359. /<title>\s*(?:Download)?\s*(.+?)\s*(?::: DataPort|\| Ulož|- Share\-Rapid|- WEBSITENAME|download Extabit|- download now for free|\| refile)/, //dataport, share-rapid, shragle, extabit, refile.net
  1360. /<h3>Stahujete soubor: <\/h3>\s*<div class="textbox">(.+?)<\/div>/, //webshare
  1361. /<h3><b><span style=color:black;>(.+?)<\/b><\/h3><br>/, //fastshare
  1362. /title="download (.+?)">/, //sendspace
  1363. /Stáhnout soubor: (.+?)<\/h1>/, //quickshare
  1364. /fz24">Download:\s*<strong>(.+?)<\/strong>/, //crocko
  1365. // /'file\-icon\d+ \w+'>(?:<\/span><span>)?(.+?)<\/span>/, //hitfile, turbobit
  1366. /d0FileName = "(.+?)";/, //letitbit
  1367. /file(?:_name|-info)" title="">\w+: <span>(.+?)<\/span>/, //vip-file, shareflare
  1368. /recent-comments"><h2>(.+) &nbsp;/, //xdisk
  1369. /fname" value="(.+?)">/, //syfiles, grupload,
  1370. /download\-header">\s*<h2>File:<\/h2>\s*<p title="(.+?)">/, //bayfiles
  1371. /description">\s*<p><b>Soubor: (.+?)<\/b>/, //bezvadata
  1372. /Complete name : (.+?)<br \/>/, //bezvadata
  1373. /itemprop="name">(.+?)<\/span>/, //bezvadata
  1374. ];
  1375. var nameIdx = nameRegexs.length;
  1376. // [sizeRegexs]
  1377. // / \ \?
  1378. // prefix (size) postfix
  1379. // / \
  1380. // val quant
  1381. var quantRegex = '(?:M|G|K)?i?(?:B)(?:[y|i]te?s?)?';
  1382. var valRegex = '\\d+(?:[\\., ]\\d+){0,2}'; // 111([., ]222)?([., ]333)?
  1383. var uniSizeRegex = valRegex + '(?:\\s*|&nbsp;)' + quantRegex;
  1384. var preSizeRegex = '(?::|\\(|>|>, | - )';
  1385. var postSizeRegex = '(?:\\))?';
  1386. var sizeRegexs = [ preSizeRegex + "\\s*(" + uniSizeRegex + ")\\s*" + postSizeRegex,
  1387. 'FileSize_master">(.+?)<\/strong>', //hellshare
  1388. ];
  1389. var sizeIdx = sizeRegexs.length;
  1390. //
  1391. //
  1392. var tooltip = "File Name: <b>";
  1393. var fileName = "unknown";
  1394. var nameCandidate = "";
  1395. while(nameIdx--)
  1396. {
  1397. var nameCandidate = res.match(nameRegexs[nameIdx]);
  1398. if (nameCandidate != null)
  1399. {
  1400. fileName = nameCandidate[1].replace(/&nbsp;/g," ");
  1401. break;
  1402. }
  1403. }
  1404. tooltip += fileName + "</b><br>File Size: <b>";
  1405. var fileSize = "unknown";
  1406. var sizeCandidate = "";
  1407. while(sizeIdx--)
  1408. {
  1409. sizeCandidate = res.match(new RegExp(sizeRegexs[sizeIdx], "i"));
  1410. if (sizeCandidate != null)
  1411. {
  1412. fileSize = sizeCandidate[1].replace(/&nbsp;/g," ");
  1413. if (/^\d+$/.test(fileSize) && fileSize >= 1024) //assume bytes
  1414. {
  1415. if(fileSize > (1<<30)) fileSize = Math.round(10 * fileSize / (1<<30)) / 10 + ' GB';
  1416. else if(fileSize > (1<<20)) fileSize = Math.round(fileSize / (1<<20)) + ' MB';
  1417. else fileSize = Math.round(fileSize / 1024) + ' KB';
  1418. }
  1419. break;
  1420. }
  1421. }
  1422. tooltip += fileSize + "</b>";
  1423. // PROTOTYPE
  1424. // video thumbnails
  1425. if (href.match('hellshare'))
  1426. {
  1427. var thumbs;
  1428. thumbs = res.match(/http:\/\/static\d+\.helldata\.com\/thumbs(?:\/\d+){1,2}\/\d{1,2}"/g);
  1429. if (thumbs)
  1430. {
  1431. tooltip += '<br>';
  1432. var j = Math.min(thumbs.length, 9);
  1433. for (var i = 0; i < j; i++)
  1434. {
  1435. tooltip += '<img src="' + thumbs[i].replace('"',"") + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1436. }
  1437. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1438. }
  1439. }
  1440. if (href.match('czshare'))
  1441. {
  1442. var thumbs;
  1443. thumbs = res.match(/src="http:\/\/www(\d+)\.czshare\.com\/images_velke\/\d+\.(\d+)\.jpeg/);
  1444. if (thumbs)
  1445. {
  1446. var thumbsServer = thumbs[1];
  1447. var thumbsId = thumbs[2];
  1448. tooltip += '<br>';
  1449. for (var i = 1; i < 9; i++)
  1450. {
  1451. tooltip += '<img src="http://www' + thumbsServer + '.czshare.com/images_velke/' + i + '.' + thumbsId + '.jpeg" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1452. }
  1453. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1454. }
  1455. }
  1456. if (href.match('bezvadata'))
  1457. {
  1458. var thumbs;
  1459. thumbs = res.match(/http:\/\/nahledy\.bezvadata\.cz\/nahledy\/\d+\/\d+\/\d+_\d+_\d+x\d+_\w.jpg/g);
  1460. if (thumbs)
  1461. {
  1462. tooltip += '<br>';
  1463. var j = Math.min(thumbs.length, 9);
  1464. for (var i = 0; i < j; i++)
  1465. {
  1466. tooltip += '<img src="' + thumbs[i] + '" width="' + TOOLTIP_THUMBWIDTH + 'px">';
  1467. }
  1468. warlcTooltip.style.minWidth = TOOLTIP_MAXWIDTH;
  1469. }
  1470. }
  1471. link.warlc_tooltipcache = tooltip;
  1472. if (mouseoverLink == link.href) //mouse cursor is still over the link
  1473. {
  1474. warlcTooltip.innerHTML = tooltip;
  1475. }
  1476. }
  1477. });
  1478. }
  1479. }
  1480.  
  1481. function setVariables()
  1482. {
  1483. if (firstRun)
  1484. {
  1485. GM_log('First run, applying default settings...');
  1486. GM_setValue("Icon_set",1);
  1487. GM_setValue("Display_tooltip_info",true);
  1488. GM_setValue("Show_black_background_in_DL_links",false);
  1489. GM_setValue("Show_line_through_in_dead_links",false);
  1490. GM_setValue("Display_full_links_in_link_containers",false);
  1491. GM_setValue("Allow_spaces_in_DL_links",false);
  1492. GM_setValue("Autocheck",true);
  1493. GM_setValue("Enable_Anonymizer",false);
  1494. GM_setValue("Do_not_linkify_DL_links",false);
  1495. GM_setValue("Show_progress_stats",true);
  1496. GM_setValue("Keyboard_functions",true);
  1497. GM_setValue("Obsolete_file_hosts",false);
  1498. GM_setValue("Color_DL_links",true);
  1499. GM_setValue("Live_links_color","Green");
  1500. GM_setValue("Dead_links_color","#FF3300");
  1501. GM_setValue("Temp_unavailable_links_color","#F7EF09");
  1502. GM_setValue("Container_links_color","DarkKhaki");
  1503. GM_setValue("Premium_links_color","DeepPink");
  1504. GM_setValue("Ref_anonymize_service","http://hiderefer.com/?");
  1505. GM_setValue("Custom_rules",false);
  1506. GM_setValue("Custom_rules_text","");
  1507. GM_setValue("First_run", false);
  1508. }
  1509. //hidden settings
  1510. GM_setValue("Progress_box_pos_bottom", Progress_box_pos_bottom = GM_getValue("Progress_box_pos_bottom", 20));
  1511. GM_setValue("Progress_box_pos_right", Progress_box_pos_right = GM_getValue("Progress_box_pos_right", 10));
  1512. GM_setValue("Progress_box_opacity", Progress_box_opacity = GM_getValue("Progress_box_opacity", 85));
  1513. GM_setValue("Progress_box_background_color", Progress_box_background_color = GM_getValue("Progress_box_background_color", 'DimGray'));
  1514. GM_setValue("Progress_box_item_color", Progress_box_item_color = GM_getValue("Progress_box_item_color", 'DimGray'));
  1515. GM_setValue("Progress_box_refresh_rate", Progress_box_refresh_rate = GM_getValue("Progress_box_refresh_rate", 2000));
  1516. GM_setValue("Debug_mode", DEBUG_MODE = GM_getValue("Debug_mode", false));
  1517. //hidden settings end
  1518.  
  1519. Icon_set = GM_getValue("Icon_set", 1); //0 - no icons, 1 - cat paws, 2 - old RSLC style, 3 - New Icons,
  1520. Display_tooltip_info = GM_getValue("Display_tooltip_info", true);
  1521. Show_black_background_in_DL_links = GM_getValue("Show_black_background_in_DL_links", false);
  1522. Show_line_through_in_dead_links = GM_getValue("Show_line_through_in_dead_links", false);
  1523. Display_full_links_in_link_containers = GM_getValue("Display_full_links_in_link_containers", false);
  1524. Allow_spaces_in_DL_links = GM_getValue("Allow_spaces_in_DL_links", false);
  1525. Autocheck = GM_getValue("Autocheck", true);
  1526. Enable_Anonymizer = GM_getValue("Enable_Anonymizer", false);
  1527. Do_not_linkify_DL_links = GM_getValue("Do_not_linkify_DL_links", false);
  1528. Show_progress_stats = GM_getValue("Show_progress_stats", true);
  1529. Keyboard_functions = GM_getValue("Keyboard_functions", true);
  1530. Obsolete_file_hosts = GM_getValue("Obsolete_file_hosts", false);
  1531. Color_DL_links = GM_getValue("Color_DL_links", true);
  1532. Live_links_color = GM_getValue("Live_links_color", "Green");
  1533. Dead_links_color = GM_getValue("Dead_links_color", "#FF3300");
  1534. Temp_unavailable_links_color = GM_getValue("Temp_unavailable_links_color", "#F7EF09");
  1535. Container_links_color = GM_getValue("Container_links_color", "DarkKhaki");
  1536. Premium_links_color = GM_getValue("Premium_links_color", "DeepPink");
  1537. Ref_anonymize_service = GM_getValue("Ref_anonymize_service", "http://hiderefer.com/?");
  1538. Custom_rules = GM_getValue("Custom_rules", false);
  1539. Custom_rules_text = GM_getValue("Custom_rules_text", false);
  1540. }
  1541.  
  1542.  
  1543. // Delinkifies the links
  1544. // params:
  1545. // links -> list of links or link components (note they should be sufficiently unique to identify the link on page,
  1546. // e.g. 'uloz.to/xs68skxl8')
  1547. function delinkifySnapshot(snapshot)
  1548. {
  1549. var n = snapshot.snapshotLength;
  1550.  
  1551. while (n--)
  1552. {
  1553. thisLink = snapshot.snapshotItem(n);
  1554.  
  1555. var spanElm = document.createElement("span");
  1556. spanElm.className = thisLink.className;
  1557. spanElm.innerHTML = thisLink.innerHTML;
  1558.  
  1559. if (Display_tooltip_info)
  1560. {
  1561. spanElm.href = thisLink.href;
  1562. switch (thisLink.className){
  1563. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  1564. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  1565. case "unava_link": //reserved
  1566. default:
  1567. }
  1568. }
  1569. thisLink.parentNode.replaceChild(spanElm, thisLink);
  1570. }
  1571. }
  1572.  
  1573. function processContainers()
  1574. {
  1575. var redirectorTypes = { "HTTP_302": 0,
  1576. "INNER_LINK": 1,
  1577. "THELOO_KATT_IT": 2,
  1578. "CING_BE": 3,
  1579. "ADF_LY": 4};
  1580. var cMultiloadTotal = 0;
  1581. var cMultiloadProcessed = 0;
  1582.  
  1583. var cMirrorcreatorComTotal = 0;
  1584. var cMirrorcreatorComProcessed = 0;
  1585.  
  1586. var hostRestrictionRegex = "";
  1587. var multiloadComRestriction = "";
  1588. var multiloadComRestrictionRegex;
  1589.  
  1590. //
  1591. //HANDLING REDIRECTORS START
  1592. //
  1593.  
  1594. var redirectors = new Array();
  1595. initRedirectors();
  1596.  
  1597. var redirectorsCount = redirectors.length;
  1598.  
  1599. if (redirectorsCount > 0)
  1600. {
  1601. var allRedirectorsRegex = "";
  1602.  
  1603. //linkify redirector links
  1604. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1605. {
  1606. allRedirectorsRegex += redirectors[redirIdx].linkRegex + "|";
  1607. }
  1608. allRedirectorsRegex = allRedirectorsRegex.replace(/\|$/, "");
  1609. linkify(allRedirectorsRegex);
  1610. //
  1611. //process redirector links
  1612. for(var redirIdx = 0; redirIdx < redirectorsCount; redirIdx++)
  1613. {
  1614. var redirectorsSnapshot = document.evaluate(redirectors[redirIdx].xpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1615. redirectors[redirIdx].cTotal = redirectorsSnapshot.snapshotLength;
  1616.  
  1617. cLinksTotal += redirectors[redirIdx].cTotal;
  1618. var linkIdx = redirectors[redirIdx].cTotal;
  1619.  
  1620. while(linkIdx--)
  1621. {
  1622. switch(redirectors[redirIdx].type)
  1623. {
  1624. case redirectorTypes.HTTP_302: processRedirectorLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1625. case redirectorTypes.INNER_LINK: processRedirectorLinkEx(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1626. case redirectorTypes.THELOO_KATT_IT: processThelooKattItLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1627. case redirectorTypes.CING_BE: processCingBeLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1628. case redirectorTypes.ADF_LY: processAdfLyLink(redirectorsSnapshot.snapshotItem(linkIdx), redirIdx); break;
  1629. default:
  1630. }
  1631. }
  1632. }
  1633. //
  1634. }
  1635.  
  1636. //HTTP_302
  1637. function processRedirectorLink(link, redirectorId)
  1638. {
  1639. link.className = 'container_link';
  1640.  
  1641. GM_xmlhttpRequest({
  1642. method: 'HEAD',
  1643. url: link.href,
  1644. headers: {
  1645. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1646. 'Accept': 'text/xml',
  1647. 'Referer': ""
  1648. },
  1649. onload: function(result) {
  1650. if (result.finalUrl.replace("https", "http") == link.href) // service hasn't redirected anywhere
  1651. {
  1652. processRedirectorLink(link, redirectorId);
  1653. }
  1654. else
  1655. {
  1656. redirectors[redirectorId].cProcessed++;
  1657. link.href = result.finalUrl;
  1658. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1659. checkLinks('container_link');
  1660. }
  1661. },
  1662. onerror: function(result) { //probably caused by unresponsive filehosting
  1663. redirectors[redirectorId].cProcessed++;
  1664. link.className = 'unava_link';
  1665. cLinksProcessed++;
  1666. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1667. checkLinks('container_link');
  1668. }
  1669. });
  1670. }
  1671. //INNER_LINK
  1672. function processRedirectorLinkEx(link, redirectorId)
  1673. {
  1674. link.className = 'container_link';
  1675. GM_xmlhttpRequest({
  1676. method: 'GET',
  1677. url: link.href,
  1678. headers: {
  1679. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1680. 'Accept': 'text/xml',
  1681. 'Referer': ""
  1682. },
  1683. onload: function(result) {
  1684. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1685. redirectors[redirectorId].cProcessed++;
  1686. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1687. checkLinks('container_link');
  1688. }
  1689. });
  1690. }
  1691. //theloo.katt.it (wrapped safelinking.net)
  1692. function processThelooKattItLink(link, redirectorId)
  1693. {
  1694. link.className = 'container_link';
  1695. GM_xmlhttpRequest({
  1696. method: 'GET',
  1697. url: link.href,
  1698. headers: {
  1699. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1700. 'Accept': 'text/xml',
  1701. 'Referer': ""
  1702. },
  1703. onload: function(result) {
  1704. link.href = result.responseText.match(redirectors[redirectorId].innerLinkRegex)[1];
  1705. redirectors[redirectorId].cProcessed++;
  1706. //the inner links are safelinking.net links, so lets proceed with it
  1707. if (GM_getValue("Check_safelinking_dot_net_links", false))
  1708. {
  1709. processRedirectorLink(link, 0);
  1710. }
  1711. }
  1712. });
  1713. }
  1714. //adf.ly (adf.ly/go innerLink, locking mechanism)
  1715. function processAdfLyLink(link, redirectorId)
  1716. {
  1717. link.className = 'container_link';
  1718. GM_xmlhttpRequest({
  1719. method: 'GET',
  1720. url: link.href,
  1721. headers: {
  1722. 'User-agent': 'Mozilla/4.0',
  1723. 'Accept': 'text/xml',
  1724. 'Referer': ""
  1725. },
  1726. onload: function(result) {
  1727. if (result.finalUrl.match('/locked/'))
  1728. {
  1729. var delay = result.responseText.match(/countdown">(\d+)</)[1];
  1730. // GM_log(result.finalUrl + 'is locked. Repeating the request in ' + delay + 's.');
  1731. // setTimeout(function(){processAdfLyLink(link, redirectorId);}, delay * 1000);
  1732. }
  1733. else
  1734. {
  1735. // GM_log('Processing... ' + link.href);
  1736. // GM_log('Found...' + result.responseText.match(/\/go\/(\w+\/\w+)/)[1]);
  1737. var directLink = 'http://adf.ly' + result.responseText.match(/(\/go\/\w+\/\w+)/)[1];
  1738. var logToken = result.responseText.match(/flashy_(\w+)/)[1];
  1739. var users = result.responseText.match(/user=\d+&user2=\d+/);
  1740. //confirm advert
  1741. GM_xmlhttpRequest(
  1742. {
  1743. method: 'POST',
  1744. url: 'http://adf.ly/l.php',
  1745. headers: {
  1746. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1747. 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
  1748. 'Referer': link.href
  1749. },
  1750. data: users + '&lt=' + logToken,
  1751. onload: function(result) {
  1752. //retrieve final url from .../go/... link
  1753. GM_xmlhttpRequest({
  1754. method: 'GET',
  1755. url: directLink,
  1756. headers: {
  1757. 'User-agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0',
  1758. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  1759. 'Referer': link.href
  1760. },
  1761. onload: function(result) {
  1762. link.href = result.finalUrl;
  1763. redirectors[redirectorId].cProcessed++;
  1764. if (redirectors[redirectorId].cProcessed >= redirectors[redirectorId].cTotal)
  1765. checkLinks('container_link');
  1766. }
  1767. });
  1768. }
  1769. });
  1770. }
  1771. }
  1772. });
  1773. function proceedOK()
  1774. {
  1775. }
  1776. }
  1777. //MULTILOAD.CZ START
  1778. if (GM_getValue("Check_multiload_dot_cz_links", false))
  1779. {
  1780. var mlRegex = 'multiload\\.cz\/stahnout\/\\d+\/';
  1781. var mlXpath = "//a[contains(@href,'http://www.multiload.cz/stahnout')]";
  1782.  
  1783. hostRestrictionRegex = 'Upload se nezdařil|limit exceeded|probíhá reupload|';
  1784.  
  1785. if (GM_getValue("Check_hellshare_dot_com_links", false))
  1786. hostRestrictionRegex += 'hellshare|';
  1787. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false))
  1788. hostRestrictionRegex += 'downloadhellshare|';
  1789. if (GM_getValue("Check_share_dash_rapid_dot_com_links", false))
  1790. hostRestrictionRegex += 'share-rapid\\.com|';
  1791. if (GM_getValue("Check_quickshare_dot_cz_links", false))
  1792. hostRestrictionRegex += 'quickshare\\.cz|';
  1793. if (GM_getValue("Check_czshare_dot_com_links", false))
  1794. hostRestrictionRegex += 'czshare\\.com|';
  1795. if (GM_getValue("Check_hellspy_dot_com_links", false))
  1796. hostRestrictionRegex += 'hellspy|';
  1797. if (GM_getValue("Check_multishare_dot_cz_links", false))
  1798. hostRestrictionRegex += 'multishare\\.cz|';
  1799.  
  1800. hostRestrictionRegex = hostRestrictionRegex.replace(/\|$/, "");
  1801.  
  1802. linkify(mlRegex);
  1803.  
  1804. var mlSnapshot = document.evaluate(mlXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1805. var mlCount = mlSnapshot.snapshotLength;
  1806.  
  1807. if (mlCount > 0)
  1808. {
  1809. cMultiloadTotal += mlCount;
  1810.  
  1811. mlIdx = mlCount - 1;
  1812. do
  1813. {
  1814. processMultiloadLink(mlSnapshot.snapshotItem(mlIdx));
  1815. }
  1816. while(mlIdx--)
  1817. }
  1818. }
  1819. //MULTILOAD.CZ END
  1820.  
  1821.  
  1822.  
  1823. function processMultiloadLink(mlLink)
  1824. {
  1825. GM_xmlhttpRequest({
  1826. method: 'GET',
  1827. url: mlLink.href,
  1828. headers: {
  1829. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  1830. 'Accept': 'text/xml',
  1831. 'Referer': ""
  1832. },
  1833. onload: function(result) {
  1834. var res = result.responseText;
  1835.  
  1836. var innerBlockRegex = /<p class="manager-linky">(?:.|\s)+?<\/p>/g;
  1837. 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;
  1838. var innerLinkRegex = /((?:Upload se nezdařil.+|https?:\/\/(?:.|\s)+|Právě probíhá reupload, buďte trpěliví\.\.\.))</;
  1839. var mlRestrictionRegex = new RegExp(hostRestrictionRegex,"g"); //what links should be displayed
  1840.  
  1841. var blocks; // blocks of links
  1842. var blockIdx;
  1843.  
  1844. mlLink.className = '';
  1845.  
  1846. if (result.status == 503) //service temporarily unavailable, repeat request in one second
  1847. {
  1848. setTimeout(function(){ processMultiloadLink(mlLink); }, 1000);
  1849. return;
  1850. }
  1851.  
  1852. blocks = res.match(innerBlockRegex);
  1853.  
  1854. if (blocks == null) //no links found, cancel further processing
  1855. {
  1856. mlLink.parentNode.appendChild(document.createTextNode(' | Požadovaný soubor neexistuje.'));
  1857. cMultiloadProcessed++;
  1858. if (cMultiloadTotal <= cMultiloadProcessed)
  1859. {
  1860. startBulkCheck('container_link');
  1861. start('container_link');
  1862. }
  1863. return;
  1864. }
  1865.  
  1866. blockIdx = blocks.length;
  1867.  
  1868. if (Display_full_links_in_link_containers)
  1869. {
  1870. var ulElm = document.createElement('ul');
  1871. ulElm.className = 'container_list'; //CSS smaller font, padding, margin, square style
  1872.  
  1873. while(blockIdx--)
  1874. {
  1875. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1876. {
  1877. continue;
  1878. }
  1879.  
  1880. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1881.  
  1882. var linkIdx = innerLinks.length;
  1883. while (linkIdx--)
  1884. {
  1885. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1886.  
  1887. var liElm = document.createElement('li');
  1888.  
  1889. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1890. {
  1891. liElm.appendChild(document.createTextNode(innerLink));
  1892. }
  1893. else
  1894. {
  1895. var aElm = document.createElement('a');
  1896. aElm.innerHTML = innerLink;
  1897. aElm.href = innerLink;
  1898. aElm.className = 'container_link';
  1899.  
  1900. liElm.appendChild(aElm);
  1901. }
  1902.  
  1903. ulElm.appendChild(liElm);
  1904. cLinksTotal++;
  1905. }
  1906. }
  1907.  
  1908. mlLink.parentNode.appendChild(ulElm);
  1909. }
  1910. else //compact view
  1911. {
  1912. mlLink.parentNode.appendChild(document.createTextNode("|"));
  1913.  
  1914. while(blockIdx--)
  1915. {
  1916. if (blocks[blockIdx].match(mlRestrictionRegex) == null)
  1917. {
  1918. continue;
  1919. }
  1920.  
  1921. var innerLinks = blocks[blockIdx].match(innerLinksRegex);
  1922.  
  1923. var linkIdx = innerLinks.length;
  1924. while (linkIdx--)
  1925. {
  1926. var innerLink = innerLinks[linkIdx].match(innerLinkRegex)[1];
  1927.  
  1928. if (innerLink.match(/Upload se nezdařil|limit exceeded|probíhá reupload/))
  1929. {
  1930. mlLink.parentNode.appendChild(document.createTextNode("----"));
  1931. }
  1932. else
  1933. {
  1934. var aElm = document.createElement('a');
  1935.  
  1936. var hostName = innerLink.match(/quickshare|hellshare|downloadhellshare|multishare|hellspy|share\-rapid|czshare/);
  1937.  
  1938. //abbreviate host name
  1939. switch(hostName + ""){
  1940.  
  1941. case 'quickshare': aElm.innerHTML = 'QS'; break;
  1942. case 'hellshare': aElm.innerHTML = 'HS'; break;
  1943. case 'downloadhellshare': aElm.innerHTML = 'HS'; break;
  1944. case 'multishare': aElm.innerHTML = 'MS'; break;
  1945. case 'hellspy': aElm.innerHTML = 'hs'; break;
  1946. case 'share-rapid': aElm.innerHTML = 'SR'; break;
  1947. case 'czshare': aElm.innerHTML = 'CS'; break;
  1948. default: aElm.innerHTML = 'xx';
  1949.  
  1950. }
  1951.  
  1952. aElm.href = innerLink;
  1953. aElm.className = 'container_link';
  1954.  
  1955. mlLink.parentNode.appendChild(aElm);
  1956. cLinksTotal++;
  1957. }
  1958. }
  1959.  
  1960. mlLink.parentNode.appendChild(document.createTextNode("|")); //blocks delimiter
  1961.  
  1962. }
  1963. }
  1964.  
  1965. cMultiloadProcessed++;
  1966. if (cMultiloadTotal == cMultiloadProcessed) //start check when all ml links have been processed
  1967. {
  1968. if (Do_not_linkify_DL_links)
  1969. {
  1970. delinkifySnapshot(mlSnapshot);
  1971. }
  1972. startBulkCheck('container_link');
  1973. start('container_link');
  1974. }
  1975. }
  1976. });
  1977. }
  1978.  
  1979.  
  1980. if (GM_getValue("Check_mirrorcreator_dot_com_links", false))
  1981. {
  1982. var mcRegex = 'mirrorcreator\\.com/files/(\\w+)';
  1983. var mcXpath = "//a[contains(@href,'mirrorcreator.com/files')]";
  1984. var mcShortHostNames =
  1985. '?? 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';
  1986. // 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
  1987. //?????? depositfiles sendspace load.to ul.to storage.to uploadbox x7.to fileserve ?????? duckload filehook filepost jumbofiles glumbouploads
  1988. // zshare ?????? 2shared uploading ugotfile extabit oron eyvx uploadstation putlocker
  1989. // megaupload badongo megashare gamefront ifile ?????? letitbit ?????? ?????? filejungle megashares
  1990. // easy-share ?????? netload zippyshare ?????? filesonic turbobit enterupload ?????? filekeen wupload crocko fileflyer
  1991.  
  1992. linkify(mcRegex);
  1993.  
  1994. var mcSnapshot = document.evaluate(mcXpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  1995. var mcCount = mcSnapshot.snapshotLength;
  1996.  
  1997. cMirrorcreatorComTotal = mcCount;
  1998.  
  1999. if (mcCount > 0)
  2000. {
  2001. mcShortHostNames = mcShortHostNames.split(' ');
  2002. mcIdx = mcCount;
  2003. while(mcIdx--)
  2004. processMirrorcreatorLink(mcSnapshot.snapshotItem(mcIdx));
  2005. }
  2006.  
  2007. }
  2008. //MIRRORCREATOR.CZ END
  2009.  
  2010.  
  2011. //mirrorcreator.com checking works like this:
  2012. //The base URL is http://www.mirrorcreator.com/files/XXXXXXXX/filename_links
  2013. //the actual list of mirrors is at http://www.mirrorcreator.com/status.php?uid=XXXXXXXX
  2014. //the list contains links in the form of (http://www.mirrorcreator.com)/redirect/XXXXXXXX/1
  2015. //these redirector links are extracted with mcLinkBlockRegex and the pages loaded
  2016. //they contain the actual filehost links, which are extracted with mcHostRegex and displayed in a container list
  2017. function processMirrorcreatorLink(mcLink)
  2018. {
  2019. var mcURL = mcLink.href.match(mcRegex);
  2020. if(!mcURL || !mcURL[1]) return;
  2021. mcURL = 'http://www.mirrorcreator.com/status.php?uid=' + mcURL[1]; //link correction
  2022. GM_xmlhttpRequest({
  2023. method: 'GET',
  2024. url: mcURL,
  2025. headers: {
  2026. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2027. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2028. 'Referer': ""
  2029. },
  2030. onload: function(mcLinkResult) {
  2031. var mcLinkRes = mcLinkResult.responseText;
  2032.  
  2033. var mcLinkBlockRegex = /(\/redirect\/\w+\/(\d+))/gi;
  2034. var mcHostRegex = /<div id="redirectlink">.*?<a href="([^"]+)"/;
  2035.  
  2036. var mcRedirectors;
  2037. var mcHostURLs = [], mcRedirectorIDs = [], mcHostsFound = 0, mcHostsRetrieved = 0, mcHostsToProcess = 0;
  2038. var m = mcLinkRes.match(mcLinkBlockRegex);
  2039. if (m)
  2040. mcHostsFound = m.length;
  2041. else
  2042. { //no files inside container
  2043. processMirrorcreatorFoundHosts(mcLink, []);
  2044. return;
  2045. }
  2046.  
  2047. var mcRedirectorURL, idx, timedOut = false;
  2048.  
  2049. var gmxhrFunc = function(mcRedirectorURL){ //Tampermonkey doesn't know neither this.url or result.finalUrl
  2050. GM_xmlhttpRequest({
  2051. method: 'GET',
  2052. url: mcRedirectorURL,
  2053. headers: {
  2054. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  2055. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*'+'/*;q=0.8',
  2056. 'Referer': ""
  2057. },
  2058. onload: function(mcHostResult) {
  2059. if (timedOut) return; //too late, the list is already displayed
  2060. var mcHostRes = mcHostResult.responseText;
  2061. var mcHost = mcHostRes.match(mcHostRegex);
  2062. idx = mcHostURLs.indexOf(mcRedirectorURL);
  2063. if (mcHost && idx!=-1)
  2064. {
  2065. mcHostURLs[idx] = mcHost[1].replace(/^\s+|\s+$/g, '');
  2066. mcHostsRetrieved++;
  2067. mcHostsToProcess++;
  2068. if (mcHostsFound == mcHostsRetrieved) //this is the last one!
  2069. {
  2070. processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs);
  2071. mcHostsToProcess = 0;
  2072. }
  2073. }
  2074. } //end of onload: function
  2075. }); //end of GM_xmlhttpRequest call
  2076. };//end of var gmxhrFunc
  2077.  
  2078. while (mcRedirectors = mcLinkBlockRegex.exec(mcLinkRes))
  2079. { //load individual redirector pages
  2080. mcRedirectorURL = 'http://www.mirrorcreator.com' + mcRedirectors[1];
  2081. mcHostURLs.push(mcRedirectorURL);
  2082. mcRedirectorIDs.push(mcRedirectors[2]);
  2083. gmxhrFunc(mcRedirectorURL);
  2084. } //end of while block
  2085.  
  2086. setTimeout(function(){ //in case the last page fails to load and call the function
  2087. timedOut = true;
  2088. if (mcHostsToProcess)
  2089. processMirrorcreatorFoundHosts(mcLink, mcHostURLs);
  2090. }, 60000);
  2091.  
  2092. } //end of onload function
  2093. }); //end of GM_xmlhttpRequest call
  2094. } //end of function processMirrorcreatorLink
  2095.  
  2096.  
  2097. function processMirrorcreatorFoundHosts(mcLink, mcHostURLs, mcRedirectorIDs)
  2098. {
  2099. var aEl, liEl, docFrag;
  2100. var hostName, mcRedirectorID, trimFilename = false;
  2101. var i = mcHostURLs.length;
  2102. if (i == 0)
  2103. {
  2104. trimFilename = true;
  2105. mcLink.parentNode.insertBefore(document.createTextNode(' | No files inside container'), mcLink.nextSibling);
  2106. }
  2107. else
  2108. {
  2109. if (Display_full_links_in_link_containers)
  2110. { //full view
  2111. var wrapperEl = document.createElement('span');
  2112. wrapperEl.style.display = 'block';
  2113. var ulistEl = document.createElement('ul');
  2114. ulistEl.className = 'container_list';
  2115. while (i--)
  2116. {
  2117. liEl = document.createElement('li');
  2118. aEl = document.createElement('a');
  2119. aEl.appendChild(document.createTextNode(mcHostURLs[i]));
  2120. aEl.href = mcHostURLs[i];
  2121. aEl.className = 'container_link';
  2122. liEl.appendChild(aEl);
  2123. ulistEl.appendChild(liEl);
  2124. }
  2125. wrapperEl.appendChild(ulistEl);
  2126. mcLink.parentNode.replaceChild(wrapperEl, mcLink);
  2127. wrapperEl.insertBefore(mcLink, wrapperEl.firstChild);
  2128. }
  2129. else
  2130. { //compact view
  2131. trimFilename = true;
  2132. docFrag = document.createDocumentFragment();
  2133. docFrag.appendChild(document.createTextNode(' |'));
  2134. while (i--)
  2135. {
  2136. mcRedirectorID = mcRedirectorIDs[i];
  2137. hostName = mcHostURLs[i];
  2138. if (mcRedirectorID > mcShortHostNames.length-1 || mcShortHostNames[mcRedirectorID] == '??')
  2139. hostName = hostName.replace(/https?:\/\/(?:www\.)?([-0-9a-z]+(?:\.[-0-9a-z]+)?)\.[a-z]+\/.*/i, '$1').toUpperCase();
  2140. else
  2141. hostName = mcShortHostNames[mcRedirectorID];
  2142. aEl = document.createElement('a');
  2143. aEl.href = mcHostURLs[i];
  2144. aEl.className = 'container_link';
  2145. aEl.appendChild(document.createTextNode(hostName));
  2146. docFrag.appendChild(aEl);
  2147. docFrag.appendChild(document.createTextNode('|'));
  2148. }
  2149. mcLink.parentNode.insertBefore(docFrag, mcLink.nextSibling);
  2150. } //end of else block
  2151. } //end of else block
  2152. mcLink.className = '';
  2153. if (trimFilename)
  2154. mcLink.firstChild.nodeValue = mcLink.firstChild.nodeValue.replace(/(https?:\/\/[^\/]+\/files\/\w+\/).+/, '$1...');
  2155. cMirrorcreatorComProcessed++;
  2156. if (cMirrorcreatorComProcessed == cMirrorcreatorComTotal) //start check when all mc links have been processed
  2157. {
  2158. if (Do_not_linkify_DL_links)
  2159. delinkifySnapshot(mcSnapshot);
  2160. startBulkCheck('container_link');
  2161. start('container_link');
  2162. }
  2163. } //end of function processMirrorcreatorFoundHosts
  2164.  
  2165. containers_processed = true;
  2166.  
  2167.  
  2168. function initRedirectors()
  2169. {
  2170. function addRedirector(linkRegex, xpathEx, redirType, innerLinkRegex)
  2171. {
  2172. var redirector = new Object();
  2173. redirector.linkRegex = linkRegex;
  2174. redirector.xpath = xpathEx; //xpath expression
  2175. redirector.cProcessed = 0; //processed links count
  2176. redirector.cTotal = 0; //total links count
  2177. redirector.type = redirType; //redirectorTypes enum
  2178. redirector.innerLinkRegex = innerLinkRegex; //innerLink, null if unused
  2179. redirectors.push(redirector);
  2180. }
  2181. if (GM_getValue("Check_safelinking_dot_net_links", false))
  2182. {
  2183. addRedirector(
  2184. 'safelinking\\.net\/d\/\\w+',
  2185. "//a[contains(@href,'safelinking.net/d/')]",
  2186. redirectorTypes.HTTP_302,
  2187. null);
  2188. }
  2189. if (GM_getValue("Check_linksafe_dot_me_links", false))
  2190. {
  2191. addRedirector(
  2192. 'linksafe\\.me\/d\/\\w+',
  2193. "//a[contains(@href,'linksafe.me/d/')]",
  2194. redirectorTypes.HTTP_302,
  2195. null);
  2196. }
  2197. if (GM_getValue("Check_linkto_dot_net_links", false))
  2198. {
  2199. addRedirector(
  2200. 'linkto\\.net\/\\?\\w+\\.\\d+',
  2201. "//a[contains(@href,'linkto.net/?')]",
  2202. redirectorTypes.INNER_LINK,
  2203. /<iframe id="iframe" name="iframe" src="(.+?)\s*" frameborder="0"/);
  2204. }
  2205. if (GM_getValue("Check_theloo_dot_katt_dot_it_links", false))
  2206. {
  2207. addRedirector(
  2208. '(?:the)?loo\\.katt\\.it\/\\w+',
  2209. "//a[contains(@href,'loo.katt.it/')]",
  2210. redirectorTypes.THELOO_KATT_IT,
  2211. /Proceed to URL - <a href="(.+?)">/);
  2212. }
  2213. if (GM_getValue("Check_madlink_dot_sk_links", false))
  2214. {
  2215. addRedirector(
  2216. 'madlink\\.sk\/\\w+',
  2217. "//a[contains(@href,'madlink.sk/')]",
  2218. redirectorTypes.INNER_LINK,
  2219. /name="url" value="(.+?)\s*"\/>/);
  2220. }
  2221. if (GM_getValue("Check_adf_dot_ly_links", false))
  2222. {
  2223. addRedirector(
  2224. '(?:adf\\.ly|[u9]\\.bb|[qj]\\.gs)\/\\w+',
  2225. "//a[contains(@href,'adf.ly/') (@href,'u.bb/') or contains(@href,'9.bb/') or contains(@href,'q.gs/') or contains(@href,'j.gs/')]",
  2226. redirectorTypes.ADF_LY,
  2227. null);
  2228. }
  2229. if (GM_getValue("Check_redi_dot_re_links", false))
  2230. {
  2231. addRedirector(
  2232. 'redi\\.re\/\\w+',
  2233. "//a[contains(@href,'redi.re/')]",
  2234. redirectorTypes.HTTP_302,
  2235. null);
  2236. }
  2237. if (GM_getValue("Check_bit_dot_ly_links", false))
  2238. {
  2239. addRedirector(
  2240. 'bit\\.ly\/\\w+',
  2241. "//a[contains(@href,'bit.ly/')]",
  2242. redirectorTypes.HTTP_302,
  2243. null);
  2244. }
  2245. }
  2246.  
  2247. }
  2248.  
  2249. var bulkHosts = new Array();
  2250. var bulkHostNames = new Array();
  2251. function initBulkCheck()
  2252. {
  2253. /////////////////////////////
  2254. // Inits filehost object
  2255. /////////////////////////////
  2256. // params :
  2257. // hostName -- [string] host name (multiple domains separated with coma)
  2258. // linkRegex -- [string] link regex
  2259. // xpath -- [string] xpath expression to detect the link objects with evaluate
  2260. // blockSize -- [integer] max. number of links sent in one request, 50 if null
  2261. // corrMatch -- [regex] link correction regex (match), applied prior to corrRepl
  2262. // corrReplWhat -- [regex] link correction regex (replace)
  2263. // corrReplWith -- [string]
  2264. // splitSeparator -- [string] POSTDATA links separator, "\r\n" if null
  2265. //
  2266. // apiUrl -- [string] web linkchecker or API URL
  2267. // postData -- [string] POSTDATA of xmlhttprequest
  2268. // resLinkRegex -- [regex]
  2269. // resLiveRegex -- [regex] matches substrings containing live links in the request response
  2270. // resDeadRegex -- [regex] matches substrings containing dead links in the request response
  2271. // resUnavaRegex -- [regex] matches substrings containing unava links in the request response
  2272. // func -- [function] bulkcheck handler, genBulkCheck if null
  2273. //
  2274. //////////////////////////////
  2275. function addHost(hostName, linkRegex, xpath, blockSize, corrMatch, corrReplWhat, corrReplWith, splitSeparator,
  2276. apiUrl, postData, resLinkRegex, resLiveRegex, resDeadRegex, resUnavaRegex, func)
  2277. {
  2278. var fileHost = new Object();
  2279.  
  2280. fileHost.linkRegex = linkRegex;
  2281. fileHost.linkRegexObject = new RegExp(linkRegex, "");
  2282. fileHost.xpath = xpath;
  2283. fileHost.cFound = 0; //found links counter
  2284. fileHost.links = new Array(); //found links
  2285. if (blockSize == null)
  2286. {
  2287. fileHost.blockSize = 50;
  2288. }
  2289. else
  2290. {
  2291. fileHost.blockSize = blockSize;
  2292. }
  2293. fileHost.corrMatch = corrMatch;
  2294. fileHost.corrReplWhat = corrReplWhat;
  2295. fileHost.corrReplWith = corrReplWith;
  2296. if (splitSeparator == null)
  2297. {
  2298. fileHost.splitSeparator = "\r\n";
  2299. }
  2300. else
  2301. {
  2302. fileHost.splitSeparator = splitSeparator;
  2303. }
  2304. fileHost.apiUrl = apiUrl;
  2305. fileHost.postData = postData;
  2306. fileHost.resLinkRegex = resLinkRegex;
  2307. fileHost.resLiveRegex = resLiveRegex;
  2308. fileHost.resDeadRegex = resDeadRegex;
  2309. fileHost.resUnavaRegex = resUnavaRegex;
  2310. if (func == null)
  2311. {
  2312. fileHost.func = genBulkCheck;
  2313. }
  2314. else
  2315. {
  2316. fileHost.func = func;
  2317. }
  2318. bulkHosts.push(fileHost);
  2319. var names = hostName.split(',');
  2320. var i = names.length;
  2321. while(i--)
  2322. {
  2323. bulkHostNames[names[i]] = fileHost;
  2324. }
  2325. }
  2326. var genType1 = [
  2327. "rodfile.com", "downloadani.me", //"migahost.com",
  2328. "rarefile.net",
  2329. "filesabc.com",
  2330. "verzend.be",
  2331. // "movreel.com",
  2332. "4up.me",
  2333. "file4safe.com", "filemac.com",
  2334. "longfiles.com",
  2335. "bitupload.com",
  2336. "uploadbaz.com"
  2337. ];
  2338. var genType2 = [ "queenshare.com",
  2339. "hulkload.com",
  2340. "amonshare.com", //"edoc.com",
  2341. ];
  2342. //xfilesharing 1.0
  2343. function addGenericType1()
  2344. {
  2345. var i = genType1.length;
  2346. while(i--)
  2347. {
  2348. if (GM_getValue("Check_" + genType1[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2349. {
  2350. var regexSafe = genType1[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2351. addHost(
  2352. genType1[i].match(/[\w-]+/)[0], //hostname
  2353. regexSafe + "\/\\w+", //linkregex
  2354. "//a[contains(@href,'" + genType1[i] + "/')]", //xpath
  2355. null, //blocksize
  2356. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2357. null, //corrreplwhat
  2358. null, //corrreplwith
  2359. null, //separator
  2360. "http://" + genType1[i] + "/checkfiles.html", //api url
  2361. "op=checkfiles&process=Check+URLs&list=", //postdata
  2362. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2363. new RegExp("green'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //liveregex
  2364. new RegExp("red'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //deadregex
  2365. new RegExp("orange'>http:\/\/(?:|www\.)" + regexSafe + "\/\\w+","g"), //unavaregex
  2366. null //function delegate
  2367. )
  2368. }
  2369. }
  2370. }
  2371. //xfilesharing 2.0
  2372. function addGenericType2()
  2373. {
  2374. var i = genType2.length;
  2375. while(i--)
  2376. {
  2377. if (GM_getValue("Check_" + genType2[i].replace(/\./g, "_dot_").replace(/-/g, "_dash_") + "_links", false))
  2378. {
  2379. var regexSafe = genType2[i].replace(/\./g, "\\.").replace(/-/g, "\\-");
  2380. addHost(
  2381. genType2[i].match(/[\w-]+/)[0], //hostname
  2382. regexSafe + "\/\\w+", //linkregex
  2383. "//a[contains(@href,'" + genType2[i] + "/')]", //xpath
  2384. null, //blocksize
  2385. new RegExp("(http:\/\/(?:|www\\.)" + regexSafe + "\/\\w+)",""),//, //corrmatch
  2386. null, //corrreplwhat
  2387. null, //corrreplwith
  2388. null, //separator
  2389. "http://www." + genType2[i] + "/?op=checkfiles", //api url
  2390. "op=checkfiles&process=Check+URLs&list=", //postdata
  2391. new RegExp("(" + regexSafe + "\/\\w+)",""), //linkregex
  2392. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:green;\">","g"), //liveregex
  2393. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:red;\">","g"), //deadregex
  2394. new RegExp(regexSafe + "\/\\w+.*?<\/td>\\s*<td style=\"color:orange;\">","g"), //unavaregex
  2395. null //function delegate
  2396. )
  2397. }
  2398. }
  2399. }
  2400. // TEMPLATE
  2401. // if (GM_getValue("Check__dot_com_links", false))
  2402. // {
  2403. // addHost(
  2404. // "", //hostname
  2405. // "", //linkregex
  2406. // "//a[contains(@href,'.com/')]", //xpath
  2407. // null, //blocksize
  2408. // null, //corrmatch
  2409. // null, //corrreplwhat
  2410. // null, //corrreplwith
  2411. // null, //separator
  2412. // "", //api url
  2413. // "", //postdata
  2414. // /()/, //linkregex
  2415. // //liveregex
  2416. // //deadregex
  2417. // //unavaregex
  2418. // null //function delegate
  2419. // )
  2420. // }
  2421. addGenericType1();
  2422. addGenericType2();
  2423.  
  2424. if (GM_getValue("Check_myvdrive_dot_com_links", false))
  2425. {
  2426. addHost(
  2427. "myvdrive,fileserving", //hostname
  2428. "(?:fileserving|myvdrive)\\.com\/files\/[\\w-]+", //linkregex
  2429. "//a[contains(@href,'fileserving.com/files') or contains(@href,'myvdrive.com/files')]", //xpath
  2430. null, //blocksize
  2431. null, //corrmatch
  2432. null, //corrreplwhat
  2433. null, //corrreplwith
  2434. null, //separator
  2435. "http://www.myvdrive.com/Public/linkchecker#", //api url
  2436. "links=", //postdata
  2437. /(?:fileserving|myvdrive)\.com\/(files\/\w+)/, //linkregex
  2438. /icon_file_check_valid"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //liveregex
  2439. /icon_file_check_(?:removed|notvalid)"><\/span>\s*http:\/\/www\.(?:fileserving|myvdrive)\.com\/files\/[\w-]+/g, //deadregex
  2440. null, //unavaregex
  2441. null //function delegate
  2442. )
  2443. }
  2444. if (GM_getValue("Check_hackerbox_dot_org_links", false))
  2445. {
  2446. addHost(
  2447. "hackerbox", //hostname
  2448. "host\\.hackerbox\\.org\/\\w+", //linkregex
  2449. "//a[contains(@href,'host.hackerbox.org/')]", //xpath
  2450. null, //blocksize
  2451. /(http:\/\/host\.hackerbox\.org\/\w+)/, //corrmatch
  2452. null, //corrreplwhat
  2453. null, //corrreplwith
  2454. null, //separator
  2455. "http://host.hackerbox.org/checkfiles.html", //api url
  2456. "op=checkfiles&process=Check+URLs&list=", //postdata
  2457. /(host\.hackerbox\.org\/\w+)/, //linkregex
  2458. /green'>http:\/\/host\.hackerbox\.org\/\w+/g, //liveregex
  2459. /red'>http:\/\/host\.hackerbox\.org\/\w+/g, //deadregex
  2460. /orange'>http:\/\/host\.hackerbox\.org\/\w+/g, //unavaregex
  2461. null //function delegate
  2462. )
  2463. }
  2464. if (GM_getValue("Check_hellshare_dot_com_links", false))
  2465. {
  2466. addHost(
  2467. "hellshare", //hostname
  2468. "(?:|download\\.(?:cz\\.|en\\.|sk\\.|)|www\\.)hellshare\\.(?:com|sk|cz|pl|hu|COM|SK|CZ|PL|HU)\/[\\w-\\.]+\/(?:[\\w-\\.]+\/|)\\d{5,}", //linkregex
  2469. "//a[contains(@href,'hellshare.')]", //xpath
  2470. 48, //blocksize
  2471. null, //corrmatch
  2472. null, //corrreplwhat
  2473. null, //corrreplwith
  2474. null, //separator
  2475. null, //api url
  2476. null, //postdata
  2477. null, //linkregex
  2478. null, //liveregex
  2479. null, //deadregex
  2480. null, //unavaregex
  2481. hellshareBulkCheck //function delegate
  2482. )
  2483. }
  2484. if (GM_getValue("Check_uploadrocket_dot_net_links", false))
  2485. {
  2486. addHost(
  2487. "uploadrocket", //hostname
  2488. "(?:uploadrocket\\.net)\/\\w+", //linkregex
  2489. "//a[contains(@href,'uploadrocket.net/')]", //xpath
  2490. null, //blocksize
  2491. null, //corrmatch
  2492. null, //corrreplwhat
  2493. null, //corrreplwith
  2494. "\n", //separator
  2495. 'http://uploadrocket.net/?op=checkfiles',
  2496. 'op=checkfiles&process=Check+URLs&list=',
  2497. /uploadrocket.net\/(\w+)/,
  2498. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:green/g,
  2499. />http:\/\/uploadrocket.net\/\w+(?:[^>]+>)<td style="color:red/g,
  2500. null,
  2501. null //function delegate
  2502. )
  2503. }
  2504. if (GM_getValue("Check_uploading_dot_site_links", false))
  2505. {
  2506. addHost(
  2507. "uploading", //hostname
  2508. "(?:uploading\\.site)\/\\w+", //linkregex
  2509. "//a[contains(@href,'uploading.site/')]", //xpath
  2510. null, //blocksize
  2511. null, //corrmatch
  2512. null, //corrreplwhat
  2513. null, //corrreplwith
  2514. "\n", //separator
  2515. 'http://uploading.site/?op=checkfiles',
  2516. 'op=checkfiles&process=Check+URLs&list=',
  2517. /uploading.site\/(\w+)/,
  2518. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:green/g,
  2519. />http:\/\/uploading.site\/\w+(?:[^>]+>)<td style="color:red/g,
  2520. null,
  2521. null //function delegate
  2522. )
  2523. }
  2524. if (GM_getValue("Check_k2s_dot_cc_links", false))
  2525. {
  2526. addHost(
  2527. "k2s,keep2s,keep2share",
  2528. "(?:(?:k2s\\.cc)|(?:keep2s\\.cc)|(?:keep2share\\.(?:cc|com)))\/file\/\\w+",
  2529. "//a[contains(@href,'k2s.cc/file/') or contains(@href,'keep2s.cc/file/') or contains(@href,'keep2share.cc/file/') or contains(@href,'keep2share.com/file/')]",
  2530. 100000, //blocksize
  2531. null, //corrmatch
  2532. null, //corrreplwhat
  2533. null, //corrreplwith
  2534. null, //separator
  2535. null,
  2536. null,
  2537. null,
  2538. null,
  2539. null,
  2540. null,
  2541. k2sBulkCheck //function delegate
  2542. )
  2543. }
  2544. if (GM_getValue("Check_tezfiles_dot_com_links", false))
  2545. {
  2546. addHost(
  2547. "tezfiles",
  2548. "(?:tezfiles\\.com)\/\\w+",
  2549. "//a[contains(@href,'tezfiles.com')]",
  2550. 100000, //blocksize
  2551. null, //corrmatch
  2552. null, //corrreplwhat
  2553. null, //corrreplwith
  2554. null, //separator
  2555. null,
  2556. null,
  2557. null,
  2558. null,
  2559. null,
  2560. null,
  2561. k2sBulkCheck //function delegate
  2562. )
  2563. }
  2564. if (GM_getValue("Check_fboom_dot_me_links", false))
  2565. {
  2566. addHost(
  2567. "fboom,fileboom",
  2568. "(?:(?:fboom\\.me)|(?:fileboom\\.me))\/file\/\\w+",
  2569. "//a[contains(@href,'fboom.me/file/') or contains(@href,'fileboom.me/file/')]",
  2570. 100000, //blocksize
  2571. null, //corrmatch
  2572. null, //corrreplwhat
  2573. null, //corrreplwith
  2574. null, //separator
  2575. null,
  2576. null,
  2577. null,
  2578. null,
  2579. null,
  2580. null,
  2581. fboomBulkCheck //function delegate
  2582. )
  2583. }
  2584. if (GM_getValue("Check_1fichier_dot_com_links", false))
  2585. {
  2586. addHost(
  2587. "1fichier,dl4free",
  2588. "(?:\\w{10}\\.(?:1fichier|dl4free)\\.com\/)|(?:(?:1fichier|dl4free)\\.com\/\\?\\w{10})|(?:www\\.)?\\w{6,}\\.1fichier\\.com",
  2589. "//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/?')]",
  2590. 100000, //blocksize
  2591. null, //corrmatch
  2592. null, //corrreplwhat
  2593. null, //corrreplwith
  2594. null, //separator
  2595. null,
  2596. null,
  2597. null,
  2598. null,
  2599. null,
  2600. null,
  2601. dl4free_1fichier_BulkCheck //function delegate
  2602. )
  2603. }
  2604. if (GM_getValue("Check_nitroflare_dot_com_links", false))
  2605. {
  2606. addHost(
  2607. "nitroflare",
  2608. "nitroflare\\.com\/\\w+",
  2609. "//a[contains(@href,'nitroflare.com/view/') or contains(@href,'nitroflare.com/watch/')]",
  2610. 100000, //blocksize
  2611. null, //corrmatch
  2612. null, //corrreplwhat
  2613. null, //corrreplwith
  2614. null, //separator
  2615. null,
  2616. null,
  2617. null,
  2618. null,
  2619. null,
  2620. null,
  2621. nitroflareBulkCheck //function delegate
  2622. )
  2623. }
  2624. if (GM_getValue("Check_depositfiles_dot_com_links", false))
  2625. {
  2626. addHost(
  2627. "depositfiles,dfiles",
  2628. "(?:(?:depositfiles\\.(?:com|org|lt))|(?:dfiles\\.(?:ru|eu)))\/files\/|(?:en|es|de|ru)/files\/\\w+",
  2629. "//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/')]",
  2630. 100000, //blocksize
  2631. null, //corrmatch
  2632. null, //corrreplwhat
  2633. null, //corrreplwith
  2634. null, //separator
  2635. null,
  2636. null,
  2637. null,
  2638. null,
  2639. null,
  2640. null,
  2641. depositfilesBulkCheck //function delegate
  2642. )
  2643. }
  2644. if (GM_getValue("Check_filesflash_dot_com_links", false))
  2645. {
  2646. addHost(
  2647. "filesflash", //hostname
  2648. "filesflash\\.com\/\\w+", //linkregex
  2649. "//a[contains(@href,'filesflash.com')]", //xpath
  2650. null, //blocksize
  2651. null, //corrmatch
  2652. /http:\/\//, //corrreplwhat
  2653. '', //corrreplwith
  2654. null, //separator
  2655. 'http://filesflash.com/checklinks.php',
  2656. 'submit=Go&links=',
  2657. /filesflash\.com\/(\w+)/,
  2658. /<td>filesflash\.com\/\w+<\/td>\s*<td>Available/g,
  2659. /<td>filesflash\.com\/\w+<\/td>\s*<td>(?:Invalid|Deleted|Expired|Banned)?<\/td>/g,
  2660. null,
  2661. null //function delegate
  2662. )
  2663. }
  2664. if (GM_getValue("Check_jumbofiles_dot_com_links", false))
  2665. {
  2666. addHost(
  2667. "jumbofiles", //hostname
  2668. "jumbofiles\\.com\/\\w+", //linkregex
  2669. "//a[contains(@href,'jumbofiles.com/')]", //xpath
  2670. null, //blocksize
  2671. /(http:\/\/(?:|www\.)jumbofiles\.com\/\w+)/, //corrmatch
  2672. null, //corrreplwhat
  2673. null, //corrreplwith
  2674. null, //separator
  2675. "http://jumbofiles.com/checkfiles.html", //api url
  2676. "op=checkfiles&process=Check+URLs&list=", //postdata
  2677. /(jumbofiles\.com\/\w+)/, //linkregex
  2678. /blue'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //liveregex
  2679. /red'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //deadregex
  2680. /orange'>http:\/\/(?:|www\.)jumbofiles\.com\/\w+/g, //unavaregex
  2681. null //function delegate
  2682. )
  2683. }
  2684. if (GM_getValue("Check_edisk_dot_cz_links", false))
  2685. {
  2686. addHost(
  2687. "edisk", //hostname
  2688. "(?:(?:muj|data)\\d*\\.|)edisk\\.(?:cz|sk|eu)\/(?:|(?:cz|sk|en|pl)\/)", //linkregex
  2689. "//a[contains(@href,'edisk.')]", //xpath
  2690. null, //blocksize
  2691. null, //corrmatch
  2692. /edisk\.\w{2}\/(?:|\w{2}\/)stahni/, //corrreplwhat
  2693. 'edisk.cz/stahni', //corrreplwith
  2694. null, //separator
  2695. 'http://www.edisk.cz/zkontrolovat-odkazy',
  2696. 'submitBtn=Zkontrolovat&checkFiles=',
  2697. /((?:download|stahn(?:i|out-soubor))\/\d+)/,
  2698. /"ano"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2699. /"ne"\/>\s*<\/td>\s*<td>\s*http:\/\/.+/g,
  2700. null,
  2701. null //function delegate
  2702. )
  2703. }
  2704. if (GM_getValue("Check_bezvadata_dot_cz_links", false))
  2705. {
  2706. GM_xmlhttpRequest( //age check skip
  2707. {
  2708. method: 'POST',
  2709. url: 'http://bezvadata.cz/vyhledavani/souhlas-zavadny-obsah',
  2710. headers: {
  2711. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2712. 'Content-type': 'application/x-www-form-urlencoded',
  2713. 'Referer': ""
  2714. }
  2715. });
  2716. addHost(
  2717. "bezvadata", //hostname
  2718. "(?:beta\\.|)bezvadata\.cz\/stahnout\/\\d+\\w+", //linkregex
  2719. "//a[contains(@href,'bezvadata.cz')]", //xpath
  2720. null, //blocksize
  2721. null, //corrmatch
  2722. null, //corrreplwhat
  2723. null, //corrreplwith
  2724. null, //separator
  2725. 'http://bezvadata.cz/nastroje/kontrola-odkazu?do=kontrolaOdkazuForm-submit',
  2726. 'zkontrolovat=Zkontrolovat&odkazy=',
  2727. /(bezvadata\.cz\/stahnout\/\d+)/,
  2728. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #d9ffb2/g,
  2729. /bezvadata\.cz\/stahnout\/.+?<\/td>\s*<td style="background-color: #ffb2b2/g,
  2730. null,
  2731. null //function delegate
  2732. )
  2733. }
  2734. if (GM_getValue("Check_linkcrypt_dot_ws_links", false))
  2735. {
  2736. addHost(
  2737. "linkcrypt", //hostname
  2738. "linkcrypt\\.ws\/dir\/\\w+", //linkregex
  2739. "//a[contains(@href,'linkcrypt.ws/dir')]", //xpath
  2740. 100000, //blocksize
  2741. null, //corrmatch
  2742. null, //corrreplwhat
  2743. null, //corrreplwith
  2744. null, //separator
  2745. null,
  2746. null,
  2747. null,
  2748. null,
  2749. null,
  2750. null,
  2751. linkcryptBulkCheck //function delegate
  2752. )
  2753. }
  2754. if (GM_getValue("Check_videobb_dot_com_links", false))
  2755. {
  2756. addHost(
  2757. "videobb", //hostname
  2758. "videobb\\.com\/(?:video\/|watch_video\\.php\\?v=)\\w+", //linkregex
  2759. "//a[contains(@href,'videobb.com')]", //xpath
  2760. null, //blocksize
  2761. null, //corrmatch
  2762. /watch_video\.php\?v=/, //corrreplwhat
  2763. 'video/', //corrreplwith
  2764. null, //separator
  2765. 'http://www.videobb.com/link_checker.php',
  2766. 'links=',
  2767. /videobb\.com\/video\/(\w+)/,
  2768. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td>.+?<\/td>\s+<td>\d+:\d+<\/td>\s+<td>Available/g,
  2769. /<td>http:\/\/(?:www\.|)videobb.com\/video\/\w+<\/td>\s+<td><\/td>\s+<td>N\/A<\/td>\s+<td>Not Available/g,
  2770. null,
  2771. null //function delegate
  2772. )
  2773. }
  2774. if (GM_getValue("Check_filerio_dot_com_links", false))
  2775. {
  2776. addHost(
  2777. "filekeen,filerio", //hostname
  2778. //"file(?:keen|rio)\\.(?:com|in)\/\\w+\/.", //linkregex
  2779. "file(?:keen|rio)\\.(?:com|in)\/\\w+", //linkregex
  2780. "//a[contains(@href,'filekeen.com') or contains(@href,'filerio.')]", //xpath
  2781. null, //blocksize
  2782. null, //corrmatch
  2783. null, //corrreplwhat
  2784. null, //corrreplwith
  2785. null, //separator
  2786. 'http://filerio.in/checkfiles.html',
  2787. 'op=checkfiles&process=Check+URLs&list=',
  2788. /(file(?:keen|rio)\.(?:com|in)\/\w+)/,
  2789. /green'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2790. /red'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2791. /orange'>http:\/\/(?:www\.|)file(?:keen|rio)\.(?:com|in)\/\w+/g,
  2792. null //function delegate
  2793. )
  2794. }
  2795. if (GM_getValue("Check_share_dash_online_dot_biz_links", false))
  2796. {
  2797. addHost(
  2798. "share-online,egoshare", //hostname
  2799. "(?:share-online\\.biz|egoshare\\.com)\/(?:dl\/|download\\.php\\?id=)", //linkregex
  2800. "//a[contains(@href,'share-online.biz') or contains(@href,'egoshare.com')]", //xpath
  2801. null, //blocksize
  2802. /http:\/\/(?:www\.)?(?:share-online\.biz|egoshare\.com)\/d(?:l\/|ownload\.php\?id=)(\w+)/, //corrmatch
  2803. null, //corrreplwhat
  2804. null, //corrreplwith
  2805. "\n", //separator
  2806. 'http://api.share-online.biz/linkcheck.php',
  2807. 'links=',
  2808. /(\w+);(?:OK|NOTFOUND|DELETED)/,
  2809. /\w+;OK/g,
  2810. /\w+;(?:NOTFOUND|DELETED)/g,
  2811. null,
  2812. null //function delegate
  2813. )
  2814. }
  2815. if (GM_getValue("Check_oboom_dot_com_links", false))
  2816. {
  2817. addHost(
  2818. "oboom", //hostname
  2819. "oboom\\.com\/#?\\w{8}", //linkregex
  2820. "//a[contains(@href,'oboom.com/')]", //xpath
  2821. null, //blocksize
  2822. /oboom\.com\/#?(\w{8})/, //corrmatch
  2823. null, //corrreplwhat
  2824. null, //corrreplwith
  2825. null, //separator
  2826. null,
  2827. null,
  2828. null,
  2829. null, //liveregex
  2830. null, //deadregex
  2831. null,
  2832. oboomBulk //function delegate
  2833. )
  2834. }
  2835. if (GM_getValue("Check_mega_dot_nz_links", false))
  2836. {
  2837. addHost(
  2838. "mega",
  2839. "mega(?:\\.co)?\\.nz\/#!?\\w+",
  2840. "//a[contains(@href,'mega.co.nz/') or contains(@href,'mega.nz/')]",
  2841. 100000, //blocksize
  2842. null, //corrmatch
  2843. null, //corrreplwhat
  2844. null, //corrreplwith
  2845. null, //separator
  2846. null,
  2847. null,
  2848. null,
  2849. null,
  2850. null,
  2851. null,
  2852. megaBulkCheck //function delegate
  2853. )
  2854. }
  2855.  
  2856. //the same as GenType2, except api url is 'https://' instead of 'http://www.' and corrmatch is not??? needed
  2857.  
  2858. if (GM_getValue("Check_extabit_dot_com_links", false))
  2859. {
  2860. addHost(
  2861. "extabit", //hostname
  2862. "extabit\\.com\/file\/\\w+", //linkregex
  2863. "//a[contains(@href,'extabit.com')]", //xpath
  2864. null, //blocksize
  2865. null, //corrmatch
  2866. null, //corrreplwhat
  2867. null, //corrreplwith
  2868. "\n", //separator
  2869. "http://extabit.com/linkchecker.jsp", //api url
  2870. "url=", //postdata
  2871. /extabit\.com\/(file\/\w+)/, //linkregex
  2872. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_green">/g, //liveregex
  2873. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_red">/g, //deadregex
  2874. /extabit\.com\/file\/\w+\/[^<]+<\/a><\/td>\s*<td class="status"><span class="status_yellow">/g, //unavaregex
  2875. extabitBulkCheck //function delegate
  2876. )
  2877. }
  2878. if (GM_getValue("Check_junocloud_dot_me_links", false))
  2879. {
  2880. addHost(
  2881. "junocloud", //hostname
  2882. "junocloud\\.me\/\\w+", //linkregex
  2883. "//a[contains(@href,'junocloud.me')]", //xpath
  2884. null, //blocksize
  2885. null, //corrmatch
  2886. null, //corrreplwhat
  2887. null, //corrreplwith
  2888. "\n", //separator
  2889. "http://junocloud.me/checkfiles.html", //api url
  2890. "op=checkfiles&process=Check+URLs&list=", //postdata
  2891. /(junocloud\.me\/\w+)/, //linkregex
  2892. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: green/g, //liveregex
  2893. /<a href="http:\/\/junocloud\.me\/\w+[^<]+<\/a>\s*<span style="color: red/g, //deadregex
  2894. null, //unavaregex
  2895. null //function delegate
  2896. )
  2897. }
  2898. if (GM_getValue("Check_webshare_dot_cz_links", false))
  2899. {
  2900. addHost(
  2901. "webshare", //hostname
  2902. "webshare\.cz\/(?:(?:#/)?file/\\w+|\\w+-.*)", //linkregex
  2903. "//a[contains(@href,'webshare.cz')]", //xpath
  2904. 100000, //blocksize
  2905. null, //corrmatch
  2906. null, //corrreplwhat
  2907. null, //corrreplwith
  2908. null, //separator
  2909. null, //api url
  2910. null, //postdata
  2911. null, //linkregex
  2912. null, //liveregex
  2913. null, //deadregex
  2914. null, //unavaregex
  2915. webshareBulkCheck //function delegate
  2916. )
  2917. }
  2918. /////////////////////////////
  2919. // Common function delegate to send links to get checked by host linkchecker
  2920. /////////////////////////////
  2921. // If you define a new delegate, you may use following properties
  2922. // this.links [array] array of strings (link blocks). The links in each block separated with host.splitSeparator.
  2923. // this.apiUrl [string] API or web linkchecker URL
  2924. // this.postData [string] POSTDATA for POST request
  2925. // this.resLiveRegex [regex] matches live substrings in the request response
  2926. // this.resDeadRegex [regex] matches dead substrings in the request response
  2927. // this.resUnavaRegex [regex] matches unava substrings in the request response (the regex is often null!)
  2928. //
  2929. // this.resLinkRegex [regex] matches links further passed to DisplayTheCheckedLinks
  2930. //
  2931. // See the code below for standard bulkcheck handling reference.
  2932. //////////////////////////////
  2933. function genBulkCheck()
  2934. {
  2935. var blockIdx = this.links.length;
  2936. while (blockIdx--)
  2937. {
  2938. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  2939. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  2940. }
  2941. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  2942. {
  2943. GM_xmlhttpRequest(
  2944. {
  2945. method: 'POST',
  2946. url: api,
  2947. headers: {
  2948. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  2949. 'Content-type': 'application/x-www-form-urlencoded',
  2950. 'Referer': api,
  2951. 'X-Requested-With': 'XMLHttpRequest'
  2952. },
  2953. data: postData + encodeURIComponent(links),
  2954. onload: function (result)
  2955. {
  2956. var res = result.responseText;
  2957. // GM_log(res);
  2958. var i;
  2959.  
  2960. var livelinks = res.match(liveRegex);
  2961. var deadlinks = res.match(deadRegex);
  2962. // GM_log(livelinks);
  2963. // GM_log(deadlinks);
  2964. if (livelinks != null)
  2965. {
  2966. i = livelinks.length - 1;
  2967. do
  2968. {
  2969. livelinks[i] = livelinks[i].match(linkRegex)[1];
  2970. }
  2971. while (i--);
  2972. DisplayTheCheckedLinks(livelinks, 'alive_link');
  2973. }
  2974.  
  2975. if (deadlinks != null)
  2976. {
  2977. i = deadlinks.length - 1;
  2978. do
  2979. {
  2980. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  2981. }
  2982. while (i--);
  2983. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  2984. }
  2985.  
  2986. if (unavaRegex != null)
  2987. {
  2988. var unavalinks = res.match(unavaRegex);
  2989. if (unavalinks)
  2990. {
  2991. i = unavalinks.length - 1;
  2992. do
  2993. {
  2994. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  2995. }
  2996. while (i--);
  2997. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  2998. }
  2999. }
  3000. }
  3001. });
  3002. }
  3003. }
  3004. //specialized bulkchecking handlers follow
  3005. function webshareBulkCheck()
  3006. {
  3007. var arr = this.links[0].split("\r\n");
  3008. var i = arr.length;
  3009. while(i--)
  3010. {
  3011. postRequest(arr[i]);
  3012. }
  3013. //function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3014. function postRequest(wsLink)
  3015. {
  3016. var id = wsLink.match(/webshare\.cz\/(?:(?:#\/)?file\/)?(\w+)/)[1];
  3017. GM_xmlhttpRequest(
  3018. {
  3019. method: 'POST',
  3020. url: "http://webshare.cz/api/file_info/",
  3021. headers: {
  3022. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3023. 'Content-type': 'application/x-www-form-urlencoded',
  3024. 'Referer': "",
  3025. },
  3026. data: "wst=&ident=" + id,
  3027. onload: function (result)
  3028. {
  3029. var res = result.responseText;
  3030. if (res.match(/<name>.+?<\/name>/))
  3031. {
  3032. DisplayTheCheckedLinks([id], 'alive_link');
  3033. }
  3034. else
  3035. {
  3036. DisplayTheCheckedLinks([id], 'adead_link');
  3037. }
  3038. }
  3039. });
  3040. }
  3041. }
  3042. //like genBulkCheck, but extabit linkchecker only works when logged in. If not logged in, non-bulk checking has to be used.
  3043. //extabit also doesn't like requests in fast succession, so some delays are added.
  3044. function extabitBulkCheck()
  3045. {
  3046. var timeoutDelay = 0;
  3047. var blockIdx = this.links.length;
  3048. while (blockIdx--)
  3049. {
  3050. postRequest(this.apiUrl, this.postData, this.links[blockIdx],
  3051. this.resLinkRegex, this.resLiveRegex, this.resDeadRegex, this.resUnavaRegex);
  3052. }
  3053. function postRequest(api, postData, links, linkRegex, liveRegex, deadRegex, unavaRegex)
  3054. {
  3055. GM_xmlhttpRequest(
  3056. {
  3057. method: 'POST',
  3058. url: api,
  3059. headers: {
  3060. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3061. 'Content-type': 'application/x-www-form-urlencoded',
  3062. 'Referer': api,
  3063. 'X-Requested-With': 'XMLHttpRequest'
  3064. },
  3065. data: postData + encodeURIComponent(links),
  3066. onload: function (result)
  3067. {
  3068. var res = result.responseText;
  3069. if (/id="registration_header"/.test(res)) //not logged in, have to use non-bulk
  3070. {
  3071. function geturlfunc(link, tryID) //basically the geturl function with some changes (compacted, displaythecheckedlinkS, multiple tries)
  3072. {
  3073. //GM_log(tryID + ': ' + link);
  3074. GM_xmlhttpRequest(
  3075. {
  3076. method: 'GET',
  3077. url: link,
  3078. 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': ""},
  3079. onload: function(result2)
  3080. {
  3081. var res2 = result2.responseText;
  3082. var res2Status = result.status;
  3083. if (/download-file-btn/.test(res2)) {DisplayTheCheckedLinks([link], 'alive_link'); return;}
  3084. if (/Search mirrors|id="mirrb"/.test(res2) || res2Status==404) {DisplayTheCheckedLinks([link], 'adead_link'); return;}
  3085. if (/currently unavailable|temporarily unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен/.test(res2) || res2Status == 500 || res2Status == 503)
  3086. {
  3087. if (tryID < 7)
  3088. setTimeout(function(){geturlfunc(link,tryID+1)}, tryID * 1000 + (Math.random() * tryID * 2000));
  3089. else
  3090. {DisplayTheCheckedLinks([link], 'unava_link'); return;}
  3091. }
  3092. }
  3093. });
  3094. }
  3095. //split the hrefs and check them one by one
  3096. GM_log('Using slow extabit.com link checking. Log in to extabit to use fast bulk checking.');
  3097. links = links.split('\n');
  3098. var i = links.length;
  3099. while (i--)
  3100. {
  3101. if (links[i])
  3102. {
  3103. (function(i){setTimeout(function(){geturlfunc(links[i],1)}, timeoutDelay);})(i);
  3104. timeoutDelay += 500;
  3105. }
  3106. }
  3107. return;
  3108. }
  3109. var i;
  3110.  
  3111. var livelinks = res.match(liveRegex);
  3112. var deadlinks = res.match(deadRegex);
  3113. if (livelinks != null)
  3114. {
  3115. i = livelinks.length - 1;
  3116. do
  3117. {
  3118. livelinks[i] = livelinks[i].match(linkRegex)[1];
  3119. }
  3120. while (i--);
  3121. DisplayTheCheckedLinks(livelinks, 'alive_link');
  3122. }
  3123.  
  3124. if (deadlinks != null)
  3125. {
  3126. i = deadlinks.length - 1;
  3127. do
  3128. {
  3129. deadlinks[i] = deadlinks[i].match(linkRegex)[1];
  3130. }
  3131. while (i--);
  3132. DisplayTheCheckedLinks(deadlinks, 'adead_link');
  3133. }
  3134.  
  3135. if (unavaRegex != null)
  3136. {
  3137. var unavalinks = res.match(unavaRegex);
  3138. if (unavalinks)
  3139. {
  3140. i = unavalinks.length - 1;
  3141. do
  3142. {
  3143. unavalinks[i] = unavalinks[i].match(linkRegex)[1];
  3144. }
  3145. while (i--);
  3146. DisplayTheCheckedLinks(unavalinks, 'unava_link');
  3147. }
  3148. }
  3149. }
  3150. });
  3151. }
  3152. }
  3153. function k2sBulkCheck()
  3154. {
  3155. var arr = this.links[0].split("\r\n");
  3156. var i = arr.length;
  3157. c=0;
  3158. arrIDs=[];
  3159. while(i--)
  3160. {
  3161. id = arr[i].match(/\/file\/(\w+)/)[1];
  3162. if (id=='info')
  3163. {
  3164. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3165. continue;
  3166. }
  3167. k2salreadyexist=false;
  3168. for (j=0;j<arrIDs.length;j++)
  3169. {
  3170. if (arrIDs[j]==id)
  3171. {
  3172. k2salreadyexist=g
  3173. break;
  3174. }
  3175. }
  3176. if (k2salreadyexist) continue;
  3177. arrIDs.push(id);
  3178. c++;
  3179. setTimeout(k2sRequest,c*500,arr[i]);
  3180. }
  3181. }
  3182. function k2sRequest(K2SLink)
  3183. {
  3184. var id = K2SLink.match(/\/file\/(\w+)/)[1];
  3185. GM_xmlhttpRequest(
  3186. {
  3187. method: 'GET',
  3188. url: K2SLink,
  3189. headers: {
  3190. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3191. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3192. 'Referer': ''
  3193. },
  3194. onload: function (result)
  3195. {
  3196. var res = result.responseText;
  3197. K2Dom='k2s.cc';
  3198. K2Dom=result.finalUrl.match(/\/\/([\w\.]+)\//)[1];
  3199. K2SLink2='http://'+K2Dom+'/file/'+id;
  3200.  
  3201. 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'))
  3202. {
  3203. DisplayTheCheckedLinks([K2SLink], 'adead_link');
  3204. return;
  3205. }
  3206. if (res.match('method="post">Displaying'))
  3207. {
  3208. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3209. return;
  3210. }
  3211. if (res.match('Premium only'))
  3212. {
  3213. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3214. return;
  3215. }
  3216. if (res.match('View File|download-file-info|div class="name fontmyriadpro"|style="color: #9fb143;"'))
  3217. {
  3218. slow_id=new RegExp('<input type="hidden" name="slow_id" value="(\\w+)">');
  3219. slID=slow_id.exec(res)[1];
  3220. GM_xmlhttpRequest(
  3221. {
  3222. method: 'POST',
  3223. url: K2SLink2,
  3224. headers: {
  3225. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3226. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3227. 'Content-Type': 'application/x-www-form-urlencoded',
  3228. 'Referer': K2SLink
  3229. },
  3230. data: 'slow_id='+slID+'&yt0=',
  3231. onload: function (result)
  3232. {
  3233. var newres = result.responseText;
  3234. newoversizedtest=new RegExp("Free user can't download large files.");
  3235. if (newoversizedtest.test(newres))
  3236. {
  3237. DisplayTheCheckedLinks([K2SLink], 'prem_link');
  3238. return;
  3239. }
  3240. else
  3241. {
  3242. DisplayTheCheckedLinks([K2SLink], 'alive_link');
  3243. return;
  3244. }
  3245. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3246. return;
  3247. }
  3248. });
  3249. /////////////////////end additional check for oversized links
  3250. return;
  3251. }
  3252. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3253. return;
  3254. },
  3255. onerror: function ()
  3256. {
  3257. DisplayTheCheckedLinks([K2SLink], 'unava_link');
  3258. return;
  3259. }
  3260. });
  3261. }
  3262. function fboomBulkCheck()
  3263. {
  3264. var arr = this.links[0].split("\r\n");
  3265. var i = arr.length;
  3266. c=0;
  3267. arrIDs=[];
  3268. while(i--)
  3269. {
  3270. id = arr[i].match(/\/file\/(\w+)/)[1];
  3271. if (id=='info')
  3272. {
  3273. DisplayTheCheckedLinks([arr[i]], 'adead_link');
  3274. continue;
  3275. }
  3276. fbalreadyexist=false;
  3277. for (j=0;j<arrIDs.length;j++)
  3278. {
  3279. if (arrIDs[j]==id)
  3280. {
  3281. fbalreadyexist=true;
  3282. break;
  3283. }
  3284. }
  3285. if (fbalreadyexist) continue;
  3286. arrIDs.push(id);
  3287. c++;
  3288. setTimeout(fboomRequest,c*500,arr[i]);
  3289. }
  3290. }
  3291. function fboomRequest(FBoomLink)
  3292. {
  3293. var id = FBoomLink.match(/\/file\/(\w+)/)[1];
  3294. FBoomLink2='http://fboom.me/file/'+id;
  3295. GM_xmlhttpRequest(
  3296. {
  3297. method: 'GET',
  3298. url: FBoomLink,
  3299. headers: {
  3300. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3301. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3302. 'Referer': ''
  3303. },
  3304. onload: function (result)
  3305. {
  3306. var res = result.responseText;
  3307. if (res.match('no longer available|class="error-v1-title">404<|File not found or deleted|no longer available'))
  3308. {
  3309. DisplayTheCheckedLinks([FBoomLink], 'adead_link');
  3310. return;
  3311. }
  3312. if (res.match('method="post">Displaying'))
  3313. {
  3314. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3315. return;
  3316. }
  3317. if (res.match('only for premium members'))
  3318. {
  3319. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3320. return;
  3321. }
  3322. if (res.match('id="download-free" href="#"'))
  3323. {
  3324. slow_id=new RegExp('<a id="download-free" href="#" class="free-button btn-u" data-slow-id="(\\w+)">');
  3325. slID=slow_id.exec(res)[1];
  3326. GM_xmlhttpRequest(
  3327. {
  3328. method: 'POST',
  3329. url: FBoomLink2,
  3330. headers: {
  3331. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3332. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3333. 'Content-Type': 'application/x-www-form-urlencoded',
  3334. 'Referer': FBoomLink
  3335. },
  3336. data: 'slow_id='+slID,
  3337. onload: function (result)
  3338. {
  3339. var newres = result.responseText;
  3340. newoversizedtest=new RegExp("Downloading is not possible");
  3341. if (newoversizedtest.test(newres))
  3342. {
  3343. DisplayTheCheckedLinks([FBoomLink], 'prem_link');
  3344. return;
  3345. }
  3346. else
  3347. {
  3348. DisplayTheCheckedLinks([FBoomLink], 'alive_link');
  3349. return;
  3350. }
  3351. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3352. return;
  3353. }
  3354. });
  3355. /////////////////////end additional check for oversized links
  3356. return;
  3357. }
  3358. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3359. return;
  3360. },
  3361. onerror: function ()
  3362. {
  3363. DisplayTheCheckedLinks([FBoomLink], 'unava_link');
  3364. return;
  3365. }
  3366. });
  3367. }
  3368. function dl4free_1fichier_BulkCheck()
  3369. {
  3370. var arr = this.links[0].split("\r\n");
  3371. var i = arr.length;
  3372. while(i--)
  3373. {
  3374. CorrectRE = new RegExp('(https?):\\/\\/(?:www\\.)?(\\w{5,15})\\.1fichier\\.com');
  3375. arr[i]=arr[i].replace(CorrectRE, '$1://1fichier.com/?$2');
  3376. gethead_dl4free_1fichier(arr[i]);
  3377. }
  3378. }
  3379. function gethead_dl4free_1fichier(link)
  3380. {
  3381. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3382. GM_xmlhttpRequest(
  3383. {
  3384. method: 'HEAD',
  3385. url: link,
  3386. headers: {
  3387. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3388. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3389. 'Referer': ''
  3390. },
  3391. onload: function (result)
  3392. {
  3393. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download
  3394. {
  3395. DisplayTheCheckedLinks([id], 'alive_link');
  3396. return;
  3397. }
  3398. else
  3399. {
  3400. getlink_dl4free_1fichier(link);
  3401. }
  3402. return;
  3403. },
  3404. onerror: function ()
  3405. {
  3406. DisplayTheCheckedLinks([id], 'unava_link');
  3407. }
  3408. });
  3409. }
  3410. function getlink_dl4free_1fichier(link)
  3411. {
  3412. var id = link.match(/(?:1fichier|dl4free)\.com(?:\/)?\?(\w{6,})/)[1];
  3413. GM_xmlhttpRequest(
  3414. {
  3415. method: 'GET',
  3416. url: link,
  3417. headers: {
  3418. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  3419. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  3420. 'Referer': ''
  3421. },
  3422. onload: function (result)
  3423. {
  3424. var res = result.responseText;
  3425. 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');
  3426. if (deadRegex.test(res))
  3427. {
  3428. DisplayTheCheckedLinks([id], 'adead_link');
  3429. return;
  3430. }
  3431. premiumRegex=new RegExp('only for premium users');
  3432. if (premiumRegex.test(res))
  3433. {
  3434. DisplayTheCheckedLinks([id], 'prem_link');
  3435. return;
  3436. }
  3437. 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="');
  3438. if (liveRegex.test(res))
  3439. {
  3440. DisplayTheCheckedLinks([id], 'alive_link');
  3441. return;
  3442. }
  3443. DisplayTheCheckedLinks([id], 'unava_link');
  3444. },
  3445. onerror: function ()
  3446. {
  3447. DisplayTheCheckedLinks([id], 'unava_link');
  3448. }
  3449. });
  3450. }
  3451. function nitroflareBulkCheck()
  3452. {
  3453. var arr = this.links[0].split("\r\n");
  3454. var i = arr.length;
  3455. while(i--)
  3456. {
  3457. arr[i]=arr[i].replace('nitroflare.com/watch/','nitroflare.com/view/');
  3458. if (arr[i].substr(arr[i].length-5, 5)=='/free') arr[i]=arr[i].substr(0, arr[i].length-5);
  3459. NitroFlareRequest(arr[i]);
  3460. }
  3461. }
  3462. function NitroFlareRequest(NFLink)
  3463. {
  3464. var NFID=NFLink.match(/nitroflare.com\/view\/(\w+)/)[1];
  3465. GM_xmlhttpRequest(
  3466. {
  3467. method: "GET",
  3468. url: NFLink,
  3469. headers: {
  3470. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3471. 'Content-Type': 'application/x-www-form-urlencoded',
  3472. 'Referer': ""
  3473. },
  3474. onload: function (result)
  3475. {
  3476. var res = result.responseText;
  3477. if (res.match('file has been removed|id="error" style="display|Probably deleted'))
  3478. {
  3479. DisplayTheCheckedLinks([NFID], 'adead_link');
  3480. return;
  3481. }
  3482. if (res.match('Report this file<\/a>'))
  3483. {
  3484. measureRegex=new RegExp('\\[<span dir="ltr" style="text\\-align: left;">([\\d\\.])+\\s([a-zA-Z]+)<\\\/span>\\]<\\\/span>');
  3485. sizearr=measureRegex.exec(res);
  3486. if (sizearr[2]=='GB')
  3487. {
  3488. if (parseFloat(sizearr[1])>1)
  3489. {
  3490. DisplayTheCheckedLinks([NFID], 'prem_link');
  3491. }
  3492. else
  3493. {
  3494. DisplayTheCheckedLinks([NFID], 'alive_link');
  3495. }
  3496. }
  3497. else
  3498. {
  3499. DisplayTheCheckedLinks([NFID], 'alive_link');
  3500. }
  3501. return;
  3502. }
  3503. DisplayTheCheckedLinks([NFID], 'unava_link');
  3504. }
  3505. });
  3506. }
  3507. function depositfilesBulkCheck()
  3508. {
  3509. var arr = this.links[0].split("\r\n");
  3510. var i = arr.length;
  3511. var seqno = Math.floor(Math.random()*1000000000);
  3512. while(i--)
  3513. {
  3514. DFpostRequest(arr[i]);
  3515. }
  3516. }
  3517. function DFpostRequest(DFLink)
  3518. {
  3519. DFLink=DFLink.replace('depositfiles.lt/','depositfiles.com/');
  3520. DFLink=DFLink.replace('depositfiles.org/','depositfiles.com/');
  3521. DFLink=DFLink.replace('dfiles.ru/','depositfiles.com/');
  3522. DFLink=DFLink.replace('dfiles.eu/','depositfiles.com/');
  3523. DFLink=DFLink.replace('depositfiles.com/en/','depositfiles.com/');
  3524. DFLink=DFLink.replace('depositfiles.com/de/','depositfiles.com/');
  3525. DFLink=DFLink.replace('depositfiles.com/ru/','depositfiles.com/');
  3526. DFLink=DFLink.replace('depositfiles.com/es/','depositfiles.com/');
  3527. var id = DFLink.match(/depositfiles\.com\/files\/(\w+)/)[1];
  3528. GM_xmlhttpRequest(
  3529. {
  3530. method: "GET",
  3531. url: "http://depositfiles.com/api/get_download_info.php?id=" + id + "&format=json",
  3532. headers: {
  3533. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3534. 'Content-Type': 'application/x-www-form-urlencoded',
  3535. 'Referer': ""
  3536. },
  3537. onload: function (result)
  3538. {
  3539. var res = result.responseText;
  3540. if (res.match('(?:no_file|file_ban)'))
  3541. {
  3542. DisplayTheCheckedLinks([id], 'adead_link');
  3543. return;
  3544. }
  3545. if (res.match('"download_li(?:nk|mit)|password_check|file_storage"'))
  3546. {
  3547. DisplayTheCheckedLinks([id], 'alive_link');
  3548. return;
  3549. }
  3550. DisplayTheCheckedLinks([id], 'unava_link');
  3551. }
  3552. });
  3553. }
  3554.  
  3555. function megaBulkCheck()
  3556. {
  3557. var arr = this.links[0].split("\r\n");
  3558. var i = arr.length;
  3559. var seqno = Math.floor(Math.random()*1000000000);
  3560. while(i--)
  3561. {
  3562. postRequest(arr[i]);
  3563. }
  3564. function postRequest(megaLink)
  3565. {
  3566. megaLink=megaLink.replace('mega.nz/','mega.co.nz/');
  3567. var id = megaLink.match(/mega\.co\.nz\/#!?(\w+)/)[1];
  3568. if (id=='F')
  3569. {
  3570. id = megaLink.match(/mega\.co\.nz\/#(F!\w+)/)[1]
  3571. DisplayTheCheckedLinks([id], 'unava_link');
  3572. }
  3573. else
  3574. GM_xmlhttpRequest(
  3575. {
  3576. method: "POST",
  3577. url: 'https://g.api.mega.co.nz/cs?id=' + seqno++,
  3578. data: '[{"a":"g","p":"' + id + '","ssl": "1"}]',
  3579. headers: {
  3580. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3581. 'Content-Type': 'application/xml',
  3582. 'Referer': "https://mega.co.nz/"
  3583. },
  3584. onload: function (result)
  3585. {
  3586. var res = $.parseJSON(result.responseText.match(/\[(.+?)\]/)[1]);
  3587. if ((typeof res == "number" && (res == -9 || res == -16 || res == -6)) || res.d)
  3588. {
  3589.  
  3590. DisplayTheCheckedLinks([id], 'adead_link');
  3591. }
  3592. if (res.at)
  3593. {
  3594. DisplayTheCheckedLinks([id], 'alive_link');
  3595. }
  3596. if (res.e == "ETEMPUNAVAIL")
  3597. {
  3598. DisplayTheCheckedLinks([id], 'unava_link');
  3599. }
  3600. }
  3601. });
  3602. }
  3603.  
  3604. }
  3605.  
  3606. function oboomBulk() {
  3607. var a = [], b = [], c = [];
  3608. var array = this.links;
  3609.  
  3610. GM_xmlhttpRequest({
  3611. method: 'GET',
  3612. url: 'https://www.oboom.com/1/guestsession',
  3613. headers: {
  3614. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3615. 'Content-type': 'application/x-www-form-urlencoded',
  3616. 'Referer': 'https://www.oboom.com',
  3617. 'X-Requested-With': 'XMLHttpRequest'
  3618. },
  3619. onload: function(result) {
  3620. var blockIdx = array.length;
  3621. var token = JSON.parse(result.responseText)[1];
  3622. while (blockIdx--) {
  3623. startCheck(array[blockIdx].split('\r\n'), token);
  3624. }
  3625. }
  3626. });
  3627.  
  3628. function startCheck(links, token) {
  3629. GM_xmlhttpRequest({
  3630. method: 'POST',
  3631. url: "https://api.oboom.com/1/info",
  3632. headers: {
  3633. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  3634. 'Content-type': 'application/x-www-form-urlencoded',
  3635. 'Referer': 'https://www.oboom.com/',
  3636. 'X-Requested-With': 'XMLHttpRequest'
  3637. },
  3638. data: "token=" + token + "&items=" + links.join(","),
  3639. onload: function(result) {
  3640. var res = JSON.parse(result.responseText)[1];
  3641. var i = res.length, s;
  3642.  
  3643. while (i--) {
  3644. s = res[i].state;
  3645. if (s == 'online') a.push(res[i].id);
  3646. 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);
  3647. else c.push(res[i].id);
  3648. }
  3649.  
  3650. if (a.length > 0) DisplayTheCheckedLinks(a, 'alive_link');
  3651. if (b.length > 0) DisplayTheCheckedLinks(b, 'adead_link');
  3652. if (c.length > 0) DisplayTheCheckedLinks(c, 'unava_link');
  3653. }
  3654. });
  3655. }
  3656. }
  3657. function linkcryptBulkCheck()
  3658. {
  3659. var arr = this.links[0].split("\r\n");
  3660. var i = arr.length;
  3661. while(i--)
  3662. {
  3663. postRequest(arr[i]);
  3664. }
  3665. function postRequest(lcLink)
  3666. {
  3667. GM_xmlhttpRequest(
  3668. {
  3669. method: "GET",
  3670. url: 'http://linkcrypt.ws/api.html?api=status_V1&folderKey=' + lcLink.match(/dir\/(\w+)/)[1],
  3671. headers: {
  3672. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3673. 'Accept': 'text/xml',
  3674. 'Referer': ""
  3675. },
  3676. onload: function (result)
  3677. {
  3678. var res = result.responseText;
  3679. if (res.match(/<errorCode>1101|Folder not Found|folderStatus>[23]/)) //Offline status
  3680. {
  3681. DisplayTheCheckedLinks([lcLink], 'adead_link');
  3682. return;
  3683. }
  3684. if (res.match(/folderStatus>1/)) //Online status
  3685. {
  3686. DisplayTheCheckedLinks([lcLink], 'alive_link');
  3687. }
  3688. else
  3689. {
  3690. DisplayTheCheckedLinks([lcLink], 'unava_link');
  3691. }
  3692. }
  3693. });
  3694. }
  3695. }
  3696.  
  3697. function megashareBulkCheck()
  3698. {
  3699. var arr = this.links[0].split("\r\n");
  3700. var i = arr.length;
  3701. while(i--)
  3702. {
  3703. postRequest(arr[i]);
  3704. }
  3705. function postRequest(msLink)
  3706. {
  3707. GM_xmlhttpRequest(
  3708. {
  3709. method: "GET",
  3710. url: msLink,
  3711. headers: {
  3712. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3713. 'Content-Type': 'application/x-www-form-urlencoded',
  3714. 'Referer': ""
  3715. },
  3716. onload: function (result)
  3717. {
  3718. var prZVal = result.responseText.match(/name="(\d+prZVal)" value="(\d+)">/);
  3719. var btn3Name = result.responseText.match(/src="images\/dwn-btn3\.gif" name="(.+?)"/);
  3720. if ((prZVal == null) || (btn3Name == null))
  3721. {
  3722. return;
  3723. }
  3724. GM_xmlhttpRequest(
  3725. {
  3726. method: "POST",
  3727. url: msLink,
  3728. headers: {
  3729. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3730. 'Content-Type': 'application/x-www-form-urlencoded',
  3731. 'Referer': ""
  3732. },
  3733. data: prZVal[1] + "=" + prZVal[2] + '&' + btn3Name[1] + '.x=1&' + btn3Name[1] + '.y=1',
  3734. onload: function (result)
  3735. {
  3736. var res = result.responseText;
  3737. if (res.match(/<div id="err">/))
  3738. {
  3739. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'adead_link');
  3740. }
  3741. else
  3742. {
  3743. DisplayTheCheckedLinks([msLink.match(/\.com(\/\d+)/)[1]], 'alive_link');
  3744. }
  3745. }
  3746. });
  3747. }
  3748. });
  3749. }
  3750. }
  3751. function hellshareBulkCheck()
  3752. {
  3753. var links = this.links;
  3754. GM_xmlhttpRequest(
  3755. {
  3756. method: "GET",
  3757. url: 'http://www.hellshare.com',
  3758. headers: {
  3759. 'User-agent': 'Mozilla/4.0 (compatible) Greasemonkey',
  3760. 'Accept': 'text/xml',
  3761. 'Referer': ""
  3762. },
  3763. onload: function (result)
  3764. {
  3765. var domain = result.responseText.match(/param_rau = "www\.hellshare\.(\w+)"/)[1];
  3766.  
  3767. var loc = 'check=Zkontrolovat+dostupnost+soubor%C5%AF&links=';
  3768. if (domain == 'sk')
  3769. loc = 'check=Skontrolova%C5%A5&links=';
  3770. if (domain == 'com')
  3771. loc = 'check=Check+availability&links=';
  3772. if (domain == 'hu')
  3773. loc = 'check=Kontrol%C3%A1lj&links=';
  3774. if (domain == 'pl')
  3775. loc = 'check=Sprawd%C5%BC+dost%C4%99pno%C5%9B%C4%87+plik%C3%B3w&links=';
  3776.  
  3777. genBulkCheck.call({ links: links,
  3778. apiUrl: 'http://www.hellshare.' + domain + '/linkchecker?do=linkChecker-linkcheckerform-submit',
  3779. postData: loc,
  3780. resLinkRegex: /hellshare\.(?:cz|com|sk|hu|pl)\/(?:[\w-\.]+\/|)([\w-\.]+\/\d{5,})/,
  3781. 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,
  3782. resDeadRegex: /<span style="color:gray">.*?<\/span> - <strong>/g,
  3783. resUnavaRegex: null
  3784. });
  3785. }
  3786. });
  3787. }
  3788. /**
  3789. * Displays check result
  3790. * @param {Array} Array of links or link fragments.
  3791. * @param {String} Check result status -> ['alive_link'|'adead_link'|'unava_link']
  3792. */
  3793. function DisplayTheCheckedLinks(links, resultStatus)
  3794. {
  3795. //(a[href*=link_1], a[href*=link_2], ..., a[href*=link_n])
  3796. var $links = $('a[href*="' + links.join('"], a[href*="') + '"]');
  3797. if (Do_not_linkify_DL_links)
  3798. { //TODO into separate jQuery function
  3799. $links.replaceWith(function(){
  3800. return '<span href="' + this.href + '">' + $(this).text() + '</span>';
  3801. });
  3802. $links = $('span[href*="' + links.join('"], span[href*="') + '"]');
  3803. }
  3804. $links.removeClass().addClass(resultStatus);
  3805. $links.each(function() {
  3806. this.href = Ref_anonymize_service + $(this).attr("href");
  3807. });
  3808. switch(resultStatus)
  3809. {
  3810. case "alive_link": cLinksAlive += $links.length;
  3811. if (Display_tooltip_info) $links.mouseover(displayTooltipInfo);
  3812. break;
  3813. case "adead_link": cLinksDead += $links.length;
  3814. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3815. break;
  3816. case "prem_link": cLinksprem += $links.length;
  3817. if (Display_tooltip_info) $links.mouseover(displayTooltipError);
  3818. break;
  3819. case "unava_link": cLinksUnava += $links.length; break;
  3820. default:
  3821. }
  3822. cLinksProcessed += $links.length;
  3823. }
  3824. }
  3825. // starts bulkchecking
  3826. //
  3827. // params
  3828. // filterId [string] restricts link detection with passed id attribute
  3829. function startBulkCheck(filterId)
  3830. {
  3831. var cHosts = bulkHosts.length;
  3832. if (cHosts == 0) //no filehostings selected
  3833. return;
  3834. // STEP 1 linkify the links
  3835. var linkifyRegex = '';
  3836. var hostIdx = cHosts;
  3837. while(hostIdx--)
  3838. {
  3839. linkifyRegex += bulkHosts[hostIdx].linkRegex + "|";
  3840. }
  3841. linkifyRegex = linkifyRegex.replace(/\|$/, '');
  3842. linkify(linkifyRegex);
  3843. //
  3844. //STEP 2 detect link objects
  3845. var xpathAll = '';
  3846. var hostIdx = cHosts;
  3847. while(hostIdx--)
  3848. {
  3849. xpathAll += bulkHosts[hostIdx].xpath + "|";
  3850. }
  3851. xpathAll = xpathAll.replace(/\]\|\/\/a\[/g, " or ");
  3852. xpathAll = xpathAll.replace(/\]\|/, ')]');
  3853. if (filterId != null) //insert id restriction in the xpath
  3854. {
  3855. xpathAll = xpathAll.replace(/\[/, "[@class='" + filterId + "' and (");
  3856. }
  3857. else
  3858. {
  3859. xpathAll = xpathAll.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  3860. }
  3861. var links = document.evaluate(xpathAll, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  3862. if (filterId == null)
  3863. {
  3864. cLinksTotal += links.snapshotLength;
  3865. }
  3866. //
  3867. //STEP 3 bind links with hostings
  3868. var linkIdx = links.snapshotLength;
  3869. var href = null;
  3870. if (linkIdx == 0) // no links found
  3871. return;
  3872. var name;
  3873. while (linkIdx--)
  3874. {
  3875. href = links.snapshotItem(linkIdx).href;
  3876. try // DO NOT REMOVE, filters crap that went through xpath detection
  3877. {
  3878. name = gimmeHostName(href);
  3879. if (href.match(bulkHostNames[name].linkRegexObject) != null)
  3880. bulkHostNames[name].links.push(href);
  3881. }
  3882. catch(e)
  3883. {
  3884.  
  3885. }
  3886. }
  3887. //
  3888. //STEP 4 process the links for each filehosting
  3889. var hostIdx = cHosts;
  3890. var host;
  3891. var m,n;
  3892. var arr;
  3893. while (hostIdx--)
  3894. {
  3895. host = bulkHosts[hostIdx];
  3896. arr = host.links;
  3897. if (arr.length == 0) //no links for this hosting, skip
  3898. {
  3899. continue;
  3900. }
  3901. //links match corrections
  3902. if (host.corrMatch != null)
  3903. {
  3904. var idx = arr.length;
  3905. while (idx--)
  3906. {
  3907. arr[idx] = arr[idx].match(host.corrMatch)[1];
  3908. }
  3909. }
  3910. //links replace corrections
  3911. if ((host.corrReplWhat != null) && (host.corrReplWith != null))
  3912. {
  3913. var idx = arr.length;
  3914. while (idx--)
  3915. {
  3916. arr[idx] = arr[idx].replace(host.corrReplWhat, host.corrReplWith);
  3917. }
  3918. }
  3919. m = arr.length;
  3920. n = host.blockSize;
  3921. if (m > n)
  3922. {
  3923. //insert block separators (RAND_STRING) into the array
  3924. for(var i = n; i < m; i += n + 1)
  3925. {
  3926. arr.splice(i, 0, RAND_STRING);
  3927. }
  3928. }
  3929.  
  3930. host.func.call({ links: arr.join(host.splitSeparator).split(RAND_STRING),
  3931. apiUrl: host.apiUrl,
  3932. postData: host.postData,
  3933. resLinkRegex: host.resLinkRegex,
  3934. resLiveRegex: host.resLiveRegex,
  3935. resDeadRegex: host.resDeadRegex,
  3936. resUnavaRegex: host.resUnavaRegex
  3937. });
  3938. //clean up
  3939. arr.length = 0;
  3940. }
  3941. //
  3942.  
  3943. function gimmeHostName(link)
  3944. {
  3945. return link.replace(/https?:\/\/.*?http(s)?:\/\//, "http$1://").match(/https?:\/\/(?:www\.|[\w\.])*?([\w-]+)\.(?:co\.uk|co\.nz|\w+)\//)[1];
  3946. }
  3947. }
  3948. function checkLinks(filterId)
  3949. {
  3950. startBulkCheck(filterId);
  3951. start(filterId);
  3952. }
  3953.  
  3954. /**
  3955. * Initialises progress box including event binding and CSS
  3956. */
  3957. function initProgressBox()
  3958. {
  3959. if ($("#warlc-progressbox").length > 0)
  3960. return;
  3961. //progressbox css change size and color of progress box
  3962. GM_addStyle("#warlc-progressbox {position:fixed; background:DimGray;" + Progress_box_background_color +
  3963. "; opacity:" + (Progress_box_opacity / 100) +
  3964. "; bottom:" + Progress_box_pos_bottom +
  3965. "px; right:" + Progress_box_pos_right +
  3966. "px; padding:5px; font-size:20px; font-weight:bold; cursor:default;}\
  3967. \
  3968. .warlc-progressbar {text-align:center; color: DimGray; height:2px; margin-bottom:2px;}\
  3969. \
  3970. .warlc-progressitem {}\
  3971. \
  3972. .alive {color:#00FF7F; " + Live_links_color +
  3973. "; background:transparent url(" + alive_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .dead {color:" + Dead_links_color +
  3974. "; background:transparent url(" + adead_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .unava {color: " + Temp_unavailable_links_color +
  3975. "; background:transparent url(" + unava_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;} .processing {color:Black; " + Container_links_color +
  3976. "; background:transparent url(" + processing_link_gif + ") no-repeat scroll 100% 50%;padding-right:15px;} .prem {color:" + Premium_links_color +
  3977. "; background:transparent url(" + prem_link_png + ") no-repeat scroll 100% 50%;padding-right:15px;}"
  3978. );
  3979. //
  3980. $('body').append(' <div id="warlc-progressbox">\
  3981. <div class="warlc-progressbar"></div>\
  3982. <span class="warlc-progressitem alive"></span> - \
  3983. <span class="warlc-progressitem dead"></span> - \
  3984. <span class="warlc-progressitem unava"></span> - \
  3985. <span class="warlc-progressitem prem"></span> - \
  3986. <span class="warlc-progressitem processing"></span>\
  3987. </div>');
  3988. $('#warlc-progressbox').hide().click(function(){
  3989. clearInterval(intervalId);
  3990. $(this).hide();
  3991. return false;
  3992. });
  3993. $(".warlc-progressbar").progressbar({complete: function(){
  3994. $(this).fadeOut();
  3995. clearInterval(intervalId); //stop refreshing the stats
  3996. }
  3997. })
  3998. .one('progressbarchange', function(){$('#warlc-progressbox').show();});
  3999. }
  4000. /**
  4001. * Updates progress data in progress box
  4002. */
  4003. function updateProgress()
  4004. {
  4005. $("#warlc-progressbox").attr('aria-valuenow', Math.round(((100 / cLinksTotal) * cLinksProcessed)));
  4006. if (cLinksTotal) // some links were detected on page
  4007. {
  4008. var percProgress = Math.round(((100 / cLinksTotal) * cLinksProcessed));
  4009. var $progressItems = $('#warlc-progressbox > .warlc-progressitem');
  4010. $(".warlc-progressbar").progressbar('option', 'value', percProgress);
  4011. if ((cLinksTotal - cLinksProcessed) == 0)
  4012. {
  4013. $progressItems.first().text(cLinksAlive)
  4014. .next().text(cLinksDead)
  4015. .next().text(cLinksUnava)
  4016. .next().text(cLinksprem)
  4017. .next().remove();
  4018. $('#warlc-progressbox').html($('#warlc-progressbox').html().substr(0,$('#warlc-progressbox').html().lastIndexOf(">")+1));
  4019. $('#warlc-progressbox div:first-child').remove();
  4020. }
  4021. else
  4022. {
  4023. $progressItems.first().text(cLinksAlive)
  4024. .next().text(cLinksDead)
  4025. .next().text(cLinksUnava)
  4026. .next().text(cLinksprem)
  4027. .next().text(cLinksTotal - cLinksProcessed);
  4028. }
  4029. }
  4030. }
  4031.  
  4032. function check_all_links()
  4033. {
  4034. add_WARLC_style();
  4035.  
  4036. if (Show_progress_stats)
  4037. {
  4038. initProgressBox();
  4039. intervalId = setInterval(function(){updateProgress();}, Progress_box_refresh_rate);
  4040. }
  4041.  
  4042. startBulkCheck(null);
  4043. start(null);
  4044.  
  4045. if (!containers_processed)
  4046. {
  4047. processContainers();
  4048. }
  4049. }
  4050.  
  4051. //Copies all found dead links to clipboard - right now for Scriptish only
  4052. function copy_dead_to_clipboard()
  4053. {
  4054. initClipBoardTools();
  4055.  
  4056. var deadlinksxpath = "//.[@class='adead_link']";
  4057.  
  4058. var foundlinks = document.evaluate(deadlinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4059. var foundlinkstext = '';
  4060.  
  4061. var foundlinkIdx = foundlinks.snapshotLength;
  4062.  
  4063. while(foundlinkIdx--)
  4064. {
  4065. if (foundlinks.snapshotItem(foundlinkIdx).href != ' x')
  4066. foundlinkstext += foundlinks.snapshotItem(foundlinkIdx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4067. }
  4068.  
  4069. GM_setClipboard(foundlinkstext);
  4070. }
  4071. //Copies all found live links to clipboard
  4072. function copy_live_to_clipboard()
  4073. {
  4074. initClipBoardTools();
  4075.  
  4076. var livelinksxpath = "//.[@class='alive_link']";
  4077.  
  4078. var foundlinks2 = document.evaluate(livelinksxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4079. var foundlinks2text = '';
  4080.  
  4081. var foundlink2Idx = foundlinks2.snapshotLength;
  4082.  
  4083. while(foundlink2Idx--)
  4084. {
  4085. if (foundlinks2.snapshotItem(foundlink2Idx).href != ' x')
  4086. foundlinks2text += foundlinks2.snapshotItem(foundlink2Idx).href.replace(/\[\/hide:\w+\]/,"") + '\n';
  4087. }
  4088.  
  4089. GM_setClipboard(foundlinks2text);
  4090. }
  4091.  
  4092. function toggle_autocheck()
  4093. {
  4094. var currentState = GM_getValue("Autocheck", false);
  4095. GM_setValue("Autocheck", !currentState);
  4096.  
  4097. if (currentState == true)
  4098. {
  4099. sendMessage('Autocheck disabled', 'red');
  4100. }
  4101. else
  4102. {
  4103. sendMessage('Autocheck enabled', 'SpringGreen');
  4104. }
  4105. }
  4106. function toggle_Enable_Anonymizer()
  4107. {
  4108. var currentState = GM_getValue("Enable_Anonymizer", false);
  4109. GM_setValue("Enable_Anonymizer", !currentState);
  4110.  
  4111. if (currentState == true)
  4112. {
  4113. GM_setValue("Ref_anonymize_service", "");
  4114. sendMessage('Anonymizer Disabled', 'red');
  4115. }
  4116. else
  4117. {
  4118. GM_setValue("Ref_anonymize_service", "http://hiderefer.com/?");
  4119. sendMessage('Anonymizer Enabled', 'SpringGreen');
  4120. }
  4121. }
  4122.  
  4123. function KeyDownHandler(event)
  4124. {
  4125. var kcode = (event.keyCode) ? event.keyCode : event.which;
  4126. if (event.ctrlKey && event.altKey)
  4127. {
  4128. switch(kcode)
  4129. {
  4130. case 65 : check_all_links(); break;
  4131. case 67 : configuration(); break;
  4132. case 68 : copy_dead_to_clipboard(); break;
  4133. case 76 : copy_live_to_clipboard(); break;
  4134. case 87 : toggle_autocheck(); break;
  4135. case 90 : toggle_Enable_Anonymizer(); break;
  4136. }
  4137. }
  4138. }
  4139.  
  4140. //
  4141. //
  4142. // SCRIPT EXECUTION START POINT
  4143. //
  4144. //
  4145. // Safari specific GM_getResourceText override
  4146. if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1)
  4147. {
  4148. GM_getResourceText = function(res) {
  4149. var $cssText = GM_getValue("jquery_css", "");
  4150. if ($cssText == "")
  4151. {
  4152. GM_xmlhttpRequest(
  4153. {
  4154. method: 'GET',
  4155. url: 'http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css',
  4156. onload: function (result)
  4157. {
  4158. GM_setValue("jquery_css", result.responseText);
  4159. window.location.reload();
  4160. }
  4161. });
  4162. }
  4163. else
  4164. {
  4165. return $cssText;
  4166. }
  4167. }
  4168. }
  4169. var jQueryUICSS = GM_getResourceText("jQueryUICSS");
  4170. GM_addStyle(jQueryUICSS);
  4171. //init the stuff
  4172. setVariables();
  4173. initBulkCheck();
  4174. //init info boxes
  4175. messageBox.style.position = 'fixed';
  4176. messageBox.style.top = '20px';
  4177. messageBox.style.left = '10px';
  4178. messageBox.style.opacity = '0.85';
  4179. messageBox.style.background = 'DimGray';
  4180. messageBox.style.fontSize = '36px';
  4181. document.body.appendChild(messageBox);
  4182.  
  4183. //register GM menu commands & keyboard shortcut event handler
  4184. if (Keyboard_functions)
  4185. {
  4186. $(document).keydown(KeyDownHandler);
  4187. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration (" + first_key_keycodename + "+" + second_key_keycodename + "+" + String.fromCharCode(CONFIGURATION_KEYCODE) + ")", configuration);
  4188. 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);
  4189. }
  4190. else
  4191. {
  4192. GM_registerMenuCommand("[W.A.R. Links Checker] Configuration", configuration);
  4193. GM_registerMenuCommand("[W.A.R. Links Checker] Check The Links In This Page", check_all_links);
  4194. }
  4195.  
  4196. //start linkchecking
  4197. if (Autocheck)
  4198. {
  4199. $(document).ready(check_all_links);
  4200. }
  4201.  
  4202. //
  4203. //
  4204. // SCRIPT EXECUTION END POINT
  4205. //
  4206. //
  4207.  
  4208. //shows configuration box
  4209. function configuration()
  4210. {
  4211.  
  4212. //prevent multiple creating of config window
  4213. if ($("#hideshow").length)
  4214. {
  4215. $("#hideshow").show();
  4216. return;
  4217. }
  4218.  
  4219. var configcss = '\
  4220. .popup_block .popup fieldset{\
  4221. padding: 1%;\
  4222. border-style: solid;\
  4223. border-width: 1px;\
  4224. border-color: gray;\
  4225. margin-bottom: 1px;\
  4226. }\
  4227. #h3hideshowtitle{\
  4228. font-size: 2em;\
  4229. }\
  4230. #h3hideshow{\
  4231. font-size: 1.5em;\
  4232. }\
  4233. #imghideshow {\
  4234. border: none;\
  4235. }\
  4236. #plusimage{\
  4237. display:inline;\
  4238. }\
  4239. #hideshow {\
  4240. position: fixed;\
  4241. width: 100%;\
  4242. height: 100%;\
  4243. top: 0;\
  4244. left: 0;\
  4245. font-size:12px;\
  4246. z-index:2147483645;\
  4247. text-align:left;\
  4248. }\
  4249. #fade {\
  4250. background: #000;\
  4251. position: fixed;\
  4252. width: 100%;\
  4253. height: 100%;\
  4254. opacity: .80;\
  4255. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";\
  4256. left: 0;\
  4257. z-index: 10;\
  4258. }\
  4259. .popup_block {\
  4260. font-family:verdana;\
  4261. color:black;\
  4262. background: #ddd;\
  4263. padding: 10px 20px;\
  4264. border: 2px solid DarkOrange;\
  4265. float: left;\
  4266. width: 700px;\
  4267. position: absolute;\
  4268. top: 7%;\
  4269. left: 50%;\
  4270. bottom: 7%;\
  4271. margin: 0 0 0 -350px;\
  4272. -moz-border-radius:10px;\
  4273. z-index: 100;\
  4274. \
  4275. }\
  4276. .popup_block .popup {\
  4277. float: left;\
  4278. width: 100%;\
  4279. background: #fff;\
  4280. margin: 10px 0;\
  4281. padding: 0px 0 0px;\
  4282. border-left: 1px solid #bbb;\
  4283. border-top: 1px solid #bbb;\
  4284. border-right: 1px solid #bbb;\
  4285. }\
  4286. #h3hideshow{\
  4287. margin: 1px 0 0px;\
  4288. padding: 1px 10px;\
  4289. border-bottom: 1px solid #bbb;\
  4290. font-size: 1.5em;\
  4291. font-weight: normal;\
  4292. cursor:pointer;\
  4293. background:#DDDDDD none repeat scroll 0 0;\
  4294. }\
  4295. #h3hideshow:hover{\
  4296. background:#C0BEBE none repeat scroll 0 0;\
  4297. }\
  4298. #h3hideshowtitle{\
  4299. margin: 2px 0 0px;\
  4300. padding: 7px 10px;\
  4301. border-bottom: 1px solid #bbb;\
  4302. font-size: 1.5em;\
  4303. font-weight: normal;\
  4304. }\
  4305. .popup_block .popup a {\
  4306. color:DarkSkyBlue;\
  4307. text-decoration:none;\
  4308. }\
  4309. .popup p {\
  4310. padding: 1px 10px;\
  4311. margin: 0px 0;\
  4312. -x-system-font:none;\
  4313. font-family:verdana,geneva,lucida,"lucida grande",arial,helvetica,sans-serif;\
  4314. font-size:10pt;\
  4315. font-size-adjust:none;\
  4316. font-stretch:normal;\
  4317. font-style:normal;\
  4318. font-variant:normal;\
  4319. font-weight:normal;\
  4320. line-height:normal;\
  4321. }\
  4322. #sites {\
  4323. padding: 1px 10px;\
  4324. margin: 0px 0;display:inline-block;width:16em;\
  4325. }\
  4326. #dev_ver {\
  4327. color: #00FF00;\
  4328. background: Black;\
  4329. text-align: right;\
  4330. }\
  4331. #sites_suspended {\
  4332. padding: 1px 10px;\
  4333. margin: 0px 0;display:inline-block;width:16em;\
  4334. text-decoration: line-through;\
  4335. }\
  4336. .popup img.cntrl {\
  4337. position: absolute;\
  4338. right: -15px;\
  4339. top: -15px;\
  4340. }\
  4341. #bulk {\
  4342. font-size:8pt;\
  4343. color:orange;\
  4344. padding: 1px 10px;\
  4345. margin: 0px 0;\
  4346. display:inline-block;\
  4347. width:100px;\
  4348. }\
  4349. #note {\
  4350. font-size:7pt;\
  4351. color:gray;\
  4352. padding: 1px 10px;\
  4353. margin: 0px 0;display:inline-block;\
  4354. min-width:100px;\
  4355. }\
  4356. #rednote {\
  4357. font-size:7pt;\
  4358. color:red;\
  4359. padding: 1px 10px;\
  4360. margin: 0px 0;display:inline-block;\
  4361. }\
  4362. #configinfo {\
  4363. font-size:8pt;\
  4364. color:gray;\
  4365. padding: 1px 10px;\
  4366. margin: 0px 0;display:inline-block;width:60em;\
  4367. }\
  4368. #refAnonymizer, #inputColorLive, #inputColorprem, #hostSearchBox2, #hostSearchBox, #inputColorDead, #inputColorTemp, #inputColorCont, #selectAllButton, #selectNoneButton, #invertButton, #selectAllButton2, #selectNoneButton2, #invertButton2 {\
  4369. color:black;\
  4370. border-style: solid;\
  4371. border-width: 1px;\
  4372. border-color: gray;\
  4373. }\
  4374. #h3hideshowcontent {\
  4375. min-height:220px;\
  4376. max-height:220px;\
  4377. overflow:auto;\
  4378. display: none;\
  4379. padding: 10px 10px;\
  4380. }\
  4381. #specinfo{\
  4382. font-size:14px;\
  4383. }\
  4384. .warlc-ui-tab {\
  4385. height:300px;\
  4386. overflow:auto;\
  4387. }\
  4388. #warlcsitelist2, #warlcsitelist1 {\
  4389. height:220px;\
  4390. border-top: 1px solid #ddd;\
  4391. padding-top: 5px;\
  4392. overflow:auto;\
  4393. }\
  4394. input:hover+label {\
  4395. background:#F1F77C;\
  4396. font-size:110%;\
  4397. }\
  4398. ';
  4399.  
  4400. GM_addStyle(configcss);
  4401.  
  4402. var customRulesRefHTML =
  4403. '\
  4404. <br>\
  4405. A custom rule consists of <b>commands</b>. A command must be on its own line and in this form:<br>\
  4406. <b>@keyword</b> <i>parameter</i>\
  4407. <br><br>\
  4408. 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. \
  4409. <br><br>\
  4410. 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.\
  4411. 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.\
  4412. 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.\
  4413. 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,\
  4414. but all commands until the next valid @customrule are ignored.<br><br>\
  4415. Available forms and types:\
  4416. <ul>\
  4417. <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.\
  4418. <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.\
  4419. <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.\
  4420. <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.\
  4421. </ul>\
  4422. Other available commands:<br>\
  4423. (Note: There can be more than 1 (up to 10) of these commands per rule. In that case, any of them will work.)\
  4424. <ul>\
  4425. <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.\
  4426. It can also specify multiple (up to 10) Top Level Domains (.com, .net etc.)<br>\
  4427. <ul>examples:<br>\
  4428. <li>good: <i>filehost.com/download/</i><br>\
  4429. <li>good: <i>download.filehost.net/?d=</i><br>\
  4430. <li>good: <i>filehost. com net co.uk /</i> - multiple TLDs (note the spaces before, between and after TLDs)<br>\
  4431. <li>ok: <i>filehost.com/</i> - works, but will also find links like filehost.com/login etc. Sometimes it\'s unavoidable though.<br>\
  4432. <li>bad: <i>d8523.filehost.com/</i> - d8523 probably is not constant<br>\
  4433. <li>bad: <i>filehost.com/3bfiq5d1</i> - 3bfiq5d1 probably is not constant<br>\
  4434. <li>bad: <i>filehost.com</i> - no slash<br>\
  4435. </ul>\
  4436. \
  4437. <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.\
  4438. 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 \
  4439. &lt;div&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt; even if there are new lines, tabulators etc.\
  4440. <li><b>@deadmatch</b> <i>pattern</i> - ignored for OBSOLETE, required for others. (For HEADERS some servers return 404 Error \
  4441. 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.)\
  4442. Two spaces again match any whitespace.\
  4443. <li><b>@unavamatch</b> <i>pattern</i> - optional, ignored for OBSOLETE and HEADERS. If found, the link is deemed temporarily unavailable.\
  4444. Two spaces again match any whitespace.\
  4445. <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. \
  4446. <li><b>@deadlink</b> <i>url</i> - optional. Example dead link.\
  4447. </ul>\
  4448. \
  4449. ';
  4450.  
  4451. //close image and css taken from = http://www.sohtanaka.com/web-design/examples/css-popup icon_close.png;
  4452. var configurationinnerHTML =
  4453. '<div id="fade"></div>\
  4454. <div class="popup_block">\
  4455. <div class="popup">\
  4456. <a href="#"><img id="imghideshow" title="Close" class="cntrl" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAfCAYAAAD0ma06AAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAY1SURBVHjapFZbbFRVFN0zd6Yz08dMoUNf9EGxUItJK62I4AOJEYiQoqE+0OgHCiqG+PgQozH6ofyIJiYEMRqNJpggHySlrRM+hCAtajAUaGgEi9BBSilMO0PnfWeOa597bjt9AEVvsubOPWefs/br7H0sQgj6P4/FYrk9+WkSuoAHgCrgLvV9DLgMdID02rQZmfAmaAJaxS2edDr9s67rL7EB/9XCUuALoEl+pZJEvTAo8A9s6iVKxojKYWheAWxuIMr2GGKp1KHh4eF3vF4vW59me6ZD2Ajsle6LXify7SI68iNROIgtIKtpBvQEB5DI7iC6Zw3Rmi1EM0vlBsFg8OX8/PxvWQdFKm5E2KhiQ9R9iOjL17E6QFRUhAGQpFNjklYrhhT6YbndTtT8LtGjG+T0lStXNhcVFTGpnkE8jpAT4hdgNvm+Ivr+AyIHtM+Fu3Ss0RUZO8pqqos/NiDLblgcQO48/CzRpk/l9KlTp56oq6s7gL8JkzST0AespN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IRcAN1z6Awuy7zs7O8WxjRtFvDDH2JhJG4ClCo1AtUGq59tEz9q1UlGTrK2t7QL2/ATYKJsDUTUwQzZgVAKrSrI89K+dxcXFzbiJUR/K3cmTJ2nWwYNUcfQoeS+cJcdwQGZeIjuHAmV30KWGBjq/YgUtWLiQqquryWazUXt7u3/16tX7IIYbF50D+vjWwUXGJLQYlxZZDdx+v//zsrKyZtnX0ONwcAnWUygUQhtMSELeGK2HCgoKqKSkhNDZ5fj+/fvPNTU1teDvBQW/IuMWEx29g6rkYSv5zlfu8Xgae3p6fGKaD1z4N0i/xtqPALR/WgssAuawK1XNto7eaZSVVhVPl6ruM9Baiuvr6+fBzRUul2sWxPKQWA5Yqg0NDekIwfXe3t4h3EfZ10PAVWXRIMBj16VlRvFLj7smTiB1qArPxPnKcrdqpE5VG0lVEC6EYdUIgsp9ITXGc0mzaU26CGeQampTp7I4W8GlXK/R2MUxoTaOZMAk0jNv4VNe9RXpRGK7IrIrD2QS6mrzpCKfSDRK8q8AAwCF/L1ktjcKFAAAAABJRU5ErkJggg%3D%3D"/></a>\
  4457. <div id="h3hideshowtitle"><img style="height:1.2em;" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC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D2alN1B7AdOAcMeT29HfiZJ5oZ3sHrgAeBvcCANzBsHu7Ohe2/AwDnNnxcIIMIUgAAAABJRU5ErkJggg=="></img>&nbsp;W.A.R. Links Checker Premium Configuration Page</div>\
  4458. <div id="warlc-conf-tabs">\
  4459. <ul>\
  4460. <li><a href="#tabs-1">Filehostings</a></li>\
  4461. <li><a href="#tabs-2">Containers</a></li>\
  4462. <li><a href="#tabs-5">Custom rules</a></li>\
  4463. <li><a href="#tabs-3">Settings</a></li>\
  4464. <li><a href="#tabs-4">About</a></li>\
  4465. </ul>\
  4466. <div id="tabs-1" class="warlc-ui-tab">\
  4467. <div class="warlc-ui-buttonset">\
  4468. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4469. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4470. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4471. </div><br>\
  4472. <div>Search: <input type="textbox" id="hostSearchBox" value=""></div><br>\
  4473. <div id="warlcsitelist1"><span>Empty</span></div>\
  4474. </div>\
  4475. <div id="tabs-2" class="warlc-ui-tab">\
  4476. <div class="warlc-ui-buttonset">\
  4477. <input type="button" class="warlc-ui-select-all" value="Select All">\
  4478. <input type="button" class="warlc-ui-select-none" value="Select None">\
  4479. <input type="button" class="warlc-ui-select-invert" value="Invert">\
  4480. </div><br>\
  4481. <div>Search: <input type="textbox" id="hostSearchBox2" value=""></div><br>\
  4482. <div id="warlcsitelist2"><span>Empty</span></div>\
  4483. </div>\
  4484. <div id="tabs-5" class="warlc-ui-tab">\
  4485. <div class="warlcsettings">\
  4486. <fieldset><input type="checkbox" id="Custom_rules"> Enable custom rules <div id="bulk">EXPERIMENTAL</div></fieldset>\
  4487. <br>\
  4488. <div>Edit custom rules: \
  4489. <a href="#" id="showCustomRulesReference">(<b>Click here to show/hide the reference</b>)</a>\
  4490. <div id="customRulesReference" style="display:none;">'
  4491. + customRulesRefHTML + '\
  4492. </div>\
  4493. <textarea style="width:100%;height:200px;" id="Custom_rules_text"></textarea>\
  4494. </div>\
  4495. </div>\
  4496. </div>\
  4497. <div id="tabs-3" class="warlc-ui-tab">\
  4498. <div class="warlcsettings">\
  4499. <fieldset>\
  4500. <p><input type="checkbox" id="Keyboard_functions"> Enable keyboard shortcuts</p>\
  4501. <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>\
  4502. </fieldset>\
  4503. <fieldset>\
  4504. <p><input type="checkbox" id="Color_DL_links"> Color DL links</p>\
  4505. <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>\
  4506. <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>\
  4507. <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>\
  4508. <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>\
  4509. <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>\
  4510. <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>\
  4511. <p><input type="checkbox" id="Show_line_through_in_dead_links"> Show line through in dead links</p>\
  4512. <p><input type="checkbox" id="Show_black_background_in_DL_links"> Show black background in DL links</p>\
  4513. <p><input type="checkbox" id="Do_not_linkify_DL_links"> Do NOT linkify DL links</p>\
  4514. <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>\
  4515. <p><input type="checkbox" id="Display_full_links_in_link_containers"> Display full links in link containers</p><br>\
  4516. <fieldset>\
  4517. <p><input type="radio" name="warlciconset" value="0"> No icons</p>\
  4518. <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>\
  4519. <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>\
  4520. <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>\
  4521. </fieldset>\
  4522. </fieldset>\
  4523. <fieldset>\
  4524. <div id="sites"><input type="checkbox" id="Autocheck"> Autocheck</div><br><div id="configinfo">Script starts check automatically.</div><br>\
  4525. </fieldset>\
  4526. <fieldset>\
  4527. <div id="sites"><input type="checkbox" id="Show_progress_stats"> Show progress stats</div><br>\
  4528. </fieldset>\
  4529. <fieldset>\
  4530. <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>\
  4531. </fieldset>\
  4532. <fieldset>\
  4533. <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>\
  4534. </fieldset>\
  4535. </div>\
  4536. </div>\
  4537. <div id="tabs-4" class="warlc-ui-tab">\
  4538. <legend><b>W.A.R. Links Checker Premium v' + War_version + '</legend></b>\
  4539. <br />\
  4540. <p><b>Author:</b> <a href="http://usa.x10host.com/mybb/index.php">mental</a></p>\
  4541. <p><b>Script Homepage:</b> <a href="http://usa.x10host.com/mybb/">User Scripts Archive</a></p>\
  4542. <br />\
  4543. <p><b>Currently supported:</b><br>\
  4544. Filehostings: ' + allHostNames.length + '<br />\
  4545. Containers: ' + allContainerNames.length + '<br />\
  4546. Obsolete sites: ' + allObsoleteNames.length + '<br /></p>\
  4547. <br />\
  4548. <p><b>Based on:</b><br>\
  4549. <a href="http://userscripts-mirror.org/scripts/show/125631.html">W.A.R. Links Checker - Dev</a></p>\
  4550. <br />\
  4551. <p><b>Uses:</b></p>\
  4552. <p>adam_3\'s <a href="http://userscripts-mirror.org/scripts/show/2254">Linkify ting</a> (modified)</p>\
  4553. <p><a href="http://jquery.com/">jQuery</a> JavaScript Library</p>\
  4554. <br />\
  4555. <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>\
  4556. </div>\
  4557. </div>\
  4558. </div>\
  4559. </div>';
  4560. $('body').append('<div id="hideshow">' + configurationinnerHTML + '</div>');
  4561. $("#warlc-conf-tabs").tabs({ fx: { opacity: 'toggle', duration: 'fast' } });
  4562. $("#imghideshow").click(function(event){$("#hideshow").hide(); event.preventDefault();});
  4563. var elmHostList = document.getElementById("warlcsitelist1");
  4564. var elmContainerList = document.getElementById("warlcsitelist2");
  4565. buildSettings();
  4566. buildSitelist("", allHostNames, elmHostList);
  4567. buildSitelist("", allContainerNames, elmContainerList);
  4568. if (DEBUG_MODE)
  4569. {
  4570. //log all sites availability status
  4571. diagSites();
  4572. }
  4573. //handler for checkbox state change
  4574. function changeConfiguration(e)
  4575. {
  4576. var element = e.target;
  4577.  
  4578. if (element.type == 'checkbox')
  4579. {
  4580. if (element.checked == 1)
  4581. {
  4582. GM_setValue(element.id, true);
  4583. }
  4584. else
  4585. {
  4586. GM_setValue(element.id, false);
  4587. }
  4588.  
  4589. }
  4590. setVariables();
  4591. }
  4592.  
  4593. //Selects all filehosting checkboxes
  4594. function selectAll()
  4595. {
  4596. $(":checkbox:visible:not(:checked)").prop("checked",true)
  4597. .each(function(index, element){GM_setValue(this.id, true)});
  4598. }
  4599.  
  4600. //Deselects all filehosting checkboxes
  4601. function selectNone()
  4602. {
  4603. $(":checkbox:visible:checked").prop("checked",false)
  4604. .each(function(index, element){GM_setValue(this.id, false)});
  4605. }
  4606.  
  4607. //Inverts filehosting checkboxes selection
  4608. function selectInvert()
  4609. {
  4610. var $checked = $(":checkbox:visible:checked");
  4611. var $unchecked = $(":checkbox:visible:not(:checked)");
  4612. $unchecked.prop("checked",true)
  4613. .each(function(index, element){GM_setValue(this.id, true)});
  4614. $checked.prop("checked",false)
  4615. .each(function(index, element){GM_setValue(this.id, false)});
  4616. }
  4617. //toggles anonymizer on off
  4618. function Enable_Anonymizer()
  4619. {
  4620. var $checked = $(":checkbox:visible:checked");
  4621. var $unchecked = $(":checkbox:visible:not(:checked)");
  4622. $unchecked.prop("checked",true)
  4623. .each(function(index, element){GM_setValue(this.id, true)});
  4624. $checked.prop("checked",false)
  4625. .each(function(index, element){GM_setValue(this.id, false)});
  4626. }
  4627.  
  4628. function changeRefAnonymizer(){
  4629. GM_setValue("Ref_anonymize_service", $("#refAnonymizer").attr("value"));
  4630. }
  4631.  
  4632. //Sets live links color
  4633. function changeColorLive()
  4634. {
  4635. var inColorLive = document.getElementById("inputColorLive");
  4636. inColorLive.style.background = inColorLive.value;
  4637. GM_setValue("Live_links_color", inColorLive.value);
  4638. }
  4639.  
  4640. //Sets dead links color
  4641. function changeColorDead()
  4642. {
  4643. var inColorDead = document.getElementById("inputColorDead");
  4644. inColorDead.style.background = inColorDead.value;
  4645. GM_setValue("Dead_links_color", inColorDead.value);
  4646. }
  4647.  
  4648. //Sets temp. unavailable links color
  4649. function changeColorTemp()
  4650. {
  4651. var inColorTemp = document.getElementById("inputColorTemp");
  4652. inColorTemp.style.background = inColorTemp.value;
  4653. GM_setValue("Temp_unavailable_links_color", inColorTemp.value);
  4654. }
  4655.  
  4656. //Sets temp. unavailable links color
  4657. function changeColorCont()
  4658. {
  4659. var inColorCont = document.getElementById("inputColorCont");
  4660. inColorCont.style.background = inColorCont.value;
  4661. GM_setValue("Container_links_color", inColorCont.value);
  4662. }
  4663. //Sets premium. links color
  4664. function changeColorprem()
  4665. {
  4666. var inColorprem = document.getElementById("inputColorprem");
  4667. inColorprem.style.background = inColorprem.value;
  4668. GM_setValue("Premium_links_color", inColorprem.value);
  4669. }
  4670.  
  4671. //Diagnose sites for availability
  4672. function diagSites()
  4673. {
  4674. var boxes = document.getElementById("warlcsitelist1").getElementsByTagName("input");
  4675.  
  4676. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4677. {
  4678. if (boxes[i].type == "checkbox")
  4679. {
  4680. checkAvailability(boxes[i]);
  4681. }
  4682. }
  4683.  
  4684. boxes = document.getElementById("warlcsitelist2").getElementsByTagName("input");
  4685.  
  4686. for (var i = 0, n = boxes.length - 1; i < n; i++)
  4687. {
  4688. if (boxes[i].type == "checkbox")
  4689. {
  4690. checkAvailability(boxes[i]);
  4691. }
  4692. }
  4693.  
  4694. function checkAvailability(cbElm)
  4695. {
  4696. var cb = cbElm;
  4697. GM_xmlhttpRequest(
  4698. {
  4699. method: 'HEAD',
  4700. url: 'http://' + cb.nextSibling.textContent.replace(' ', ''),
  4701. headers: {
  4702. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  4703. 'Accept': 'text/xml',
  4704. 'Referer': ""
  4705. },
  4706. onload: function (result)
  4707. {
  4708. if (result.status != 200)
  4709. {
  4710. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4711. }
  4712. },
  4713. onerror: function (result)
  4714. {
  4715. if (result.status != 200)
  4716. {
  4717. GM_log(cb.nextSibling.textContent + ' --- status: [' + result.status + '] ' + result.statusText + ', final url: ' + result.finalUrl);
  4718. }
  4719. }
  4720. });
  4721. }
  4722. }
  4723. function buildSettings()
  4724. {
  4725. $(".warlcsettings :checkbox").each(function(){
  4726. $(this).prop("checked", GM_getValue($(this).attr("id")))
  4727. .click(function(e){
  4728. GM_setValue($(this).attr("id"), $(this).prop("checked"));
  4729. setVariables();
  4730. });
  4731. })
  4732. }
  4733. //Dynamic build of host list
  4734. //param search [string] searches for hostnames matching search substring
  4735. //param siteNames [array] array of site names
  4736. //param targetNode [DOM Node] where the list should be built
  4737. // first child node is replaced
  4738. function buildSitelist(search, siteNames, targetNode)
  4739. {
  4740. var searchRegex = new RegExp("\\|?([\\w\\.-]*" + search.replace(/\./g,"\\.").replace(/-/g, "\\-") + "[\\w\\.-]*)\\|?", "i");
  4741. var $targetNode = $(targetNode).empty();
  4742. var searchedSite = "";
  4743. $.each(siteNames, function(i, site){
  4744. if (searchedSite = site.match(searchRegex))
  4745. {
  4746. var baseSite = site.replace(/\|.+/, ""); //filehosting main domain
  4747. //ensuring backward compatibility with the rest of code, to be refactored later
  4748. var oldRSLCvalue = "Check_" + baseSite.replace(/\|.+/, "").replace(/\./g,"_dot_").replace(/-/g, "_dash_") + "_links";
  4749. //
  4750. $targetNode.append('<input type="checkbox" id="' + oldRSLCvalue +'" />\
  4751. <label for="' + oldRSLCvalue + '">' + searchedSite[1] + '</label>' +
  4752. ((searchedSite[1] != baseSite) ? ('<div id="note"> ( ~ ' + baseSite + ' )</div>') : (""))
  4753. );
  4754. $("#" + oldRSLCvalue).prop("checked", GM_getValue(oldRSLCvalue, false))
  4755. .change(changeConfiguration);
  4756. $targetNode.append('<br />');
  4757. }
  4758. });
  4759. $targetNode.append("<hr>");
  4760. //obsolete hosts checkbox
  4761. $targetNode.append('<input type="checkbox" id="Obsolete_file_hosts" /><label for="Obsolete_file_hosts">Obsolete file hosts</label>');
  4762. $("#Obsolete_file_hosts").prop("checked", GM_getValue("Obsolete_file_hosts", false))
  4763. .change(changeConfiguration);
  4764. $targetNode.append('<br />');
  4765. var foundName = "";
  4766. $.each(allObsoleteNames, function(i, site){
  4767. if (foundName = allObsoleteNames[i].match(searchRegex))
  4768. {
  4769. $targetNode.append('<div id="note">' + foundName[1] + '</div>');
  4770. }
  4771. })
  4772. }
  4773. var hostSearchBox = document.getElementById("hostSearchBox");
  4774. hostSearchBox.addEventListener('keyup', function(){buildSitelist(hostSearchBox.value, allHostNames, elmHostList);}, false);
  4775. var hostSearchBox2 = document.getElementById("hostSearchBox2");
  4776. hostSearchBox2.addEventListener('keyup', function(){buildSitelist(hostSearchBox2.value, allContainerNames, elmContainerList);}, false);
  4777. $(".warlc-ui-select-all").click(selectAll).button();
  4778. $(".warlc-ui-select-none").click(selectNone).button();
  4779. $(".warlc-ui-select-invert").click(selectInvert).button();
  4780. $(".warlc-ui-buttonset").buttonset();
  4781. var inColorLive = document.getElementById("inputColorLive");
  4782. inColorLive.addEventListener('keyup', changeColorLive, false);
  4783.  
  4784. var inColorDead = document.getElementById("inputColorDead");
  4785. inColorDead.addEventListener('keyup', changeColorDead, false);
  4786.  
  4787. var inColorTemp = document.getElementById("inputColorTemp");
  4788. inColorTemp.addEventListener('keyup', changeColorTemp, false);
  4789.  
  4790. var inColorCont = document.getElementById("inputColorCont");
  4791. inColorCont.addEventListener('keyup', changeColorCont, false);
  4792. var inColorprem = document.getElementById("inputColorprem");
  4793. inColorprem.addEventListener('keyup', changeColorprem, false);
  4794. $("#refAnonymizer").change(changeRefAnonymizer);
  4795. //buttons and edit boxes init end
  4796.  
  4797. //icon sets radio buttons
  4798. var radioButtons = document.getElementsByName("warlciconset");
  4799. radioButtons[Icon_set].checked = "checked";
  4800.  
  4801. radioButtons[0].addEventListener("change", updateIconSet);
  4802. radioButtons[1].addEventListener("change", updateIconSet);
  4803. radioButtons[2].addEventListener("change", updateIconSet);
  4804. radioButtons[3].addEventListener("change", updateIconSet);
  4805. function updateIconSet()
  4806. {
  4807. GM_setValue("Icon_set", this.value * 1);
  4808. }
  4809. //
  4810. $('#showCustomRulesReference').click(function(e){
  4811. e.preventDefault();
  4812. $('#customRulesReference').toggle();
  4813. });
  4814. $('#Custom_rules_text')
  4815. .val(Custom_rules_text)
  4816. .change(saveCustomRules);
  4817. function saveCustomRules(e)
  4818. {
  4819. var cr = parseCustomRules(this.value);
  4820. if (cr.info.length)
  4821. 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, ' '));
  4822. GM_setValue('Custom_rules_text', this.value);
  4823. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  4824. }
  4825. }
  4826.  
  4827. //begin standard link checking algorithm
  4828. function start(filterId)
  4829. {
  4830. var doNotLinkify = Do_not_linkify_DL_links;
  4831.  
  4832. // USER SELECTED FILE HOSTS INITIALIZATION START
  4833. var http_file_hosts = new Array(); //standard hostings
  4834. var http_file_hosts_coded = new Array(); //hostings which has to be decoded to obtain real checkable link
  4835. var http_file_hosts_obsolete = new Array(); //dead hostings
  4836. var http_file_hosts_headers_only = new Array(); //hostings with direct download, must be handled via headers only
  4837.  
  4838. initFileHosts();
  4839. initFileHostsHeadersOnly();
  4840. initFileHostsCustom(); //CustomRules
  4841. // USER SELECTED FILE HOSTS INITIALIZATION END
  4842.  
  4843. // LINKIFICATION START
  4844. var totalxpath = '';
  4845. var totalxpathcoded = '';
  4846. var totalxpathobsolete = '';
  4847. var totalxpathheadersonly = '';
  4848. var totalourls = '';
  4849.  
  4850. var filehostLen = http_file_hosts.length;
  4851. var filehostCodedLen = http_file_hosts_coded.length;
  4852. var filehostObsoleteLen = http_file_hosts_obsolete.length;
  4853. var filehostHeadersOnlyLen = http_file_hosts_headers_only.length;
  4854.  
  4855. var filehostIdx = filehostLen;
  4856. var filehostCodedIdx = filehostCodedLen;
  4857. var filehostObsoleteIdx = filehostObsoleteLen;
  4858. var filehostHeadersOnlyIdx = filehostHeadersOnlyLen;
  4859.  
  4860. if ((filehostIdx == 0) && (filehostCodedIdx == 0) && (filehostHeadersOnlyIdx == 0) && (filehostObsoleteIdx == 0))
  4861. return;
  4862.  
  4863. while (filehostIdx--)
  4864. {
  4865. totalourls += http_file_hosts[filehostIdx][0] + '|';
  4866. totalxpath += http_file_hosts[filehostIdx][4] + '|';
  4867. }
  4868.  
  4869. while (filehostCodedIdx--)
  4870. {
  4871. totalourls += http_file_hosts_coded[filehostCodedIdx][0] + '|';
  4872. totalxpathcoded += http_file_hosts_coded[filehostCodedIdx][3] + '|';
  4873. }
  4874.  
  4875. while (filehostObsoleteIdx--)
  4876. {
  4877. totalourls += http_file_hosts_obsolete[filehostObsoleteIdx][0] + '|';
  4878. totalxpathobsolete += http_file_hosts_obsolete[filehostObsoleteIdx][1] + '|';
  4879. }
  4880.  
  4881. while (filehostHeadersOnlyIdx--)
  4882. {
  4883. totalourls += http_file_hosts_headers_only[filehostHeadersOnlyIdx][0] + '|';
  4884. totalxpathheadersonly += http_file_hosts_headers_only[filehostHeadersOnlyIdx][3] + '|';
  4885. }
  4886.  
  4887. totalourls = totalourls.replace(/\|$/g, "");
  4888. //TODO: further refactoring needed
  4889. totalxpath = totalxpath.replace(/\]\|\/\/a\[/g, " or ");
  4890. totalxpath = totalxpath.replace(/\]\|/, ')]');
  4891. totalxpathcoded = totalxpathcoded.replace(/\]\|\/\/a\[/g, " or ");
  4892. totalxpathcoded = totalxpathcoded.replace(/\]\|/, ')]');
  4893. totalxpathobsolete = totalxpathobsolete.replace(/\]\|\/\/a\[/g, " or ");
  4894. totalxpathobsolete = totalxpathobsolete.replace(/\]\|/, ')]');
  4895. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|\/\/a\[/g, " or ");
  4896. totalxpathheadersonly = totalxpathheadersonly.replace(/\]\|/, ')]');
  4897. if (filterId != null) //insert id restriction in the xpath
  4898. {
  4899. totalxpath = totalxpath.replace(/\[/g, "[@class='" + filterId + "' and (");
  4900. totalxpathcoded = totalxpathcoded.replace(/\[/g, "[@class='" + filterId + "' and (");
  4901. totalxpathobsolete = totalxpathobsolete.replace(/\[/g, "[@class='" + filterId + "' and (");
  4902. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/g, "[@class='" + filterId + "' and (");
  4903. }
  4904. else
  4905. {
  4906. totalxpath = totalxpath.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4907. totalxpathcoded = totalxpathcoded.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4908. totalxpathobsolete = totalxpathobsolete.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4909. totalxpathheadersonly = totalxpathheadersonly.replace(/\[/, "[((not(@class)) or (@class!='alive_link' and @class!='adead_link' and @class!='unava_link')) and (");
  4910. }
  4911. linkify(totalourls);
  4912. //LINKIFICATION END
  4913. //ENCRYPTED LINKS PROCESSING START
  4914. if (http_file_hosts_coded.length > 0)
  4915. {
  4916. var linksCoded = document.evaluate(totalxpathcoded, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4917.  
  4918. // decrypt coded links (redirects, link protectors etc.)
  4919. if (linksCoded.snapshotLength > 0)
  4920. {
  4921. var link;
  4922. var reallinkreg;
  4923. var reallinkcorrection;
  4924.  
  4925. if (filterId == null)
  4926. {
  4927. cLinksTotal += linksCoded.snapshotLength;
  4928. }
  4929.  
  4930. var y = linksCoded.snapshotLength - 1;
  4931. do
  4932. {
  4933. // linksCoded.snapshotItem(y).id = 'processing_link';
  4934. link = linksCoded.snapshotItem(y);
  4935. filehostIdx = filehostCodedLen;
  4936. while (filehostIdx--)
  4937. {
  4938. if (link.href.match(http_file_hosts_coded[filehostIdx][0]))
  4939. {
  4940. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  4941. reallinkreg = http_file_hosts_coded[filehostIdx][1];
  4942. reallinkcorrection = http_file_hosts_coded[filehostIdx][2];
  4943.  
  4944. decurl(link, reallinkreg, reallinkcorrection);
  4945. break;
  4946. }
  4947. }
  4948. }
  4949. while (y--);
  4950. }
  4951. }
  4952. //ENCRYPTED LINKS PROCESSING END
  4953.  
  4954. //STANDARD LINKCHECKING START
  4955. if (http_file_hosts.length > 0)
  4956. {
  4957. var lianks = document.evaluate(totalxpath, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  4958.  
  4959. if (filterId == null)
  4960. {
  4961. cLinksTotal += lianks.snapshotLength;
  4962. }
  4963.  
  4964. if (lianks.snapshotLength > 0)
  4965. {
  4966. var link;
  4967.  
  4968. var URL = "";
  4969. var name = "";
  4970. var isAliveRegex = "";
  4971. var isDeadRegex = "";
  4972. var isUnavaRegex = "";
  4973. var ispremRegex = "";
  4974. var tryLoop = false;
  4975.  
  4976. var y = lianks.snapshotLength;
  4977.  
  4978. while (y--)
  4979. {
  4980. link = lianks.snapshotItem(y);
  4981.  
  4982. filehostIdx = filehostLen;
  4983. while (filehostIdx--)
  4984. {
  4985. if (link.href.match(http_file_hosts[filehostIdx][0]))
  4986. {
  4987. link.href = link.href.replace(/http:\/\/.*?http:\/\//, 'http://'); //anonymizers
  4988. isAliveRegex = http_file_hosts[filehostIdx][1];
  4989. isDeadRegex = http_file_hosts[filehostIdx][2];
  4990. isUnavaRegex = http_file_hosts[filehostIdx][3];
  4991. ispremRegex = http_file_hosts[filehostIdx][6];
  4992. tryLoop = http_file_hosts[filehostIdx][5];
  4993.  
  4994. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop);
  4995.  
  4996. break;
  4997. }
  4998. }
  4999. }
  5000. }
  5001. }
  5002. //STANDARD LINKCHECKING END
  5003. //OBSOLETE FILE HOSTS PROCESSING START
  5004. if (filehostObsoleteLen > 0)
  5005. {
  5006. var obsoletelinks = document.evaluate(totalxpathobsolete, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5007.  
  5008. var obsoleteLink;
  5009.  
  5010. //check links
  5011. if (obsoletelinks.snapshotLength > 0)
  5012. {
  5013. var y = obsoletelinks.snapshotLength;
  5014.  
  5015. if (filterId == null)
  5016. {
  5017. cLinksTotal += y;
  5018. }
  5019.  
  5020. while (y--)
  5021. {
  5022. obsoleteLink = obsoletelinks.snapshotItem(y);
  5023.  
  5024. if (Display_tooltip_info)
  5025. {
  5026. obsoleteLink.warlc_error = 'Cause of error: <b>Obsolete filehosting.</b>';
  5027. }
  5028. displayTheCheckedLink(obsoleteLink, 'adead_link');
  5029. }
  5030. }
  5031. }
  5032. //OBSOLETE FILE HOSTS PROCESSING END
  5033.  
  5034. //DIRECT LINKCHECKING START
  5035. if (http_file_hosts_headers_only.length > 0)
  5036. {
  5037. var links = document.evaluate(totalxpathheadersonly, document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  5038.  
  5039. //check links
  5040. if (links.snapshotLength > 0)
  5041. {
  5042. var link;
  5043. var isAliveRegex;
  5044. var isDeadRegex;
  5045. var ispremRegex;
  5046.  
  5047. var y = links.snapshotLength;
  5048.  
  5049.  
  5050. if (filterId == null)
  5051. {
  5052. cLinksTotal += y;
  5053. }
  5054.  
  5055. while (y--)
  5056. {
  5057. // links.snapshotItem(y).id = 'processing_link';
  5058. link = links.snapshotItem(y);
  5059. filehostIdx = filehostHeadersOnlyLen;
  5060. while (filehostIdx--)
  5061. {
  5062. if (link.href.match(http_file_hosts_headers_only[filehostIdx][0]))
  5063. {
  5064. link.href = link.href.replace(/http:\/\/.*?(?:\?|=)http:\/\//, 'http://');
  5065. isAliveRegex = http_file_hosts_headers_only[filehostIdx][1];
  5066. isDeadRegex = http_file_hosts_headers_only[filehostIdx][2];
  5067. ispremRegex = http_file_hosts_headers_only[filehostIdx][3];
  5068.  
  5069. geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex);
  5070.  
  5071. break;
  5072. }
  5073. }
  5074. }
  5075.  
  5076. }
  5077. }
  5078. //DIRECT LINKCHECKING END
  5079.  
  5080.  
  5081. //finds the real url on the page, replaces link.href with it and calls geturl
  5082. function decurl(link, reallinkreg, reallinkcorrection)
  5083. {
  5084.  
  5085. GM_xmlhttpRequest(
  5086. {
  5087. method: 'GET',
  5088. url: link.href,
  5089. headers: {
  5090. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5091. 'Accept': 'text/xml',
  5092. 'Referer': ""
  5093. },
  5094. onload: function (result)
  5095. {
  5096. // cLinksProcessed++;
  5097.  
  5098. var reallink = result.responseText.match(reallinkreg)[0];
  5099. reallink = reallink.replace(new RegExp(reallinkcorrection, "g"), "");
  5100.  
  5101. link.href = reallink;
  5102.  
  5103. var i = http_file_hosts.length - 1;
  5104. do
  5105. {
  5106. if ((reallink.match(http_file_hosts[i][0])))
  5107. {
  5108. link.href = link.href.replace(/http:\/\/.*?\?http:\/\//, 'http://');
  5109. var isAliveRegex = http_file_hosts[i][1];
  5110. var isDeadRegex = http_file_hosts[i][2];
  5111. var isUnavaRegex = http_file_hosts[i][3];
  5112. var ispremRegex = http_file_hosts[i][4];
  5113.  
  5114. geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, 50);
  5115.  
  5116. break;
  5117. }
  5118. }
  5119. while (i--);
  5120. }
  5121. });
  5122. }
  5123.  
  5124. function randUA()
  5125. {
  5126. //TODO
  5127. }
  5128. //Processes link
  5129. //
  5130. // [string] link link URL
  5131. // [string] isAliveRegex alive link regex
  5132. // [string] isDeadRegex dead link regex
  5133. // [string] isUnavaRegex unavailable link regex
  5134. // [string] ispremRegex premium link regex
  5135. // [boolean] tryLoop repeats request until succeeded
  5136. function geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)
  5137. {
  5138. GM_xmlhttpRequest(
  5139. {
  5140. method: 'GET',
  5141. url: link.href,
  5142. headers: {
  5143. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5144. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5145. 'Referer': ""
  5146. },
  5147. onload: function (result)
  5148. {
  5149. var res = result.responseText;
  5150. if (result.responseHeaders.match(/Content-Disposition: attachment; filename=/))//direct download, simple version
  5151. {
  5152. displayTheCheckedLink(link, 'alive_link');
  5153. return;
  5154. }
  5155.  
  5156. if (res.match(isAliveRegex))
  5157. {
  5158. displayTheCheckedLink(link, 'alive_link');
  5159. return;
  5160. }
  5161.  
  5162. if (res.match(isDeadRegex))
  5163. {
  5164. displayTheCheckedLink(link, 'adead_link');
  5165. return;
  5166. }
  5167.  
  5168. if (isUnavaRegex && res.match(isUnavaRegex))
  5169. {
  5170. displayTheCheckedLink(link, 'unava_link');
  5171. return;
  5172. }
  5173. if (res.match(ispremRegex))
  5174. {
  5175. displayTheCheckedLink(link, 'prem_link');
  5176. return;
  5177. }
  5178.  
  5179. var resStatus = result.status;
  5180.  
  5181. if (resStatus == 404)
  5182. {
  5183. displayTheCheckedLink(link, 'adead_link');
  5184. }
  5185. if (resStatus == 500 || resStatus == 503 || resStatus == 403) //not found/available/temp. unava
  5186. {
  5187. if (tryLoop)
  5188. {
  5189. //wait 1-5 seconds and repeat the request
  5190. setTimeout(function(){geturl(link, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, tryLoop)}, 1000 + (Math.random() * 4000));
  5191. }
  5192. else
  5193. {
  5194. displayTheCheckedLink(link, 'unava_link');
  5195. }
  5196.  
  5197. return;
  5198. }
  5199. },
  5200. onerror: function ()
  5201. {
  5202. displayTheCheckedLink(link, 'unava_link');
  5203. }
  5204. });
  5205. }
  5206.  
  5207. function geturlHeader(link, isAliveRegex, isDeadRegex, ispremRegex)
  5208. {
  5209. GM_xmlhttpRequest(
  5210. {
  5211. method: 'HEAD',
  5212. url: link.href,
  5213. headers: {
  5214. 'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
  5215. 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
  5216. 'Accept-Charset': 'windows-1250,utf-8;q=0.7,*;q=0.7',
  5217. 'Referer': ""
  5218. },
  5219. onload: function (result)
  5220. {
  5221. var resStatus = result.status;
  5222. var resHeaders = "";
  5223. if (resStatus == 403 || resStatus == 404 || resStatus == 500) //not found/available
  5224. {
  5225. displayTheCheckedLink(link, 'adead_link');
  5226. return;
  5227. }
  5228.  
  5229. resHeaders = result.responseHeaders;
  5230.  
  5231. if (resHeaders.match(isDeadRegex))
  5232. {
  5233. displayTheCheckedLink(link, 'adead_link');
  5234. return;
  5235. }
  5236.  
  5237. if (resHeaders.match(isAliveRegex))
  5238. {
  5239. displayTheCheckedLink(link, 'alive_link');
  5240. return;
  5241. }
  5242. if (resHeaders.match(ispremRegex))
  5243. {
  5244. displayTheCheckedLink(link, 'prem_link');
  5245. return;
  5246. }
  5247. },
  5248. onerror: function ()
  5249. {
  5250. displayTheCheckedLink(link, 'unava_link');
  5251. }
  5252. });
  5253. }
  5254.  
  5255. //Delinkfifies the <a> element object
  5256. function delinkifyLink(link)
  5257. {
  5258. var spanElm = document.createElement("span");
  5259. spanElm.className = link.className;
  5260. spanElm.innerHTML = link.innerHTML;
  5261.  
  5262. if (Display_tooltip_info)
  5263. {
  5264. spanElm.href = link.href;
  5265. spanElm.warlc_error = link.warlc_error;
  5266. switch (link.className){
  5267. case "alive_link": spanElm.addEventListener("mouseover", displayTooltipInfo, false); break
  5268. case "adead_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5269. case "unava_link": //reserved
  5270. case "prem_link": spanElm.addEventListener("mouseover", displayTooltipError, false); break;
  5271. default:
  5272. }
  5273. }
  5274. link.parentNode.replaceChild(spanElm, link);
  5275. }
  5276.  
  5277. //Assigns result status to the <a> element object and calls delinkifying eventually
  5278. //Possible result states: adead_link, alive_link, unava_link, prem_link
  5279. function displayTheCheckedLink(link, resultStatus)
  5280. {
  5281. link.className = resultStatus;
  5282. link.href = Ref_anonymize_service + link.href;
  5283. if (Display_tooltip_info)
  5284. {
  5285. switch (resultStatus){
  5286. case "alive_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5287. case "adead_link": link.addEventListener("mouseover", displayTooltipError, false); break;
  5288. case "unava_link": //reserved
  5289. case "prem_link": link.addEventListener("mouseover", displayTooltipInfo, false); break
  5290. default:
  5291. }
  5292. }
  5293. if (doNotLinkify)
  5294. {
  5295. delinkifyLink(link);
  5296. }
  5297. cLinksProcessed++;
  5298.  
  5299. if (resultStatus == "alive_link")
  5300. {
  5301. cLinksAlive++;
  5302. return;
  5303. }
  5304.  
  5305. if (resultStatus == "adead_link")
  5306. {
  5307. cLinksDead++;
  5308. return;
  5309. }
  5310.  
  5311. if (resultStatus == "unava_link")
  5312. {
  5313. cLinksUnava++;
  5314. }
  5315. if (resultStatus == "prem_link")
  5316. {
  5317. cLinksprem++;
  5318. return;
  5319. }
  5320. }
  5321.  
  5322.  
  5323. function initFileHosts()
  5324. {
  5325.  
  5326. function addObsoleteHost(linkRegex, xpathEx)
  5327. {
  5328. var host = new Array(2);
  5329. host[0] = linkRegex;
  5330. host[1] = xpathEx;
  5331. http_file_hosts_obsolete.push(host);
  5332. }
  5333.  
  5334. //obsolete file hosts init start
  5335. if (Obsolete_file_hosts)
  5336. {
  5337. addObsoleteHost("uloz\.cz\/show\/file","//a[contains(@href,'uloz.cz')]");
  5338. addObsoleteHost("storage\\.to\/get","//a[contains(@href,'storage.to')]");
  5339. addObsoleteHost("iskladka\\.cz\/download","//a[contains(@href,'iskladka.cz')]");
  5340. addObsoleteHost("file-rack\\.com\/files","//a[contains(@href,'file-rack.com')]");
  5341. addObsoleteHost("fast-load\\.net\/(\/)?index","//a[contains(@href,'fast-load.net')]");
  5342. addObsoleteHost("subory\\.sk\/download","//a[contains(@href,'subory.sk')]");
  5343. addObsoleteHost("bigandfree\\.com\/\\d+","//a[contains(@href,'bigandfree.com')]");
  5344. addObsoleteHost("fileop\\.com\/\\w+","//a[contains(@href,'fileop.com')]");
  5345. addObsoleteHost("mujsoubor\\.cz\/file\/","//a[contains(@href,'mujsoubor.cz')]");
  5346. addObsoleteHost("sendfile\\.to\/\\w+","//a[contains(@href,'sendfile.to')]");
  5347. addObsoleteHost("superfastfile\\.com\/\\w+","//a[contains(@href,'superfastfile.com')]");
  5348. addObsoleteHost("quickyshare\\.com\/\\w+","//a[contains(@href,'quickyshare.com/')]");
  5349. addObsoleteHost("duckload\\.com\/(?:d|play)","//a[contains(@href,'duckload.com')]");
  5350. addObsoleteHost("uploadstore\\.net\/\\w+","//a[contains(@href,'uploadstore.net')]");
  5351. addObsoleteHost("meinupload\\.com\/dl\/\\d+","//a[contains(@href,'meinupload.com/dl')]");
  5352. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com')]");
  5353. addObsoleteHost("2xupload\\.(?:to|de)\/file\/\\w+","//a[contains(@href,'2xupload.to') or contains(@href,'2xupload.de')]");
  5354. addObsoleteHost("oxedion\\.com\/index\\.php\/download\/\\w+","//a[contains(@href,'oxedion.com/index')]");
  5355. addObsoleteHost("uploadline\\.com\/\\d+","//a[contains(@href,'uploadline.com')]");
  5356. addObsoleteHost("dll\\.bz\/file\/\\d+","//a[contains(@href,'dll.bz/file')]");
  5357. addObsoleteHost("movieshare\\.in\/\\w+","//a[contains(@href,'movieshare.in')]");
  5358. addObsoleteHost("milledrive\\.com\/files\/\\d+","//a[contains(@href,'milledrive.com')]");
  5359. addObsoleteHost("quickupload\\.net\/\\w+","//a[contains(@href,'quickupload.net')]");
  5360. addObsoleteHost("safelink\\.in\/\\w+","//a[contains(@href,'safelink.in')]");
  5361. addObsoleteHost("pyramidfiles\\.com\/\\w+","//a[contains(@href,'pyramidfiles.com/')]");
  5362. addObsoleteHost("(?:cloudnator|shragle)\\.com\/files","//a[contains(@href,'cloudnator.com/files') or contains(@href,'shragle.com/files')]");
  5363. addObsoleteHost("batshare\\.com\/\\w+","//a[contains(@href,'batshare.com/')]");
  5364. addObsoleteHost("bitroad\\.net\/download","//a[contains(@href,'bitroad.net/download')]");
  5365. addObsoleteHost("metadivx\\.com\/\\w+","//a[contains(@href,'metadivx.com')]");
  5366. addObsoleteHost("filegaze\\.com\/\\w+","//a[contains(@href,'filegaze.com/')]");
  5367. addObsoleteHost("bulletupload\\.com\/\\w+","//a[contains(@href,'bulletupload.com/')]");
  5368. addObsoleteHost("sharefilehost\\.com\/\\w+","//a[contains(@href,'sharefilehost.com/')]");
  5369. addObsoleteHost("fireuploads\\.net\/\\w+","//a[contains(@href,'fireuploads.net/')]");
  5370. addObsoleteHost("divxlink\\.com\/\\w+","//a[contains(@href,'divxlink.com/')]");
  5371. addObsoleteHost("bzlink\\.us\/\\w+","//a[contains(@href,'bzlink.us/')]");
  5372. addObsoleteHost("filetechnology\\.com\/\\w+","//a[contains(@href,'filetechnology.com/')]");
  5373. addObsoleteHost("filecosy\\.com\/\\w+","//a[contains(@href,'filecosy.com/')]");
  5374. addObsoleteHost("fileserver\\.cc\/\\w+","//a[contains(@href,'fileserver.cc/')]");
  5375. addObsoleteHost("shafiles\\.me\/\\w+","//a[contains(@href,'shafiles.me/')]");
  5376. addObsoleteHost("xfileshare\\.eu\/\\w+","//a[contains(@href,'xfileshare.eu/')]");
  5377. addObsoleteHost("uploadboost\\.com\/\\w+","//a[contains(@href,'uploadboost.com/')]");
  5378. addObsoleteHost("uploadoz\\.com\/\\w+","//a[contains(@href,'uploadoz.com/')]");
  5379. addObsoleteHost("ihostia\\.com\/\\w+","//a[contains(@href,'ihostia.com/')]");
  5380. addObsoleteHost("shareupload\\.com\/\\w+","//a[contains(@href,'shareupload.com/')]");
  5381. addObsoleteHost("ovfile\\.com\/\\w+","//a[contains(@href,'ovfile.com/')]");
  5382. addObsoleteHost("stahuj\\.to\/\\w+","//a[contains(@href,'stahuj.to/')]");
  5383. addObsoleteHost("gigfiles\\.net\/\\w+","//a[contains(@href,'gigfiles.net/')]");
  5384. addObsoleteHost("vidhog\\.com\/\\w+","//a[contains(@href,'vidhog.com/')]");
  5385. addObsoleteHost("filelaser\\.com\/\\w+","//a[contains(@href,'filelaser.com/')]");
  5386. addObsoleteHost("holderfile\\.com\/\\w+","//a[contains(@href,'holderfile.com/')]");
  5387. addObsoleteHost("fileduct\\.(?:com|net)\/\\w+","//a[contains(@href,'fileduct.com/') or contains(@href,'fileduct.net')]");
  5388. addObsoleteHost("filefat\\.com\/\\w+","//a[contains(@href,'filefat.com/')]");
  5389. addObsoleteHost("restfile\\.com\/\\w+","//a[contains(@href,'restfile.com/')]");
  5390. addObsoleteHost("filemashine\\.com\\/download\/\\w+","//a[contains(@href,'filemashine.com/download')]");
  5391. addObsoleteHost("cloudnxt\\.net\/\\w+","//a[contains(@href,'cloudnxt.net/')]");
  5392. addObsoleteHost("uploadrack\\.com\/\\w+","//a[contains(@href,'uploadrack.com')]");
  5393. addObsoleteHost("teradepot\\.com\/\\w+","//a[contains(@href,'teradepot.com')]");
  5394. addObsoleteHost("dataup\\.to\/\\d+\/","//a[contains(@href,'dataup.to')]");
  5395. addObsoleteHost("upit\\.to\/file:\\d+","//a[contains(@href,'upit.to/file')]");
  5396. addObsoleteHost("badongo\\.(?:com|net)\/(?:\\w\\w\/|)(?:vid|cfile|file|pt)\/\\w+","//a[contains(@href,'badongo.com') or contains(@href,'badongo.net')]");
  5397. addObsoleteHost("driveway\\.com\/\\w+","//a[contains(@href,'driveway.com')]");
  5398. addObsoleteHost("eatlime\\.com\/download","//a[contains(@href,'eatlime.com/download')]");
  5399. addObsoleteHost("a2zuploads\\.com\/id\\w+","//a[contains(@href,'a2zuploads.com/id')]");
  5400. addObsoleteHost("friendlyfiles\\.net\/download\/\\w+\/","//a[contains(@href,'friendlyfiles.net/download')]");
  5401. addObsoleteHost("flyfile\\.us\/\\w+","//a[contains(@href,'flyfile.us')]");
  5402. addObsoleteHost("speedyshare\\.com\/\\w+","//a[contains(@href,'speedyshare.com')]");
  5403. addObsoleteHost("brontofile\\.com\/download","//a[contains(@href,'brontofile.com/download')]");
  5404. addObsoleteHost("uploadspace\\.eu\/\\w+","//a[contains(@href,'uploadspace.eu')]");
  5405. addObsoleteHost("fooget\\.com\/\\w+","//a[contains(@href,'fooget.com/')]");
  5406. addObsoleteHost("file-bit.net\/\\w+","//a[contains(@href,'file-bit.net/')]");
  5407. addObsoleteHost("keepfile\\.com\/\\w+","//a[contains(@href,'http://keepfile.com')]");
  5408. addObsoleteHost("piggyshare\\.com\/file\/\\w+","//a[contains(@href,'piggyshare.com')]");
  5409. addObsoleteHost("filecrown\\.com\/\\w+","//a[contains(@href,'filecrown.com')]");
  5410. addObsoleteHost("6giga\\.com\/\\w+","//a[contains(@href,'6giga.com')]");
  5411. addObsoleteHost("uploadjockey\\.com\/download\/\\w+","//a[contains(@href,'uploadjockey.com/download')]");
  5412. addObsoleteHost("bluehost\\.to\/dl=\\w+","//a[contains(@href,'bluehost.to')]");
  5413. addObsoleteHost("coolshare\\.cz\/stahnout\/\\w+","//a[contains(@href,'coolshare.cz/stahnout')]");
  5414. addObsoleteHost("filegu\\.ru\/f\/\\w+","//a[contains(@href,'filegu.ru/f')]");
  5415. addObsoleteHost("filebase\\.to\/files\/\\d+\/","//a[contains(@href,'filebase.to/files')]");
  5416. addObsoleteHost("kickload\\.com\/(?:file|get)\/","//a[contains(@href,'kickload.com/file') or contains(@href,'kickload.com/get')]");
  5417. addObsoleteHost("up-file\\.com\/files\/download\/\\w+\/","//a[contains(@href,'up-file.com/download')]");
  5418. addObsoleteHost("ezyfile\\.net\/\\w+","//a[contains(@href,'ezyfile.net/')]");
  5419. addObsoleteHost("k2files\\.com\/files","//a[contains(@href,'k2files.com/files')]");
  5420. addObsoleteHost("aiotool\\.net\/\\w+","//a[contains(@href,'aiotool.net/')]");
  5421. addObsoleteHost("xvideos\\.com\/files\/\\d+\/\\w+","//a[contains(@href,'xvideos.com/files')]");
  5422. addObsoleteHost("filebling\\.com\/dl\/\\d+\/\\d+\/\\w+","//a[contains(@href,'filebling.com/dl')]");
  5423. addObsoleteHost("loaded\\.it\/divx\/\\w+","//a[contains(@href,'loaded.it/divx')]");
  5424. addObsoleteHost("uploadcell\\.com\/\\w+\/\\w+","//a[contains(@href,'uploadcell.com')]");
  5425. addObsoleteHost("jakfile\\.com\/\\w+","//a[contains(@href,'jakfile.com/')]");
  5426. addObsoleteHost("uploadshare\\.cz\/download\/\\w+\/\\w+","//a[contains(@href,'uploadshare.cz/download')]");
  5427. addObsoleteHost("mangoshare\\.com\/\\w+","//a[contains(@href,'mangoshare.com')]");
  5428. addObsoleteHost("ugotfile\\.com\/file\/\\d+\/\\w+","//a[contains(@href,'ugotfile.com/file')]");
  5429. addObsoleteHost("filestab\\.com\/\\w+","//a[contains(@href,'filestab.com')]");
  5430. addObsoleteHost("dotavi\\.com\/\\w+\/.","//a[contains(@href,'dotavi.com/')]");
  5431. addObsoleteHost("crazyupload\\.com\/\\w+","//a[contains(@href,'crazyupload.com')]");
  5432. addObsoleteHost("gaiafile\\.com\/\\w+","//a[contains(@href,'gaiafile.com')]");
  5433. addObsoleteHost("sharejunky\\.com\/\\w+","//a[contains(@href,'sharejunky.com')]");
  5434. addObsoleteHost("fileho\\.com\/download\/\\d+","//a[contains(@href,'fileho.com/download')]");
  5435. addObsoleteHost("(?:bigandfree|BigAndFree)\\.com\/\\d+","//a[contains(@href,'bigandfree.com') or contains(@href,'BigAndFree.com')]");
  5436. addObsoleteHost("bigfile\\.in\/\\w+","//a[contains(@href,'bigfile.in')]");
  5437. addObsoleteHost("bigshare\\.eu\/download\\.php\\?id=","//a[contains(@href,'bigshare.eu/download.php')]");
  5438. addObsoleteHost("dahosting\\.org\/dl\/\\w+","//a[contains(@href,'dahosting.org/dl')]");
  5439. addObsoleteHost("digisofts\\.net\/\\w+","//a[contains(@href,'digisofts.net')]");
  5440. addObsoleteHost("file4save\\.com\/\\w+\/\\w+","//a[contains(@href,'file4save.com')]");
  5441. addObsoleteHost("filereactor\\.com\/\\w+","//a[contains(@href,'filereactor.com/')]");
  5442. addObsoleteHost("filechip\\.com\/\\w+","//a[contains(@href,'filechip.com')]");
  5443. addObsoleteHost("filescloud\\.com\/\\w+\/\\w+","//a[contains(@href,'filescloud.com')]");
  5444. addObsoleteHost("saveqube\\.com\/getfile\/\\w+","//a[contains(@href,'saveqube.com/getfile')]");
  5445. addObsoleteHost("www2\\.turboshare\\.de\/v\/\\d+","//a[contains(@href,'turboshare.de/v')]");
  5446. addObsoleteHost("z-upload\\.com\/\\w+","//a[contains(@href,'z-upload.com')]");
  5447. addObsoleteHost("youshare\\.com\/view\\.php","//a[contains(@href,'youshare.com/view')]");
  5448. addObsoleteHost("jiffyupload\\.com\/\\w+","//a[contains(@href,'jiffyupload.com')]");
  5449. addObsoleteHost("gigeshare\\.com\/preview\/\\w+","//a[contains(@href,'gigeshare.com')]");
  5450. addObsoleteHost("datenklo\\.net\/dl","//a[contains(@href,'datenklo.net')]");
  5451. addObsoleteHost("upload\\.dj\/download\\.php\\?id=\\w+","//a[contains(@href,'upload.dj/download.php')]");
  5452. addObsoleteHost("loadfiles\\.in\/\\w+\/","//a[contains(@href,'loadfiles.in')]");
  5453. addObsoleteHost("upit\\.to\/file:\\w+\/","//a[contains(@href,'upit.to/file')]");
  5454. addObsoleteHost("zshare\\.net\/(?:download|video|audio)\/\\w+","//a[contains(@href,'zshare.net/')]");
  5455. addObsoleteHost("refile\\.net\/f\/\\?\\w+","//a[contains(@href,'refile.net/f/')]");
  5456. addObsoleteHost("dsfileshare\\.com\/download","//a[contains(@href,'dsfileshare.com/download')]");
  5457. addObsoleteHost("sharesimple\\.net\/\\w{2}\/download","//a[contains(@href,'sharesimple.net')]");
  5458. addObsoleteHost("(?:s\\d+\\.|)4files\\.net\/\\d+","//a[contains(@href,'4files.net')]");
  5459. addObsoleteHost("odsiebie\\.com\/pokaz\/\\d+","//a[contains(@href,'odsiebie.com/pokaz')]");
  5460. addObsoleteHost("filenavi\\.com\/direct\/\\w+","//a[contains(@href,'filenavi.com/direct')]");
  5461. addObsoleteHost("3oof\\.com\/\\w+","//a[contains(@href,'3oof.com/')]");
  5462. addObsoleteHost("meshwaar\\.com\/\\w+","//a[contains(@href,'meshwaar.com')]");
  5463. addObsoleteHost("maxupload\\.com\/files\/\\w+","//a[contains(@href,'maxupload.com/files')]");
  5464. addObsoleteHost("share\\.cx\/videos\/\\d+","//a[contains(@href,'share.cx/videos')]");
  5465. addObsoleteHost("atserver\\.eu\/(?:\\w{2}\/|)download\/\\d+","//a[contains(@href,'atserver.eu')]");
  5466. addObsoleteHost("file2upload\\.net\/download\/\\d+","//a[contains(@href,'file2upload.net/download')]");
  5467. addObsoleteHost("filebling\\.com\/\\w+","//a[contains(@href,'filebling.com')]");
  5468. addObsoleteHost("turboshare\\.(?:eu|com)\/files","//a[contains(@href,'turboshare.') and contains(@href,'/files')]");
  5469. addObsoleteHost("rarhost\\.com\/download","//a[contains(@href,'rarhost.com/download')]");
  5470. addObsoleteHost("isharehd\\.com\/\\w+","//a[contains(@href,'isharehd.com')]");
  5471. addObsoleteHost("datenklo\\.net\/file\\.php\\?id=\\w+","//a[contains(@href,'datenklo.net/file.php')]");
  5472. addObsoleteHost("file2share\\.biz\/download\\.php\\?id=\\w+","//a[contains(@href,'file2share.biz/download.php')]");
  5473. addObsoleteHost("savefiles\\.net\/d\/\\w+\\.html","//a[contains(@href,'savefiles.net/d')]");
  5474. addObsoleteHost("bestsharing\\.com\/files\/\\w+","//a[contains(@href,'bestsharing.com/files')]");
  5475. addObsoleteHost("filecache\\.de\/\\d+","//a[contains(@href,'filecache.de/')]");
  5476. addObsoleteHost("i741\\.com\/files\/\\w+","//a[contains(@href,'i741.com/files')]");
  5477. addObsoleteHost("dataup\\.de\/\\d+","//a[contains(@href,'dataup.de')]");
  5478. addObsoleteHost("fofly\\.com\/\\w+","//a[contains(@href,'fofly.com')]");
  5479. addObsoleteHost("shareonall\\.com\/\\w+","//a[contains(@href,'shareonall.com')]");
  5480. addObsoleteHost("sexuploader\\.com\/(?:|..\/)\\?[d|v]=\\w{8}","//a[contains(@href,'sexuploader.com')]");
  5481. 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')]");
  5482. addObsoleteHost("uploadhyper\\.com\/file\/","//a[contains(@href,'uploadhyper.com')]");
  5483. addObsoleteHost("filespawn\\.com\/file\/","//a[contains(@href,'filespawn.com')]");
  5484. addObsoleteHost("caizzii\\.com\/(?:download|\\?file=)","//a[contains(@href,'caizzii.com')]");
  5485. addObsoleteHost("volnyweb\\.cz\/files\/get\/[\\w-_]+","//a[contains(@href,'volnyweb.cz/files')]");
  5486. addObsoleteHost("gotupload\\.com\/\\w+","//a[contains(@href,'gotupload.com/')]");
  5487. addObsoleteHost("mooload\\.com\/new\/file\\.php\\?file=files\/\\d+\/\\d+","//a[contains(@href,'mooload.com/new/file')]");
  5488. addObsoleteHost("z\\d+\\.zupload\\.com\/download\\.php\\?file=getfile&filepath=\\d+","//a[contains(@href,'zupload.com/download')]");
  5489. addObsoleteHost("mytempdir\\.com\/\\d+","//a[contains(@href,'mytempdir.com/')]");
  5490. addObsoleteHost("usershare\\.net\/\\w+","//a[contains(@href,'usershare.net/')]");
  5491. addObsoleteHost("qshare\\.com\/get\/\\d+\/.","//a[contains(@href,'qshare.com/get')]");
  5492. addObsoleteHost("filescash\\.net\/file\/\\d+","//a[contains(@href,'filescash.net/file')]");
  5493. addObsoleteHost("metahyper\\.com\/\\w+","//a[contains(@href,'metahyper.com/')]");
  5494. addObsoleteHost("combozip\\.com\/\\w+","//a[contains(@href,'combozip.com/')]");
  5495. addObsoleteHost("anonstream\\.com\/get_\\w+","//a[contains(@href,'anonstream.com/get_')]");
  5496. addObsoleteHost("x7\\.to\/\\w+","//a[contains(@href,'x7.to/')]");
  5497. addObsoleteHost("uploadbox\\.com\/files\/\\w+","//a[contains(@href,'uploadbox.com/files')]");
  5498. addObsoleteHost("(?:flyupload\\.)?(?:enterupload|flyupload)\\.com\/[\\?\\w]+","//a[contains(@href,'enterupload.com/') or contains(@href,'flyupload.com/')]");
  5499. addObsoleteHost("filepoint\\.de\/dl\/\\w+","//a[contains(@href,'filepoint.de/dl')]");
  5500. addObsoleteHost("icushare\\.com\/\\w+","//a[contains(@href,'icushare.com/')]");
  5501. addObsoleteHost("oron\\.com\/\\w+","//a[contains(@href,'oron.com/')]");
  5502. addObsoleteHost("mystream\\.to\/file\\-\\d+","//a[contains(@href,'mystream.to/file')]");
  5503. addObsoleteHost("x-fs\\.com\/download\\.php\\?id=\\w+","//a[contains(@href,'x-fs.com/download')]");
  5504. addObsoleteHost("srapid\\.eu\/\\w+","//a[contains(@href,'srapid.eu/')]");
  5505. addObsoleteHost("shareshared\\.com\/\\w+","//a[contains(@href,'shareshared.com/')]");
  5506. addObsoleteHost("sosame\\.cz\/\\w+","//a[contains(@href,'sosame.cz/')]");
  5507. addObsoleteHost("s\\d+\\.filesdump\\.com\/file\/\\w+","//a[contains(@href,'filesdump.com/file')]");
  5508. addObsoleteHost("2-klicks\\.de\/\\?d=\\w+","//a[contains(@href,'2-klicks.de/?d=')]");
  5509. addObsoleteHost("silofiles\\.com\/file\/\\d+","//a[contains(@href,'silofiles.com/file')]");
  5510. addObsoleteHost("upfile\\.in\/\\w+","//a[contains(@href,'upfile.in/')]");
  5511. addObsoleteHost("filehook\\.com\/\\w+","//a[contains(@href,'filehook.com/')]");
  5512. addObsoleteHost("mojofile\\.com\/\\w+","//a[contains(@href,'mojofile.com/')]");
  5513. addObsoleteHost("cloudcache\\.cc\/\\w+","//a[contains(@href,'cloudcache.cc/')]");
  5514. addObsoleteHost("1hostclick\\.com\/\\w+","//a[contains(@href,'1hostclick.com/')]");
  5515. addObsoleteHost("4bytez\\.com\/\\w+","//a[contains(@href,'4bytez.com/')]");
  5516. addObsoleteHost("uploadking\\.com\/\\w+","//a[contains(@href,'uploadking.com/')]");
  5517. addObsoleteHost("nahraj\\.cz\/(?:content|down)\/\\w+","//a[contains(@href,'nahraj.cz/')]");
  5518. addObsoleteHost("megarapid\\.eu\/files\/\\d+","//a[contains(@href,'megarapid.eu/files')]");
  5519. addObsoleteHost("(?:fileserve|uploadstation)\\.com\/(?:file|list)\/\\w+","//a[contains(@href,'fileserve.com/') or contains(@href,'uploadstation.com/')]");
  5520. addObsoleteHost("uploadhere\\.com\/\\w+","//a[contains(@href,'uploadhere.com/')]");
  5521. addObsoleteHost("dualshare\\.com\/\\w+","//a[contains(@href,'dualshare.com/')]");
  5522. addObsoleteHost("yourfilehost\\.com\/media","//a[contains(@href,'yourfilehost.com/media')]");
  5523. addObsoleteHost("ftp2share\\.com\/file\/\\w+","//a[contains(@href,'ftp2share.com/file')]");
  5524. addObsoleteHost("storeandserve\\.com\/download\/\\d+","//a[contains(@href,'storeandserve.com/download')]");
  5525. addObsoleteHost("mountfile\\.com\/file(?:\/\\w+){2}","//a[contains(@href,'mountfile.com/file')]");
  5526. addObsoleteHost("save\\.am\/files\/\\w+","//a[contains(@href,'save.am/files')]");
  5527. addObsoleteHost("transitfiles\\.com\/dl\/\\w+","//a[contains(@href,'transitfiles.com/dl')]");
  5528. addObsoleteHost("smartuploader\\.com\/file\\.php\\?f=\\d+","//a[contains(@href,'smartuploader.com/file.php?=')]");
  5529. addObsoleteHost("skipfile\\.com\/\\w+","//a[contains(@href,'skipfile.com/')]");
  5530. addObsoleteHost("stahnu\\.to\/[\\w\\?]+","//a[contains(@href,'stahnu.to/')]");
  5531. addObsoleteHost("flyshare\.cz\/(?:stahni\/|)\\d+","//a[contains(@href,'flyshare.cz/')]");
  5532. addObsoleteHost("(?:ddlani\\.me|ddlanime\\.com)\/\\w+","//a[contains(@href,'ddlani.me/') or contains(@href,'ddlanime.com/')]");
  5533. addObsoleteHost("loadly\\.com\/\\w+","//a[contains(@href,'loadly.com/')]");
  5534. addObsoleteHost("groovefile\\.com\/\\w+","//a[contains(@href,'groovefile.com/')]");
  5535. addObsoleteHost("filezlot\\.com\/\\w+","//a[contains(@href,'filezlot.com/')]");
  5536. addObsoleteHost("shareator\\.(?:net|com)\/\\w+","//a[contains(@href,'shareator.')]");
  5537. addObsoleteHost("yabadaba\\.ru\/files\/","//a[contains(@href,'yabadaba.ru/files/')]");
  5538. addObsoleteHost("rapidhide\\.com\/download\\.php\\?file=\\w+","//a[contains(@href,'rapidhide.com/download.php')]");
  5539. addObsoleteHost("filejungle\\.com\/[fl]\/\\w+","//a[contains(@href,'filejungle.com/')]");
  5540. addObsoleteHost("kewlshare\\.com\/dl\/\\d+","//a[contains(@href,'kewlshare.com/dl')]");
  5541. addObsoleteHost("petandrive\\.com\/file\/\\w+","//a[contains(@href,'petandrive.com/file')]");
  5542. addObsoleteHost("onionshare\\.com\/\\w+","//a[contains(@href,'onionshare.com/')]");
  5543. addObsoleteHost("rapidable\\.com\/\\w+\/download\\.php\\?id=","//a[contains(@href,'rapidable.com/')]");
  5544. addObsoleteHost("filesdump\\.com\/file\/\\w+\/\\d+","//a[contains(@href,'filesdump.com/file')]");
  5545. addObsoleteHost("file2box\\.(?:net|com)\/\\w+","//a[contains(@href,'file2box.')]");
  5546. addObsoleteHost("(?:filesonic|sharingmatrix|wupload)(?:\\.\\w+){1,2}\/(?:file|folder)\/\\w+","//a[contains(@href,'filesonic.') or contains(@href,'sharingmatrix.com') or contains(@href,'wupload.')]");
  5547. addObsoleteHost("bloggerarticles\\.com\/\\w+","//a[contains(@href,'bloggerarticles.com/')]");
  5548. addObsoleteHost("mojedata\\.sk/","//a[contains(@href,'mojedata.sk/')]");
  5549. addObsoleteHost("sharpfile\\.com\/\\w+","//a[contains(@href,'sharpfile.com/')]");
  5550. addObsoleteHost("upgrand\\.com\/\\w+","//a[contains(@href,'upgrand.com/')]");
  5551. addObsoleteHost("nasdilej\\.cz\/\\w+","//a[contains(@href,'nasdilej.cz/')]");
  5552. addObsoleteHost("mediatack\\.cz\/stahuj/\\w+","//a[contains(@href,'mediatack.cz/stahuj/')]");
  5553. addObsoleteHost("share-it\\.to\/file/\\w+","//a[contains(@href,'share-it.to/file/')]");
  5554. addObsoleteHost("primeupload\\.com\/file/\\w+","//a[contains(@href,'primeupload.com/file/')]");
  5555. addObsoleteHost("(?:uploads\\.glumbo|glumbouploads)\\.com\/\\w+","//a[contains(@href,'uploads.glumbo.com') or contains(@href,'glumbouploads.com')]");
  5556. addObsoleteHost("filebeer\\.info\/\\w+","//a[contains(@href,'filebeer.info/')]");
  5557. addObsoleteHost("baberepublic\\.com\/link\/\\w+","//a[contains(@href,'baberepublic.com/link/')]");
  5558. addObsoleteHost("xtu\\.me\/\\w+","//a[contains(@href,'xtu.me/')]");
  5559. addObsoleteHost("sharebase\\.de\/files\/\\w+","//a[contains(@href,'sharebase.de/files/')]");
  5560. addObsoleteHost("filerobo\\.com\/\\w+","//a[contains(@href,'filerobo.com/')]");
  5561. addObsoleteHost("filevelocity\\.com\/\\w+","//a[contains(@href,'filevelocity.com/')]");
  5562. addObsoleteHost("filezpro\\.com\/\\w+","//a[contains(@href,'filezpro.com/')]");
  5563. addObsoleteHost("file4sharing\\.com\/\\w+","//a[contains(@href,'file4sharing.com/')]");
  5564. addObsoleteHost("cing\\.be\/\\w+","//a[contains(@href,'cing.be/')]");
  5565. addObsoleteHost("ufile\\.eu\/\\w+","//a[contains(@href,'ufile.eu/')]");
  5566. addObsoleteHost("pigsonic\\.com\/\\w+","//a[contains(@href,'pigsonic.com/')]");
  5567. addObsoleteHost("fileupped\\.com\/\\w+","//a[contains(@href,'fileupped.com/')]");
  5568. addObsoleteHost("sharerun\\.com\/\\w+","//a[contains(@href,'sharerun.com/')]");
  5569. addObsoleteHost("rapidslnare\\.com\/\\w+","//a[contains(@href,'rapidslnare.com/')]");
  5570. addObsoleteHost("monsteruploads\\.eu\/\\w+","//a[contains(@href,'monsteruploads.eu/')]");
  5571. addObsoleteHost("b9bb\\.com\/\\w+","//a[contains(@href,'b9bb.com/')]");
  5572. addObsoleteHost("jamber\\.info\/\\w+","//a[contains(@href,'jamber.info/')]");
  5573. addObsoleteHost("(?:megaftp|MegaFTP)\\.com\/\\w+","//a[contains(@href,'megaftp.com/') or contains(@href,'MegaFTP.com/')]");
  5574. addObsoleteHost("desiupload\\.net\/\\?d=\\w+","//a[contains(@href,'desiupload.net/')]");
  5575. addObsoleteHost("file27\\.com\/\\w+","//a[contains(@href,'file27.com/')]");
  5576. addObsoleteHost("yastorage\\.com\/\\w+","//a[contains(@href,'yastorage.com/')]");
  5577. addObsoleteHost("filehost\\.ws\/\\w+","//a[contains(@href,'filehost.ws/')]");
  5578. addObsoleteHost("copyload\\.com\/\\w+","//a[contains(@href,'copyload.com/')]");
  5579. addObsoleteHost("venusfile\\.com\/\\w+","//a[contains(@href,'venusfile.com/')]");
  5580. addObsoleteHost("aieshare\\.com\/\\w+","//a[contains(@href,'aieshare.com/')]");
  5581. addObsoleteHost("fileza\\.net\/\\w+","//a[contains(@href,'fileza.net/')]");
  5582. addObsoleteHost("filerose\\.com\/\\w+","//a[contains(@href,'filerose.com/')]");
  5583. addObsoleteHost("squillion\\.com\/\\w+","//a[contains(@href,'squillion.com/')]");
  5584. addObsoleteHost("fileprohost\\.com\/\\w+","//a[contains(@href,'fileprohost.com/')]");
  5585. addObsoleteHost("bitbonus\\.com\/download\/\\w+","//a[contains(@href,'bitbonus.com/')]");
  5586. addObsoleteHost("warserver\\.cz\/\\w+","//a[contains(@href,'warserver.cz/')]");
  5587. addObsoleteHost("uload\\.to\/\\w+","//a[contains(@href,'uload.to/')]");
  5588. addObsoleteHost("sharedbit\\.net\/\\w+","//a[contains(@href,'sharedbit.net/')]");
  5589. addObsoleteHost("megaload\\.it\/\\w+","//a[contains(@href,'megaload.it/')]");
  5590. addObsoleteHost("filewinds\\.com\/\\w+","//a[contains(@href,'filewinds.com/')]");
  5591. addObsoleteHost("uploadcore\\.com\/\\w+","//a[contains(@href,'uploadcore.com/')]");
  5592. addObsoleteHost("syfiles\\.com\/\\w+","//a[contains(@href,'syfiles.com/')]");
  5593. addObsoleteHost("eyesfile\\.com\/\\w+","//a[contains(@href,'eyesfile.com/')]");
  5594. addObsoleteHost("hotfile\\.com\/\\w+","//a[contains(@href,'hotfile.com/')]");
  5595. addObsoleteHost("superupl\\.com\/\\w+","//a[contains(@href,'superupl.com/')]");
  5596. addObsoleteHost("oteupload\\.com\/\\w+","//a[contains(@href,'oteupload.com/')]");
  5597. addObsoleteHost("henchfile\\.com\/\\w+","//a[contains(@href,'henchfile.com/')]");
  5598. addObsoleteHost("HenchFile\\.com\/\\w+","//a[contains(@href,'HenchFile.com/')]");
  5599. addObsoleteHost("filegag\\.com\/\\w+","//a[contains(@href,'filegag.com/')]");
  5600. addObsoleteHost("filedefend\\.com\/\\w+","//a[contains(@href,'filedefend.com/')]");
  5601. addObsoleteHost("hotfiles\\.ws\/\\w+","//a[contains(@href,'hotfiles.ws/')]");
  5602. addObsoleteHost("share-rapid\\.com\/\\w+","//a[contains(@href,'share-rapid.com/')]");
  5603. addObsoleteHost("rapids\\.cz\/\\w+","//a[contains(@href,'rapids.cz/')]");
  5604. addObsoleteHost("share-credit\\.cz\/\\w+","//a[contains(@href,'share-credit.cz/')]");
  5605. addObsoleteHost("share-central\\.cz\/\\w+","//a[contains(@href,'share-central.cz/')]");
  5606. addObsoleteHost("share-ms\\.cz\/\\w+","//a[contains(@href,'share-ms.cz/')]");
  5607. addObsoleteHost("share-net\\.cz\/\\w+","//a[contains(@href,'share-net.cz/')]");
  5608. addObsoleteHost("srapid\\.cz\/\\w+","//a[contains(@href,'srapid.cz/')]");
  5609. addObsoleteHost("share-rapid\\.cz\/\\w+","//a[contains(@href,'share-rapid.cz/')]");
  5610. addObsoleteHost("wooupload\\.com\/\\w+","//a[contains(@href,'wooupload.com/')]");
  5611. addObsoleteHost("megabitshare\\.com\/\\w+","//a[contains(@href,'megabitshare.com/')]");
  5612. addObsoleteHost("uploking\\.com\/\\w+","//a[contains(@href,'uploking.com/')]");
  5613. addObsoleteHost("esnips\\.com\/\\w+","//a[contains(@href,'esnips.com/')]");
  5614. addObsoleteHost("uplly\\.com\/\\w+","//a[contains(@href,'uplly.com/')]");
  5615. addObsoleteHost("ufox\\.com\/\\w+","//a[contains(@href,'ufox.com/')]");
  5616. addObsoleteHost("clz\\.to\/\\w+","//a[contains(@href,'clz.to/')]");
  5617. addObsoleteHost("cloudzer\\.net\/\\w+","//a[contains(@href,'cloudzer.net/')]");
  5618. addObsoleteHost("cloudzer\\.com\/\\w+","//a[contains(@href,'cloudzer.com/')]");
  5619. addObsoleteHost("extabit\\.com\/\\w+","//a[contains(@href,'extabit.com/')]");
  5620. addObsoleteHost("uploadwaste\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5621. addObsoleteHost("247upload\\.com\/\\w+","//a[contains(@href,'uploadwaste.com/')]");
  5622. addObsoleteHost("2download\\.de\/\\w+","//a[contains(@href,'2download.de/')]");
  5623. addObsoleteHost("4fastfile\\.com\/\\w+","//a[contains(@href,'4fastfile.com/')]");
  5624. addObsoleteHost("asixfiles\\.com\/\\w+","//a[contains(@href,'asixfiles.com/')]");
  5625. addObsoleteHost("berofile\\.com\/\\w+","//a[contains(@href,'berofile.com/')]");
  5626. addObsoleteHost("bigupload\\.com\/\\w+","//a[contains(@href,'bigupload.com/')]");
  5627. addObsoleteHost("cepzo\\.com\/\\w+","//a[contains(@href,'cepzo.com/')]");
  5628. addObsoleteHost("czshare\\.com\/\\w+","//a[contains(@href,'czshare.com/')]");
  5629. addObsoleteHost("clouds\\.to\/\\w+","//a[contains(@href,'clouds.to/')]");
  5630. addObsoleteHost("cobrashare\\.sk\/\\w+","//a[contains(@href,'cobrashare.sk/')]");
  5631. addObsoleteHost("coraldrive\\.net\/\\w+","//a[contains(@href,'coraldrive.net/')]");
  5632. addObsoleteHost("cyberlocker\\.ch\/\\w+","//a[contains(@href,'cyberlocker.ch/')]");
  5633. addObsoleteHost("darkport\\.org\/\\w+","//a[contains(@href,'darkport.org/')]");
  5634. addObsoleteHost("dark-uploads\\.com\/\\w+","//a[contains(@href,'dark-uploads.com/')]");
  5635. addObsoleteHost("davvas\\.com\/\\w+","//a[contains(@href,'davvas.com/')]");
  5636. addObsoleteHost("enigmashare\\.com\/\\w+","//a[contains(@href,'enigmashare.com/')]");
  5637. addObsoleteHost("erofly\\.cz\/\\w+","//a[contains(@href,'erofly.cz/')]");
  5638. addObsoleteHost("fastsonic\\.net\/\\w+","//a[contains(@href,'fastsonic.net/')]");
  5639. addObsoleteHost("filebox\\.com\/\\w+","//a[contains(@href,'filebox.com/')]");
  5640. addObsoleteHost("filecity\\.net\/\\w+","//a[contains(@href,'filecity.net/')]");
  5641. addObsoleteHost("filedap\\.com\/\\w+","//a[contains(@href,'filedap.com/')]");
  5642. addObsoleteHost("filedino\\.com\/\\w+","//a[contains(@href,'filedino.com/')]");
  5643. addObsoleteHost("filedownloads\\.org\/\\w+","//a[contains(@href,'filedownloads.org/')]");
  5644. addObsoleteHost("filefolks\\.com\/\\w+","//a[contains(@href,'filefolks.com/')]");
  5645. addObsoleteHost("fileking\\.co\/\\w+","//a[contains(@href,'fileking.co/')]");
  5646. addObsoleteHost("filemates\\.com\/\\w+","//a[contains(@href,'filemates.com/')]");
  5647. addObsoleteHost("files\\.to\/\\w+","//a[contains(@href,'files.to/')]");
  5648. addObsoleteHost("files2k\\.eu\/\\w+","//a[contains(@href,'files2k.eu/')]");
  5649. addObsoleteHost("filesector\\.cc\/\\w+","//a[contains(@href,'filesector.cc/')]");
  5650. addObsoleteHost("filesega\\.com\/\\w+","//a[contains(@href,'filesega.com/')]");
  5651. addObsoleteHost("filesend\\.net\/\\w+","//a[contains(@href,'filesend.net/')]");
  5652. addObsoleteHost("filestay\\.com\/\\w+","//a[contains(@href,'filestay.com/')]");
  5653. addObsoleteHost("filestrum\\.com\/\\w+","//a[contains(@href,'filestrum.com/')]");
  5654. addObsoleteHost("fileuplo\\.de\/\\w+","//a[contains(@href,'fileuplo.de/')]");
  5655. addObsoleteHost("fileupup\\.com\/\\w+","//a[contains(@href,'fileupup.com/')]");
  5656. addObsoleteHost("forunesia\\.com\/\\w+","//a[contains(@href,'forunesia.com/')]");
  5657. addObsoleteHost("freeuploads\\.fr\/\\w+","//a[contains(@href,'freeuploads.fr/')]");
  5658. addObsoleteHost("uploa\\.dk\/\\w+","//a[contains(@href,'uploa.dk/')]");
  5659. addObsoleteHost("getthebit\\.com\/\\w+","//a[contains(@href,'getthebit.com/')]");
  5660. addObsoleteHost("getzilla\\.net\/\\w+","//a[contains(@href,'getzilla.net/')]");
  5661. addObsoleteHost("goldfile\\.eu\/\\w+","//a[contains(@href,'goldfile.eu/')]");
  5662. addObsoleteHost("good\\.com\/\\w+","//a[contains(@href,'good.com/')]");
  5663. addObsoleteHost("grupload\\.com\/\\w+","//a[contains(@href,'grupload.com/')]");
  5664. addObsoleteHost("hellfile\\.com\/\\w+","//a[contains(@href,'hellfile.com/')]");
  5665. addObsoleteHost("hipfile\\.com\/\\w+","//a[contains(@href,'hipfile.com/')]");
  5666. addObsoleteHost("hitfile\\.com\/\\w+","//a[contains(@href,'hitfile.com/')]");
  5667. addObsoleteHost("hulkfile\\.eu\/\\w+","//a[contains(@href,'hulkfile.eu/')]");
  5668. addObsoleteHost("i-filez\\.com\/\\w+","//a[contains(@href,'i-filez.com/')]");
  5669. addObsoleteHost("ifile\\.ws\/\\w+","//a[contains(@href,'ifile.ws/')]");
  5670. addObsoleteHost("kupload\\.org\/\\w+","//a[contains(@href,'kupload.org/')]");
  5671. addObsoleteHost("duckfile\\.net\/\\w+","//a[contains(@href,'duckfile.net/')]");
  5672. addObsoleteHost("packupload\\.com\/\\w+","//a[contains(@href,'packupload.com/')]");
  5673. addObsoleteHost("terafile\\.com\/\\w+","//a[contains(@href,'terafile.com/')]");
  5674. addObsoleteHost("terafile\\.co\/\\w+","//a[contains(@href,'terafile.co/')]");
  5675. addObsoleteHost("fileom\\.com\/\\w+","//a[contains(@href,'fileom.com/')]");
  5676. addObsoleteHost("luckyshare\\.net\/\\w+","//a[contains(@href,'luckyshare.net/')]");
  5677. addObsoleteHost("lemuploads\\.com\/\\w+","//a[contains(@href,'lemuploads.com/')]");
  5678. addObsoleteHost("limelinx\\.com\/\\w+","//a[contains(@href,'limelinx.com/')]");
  5679. addObsoleteHost("maxshare\\.pl\/\\w+","//a[contains(@href,'maxshare.pl/')]");
  5680. addObsoleteHost("megarelease\\.org\/\\w+","//a[contains(@href,'megarelease.org/')]");
  5681. addObsoleteHost("megashare\\.com\/\\w+","//a[contains(@href,'megashare.com/')]");
  5682. addObsoleteHost("minus\\.com\/\\w+","//a[contains(@href,'minus.com/')]");
  5683. addObsoleteHost("mlfat4arab\\.com\/\\w+","//a[contains(@href,'mlfat4arab.com/')]");
  5684. addObsoleteHost("multishare\\.cz\/\\w+","//a[contains(@href,'multishare.cz/')]");
  5685. addObsoleteHost("nirafile\\.com\/\\w+","//a[contains(@href,'nirafile.com/')]");
  5686. addObsoleteHost("ok2upload\\.com\/\\w+","//a[contains(@href,'ok2upload.com/')]");
  5687. addObsoleteHost("peejeshare\\.com\/\\w+","//a[contains(@href,'peejeshare.com/')]");
  5688. addObsoleteHost("premiuns\\.org\/\\w+","//a[contains(@href,'premiuns.org/')]");
  5689. addObsoleteHost("przeklej\\.net\/\\w+","//a[contains(@href,'przeklej.net/')]");
  5690. addObsoleteHost("qkup\\.net\/\\w+","//a[contains(@href,'qkup.net/')]");
  5691. addObsoleteHost("rapidupload\\.sk\/\\w+","//a[contains(@href,'rapidupload.sk/')]");
  5692. addObsoleteHost("rockdizfile\\.com\/\\w+","//a[contains(@href,'rockdizfile.com/')]");
  5693. addObsoleteHost("rocketfile\\.net\/\\w+","//a[contains(@href,'rocketfile.net/')]");
  5694. addObsoleteHost("share-now\\.net\/\\w+","//a[contains(@href,'share-now.net/')]");
  5695. addObsoleteHost("share76\\.com\/\\w+","//a[contains(@href,'share76.com/')]");
  5696. addObsoleteHost("sharebees\\.com\/\\w+","//a[contains(@href,'sharebees.com/')]");
  5697. addObsoleteHost("sharefiles\\.co\/\\w+","//a[contains(@href,'sharefiles.co/')]");
  5698. addObsoleteHost("slingfile\\.com\/\\w+","//a[contains(@href,'slingfile.com/')]");
  5699. addObsoleteHost("sms4file\\.com\/\\w+","//a[contains(@href,'sms4file.com/')]");
  5700. addObsoleteHost("space4file\\.com\/\\w+","//a[contains(@href,'space4file.com/')]");
  5701. addObsoleteHost("tigershare\\.net\/\\w+","//a[contains(@href,'tigershare.net/')]");
  5702. addObsoleteHost("toucansharing\\.com\/\\w+","//a[contains(@href,'toucansharing.com/')]");
  5703. addObsoleteHost("ubuntuone\\.com\/\\w+","//a[contains(@href,'ubuntuone.com/')]");
  5704. addObsoleteHost("unextfiles\\.com\/\\w+","//a[contains(@href,'unextfiles.com/')]");
  5705. addObsoleteHost("upaj\\.pl\/\\w+","//a[contains(@href,'upaj.pl/')]");
  5706. addObsoleteHost("upfile\\.biz\/\\w+","//a[contains(@href,'upfile.biz/')]");
  5707. addObsoleteHost("uploadbin\\.net\/\\w+","//a[contains(@href,'uploadbin.net/')]");
  5708. addObsoleteHost("uploadic\\.com\/\\w+","//a[contains(@href,'uploadic.com/')]");
  5709. addObsoleteHost("uploadinc\\.com\/\\w+","//a[contains(@href,'uploadinc.com/')]");
  5710. addObsoleteHost("uploading4u\\.eu\/\\w+","//a[contains(@href,'uploading4u.eu/')]");
  5711. addObsoleteHost("uploadjet\\.net\/\\w+","//a[contains(@href,'uploadjet.net/')]");
  5712. addObsoleteHost("uploadorb\\.com\/\\w+","//a[contains(@href,'uploadorb.com/')]");
  5713. addObsoleteHost("upthe\\.net\/\\w+","//a[contains(@href,'upthe.net/')]");
  5714. addObsoleteHost("uptorch\\.com\/\\w+","//a[contains(@href,'uptorch.com/')]");
  5715. addObsoleteHost("vidbox\\.yt\/\\w+","//a[contains(@href,'vidbox.yt/')]");
  5716. addObsoleteHost("videozer\\.com\/\\w+","//a[contains(@href,'videozer.com/')]");
  5717. addObsoleteHost("vreer\\.com\/\\w+","//a[contains(@href,'vreer.com/')]");
  5718. addObsoleteHost("wallobit\\.com\/\\w+","//a[contains(@href,'wallobit.com/')]");
  5719. addObsoleteHost("zooupload\\.com\/\\w+","//a[contains(@href,'zooupload.com/')]");
  5720. addObsoleteHost("xerver\\.co\/\\w+","//a[contains(@href,'xerver.co/')]");
  5721. addObsoleteHost("privatefiles\\.com\/\\w+","//a[contains(@href,'privatefiles.com/')]");
  5722. addObsoleteHost("bitshare\\.com\/\\w+","//a[contains(@href,'bitshare.com/')]");
  5723. addObsoleteHost("asfile\\.com\/\\w+","//a[contains(@href,'asfile.com/')]");
  5724. addObsoleteHost("billionuploads\\.com\/\\w+","//a[contains(@href,'billionuploads.com/')]");
  5725. addObsoleteHost("\\*{7,100}\/[\\w\\d]+","//a[contains(@href,'*******/')]");
  5726. addObsoleteHost("filesaur\\.com\/\\w+","//a[contains(@href,'filesaur.com/')]");
  5727. addObsoleteHost("rapidshare\\.com\/\\w+","//a[contains(@href,'rapidshare.com/')]");
  5728. addObsoleteHost("rapidshare\\.ru\/\\w+","//a[contains(@href,'rapidshare.ru/')]");
  5729. addObsoleteHost("filesfrog\\.net\/\\w+","//a[contains(@href,'filesfrog.net/')]");
  5730. addObsoleteHost("4savefile\\.com\/\\w+","//a[contains(@href,'4savefile.com/')]");
  5731. addObsoleteHost("bayfiles\\.com\/\\w+","//a[contains(@href,'bayfiles.com/')]");
  5732. addObsoleteHost("bayfiles\\.net\/\\w+","//a[contains(@href,'bayfiles.net/')]");
  5733. addObsoleteHost("dodane\\.pl\/\\w+","//a[contains(@href,'dodane.pl/')]");
  5734. addObsoleteHost("dotsemper\\.com\/\\w+","//a[contains(@href,'dotsemper.com/')]");
  5735. addObsoleteHost("egofiles\\.com\/\\w+","//a[contains(@href,'egofiles.com/')]");
  5736. addObsoleteHost("epicshare\\.net\/\\w+","//a[contains(@href,'epicshare.net/')]");
  5737. addObsoleteHost("fiberupload\\.net\/\\w+","//a[contains(@href,'fiberupload.net/')]");
  5738. addObsoleteHost("filemonkey\\.in\/\\w+","//a[contains(@href,'filemonkey.in/')]");
  5739. addObsoleteHost("filemonster\\.net\/\\w+","//a[contains(@href,'filemonster.net/')]");
  5740. addObsoleteHost("filepom\\.com\/\\w+","//a[contains(@href,'filepom.com/')]");
  5741. addObsoleteHost("filesbb\\.com\/\\w+","//a[contains(@href,'filesbb.com/')]");
  5742. addObsoleteHost("fileshareup\\.com\/\\w+","//a[contains(@href,'fileshareup.com/')]");
  5743. addObsoleteHost("filevice\\.com\/\\w+","//a[contains(@href,'filevice.com/')]");
  5744. addObsoleteHost("gigaup\\.fr\/\\w+","//a[contains(@href,'gigaup.fr/')]");
  5745. addObsoleteHost("isavelink\\.com\/\\w+","//a[contains(@href,'isavelink.com/')]");
  5746. addObsoleteHost("loombo\\.com\/\\w+","//a[contains(@href,'loombo.com/')]");
  5747. addObsoleteHost("megafiles\\.se\/\\w+","//a[contains(@href,'megafiles.se/')]");
  5748. addObsoleteHost("migupload\\.com\/\\w+","//a[contains(@href,'migupload.com/')]");
  5749. addObsoleteHost("mydisc\\.net\/\\w+","//a[contains(@href,'mydisc.net/')]");
  5750. addObsoleteHost("nitrobits\\.com\/\\w+","//a[contains(@href,'nitrobits.com/')]");
  5751. addObsoleteHost("potload\\.com\/\\w+","//a[contains(@href,'potload.com/')]");
  5752. addObsoleteHost("redload\\.net\/\\w+","//a[contains(@href,'redload.net/')]");
  5753. addObsoleteHost("shareprofi\\.com\/\\w+","//a[contains(@href,'shareprofi.com/')]");
  5754. addObsoleteHost("sharesuper\\.info\/\\w+","//a[contains(@href,'sharesuper.info/')]");
  5755. addObsoleteHost("sinhro\\.net\/\\w+","//a[contains(@href,'sinhro.net/')]");
  5756. addObsoleteHost("speedfile\\.cz\/\\w+","//a[contains(@href,'speedfile.cz/')]");
  5757. addObsoleteHost("speedshare\\.org\/\\w+","//a[contains(@href,'speedshare.org/')]");
  5758. addObsoleteHost("storage.novoro\\.net\/\\w+","//a[contains(@href,'storage.novoro.net/')]");
  5759. addObsoleteHost("swankshare\\.com\/\\w+","//a[contains(@href,'swankshare.com/')]");
  5760. addObsoleteHost("swatupload\\.com\/\\w+","//a[contains(@href,'swatupload.com/')]");
  5761. addObsoleteHost("upafile\\.com\/\\w+","//a[contains(@href,'upafile.com/')]");
  5762. addObsoleteHost("uploadmachine\\.com\/\\w+","//a[contains(@href,'uploadmachine.com/')]");
  5763. addObsoleteHost("uploadsat\\.com\/\\w+","//a[contains(@href,'uploadsat.com/')]");
  5764. addObsoleteHost("upshared\\.com\/\\w+","//a[contains(@href,'upshared.com/')]");
  5765. addObsoleteHost("usefile\\.com\/\\w+","//a[contains(@href,'usefile.com/')]");
  5766. addObsoleteHost("yourfiles\\.to\/\\w+","//a[contains(@href,'yourfiles.to/')]");
  5767. addObsoleteHost("zomgupload\\.com\/\\w+","//a[contains(@href,'zomgupload.com/')]");
  5768. addObsoleteHost("~[\\w\\s~]*","//a[contains(@href,'//~') or contains(@href,'//www.~')]");
  5769. addObsoleteHost("filemup\\.com\/\\w+","//a[contains(@href,'filemup.com/')]");
  5770. addObsoleteHost("tuxfile\\.com\/\\w+","//a[contains(@href,'tuxfile.com/')]");
  5771. addObsoleteHost("ultramegabit\\.com\/\\w+","//a[contains(@href,'ultramegabit.com/')]");
  5772. addObsoleteHost("uploadto\\.us\/\\w+","//a[contains(@href,'uploadto.us/')]");
  5773. addObsoleteHost("filecore\\.co\\.nz\/\\w+","//a[contains(@href,'filecore.co.nz/')]");
  5774. addObsoleteHost("filecore\\.co\/\\w+","//a[contains(@href,'filecore.co/')]");
  5775. addObsoleteHost("fileshare\\.in\\.ua\/\\w+","//a[contains(@href,'fileshare.in.ua/')]");
  5776. addObsoleteHost("firedrive\\.com\/\\w+","//a[contains(@href,'firedrive.com/')]");
  5777. addObsoleteHost("putlocker\\.com\/\\w+","//a[contains(@href,'putlocker.com/')]");
  5778. addObsoleteHost("lumfile\\.com\/\\w+","//a[contains(@href,'lumfile.com/')]");
  5779. addObsoleteHost("lumfile\\.se\/\\w+","//a[contains(@href,'lumfile.se/')]");
  5780. addObsoleteHost("lumfile\\.eu\/\\w+","//a[contains(@href,'lumfile.eu/')]");
  5781. addObsoleteHost("shared\\.com\/\\w+","//a[contains(@href,'shared.com/')]");
  5782. addObsoleteHost("stahovadlo\\.cz\/\\w+","//a[contains(@href,'stahovadlo.cz/')]");
  5783. addObsoleteHost("dizzcloud\\.com\/\\w+","//a[contains(@href,'dizzcloud.com/')]");
  5784. addObsoleteHost("ddlstorage\\.com\/\\w+","//a[contains(@href,'ddlstorage.com/')]");
  5785. addObsoleteHost("dataport\\.cz\/\\w+","//a[contains(@href,'dataport.cz/')]");
  5786. addObsoleteHost("daj\\.to\/\\w+","//a[contains(@href,'daj.to/')]");
  5787. addObsoleteHost("sockshare\\.com\/\\w+","//a[contains(@href,'sockshare.com/')]");
  5788. addObsoleteHost("2drive\\.net\/\\w+","//a[contains(@href,'2drive.net/')]");
  5789. addObsoleteHost("bl\\.st\/\\w+","//a[contains(@href,'bl.st/')]");
  5790. addObsoleteHost("uncapped-downloads\\.com\/\\w+","//a[contains(@href,'uncapped-downloads.com/')]");
  5791. addObsoleteHost("freakshare\\.net\/\\w+","//a[contains(@href,'freakshare.net/')]");
  5792. addObsoleteHost("freakshare\\.com\/\\w+","//a[contains(@href,'freakshare.com/')]");
  5793. addObsoleteHost("sharebeast\\.com\/\\w+","//a[contains(@href,'sharebeast.com/')]");
  5794. addObsoleteHost("tufiles\\.ru\/\\w+","//a[contains(@href,'tufiles.ru/')]");
  5795. addObsoleteHost("crisshare\\.com\/\\w+","//a[contains(@href,'crisshare.com/')]");
  5796. addObsoleteHost("ryushare\\.com\/\\w+","//a[contains(@href,'ryushare.com/')]");
  5797. addObsoleteHost("burnupload\\.com\/\\w+","//a[contains(@href,'burnupload.com') or contains(@href,'burnupload.ihiphop.com')]");
  5798. addObsoleteHost("down4files\\.com\/\\w+","//a[contains(@href,'down4files.com/')]");
  5799. addObsoleteHost("edoc\\.com\/\\w+","//a[contains(@href,'edoc.com/')]");
  5800. addObsoleteHost("migahost\\.com\/\\w+","//a[contains(@href,'migahost.com/')]");
  5801. addObsoleteHost("movreel\\.com\/\\w+","//a[contains(@href,'movreel.com/')]");
  5802. addObsoleteHost("newfileland\\.com\/\\w+","//a[contains(@href,'newfileland.com/')]");
  5803. addObsoleteHost("jumbofile\\.net\/\\w+","//a[contains(@href,'jumbofile.net/')]");
  5804. addObsoleteHost("krotix\\.net\/\\w+","//a[contains(@href,'krotix.net/')]");
  5805. addObsoleteHost("cramit\\.in\/\\w+","//a[contains(@href,'cramitin.net') or contains(@href,'cramit.in')]");
  5806. addObsoleteHost("netload\\.in\/\\w+","//a[contains(@href,'netload.in/')]")
  5807. addObsoleteHost("netload\\.me\/\\w+","//a[contains(@href,'netload.me/')]")
  5808. addObsoleteHost("quickshare\\.cz\/\\w+","//a[contains(@href,'quickshare.cz/')]");
  5809. addObsoleteHost("filepost\\.com\/\\w+","//a[contains(@href,'filepost.com/')]");
  5810. addObsoleteHost("uploadhero\\.com\/\\w+","//a[contains(@href,'uploadhero.com/')]");
  5811. addObsoleteHost("uploadhero\\.co\/\\w+","//a[contains(@href,'uploadhero.co/')]");
  5812. addObsoleteHost("inafile\\.com\/\\w+","//a[contains(@href,'inafile.com/')]");
  5813. addObsoleteHost("megairon\\.net\/\\w+","//a[contains(@href,'megairon.net/')]");
  5814. addObsoleteHost("rapidsonic\\.com\/\\w+","//a[contains(@href,'rapidsonic.com/')]");
  5815. addObsoleteHost("fileparadox\\.com\/\\w+","//a[contains(@href,'fileparadox.com/')]");
  5816. addObsoleteHost("fileparadox\\.in\/\\w+","//a[contains(@href,'fileparadox.in/')]");
  5817. addObsoleteHost("linksave\\.in\/\\w+","//a[contains(@href,'linksave.in/')]");
  5818. addObsoleteHost("secured\\.in\/\\w+","//a[contains(@href,'secured.in/')]");
  5819. addObsoleteHost("geupload\\.com\/\\w+","//a[contains(@href,'geupload.com/')]");
  5820. addObsoleteHost("lenfile\\.com\/\\w+","//a[contains(@href,'lenfile.com/')]");
  5821. addObsoleteHost("uploadnet\\.co\/\\w+","//a[contains(@href,'uploadnet.co/')]");
  5822. addObsoleteHost("seenupload\\.com\/\\w+","//a[contains(@href,'seenupload.com/')]");
  5823. addObsoleteHost("180upload\\.com\/\\w+","//a[contains(@href,'180upload.com/')]");
  5824. addObsoleteHost("sangfile\\.com\/\\w+","//a[contains(@href,'sangfile.com/')]");
  5825. addObsoleteHost("filestorm\\.to\/\\w+","//a[contains(@href,'filestorm.to/')]");
  5826. addObsoleteHost("fileover\\.net\/\\w+","//a[contains(@href,'fileover.net/')]");
  5827. addObsoleteHost("4upfiles\\.com\/\\w+","//a[contains(@href,'4upfiles.com/')]");
  5828. addObsoleteHost("elffiles\\.com\/\\w+","//a[contains(@href,'elffiles.com/')]");
  5829. addObsoleteHost("sharingmaster\\.com\/\\w+","//a[contains(@href,'sharingmaster.com/')]");
  5830. addObsoleteHost("fileinz\\.com\/\\w+","//a[contains(@href,'fileinz.com/')]");
  5831. addObsoleteHost("rapidfilehost\\.com\/\\w+","//a[contains(@href,'rapidfilehost.com/')]");
  5832. addObsoleteHost("sanshare\\.com\/\\w+","//a[contains(@href,'sanshare.com/')]");
  5833. addObsoleteHost("storagon\\.com\/\\w+","//a[contains(@href,'storagon.com/')]");
  5834. addObsoleteHost("24uploading\\.com\/\\w+","//a[contains(@href,'24uploading.com/')]");
  5835. addObsoleteHost("fileband\\.com\/\\w+","//a[contains(@href,'fileband.com/')]");
  5836. addObsoleteHost("filecloud\\.cc\/\\w+","//a[contains(@href,'filecloud.cc/')]");
  5837. addObsoleteHost("filesmelt\\.com\/\\w+","//a[contains(@href,'filesmelt.com/')]");
  5838. addObsoleteHost("goldbytez\\.com\/\\w+","//a[contains(@href,'goldbytez.com/')]");
  5839. addObsoleteHost("hulkshare\\.com\/\\w+","//a[contains(@href,'hulkshare.com/')]");
  5840. addObsoleteHost("idup\\.in\/\\w+","//a[contains(@href,'idup.in/')]");
  5841. addObsoleteHost("loudupload\\.net\/\\w+","//a[contains(@href,'loudupload.net/')]");
  5842. addObsoleteHost("muchshare\\.net\/\\w+","//a[contains(@href,'muchshare.net/')]");
  5843. addObsoleteHost("myupload\\.dk\/\\w+","//a[contains(@href,'myupload.dk/')]");
  5844. addObsoleteHost("nekaka\\.com\/\\w+","//a[contains(@href,'nekaka.com/')]");
  5845. addObsoleteHost("netkups\\.com\/\\w+","//a[contains(@href,'netkups.com/')]");
  5846. addObsoleteHost("plunder\\.com\/\\w+","//a[contains(@href,'plunder.com/')]");
  5847. addObsoleteHost("uploads\\.xxx\/\\w+","//a[contains(@href,'uploads.xxx/')]");
  5848. addObsoleteHost("uploadspace\\.pl\/\\w+","//a[contains(@href,'uploadspace.pl/')]");
  5849. addObsoleteHost("xkeepfile\\.com\/\\w+","//a[contains(@href,'xkeepfile.com/')]");
  5850. addObsoleteHost("warped\\.co\/\\w+","//a[contains(@href,'warped.co/')]");
  5851. // obsolete start start2
  5852. }
  5853. //obsolete file hosts init end
  5854. //Add Host Example
  5855. /* if (GM_getValue("Check_datafile_dot_com_links", false))
  5856. {
  5857. addFileHost(
  5858. "datafile\.com\/\\w+",
  5859. 'var captchaPanel|<link href="/css/files_download.css"',
  5860. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  5861. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  5862. '<style type="text/css">',
  5863. "//a[contains(@href,'datafile.com')]",
  5864. true);
  5865. } */
  5866.  
  5867. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, ispremRegex, xpathEx, tryLoop)
  5868. {
  5869. var host = new Array(7);
  5870. host[0] = linkRegex;
  5871. host[1] = isAliveRegex;
  5872. host[2] = isDeadRegex;
  5873. host[3] = isUnavaRegex;
  5874. host[6] = ispremRegex;
  5875. host[4] = xpathEx;
  5876. tryLoop ? host[5] = true : host[5] = false;
  5877. http_file_hosts.push(host);
  5878. }
  5879. if (GM_getValue("Check_megafileupload_dot_com_links", false))
  5880. {
  5881. addFileHost(
  5882. "megafileupload\.com\/..\/file\/",
  5883. 'downloadbtn',
  5884. 'is not found',
  5885. 'optional--',
  5886. 'optional2--',
  5887. "//a[contains(@href,'megafileupload.com')]");
  5888. }
  5889. if (GM_getValue("Check_demo_dot_ovh_dot_eu_links", false))
  5890. {
  5891. addFileHost(
  5892. "demo\\.ovh\\.eu\/\\w+\/\\w+",
  5893. 'download\\.gif"',
  5894. 'p_point">',
  5895. 'optional--',
  5896. 'optional2--',
  5897. "//a[contains(@href,'demo.ovh.eu')]");
  5898. }
  5899. if (GM_getValue("Check_safelinking_dot_net_links", false))
  5900. {
  5901. addFileHost(
  5902. "safelinking\\.net\/p\/\\w+",
  5903. 'color:green;"',
  5904. 'color:(?:red|orange);"',
  5905. 'color:(?:grey|brown);"',
  5906. 'optional2--',
  5907. "//a[contains(@href,'safelinking.net/p/')]",
  5908. true);
  5909. }
  5910. if (GM_getValue("Check_fastshare_dot_cz_links", false))
  5911. {
  5912. addFileHost(
  5913. "fastshare\\.cz\/\\d+\/\\w*",
  5914. 'dwntable">|speed-low',
  5915. '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',
  5916. 'optional--',
  5917. 'optional2--',
  5918. "//a[contains(@href,'fastshare.cz')]");
  5919. }
  5920. if (GM_getValue("Check_fastshare_dot_org_links", false))
  5921. {
  5922. addFileHost(
  5923. "[fF]ast[sS]hare\\.org\/download",
  5924. 'Download ">',
  5925. 'Diese Datei wurde wegen|wurde kein Dateiname',
  5926. 'optional--',
  5927. 'optional2--',
  5928. "//a[contains(@href,'fastshare.org/download') or contains(@href,'FastShare.org/download')]");
  5929. }
  5930. if (GM_getValue("Check_partage_dash_facile_dot_com_links", false))
  5931. {
  5932. addFileHost(
  5933. "partage-facile\.com\/\\w+",
  5934. 'class="title"><strong>|colspan="2"',
  5935. 'Page introuvable|class="alert-message',
  5936. 'optional--',
  5937. 'optional2--',
  5938. "//a[contains(@href,'partage-facile.com')]");
  5939. }
  5940. if (GM_getValue("Check_rapidgator_dot_net_links", false))
  5941. {
  5942. addFileHost(
  5943. "rapidgator\\.net\/file\/\\w+",
  5944. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5945. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  5946. 'optional--',
  5947. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|files up to 1 GB in free mode|You can download files up to 2 GB in free mode',
  5948. "//a[contains(@href,'rapidgator.net/file')]",
  5949. true
  5950. );
  5951. }
  5952. if (GM_getValue("Check_rg_dot_to_links", false))
  5953. {
  5954. addFileHost(
  5955. "rg\.to\/\\w+",
  5956. '/download/AjaxStartTimer|not more than 1 file at a time|download more than 1 file at a time|your hourly downloads limit|почасовой лимит скачиваний|limite horaire de téléchargements|límite de descargas en una hora',
  5957. 'Error 404|File not found|Error 500|Файл не найден|ファイルが探せませんでした|Fichier non trouvé|Archivo no encontrado|Select your plan|Fichier introuvable',
  5958. 'optional--',
  5959. 'can be downloaded by premium only|files up to 500 MB in free mode|up to 400 MB in free|You can download files up to 2 GB in free mode|files up to 1 GB in free mode',
  5960. "//a[contains(@href,'rg.to')]");
  5961. }
  5962. if (GM_getValue("Check_relink_dot_us_links", false))
  5963. {
  5964. addFileHost(
  5965. "relink\\.us\/(?:f\/\\w+|go\\.php\\?id=\\d+|view\\.php\\?id=\\d+)",
  5966. 'online_detail\\.png" alt="Status',
  5967. '(?:offline|partially)_detail\\.png" alt="Status|File deleted',
  5968. 'unknown_detail\\.png" alt="Status',
  5969. 'optional2--',
  5970. "//a[contains(@href,'relink.us/')]"
  5971. );
  5972. }
  5973. if (GM_getValue("Check_uploadstube_dot_de_links", false))
  5974. {
  5975. addFileHost(
  5976. "uploadstube\\.de\/download\\.php\\?file=\\d+",
  5977. 'div id="dl"',
  5978. 'Sie haben den Link falsch',
  5979. 'optional--',
  5980. 'optional2--',
  5981. "//a[contains(@href,'uploadstube.de/download.php?file=')]"
  5982. );
  5983. }
  5984. if (GM_getValue("Check_flyfiles_dot_net_links", false))
  5985. {
  5986. addFileHost(
  5987. "flyfiles\\.net\/\\w+",
  5988. 'download_button"|"Download file"',
  5989. 'File not found!|Файл не найден',
  5990. 'optional--',
  5991. 'optional2--',
  5992. "//a[contains(@href,'flyfiles.net/')]"
  5993. );
  5994. }
  5995. if (GM_getValue("Check_wikiupload_dot_com_links", false))
  5996. {
  5997. addFileHost(
  5998. "wikiupload\\.com\/\\w+",
  5999. 'download-button">',
  6000. 'Sorry, File not found',
  6001. 'optional--',
  6002. 'optional2--',
  6003. "//a[contains(@href,'wikiupload.com/')]"
  6004. );
  6005. }
  6006. if (GM_getValue("Check_hostuje_dot_net_links", false))
  6007. {
  6008. addFileHost(
  6009. "hostuje\\.net\/file\\.php\\?id=\\w+",
  6010. 'file\\.php">|Pobierz Plik',
  6011. 'Podany plik nie zosta',
  6012. 'optional--',
  6013. 'optional2--',
  6014. "//a[contains(@href,'hostuje.net/file')]"
  6015. );
  6016. }
  6017. if (GM_getValue("Check_gettyfile_dot_ru_links", false))
  6018. {
  6019. addFileHost(
  6020. "gettyfile\\.ru\/\\d+",
  6021. 'download\\.gif border',
  6022. '<center><font size="3">',
  6023. 'optional--',
  6024. 'optional2--',
  6025. "//a[contains(@href,'gettyfile.ru/')]"
  6026. );
  6027. }
  6028. if (GM_getValue("Check_turbobit_dot_ru_links", false))
  6029. {
  6030. addFileHost(
  6031. "(?:turbob1t|failoobmenik|filesmail|firebit|dlbit|files\\.china\\-gsm|3aka4aem|file\\.piratski|mnogofiles|links-free|turbo-bit|turbosfiles)\\.\\w+\/\\w+",
  6032. 'download\\-file">',
  6033. 'col-1">\\s*<h1>',
  6034. 'optional--',
  6035. 'optional2--',
  6036. "//a[contains(@href,'turbobit.ru/') or contains(@href,'filesmail.ru/') or contains(@href,'failoobmenik.ru/')"+
  6037. " or contains(@href,'firebit.in/') or contains(@href,'dlbit.net/') or contains(@href,'files.china-gsm.ru/') or contains(@href,'3aka4aem.ru/')"+
  6038. " or contains(@href,'file.piratski.ru/') or contains(@href,'mnogofiles.com/') or contains(@href,'links-free.ru/')"+
  6039. " or contains(@href,'turbo-bit.ru/') or contains(@href,'turbosfiles.ru/')]"
  6040. );
  6041. }
  6042. if (GM_getValue("Check_data_dot_hu_links", false))
  6043. {
  6044. addFileHost(
  6045. "data\\.hu\/get\/\\d+\/",
  6046. 'download_box_button',
  6047. 'missing\\.php',
  6048. 'optional--',
  6049. 'optional2--',
  6050. "//a[contains(@href,'data.hu/get')]",
  6051. true
  6052. );
  6053. }
  6054. if (GM_getValue("Check_indowebster_dot_com_links", false))
  6055. {
  6056. addFileHost(
  6057. "(?:files\\.)?indowebster\\.com\/download\/\\w+\/",
  6058. 'premiumBtn"',
  6059. 'errorMessage"',
  6060. 'optional--',
  6061. 'optional2--',
  6062. "//a[contains(@href,'indowebster.com/download')]"
  6063. );
  6064. }
  6065. if (GM_getValue("Check_superload_dot_cz_links", false))
  6066. {
  6067. addFileHost(
  6068. "superload\\.cz\/dl\/\\w+",
  6069. 'icon-download">',
  6070. 'soubor nebyl nalezen',
  6071. 'optional--',
  6072. 'optional2--',
  6073. "//a[contains(@href,'superload.cz/dl')]"
  6074. );
  6075. }
  6076. if (GM_getValue("Check_hulkfile_dot_eu_links", false))
  6077. {
  6078. addFileHost(
  6079. "(?:w\\.hulkfile\\.com|hulkfile\\.eu)\/\\w+",
  6080. 'op" value="download',
  6081. 'class="err">|width:500px;text-align:left;">',
  6082. 'optional--',
  6083. 'optional2--',
  6084. "//a[contains(@href,'hulkfile.')]"
  6085. );
  6086. }
  6087. if (GM_getValue("Check_easybytez_dot_com_links", false))
  6088. {
  6089. addFileHost(
  6090. "easybytez\\.com\/\\w+",
  6091. 'op" value="download',
  6092. 'stop_error\\.gif',
  6093. 'optional--',
  6094. 'optional2--',
  6095. "//a[contains(@href,'easybytez.com/')]"
  6096. );
  6097. }
  6098. if (GM_getValue("Check_filestore_dot_com_dot_ua_links", false))
  6099. {
  6100. addFileHost(
  6101. "filestore\\.com\\.ua\/\\?d=\\w+",
  6102. 'tdrow1>',
  6103. 'class=warn',
  6104. 'optional--',
  6105. 'optional2--',
  6106. "//a[contains(@href,'filestore.com.ua/?d=')]"
  6107. );
  6108. }
  6109. if (GM_getValue("Check_openfile_dot_ru_links", false))
  6110. {
  6111. addFileHost(
  6112. "openfile\\.ru\/(?:video\/|)\\d+",
  6113. 'videobox_left">',
  6114. 'blog_title">|not found on this server',
  6115. 'optional--',
  6116. 'optional2--',
  6117. "//a[contains(@href,'openfile.ru/')]"
  6118. );
  6119. }
  6120. if (GM_getValue("Check_extmatrix_dot_com_links", false))
  6121. {
  6122. addFileHost(
  6123. "extmatrix\\.com\/files\/\\w+",
  6124. 'div class="success"',
  6125. 'div class="error"',
  6126. 'optional--',
  6127. 'optional2--',
  6128. "//a[contains(@href,'extmatrix.com/files')]"
  6129. );
  6130. }
  6131. if (GM_getValue("Check_sendfiles_dot_nl_links", false))
  6132. {
  6133. addFileHost(
  6134. "sendfiles\\.nl\/download.aspx\\?ID=\\w+",
  6135. 'content_lnkDownload',
  6136. 'error\\.aspx\\?',
  6137. 'optional--',
  6138. 'optional2--',
  6139. "//a[contains(@href,'sendfiles.nl/download.aspx')]"
  6140. );
  6141. }
  6142. if (GM_getValue("Check_yourfilestore_dot_com_links", false))
  6143. {
  6144. addFileHost(
  6145. "yourfilestore\\.com\/download\/\\d+\/",
  6146. 'download_data">',
  6147. 'may have been deleted|<h1>Sorry!<\/h1>',
  6148. 'optional--',
  6149. 'optional2--',
  6150. "//a[contains(@href,'yourfilestore.com/download')]"
  6151. );
  6152. }
  6153. if (GM_getValue("Check_filebig_dot_net_links", false))
  6154. {
  6155. addFileHost(
  6156. "filebig\\.net\/files\/\\w+",
  6157. 'downloadFile">',
  6158. '<p>File not found<\/p>',
  6159. 'optional--',
  6160. 'optional2--',
  6161. "//a[contains(@href,'filebig.net/files')]"
  6162. );
  6163. }
  6164. if (GM_getValue("Check_gamefront_dot_com_links", false))
  6165. {
  6166. addFileHost(
  6167. "files\\.filefront\\.com\/\/;\\d+;;",
  6168. 'downloadLink">',
  6169. 'File not found, you',
  6170. 'optional--',
  6171. 'optional2--',
  6172. "//a[contains(@href,'files.filefront.com')]"
  6173. );
  6174.  
  6175. addFileHost(
  6176. "gamefront\\.com\/files\/\\d+",
  6177. 'downloadLink">',
  6178. 'File not found, you',
  6179. 'optional--',
  6180. 'optional2--',
  6181. "//a[contains(@href,'gamefront.com/files')]"
  6182. );
  6183. }
  6184. if (GM_getValue("Check_hyperfileshare_dot_com_links", false))
  6185. {
  6186. addFileHost(
  6187. "(?:download\\.|)hyperfileshare\\.com\/(?:download\\.php\\?code=|d\/)\\w+",
  6188. 'dnlLnk"',
  6189. 'already been deleted',
  6190. 'optional--',
  6191. 'optional2--',
  6192. "//a[contains(@href,'hyperfileshare.com/download') or contains(@href,'hyperfileshare.com/d')]"
  6193. );
  6194. }
  6195. if (GM_getValue("Check_hellupload_dot_com_links", false))
  6196. {
  6197. addFileHost(
  6198. "hellupload\\.com\/\\w+",
  6199. '<h3>Download File<br',
  6200. 'id="podstrona">|AVOID_IE_BUG',
  6201. 'optional--',
  6202. 'optional2--',
  6203. "//a[contains(@href,'hellupload.com/')]"
  6204. );
  6205. }
  6206. if (GM_getValue("Check_free_dash_uploading_dot_com_links", false))
  6207. {
  6208. addFileHost(
  6209. "free\\-uploading\\.com\/\\w+",
  6210. 'op" value="download',
  6211. 'class="err">|width:500px;text-align:left;">',
  6212. 'optional--',
  6213. 'optional2--',
  6214. "//a[contains(@href,'free-uploading.com/')]"
  6215. );
  6216. }
  6217. if (GM_getValue("Check_fileape_dot_com_links", false))
  6218. {
  6219. addFileHost(
  6220. "fileape\\.com\/download\\-",
  6221. 'button_dl\\.png',
  6222. 'does not exist\\.',
  6223. 'optional--',
  6224. 'optional2--',
  6225. "//a[contains(@href,'fileape.com/')]"
  6226. );
  6227. }
  6228. if (GM_getValue("Check_uppit_dot_com_links", false))
  6229. {
  6230. addFileHost(
  6231. "(?:uppit\\.com|up\\.ht|upx\\.nz)\/\\w+",
  6232. 'op" value="download',
  6233. 'class="err">|style="width:500px;text-align:left;"|fish-404\\.png"',
  6234. 'optional--',
  6235. 'optional2--',
  6236. "//a[contains(@href,'up.ht/') or contains(@href,'uppit.com/') or contains(@href,'upx.nz/')]",
  6237. true
  6238. );
  6239. }
  6240. if (GM_getValue("Check_nosupload_dot_com_links", false))
  6241. {
  6242. addFileHost(
  6243. "nosupload\\.com\/(?:\\?d=)?\\w+",
  6244. 'op" value="download',
  6245. '>File Not Found<',
  6246. 'optional--',
  6247. 'optional2--',
  6248. "//a[contains(@href,'nosupload.com')]",
  6249. true
  6250. );
  6251. }
  6252. if (GM_getValue("Check_filesin_dot_com_links", false))
  6253. {
  6254. addFileHost(
  6255. "filesin\\.com\/\\w+\/download\\.html",
  6256. 'download_area">',
  6257. 'error_note">',
  6258. 'optional--',
  6259. 'optional2--',
  6260. "//a[contains(@href,'filesin.com/')]",
  6261. true
  6262. );
  6263. }
  6264. if (GM_getValue("Check_nowdownload_dot_ch_links", false))
  6265. {
  6266. addFileHost(
  6267. "nowdownload\\.ch\/dl\/\\w+",
  6268. 'alert-success"',
  6269. 'This file does not exist!',
  6270. 'The file is being transfered',
  6271. 'optional2--',
  6272. "//a[contains(@href,'nowdownload.ch/dl')]"
  6273. );
  6274. }
  6275. if (GM_getValue("Check_axifile_dot_com_links", false))
  6276. {
  6277. addFileHost(
  6278. "axifile\\.com(?:\/\w(2))?\/\\??\\w+",
  6279. 'Dbutton_big"',
  6280. 'download\\-error\\.php',
  6281. 'optional--',
  6282. 'optional2--',
  6283. "//a[contains(@href,'axifile.com/')]"
  6284. );
  6285. }
  6286. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6287. {
  6288. addFileHost(
  6289. "turbobit\\.(?:net|pl)\/download\/folder\/\\d+",
  6290. 'col-1">\\s*<s',
  6291. 'col-1">\\s*<h',
  6292. 'optional--',
  6293. 'optional2--',
  6294. "//a[contains(@href,'turbobit.') and contains(@href,'download/folder')]"
  6295. );
  6296. }
  6297. if (GM_getValue("Check_turbobit_dot_net_links", false)) //folders
  6298. {
  6299. addFileHost(
  6300. "turbobit\\.(?:net|pl)",
  6301. 'id="download-gate-info|id="file-list',
  6302. 'afterWait()|no files in this folder',
  6303. 'optional--',
  6304. 'optional2--',
  6305. "//a[contains(@href,'turbobit.net')]"
  6306. );
  6307. }
  6308. if (GM_getValue("Check_hitfile_dot_net_links", false)) //folders
  6309. {
  6310. addFileHost(
  6311. "hitfile\\.net\/download\/folder\/\\d+",
  6312. 'content">\\s*<s',
  6313. 'content">\\s*<h',
  6314. 'optional--',
  6315. 'optional2--',
  6316. "//a[contains(@href,'hitfile.net/download/folder')]"
  6317. );
  6318. }
  6319. if (GM_getValue("Check_movshare_dot_net_links", false))
  6320. {
  6321. addFileHost(
  6322. "movshare\\.net\\/video\\/\\w+",
  6323. 'optional--"',
  6324. 'no longer exists',
  6325. 'optional--',
  6326. 'optional2--',
  6327. "//a[contains(@href,'movshare.net/video')]"
  6328. );
  6329. }
  6330. if (GM_getValue("Check_mafiastorage_dot_com_links", false))
  6331. {
  6332. addFileHost(
  6333. "mafiastorage\\.com\/\\w+",
  6334. 'op" value="download',
  6335. 'class="err">|style="width:500px;text-align:left;"',
  6336. 'optional--',
  6337. 'optional2--',
  6338. "//a[contains(@href,'mafiastorage.com/')]"
  6339. );
  6340. }
  6341. if (GM_getValue("Check_uploadingit_dot_com_links", false))
  6342. {
  6343. addFileHost(
  6344. "uploadingit\\.com\/file\/\\w+",
  6345. 'downloadTitle">',
  6346. 'deleteContent">',
  6347. 'optional--',
  6348. 'optional2--',
  6349. "//a[contains(@href,'uploadingit.com/file')]"
  6350. );
  6351. }
  6352. if (GM_getValue("Check_rghost_dot_net_links", false))
  6353. {
  6354. addFileHost(
  6355. "rghost\.(?:net|ru)\/(?:|private\/)\\d+",
  6356. 'download_link|btn large download',
  6357. 'file is restricted|File is deleted|503 Service Unavailable',
  6358. 'optional--',
  6359. 'optional2--',
  6360. "//a[contains(@href,'rghost.')]"
  6361. );
  6362. }
  6363. if (GM_getValue("Check_xdisk_dot_cz_links", false))
  6364. {
  6365. addFileHost(
  6366. "xdisk\\.cz\/(?:..\/)?download\\.php\\?id=\\w+",
  6367. '">Staženo:\\s*<\/span>',
  6368. 'Soubor, který hledáte nenalezen',
  6369. 'optional--',
  6370. 'optional2--',
  6371. "//a[contains(@href,'xdisk.cz/')]"
  6372. );
  6373. }
  6374. if (GM_getValue("Check_2downloadz_dot_com_links", false))
  6375. {
  6376. addFileHost(
  6377. "2downloadz\.com\/\\w+",
  6378. 'color="#848484|src="images/Download.png"|color:#238DCA',
  6379. 'color="#006DCC|File error',
  6380. 'optional--',
  6381. 'optional2--',
  6382. "//a[contains(@href,'2downloadz.com')]");
  6383. }
  6384. if (GM_getValue("Check_mightyupload_dot_com_links", false))
  6385. {
  6386. addFileHost(
  6387. "mightyupload\.com\/\\w+",
  6388. 'background:#ccc;text-align|CONTENT="Download File"',
  6389. 'style="background:#eee|var rr =|File Not Found',
  6390. 'error-code">1010',
  6391. 'optional2--',
  6392. "//a[contains(@href,'mightyupload.com')]");
  6393. }
  6394. if (GM_getValue("Check_anysend_dot_com_links", false))
  6395. {
  6396. addFileHost(
  6397. "anysend\.com\/\\w+",
  6398. 'var openCalled=false;|content="noindex"',
  6399. '_trackPageview',
  6400. 'optional--',
  6401. 'optional2--',
  6402. "//a[contains(@href,'anysend.com')]");
  6403. }
  6404. if (GM_getValue("Check_datafile_dot_com_links", false))
  6405. {
  6406. addFileHost(
  6407. "datafile\.com\/\\w+",
  6408. 'var captchaPanel', //|<link href="/css/files_download.css"',
  6409. 'ErrorCode|ErrorCode 0: Invalid Link|btn-orange" href="#"',
  6410. 'You are downloading another file at this moment|You exceeded your free|Site Maintenance',
  6411. '; 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">
  6412. "//a[contains(@href,'datafile.com')]",
  6413. true);
  6414. }
  6415. if (GM_getValue("Check_upstore_dot_net_links", false))
  6416. {
  6417. addFileHost(
  6418. "upstore\.net\/\\w+",
  6419. 'name="free"',
  6420. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6421. 'optional--',
  6422. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6423. "//a[contains(@href,'upstore.net')]");
  6424. }
  6425. if (GM_getValue("Check_upsto_dot_re_links", false))
  6426. {
  6427. addFileHost(
  6428. "upsto\.re\/\\w+",
  6429. 'name="free"', //style="margin-top: 20px">|style="text-align:center; margin: 20px 0 100px;">
  6430. 'File not found|onload="redirect|class="error">|Файл был удалён',
  6431. 'optional--',
  6432. 'This file is available only for Premium users|Этот файл распространяется только среди Премиум пользователей',
  6433. "//a[contains(@href,'upsto.re')]");
  6434. }
  6435. if (GM_getValue("Check_speedy_dot_sh_links", false))
  6436. {
  6437. addFileHost(
  6438. "speedy\.sh\/\\w+",
  6439. 'bgcolor=#eeeeee|class="addthis',
  6440. 'File not found|downloadfilenamenotfound>',
  6441. 'optional--',
  6442. 'optional2--',
  6443. "//a[contains(@href,'speedy.sh')]");
  6444. }
  6445. if (GM_getValue("Check_kingfiles_dot_net_links", false))
  6446. {
  6447. addFileHost(
  6448. "kingfiles\.net\/\\w+",
  6449. 'method_free|images/loading_small.gif"',
  6450. 'var rr =|"description" CONTENT="Download File ">|<div style="width:500px;text-align:left;">|The file was removed by administrator',
  6451. 'optional--',
  6452. 'optional2--',
  6453. "//a[contains(@href,'kingfiles.net')]");
  6454. }
  6455. if (GM_getValue("Check_secureupload_dot_eu_links", false))
  6456. {
  6457. addFileHost(
  6458. "secureupload\\.eu\/\\w+",
  6459. 'Downloading',
  6460. 'cannot be found|File Not Found|could not be found|ne pourrait pas etre trouve|konnte nicht gefunden werden',
  6461. 'optional--',
  6462. 'optional2--',
  6463. "//a[contains(@href,'secureupload.eu')]"
  6464. );
  6465. }
  6466. if (GM_getValue("Check_ge_dot_tt_links", false))
  6467. {
  6468. addFileHost(
  6469. "ge\.tt\/\\w+",
  6470. 'downloads pic',
  6471. 'is NOT the same as',
  6472. 'optional--',
  6473. 'optional2--',
  6474. "//a[contains(@href,'ge.tt')]");
  6475. }
  6476. if (GM_getValue("Check_filefactory_dot_com_links", false))
  6477. {
  6478. addFileHost(
  6479. "filefactory\.com\/\\w+",
  6480. 'div id="file_holder"|download.css',
  6481. 'File Removed|Invalid Download Link|File Unavailable|Server Failed|Datei entfernt|This file has been removed|Invalid Download Link',
  6482. 'Server Maintenance|temporarily overloaded',
  6483. 'Premium Account Required',
  6484. "//a[contains(@href,'filefactory.com')]");
  6485. }
  6486. if (GM_getValue("Check_filesflash_dot_net_links", false))
  6487. {
  6488. addFileHost(
  6489. "filesflash\.net\/\\w+",
  6490. 'align:right">Filename:',
  6491. 'class="msg">',
  6492. 'optional--',
  6493. 'optional2--',
  6494. "//a[contains(@href,'filesflash.net')]");
  6495. }
  6496. if (GM_getValue("Check_rapidgator_dot_net_links", false)) //folders
  6497. {
  6498. addFileHost(
  6499. "rapidgator\\.net\/folder\/\\w+",
  6500. 'href="/folder/',
  6501. 'class="empty|Folder not found|Carpeta no encontrada|Dossier non trouvé|Папка не найдена',
  6502. 'optional--',
  6503. 'optional2--',
  6504. "//a[contains(@href,'rapidgator.net/folder')]",
  6505. true
  6506. );
  6507. }
  6508. if (GM_getValue("Check_salefiles_dot_com_links", false))
  6509. {
  6510. addFileHost(
  6511. "salefiles\.com\/\\w+",
  6512. 'name="method_free',
  6513. 'font:15px Arial|background:#eee;|file was removed by administrator|style="width:500px;text-align:left;">',
  6514. 'optional--',
  6515. 'optional2--',
  6516. "//a[contains(@href,'salefiles.com')]");
  6517. }
  6518. if (GM_getValue("Check_datoid_dot_cz_links", false))
  6519. {
  6520. addFileHost(
  6521. "datoid\.cz\/\\w+",
  6522. 'btn-download|class="icon-download-large"',
  6523. 'Stránka nenalezena|error-404|Soubor byl zablokován',
  6524. 'optional--',
  6525. 'optional2--',
  6526. "//a[contains(@href,'datoid.cz')]");
  6527. }
  6528. if (GM_getValue("Check_stiahni_dot_si_links", false))
  6529. {
  6530. addFileHost(
  6531. "stiahni\.si\/\\w+",
  6532. 'report_icon.png"|slow-download-button',
  6533. 'none.png|deleted|<h2>Error 500</h2>',
  6534. 'optional--',
  6535. 'optional2--',
  6536. "//a[contains(@href,'stiahni.si')]");
  6537. }
  6538. if (GM_getValue("Check_cloudstor_dot_es_links", false))
  6539. {
  6540. addFileHost(
  6541. "cloudstor\.es\/\\w+",
  6542. '"btn_download"',
  6543. '404: Page Not Found',
  6544. 'optional--',
  6545. 'optional2--',
  6546. "//a[contains(@href,'cloudstor.es')]");
  6547. }
  6548. if (GM_getValue("Check_streamfile_dot_com_links", false))
  6549. {
  6550. addFileHost(
  6551. "streamfile\.com\/\\w+",
  6552. 'class="btn',
  6553. 'class="green-btn',
  6554. 'optional--',
  6555. 'optional2--',
  6556. "//a[contains(@href,'streamfile.com')]");
  6557. }
  6558. if (GM_getValue("Check_eyesfile_dot_ca_links", false))
  6559. {
  6560. addFileHost(
  6561. "eyesfile\.ca\/\\w+",
  6562. 'value="Get Link',
  6563. 'var rr =',
  6564. 'optional--',
  6565. 'optional2--',
  6566. "//a[contains(@href,'eyesfile.ca')]");
  6567. }
  6568. if (GM_getValue("Check_filemoney_dot_com_links", false))
  6569. {
  6570. addFileHost(
  6571. "filemoney\.com\/\\w+",
  6572. 'og:title',
  6573. '404 Not Found|<Title>FileMoney|File Not Found|class="err">DMCA</b>',
  6574. 'error-code">1010',
  6575. 'optional2--',
  6576. "//a[contains(@href,'filemoney.com')]");
  6577. }
  6578. if (GM_getValue("Check_uploadboy_dot_com_links", false))
  6579. {
  6580. addFileHost(
  6581. "uploadboy\.com\/\\w+",
  6582. 'width="740">|method_free',
  6583. 'var rr =|background:#ffffff|not be found|file was removed',
  6584. 'optional--',
  6585. 'optional2--',
  6586. "//a[contains(@href,'uploadboy.com')]");
  6587. }
  6588. if (GM_getValue("Check_uploadboy_dot_me_links", false))
  6589. {
  6590. addFileHost(
  6591. "uploadboy\.com\/\\w+",
  6592. 'width="740">|method_free',
  6593. 'var rr =|background:#ffffff|not be found|file was removed',
  6594. 'optional--',
  6595. 'optional2--',
  6596. "//a[contains(@href,'uploadboy.me')]");
  6597. }
  6598. if (GM_getValue("Check_speedshare_dot_eu_links", false))
  6599. {
  6600. addFileHost(
  6601. "speedshare\.eu\/\\w+",
  6602. 'favicon.png|color:#3d87c0|cross.png"',
  6603. 'var rr =|File Not Found|style="background:#eee',
  6604. 'optional--',
  6605. 'optional2--',
  6606. "//a[contains(@href,'speedshare.eu')]");
  6607. }
  6608. if (GM_getValue("Check_unlimitzone_dot_com_links", false))
  6609. {
  6610. addFileHost(
  6611. "unlimitzone\.com\/\\w+",
  6612. 'name="method_free',
  6613. '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',
  6614. 'optional--',
  6615. 'optional2--',
  6616. "//a[contains(@href,'unlimitzone.com')]");
  6617. }
  6618. if (GM_getValue("Check_rioupload_dot_com_links", false))
  6619. {
  6620. addFileHost(
  6621. "rioupload\.com\/\\w+",
  6622. 'sell.jpg',
  6623. 'var rr =',
  6624. 'optional--',
  6625. 'optional2--',
  6626. "//a[contains(@href,'rioupload.com')]");
  6627. }
  6628. if (GM_getValue("Check_jumbofiles_dot_org_links", false))
  6629. {
  6630. addFileHost(
  6631. "jumbofiles\.org\/\\w+",
  6632. 'H71C5.png|class="downloadtitle">',
  6633. 'var swfu|ViewSourceBIN.png',
  6634. 'optional--',
  6635. 'optional2--',
  6636. "//a[contains(@href,'jumbofiles.org')]");
  6637. }
  6638. if (GM_getValue("Check_fshare_dot_vn_links", false))
  6639. {
  6640. addFileHost(
  6641. "fshare\\.vn\/file\/\\w+",
  6642. 'action="#download"|left; width: 330px;">|class="bt_down"',
  6643. 'không tồn tại|class="color_red m_t_50"',
  6644. 'optional--',
  6645. 'optional2--',
  6646. "//a[contains(@href,'fshare.vn/file')]",
  6647. true
  6648. );
  6649. }
  6650. if (GM_getValue("Check_spaceforfiles_dot_com_links", false))
  6651. {
  6652. addFileHost(
  6653. "spaceforfiles\.com\/\\w+",
  6654. 'btn_slowspeed_b.jpg|value="download1|class="btn_blue',
  6655. 'var rr =|AVOID_IE_BUG',
  6656. 'optional--',
  6657. 'optional2--',
  6658. "//a[contains(@href,'spaceforfiles.com')]");
  6659. }
  6660. if (GM_getValue("Check_google_dot_com_links", false))
  6661. {
  6662. addFileHost(
  6663. "google\\.com\/file\/\\w+",
  6664. 'content="!">|color:#2d2d2d',
  6665. '12pt; font-weight:|class="errorMessage"|F0F6FF',
  6666. 'optional--',
  6667. 'optional2--',
  6668. "//a[contains(@href,'google.com/file')]",
  6669. true
  6670. );
  6671. }
  6672. if (GM_getValue("Check_google_dot_com_links", false))
  6673. {
  6674. addFileHost(
  6675. "docs.google.com\/\\w+",
  6676. 'content="!">|color:#2d2d2d',
  6677. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6678. 'optional--',
  6679. 'optional2--',
  6680. "//a[contains(@href,'docs.google.com')]",
  6681. true
  6682. );
  6683. }
  6684. if (GM_getValue("Check_google_dot_com_links", false))
  6685. {
  6686. addFileHost(
  6687. "drive.google.com\/\\w+",
  6688. 'content="!">|color:#2d2d2d|id="uc-download-link',
  6689. '12pt; font-weight:|class="errorMessage"|F0F6FF|Error 404',
  6690. 'optional--',
  6691. 'optional2--',
  6692. "//a[contains(@href,'drive.google.com')]",
  6693. true
  6694. );
  6695. }
  6696. if (GM_getValue("Check_up_dot_media1fire_dot_com_links", false))
  6697. {
  6698. addFileHost(
  6699. "up.media1fire\.com\/\\w+",
  6700. 'class="addthis_|value="download',
  6701. 'var rr =|AVOID_IE_BUG|<div style="width:500px;text-align:left;">',
  6702. 'optional--',
  6703. 'optional2--',
  6704. "//a[contains(@href,'up.media1fire.com')]");
  6705. }
  6706. if (GM_getValue("Check_depfile_dot_com_links", false))
  6707. {
  6708. addFileHost(
  6709. "depfile\.com\/\\w+",
  6710. 'logo_0.png|downloads.gif"|verifycode',
  6711. 'border-color: #5D729B;|bgcolor="#778AAF"|deleted by the owner|Invalid Link',
  6712. 'optional--',
  6713. 'available only for Premium users',
  6714. "//a[contains(@href,'depfile.com')]");
  6715. }
  6716. if (GM_getValue("Check_go4up_dot_com_links", false))
  6717. {
  6718. addFileHost(
  6719. "go4up\.com\/\\w+",
  6720. 'style="width: 100%;">|value="Access|download_line|img/webbuttoned.gif">',
  6721. '<title>GO4UP|dmca',
  6722. 'optional--',
  6723. 'optional2--',
  6724. "//a[contains(@href,'go4up.com')]");
  6725. }
  6726. if (GM_getValue("Check_redbunker_dot_net_links", false))
  6727. {
  6728. addFileHost(
  6729. "redbunker\.net\/\\w+",
  6730. 'name="method_free"',
  6731. 'color="red">Unknow / Bilinmiyor<',
  6732. 'optional--',
  6733. '2.3 GB',
  6734. "//a[contains(@href,'redbunker.net')]");
  6735. }
  6736. if (GM_getValue("Check_divxpress_dot_com_links", false))
  6737. {
  6738. addFileHost(
  6739. "divxpress\.com\/\\w+",
  6740. 'btn_download|logo.png"',
  6741. 'AVOID_IE_BUG|var rr =',
  6742. 'optional--',
  6743. 'optional2--',
  6744. "//a[contains(@href,'divxpress.com')]");
  6745. }
  6746. if (GM_getValue("Check_anafile_dot_com_links", false))
  6747. {
  6748. addFileHost(
  6749. "anafile\.com\/\\w+",
  6750. 'width="881" valign="top|color="#800080"|name="go"',
  6751. 'style="width:500px;text-align:left;">|file was deleted|AVOID_IE_BUG',
  6752. 'optional--',
  6753. 'optional2--',
  6754. "//a[contains(@href,'anafile.com')]");
  6755. }
  6756. if (GM_getValue("Check_uploadable_dot_ch_links", false))
  6757. {
  6758. addFileHost(
  6759. "uploadable\\.ch\/file\/\\w+",
  6760. 'captcha.js"|payment.js"|class="btn_download"',
  6761. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6762. 'optional--',
  6763. 'optional2--',
  6764. "//a[contains(@href,'uploadable.ch/file')]",
  6765. true
  6766. );
  6767. }
  6768. if (GM_getValue("Check_bigfile_dot_to_links", false))
  6769. {
  6770. addFileHost(
  6771. "bigfile\\.to\/file\/\\w+",
  6772. 'captcha.js"|payment.js"|class="btn_download"',
  6773. '<div class="icon_err">|<div class="errorBox">|"error_arrow">',
  6774. 'optional--',
  6775. 'optional2--',
  6776. "//a[contains(@href,'bigfile.to/file')]",
  6777. true
  6778. );
  6779. }
  6780. if (GM_getValue("Check_arabloads_dot_net_links", false))
  6781. {
  6782. addFileHost(
  6783. "arabloads\.net\/\\w+",
  6784. 'name="method_free"|name="method_premium"',
  6785. 'background:#eee;font:15px Arial;">|AVOID_IE_BUG|Verdana;padding:3px;">Error|Not Found',
  6786. 'optional--',
  6787. 'optional2--',
  6788. "//a[contains(@href,'arabloads.net')]");
  6789. }
  6790. if (GM_getValue("Check_sharerepo_dot_com_links", false))
  6791. {
  6792. addFileHost(
  6793. "sharerepo\.com\/\\w+",
  6794. 'name="method_free"',
  6795. 'var public_on=|The file you were looking for could not be found',
  6796. 'optional--',
  6797. 'optional2--',
  6798. "//a[contains(@href,'sharerepo.com')]");
  6799. }
  6800. if (GM_getValue("Check_sfshare_dot_se_links", false))
  6801. {
  6802. addFileHost(
  6803. "sfshare\.se\/\\w+",
  6804. 'id="btn_download"|class="btn btn-primary txt-bold" value="',
  6805. 'AVOID_IE_BUG|var rr =|style="width:500px;text-align:left;">|Reason for deletion|The file was removed',
  6806. 'optional--',
  6807. 'optional2--',
  6808. "//a[contains(@href,'sfshare.se')]");
  6809. }
  6810. if (GM_getValue("Check_files_dot_fm_links", false))
  6811. {
  6812. addFileHost(
  6813. "files\.fm\/\\w+",
  6814. 'dl.png"|background-color: transparent',
  6815. 'margin: 40px 40px|background: none;',
  6816. 'optional--',
  6817. 'optional2--',
  6818. "//a[contains(@href,'files.fm')]");
  6819. }
  6820. if (GM_getValue("Check_koofile_dot_com_links", false))
  6821. {
  6822. addFileHost(
  6823. "koofile\.com\/\\w+",
  6824. 'value="download1">|name="method_free"',
  6825. 'class="overview-content c_text-box ">|style="padding-top:3px;">|class="rt1 c">',
  6826. 'optional--',
  6827. 'optional2--',
  6828. "//a[contains(@href,'koofile.com')]");
  6829. }
  6830. if (GM_getValue("Check_vidxden_dot_com_links", false))
  6831. {
  6832. addFileHost(
  6833. "vidxden\\.com\/\\w+",
  6834. 'Continue to Video"',
  6835. 'No such file',
  6836. 'optional--',
  6837. 'optional2--',
  6838. "//a[contains(@href,'vidxden.com')]"
  6839. );
  6840. }
  6841. if (GM_getValue("Check_daten_dash_hoster_dot_de_links", false))
  6842. {
  6843. addFileHost(
  6844. "(?:daten-hoster\\.de\/file\/\\w+|filehosting\\.org\/file\/\\w+|xtraupload\\.de\/\\?d=\\w+)",
  6845. 'Details zur Datei|Details page',
  6846. 'Jetzt hochladen|upload now',
  6847. 'optional--',
  6848. 'optional2--',
  6849. "//a[contains(@href,'daten-hoster.de/file') or contains(@href,'filehosting.org/file') or contains(@href,'xtraupload.de')]"
  6850. );
  6851. }
  6852. if (GM_getValue("Check_upload_dash_il_dot_net_links", false))
  6853. {
  6854. addFileHost(
  6855. "(?:upload-il|przeslij)\.net\/(?:en|he|ar|ru|)\/?\\w+",
  6856. 'downloadbtn"',
  6857. 'DL_FileNotFound',
  6858. 'optional--',
  6859. 'optional2--',
  6860. "//a[contains(@href,'upload-il.net') or contains(@href,'przeslij.net')]"
  6861. );
  6862. }
  6863. if (GM_getValue("Check_fileflyer_dot_com_links", false))
  6864. {
  6865. addFileHost(
  6866. "fileflyer\.com\/view\/\\w+",
  6867. '(?:dwl|locked)btn"',
  6868. 'error.gif"|link">Removed|removedlink">',
  6869. 'optional--',
  6870. 'optional2--',
  6871. "//a[contains(@href,'fileflyer.com')]"
  6872. );
  6873. }
  6874. if (GM_getValue("Check_filestore_dot_to_links", false))
  6875. {
  6876. addFileHost(
  6877. "filestore\.to\/\\?d=\\w+",
  6878. '"downloading"',
  6879. 'Datei wurde nicht gefunden',
  6880. 'optional--',
  6881. 'optional2--',
  6882. "//a[contains(@href,'filestore.to')]"
  6883. );
  6884. }
  6885. if (GM_getValue("Check_easy_dash_share_dot_com_links", false))
  6886. {
  6887. addFileHost(
  6888. "(?:w\\d*\.|)(?:crocko|easy-share)\\.com\/.",
  6889. 'fz24">Download|class="pl15">',
  6890. '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',
  6891. 'optional--',
  6892. 'optional2--',
  6893. "//a[contains(@href,'easy-share.com') or contains(@href,'crocko.com')]"
  6894. );
  6895. }
  6896. if (GM_getValue("Check_datei_dot_to_links", false))
  6897. {
  6898. addFileHost(
  6899. "datei\\.to\/\\??\\w+",
  6900. 'icon_downloaden\\.png|>Download starten<',
  6901. 'Datei wurde nicht gefunden|icon_deleted.png',
  6902. 'optional--',
  6903. 'optional2--',
  6904. "//a[contains(@href,'datei.to')]"
  6905. );
  6906. }
  6907. if (GM_getValue("Check_yunfile_dot_com_links", false))
  6908. {
  6909. addFileHost(
  6910. "(?:yunfile|filemarkets)\\.com\/\\w+",
  6911. '<body class="body" id="body">|value="Slow Download"',
  6912. '<body class="body" >',
  6913. 'optional--',
  6914. 'optional2--',
  6915. "//a[contains(@href,'yunfile.com') or contains(@href,'filemarkets.com')]"
  6916. );
  6917. }
  6918. if (GM_getValue("Check_unibytes_dot_com_links", false))
  6919. {
  6920. addFileHost(
  6921. "unibytes\\.com\/[\\w\.]+",
  6922. 'trying to download|пытаетесь загрузить файл|tes entrain de tlcharger',
  6923. 'File not found|Файл не найден|',
  6924. 'optional--',
  6925. 'optional2--',
  6926. "//a[contains(@href,'unibytes.com')]"
  6927. );
  6928. }
  6929. if (GM_getValue("Check_hellshare_dot_com_links", false)) //very old type of links
  6930. {
  6931. addFileHost(
  6932. "www\\.hellshare\\.com\/\\d+",
  6933. 'tab\\-details"',
  6934. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  6935. 'optional--',
  6936. 'optional2--',
  6937. "//a[contains(@href,'www.hellshare.com')]"
  6938. );
  6939. }
  6940. if (GM_getValue("Check_download_dot_cz_dot_hellshare_dot_com_links", false)) //very old type of links
  6941. {
  6942. addFileHost(
  6943. "www\\.download.cz.hellshare\\.com\/\\w+",
  6944. 'tab\\-details"',
  6945. 'list-purp-2"|not found on this server|HellShare is unavailable in United States',
  6946. 'optional--',
  6947. 'optional2--',
  6948. "//a[contains(@href,'www.download.cz.hellshare.com')]"
  6949. );
  6950. }
  6951. if (GM_getValue("Check_filefactory_dot_com_links", false)) //folders
  6952. {
  6953. addFileHost(
  6954. "filefactory\\.com\/f\/\\w+",
  6955. 'folderFileList">',
  6956. 'table class="items"|Pointer" class="red">',
  6957. 'optional--',
  6958. 'optional2--',
  6959. "//a[contains(@href,'filefactory.com/f/')]"
  6960. );
  6961. }
  6962. if (GM_getValue("Check_load_dot_to_links", false))
  6963. {
  6964. addFileHost(
  6965. '(?:www\\.|\\/)load\\.to\\/(?:\\w{10}\\/.|\\?d=\\w{10})',
  6966. '"download_table_left">Size',
  6967. 'Can\'t find file',
  6968. 'optional--',
  6969. 'optional2--',
  6970. "//a[contains(@href,'/load.to/') or contains(@href,'www.load.to/')]"
  6971. );
  6972. }
  6973. if (GM_getValue("Check_divshare_dot_com_links", false))
  6974. {
  6975. addFileHost(
  6976. "divshare\\.com\/download\/",
  6977. 'download_new\.png',
  6978. 'have been removed',
  6979. 'optional--',
  6980. 'optional2--',
  6981. "//a[contains(@href,'divshare.com')]"
  6982. );
  6983. }
  6984. if (GM_getValue("Check_euroshare_dot_eu_links", false))
  6985. {
  6986. addFileHost(
  6987. "euroshare\\.(?:eu|pl|sk|cz|hu)\/file\/\\w+",
  6988. 'class="nazev-souboru',
  6989. '<div class="background margin-top vlevo" style="width: 600px;">',
  6990. 'optional--',
  6991. 'optional2--',
  6992. "//a[contains(@href,'euroshare.eu/file')]"
  6993. );
  6994. }
  6995. if (GM_getValue("Check_files_dot_mail_dot_ru_links", false))
  6996. {
  6997. addFileHost(
  6998. 'files\\.mail\\.ru/(?:\\w*)',
  6999. 'fileList',
  7000. 'errorMessage',
  7001. 'optional--',
  7002. 'optional2--',
  7003. "//a[contains(@href,'files.mail.ru')]"
  7004. );
  7005. }
  7006. if (GM_getValue("Check_megashares_dot_com_links", false))
  7007. {
  7008. addFileHost(
  7009. "(?:d\\d+\.|)megashares\.com\/(?:dl|index\.php\\?d|\\?d\\d+=\\w+)",
  7010. 'Filesize',
  7011. 'Invalid|deleted|Could not download file',
  7012. 'slots|scheduled maintenance',
  7013. 'optional2--',
  7014. "//a[contains(@href,'megashares.com/')]"
  7015. );
  7016. }
  7017. if (GM_getValue("Check_narod_dot_ru_links", false))
  7018. {
  7019. addFileHost(
  7020. 'narod\\.(?:yandex\\.|)ru\/disk\/',
  7021. 'b-submit|action="resource.download"',
  7022. 'b-download-virus-note|headCode">404<|Ваши файлы не пропадут|Your files are safe|Ваші файли не зникнуть|Dosyalarınız kaybolmaz',
  7023. 'Внутренняя ошибка сервиса',
  7024. 'optional2--',
  7025. "//a[contains(@href,'narod.ru') or contains(@href,'narod.yandex.ru')]"
  7026. );
  7027. }
  7028. if (GM_getValue("Check_rayfile_dot_com_links", false))
  7029. {
  7030. addFileHost(
  7031. "rayfile\\.com\/",
  7032. 'FILEtitleTXT',
  7033. 'blueRow',
  7034. 'optional--',
  7035. 'optional2--',
  7036. "//a[contains(@href,'rayfile.com/') and contains(@href,'files')]"
  7037. );
  7038. }
  7039. if (GM_getValue("Check_filesmonster_dot_com_links", false))
  7040. {
  7041. addFileHost(
  7042. "filesmonster\\.com\/download\\.php\\?id=\\w+",
  7043. 'button_green_body"',
  7044. 'error">',
  7045. 'optional--',
  7046. 'optional2--',
  7047. "//a[contains(@href,'filesmonster.com/download')]"
  7048. );
  7049. }
  7050. if (GM_getValue("Check_usaupload_dot_net_links", false))
  7051. {
  7052. addFileHost(
  7053. 'usaupload\\.net\/d\/(?:\w*)',
  7054. '<strong>File size:</strong>',
  7055. 'is not available',
  7056. 'optional--',
  7057. 'optional2--',
  7058. "//a[contains(@href,'usaupload.net/d/')]"
  7059. );
  7060. }
  7061. if (GM_getValue("Check_sendspace_dot_com_links", false))
  7062. {
  7063. addFileHost(
  7064. 'sendspace\\.com\/file\/\\w+',
  7065. 'file_description',
  7066. 'msg error"',
  7067. 'optional--',
  7068. 'optional2--',
  7069. "//a[contains(@href,'sendspace.com/file')]"
  7070. );
  7071. }
  7072. if (GM_getValue("Check_sendspace_dot_pl_links", false))
  7073. {
  7074. addFileHost(
  7075. 'sendspace\\.pl\/file\/\\w+',
  7076. 'download_file"',
  7077. 'Podany plik nie',
  7078. 'optional--',
  7079. 'optional2--',
  7080. "//a[contains(@href,'sendspace.pl/file')]"
  7081. );
  7082. }
  7083. if (GM_getValue("Check_uploading_dot_com_links", false))
  7084. {
  7085. addFileHost(
  7086. 'uploading\\.com\/(?:files\/)?\\w+',
  7087. 'free_method">',
  7088. 'file_error">|error_404">|file not found|OOPS! Looks like file not found',
  7089. 'optional--',
  7090. 'optional2--',
  7091. "//a[contains(@href,'uploading.com')]"
  7092. );
  7093. }
  7094. if (GM_getValue("Check_gigasize_dot_com_links", false))
  7095. {
  7096. addFileHost(
  7097. "gigasize\.com\/\\w+",
  7098. 'fileId"|class="estimate">',
  7099. 'error">',
  7100. 'optional--',
  7101. 'optional2--',
  7102. "//a[contains(@href,'gigasize.com/get')]"
  7103. );
  7104. }
  7105. if (GM_getValue("Check_good_dot_com_links", false))
  7106. {
  7107. addFileHost(
  7108. 'good\\.net\/(?:_|dl)',
  7109. 'Free Download',
  7110. 'Not Found',
  7111. 'Forbidden',
  7112. 'optional2--',
  7113. "//a[contains(@href,'good.net')]"
  7114. );
  7115. }
  7116. if (GM_getValue("Check_2shared_dot_com_links", false))
  7117. {
  7118. addFileHost(
  7119. '2shared\\.com\/(?:file|video|document|audio)\/\\w*',
  7120. 'File size',
  7121. 'File not found|is not valid|/images/important.gif',
  7122. 'optional--',
  7123. 'optional2--',
  7124. "//a[contains(@href,'2shared.com/file/') or contains (@href,'2shared.com/audio/') or contains (@href,'2shared.com/document/') or contains (@href,'2shared.com/video/')]"
  7125. );
  7126. }
  7127. if (GM_getValue("Check_turboupload_dot_com_links", false))
  7128. {
  7129. addFileHost(
  7130. 'turboupload\\.com\/\\w*',
  7131. 'You have requested',
  7132. 'File Not Found',
  7133. 'optional--',
  7134. 'optional2--',
  7135. "//a[contains(@href,'turboupload.com')]"
  7136. );
  7137. }
  7138. if (GM_getValue("Check_gigapeta_dot_com_links", false))
  7139. {
  7140. addFileHost(
  7141. 'gigapeta\\.com\/dl\/',
  7142. 'Download file|Скачать файл| Herunterzuladen|Scarica il file|Cargar el fichero|Charger le fichier',
  7143. '404|page_error',
  7144. 'optional--',
  7145. 'optional2--',
  7146. "//a[contains(@href,'gigapeta.com/dl')]"
  7147. );
  7148. }
  7149. if (GM_getValue("Check_veehd_dot_com_links", false))
  7150. {
  7151. addFileHost(
  7152. 'veehd\.com\/video\/.*?',
  7153. 'No sound|Download video',
  7154. 'Featured Videos',
  7155. 'optional--',
  7156. 'optional2--',
  7157. "//a[contains(@href,'veehd.com') and contains(@href,'video')]"
  7158. );
  7159. }
  7160. if (GM_getValue("Check_vip_dash_file_dot_com_links", false))
  7161. {
  7162. addFileHost(
  7163. '(?:u\\d+\\.)?vip-file\\.com\/download.*?\/(?:.*?)\/(?:.*?)\\.html',
  7164. 'fast_download_form">|submit_sms_download',
  7165. '<p style="text-align:center">',
  7166. 'optional--',
  7167. 'optional2--',
  7168. "//a[contains(@href,'vip-file.com/download')]"
  7169. );
  7170. }
  7171. if (GM_getValue("Check_letitbit_dot_net_links", false))
  7172. {
  7173. addFileHost(
  7174. '(?:u\\d+\\.)?letitbit\\.net\/download\/\\w+',
  7175. 'download\\-pnl ',
  7176. 'color:#000">|Запрашиваемый файл не найден|страница не существует|File not found|',
  7177. 'optional--',
  7178. 'optional2--',
  7179. "//a[contains(@href,'letitbit.net/download')]"
  7180. );
  7181. }
  7182. if (GM_getValue("Check_ifolder_dot_ru_links", false))
  7183. {
  7184. addFileHost(
  7185. 'ifolder\.ru\/\\d+',
  7186. 'file-info',
  7187. 'ui-state-error',
  7188. 'optional--',
  7189. 'optional2--',
  7190. "//a[contains(@href,'ifolder.ru')]"
  7191. );
  7192. }
  7193. if (GM_getValue("Check_fileswap_dot_com_links", false))
  7194. {
  7195. addFileHost(
  7196. 'fileswap\\.com\/dl\/\\w+',
  7197. 'bttnDownloadLink"',
  7198. 'rounded_block_error"',
  7199. 'is temporary unavailable|disponible en estos momentos|vorläufig unerreichbar|Файл временно недоступен',
  7200. 'optional2--',
  7201. "//a[contains(@href,'fileswap.com/dl')]"
  7202. );
  7203. }
  7204. if (GM_getValue("Check_filecloud_dot_io_links", false))
  7205. {
  7206. addFileHost(
  7207. '(?:s\\d+\\.)?filecloud\\.io\/\\w+',
  7208. 'var __error = 0|id="recaptchaPanel">',
  7209. 'FILES__DOESNT_EXIST|removed or did not exist',
  7210. 'optional--',
  7211. 'optional2--',
  7212. "//a[contains(@href,'filecloud.io/')]"
  7213. );
  7214. addFileHost(
  7215. 'ifile\\.it\/\\w+',
  7216. 'var __error = 0',
  7217. 'FILES__DOESNT_EXIST',
  7218. 'optional--',
  7219. 'optional2--',
  7220. "//a[contains(@href,'ifile.it/')]"
  7221. );
  7222. }
  7223. if (GM_getValue("Check_solidfiles_dot_com_links", false))
  7224. {
  7225. addFileHost(
  7226. 'solidfiles\\.com\/\\w+',
  7227. 'id="download"|content="Download',
  7228. '>Not found<|<h2>404</h2>|Page not found|<h1>404</h1>|File not available|no longer available',
  7229. 'optional--',
  7230. 'optional2--',
  7231. "//a[contains(@href,'solidfiles.com/')]"
  7232. );
  7233. }
  7234. if (GM_getValue("Check_shareflare_dot_net_links", false))
  7235. {
  7236. addFileHost(
  7237. "(?:.\\.|)shareflare\\.net",
  7238. 'download-pnl|<div class="premium-block">',
  7239. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7240. 'optional--',
  7241. 'optional2--',
  7242. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7243. );
  7244. }
  7245. if (GM_getValue("Check_u18116681_dot_shareflare_dot_net_links", false))
  7246. {
  7247. addFileHost(
  7248. "u18116681.shareflare\\.net",
  7249. 'download-pnl|<div class="premium-block">',
  7250. 'File not found|Поиск зеркала на фа|<div id="captcha"',
  7251. 'optional--',
  7252. 'optional2--',
  7253. "//a[contains(@href,'shareflare.net') and contains(@href,'download')]"
  7254. );
  7255. }
  7256. if (GM_getValue("Check_hellspy_dot_com_links", false))
  7257. {
  7258. addFileHost(
  7259. "hellspy\.(?:com|cz|sk|hu|pl)\/\\w+",
  7260. 'file\\-list-orderby|section-filedetail">',
  7261. '<\/span><\/h2>\\s*<p>|list-purp-2">|flash info sticky">|502 Bad Gateway',
  7262. 'optional--',
  7263. 'optional2--',
  7264. "//a[contains(@href,'hellspy.')]"
  7265. );
  7266. }
  7267. if (GM_getValue("Check_leteckaposta_dot_cz_links", false))
  7268. {
  7269. addFileHost(
  7270. "(?:leteckaposta\\.cz|sharegadget\\.com)\/\\d+",
  7271. '<body onload="">',
  7272. 'neexistuje|not exist',
  7273. 'optional--',
  7274. 'optional2--',
  7275. "//a[contains(@href,'leteckaposta.cz') or contains(@href,'sharegadget.com')]"
  7276. );
  7277. }
  7278. if (GM_getValue("Check_stahovanizasms_dot_cz_links", false))
  7279. {
  7280. addFileHost(
  7281. "stahovanizasms\\.cz\/\\w+",
  7282. 'download\\.png>|font-size:11px><tr>',
  7283. 'smaz.n u.ivatelem|font-size:11px><\/table>',
  7284. 'optional--',
  7285. 'optional2--',
  7286. "//a[contains(@href,'stahovanizasms.cz')]"
  7287. );
  7288. }
  7289. if (GM_getValue("Check_share_dash_links_dot_biz_links", false))
  7290. {
  7291. addFileHost(
  7292. "share-links\\.biz\/\\w*",
  7293. 'online\\.gif',
  7294. '(?:offline|parts)\\.gif',
  7295. 'optional--',
  7296. 'optional2--',
  7297. "//a[contains(@href,'share-links.biz')]"
  7298. );
  7299. }
  7300. if (GM_getValue("Check_4shared_dot_com_links", false))
  7301. {
  7302. addFileHost(
  7303. "4shared\\.com\/.+\/",
  7304. '<input type="hidden" class="jsSocialTwDefaultText" value=',
  7305. 'class="warn\"|big red"|GetDataBack',
  7306. 'Service Unavailable',
  7307. 'optional2--',
  7308. "//a[contains(@href,'4shared.com')]"
  7309. );
  7310. }
  7311. if (GM_getValue("Check_zippyshare_dot_com_links", false))
  7312. {
  7313. addFileHost(
  7314. "(?:www\\d+\.|)zippyshare\.com\/",
  7315. 'download\.png|Download Now|images/download_small.png|id="dlbutton"',
  7316. 'not exist|Status 404',
  7317. 'optional--',
  7318. 'optional2--',
  7319. "//a[contains(@href,'zippyshare.com') and contains(@href,'file.html')]"
  7320. );
  7321. }
  7322. if (GM_getValue("Check_mediafire_dot_com_links", false))
  7323. {
  7324. addFileHost(
  7325. "mediafire\.com\/",
  7326. 'download_file_title|dlFileName|id="PLAY_downloadButton"',
  7327. 'error\\.php\\?|error_msg_title|<title>Simple File Sharing|No files found',
  7328. 'set to private',
  7329. 'optional2--',
  7330. "//a[contains(@href,'mediafire.com')]"
  7331. );
  7332. }
  7333. if (GM_getValue("Check_uploaded_dot_to_links", false))
  7334. {
  7335. addFileHost(
  7336. '(?:uploaded\\.(?:to|net)\/(?:.id|file|folder|f|410|404))|(?:ul\\.to\/)',
  7337. '<h2>Authentification</h2></li>|MB</small>|KB</small>|1,00 GB|name="pw" style="float:none',
  7338. 'box_red|Error: 404|Error: 410|fileList"><thead><tr><td colspan="2"><\/td><\/tr><\/thead><tbody>\\s*<tr>',
  7339. 'optional--',
  7340. 'GB</small>',
  7341. "//a[contains(@href,'uploaded.to/') or contains(@href,'uploaded.net/') or contains(@href,'ul.to/')]"
  7342. );
  7343. }
  7344. if (GM_getValue("Check_ulozisko_dot_sk_links", false))
  7345. {
  7346. addFileHost(
  7347. "ulozisko\.sk\/",
  7348. 'Detaily',
  7349. 'neexistuje',
  7350. 'optional--',
  7351. 'optional2--',
  7352. "//a[contains(@href,'ulozisko.sk')]"
  7353. );
  7354. }
  7355. if (GM_getValue("Check_box_dot_com_links", false))
  7356. {
  7357. addFileHost(
  7358. "box\.com\/\\w+",
  7359. 'download-file-btn|id="download_button|preview-download',
  7360. 'BIyMin.png| <div class="error_message|link has been removed',
  7361. 'optional--',
  7362. 'optional2--',
  7363. "//a[contains(@href,'app.box.com')]");
  7364. }
  7365. if (GM_getValue("Check_uptobox_dot_com_links", false))
  7366. {
  7367. addFileHost(
  7368. "uptobox\\.com\/\\w+",
  7369. 'Create Download Link">|Lien de téléchargement|1px solid #AEAEAE|class="grey_link|id="btn_download"',
  7370. '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|لا يوجد أي ملف',
  7371. 'Maintenance',
  7372. 'optional2--',
  7373. "//a[contains(@href,'uptobox.com')]"
  7374. );
  7375. }
  7376. if (GM_getValue("Check_sharecash_dot_org_links", false))
  7377. {
  7378. addFileHost(
  7379. "sharecash\\.org\/download\\.php\\?file=\\d+",
  7380. 'FILE DOWNLOAD<',
  7381. 'File Does Not Exist',
  7382. 'optional--',
  7383. 'optional2--',
  7384. "//a[contains(@href,'sharecash.org/download.php')]"
  7385. );
  7386. }
  7387. if (GM_getValue("Check_depositfiles_dot_com_links", false)) //folders
  7388. {
  7389. addFileHost(
  7390. "depositfiles\\.com\/folders\/\\w+",
  7391. '<div class="progressContainer">',
  7392. '<div id="files" class="files">\\s*<\/div>|no_file|file_ban',
  7393. 'optional--',
  7394. 'optional2--',
  7395. "//a[contains(@href,'depositfiles.com/folders')]"
  7396. );
  7397. }
  7398. if (GM_getValue("Check_rapidfileshare_dot_net_links", false))
  7399. {
  7400. addFileHost(
  7401. "rapidfileshare\\.net/\\w+",
  7402. '<div id="upload-header-bg">',
  7403. '<div style="width:500px;text-align:left;">',
  7404. 'optional--',
  7405. 'optional2--',
  7406. "//a[contains(@href,'rapidfileshare.net/')]"
  7407. );
  7408. }
  7409. if (GM_getValue("Check_stiahnito_dot_sk_links", false))
  7410. {
  7411. addFileHost(
  7412. "stiahnito\\.sk/",
  7413. '<span class="filesize right">',
  7414. '<ol class="list-purp-2">',
  7415. 'optional--',
  7416. 'optional2--',
  7417. "//a[contains(@href,'stiahnito.sk/')]"
  7418. );
  7419. }
  7420. if (GM_getValue("Check_rusfolder_dot_com_links", false))
  7421. {
  7422. addFileHost(
  7423. "rusfolder\\.(?:com|net)",
  7424. '"download-step-one-form"|Название: <b>|Файлы|Файлы в папке',
  7425. '"ui-state-error ui-corner-all"|File is removed|File not found|удален',
  7426. 'optional--',
  7427. 'optional2--',
  7428. "//a[contains(@href,'rusfolder')]"
  7429. );
  7430. }
  7431. if (GM_getValue("Check_catshare_dot_net_links", false))
  7432. {
  7433. addFileHost(
  7434. "catshare\\.net/\\w+",
  7435. '"icon-share',
  7436. 'alert alert-error',
  7437. 'optional--',
  7438. 'optional2--',
  7439. "//a[contains(@href,'catshare.net/')]"
  7440. );
  7441. }
  7442. if (GM_getValue("Check_anonfiles_dot_com_links", false))
  7443. {
  7444. addFileHost(
  7445. "anonfiles\\.com/\\w+",
  7446. '"download_button"',
  7447. '<legend><b>404</b>',
  7448. 'optional--',
  7449. 'optional2--',
  7450. "//a[contains(@href,'anonfiles.com')]"
  7451. );
  7452. }
  7453. if (GM_getValue("Check_mixturecloud_dot_com_links", false))
  7454. {
  7455. addFileHost(
  7456. "mixturecloud\\.com/media/\\w+",
  7457. '"btn icon i_globe gray share_150',
  7458. '"s_cross_close"></span> 404:',
  7459. 'optional--',
  7460. 'optional2--',
  7461. "//a[contains(@href,'mixturecloud.com/media/')]"
  7462. );
  7463. }
  7464. if (GM_getValue("Check_akafile_dot_com_links", false))
  7465. {
  7466. addFileHost(
  7467. "akafile\\.com\/\\w+",
  7468. 'download1',
  7469. 'File Not Found',
  7470. 'optional--',
  7471. 'optional2--',
  7472. "//a[contains(@href,'akafile.com/')]"
  7473. );
  7474. }
  7475. if (GM_getValue("Check_creafile_dot_net_links", false))
  7476. {
  7477. addFileHost(
  7478. "creafile\\.net\/\\w+",
  7479. 'downloadblock',
  7480. 'errtitle',
  7481. 'optional--',
  7482. 'optional2--',
  7483. "//a[contains(@href,'creafile.net/')]"
  7484. );
  7485. }
  7486. if (GM_getValue("Check_hugefiles_dot_net_links", false))
  7487. {
  7488. addFileHost(
  7489. "hugefiles\\.net\/\\w+",
  7490. 'download1|class="btn-create-download" value="Create Download Link">',
  7491. 'File Not Found|No such file with this filename|tyle="width:500px;text-align:left;">',
  7492. 'optional--',
  7493. 'optional2--',
  7494. "//a[contains(@href,'hugefiles.net/')]"
  7495. );
  7496. }
  7497. if (GM_getValue("Check_sendmyway_dot_com_links", false))
  7498. {
  7499. addFileHost(
  7500. "sendmyway\\.com\/\\w+",
  7501. 'id="btn_download"',
  7502. '500px;text-align:left;"|<center><h3>',
  7503. 'optional--',
  7504. 'optional2--',
  7505. "//a[contains(@href,'sendmyway.com/')]"
  7506. );
  7507. }
  7508. if (GM_getValue("Check_upload_dot_ee_links", false))
  7509. {
  7510. addFileHost(
  7511. "upload\\.ee\/\\w+",
  7512. 'onmouseout="document.dllink.src',
  7513. 'There is no such file.|File was deleted|Fail kustutati|Файл удалён|Такого файла нет',
  7514. 'optional--',
  7515. 'optional2--',
  7516. "//a[contains(@href,'upload.ee/')]"
  7517. );
  7518. }
  7519. if (GM_getValue("Check_shareplace_dot_org_links", false))
  7520. {
  7521. addFileHost(
  7522. "shareplace\\.org\/\\?\\w+",
  7523. 'Download-Link',
  7524. 'Your requested file is not found|Select file to send',
  7525. 'optional--',
  7526. 'optional2--',
  7527. "//a[contains(@href,'shareplace.org/?')]"
  7528. );
  7529. }
  7530. if (GM_getValue("Check_uploadc_dot_com_links", false))
  7531. {
  7532. addFileHost(
  7533. "uploadc\\.com\/\\w+",
  7534. 'id="prebut"',
  7535. 'File Not Found|This file has been removed due',
  7536. 'optional--',
  7537. 'optional2--',
  7538. "//a[contains(@href,'uploadc.com/')]"
  7539. );
  7540. }
  7541. if (GM_getValue("Check_uploadc_dot_ch_links", false))
  7542. {
  7543. addFileHost(
  7544. "uploadc\\.ch\/\\w+",
  7545. 'id="prebut"',
  7546. 'File Not Found|This file has been removed due',
  7547. 'optional--',
  7548. 'optional2--',
  7549. "//a[contains(@href,'uploadc.ch/')]"
  7550. );
  7551. }
  7552. if (GM_getValue("Check_remixshare_dot_com_links", false))
  7553. {
  7554. addFileHost(
  7555. "remixshare\\.com\/\\w+",
  7556. 'id="dl2"',
  7557. '<table class=\'failed\'><tr><td width=\'90%\'>|Sorry, die Datei konnte nicht gefunden werden',
  7558. 'optional--',
  7559. 'optional2--',
  7560. "//a[contains(@href,'remixshare.com/')]"
  7561. );
  7562. }
  7563. if (GM_getValue("Check_exoshare_dot_com_links", false))
  7564. {
  7565. addFileHost(
  7566. "exoshare\\.com\/download\\.php\\?uid=\\w+",
  7567. 'Last Download :',
  7568. 'img src="\\/404.jpg"',
  7569. 'optional--',
  7570. 'optional2--',
  7571. "//a[contains(@href,'exoshare.com/download.php')]"
  7572. );
  7573. }
  7574. if (GM_getValue("Check_borncash_dot_org_links", false))
  7575. {
  7576. addFileHost(
  7577. "borncash\\.org\/download\/\\?a=\\w+",
  7578. 'class="knop_1"',
  7579. '\/error\/er00',
  7580. 'optional--',
  7581. 'optional2--',
  7582. "//a[contains(@href,'borncash.org/download/')]"
  7583. );
  7584. }
  7585. if (GM_getValue("Check_vidplay_dot_net_links", false))
  7586. {
  7587. addFileHost(
  7588. "vidplay\.net\/\\w+",
  7589. 'solvemedia puzzle widget',
  7590. 'File not found|AVOID_IE_BUG',
  7591. 'optional--',
  7592. 'optional2--',
  7593. "//a[contains(@href,'vidplay.net')]");
  7594. }
  7595. if (GM_getValue("Check_filedais_dot_com_links", false))
  7596. {
  7597. addFileHost(
  7598. "filedais\.com\/\\w+",
  7599. 'class="btn btn-info"|name="method_free"',
  7600. 'style="width:500px;text-align:left;">|File Not Found|AVOID_IE_BUG',
  7601. 'optional--',
  7602. 'optional2--',
  7603. "//a[contains(@href,'filedais.com')]");
  7604. }
  7605. if (GM_getValue("Check_up_dot_4share_dot_vn_links", false))
  7606. {
  7607. addFileHost(
  7608. "up.4share\.vn\/\\w+",
  7609. '<font size="2" face="Verdana">',
  7610. 'font: 13px Tahoma; color: Brown',
  7611. 'optional--',
  7612. 'optional2--',
  7613. "//a[contains(@href,'up.4share.vn')]");
  7614. }
  7615. if (GM_getValue("Check_share_dot_vnn_dot_vn_links", false))
  7616. {
  7617. addFileHost(
  7618. "share.vnn\.vn\/\\w+",
  7619. '"index,follow"|<div class="main" id="download-box">',
  7620. '<meta name="description" content="" />|<h1>Không tìm thấy file bạn yêu cầu</h1>',
  7621. 'optional--',
  7622. 'optional2--',
  7623. "//a[contains(@href,'share.vnn.vn')]");
  7624. }
  7625. if (GM_getValue("Check_upfile_dot_vn_links", false))
  7626. {
  7627. addFileHost(
  7628. "upfile\.vn\/\\w+",
  7629. 'download-timer',
  7630. '<meta name="description" content="Upload files|<meta name="description" content="Error "',
  7631. 'optional--',
  7632. 'optional2--',
  7633. "//a[contains(@href,'upfile.vn')]");
  7634. }
  7635. if (GM_getValue("Check_aisfile_dot_com_links", false))
  7636. {
  7637. addFileHost(
  7638. "aisfile\.com\/\\w+",
  7639. '<h3 style="text-align:left;">|align=right><b>Filename:',
  7640. '<div style="width:500px;text-align:left;">|File Not Found',
  7641. 'optional--',
  7642. 'optional2--',
  7643. "//a[contains(@href,'aisfile.com')]");
  7644. }
  7645. if (GM_getValue("Check_usersfiles_dot_com_links", false))
  7646. {
  7647. addFileHost(
  7648. "usersfiles\.com\/\\w+",
  7649. 'class="btn btn-success|id="btn_download" class="btn"',
  7650. '<div style="width:500px;text-align:left;">|class="label label-inverse">|class="err">',
  7651. 'optional--',
  7652. 'optional2--',
  7653. "//a[contains(@href,'usersfiles.com')]");
  7654. }
  7655. if (GM_getValue("Check_pan_dot_baidu_dot_com_links", false))
  7656. {
  7657. addFileHost(
  7658. "pan.baidu\.com\/\\w+",
  7659. 'target="_blank" title=|share-personal-info',
  7660. 'share_notfound.png|background:#f9f9f9',
  7661. 'optional--',
  7662. 'optional2--',
  7663. "//a[contains(@href,'pan.baidu.com')]");
  7664. }
  7665. if (GM_getValue("Check_yunpan_dot_cn_links", false))
  7666. {
  7667. addFileHost(
  7668. "yunpan\.cn\/\\w+",
  7669. 'class="icon icon-download',
  7670. 'content="360|http://p5.qhimg.com/t01d1c98667df9dc6cc.jpg',
  7671. 'optional--',
  7672. 'optional2--',
  7673. "//a[contains(@href,'yunpan.cn')]");
  7674. }
  7675. if (GM_getValue("Check_file_dash_upload_dot_net_links", false))
  7676. {
  7677. addFileHost(
  7678. "(?:en\\.|)file\\-upload\\.net\/download\\-\\d+\/\\w+",
  7679. 'getElementById("downbild")|style.display',
  7680. 'hochgeladene Datei nicht gefunden werden|has not been found',
  7681. 'optional--',
  7682. 'optional2--',
  7683. "//a[contains(@href,'file-upload.net')]");
  7684. }
  7685. if (GM_getValue("Check_gulfup_dot_com_links", false))
  7686. {
  7687. addFileHost(
  7688. "gulfup\.com\/",
  7689. '<!-- Downlod template -->|download.gif',
  7690. '<!-- Errors template -->|class="error">|<!-- form upload -->|[ رفع الملفات ]',
  7691. 'optional--',
  7692. 'optional2--',
  7693. "//a[contains(@href,'gulfup.com')]");
  7694. }
  7695. if (GM_getValue("Check_datafilehost_dot_com_links", false))
  7696. {
  7697. addFileHost(
  7698. "datafilehost\\.com\/(?:download-\\w+\\.html|d\/\\w+)",
  7699. 'dldtable">',
  7700. 'does not exist\\.',
  7701. 'optional--',
  7702. 'optional2--',
  7703. "//a[contains(@href,'datafilehost.com')]");
  7704. }
  7705. if (GM_getValue("Check_dropbox_dot_com_links", false))
  7706. {
  7707. addFileHost(
  7708. "dropbox\.com\/s\/\\w+",
  7709. 'default_content_download_button" class="freshbutton-blue">|content_download_button',
  7710. '>Nothing Here<|>Error (404)<',
  7711. 'title>Dropbox - 509|Error (403)|Error: 429',
  7712. 'optional2--',
  7713. "//a[contains(@href,'dropbox.com')]");
  7714. }
  7715. if (GM_getValue("Check_box_dot_net_links", false))
  7716. {
  7717. addFileHost(
  7718. "box\.net\/\\w+",
  7719. 'download-file-btn|id="download_button',
  7720. 'BIyMin.png| <div class="error_message',
  7721. 'optional--',
  7722. 'optional2--',
  7723. "//a[contains(@href,'box.net')]");
  7724. }
  7725. if (GM_getValue("Check_filedropper_dot_com_links", false))
  7726. {
  7727. addFileHost(
  7728. "filedropper\.com\/\\w+",
  7729. 'background:#ddd;|width:985px; ',
  7730. 'background-color:#FFFFFF;|margin-left: -400px;',
  7731. 'optional--',
  7732. 'optional2--',
  7733. "//a[contains(@href,'filedropper.com')]");
  7734. }
  7735. if (GM_getValue("Check_tropicshare_dot_com_links", false))
  7736. {
  7737. addFileHost(
  7738. "tropicshare\\.com\/files\/\\d+",
  7739. 'MB</span>|GB</span>|KB</span>',
  7740. '>FNF<|size: </span>',
  7741. 'optional--',
  7742. 'optional2--',
  7743. "//a[contains(@href,'tropicshare.com')]");
  7744. }
  7745. if (GM_getValue("Check_worldbytez_dot_com_links", false))
  7746. {
  7747. addFileHost(
  7748. "worldbytez\.com",
  7749. '<div class="download_type">|method_free',
  7750. '<div style="width:500px;text-align:left;">',
  7751. 'optional--',
  7752. 'optional2--',
  7753. "//a[contains(@href,'worldbytez.com')]",
  7754. true);
  7755. }
  7756. if (GM_getValue("Check_freefilehosting_dot_net_links", false))
  7757. {
  7758. addFileHost(
  7759. "freefilehosting\.net\/\\w+",
  7760. 'Type: cbr|Type: rar|Type: jpg|Type: mkv|Type: avi|Type: mpg|Type: mpeg|Type: zip|Type: wmvType: bmpType: gifType: mp4Type: mp3',
  7761. '175px;" value="http://www.freefilehosting.net/"|Filename: <br>',
  7762. 'optional--',
  7763. 'optional2--',
  7764. "//a[contains(@href,'freefilehosting.net')]");
  7765. }
  7766. if (GM_getValue("Check_ziddu_dot_com_links", false))
  7767. {
  7768. addFileHost(
  7769. "ziddu\.com\/\\w+",
  7770. 'downloads.ziddu.com|downloadfilelinkicon',
  7771. 'errortracking.php|images/oops.png|fontfamilyverdana error',
  7772. 'optional--',
  7773. 'optional2--',
  7774. "//a[contains(@href,'ziddu.com')]");
  7775. }
  7776. if (GM_getValue("Check_exclusiveloader_dot_com_links", false))
  7777. {
  7778. addFileHost(
  7779. "exclusiveloader\.com\/\\w+",
  7780. 'style="padding-top:55px; padding-bottom:65px;">|<h2>Download</h2>',
  7781. 'File Not Found|width:322px;text-align:left;" class="no_file">',
  7782. 'optional--',
  7783. 'optional2--',
  7784. "//a[contains(@href,'exclusiveloader.com')]");
  7785. }
  7786. if (GM_getValue("Check_sharerapid_dot_cz_links", false))
  7787. {
  7788. addFileHost(
  7789. "sharerapid\.cz\/\\w+",
  7790. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7791. 'error_div">|404 - Not Found',
  7792. 'optional--',
  7793. 'optional2--',
  7794. "//a[contains(@href,'sharerapid.cz')]");
  7795. }
  7796. if (GM_getValue("Check_sdilej_dot_cz_links", false))
  7797. {
  7798. addFileHost(
  7799. "sdilej\.cz\/\\w+",
  7800. 'class="page-download"',
  7801. '<h2 class="red">|czshare.com|sponsored listings|This domain is for sale',
  7802. 'optional--',
  7803. 'optional2--',
  7804. "//a[contains(@href,'sdilej.cz')]");
  7805. }
  7806. if (GM_getValue("Check_lafiles_dot_com_links", false))
  7807. {
  7808. addFileHost(
  7809. "lafiles\.com\/\\w+",
  7810. '<div id="pay_modes">',
  7811. '<b class="err"></b>',
  7812. 'optional--',
  7813. 'optional2--',
  7814. "//a[contains(@href,'lafiles.com')]");
  7815. }
  7816. if (GM_getValue("Check_acefile_dot_net_links", false))
  7817. {
  7818. addFileHost(
  7819. "acefile\.net\/\\w+",
  7820. 'align=right nowrap><b>',
  7821. 'File Not Found|<div style="width:322px;text-align:left;" class="no_file">',
  7822. 'optional--',
  7823. 'optional2--',
  7824. "//a[contains(@href,'acefile.net')]");
  7825. }
  7826. if (GM_getValue("Check_megarapid_dot_cz_links", false))
  7827. {
  7828. addFileHost(
  7829. "megarapid\.cz\/\\w+",
  7830. 'value="Stáhnout"|soubor" style|Stahování je povoleno pouze pro přihlášené uživatele',
  7831. 'error_div">|404 - Not Found',
  7832. 'optional--',
  7833. 'optional2--',
  7834. "//a[contains(@href,'megarapid.cz')]");
  7835. }
  7836. if (GM_getValue("Check_yadi_dot_sk_links", false))
  7837. {
  7838. addFileHost(
  7839. "yadi\.sk\/\\w+",
  7840. 'nb-button _nb-small-button',
  7841. 'error code|Nothing found',
  7842. 'optional--',
  7843. 'optional2--',
  7844. "//a[contains(@href,'yadi.sk')]");
  7845. }
  7846. if (GM_getValue("Check_hitfile_dot_net_links", false))
  7847. {
  7848. addFileHost(
  7849. "hitfile\.net\/\\w+",
  7850. 'class="download-file',
  7851. 'style="width:16px;height:16px;border:0;|File not found|File was deleted or not found|Le fichier a été supprimé ou n|Файл не найден. Возможно он был удален',
  7852. 'optional--',
  7853. 'optional2--',
  7854. "//a[contains(@href,'hitfile.net')]");
  7855. }
  7856. if (GM_getValue("Check_up_dot_top4top_dot_net_links", false))
  7857. {
  7858. addFileHost(
  7859. "up.top4top\.net\/\\w+",
  7860. 'start Downlod template',
  7861. 'start err template',
  7862. 'optional--',
  7863. 'optional2--',
  7864. "//a[contains(@href,'up.top4top.net')]");
  7865. }
  7866. if (GM_getValue("Check_filejoker_dot_net_links", false))
  7867. {
  7868. addFileHost(
  7869. "filejoker\.net\/\\w+",
  7870. 'button id="regular-download">Slow|method_free" value="1|<div id="download" class="download0">|>Get Download Link<',
  7871. 'File Not Found|class="not_found|<div id="download" class="not_found">|"err">DMCA Complaint<',
  7872. 'optional--',
  7873. 'id="download" class="premium-only">',
  7874. "//a[contains(@href,'filejoker.net')]");
  7875. }
  7876. if (GM_getValue("Check_free_dot_fr_links", false))
  7877. {
  7878. addFileHost(
  7879. "(?:dl.\\.|)free\\.fr",
  7880. 'Valider et t&eacute;l&eacute|T&eacute;l&eacute;chargement',
  7881. 'Fichier inexistant|Fichier supprim&eacute; pour raison de copyright',
  7882. 'optional--',
  7883. 'optional2--',
  7884. "//a[contains(@href,'dl.free.fr')]");
  7885. }
  7886. if (GM_getValue("Check_gboxes_dot_com_links", false))
  7887. {
  7888. addFileHost(
  7889. "gboxes\.com\/\\w+",
  7890. 'You have requested|color="red">http://www.gboxes.com',
  7891. 'File Not Found|<div style="width:500px;text-align:left;">',
  7892. 'optional--',
  7893. 'optional2--',
  7894. "//a[contains(@href,'gboxes.com')]");
  7895. }
  7896. if (GM_getValue("Check_led_dot_wf_links", false))
  7897. {
  7898. addFileHost(
  7899. "led\.wf\/\\w+",
  7900. 'logo_0.png|downloads.gif"|verifycode',
  7901. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7902. 'optional--',
  7903. 'available only for Premium users',
  7904. "//a[contains(@href,'led.wf')]");
  7905. }
  7906. if (GM_getValue("Check_lan_dot_wf_links", false))
  7907. {
  7908. addFileHost(
  7909. "lan\.wf\/\\w+",
  7910. 'logo_0.png|downloads.gif"|verifycode',
  7911. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7912. 'optional--',
  7913. 'available only for Premium users',
  7914. "//a[contains(@href,'lan.wf')]");
  7915. }
  7916. if (GM_getValue("Check_adlink_dot_wf_links", false))
  7917. {
  7918. addFileHost(
  7919. "adlink\.wf\/\\w+",
  7920. 'logo_0.png|downloads.gif"|verifycode',
  7921. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7922. 'optional--',
  7923. 'available only for Premium users',
  7924. "//a[contains(@href,'adlink.wf')]");
  7925. }
  7926. if (GM_getValue("Check_click_dot_tf_links", false))
  7927. {
  7928. addFileHost(
  7929. "click\.tf\/\\w+",
  7930. 'logo_0.png|downloads.gif"|verifycode',
  7931. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7932. 'optional--',
  7933. 'available only for Premium users',
  7934. "//a[contains(@href,'click.tf')]");
  7935. }
  7936. if (GM_getValue("Check_ssh_dot_tf_links", false))
  7937. {
  7938. addFileHost(
  7939. "ssh\.tf\/\\w+",
  7940. 'logo_0.png|downloads.gif"|verifycode',
  7941. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7942. 'optional--',
  7943. 'available only for Premium users',
  7944. "//a[contains(@href,'ssh.tf')]");
  7945. }
  7946. if (GM_getValue("Check_ssh_dot_yt_links", false))
  7947. {
  7948. addFileHost(
  7949. "ssh\.yt\/\\w+",
  7950. 'logo_0.png|downloads.gif"|verifycode',
  7951. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|svg_prem plugin_icon',
  7952. 'optional--',
  7953. 'available only for Premium users',
  7954. "//a[contains(@href,'ssh.yt')or contains(@href,'depfile.com')]");
  7955. }
  7956. if (GM_getValue("Check_yep_dot_pm_links", false))
  7957. {
  7958. addFileHost(
  7959. "yep\.pm\/\\w+",
  7960. 'logo_0.png|downloads.gif"|verifycode',
  7961. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner',
  7962. 'optional--',
  7963. 'available only for Premium users',
  7964. "//a[contains(@href,'yep.pm')]");
  7965. }
  7966. if (GM_getValue("Check_kyc_dot_pm_links", false))
  7967. {
  7968. addFileHost(
  7969. "kyc\.pm\/\\w+",
  7970. 'logo_0.png|downloads.gif"|verifycode',
  7971. 'border-color: #5D729B;|bgcolor="#778AAF"|Invalid Link|deleted by the owner|<h1>Copying files:<',
  7972. 'optional--',
  7973. 'available only for Premium users',
  7974. "//a[contains(@href,'kyc.pm')]");
  7975. }
  7976. if (GM_getValue("Check_brupload_dot_net_links", false))
  7977. {
  7978. addFileHost(
  7979. "brupload\.net\/\\w+",
  7980. 'Download Gratuito',
  7981. '<div style="width:500px;text-align:left;">',
  7982. 'optional--',
  7983. 'optional2--',
  7984. "//a[contains(@href,'brupload.net')]");
  7985. }
  7986. if (GM_getValue("Check_cloudzilla_dot_to_links", false))
  7987. {
  7988. addFileHost(
  7989. "cloudzilla\.to\/\\w+",
  7990. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  7991. 'File not found|/imgs/broken.png',
  7992. 'optional--',
  7993. 'optional2--',
  7994. "//a[contains(@href,'cloudzilla.to')]");
  7995. }
  7996. if (GM_getValue("Check_clicknupload_dot_com_links", false))
  7997. {
  7998. addFileHost(
  7999. "clicknupload\.com\/\\w+",
  8000. 'name="method_free',
  8001. 'File Not Found',
  8002. 'optional--',
  8003. 'optional2--',
  8004. "//a[contains(@href,'clicknupload.com')]");
  8005. }
  8006. if (GM_getValue("Check_clicknupload_dot_me_links", false))
  8007. {
  8008. addFileHost(
  8009. "clicknupload\.me\/\\w+",
  8010. 'name="method_free',
  8011. 'File Not Found',
  8012. 'optional--',
  8013. 'optional2--',
  8014. "//a[contains(@href,'clicknupload.me')]");
  8015. }
  8016. if (GM_getValue("Check_clicknupload_dot_link_links", false))
  8017. {
  8018. addFileHost(
  8019. "clicknupload\.link\/\\w+",
  8020. 'name="method_free',
  8021. 'File Not Found',
  8022. 'optional--',
  8023. 'optional2--',
  8024. "//a[contains(@href,'clicknupload.link')]");
  8025. }
  8026. if (GM_getValue("Check_ex_dash_load_dot_com_links", false))
  8027. {
  8028. addFileHost(
  8029. "ex-load\.com\/\\w+",
  8030. 'name="method_free|<p>Download File:</p>',
  8031. 'Folder Not Found|File Not Found|Error 404',
  8032. 'optional--',
  8033. 'class="downprem wow bounceInLeft',
  8034. "//a[contains(@href,'ex-load.com')]");
  8035. }
  8036. if (GM_getValue("Check_hexupload_dot_com_links", false))
  8037. {
  8038. addFileHost(
  8039. "hexupload\.com\/\\w+",
  8040. 'button" value="Free|type="submit" value=""',
  8041. 'File Not Found|<div style="width:500px;text-align:left;">',
  8042. 'optional--',
  8043. 'optional2--',
  8044. "//a[contains(@href,'hexupload.com')]");
  8045. }
  8046. if (GM_getValue("Check_wizupload_dot_com_links", false))
  8047. {
  8048. addFileHost(
  8049. "wizupload\.com\/\\w+",
  8050. 'btn_download|class="downloadbtn"',
  8051. '>File Not Found<',
  8052. 'optional--',
  8053. 'optional2--',
  8054. "//a[contains(@href,'wizupload.com')]");
  8055. }
  8056. if (GM_getValue("Check_inclouddrive_dot_com_links", false))
  8057. {
  8058. addFileHost(
  8059. "inclouddrive\.com\/\\w+",
  8060. 'initfreedownload',
  8061. '<title>Content Unavailable|The file you are trying to download is no longer available',
  8062. 'optional--',
  8063. 'optional2--',
  8064. "//a[contains(@href,'inclouddrive.com')]");
  8065. }
  8066. if (GM_getValue("Check_radicalshare_dot_com_links", false))
  8067. {
  8068. addFileHost(
  8069. "radicalshare\.com\/\\w+",
  8070. 'value="download1|name="method_free"',
  8071. 'File Not Found<|<div style="width:500px;text-align:left;">',
  8072. 'optional--',
  8073. 'optional2--',
  8074. "//a[contains(@href,'radicalshare.com')]");
  8075. }
  8076. if (GM_getValue("Check_sharemods_dot_com_links", false))
  8077. {
  8078. addFileHost(
  8079. "sharemods\.com\/\\w+",
  8080. 'name="method_free"',
  8081. 'File Not Found<',
  8082. 'optional--',
  8083. 'optional2--',
  8084. "//a[contains(@href,'sharemods.com')]");
  8085. }
  8086. if (GM_getValue("Check_hostr_dot_co_links", false))
  8087. {
  8088. addFileHost(
  8089. "hostr\.co\/\\w+",
  8090. 'method="get"',
  8091. 'File not found<|error-page',
  8092. 'optional--',
  8093. 'optional2--',
  8094. "//a[contains(@href,'hostr.co')]");
  8095. }
  8096. if (GM_getValue("Check_filepi_dot_com_links", false))
  8097. {
  8098. addFileHost(
  8099. "filepi\.com\/\\w+",
  8100. 'id="button_start">',
  8101. 'File not found',
  8102. 'optional--',
  8103. 'optional2--',
  8104. "//a[contains(@href,'filepi.com')]");
  8105. }
  8106. if (GM_getValue("Check_tikfile_dot_com_links", false))
  8107. {
  8108. addFileHost(
  8109. "tikfile\.com\/\\w+",
  8110. 'btn_download',
  8111. 'File Not Found|file was removed|Reason for deletion',
  8112. 'optional--',
  8113. 'optional2--',
  8114. "//a[contains(@href,'tikfile.com')]");
  8115. }
  8116. if (GM_getValue("Check_cloudsix_dot_me_links", false))
  8117. {
  8118. addFileHost(
  8119. "cloudsix\.me\/\\w+",
  8120. 'name="method_free"',
  8121. 'File Not Found|width:500px;text-align:left;">',
  8122. 'optional--',
  8123. 'optional2--',
  8124. "//a[contains(@href,'cloudsix.me')]");
  8125. }
  8126. if (GM_getValue("Check_neodrive_dot_co_links", false))
  8127. {
  8128. addFileHost(
  8129. "neodrive\.co\/\\w+",
  8130. 'btn1" id="free_download|onclick="freeDownload|id="pwd_protected">',
  8131. 'File not found|/imgs/broken.png',
  8132. 'optional--',
  8133. 'optional2--',
  8134. "//a[contains(@href,'neodrive.co')]");
  8135. }
  8136. if (GM_getValue("Check_chayfile_dot_com_links", false))
  8137. {
  8138. addFileHost(
  8139. "chayfile\.com\/\\w+",
  8140. 'name="method_free"',
  8141. 'File Not Found|<h3>The file was removed by administrator</h3>',
  8142. 'optional--',
  8143. 'optional2--',
  8144. "//a[contains(@href,'chayfile.com')]");
  8145. }
  8146. if (GM_getValue("Check_xfileload_dot_com_links", false))
  8147. {
  8148. addFileHost(
  8149. "xfileload\.com\/\\w+",
  8150. 'Filename:|Имя файла:|Dateiname:|nom de fichier :|اسم الملف:|Dosya AdД±|Nazwa:|Nombre de fichero:|NamaFile:|Bestandsnaam:|שם קובץ:"',
  8151. '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..|הקובץ שחיפשת לא נמצא.',
  8152. 'optional--',
  8153. 'optional2--',
  8154. "//a[contains(@href,'xfileload.com')]");
  8155. }
  8156. if (GM_getValue("Check_rockfile_dot_eu_links", false))
  8157. {
  8158. addFileHost(
  8159. "rockfile\.eu\/\\w+",
  8160. 'You have requested:|vous avez demandé|قد طلبت:|você solicitou:|Hai richiesto:|Sie haben angefordert:|Вы заказали:|Has solicitado',
  8161. 'The file you were looking for could not be found, sorry for any inconvenience.|fa-chain-broken">',
  8162. 'optional--',
  8163. 'optional2--',
  8164. "//a[contains(@href,'rockfile.eu')]");
  8165. }
  8166. if (GM_getValue("Check_tusfiles_dot_net_links", false))
  8167. {
  8168. addFileHost(
  8169. "(?:tusfiles\\.net|tusfiles\\.com)\/\\w+",
  8170. 'i/icon/dll.png"|>Start download<br',
  8171. 'no longer available<|i/ino.png"',
  8172. 'optional--',
  8173. 'optional2--',
  8174. "//a[contains(@href,'tusfiles.net') or contains(@href,'tusfiles.com/')]");
  8175. }
  8176. if (GM_getValue("Check_ozofiles_dot_com_links", false))
  8177. {
  8178. addFileHost(
  8179. "ozofiles\.com\/\\w+",
  8180. 'button" value="Free|name="method_free',
  8181. 'File Not Found|width:500px;text-align:left;">|File Deleted|file was removed by administrator|<b class="err">Copyright infringement</b>',
  8182. 'optional--',
  8183. 'optional2--',
  8184. "//a[contains(@href,'ozofiles.com')]");
  8185. }
  8186. if (GM_getValue("Check_userscloud_dot_com_links", false))
  8187. {
  8188. addFileHost(
  8189. "userscloud\.com\/\\w+",
  8190. 'btn_download|class="label label-success">',
  8191. '>Server OFFLINE|background:#D3D3D3;border-bottom:1px solid #BBB;font:bold 13px Verdana;padding:3px;">|-chain-broken',
  8192. 'optional--',
  8193. 'optional2--',
  8194. "//a[contains(@href,'userscloud.com')]");
  8195. }
  8196. if (GM_getValue("Check_kumpulbagi_dot_com_links", false))
  8197. {
  8198. addFileHost(
  8199. "(?:kumpulbagi\\.com|kumpulbagi\\.id)\/\\w+",
  8200. 'class="button download',
  8201. 'internal server error',
  8202. 'optional--',
  8203. 'optional2--',
  8204. "//a[contains(@href,'kumpulbagi.com') or contains(@href,'kumpulbagi.id/')]");
  8205. }
  8206. if (GM_getValue("Check_kb_dot_simple_dash_aja_dot_info_links", false))
  8207. {
  8208. addFileHost(
  8209. "kb.simple-aja\.info\/\\w+",
  8210. 'class="button download',
  8211. 'internal server error|<p>404</p>',
  8212. 'optional--',
  8213. 'optional2--',
  8214. "//a[contains(@href,'kb.simple')]");
  8215. }
  8216. if (GM_getValue("Check_faststore_dot_org_links", false))
  8217. {
  8218. addFileHost(
  8219. "faststore\.org\/\\w+",
  8220. 'name="method_free',
  8221. 'File Not Found',
  8222. 'optional--',
  8223. 'optional2--',
  8224. "//a[contains(@href,'faststore.org')]");
  8225. }
  8226. if (GM_getValue("Check_prefiles_dot_com_links", false))
  8227. {
  8228. addFileHost(
  8229. "prefiles\.com\/\\w+",
  8230. 'id="method_free',
  8231. 'File not Found',
  8232. 'optional--',
  8233. 'optional2--',
  8234. "//a[contains(@href,'prefiles.com')]");
  8235. }
  8236. if (GM_getValue("Check_doraupload_dot_com_links", false))
  8237. {
  8238. addFileHost(
  8239. "doraupload\.com\/\\w+",
  8240. 'btn_download|name="method_free',
  8241. 'class="error-code|Could Not Be Found',
  8242. 'optional--',
  8243. 'optional2--',
  8244. "//a[contains(@href,'doraupload.com')]");
  8245. }
  8246. if (GM_getValue("Check_openload_dot_io_links", false))
  8247. {
  8248. addFileHost(
  8249. "openload\.io\/\\w+",
  8250. 'btn btn-primary|class="count">|secondsleftouter',
  8251. 'class="jumbotron">|We are sorry',
  8252. 'optional--',
  8253. 'optional2--',
  8254. "//a[contains(@href,'openload.io')]");
  8255. }
  8256. if (GM_getValue("Check_zxcfiles_dot_com_links", false))
  8257. {
  8258. addFileHost(
  8259. "zxcfiles\.com\/\\w+",
  8260. 'class="downloadbtn',
  8261. 'File Not Found',
  8262. 'optional--',
  8263. 'optional2--',
  8264. "//a[contains(@href,'zxcfiles.com')]");
  8265. }
  8266. if (GM_getValue("Check_up07_dot_net_links", false))
  8267. {
  8268. addFileHost(
  8269. "up07\.net\/\\w+",
  8270. 'name="method_free',
  8271. 'File Not Found',
  8272. 'optional--',
  8273. 'optional2--',
  8274. "//a[contains(@href,'up07.net')]");
  8275. }
  8276. if (GM_getValue("Check_fileupload_dot_pw_links", false))
  8277. {
  8278. addFileHost(
  8279. "fileupload\.pw\/\\w+",
  8280. 'value="Free"',
  8281. 'File Not Found',
  8282. 'optional--',
  8283. 'optional2--',
  8284. "//a[contains(@href,'fileupload.pw')]");
  8285. }
  8286. if (GM_getValue("Check_4upld_dot_com_links", false))
  8287. {
  8288. addFileHost(
  8289. "(?:4upld\\.com|expressleech\\.com)\/\\w+",
  8290. 'alt="Download Now"|content="Download file">|btn-free-element',
  8291. '<title>Error|content="error|File not found',
  8292. 'optional--',
  8293. 'optional2--',
  8294. "//a[contains(@href,'4upld.com') or contains(@href,'expressleech.com')]");
  8295. }
  8296. if (GM_getValue("Check_swoopshare_dot_com_links", false))
  8297. {
  8298. addFileHost(
  8299. "(?:.swoopshare)\\.com\/\\w+",
  8300. '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',
  8301. '<input type="file" name="f"',
  8302. 'optional--',
  8303. 'optional2--',
  8304. "//a[contains(@href,'swoopshare.com')]"
  8305. );
  8306. }
  8307. if (GM_getValue("Check_cloudshares_dot_net_links", false))
  8308. {
  8309. addFileHost(
  8310. "cloudshares\.net\/\\w+",
  8311. '"method_free|"Low Speed Download|submit" name="go',
  8312. 'Not Found|"width:500px;text-align:left;">|No such file exist',
  8313. 'optional--',
  8314. 'optional2--',
  8315. "//a[contains(@href,'cloudshares.net')]"
  8316. );
  8317. }
  8318. if (GM_getValue("Check_allmyvideos_dot_net_links", false))
  8319. {
  8320. addFileHost(
  8321. "allmyvideos\.net\/\\w+",
  8322. 'Continue to Video',
  8323. 'File Not Found|class="err">Removed for',
  8324. 'optional--',
  8325. 'optional2--',
  8326. "//a[contains(@href,'allmyvideos.net')]"
  8327. );
  8328. }
  8329. if (GM_getValue("Check_vodlocker_dot_com_links", false))
  8330. {
  8331. addFileHost(
  8332. "vodlocker\.com\/\\w+",
  8333. 'Proceed to video',
  8334. 'Not Found',
  8335. 'optional--',
  8336. 'optional2--',
  8337. "//a[contains(@href,'vodlocker.com')]"
  8338. );
  8339. }
  8340. if (GM_getValue("Check_vidbull_dot_com_links", false))
  8341. {
  8342. addFileHost(
  8343. "vidbull\.com\/\\w+",
  8344. 'Verifying Video Request',
  8345. 'File Not Found',
  8346. 'optional--',
  8347. 'optional2--',
  8348. "//a[contains(@href,'vidbull.com')]");
  8349. }
  8350. if (GM_getValue("Check_novamov_dot_com_links", false))
  8351. {
  8352. addFileHost(
  8353. "novamov\.com\/\\w+",
  8354. 'For version detection',
  8355. 'file no longer exists',
  8356. 'optional--',
  8357. 'optional2--',
  8358. "//a[contains(@href,'novamov.com')]"
  8359. );
  8360. }
  8361. if (GM_getValue("Check_filehoot_dot_com_links", false))
  8362. {
  8363. addFileHost(
  8364. "filehoot\.com\/\\w+",
  8365. 'Continue to watch',
  8366. 'File Not Found',
  8367. 'optional--',
  8368. 'optional2--',
  8369. "//a[contains(@href,'filehoot.com')]"
  8370. );
  8371. }
  8372. if (GM_getValue("Check_stagevu_dot_com_links", false))
  8373. {
  8374. addFileHost(
  8375. "stagevu\.com\/\\w+",
  8376. 'Video Info',
  8377. 'No video with the provided',
  8378. 'optional--',
  8379. 'optional2--',
  8380. "//a[contains(@href,'stagevu.com')]"
  8381. );
  8382. }
  8383. if (GM_getValue("Check_cloudtime_dot_to_links", false))
  8384. {
  8385. addFileHost(
  8386. "cloudtime\.to\/\\w+",
  8387. 'Download the video',
  8388. 'no longer exists',
  8389. 'optional--',
  8390. 'optional2--',
  8391. "//a[contains(@href,'cloudtime.to')]"
  8392. );
  8393. }
  8394. if (GM_getValue("Check_streamin_dot_to_links", false))
  8395. {
  8396. addFileHost(
  8397. "streamin\.to\/\\w+",
  8398. 'id="btn_download',
  8399. 'Not Found|Copyright Infringement|File Deleted',
  8400. 'optional--',
  8401. 'optional2--',
  8402. "//a[contains(@href,'streamin.to')]"
  8403. );
  8404. }
  8405. if (GM_getValue("Check_videoweed_dot_es_links", false))
  8406. {
  8407. addFileHost(
  8408. "videoweed\.es\/\\w+",
  8409. 'version detection',
  8410. 'no longer exists',
  8411. 'optional--',
  8412. 'optional2--',
  8413. "//a[contains(@href,'videoweed.es')]"
  8414. );
  8415. }
  8416. if (GM_getValue("Check_nowvideo_dot_sx_links", false))
  8417. {
  8418. addFileHost(
  8419. "nowvideo\.sx\/\\w+",
  8420. 'Download this video|value="submit">Continue',
  8421. 'no longer exists',
  8422. 'optional--',
  8423. 'optional2--',
  8424. "//a[contains(@href,'nowvideo.sx')]"
  8425. );
  8426. }
  8427. if (GM_getValue("Check_thevideo_dot_me_links", false))
  8428. {
  8429. addFileHost(
  8430. "thevideo\.me\/\\w+",
  8431. 'Upgrade your account|Proceed to video|class="btn btn-lg btn-dark">',
  8432. 'File Not Found',
  8433. 'optional--',
  8434. 'optional2--',
  8435. "//a[contains(@href,'thevideo.me')]"
  8436. );
  8437. }
  8438. if (GM_getValue("Check_gorillavid_dot_in_links", false))
  8439. {
  8440. addFileHost(
  8441. "gorillavid\.in\/\\w+",
  8442. 'Wait 5 seconds',
  8443. 'File Not Found',
  8444. 'optional--',
  8445. 'optional2--',
  8446. "//a[contains(@href,'gorillavid.in')]"
  8447. );
  8448. }
  8449. if (GM_getValue("Check_thefile_dot_me_links", false))
  8450. {
  8451. addFileHost(
  8452. "thefile\.me\/\\w+",
  8453. 'Choose free or',
  8454. '',
  8455. 'optional--',
  8456. 'optional2--',
  8457. "//a[contains(@href,'thefile.me')]"
  8458. );
  8459. }
  8460. if (GM_getValue("Check_vidzi_dot_tv_links", false))
  8461. {
  8462. addFileHost(
  8463. "vidzi\.tv\/\\w+",
  8464. 'video-embed-modal row',
  8465. 'File Not Found|file was deleted',
  8466. 'optional--',
  8467. 'optional2--',
  8468. "//a[contains(@href,'vidzi.tv')]"
  8469. );
  8470. }
  8471. if (GM_getValue("Check_filenuke_dot_com_links", false))
  8472. {
  8473. addFileHost(
  8474. "filenuke\.com\/\\w+",
  8475. 'Download File',
  8476. 'Earn with us',
  8477. 'optional--',
  8478. 'optional2--',
  8479. "//a[contains(@href,'filenuke.com')]"
  8480. );
  8481. }
  8482. if (GM_getValue("Check_vidto_dot_me_links", false))
  8483. {
  8484. addFileHost(
  8485. "vidto\.me\/\\w+",
  8486. 'Proceed to video',
  8487. 'Not Found',
  8488. 'optional--',
  8489. 'optional2--',
  8490. "//a[contains(@href,'vidto.me')]"
  8491. );
  8492. }
  8493. if (GM_getValue("Check_vidspot_dot_net_links", false))
  8494. {
  8495. addFileHost(
  8496. "vidspot\.net\/\\w+",
  8497. 'Duration|method_free',
  8498. 'Removed for|<div style="width:500px;text-align:left;">|File Not Found<',
  8499. 'optional--',
  8500. 'optional2--',
  8501. "//a[contains(@href,'vidspot.net')]"
  8502. );
  8503. }
  8504. if (GM_getValue("Check_sharesix_dot_com_links", false))
  8505. {
  8506. addFileHost(
  8507. "(?:sharesix\\.com|sharesix\\.net)\/\\w+",
  8508. 'Download File',
  8509. 'File Not Found',
  8510. 'optional--',
  8511. 'optional2--',
  8512. "//a[contains(@href,'sharesix.com') or contains(@href,'sharesix.net/')]"
  8513. );
  8514. }
  8515. if (GM_getValue("Check_movpod_dot_in_links", false))
  8516. {
  8517. addFileHost(
  8518. "movpod\.in\/\\w+",
  8519. 'Continue',
  8520. 'File Not Found',
  8521. 'optional--',
  8522. 'optional2--',
  8523. "//a[contains(@href,'movpod.in')]"
  8524. );
  8525. }
  8526. if (GM_getValue("Check_down4files_dot_com_links", false))
  8527. {
  8528. addFileHost(
  8529. "down4files\.com\/\\w+",
  8530. 'down_table.png',
  8531. 'style="color:#d33|Error</td>|width:500px;text-align:left;">',
  8532. 'optional--',
  8533. 'optional2--',
  8534. "//a[contains(@href,'down4files.com')]"
  8535. );
  8536. }
  8537. if (GM_getValue("Check_storefiles_dot_co_links", false))
  8538. {
  8539. addFileHost(
  8540. "storefiles\.co\/\\w+",
  8541. 'btn_download',
  8542. 'No such file|>Error<|mqmaintitle">',
  8543. 'optional--',
  8544. 'optional2--',
  8545. "//a[contains(@href,'storefiles.co')]"
  8546. );
  8547. }
  8548. if (GM_getValue("Check_filehost_dot_pw_links", false))
  8549. {
  8550. addFileHost(
  8551. "filehost\.pw\/\\w+",
  8552. 'name="method_free',
  8553. '>Error<|style="color:#d33;">|No such file|FILE NOT FOUND',
  8554. 'optional--',
  8555. 'optional2--',
  8556. "//a[contains(@href,'filehost.pw')]"
  8557. );
  8558. }
  8559. if (GM_getValue("Check_uplea_dot_com_links", false))
  8560. {
  8561. addFileHost(
  8562. "uplea\.com\/\\w+",
  8563. 'Download your file:|de votre fichier:|class="download-container|Téléchargement de votre fichier:',
  8564. 'expired link|ou est invalide',
  8565. 'optional--',
  8566. 'optional2--',
  8567. "//a[contains(@href,'uplea.com/dl')]",
  8568. true);
  8569. }
  8570. if (GM_getValue("Check_toutbox_dot_fr_links", false))
  8571. {
  8572. addFileHost(
  8573. "toutbox\.fr\/\\w+",
  8574. '<div class="downloadFileFid">|class="downloadsCounter">/p>|class="filename"><a href=|img/webbuttoned.gif">',
  8575. 'meta name="description" content="Toutbox.fr|redirect-userpage = "true"',
  8576. 'Serviço temporariamente indisponível',
  8577. 'optional2--',
  8578. "//a[contains(@href,'toutbox.fr') or contains(@href,'go4up.com/')]"
  8579. );
  8580. }
  8581. if (GM_getValue("Check_openload_dot_co_links", false))
  8582. {
  8583. addFileHost(
  8584. "openload\.co\/\\w+",
  8585. 'id="downloadTimer">|button dlbutton',
  8586. 'jumbotron{color|got deleted|center !important',
  8587. 'optional--',
  8588. 'optional2--',
  8589. "//a[contains(@href,'openload.co')]"
  8590. );
  8591. }
  8592. if (GM_getValue("Check_lolabits_dot_es_links", false))
  8593. {
  8594. addFileHost(
  8595. "lolabits\.es\/\\w+",
  8596. 'Descargar:',
  8597. '<title>Archivos de usuario',
  8598. 'Service Unavailable',
  8599. 'optional2--',
  8600. "//a[contains(@href,'lolabits.es')]"
  8601. );
  8602. }
  8603. if (GM_getValue("Check_alfafile_dot_net_links", false))
  8604. {
  8605. addFileHost(
  8606. "alfafile\.net\/\\w+",
  8607. 'id="slow_download_btn',
  8608. 'class="error-box">',
  8609. 'optional--',
  8610. 'optional2--',
  8611. "//a[contains(@href,'alfafile.net')]"
  8612. );
  8613. }
  8614. if (GM_getValue("Check_multiup_dot_org_links", false))
  8615. {
  8616. addFileHost(
  8617. "multiup\.org\/\\w+",
  8618. '<title>Download|<title>Télécharger|class="link-download btn"|<h5>DOWNLOAD</h5>|<h5>TÉLÉCHARGER</h5>',
  8619. 'File not found|alert-error">|icon-white icon-warning-sign">|<title>Fichier introuvable',
  8620. 'optional--',
  8621. 'optional2--',
  8622. "//a[contains(@href,'multiup.org')]"
  8623. );
  8624. }
  8625. if (GM_getValue("Check_file_dot_al_links", false))
  8626. {
  8627. addFileHost(
  8628. "file\.al\/\\w+",
  8629. 'method_free',
  8630. 'style="width:500px;text-align:left;">',
  8631. 'optional--',
  8632. 'optional2--',
  8633. "//a[contains(@href,'file.al')]"
  8634. );
  8635. }
  8636. if (GM_getValue("Check_devilshare_dot_net_links", false))
  8637. {
  8638. addFileHost(
  8639. "devilshare\.net\/\\w+",
  8640. '<div class="large-12" id="download">',
  8641. '(Link: 0 Invalid)|File Not Found',
  8642. 'optional--',
  8643. 'optional2--',
  8644. "//a[contains(@href,'devilshare.net')]"
  8645. );
  8646. }
  8647. if (GM_getValue("Check_dailyuploads_dot_net_links", false))
  8648. {
  8649. addFileHost(
  8650. "dailyuploads\.net\/\\w+",
  8651. 'id="downloadBtnClickOrignal',
  8652. '<div style="width:500px;text-align:left;">',
  8653. 'optional--',
  8654. 'optional2--',
  8655. "//a[contains(@href,'dailyuploads.net')]"
  8656. );
  8657. }
  8658. if (GM_getValue("Check_datoteke_dot_com_links", false))
  8659. {
  8660. addFileHost(
  8661. "datoteke\.com\/\\w+",
  8662. 'slow_download_button.png|&nbsp;You must wait 1 Hour between',
  8663. '&nbsp;File has been removed',
  8664. 'optional--',
  8665. '<title>Error - Datoteke',
  8666. "//a[contains(@href,'datoteke.com')]"
  8667. );
  8668. }
  8669. if (GM_getValue("Check_sharehost_dot_eu_links", false))
  8670. {
  8671. addFileHost(
  8672. "sharehost\.eu\/\\w+",
  8673. '/?v=download_free&',
  8674. 'Errors occured|Wystąpiły błędy',
  8675. 'optional--',
  8676. 'optional2--',
  8677. "//a[contains(@href,'sharehost.eu')]"
  8678. );
  8679. }
  8680. if (GM_getValue("Check_pornfile_dot_cz_links", false))
  8681. {
  8682. addFileHost(
  8683. "pornfile\.cz\/\\w+",
  8684. 'Stáhnout soubor',
  8685. 'Soubor byl smazán',
  8686. 'optional--',
  8687. 'optional2--',
  8688. "//a[contains(@href,'pornfile.cz')]"
  8689. );
  8690. }
  8691. if (GM_getValue("Check_pornoid_dot_cz_links", false))
  8692. {
  8693. addFileHost(
  8694. "pornoid\.cz\/\\w+",
  8695. 'class="btn btn-large btn-download',
  8696. 'Soubor byl smazán',
  8697. 'optional--',
  8698. 'optional2--',
  8699. "//a[contains(@href,'pornoid.cz')]"
  8700. );
  8701. }
  8702. if (GM_getValue("Check_file_dash_share_dot_top_links", false))
  8703. {
  8704. addFileHost(
  8705. "file-share\.top\/\\w+",
  8706. 'btn-success btn-lg download',
  8707. 'Stránka neexistuje|404 Not Found',
  8708. 'optional--',
  8709. 'optional2--',
  8710. "//a[contains(@href,'file-share.top')]"
  8711. );
  8712. }
  8713. if (GM_getValue("Check_bitster_dot_cz_links", false))
  8714. {
  8715. addFileHost(
  8716. "bitster\.cz\/",
  8717. 'section" content="VIDEO"|section" content="ARCHIVE"',
  8718. 'section" content=""',
  8719. 'optional--',
  8720. 'optional2--',
  8721. "//a[contains(@href,'bitster.cz')]"
  8722. );
  8723. }
  8724. if (GM_getValue("Check_rapidu_dot_net_links", false))
  8725. {
  8726. addFileHost(
  8727. "rapidu\.net\/\\w+",
  8728. 'onclick="downloadFreeFile',
  8729. 'img/error.png|404 - Nie znaleziono pliku|404 - File not found',
  8730. 'optional--',
  8731. 'optional2--',
  8732. "//a[contains(@href,'rapidu.net')]"
  8733. );
  8734. }
  8735. if (GM_getValue("Check_dinoshare_dot_cz_links", false))
  8736. {
  8737. addFileHost(
  8738. "dinoshare\.cz\/\\w+",
  8739. 'class="download-button"',
  8740. 'Soubor byl pravděpodobně smazán|error-icon.png"',
  8741. 'optional--',
  8742. 'optional2--',
  8743. "//a[contains(@href,'dinoshare.cz')]"
  8744. );
  8745. }
  8746. if (GM_getValue("Check_bytewhale_dot_com_links", false))
  8747. {
  8748. addFileHost(
  8749. "bytewhale\.com\/\\w+",
  8750. 'rar">|avi">|mpg">|wmv">|zip">|mp4">|mkv">',
  8751. 'var rawest = "0 MB|Copyrights Claim</div>',
  8752. 'optional--',
  8753. 'This file is available for premium members only',
  8754. "//a[contains(@href,'bytewhale.com')]"
  8755. );
  8756. }
  8757. if (GM_getValue("Check_rapidrar_dot_com_links", false))
  8758. {
  8759. addFileHost(
  8760. "rapidrar\.com\/\\w+",
  8761. 'value="Free Download',
  8762. '<div style="width:500px;text-align:left;">',
  8763. 'optional--',
  8764. 'optional--',
  8765. "//a[contains(@href,'rapidrar.com')]"
  8766. );
  8767. }
  8768. if (GM_getValue("Check_filesupload_dot_org_links", false))
  8769. {
  8770. addFileHost(
  8771. "filesupload\.org\/\\w+",
  8772. '<a href="/download-or-watch/',
  8773. 'File not found',
  8774. 'optional--',
  8775. 'optional--',
  8776. "//a[contains(@href,'filesupload.org')]"
  8777. );
  8778. }
  8779. if (GM_getValue("Check_filecad_dot_com_links", false))
  8780. {
  8781. addFileHost(
  8782. "filecad\.com\/\\w+",
  8783. '<title>Download-|<div class="heading-1">Download-|btn btn-default',
  8784. 'content="404|<title>404 Error|<div class="heading-1">404 Error',
  8785. 'optional--',
  8786. 'optional--',
  8787. "//a[contains(@href,'filecad.com')]"
  8788. );
  8789. }
  8790. if (GM_getValue("Check_file_dot_up09_dot_com_links", false))
  8791. {
  8792. addFileHost(
  8793. "file.up09\.com\/\\w+",
  8794. 'name="method_free',
  8795. 'style="width:500px;text-align:left;">',
  8796. 'optional--',
  8797. 'optional--',
  8798. "//a[contains(@href,'file.up09.com')]"
  8799. );
  8800. }
  8801. if (GM_getValue("Check_lunaticfiles_dot_com_links", false))
  8802. {
  8803. addFileHost(
  8804. "lunaticfiles\.com\/\\w+",
  8805. 'name="method_free"',
  8806. 'style="width:500px;text-align:left;">|Error 404|File Not Found|<Title>Error',
  8807. 'optional--',
  8808. 'optional--',
  8809. "//a[contains(@href,'lunaticfiles.com')]"
  8810. );
  8811. }
  8812. if (GM_getValue("Check_upload_dot_af_links", false))
  8813. {
  8814. addFileHost(
  8815. "upload\.af\/\\w+",
  8816. 'id="method_free"',
  8817. '<h1>File Not Found</|could not be found|est pas disponible|Datei konnte nicht gefunden werden|م يتم إيجاد الملف المطلوب , عذراً للإزعاج|nie zostal odnaleziony|ファイルが見つかりません',
  8818. 'optional--',
  8819. 'optional--',
  8820. "//a[contains(@href,'upload.af')]"
  8821. );
  8822. }
  8823. if (GM_getValue("Check_filedwon_dot_info_links", false))
  8824. {
  8825. addFileHost(
  8826. "filedwon\.info\/\\w+",
  8827. 'name="method_free"',
  8828. 'File Not Found</b>|style="width:500px;text-align:left;">',
  8829. 'optional--',
  8830. 'optional--',
  8831. "//a[contains(@href,'filedwon.info')]"
  8832. );
  8833. }
  8834. if (GM_getValue("Check_uplod_dot_it_links", false))
  8835. {
  8836. addFileHost(
  8837. "uplod\.it\/\\w+",
  8838. 'value="download2">|name="method_free',
  8839. '<Title>Download </Title>',
  8840. 'optional--',
  8841. 'optional--',
  8842. "//a[contains(@href,'uplod.it')]"
  8843. );
  8844. }
  8845. if (GM_getValue("Check_abelhas_dot_pt_links", false))
  8846. {
  8847. addFileHost(
  8848. "abelhas\.pt\/\\w+",
  8849. 'downloadAction" title="|Download</a>|class="downloadFolderButton"|Introduzir password:<',
  8850. 'O ficheiro ou conta que estás à procura foi eliminada|class="marked">O ficheiro est',
  8851. 'optional--',
  8852. 'optional--',
  8853. "//a[contains(@href,'abelhas.pt')]"
  8854. );
  8855. }
  8856. if (GM_getValue("Check_disk_dot_yandex_dot_com_links", false))
  8857. {
  8858. addFileHost(
  8859. "disk.yandex\.com\/\\w+",
  8860. 'nb-button _nb-small-button',
  8861. 'error code|Nothing found',
  8862. 'optional--',
  8863. 'optional2--',
  8864. "//a[contains(@href,'yadi.sk') or contains(@href,'yandex.com')]");
  8865. }
  8866. if (GM_getValue("Check_filespace_dot_com_links", false))
  8867. {
  8868. addFileHost(
  8869. "filespace\.com\/\\w+",
  8870. 'name="method_free',
  8871. '<div style="text-align:left;"><ul>|>File not found.<',
  8872. 'optional1--',
  8873. 'optional2--',
  8874. "//a[contains(@href,'filespace.com')]");
  8875. }
  8876. if (GM_getValue("Check_uploads_dot_ws_links", false))
  8877. {
  8878. addFileHost(
  8879. "(?:uploads\\.ws|upl\\.me)\/\\w+",
  8880. 'name="downloadFile|id="downloadFile|value="Wait',
  8881. '<title>File not found</title>|>Error:<',
  8882. 'optional1--',
  8883. 'optional2--',
  8884. "//a[contains(@href,'uploads.ws') or contains(@href,'upl.me/')]");
  8885. }
  8886. if (GM_getValue("Check_ncrypt_dot_in_links", false))
  8887. {
  8888. addFileHost(
  8889. "ncrypt\.in\/\\w+",
  8890. 'Sicherheitsabfrage:|Securitycheck:',
  8891. 'does not exist|existiert nicht',
  8892. 'optional1--',
  8893. 'optional2--',
  8894. "//a[contains(@href,'ncrypt.in')]");
  8895. }
  8896. if (GM_getValue("Check_jeodrive_dot_com_links", false))
  8897. {
  8898. addFileHost(
  8899. "jeodrive\.com\/\\w+",
  8900. 'btn-lg regular',
  8901. 'Not found',
  8902. 'optional1--',
  8903. 'optional2--',
  8904. "//a[contains(@href,'jeodrive.com')]");
  8905. }
  8906. if (GM_getValue("Check_myfiles_dot_onl_links", false))
  8907. {
  8908. addFileHost(
  8909. "myfiles\.onl\/\\w+",
  8910. 'value="Free"',
  8911. '<div style="width:500px;text-align:left;">',
  8912. 'optional1--',
  8913. 'optional2--',
  8914. "//a[contains(@href,'myfiles.onl')]");
  8915. }
  8916. if (GM_getValue("Check_uploadserv_dot_com_links", false))
  8917. {
  8918. addFileHost(
  8919. "uploadserv\.com\/\\w+",
  8920. 'color="red">http://uploadserv.com/',
  8921. 'content="Download File ">|<title>Download </title>',
  8922. 'optional1--',
  8923. 'optional2--',
  8924. "//a[contains(@href,'uploadserv.com')]");
  8925. }
  8926. if (GM_getValue("Check_keepshare_dot_net_links", false))
  8927. {
  8928. addFileHost(
  8929. "keepshare\.net\/\\w+",
  8930. 'method_free',
  8931. '<div style="width:500px;text-align:left;">',
  8932. 'optional1--',
  8933. 'optional2--',
  8934. "//a[contains(@href,'keepshare.net')]");
  8935. }
  8936. if (GM_getValue("Check_oload_dot_net_links", false))
  8937. {
  8938. addFileHost(
  8939. "oload\.net\/\\w+",
  8940. '<font color="red">http://oload.net',
  8941. 'class="page-ttl">',
  8942. 'optional1--',
  8943. 'optional2--',
  8944. "//a[contains(@href,'oload.net')]");
  8945. }
  8946. if (GM_getValue("Check_filescdn_dot_com_links", false))
  8947. {
  8948. addFileHost(
  8949. "filescdn\.com\/\\w+",
  8950. 'btn bg-green-40|btn_download',
  8951. 'icon-warning text-danger',
  8952. 'optional1--',
  8953. 'optional2--',
  8954. "//a[contains(@href,'filescdn.com')]");
  8955. }
  8956. if (GM_getValue("Check_bankupload_dot_com_links", false))
  8957. {
  8958. addFileHost(
  8959. "bankupload\.com\/\\w+",
  8960. 'id="btn_download"|1.0 GB',
  8961. '<div style="width:500px;text-align:left;">',
  8962. 'optional1--',
  8963. ' GB',
  8964. "//a[contains(@href,'bankupload.com')]");
  8965. }
  8966. if (GM_getValue("Check_katfile_dot_com_links", false))
  8967. {
  8968. addFileHost(
  8969. "katfile\.com\/\\w+",
  8970. 'KB| MB|1.0 GB',
  8971. 'images/file_not_found.png"',
  8972. 'optional1--',
  8973. ' GB',
  8974. "//a[contains(@href,'katfile.com')]");
  8975. }
  8976. if (GM_getValue("Check_filesin_dot_space_links", false))
  8977. {
  8978. addFileHost(
  8979. "filesin\.space\/\\w+",
  8980. 'id="btn_download"',
  8981. 'class="err">',
  8982. 'optional1--',
  8983. 'optional2',
  8984. "//a[contains(@href,'filesin.space')]");
  8985. }
  8986. if (GM_getValue("Check_upnito_dot_sk_links", false))
  8987. {
  8988. addFileHost(
  8989. "(?:dl.\\.|)upnito\\.sk\/(download|subor|file)",
  8990. 'download.php',
  8991. 'notfound|upload\\-suborov\\.php"',
  8992. 'optional--',
  8993. 'optional2--',
  8994. "//a[contains(@href,'upnito.sk')]"
  8995. );
  8996. }
  8997. if (GM_getValue("Check_alltu_dot_eu_links", false))
  8998. {
  8999. addFileHost(
  9000. "alltu\.eu\/\\w+",
  9001. 'download-timer',
  9002. '<pre id="line1|File has been removed|Súbor bol odstránený',
  9003. 'optional1--',
  9004. 'optional2',
  9005. "//a[contains(@href,'alltu.eu')]");
  9006. }
  9007. if (GM_getValue("Check_novafile_dot_com_links", false))
  9008. {
  9009. addFileHost(
  9010. "novafile\.com\/\\w+",
  9011. 'id="regular-download',
  9012. 'id="file-not-found',
  9013. 'optional1--',
  9014. 'id="premium-only',
  9015. "//a[contains(@href,'novafile.com')]");
  9016. }
  9017. if (GM_getValue("Check_uploadgig_dot_com_links", false))
  9018. {
  9019. addFileHost(
  9020. "uploadgig\.com\/\\w+",
  9021. 'btn-default',
  9022. 'File not found',
  9023. 'optional1--',
  9024. 'optional2',
  9025. "//a[contains(@href,'uploadgig.com')]");
  9026. }
  9027. if (GM_getValue("Check_mexashare_dot_com_links", false))
  9028. {
  9029. addFileHost(
  9030. "mexashare\.com\/\\w+",
  9031. 'method_free',
  9032. '404 Error|15px;border-radius:15px">',
  9033. 'optional1--',
  9034. 'optional2',
  9035. "//a[contains(@href,'mexashare.com')]");
  9036. }
  9037. if (GM_getValue("Check_daofile_dot_com_links", false))
  9038. {
  9039. addFileHost(
  9040. "daofile\.com\/\\w+",
  9041. 'class="captcha_code',
  9042. 'style="width:500px;text-align:left;">',
  9043. 'optional1--',
  9044. 'optional2',
  9045. "//a[contains(@href,'daofile.com')]");
  9046. }
  9047. if (GM_getValue("Check_imagenetz_dot_de_links", false))
  9048. {
  9049. addFileHost(
  9050. "imagenetz\.de\/\\w+",
  9051. 'id="download',
  9052. 'Download nicht Möglich|Diese Datei existiert nicht mehr',
  9053. 'optional1--',
  9054. 'optional2',
  9055. "//a[contains(@href,'imagenetz.de')]");
  9056. }
  9057. if (GM_getValue("Check_uloz_dot_to_links", false))
  9058. {
  9059. addFileHost(
  9060. "uloz\.to",
  9061. 'limitedDownloadButton|Stáhnout pomalu',
  9062. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9063. 'optional1--',
  9064. 'optional2',
  9065. "//a[contains(@href,'uloz.to')]");
  9066. }
  9067. if (GM_getValue("Check_ulozto_dot_net_links", false))
  9068. {
  9069. addFileHost(
  9070. "ulozto\.net",
  9071. 'limitedDownloadButton|Stáhnout pomalu',
  9072. 'grayButton deletedFile">|Stránka nenalezena|upload-button"|jako soukromý.',
  9073. 'optional1--',
  9074. 'optional2',
  9075. "//a[contains(@href,'ulozto.net')]");
  9076. }
  9077.  
  9078. }
  9079. //start here
  9080.  
  9081. //hosts with direct download, so they must be requested for headers only
  9082. function initFileHostsHeadersOnly()
  9083. {
  9084. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9085. {
  9086. var host = new Array(5);
  9087. host[0] = linkRegex;
  9088. host[1] = isAliveRegex;
  9089. host[2] = isDeadRegex;
  9090. host[3] = xpathEx;
  9091. host[4] = ispremRegex;
  9092. http_file_hosts_headers_only.push(host);
  9093. }
  9094. if (GM_getValue("Check_uloziste_dot_com_links", false))
  9095. {
  9096. addFileHostHeadersOnly(
  9097. "(?:|files\\.)uloziste\\.com\/\\w+\/\\w+",
  9098. 'Connection: Keep-Alive',
  9099. 'Content-Length: 3857',
  9100. "//a[contains(@href,'uloziste.com')]"
  9101. )
  9102. }
  9103. if (GM_getValue("Check_adrive_dot_com_links", false))
  9104. {
  9105. addFileHostHeadersOnly(
  9106. "adrive\\.com\/public\/\\w+",
  9107. 'Connection: keep-alive',
  9108. 'orig_ref=deleted',
  9109. "//a[contains(@href,'adrive.com')]"
  9110. )
  9111. }
  9112. }
  9113.  
  9114. //CustomRules
  9115. //functions add...Host copied here
  9116. function addObsoleteHost(linkRegex, xpathEx)
  9117. {
  9118. var host = new Array(2);
  9119. host[0] = linkRegex;
  9120. host[1] = xpathEx;
  9121. http_file_hosts_obsolete.push(host);
  9122. }
  9123. function addFileHost(linkRegex, isAliveRegex, isDeadRegex, isUnavaRegex, xpathEx, tryLoop, ispremRegex)
  9124. {
  9125. var host = new Array(7);
  9126. host[0] = linkRegex;
  9127. host[1] = isAliveRegex;
  9128. host[2] = isDeadRegex;
  9129. host[3] = isUnavaRegex;
  9130. host[4] = xpathEx;
  9131. tryLoop ? host[5] = true : host[5] = false;
  9132. host[6] = ispremRegex;
  9133. http_file_hosts.push(host);
  9134. }
  9135. function addFileHostHeadersOnly(linkRegex, isAliveRegex, isDeadRegex, xpathEx, ispremRegex)
  9136. {
  9137. var host = new Array(5);
  9138. host[0] = linkRegex;
  9139. host[1] = isAliveRegex;
  9140. host[2] = isDeadRegex;
  9141. host[3] = xpathEx;
  9142. host[4] = ispremRegex;
  9143. http_file_hosts_headers_only.push(host);
  9144. }
  9145. //takes a fully built rules array and adds the rules to WARLC
  9146. function applyCustomRules(customRules)
  9147. {
  9148. if (!customRules) return;
  9149. var rules, r, i;
  9150. rules = customRules.rules;
  9151. for (i = 0 ; i < rules.length ; i++)
  9152. {
  9153. r = rules[i];
  9154. if (r.enabled)
  9155. {
  9156. switch (r.type)
  9157. {
  9158. case 'single':
  9159. addFileHost(r.urlregex, r.aliveregex, r.deadregex, r.unavaregex, r.premregex||'', r.xpath);
  9160. break;
  9161. case 'headers':
  9162. addFileHostHeadersOnly(r.urlregex, r.aliveregex, r.deadregex, r.xpath, r.premregex);
  9163. break;
  9164. case 'obsolete':
  9165. addObsoleteHost(r.urlregex, r.xpath)
  9166. break;
  9167. }
  9168. }
  9169. }
  9170. }
  9171.  
  9172.  
  9173. function initFileHostsCustom()
  9174. {
  9175. if (Custom_rules && Custom_rules_text)
  9176. {
  9177. var msg = '';
  9178. if (newVersion)
  9179. msg = 'New version of W.A.R. Links Checker detected.\n\n';
  9180. else if ((now - last_custom_rules_nag) >= 60*24*60*60*1000)
  9181. msg = '60 or more days have passed since this notification.\n\n';
  9182. if (msg && /^\s*@customrule(?:_obsolete)?\s/mi.test(Custom_rules_text))
  9183. {
  9184. GM_setValue('last_custom_rules_nag', ''+new Date().getTime()); //reset nag
  9185. msg +=
  9186. 'Either new version of W.A.R. Links Checker detected or 60 days passed since this notify.\n'+
  9187. 'Please check that your custom rules haven\'t been built into WARLC.\n'+
  9188. 'If not, please share them with us so they can be included in the next version! Built-in rules are always preferred.\n\n'+
  9189. 'We apologize for this annoying notification, but there is a reason to this.\n'+
  9190. 'Ideally, WARLC would check which of your custom rules have been included and disable them. '+
  9191. 'Unfortunately, there is no easy way to do that, but we don\'t want everybody to just use their custom rules '+
  9192. 'forever without ever checking if the built-in ones have been added/fixed. This is currently the only way '+
  9193. 'to remind you that you should try built-in rules, report missing/non-working ones and share your custom rules.';
  9194. setTimeout(function(){alert(msg)},0);
  9195. }
  9196. var customRules = parseCustomRules(Custom_rules_text);
  9197. if (customRules.warning || customRules.error)
  9198. alert('There were ' + customRules.error + ' errors, ' + customRules.warning + ' warnings, ' +
  9199. customRules.note + ' notes found during Custom Rules processing.\n' + customRules.rules.length + ' valid rules found.\n\n' +
  9200. JSON.stringify(customRules.info, null, ' '));
  9201. applyCustomRules(customRules);
  9202. }
  9203. }
  9204. //end of CustomRules processing
  9205.  
  9206.  
  9207.  
  9208. } //end of function start
  9209.  
  9210.  
  9211.  
  9212. function initClipBoardTools()
  9213. {
  9214. unsafeWindow.copyToClipboard = function(text)
  9215. {
  9216. try
  9217. {
  9218. this.netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
  9219.  
  9220. var str = Components.classes["@mozilla.org/supports-string;1"].
  9221. createInstance(Components.interfaces.nsISupportsString);
  9222. if (!str) return false;
  9223.  
  9224. str.data = text;
  9225.  
  9226. var trans = Components.classes["@mozilla.org/widget/transferable;1"].
  9227. createInstance(Components.interfaces.nsITransferable);
  9228. if (!trans) return false;
  9229.  
  9230. trans.addDataFlavor("text/unicode");
  9231. trans.setTransferData("text/unicode", str, text.length * 2);
  9232.  
  9233. var clipid = Components.interfaces.nsIClipboard;
  9234. var clip = Components.classes["@mozilla.org/widget/clipboard;1"].getService(clipid);
  9235. if (!clip) return false;
  9236.  
  9237. clip.setData(trans, null, clipid.kGlobalClipboard);
  9238. } catch (e) {
  9239. GM_log("Error copyToClipboard : " + e);
  9240. alert(e + "\n\nsigned.applets.codebase_principal_support must be set true in about:config")
  9241. }
  9242. }
  9243. }
  9244.  
  9245.  
  9246.  
  9247. //CustomRules
  9248.  
  9249. function escapeRegex(str)
  9250. {
  9251. return str.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g, "\\$&");
  9252. }
  9253.  
  9254.  
  9255. //called internally from parseCustomRules.
  9256. //expected: rule object with array fields baseurl, alivematch etc, everything must already be checked for input errors
  9257. //returns the rule object with string fields urlregex, xpath, aliveregex etc built from the arrays
  9258. function makeCustomRule(rule)
  9259. {
  9260. function makeMatchRegex(arrmatch)
  9261. {
  9262. return escapeRegex(arrmatch.join('\n'))
  9263. .replace(/ +/g, '\\s+') //two or more spaces to any whitespace
  9264. .replace(/\n/g,'|'); //join together
  9265. }
  9266. if (rule.alivematch) rule.aliveregex = makeMatchRegex(rule.alivematch);
  9267. if (rule.deadmatch) rule.deadregex = makeMatchRegex(rule.deadmatch);
  9268. if (rule.unavamatch) rule.unavaregex = makeMatchRegex(rule.unavamatch);
  9269. if (rule.premmatch) rule.premregex = makeMatchRegex(rule.premmatch);
  9270. if (rule.baseurl)
  9271. {
  9272. var i, m, urlregex = [], xpath = [], len = rule.baseurl.length;
  9273. for (i = 0 ; i < len ; i++)
  9274. {
  9275. m = rule.baseurl[i].match(/^([a-z0-9\.-]+)(?: +([a-z \.]+) +)?(\/.*)$/);
  9276. if (m[2]) //baseurl in the form: example. com co.uk net /xxx
  9277. {
  9278. 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'])
  9279. urlregex.push( (m[1] + '(?:'+ m[2].replace(/\s+/g,'|') + ')').replace(/\./g,'\\.') + escapeRegex(m[3]) + '.'); //urlregex.push('example\\.(?:com|co\\.uk|net)/xxx.')
  9280. }
  9281. else //baseurl in the form: example.com/xxx
  9282. {
  9283. xpath.push(m[0]);
  9284. urlregex.push(escapeRegex(m[0]) + '.');
  9285. }
  9286. }
  9287. rule.xpath = "//a[contains(@href,'" + xpath.join("') or contains(@href,'") + "')]";
  9288. rule.urlregex = '(?:[a-z0-9\\.-]+\\.)?(?:' + urlregex.join('|') + ')';
  9289. }
  9290. return rule;
  9291. } //function makeCustomRule
  9292.  
  9293.  
  9294. /*
  9295. Takes a string containing custom link checking rules.
  9296. Returns an object with fields:
  9297. info - contains notes, warnings and errors found during parsing
  9298. rules - the array of custom rules
  9299. note, warning, error - number of each of them found during parsing
  9300. Format of the input string:
  9301. One command per line. Command format: @keyword parameter
  9302. Keywords:
  9303. @customrule, @customrule_obsolete, @customrule_headers - begin a new custom rule. Parameter: name of the rule
  9304. @#customrule, @#customrule_obsolete, @#customrule_headers - begin and parse this custom rule, but don't use it. Parameter: name of the rule
  9305. These keywords can be multiple (any of them will work):
  9306. @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...)
  9307. @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+
  9308. @alivelink, @deadlink - example links
  9309. @baseurl is always required, @alivematch and @deadmatch are required except for obsolete. @unavamatch is ignored for obsolete. @*link is optional.
  9310. Lines starting with // and empty lines are ignored.
  9311. Invalid parameters generate errors and those lines are skipped.
  9312. Other lines generate warnings, but are otherwise ignored (also those before the first @customrule line or inside a rule with invalid name).
  9313. Example:
  9314. @customrule filehost
  9315. @baseurl filehost.com/download/
  9316. @baseurl filehost2. com net /d?=
  9317. @alivematch id="download">
  9318. @deadmatch File not found
  9319. @deadmatch File deleted
  9320. */
  9321. function parseCustomRules(rulesStr)
  9322. {
  9323. var linenum, customRules = {'info': [], 'rules': [], 'note': 0, 'warning': 0, 'error': 0};
  9324. function addInfo(type, msg, ln){
  9325. customRules.info.push({'linenum':(ln===undefined ? linenum+1 : ln+1), 'type':type, 'msg':msg});
  9326. customRules[type]++;
  9327. }
  9328. var lines = rulesStr.match(/^(.*)$/gm); //split into array of lines
  9329. if (!lines) return null;
  9330. lines.push('@#customrule _'); //to save the last rule
  9331. var m, linecount = lines.length;
  9332. var keyword, param, constr, rule, err;
  9333. var TLD = '[a-z]{2,7}(?:\\.[a-z]{2,7})?';
  9334. var TLDorTLDlist = '(?:'+TLD+'| '+TLD+'(?: '+TLD+'){0,9} )'; //TLD or space-separated list of TLDs
  9335. var baseurlRE = new RegExp('^([a-z0-9-]{1,30}(?:\\.[a-z0-9-]{1,30}){0,2}\\.)'+TLDorTLDlist+'(/[^\'"\s\$]{0,50})$', 'i');
  9336. var constraints = {
  9337. 'baseurl': {
  9338. 'single': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9339. 'headers': {'min': 1, 'max': 10, 'paramRE': baseurlRE},
  9340. 'obsolete': {'min': 1, 'max': 10, 'paramRE': baseurlRE}},
  9341. 'alivematch': {
  9342. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9343. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9344. 'deadmatch': {
  9345. 'single': {'min': 1, 'max': 10, 'paramRE': null},
  9346. 'headers': {'min': 1, 'max': 10, 'paramRE': null}},
  9347. 'unavamatch': {
  9348. 'single': {'min': 0, 'max': 10, 'paramRE': null}},
  9349. 'alivelink': {
  9350. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9351. 'headers': {'min': 0, 'max': 10, 'paramRE': null}},
  9352. 'deadlink': {
  9353. 'single': {'min': 0, 'max': 10, 'paramRE': null},
  9354. 'headers': {'min': 0, 'max': 10, 'paramRE': null},
  9355. 'obsolete': {'min': 0, 'max': 10, 'paramRE': null}}
  9356. };
  9357. for (linenum = 0 ; linenum < linecount ; linenum++)
  9358. {
  9359. //capturing groups: 1 23 4 5 6
  9360. m = lines[linenum].match(/^\s*(?:(\/\/.*)|@((#?)(customrule)(?:_(headers|obsolete))?|baseurl|alivematch|deadmatch|unavamatch|alivelink|deadlink)\s+(.+))?$/i);
  9361. if (m)
  9362. {
  9363. if (m[1] || !m[2])
  9364. continue; // ignore empty lines and lines starting with //
  9365. keyword = (m[4] || m[2]).toLowerCase();
  9366. param = m[6];
  9367. if (keyword == 'customrule')
  9368. {
  9369. //save the current rule if all required fields are provided
  9370. if (rule)
  9371. {
  9372. err = false;
  9373. $.each(constraints, function(kw, constraint){
  9374. var l, constr = constraint[rule.type];
  9375. if (constr)
  9376. {
  9377. l = rule[kw] ? rule[kw].length : 0;
  9378. if (l < constr.min || l > constr.max)
  9379. {
  9380. 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);
  9381. err = true;
  9382. }
  9383. }
  9384. });
  9385. if (!err)
  9386. customRules.rules.push(makeCustomRule(rule));
  9387. }
  9388. //start a new rule
  9389. if (/^[\w\.-]{1,30}$/.test(param)) //valid name?
  9390. {
  9391. rule = {
  9392. 'enabled': !m[3],
  9393. 'type': m[5] ? m[5].toLowerCase() : 'single',
  9394. 'name': param
  9395. };
  9396. }
  9397. else
  9398. {
  9399. addInfo('error', 'Invalid rule name. Cannot start a new rule definition.');
  9400. rule = null;
  9401. }
  9402. }
  9403. else //good line format, but keyword other than customrule
  9404. {
  9405. if (!rule)
  9406. {
  9407. addInfo('warning', 'Command outside @CUSTOMRULE definiton. Line skipped.');
  9408. continue;
  9409. }
  9410. if (constraints[keyword])
  9411. {
  9412. constr = constraints[keyword][rule.type];
  9413. if (constr)
  9414. {
  9415. if (constr.paramRE && !constr.paramRE.test(param))
  9416. {
  9417. addInfo('warning', 'Invalid @' + keyword.toUpperCase() + ' parameter. Line Skipped.');
  9418. continue;
  9419. }
  9420. }
  9421. else
  9422. {
  9423. addInfo('note', '@' + keyword.toUpperCase() + ' not applicable for type ' + rule.type.toUpperCase() + '. Line skipped.');
  9424. continue;
  9425. }
  9426. }
  9427. //line OK, save
  9428. rule[keyword] ? rule[keyword].push(param) : rule[keyword] = [param];
  9429. }
  9430. } //if (m)
  9431. else
  9432. addInfo('warning', 'Unknown line format. Line skipped.');
  9433. } //for loop
  9434. return customRules;
  9435. } //function parseCustomRules
  9436.  
  9437.  
  9438. /* ********************UPDATES********************
  9439.  
  9440. july 10, 2016
  9441. Version 1.3.0.5
  9442. fixed ulozto.net
  9443.  
  9444. july 07, 2016
  9445. Version 1.3.0.4
  9446. fixed uloz.to
  9447.  
  9448. july 07, 2016
  9449. Version 1.3.0.3
  9450. added imagenetz.de
  9451.  
  9452. June 23, 2016
  9453. Version 1.3.0.2
  9454. excluded nexcess.net
  9455.  
  9456. June 20, 2016
  9457. Version 1.3.0.1
  9458. added daofile.com
  9459.  
  9460. June 16, 2016
  9461. Version 1.3.0.0
  9462. added mexashare.com
  9463.  
  9464. June 16, 2016
  9465. Version 1.2.9.9
  9466. added novafile.com
  9467. added uploadgig.com
  9468.  
  9469. June 15, 2016
  9470. Version 1.2.9.8
  9471. fixed upload.af
  9472.  
  9473. June 10, 2016
  9474. Version 1.2.9.7
  9475. added alltu.eu
  9476.  
  9477. June 09, 2016
  9478. Version 1.2.9.6
  9479. added code for french language to rapidgator.net & rg.to
  9480.  
  9481. June 04, 2016
  9482. Version 1.2.9.5
  9483. added upnito.sk
  9484.  
  9485. May 31, 2016
  9486. Version 1.2.9.4
  9487. fixed mega.co (by yurii)
  9488.  
  9489. May 31, 2016
  9490. Version 1.2.9.3
  9491. code cleanup
  9492.  
  9493. May 27, 2016
  9494. Version 1.2.9.2
  9495. added filesin.space
  9496.  
  9497. May 27, 2016
  9498. Version 1.2.9.1
  9499. added
  9500. filescdn.com
  9501. bankupload.com
  9502. katfile.com
  9503.  
  9504. May 18, 2016
  9505. Version 1.2.9.0
  9506. added warped.co to obsolete hosts
  9507.  
  9508. May 17, 2016
  9509. Version 1.2.8.9
  9510. fixed mega.nz
  9511.  
  9512. May 16, 2016
  9513. Version 1.2.8.8
  9514. added to obsolete hosts
  9515. fileband.com
  9516. filecloud.cc
  9517. filesmelt.com
  9518. goldbytez.com
  9519. hulkshare.com
  9520. idup.in
  9521. loudupload.net
  9522. muchshare.net
  9523. myupload.dk
  9524. nekaka.com
  9525. netkups.com
  9526. plunder.com
  9527. uploads.xxx
  9528. uploadspace.pl
  9529. xkeepfile.com
  9530.  
  9531. May 16, 2016
  9532. Version 1.2.8.7
  9533. added upnito.sk to obsolete hosts
  9534.  
  9535. May 15, 2016
  9536. Version 1.2.8.6
  9537. fixed uploading.site
  9538.  
  9539. May 15, 2016
  9540. Version 1.2.8.5
  9541. added oload.net
  9542.  
  9543. May 14, 2016
  9544. Version 1.2.8.4
  9545. added uploading.site
  9546.  
  9547. May 13, 2016
  9548. Version 1.2.8.3
  9549. added uploadc.ch
  9550. fixed vidspot.net
  9551.  
  9552. May 13, 2016
  9553. Version 1.2.8.2
  9554. added keepshare.net
  9555.  
  9556. May 11, 2016
  9557. Version 1.2.8.1
  9558. added uploadserv.com
  9559.  
  9560. May 09, 2016
  9561. Version 1.2.8.0
  9562. fixed upstore.net & upsto.re
  9563. added 24uploading.com to obsolete hosts
  9564.  
  9565. May 06, 2016
  9566. Version 1.2.7.9
  9567. added storagon.com to obsolete hosts
  9568. fixed worldbytez.com
  9569.  
  9570. May 02, 2016
  9571. Version 1.2.7.8
  9572. added myfiles.onl
  9573.  
  9574. april 28, 2016
  9575. Version 1.2.7.7
  9576. fixed bytewhale.com
  9577.  
  9578. april 27, 2016
  9579. Version 1.2.7.6
  9580. fixed rapidgator not detecting some premium links.
  9581.  
  9582. april 27, 2016
  9583. Version 1.2.7.5
  9584. added jeodrive.com
  9585.  
  9586. april 26, 2016
  9587. Version 1.2.7.4
  9588. added sanshare.com to obsolete hosts
  9589.  
  9590. april 26, 2016
  9591. Version 1.2.7.3
  9592. fixed vidspot.net
  9593.  
  9594. april 26, 2016
  9595. Version 1.2.7.2
  9596. added upx.nz
  9597.  
  9598. april 25, 2016
  9599. Version 1.2.7.1
  9600. added rapidfilehost.com to obsolete hosts
  9601. fixed bitster.cz
  9602.  
  9603. april 12, 2016
  9604. Version 1.2.7.0
  9605. fixed rapidgator not detecting some premium links.
  9606.  
  9607. april 11, 2016
  9608. Version 1.2.6.9
  9609. changed code for ncrypt.in
  9610.  
  9611. april 07, 2016
  9612. Version 1.2.6.8
  9613. added fileinz.com to obsolete hosts.
  9614.  
  9615. april 06, 2016
  9616. Version 1.2.6.7
  9617. added sharingmaster.com to obsolete hosts.
  9618.  
  9619. april 05, 2016
  9620. Version 1.2.6.6
  9621. added 4upfiles.com & elffiles.com to obsolete hosts
  9622.  
  9623. april 03, 2016
  9624. Version 1.2.6.5
  9625. updates to configuration page
  9626.  
  9627. March 31, 2016
  9628. Version 1.2.6.4
  9629. added code for tampermonkey 4.0 compatibility
  9630.  
  9631. March 31, 2016
  9632. Version 1.2.6.3
  9633. fixed uloz.to
  9634. fixed copy dead links to clipboard feature
  9635. added copy live links to clipboard feature.
  9636.  
  9637. March 24, 2016
  9638. Version 1.2.6.2
  9639. changed made to nitroflare. (yurri)
  9640.  
  9641. March 20, 2016
  9642. Version 1.2.6.1
  9643. fixed rapidgator
  9644. fixed dfiles
  9645. fixed dl.free.fr
  9646. fixed nitroflare.com (Fixed by Yurii)
  9647.  
  9648. March 15, 2016
  9649. Version 1.2.6.0
  9650. fixed rapidgator.net
  9651. fixed uploaded.net
  9652.  
  9653. March 13, 2016
  9654. Version 1.2.5.9
  9655. added
  9656. uploads.ws
  9657. upl.me
  9658. clicknupload.link
  9659. added fileover.net to obsolete hosts
  9660. fixed kingfiles.net
  9661.  
  9662. March 09, 2016
  9663. Version 1.2.5.8
  9664. added kingfiles.net to obsolete hosts
  9665. fixed 4upld.com/expressleech.com
  9666.  
  9667. March 08, 2016
  9668. Version 1.2.5.7
  9669. fixed solidfiles.com
  9670.  
  9671. March 01, 2016
  9672. Version 1.2.5.6
  9673. added filespace.com
  9674. fixed depositfiles (by yurii)
  9675.  
  9676. February 29, 2016
  9677. Version 1.2.5.5
  9678. made change to keep2share
  9679.  
  9680. February 28, 2016
  9681. Version 1.2.5.4
  9682. removed down4files.com from obsolete hosts.
  9683.  
  9684. February 26, 2016
  9685. Version 1.2.5.3
  9686. fixed userscloud.com
  9687.  
  9688. February 24, 2016
  9689. Version 1.2.5.2
  9690. added yandex.com
  9691. fixed datafile.com
  9692.  
  9693. February 22, 2016
  9694. Version 1.2.5.1
  9695. added bigfile.to
  9696.  
  9697. February 20, 2016
  9698. Version 1.2.5.0
  9699. added abelhas.pt
  9700.  
  9701. February 18, 2016
  9702. Version 1.2.4.9
  9703. made change to uptobox
  9704.  
  9705. February 17, 2016
  9706. Version 1.2.4.8
  9707. fixed yadi.sk
  9708.  
  9709. February 16, 2016
  9710. Version 1.2.4.7
  9711. fixed datafile.com
  9712. fixed filecad.com
  9713. added filecore.co & filestorm.to to obsolete hosts
  9714. added upload.af, filedwon.in & uplod.it
  9715.  
  9716. February 15, 2016
  9717. Version 1.2.4.6
  9718. fixed kumpulbagi.id
  9719. added sangfile.com to obsolete hosts
  9720.  
  9721. February 14, 2016
  9722. Version 1.2.4.5
  9723. fixed yandex.ru
  9724.  
  9725. February 13, 2016
  9726. Version 1.2.4.4
  9727. added lunaticfiles.com.
  9728.  
  9729. February 09, 2016
  9730. Version 1.2.4.3
  9731. added file.up09.com.
  9732.  
  9733. February 09, 2016
  9734. Version 1.2.4.2
  9735. tezfiles.com premium links now detected.
  9736.  
  9737. February 09, 2016
  9738. Version 1.2.4.1
  9739. added seenupload.com to obsolete hosts
  9740. fixed 180upload.com to show obsolete
  9741.  
  9742. February 08, 2016
  9743. Version 1.2.4.0
  9744. added tusfiles.com
  9745. added filesupload.org
  9746. added gigasize.com
  9747. added filecad.com
  9748. fixed filecloud.io
  9749. added uploadnet.co to obsolete hosts
  9750.  
  9751. February 07,2016
  9752. Vession 1.2.3.9
  9753. fixed depositfiles.com folders
  9754. fixed turbobit.net folders
  9755.  
  9756. February 06, 2016
  9757. Version 1.2.3.8
  9758. fixed 1fichier false dead links
  9759.  
  9760. February 04, 2106
  9761. Version 1.2.3.7
  9762. added geupload and lenfile to obsolete hosts
  9763. fixed kyc.pm/depfile
  9764.  
  9765. February 03, 2016
  9766. Version 1.2.3.6
  9767. fixed some nitroflare.com dead links not being detected
  9768.  
  9769. February 01, 2016
  9770. Version 1.2.3.5
  9771. script moved to new site
  9772.  
  9773. January 20, 2016
  9774. Version 1.2.3.3
  9775. fixed some rapidgator premium link not being detected
  9776.  
  9777. January 17, 2016
  9778. Version 1.2.3.2
  9779. added bytewhale.com
  9780. added rapidrar.com
  9781.  
  9782. Version 1.2.3.1
  9783. added 180upload.com to obsolete hosts
  9784. fixed hellspy.com
  9785. added dinoshare.cz,
  9786.  
  9787. January 13, 2016
  9788. Version 1.2.3.0
  9789. added rapidu.net
  9790. added uploadboy.me
  9791. fixed euroshare.eu
  9792.  
  9793. January 12, 2016
  9794. Version 1.2.2.9
  9795. added kb.simple-aja.info
  9796.  
  9797. January 10, 2016
  9798. Version 1.2.2.8
  9799. made changes to fastshare.cz
  9800.  
  9801. January 10, 2016
  9802. Version 1.2.2.7
  9803. fixed uptobox.com
  9804.  
  9805. January 09, 2016
  9806. Version 1.2.2.6
  9807. datoteke.com now detects premium links
  9808. fixed turbobit.net
  9809. fixed uptobox.com
  9810. added pornfile.cz
  9811. added pornoid.cz
  9812. added file-share.top
  9813. added bitster.cz
  9814.  
  9815. January 05, 2016
  9816. Version 1.2.2.5
  9817. fixed salefiles.com
  9818. fixed ozofile.com
  9819.  
  9820. January 04, 2016
  9821. Version 1.2.2.4
  9822. added sharehost.eu
  9823.  
  9824. December 30, 2015
  9825. Version 1.2.2.3
  9826. added tezfiles.com
  9827.  
  9828. December 28, 2015
  9829. Version 1.2.2.2
  9830. fixed some k2s & fboom dead link not getting detected
  9831. fixed some k2s premium links not getting detected.
  9832. fixed ssh.yt not detecting some dead links
  9833. fixed ncrypt.in dead links showing yellow
  9834.  
  9835. December 20, 2015
  9836. Version 1.2.2.0
  9837. added datoteke.com
  9838.  
  9839. December 19, 2015
  9840. Version 1.2.1.9
  9841. added secured.in & linksave.in to obsolete hosts
  9842.  
  9843. December 17, 2015
  9844. Version 1.2.1.8
  9845. added german for dead links to secureupload.eu.
  9846.  
  9847. December 17, 2015
  9848. Version 1.2.1.7
  9849. added french for dead links to secureupload.eu.
  9850. fixed problem with tooltip display.
  9851.  
  9852. December 13, 2015
  9853. Version 1.2.1.6
  9854. added netload.me & fileparadox.in to obsolete hosts
  9855.  
  9856. December 09, 2015
  9857. Version 1.2.1.5
  9858. added rapidsonic.com & fileparadox.com to obsolete hosts
  9859.  
  9860. December 04, 2015
  9861. Version 1.2.1.4
  9862. added megairon.net, inafile.com, uploadhero.com & uploadhero.co to obsolete hosts
  9863.  
  9864. December 03, 2015
  9865. Version 1.2.1.3
  9866. added dailyuploads.net
  9867.  
  9868. December 02, 2015
  9869. Version 1.2.1.2
  9870. fixed hitfile.net
  9871. fixed kingfiles.net
  9872.  
  9873. November 30, 2015
  9874. Version 1.2.1.1
  9875. added filepost.com to obsolete hosts
  9876. added devilshare.net
  9877.  
  9878. November 28, 2015
  9879. Version 1.2.1.0
  9880. fixed datafile.com not detecting some premium links.
  9881.  
  9882. November 25, 2015
  9883. Version 1.2.0.9
  9884. fixed filejoker.net
  9885. fixed toutbox.fr
  9886. fixed nowvideo.sx
  9887.  
  9888. November 24, 2015
  9889. Version 1.2.0.8
  9890. fixed openload.io
  9891.  
  9892. November 20, 2015
  9893. Version 1.2.0.7
  9894. //added file.al
  9895. //fixed nitroflare.com false live links
  9896. //fixed keep2share/fileboom links not checking some links (fixed by yurii)
  9897.  
  9898. November 17, 2015
  9899. Version 1.2.0.6
  9900. added clicknupload.me
  9901.  
  9902. November 09, 2015
  9903. Version 1.2.0.5
  9904. fixed some depfile premium links not being detected
  9905.  
  9906. November 08, 2015
  9907. Version 1.2.0.4
  9908. fixed some rapidgator premium links not being detected
  9909. fixed doraupload.com
  9910.  
  9911. November 08, 2015
  9912. Version 1.2.0.3
  9913. fixed uploaded false premium
  9914.  
  9915. November 07, 2015
  9916. Version 1.2.0.2
  9917. fixed redbunker.net
  9918.  
  9919. November 05, 2015
  9920. Version 1.2.0.1
  9921. fixed app.box.com
  9922. added multiup.org (does not detect all dead links)
  9923.  
  9924. November 01, 2015
  9925. Version 1.2.0.0
  9926. added more languages to rockfile and 1fichier
  9927.  
  9928. November 01, 2015
  9929. Version 1.1.9.9
  9930. fixed rockfile.eu
  9931. changed 1fichier code (Thanks yurri)
  9932. added to obsolete hosts... (Thanks Love Buzz)
  9933. burnupload.com
  9934. cramit.in
  9935. cramitin.net
  9936. down4files.com
  9937. edoc.com
  9938. jumbofile.net
  9939. krotix.net
  9940. migahost.com
  9941. movreel.com
  9942. netload.in
  9943. newfileland.com
  9944. quickshare.cz
  9945.  
  9946. October 30, 2015
  9947. Version 1.1.9.8
  9948. added alfafile.net
  9949.  
  9950. October 26, 2015
  9951. Version 1.1.9.7
  9952. changed datafile.com and uplea.com
  9953. added lolabits.es
  9954.  
  9955. October 26, 2015
  9956. Version 1.1.9.6
  9957. added toutbox.fr
  9958.  
  9959. October 25, 2015
  9960. Version 1.1.9.5
  9961. fixed counter error
  9962.  
  9963. October 25, 2015
  9964. Version 1.1.9.4
  9965. changed uptobox.com code
  9966.  
  9967. October 21, 2015
  9968. Version 1.1.9.3
  9969. fixed uptobox.com
  9970.  
  9971. October 20, 2015
  9972. Version 1.1.9.2
  9973. bug fixes and new method of detecting premium links.
  9974.  
  9975. October 15, 2015
  9976. Version 1.1.9.1
  9977. fixed hugefiles.net false premium
  9978. changed uptobox.com code
  9979.  
  9980. October 06, 2015
  9981. Version 1.1.9.0
  9982. fixed filefactory
  9983. fixed rockfile false premium
  9984. keep2share & fileboom now detect premium links (fixed by yurii)
  9985.  
  9986. October 01, 2015
  9987. Version 1.1.8.9
  9988. fixed free.fr false premium
  9989. fixed thevideo.me false premium
  9990.  
  9991. September 28, 2015
  9992. Version 1.1.8.8
  9993. added uplea.com and openload.co
  9994.  
  9995. September 27, 2015
  9996. Version 1.1.8.7
  9997. fixed fileparadox.in false premium
  9998. added kingfiles.net to obsolete hosts
  9999. removed inafile.com from obsolete hosts
  10000.  
  10001. September 22, 2015
  10002. Version 1.1.8.6
  10003. fixed nitroflare false premium
  10004.  
  10005. September 22, 2015
  10006. Version 1.1.8.5
  10007. fixed userscloud.com false premium
  10008. fixed usersfiles.com false premium
  10009. changed arabloads.com to arabloads.net
  10010. changed nowdownloads.eu to nowdownloads.ch
  10011.  
  10012. September 21, 2015
  10013. Version 1.1.8.3
  10014. added ryushare.com to obsolete hosts.
  10015.  
  10016. September 20, 2015
  10017. Version 1.1.8.2
  10018. fixed nitroflare not showing premium links
  10019. added down4files.com,storfiles.co,filehost.pw
  10020.  
  10021. September 16, 2015
  10022. Version 1.1.8.1
  10023. added crisshare.com to obsolete hosts
  10024. fixed filemoney.com false premium
  10025. fixed fileparadox.com/ rapidsonic.com/ 3files.net false premium
  10026.  
  10027. September 14, 2015
  10028. Version 1.1.8.0
  10029. added to obsolete hosts...
  10030. sharebeast.com
  10031. tufiles.ru
  10032.  
  10033. September 12, 2015
  10034. Version 1.1.7.9
  10035. fixed rghost.net false premium
  10036. fixed unlimitzone.com false premium
  10037. fixed turbobit.net false live link
  10038.  
  10039. September 11, 2015
  10040. Version 1.1.7.8
  10041. Fixed filefactory.com false premium.
  10042.  
  10043. September 07, 2015
  10044. Version 1.1.7.7
  10045. fixed "depositfiles.com/en/files" links not checking
  10046.  
  10047. September 06, 2015
  10048. Version 1.1.7.6
  10049. added French code for 1fichier
  10050.  
  10051. August 29, 2015
  10052. Version 1.1.7.5
  10053. fixed depositfiles
  10054. fixed mega.co.nz/mega.nz
  10055. (fixed by yurii)
  10056.  
  10057. August 23, 2015
  10058. Version 1.1.7.4
  10059. Fixed uploadrocket (by yurii)
  10060.  
  10061. August 20, 2015
  10062. Version 1.1.7.3
  10063. fixed depfile.com false premium
  10064. fixed 1fichier false premium
  10065. fixed rapidgator false premium
  10066.  
  10067. August 08, 2015
  10068. Version 1.1.7.1
  10069. fixed unlimitzone.com, added freakshare to obsolete hosts.
  10070.  
  10071. August 07, 2015
  10072. Version 1.1.7.0
  10073. fixed...
  10074. streamin.to
  10075. thefile.me
  10076. vidzi.tv
  10077. added...
  10078. filenuke.com
  10079. vidto.me
  10080. vidspot.net
  10081. sharesix.com
  10082. sharesix.net
  10083. movpod.in,
  10084.  
  10085. August 07, 2015
  10086. Version 1.1.6.9 added...
  10087. thefile.me
  10088. vidzi.tv
  10089. videoweed.es
  10090. vodlocker.com
  10091. nowvideo.sx
  10092. cloudtime.to
  10093. thevideo.me
  10094. vidbull.com
  10095. allmyvideos.net
  10096. novamov.com
  10097. filehoot.com
  10098. stagevu.com
  10099. gorillavid.in
  10100. streamin.to
  10101.  
  10102. August 02, 2015
  10103. Version 1.1.6.8
  10104. added cloudshares.net
  10105.  
  10106. August 01, 2015
  10107. Version 1.1.6.7
  10108. fixed depfile redirectors false premium
  10109.  
  10110. July 31, 2015
  10111. Version 1.1.6.6
  10112. fixed depfile.com false premium
  10113. */